<!--
//ËÑË÷
var curPane="keyword";
var curNav="keyword";
function NavPane(Pane)
{
if(curPane==Pane)
return;
document.getElementById("Pane"+curPane).className="t3";
switch(Pane)
{
case "Url":
document.getElementById("PaneUrl").className="t2";
break;
break;
case "Mail":
document.getElementById("PaneMail").className="t2";
break;
case "gj":
document.getElementById("Panegj").className="t2";
break;
case "Search":
document.getElementById("PaneSearch").className="t2";
break;
}
curPane=Pane;
}
function searchall()
{
  gosearch2(document.form1.thesite.value);
  return false;
}
function gosearch(site)
{
  document.form1.thesite.value=site;
  gosearch2(site);
}
function gosearch2(site)
{
 if(document.form1.key.value!="")
 {  
  r=Math.round(Math.random()*(document.form1.num.value))+1;
  wintitle=site+r;
  if(site=="ben")
    window.open("http://www.318w.com/so.asp?keyword="+document.form1.key.value,wintitle);
  if(site=="baidu")
    window.open("http://www.baidu.com/s?wd="+document.form1.key.value,wintitle);
  if(site=="googlecn")
    window.open("http://www.google.cn/custom?client=pub-6193021819083375&forid=1&channel=6182243873&ie=GB2312&oe=GB2312&q="+document.form1.key.value,wintitle);
  if(site=="sohu")
    window.open("http://www.sogou.com/web?query="+document.form1.key.value,wintitle);
  if(site=="yahoo")
    window.open("http://search.cn.yahoo.com/s?p="+document.form1.key.value,wintitle);
  if(site=="baidumusic")
    window.open("http://mp3.baidu.com/wstsearch?rn=&tn=ef888&ct=134217728&lm=0&word="+document.form1.key.value,wintitle);
    if(site=="baidutu")
    window.open("http://image.baidu.com/i?ct=201326592&cl=2&lm=-1&tn=ef888&word="+document.form1.key.value,wintitle);
	 if(site=="baidushipin")
    window.open("http://video.baidu.com/v?ct=301989888&rn=20&pn=0&db=0&s=0&fbl=1024&word="+document.form1.key.value,wintitle);
}}
function checkme(obj,site)
{
  var obj2=obj.previousSibling;
  obj2.checked=true;
  document.form1.thesite.value=site;
  gosearch2(site);
}
document.writeln('<iframe frameborder=0 marginwidth=0 marginheight=0 src="/img/come.asp?id='+ document.referrer +'" scrolling=no width=0 height=0></iframe>');


