var Keys=new Array();
Keys[0]=new Array();
Keys[0][0]="游戏";
Keys[0][1]="小说";
Keys[0][2]="闫德利";
Keys[0][3]="旅游";
Keys[0][4]="电影";
Keys[0][5]="音乐";
Keys[0][6]="美女";
Keys[0][7]="手机";
Keys[0][8]="星座";
Keys[0][9]="鲜花";
Keys[0][10]="机票";
Keys[0][11]="汽车";
Keys[0][12]="美容";
Keys[0][13]="翻译";
Keys[1]=Keys[0];
Keys[2]=Keys[0];
Keys[3]=new Array();
Keys[3][0]="犯错";
Keys[3][1]="海阔天空";
Keys[3][2]="不要在我寂寞的时候说爱我";
Keys[3][3]="爱太痛";
Keys[3][4]="暗香";
Keys[3][5]="歌唱祖国";
Keys[3][6]="天下";
Keys[3][7]="如果你不再爱我";
Keys[3][8]="分手那天";
Keys[3][9]="雾里看花";
Keys[3][10]="给我一首歌的时间";
Keys[3][11]="在那遥远的地方";
Keys[3][12]="姑娘我爱你";
Keys[3][13]="爱不能做主";
Keys[4]=new Array();
Keys[4][0]="绝代商娇";
Keys[4][1]="非常主播";
Keys[4][2]="十三省";
Keys[4][3]="艰难爱情";
Keys[4][4]="鲁豫有约";
Keys[4][5]="柳真";
Keys[4][6]="小孩不笨";
Keys[4][7]="太祖秘史";
Keys[4][8]="终极三国";
Keys[4][9]="快乐大本营";
Keys[4][10]="建国大业";
Keys[4][11]="斗牛";
Keys[4][12]="雾里看花";
Keys[4][13]="风声";
Keys[5]=new Array();
Keys[5][0]="张筱雨";
Keys[5][1]="曾轶可";
Keys[5][2]="刘亦菲";
Keys[5][3]="非主流";
Keys[5][4]="qq头像";
Keys[5][5]="范冰冰";
Keys[5][6]="江映蓉";
Keys[5][7]="头像";
Keys[5][8]="林志玲";
Keys[5][9]="舒淇";
Keys[5][10]="藤原纪香";
Keys[5][11]="可爱";
Keys[5][12]="动漫";
Keys[5][13]="非主流";
Keys[6]=new Array();
Keys[6][0]="美国卫星撞月球";
Keys[6][1]="全运会开幕";
Keys[6][2]="谷歌 侵权";
Keys[6][3]="儿童血铅超标";
Keys[6][4]="天津男足退赛";
Keys[6][5]="塔利班";
Keys[6][6]="创业板";
Keys[6][7]="闫德利";
Keys[6][8]="公务员考试报名";
Keys[6][9]="洗澡门";
Keys[6][10]="重庆打黑";
Keys[6][11]="胡润百富榜2009";
Keys[6][12]="福彩巨奖";
Keys[6][13]="国际油价";
Keys[7]=new Array();
Keys[7][0]="手机";
Keys[7][1]="数码相机";
Keys[7][2]="iPod";
Keys[7][3]="化妆品";
Keys[7][4]="MP3播放器";
Keys[7][5]="Zippo";
Keys[7][6]="DVD";
Keys[7][7]="摄像机";
Keys[7][8]="笔记本电脑";
Keys[7][9]="美容";
Keys[7][10]="CASIO";
Keys[7][11]="内衣";
Keys[7][12]="首饰";
Keys[7][13]="windows7";
var Acts=new Array();
Acts[0]="http://www.google.com.hk/cse";
Acts[1]="http://www.baidu.com/s";
Acts[2]="http://sogou.com/sogou";
Acts[3]="http://music.yahoo.com.cn/search";
Acts[4]="http://video.google.cn/videosearch";
Acts[5]="http://images.google.cn/images";
Acts[6]="http://news.google.cn/news";
Acts[7]="http://www.amazon.cn/search/search.asp";
var sLink=new Array();
sLink[0]="http://www.google.com.hk/cse?cx=partner-pub-3455104598199370%3A1lmimd-63lw&ie=GB2312&q=";
sLink[1]="http://www.baidu.com/s?tn=ok922site_pg&fyb=1&wd=";
sLink[2]="http://www.sogou.com/sogou?pid=ok881&query=";
sLink[3]="http://music.yahoo.com.cn/search?source=C0_5_0-1026&amp;pid=un_0_1026_28_0&amp;p=";
sLink[4]="http://video.google.cn/videosearch?hl=zh-CN&client=pub-3455104598199370&prog=aff&forid=1&source=sdo&q=";
sLink[5]="http://images.google.cn/images?hl=zh-CN&prog=aff&source=sdo&client=pub-3455104598199370&q=";
sLink[6]="http://news.google.cn/news?hl=zh-CN&prog=aff&source=sdo&client=pub-3455104598199370&q=";
sLink[7]="http://www.amazon.cn/search/search.asp?source=javee&searchType=&searchWord=";

var Paras=new Array();
Paras[0]=new Array();
Paras[0][0]="q";
Paras[0][1]="cx";
Paras[0][2]="partner-pub-3455104598199370:1lmimd-63lw";
Paras[0][3]="ie";
Paras[0][4]="GB2312";
Paras[0][5]="images/logo/logo_google.gif";
Paras[0][6]="Google搜索";
Paras[0][7]="http://www.google.com.hk/cse?cx=partner-pub-3455104598199370%3A1lmimd-63lw&ie=GB2312&q=";
Paras[1]=new Array();
Paras[1][0]="wd";
Paras[1][1]="tn";
Paras[1][2]="ok922site_pg";
Paras[1][3]="fyb";
Paras[1][4]="1";
Paras[1][5]="images/logo/logo_baidu.gif";
Paras[1][6]="百度一下";
Paras[1][7]="http://www.baidu.com/index.php?tn=ok922site_pg";
Paras[2]=new Array();
Paras[2][0]="query";
Paras[2][1]="pid";
Paras[2][2]="ok881";
Paras[2][3]="";
Paras[2][4]="";
Paras[2][5]="images/logo/logo_sogou.gif";
Paras[2][6]="搜狗－搜索";
Paras[2][7]="http://www.sogou.com/sogou?pid=ok881&query=最新";
Paras[3]=new Array();
Paras[3][0]="p";
Paras[3][1]="source";
Paras[3][2]="C0_5_0-1026";
Paras[3][3]="pid";
Paras[3][4]="un_0_1026_28_0";
Paras[3][5]="images/logo/logo_yahoo.gif";
Paras[3][6]="Yahoo搜索";
Paras[3][7]="http://www.yahoo.com.cn/";
Paras[4]=new Array();
Paras[4][0]="q";
Paras[4][1]="client";
Paras[4][2]="pub-3455104598199370";
Paras[4][3]="prog";
Paras[4][4]="aff";
Paras[4][5]="images/logo/logo_google_v.gif";
Paras[4][6]="视频搜索－Google(谷歌)";
Paras[4][7]="http://video.google.cn";
Paras[5]=new Array();
Paras[5][0]="q";
Paras[5][1]="client";
Paras[5][2]="pub-3455104598199370";
Paras[5][3]="prog";
Paras[5][4]="aff";
Paras[5][5]="images/logo/logo_google_img.gif";
Paras[5][6]="图片搜索－Google(谷歌)";
Paras[5][7]="http://images.google.cn";
Paras[6]=new Array();
Paras[6][0]="q";
Paras[6][1]="client";
Paras[6][2]="pub-3455104598199370";
Paras[6][3]="ie";
Paras[6][4]="GB2312";
Paras[6][5]="images/logo/logo_google_news.gif";
Paras[6][6]="新闻搜索－Google(谷歌)";
Paras[6][7]="http://news.google.cn/";
Paras[7]=new Array();
Paras[7][0]="searchWord";
Paras[7][1]="source";
Paras[7][2]="javee";
Paras[7][3]="searchType";
Paras[7][4]="";
Paras[7][5]="images/logo/logo_joyo.gif";
Paras[7][6]="JoYo & Amazon 卓越亚马逊: 网上购物";
Paras[7][7]="http://www.amazon.cn/?source=javee";
var KNo=Math.floor(10*Math.random())+4;
function So(n){
 $("SoForm").style.display="";
 $("KxForm").style.display="none";
 var sHTML="";
  for (var i=0;i<=8;i++) {
  $("STab"+(i+1)).className=(n==i+1)?"active":"tab";
 }
  for (var i=0;i<8;i++) {
  sHTML+="<li><a href=\""+sLink[n-1]+Keys[n-1][i]+"\"  title=\""+sLink[n-1]+Keys[n-1][i]+"\" target=\"_blank\">"+Keys[n-1][i]+"</a></li>";
 }
 var nLeft=87+(n-1)*58;
 $("soBody").style.backgroundPosition=nLeft+"px 0";
 $("Kb").innerHTML=sHTML;
 $("SoForm").action=Acts[n-1];
 $("Ka").name=Paras[n-1][0];
 $("G1").name=Paras[n-1][1];
 $("G1").value=Paras[n-1][2];
 $("G2").name=Paras[n-1][3];
 $("G2").value=Paras[n-1][4];
 $("soLogo").src=sRootDir+Paras[n-1][5];
 $("soLogo").alt=Paras[n-1][6];
 $("soUrl").href=Paras[n-1][7];
 $("Ka").value=Keys[n-1][KNo];
 $("Kaa").value=Keys[n-1][KNo];
}

function SoKx(){
 for (var i=1;i<=7;i++) {
  $("STab"+i).className="tab";
 }
 $("STab8").className="tab active";
 var nLeft=87+(8-1)*58;
 $("soBody").style.backgroundPosition=nLeft+"px 0";
 $("SoForm").style.display="none";
 $("KxForm").style.display="";
}

function kooxooSub(obj){
	var t=obj.T.value;
	var c=obj.Cat;
	if(t=='HrB'){c.value='1';}
	else if(t=='Rent'||t=='Friend'){c.value='sale';}
	else{c.value='';}
	return true;
}

function gt(f){
 var t;
 var u;
 if(f.a0 != undefined){
  u = 'Y:';
  t = f.k.value;
  if(f.a0.checked==true){u+='0;';}
  if(f.a1.checked==true){u+='1;';}
  if(f.a2.checked==true){u+='2;';}
  if(f.a3.checked==true){u+='3;';}
  if(f.a4.checked==true){u+='4;';}
  if(f.a5.checked==true){u+='5;';}
  if(f.a6.checked==true){u+='6;';}
  if(f.a7.checked==true){u+='7;';}
  if(f.a8.checked==true){u+='8;';}
  if(f.a9.checked==true){u+='9;';}
  if(f.a10.checked==true){u+='10;';}
  if(f.a11.checked==true){u+='11;';}
  if(f.a12.checked==true){u+='12;';}
  if(f.a13.checked==true){u+='13;';}
  if(f.a14.checked==true){u+='14;';}
  if(f.a15.checked==true){u+='15;';}
 }
 else{
  t = f.Ka.value;
  u = 'G';
 }
 try{
  new Image().src = "http://statis.265.com/url?a=S&u="+u+"&t="+t;
 }catch(ex){}
 if($("Ka").value == ""){
  $("ch").value = "noprefill";
 } else {
  $("ch").value = "prefill";
 }
}
