 function $(str){ return document.getElementById(str);}
 function $$(str){ return document.getElementsByTagName(str);}
 var timer;
 function changeMenu(thisObj,num){
  if(thisObj.className=="over") return false;
  hids(thisObj);
  thisObj.className="over";
  $("c"+(num+1)).className="block";
  
  $("c"+(num+1)).onmouseover=function(){clearTimeout(timer);}
  $("c"+(num+1)).onmouseout=function(){timer=setTimeout(function(){hids(thisObj);},100)}
  thisObj.onmouseout=function(){timer=setTimeout(function(){hids(thisObj);},500)}
  
 }
 function hids(thisObj){
  clearTimeout(timer);
  var tabObj=thisObj.parentNode.getAttribute("id");
  var obj_dt=$(tabObj).getElementsByTagName("dt");
  for(var i=0;i<obj_dt.length;i++){
   obj_dt[i].className="normal";
   $("c"+(i+1)).className="none";
  }
 }

/*°Ù¶ÈGOOGLEËÑË÷JS*/
function GoSearch(key) 
{
     if(key=="baidu")
    {
        window.open("http://www.baidu.com/s?tn=sitehao123&word="+document.getElementById("baidu_text").value,"mspg6");
    } 
    else if(key=="google") 
    { 
        window.open("http://www.google.com.hk/search?hl=en&source=hp&q="+document.getElementById("google_text").value,"mspg4")+"&aqi=g10";
    }

}

