var agent_id=getQueryString("aid");
var code_id=getQueryString("code_id");

var a="K9QcAS";
var paths;
var gid;
var adid;
var hf_url = "http://c.88210212.com/";
var t=Math.random();

switch(agent_id){
	case "18768": paths="yxyz/cd";gid="28"; adid="cd"; break;
case "19515": paths="yxyz/cd";gid="28"; adid="cd"; break;
case "19832": paths="yxyz/cd";gid="28"; adid="cd"; break;
case "19981": paths="yxyz/cd";gid="28"; adid="cd"; break;

	default: paths="yxyz/cd";

}


var ref = "";

try{

	ref = escape(document.referrer);

}

catch(e){

}


var go_url= "http://g.656864ss.com/"+paths+"/index.html?agent_id="+agent_id+"&t="+t+"&ref="+ref+"&type=2";
var img= "img_1/"+paths+"/760x90.swf?a="+a;

document.writeln('<scr'+'ipt language="javascript" src="http://cc.88210212.com/total.php?ref='+ref+'&uid='+agent_id+'&gid='+gid+'&aid='+adid+'&type=2&step=1"></scr'+'ipt>');


function getQueryString(queryStringName){var returnValue="";var URLString=new String(document.location);var serachLocation=-1;var queryStringLength=queryStringName.length;do{serachLocation=URLString.indexOf(queryStringName+"\=");if(serachLocation!=-1){if((URLString.charAt(serachLocation-1)=='?')||(URLString.charAt(serachLocation-1)=='&')){URLString=URLString.substr(serachLocation);break;}
URLString=URLString.substr(serachLocation+queryStringLength+1);}}
while(serachLocation!=-1)
if(serachLocation!=-1){var seperatorLocation=URLString.indexOf("&");if(seperatorLocation==-1){returnValue=URLString.substr(queryStringLength+1);}
else{returnValue=URLString.substring(queryStringLength+1,seperatorLocation);}}
returnValue=returnValue.replace(/#/g,'');return returnValue;}

