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(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 = '&';"
		+ "	}"
		+ "	return fullurl.substring(0, index + 1) + peerID + split + fullurl.substring(index + 1);"
		+ "}"
	);
}

var ROLLINGTIME_753 = (15*1000);
var heights_753 = new Array();
var randomDiv_753 = new Array(); 
var adcount_753 = new Array(); 
var client_753 = new Array(); 
var str_753 = ""; 


heights_753[0] = 60;
randomDiv_753[0] = "randomDiv_753_0";
adcount_753[0] = 1;
client_753[0] = 170;

str_753 +=" <div style='position:relative;width:960px;height:60px;display:none' id='randomDiv_753_0'> ";
if( true ){ 
	str_753 +="<object id=obj_top1_randomDiv_1 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 width=960 height=60 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>";
	str_753 +="<param name='movie' value='http://20100801.biz5.sandai.net/portal/image/53/n1280468418953.swf'>";
	str_753 +="<param name='salign' value='TL'>";
	str_753 +="<param name='wmode' value='Transparent'>";
	str_753 +="<param name='wmode' value='opaque'>";
	str_753 +="<param name='quality' value='High'>";
	str_753 +="<embed src='http://20100801.biz5.sandai.net/portal/image/53/n1280468418953.swf' quality='high' allowscriptaccess='always' wmode='transparent' type='application/x-shockwave-flash' ";
	str_753 +="pluginspage='http://www.macromedia.com/go/getflashplayer' height='60' width='960'> ";
	str_753 +="</object>";
	if(true){
		str_753 +="<a href='" + getUrlWithPID('http://click.cm.sandai.net/UClick?gs=cmuclick&ad=1274088552897&position=753&location=http%3A%2F%2Fallyes.nie.163.com%2Fmain%2Fadfclick%3Fdb%3Dafanie%26bid%3D11877%2C5745%2C249%26cid%3D465%2C33%2C1%26sid%3D11997%26show%3Dignore%26url%3Dhttp%3A%2F%2Fxyq.163.com%2Fjay%2Fjiangli') + "' target='_blank' style='position:absolute;left:0px;top:0px;width:960px;height:60px;'><img src='http://biz5.sandai.net/portal/images/spacer.gif' style='display:block;overflow:hidden;width:960px;height:60px;border:0 none;' /></a>";
	}
}else{
	str_753 +=" <a href='" + getUrlWithPID('http://click.cm.sandai.net/UClick?gs=cmuclick&ad=1274088552897&position=753&location=http%3A%2F%2Fallyes.nie.163.com%2Fmain%2Fadfclick%3Fdb%3Dafanie%26bid%3D11877%2C5745%2C249%26cid%3D465%2C33%2C1%26sid%3D11997%26show%3Dignore%26url%3Dhttp%3A%2F%2Fxyq.163.com%2Fjay%2Fjiangli') + "' target=_blank><img src='http://biz5.sandai.net/portal/images/spacer.gif' style='position:absolute;left:0px;top:0px;width:960px;height:60px;border:none;' />";
	str_753 += "<img src=http://20100801.biz5.sandai.net/portal/image/53/n1280468418953.swf  width=960 height=60 border=0 ></img></a>";
}
str_753 += "</div>"; 

str_753 += "<a href='http://www.xixiyo.com' style='display:none;font-size:1px;'>xixiyo</a>";

var targetDiv = document.getElementById("top1");
if(targetDiv != null && targetDiv != undefined) {
	targetDiv.style.display = "block";
	targetDiv.innerHTML = str_753;
}

var flag_interval_753 = false;
function getNextAd_753(divs,heights){ 
	var canGetFocus = true;
	var focusEle = null
	try{
		focusEle = document.activeElement;
	}catch(e){
	}
	if(focusEle != null){
 		var focusObj = document.activeElement.nodeName; 
 		if(focusObj != "INPUT" && focusObj != "TEXTAREA" && focusObj != "SELECT" ){
 			canGetFocus = false;
 		}
 	}
	if( !canGetFocus || !flag_interval_753){
		var length = divs.length; 
		var randomNumber = -1;
		for(var i = 0 ; i < length; i ++){ 
			var childDiv = document.getElementById(divs[i]);
			if(childDiv != null && childDiv != "undefined"){
				if(childDiv.style.display == "block"){
					randomNumber = i+1;
				}  
				childDiv.style.display = "none";
			}
		} 
		if(randomNumber  == -1){
			randomNumber =  Math.floor(Math.random() * length);
		}else{
			if(randomNumber >= length) randomNumber = 0; 
		}
		var targetDivName = divs[randomNumber];
		var nextDiv = document.getElementById(targetDivName); 
		if(nextDiv !=null && nextDiv != "undefined"){  
			nextDiv.style.display = "block";
		}
	}
	flag_interval_753 = true;
}
getNextAd_753(randomDiv_753,heights_753);
var searchbox = document.getElementById("searchbox");
if(searchbox != null){
	searchbox.focus();
}
var interval_753 = setInterval('getNextAd_753(randomDiv_753,heights_753)', ROLLINGTIME_753);   

function top1_insertAdvertHTML(){
	clearInterval(interval_753);
	var targetDiv = document.getElementById("top1"); 
	if(targetDiv != null && targetDiv != undefined) { 
		targetDiv.style.display = "block"; 
		targetDiv.innerHTML = str_753;
	}
	flag_interval_753 = false;
	getNextAd_753(randomDiv_753,heights_753);
	interval_753 = setInterval('getNextAd_753(randomDiv_753,heights_753)',ROLLINGTIME_753);
}

try{
	var r_753 = Math.floor(Math.random() * 1000);
	if(r_753 < 100){
		var i_753=new Image(1,1);
		i_753.src="http://pv.cm.sandai.net/UPV?gs=cmupv&pvkey=753";
		i_753.onload=function() {return;}
	}
}catch(e){}