//不清楚请联系技术部
//            --乖乖狼
			//<![CDATA[
var adLeftSrc = LeftSrc                     //左侧图片地址
var adLeftFlash = LeftFlash                           //左侧图片类型
var adLeftHref = LeftHref     //左侧图片连接地址
var adLeftWidth = LeftWidth                              //左侧图片宽度
var adLeftHeight = LeftHeight                            //左侧图片高度
var adRightSrc = RightSrc                 //右侧图片地址
var adRightFlash = RightFlash                       //右侧图片类型 
var adRightHref = RightHref         //右侧图片连接地址
var adRightWidth =  RightWidth                      //右侧图片宽度
var adRightHeight = RightHeight                     //右侧图片高度
                           //以下内容不要修改
			var marginTop = 300
			var marginLeft = 5
			var navUserAgent = navigator.userAgent
			function load(){
				judge();
				move();
			}
			function move() {
				judge();
				setTimeout("move();",80)
			}
			function judge(){
				if (navUserAgent.indexOf("Firefox") >= 0 || navUserAgent.indexOf("Opera") >= 0) {
					if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + 100 + 'px';}
					if (adRightSrc != "") {
						document.getElementById("adRightFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + 100 + 'px';
						document.getElementById("adRightFloat").style.left = ((document.body.clientWidth > document.documentElement.clientWidth)?document.body.clientWidth:document.documentElement.clientWidth) - adRightWidth - marginLeft + 'px';
					} 
				}
				else{
					if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + 100 + 'px';}
					if (adRightSrc != "") {
						document.getElementById("adRightFloat").style.top =(document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop)+ 100 + 'px';
						document.getElementById("adRightFloat").style.left = ((document.documentElement.clientWidth == 0)?document.body.clientWidth:document.documentElement.clientWidth) - adRightWidth - marginLeft + 'px';
					}
				}
				if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.left = marginLeft + 'px';}
			}
			if (adLeftSrc != "") {
				if (adLeftFlash == "flash") {
					document.write("<div id=\"adLeftFloat\" style=\"position: absolute; width:" + adLeftWidth + ";z-index:99999\"><a href=\"" + adLeftHref +"\"><embed src=\"" + adLeftSrc + "\" quality=\"high\"  width=\"" + adLeftWidth + "\" height=\"" + adLeftHeight + "\" type=\"application/x-shockwave-flash\" wmode=\"opaque\"></embed><div style=\"height:20px;text-align:center;width:40px\"><a href=\"Javascript:CloseAD('adLeftFloat')\" style=\"color:#b9b9b9\">关闭</a></div><br><br></div>");
				}
				else{
					document.write("<div id=\"adLeftFloat\" style=\"position: absolute; width:" + adLeftWidth + ";z-index:99999\"><a href=\"" + adLeftHref +"\"><img src=\"" + adLeftSrc + "\"  width=\"" + adLeftWidth + "\" height=\"" + adLeftHeight + "\"  border=\"0\" \></a><div style=\"height:20px;text-align:center;width:40px\"><a href=\"Javascript:CloseAD('adLeftFloat')\" style=\"color:#b9b9b9\">关闭</a></div><br><br></div>");
				}
			}
			if (adRightSrc != "") {
				if (adRightFlash == "flash") {
					document.write("<div id=\"adRightFloat\" style=\"position: absolute; width:" + adRightWidth + ";z-index:99999\"><a href=\"" + adRightHref +"\"><embed src=\"" + adRightSrc + "\" quality=\"high\"  width=\"" + adRightWidth + "\" height=\"" + adRightHeight + "\" type=\"application/x-shockwave-flash\" wmode=\"opaque\"></embed></a><div style=\"height:20px;text-align:center;width:40px\"><a href=\"Javascript:CloseAD('adRightFloat')\" style=\"color:#b9b9b9\">关闭</a></div><br><br></div>");
				}
				else{
					document.write("<div id=\"adRightFloat\" style=\"position: absolute; width:" + adRightWidth + ";z-index:99999\"><a href=\"" + adRightHref +"\"><img src=\"" + adRightSrc + "\"   width=\"" + adRightWidth + "\" height=\"" + adRightHeight + "\"  border=\"0\" onerror=\"this.style.visibility=\'hidden\'\"    \></a><div style=\"height:20px;text-align:center;width:40px\"><a href=\"Javascript:CloseAD('adRightFloat')\" style=\"color:#b9b9b9\">关闭</a></div><br><br></div>");
				}
			}
                           

			load();
			//]]>


function CloseAD(svar)
{
	document.getElementById(svar).style.display="none";
}
