// JavaScript Document
function ClickShow(event){
 if($.browser.msie){
	 var keyStr=event.keyCode;
 }
 else var keyStr=event.which;	 
 if(keyStr!=38&&keyStr!=40&&keyStr!=13){
	if (Ck($("#keyword").val())){
	var vsGsName=escape($("#keyword").val());
	if(vsGsName!=""){
		$("#ac_results>li").bind("click",vst);
		$("#ac_results>li").bind("mouseover",vso);
	}
	}
	//else alert("bad");
 }
}
function Ck(str){str = str.replace("'","");str = str.replace("<","");str = str.replace("-","");str = str.replace("!","");str =  str.replace(">","");$("#keyword").val(str);return true;}
function vso(){
	$(this).mouseover(function (){$(this).addClass("bc");}).mouseout(function (){$(this).removeClass("bc");});
}
function vst(){
	var liText=$(this).text();
	alert(liText);
	$("#keyword").val(liText);
	gsInfo($(this).html().replace("-->","").split("<!--")[1]);
}