function righttxt_openURL(url) {
	window.open(url);
	if(false){
		try{
			top.fn_banner_click();
		}catch(e){}
	}
}

function righttxt_sendInfo() {
	var d = new Date();
	var divId = "righttxt";
	var div = document.getElementById(divId);
	if (!div || div.style.display == "none")
		return;
	if(d.getMinutes() == 1 && d.getSeconds() < 10)
		return;
	
	// zero means don't send randomly
	var isRandom = 20;
	if (Math.floor(Math.random() * isRandom) == 0) {
		var img = document.createElement("img");	
		img.src = getUrlWithPID("http://mediapv.sandai.net/commstat/banner_stat?itemid=1&domain=" + encodeURI(window.location.host) + "&position=1364&ramdon="+Math.random());
	}
}

if (typeof(peerID) == "undefined" || peerID == null) {
	peerID = null;
	try {
		peeridobj = new ActiveXObject("MediaAddin.MediaComm");
		if (peeridobj != null)
			peerID = "xlpeeruuid=" + peeridobj.peerid;
	} catch(e) {
	 peerID = null;
	}
}
if(false && (typeof(peerID)=="undefined"||peerID==null)) {
	peerID=null;
	try{
		thunder_server=new ActiveXObject("ThunderServer.WebThunder.1");
		if(thunder_server!=null){
			peerID="xlpeeruuid="+thunder_server.GetVariable("PEERID");
		}
	}catch(e) {
		peerID=null;
	}
}

if (typeof(window.getUrlWithPID) == "undefined") {
	eval(
		  "function getUrlWithPID(fullurl, split) {"
		+ "	if(peerID == null || fullurl == null) "
		+ "		return fullurl;"
		+ "	var index = fullurl.indexOf('?'); "
		+ "	if(index < 0) return fullurl;"
		+ "	if (index == fullurl.length - 1) "
		+ "		return  fullurl + peerID;"
		+ "	if (split == null) {"
		+ "		split = '&';"
		+ "		var search = fullurl.indexOf('&amp;');"
		+ "		if (search > index) {"
		+ "			split = '&amp;';"
		+ "		} else {"
		+ "			search = fullurl.indexOf('%26');"
		+ "			if (search > index)"
		+ "				split = '%26';"
		+ "		}"
		+ "	}"
		+ "	return fullurl.substring(0, index + 1) + peerID + split + fullurl.substring(index + 1);"
		+ "}"
	);
}

if (true)
	setTimeout("righttxt_sendInfo()", 10);    if(document.getElementById('righttxt') != null) { 
    var str = "" 

 str += '<ul>';




str += "<li>";
 str += "<a href='" + getUrlWithPID('http://cknum.sandai.net/fcg-bin/cgi_banner_stat.fcg?id=283380&position=1364&url=http://advstat.xunlei.com/TClick?cf=2&gs=xunleiwuxia&tt=http%3A%2F%2Fwx.xunlei.com%2Fwelcome3%3Fadvid%3D0000300102xunleiwuxia00022%26gs%3Dxunleiwuxia&linkid=xxx&location=http%3A%2F%2Fwx.xunlei.com%2Fwelcome3%3Fadvid%3D0000300102xunleiwuxia00022%26gs%3Dxunleiwuxia&rf=&ul=') + "' target=_blank>除夕夜不能少的娱乐</a>";
str += "</li>";

str += "<li>";
 str += "<a href='" + getUrlWithPID('http://cknum.sandai.net/fcg-bin/cgi_banner_stat.fcg?id=283381&position=1365&url=http://advstat.xunlei.com/TClick?cf=2&gs=xunleishouxue&tt=http%3A%2F%2Fsx.xunlei.com%2Fwelcome%2F%3Fadvid%3D0000300020xunleishouxue00029%26gs%3Dxunleishouxue&linkid=xxx&location=http%3A%2F%2Fsx.xunlei.com%2Fwelcome%2F%3Fadvid%3D0000300020xunleishouxue00029%26gs%3Dxunleishouxue&rf=&ul=') + "' target=_blank>八重活动迎新春</a>";
str += "</li>";

str += "<li>";
 str += "<a href='" + getUrlWithPID('http://cknum.sandai.net/fcg-bin/cgi_banner_stat.fcg?id=283382&position=1366&url=http://advstat.xunlei.com/TClick?cf=2&gs=xunlei36ji&tt=http%3A%2F%2F36ji.xunlei.com%2Fwelcome6%3Fadvid%3D0000300078xunlei36ji00029%26gs%3Dxunlei36ji&linkid=xxx&location=http%3A%2F%2F36ji.xunlei.com%2Fwelcome6%3Fadvid%3D0000300078xunlei36ji00029%26gs%3Dxunlei36ji&rf=&ul=') + "' target=_blank>迅雷王者公会 纵横</a>";
str += "</li>";

str += "<li>";
 str += "<a href='" + getUrlWithPID('http://cknum.sandai.net/fcg-bin/cgi_banner_stat.fcg?id=283383&position=1367&url=http://advstat.xunlei.com/TClick?cf=2&gs=xunleixiayidao&tt=http%3A%2F%2Fxiayidao.xunlei.com%2F%3Fadvid%3D0000300135xunleixiayidao00026%26gs%3Dxunleixiayidao&linkid=xxx&location=http%3A%2F%2Fxiayidao.xunlei.com%2F%3Fadvid%3D0000300135xunleixiayidao00026%26gs%3Dxunleixiayidao&rf=&ul=') + "' target=_blank>纯爷们玩的武侠网游</a>";
str += "</li>";

str += '</ul>';
   document.getElementById('righttxt').innerHTML = str;
   }
 
try{
var r_84=Math.floor(Math.random() * 10)+1;
if(r_84==1){
var i_84=new Image(1,1);
i_84.src="http://mpv.sandai.net/commstat/pv?pvkey=%2Fportal%2Fnews%2Fmoviemusic";
i_84.onload=function() {return;}
}
}catch(e){
}




