document.writeln("<SCRIPT language=javascript>");
document.writeln("");
document.writeln("function MoveLayer(layerName, l_x, l_y) {");
document.writeln("	var x = l_x;\/\/浮动广告层固定于浏览器的x方向位置");
document.writeln("	var y = l_y;\/\/浮动广告层固定于浏览器的y方向位置");
document.writeln("	var stmnStartPoint, stmnEndPoint, stmnRefreshTimer,stmnGAP1,stmnGAP2;");
document.writeln("	stmnGAP1=0;");
document.writeln("	stmnGAP2=l_y;");
document.writeln("");
document.writeln("	eval(\"stmnStartPoint = parseInt(document.all.\" + layerName + \".style.top, 10)\");");
document.writeln("	stmnEndPoint = document.body.scrollTop + stmnGAP2;");
document.writeln("	if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;");
document.writeln("");
document.writeln("	if ( stmnStartPoint != stmnEndPoint ) {");
document.writeln("		stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) \/ 15 );");
document.writeln("		eval(\"document.all.\" + layerName + \".style.top = parseInt(document.all.\" + layerName + \".style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount )\");");
document.writeln("	}");
document.writeln("	eval(\"document.all.\" + layerName + \".style.posLeft = x\");\/\/移动广告层");
document.writeln("	setTimeout(\"MoveLayer(\'\"+layerName+\"\',\"+l_x+\",\"+l_y+\");\", 5);\/\/设置5毫秒后再调用函数MoveLayer()");
document.writeln("}");
document.writeln("");
document.writeln("if (screen.width >= 1024) {");
document.writeln("	var htmlsrc = \"../../right.htm\"");
document.writeln("	var sgWidth_caishow_floater = \"100\"");
document.writeln("	var sgHeight_caishow_floater = \"160\"");
document.writeln("	var sgX_caishow_floater = 10;");
document.writeln("	var sgY_caishow_floater = 0;");
document.writeln("	var sgNS_caishow_floater = (document.layers) ? true : false;");
document.writeln("	var caishow_floater_tempname = (Math.random() * 10000).toFixed(0) + \"_caishow\"");
document.writeln("	var sgLayerName_caishow_floater = \"Corner_uvwxyz_\" + caishow_floater_tempname;");
document.writeln("	if (sgNS_caishow_floater) {");
document.writeln("		document.write(\'<LAYER ID=\"\'+sgLayerName_caishow_floater+\'\" WIDTH=\'+sgWidth_caishow_floater+\' HEIGHT=\'+sgHeight_caishow_floater+\'><iframe src=\"\' + htmlsrc + \'\" frameborder=0 width=\' + sgWidth_caishow_floater + \' height=\' + sgHeight_caishow_floater + \' scrolling=no><\/iframe><\/LAYER>\');");
document.writeln("	} else {");
document.writeln("		document.write(\'<DIV ID=\"\'+sgLayerName_caishow_floater+\'\" STYLE=\"position:absolute; width:\'+sgWidth_caishow_floater+\'; height:\'+sgHeight_caishow_floater+\'; z-index:9; filter: Alpha(Opacity=100); left: \'+sgX_caishow_floater+\'; top: \'+sgY_caishow_floater+\';\"><iframe src=\"\' + htmlsrc + \'\" frameborder=0 width=\' + sgWidth_caishow_floater + \' height=\' + sgHeight_caishow_floater + \' scrolling=no><\/iframe> <\/DIV>\');");
document.writeln("	}");
document.writeln("	MoveLayer(sgLayerName_caishow_floater, sgX_caishow_floater, sgY_caishow_floater);");
document.writeln("}");
document.writeln("");
document.writeln("");
document.writeln("<\/script>");