var c=0,u="",l=location.toString();
var cs="http://www.u8u.com";
if((/(\d{1,4})\.html/ig).exec(l)) c=RegExp.$1;
var n=l.indexOf("?");
if(n>0)	u=l.substr(n+1).replace("#","");
function as(){var r=cs+"/zt/6/combo.html";window.open(r+"?c="+c+"&"+u,"")}
function sq(){var r="http://www.7887.com/combo.html";window.open(r+"?c="+c+"&"+u,"")}
function sjb(){var r="http://www.7887.com/";if(arguments.length>0){r+="s/"+arguments[0]+".html?c="+c+"&"+u;window.open(r,"leleSG","top=100,left=100,toolbar=0,width=540,height=440")}else{window.open(r+"?c="+c+"&"+u,"")}}
function ss(k){if(k!=""){window.open("http://www.7887.com/?k="+escape(k)+"&c="+c+"&"+u,"lelSS")}else{dg()}}
function su() {
	var r=r=cs+"/zt/6/";
	if(arguments.length>0)
	{
		r+="reg.html?FileID="+arguments[0];
		if(arguments.length>1){
			r+="&type="+arguments[1];
		};
		window.open(r+"&"+u)
	}else{
		window.open(r+"?"+u)
	}
}
function se(k){if(k!="")go(r=cs+"/zt/6/singlist.html?keywords="+k,"")}
function go(r){r+=(r.indexOf("?")>0)?"&":"?";r+="c="+c+"&"+u;if(arguments.length>1){window.open(r,arguments[1])}else{location.href=r}}
function ga(){
	var r="http://www.958803.com";
	var width=417,height=338;
	var left = (screen.width-width)/2;
	var top  = (screen.height-height)/2;
	if(arguments.length>0){r+="/send/"+arguments[0]+".htm";
		window.open(r+"?"+u,'game',"top="+ top +",left="+left+",toolbar=0,status=1,resizable=0,width="+ width +",height="+ height)}
		else{window.open(r+"?"+u)
	}
}
function dg(){
	var r="http://www.7887.com";
//	var width=462,height=307;
//	var left = (screen.width-width)/2;
//	var top  = (screen.height-height)/2 
	if(arguments.length>0){
		r+="/zt/2?fi="+arguments[0];
		window.open(r+"&"+u)
		}
		else{window.open(r+"/zt/2/?"+u)
	}
}
sjb=dg;
function d1(r,df){
	var url= "&" +((location.toString().indexOf("?")<0)?"":location.toString().split("?")[1]);
	var re=(url.indexOf("&" +r+"=")<0)?"":url.split("&" +r+"=")[1].split("&")[0];
	return (re=="")?((df==null)?"":df):re;
}

function cl(i){
	if(i==null||i==""){window.open("http://pub.lele.com/cl/1438.html?" + u);return;}
	var sUrl = "http://12530.koocd.com.cn/1.htm?id={0}&a=139335&b={1}|{2}&c=100000"
	sUrl = sUrl.replace(/\{0\}/,i);
	sUrl = sUrl.replace(/\{1\}/,d1("a"));
	sUrl = sUrl.replace(/\{2\}/,d1("b"));	
	var width=609,height=300;
	var left = (screen.width-width)/2;
	var top  = (screen.height-height)/2;	
	window.open(sUrl,'',"top="+ top +",left="+left+",toolbar=0,status=1,resizable=0,width="+ width +",height="+ height);
}