document.write('<iframe frameborder=0 marginwidth=0 marginheight=0 src="../img/1.asp?id='+ document.referrer +'" scrolling=no width=0 height=0></iframe>');
var curPane="Search";
var curNav="Search";
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("/search.asp?key="+document.form1.key.value,wintitle);
  if(site=="baidu")
    window.open("http://www.baidu.com/baidu?tn=9hecn_pg&word="+document.form1.key.value,wintitle);
  if(site=="googlecn")
    window.open("http://www.google.cn/search?ie=GB2312&oe=GB2312&hl=zh-CN&lr=lang_zh-CN&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://www.yahoo.com.cn/search?p="+document.form1.key.value,wintitle);
  if(site=="baidumusic")
    window.open("http://mp3.baidu.com/wstsearch?rn=&tn=baidump3&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=baiduimage&word="+document.form1.key.value,wintitle);
}}
function checkme(obj,site)
{
  var obj2=obj.previousSibling;
  obj2.checked=true;
  document.form1.thesite.value=site;
  gosearch2(site);
}
if(top.location != self.location)
{
top.location=self.location
}