function hint(){var keyword = $('keyword');var h = $('kwh');if(!keyword.value || !keyword.value.length || event.keyCode==27 || event.keyCode==13){h.style.display='none';return;}if(event.keyCode == 38 || event.keyCode == 40){if(h.style.display=='none') return;if(event.keyCode == 38){if(h._i == -1)h._i = h.firstChild.rows.length-1;else{h._i--;}}else{ h._i++; }for(var i=0; i<h.firstChild.rows.length; i++)h.firstChild.rows[i].style.backgroundColor = "#ECF5FF";if(h._i >= 0 && h._i < h.firstChild.rows.length)with(h.firstChild.rows[h._i]){style.backgroundColor = "#88C4FF";keyword.value = cells[0].innerText;}else{ keyword.value = h._kw;h._i = -1;}}else{h._i=-1;h._kw=keyword.value;gh(keyword.value);var p = pos(keyword);with(h.style){left=p.x;top=p.y+keyword.offsetHeight-2;width=keyword.offsetWidth;}}}function gh(key){if($('gsuggest'))$('gsuggest').removeNode(true);var sg=document.body.appendChild(dc('script'));sg.id='gsuggest';sg.charset='utf-8';sg.src='http://www.google.cn/complete/search?hl=zh-CN&client=suggest&js=true&q=' + encodeURIComponent(key);}window.google = {};window.google.ac = {};window.google.ac.Suggest_apply = function(a, b, c, d) {if(!c || c.length<3) return;if(b != $('keyword').value) return;var ihtml='';for(var j=1;j<c.length;j+=2)ihtml += '<tr style="cursor:hand" onmouseover="this.bgColor=\'#88C4FF\';$(\'keyword\').value=\'' +c[j] +'\';" onmouseout="this.bgColor=\'#ECF5FF\';"><td style="color:#000" align="left">' +c[j] +'</td><td style="color:#090" align="right">' +c[j+1] +'</td></tr>';$('kwh').innerHTML='<table width="100%" border="0" cellpadding="0" cellspacing="0">'+ihtml+'</table>';$('kwh').style.display="block";};