
document.write("<div id='LLL' style='position:absolute; width:100px; height:300px; z-index:99; visibility: visible'>")
document.write("<EMBED src='http://itv.hexun.com/lbi-html/ly/adserver/hexun/caijingfengyunbang2005/100-300.swf' quality=high  WIDTH='100' HEIGHT='300' id='adL' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED>")
document.write("</div>")

document.write("<div id='RRR' style='position:absolute; width:100px; height:300px; z-index:98; visibility: visible'>")
document.write("<EMBED src='http://itv.hexun.com/lbi-html/ly/adserver/hexun/caijingfengyunbang2005/100-300.swf' quality=high  WIDTH='100' HEIGHT='300' id='adR' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED>")
document.write("</div>")
function addisplay()
{
	float_width=LLL.style.pixelWidth;
	float_height=LLL.style.pixelHeight;
	window_width=document.body.clientWidth;
	window_height=document.body.clientHeight;
	LLL.style.pixelLeft=window_width/2+388;
	LLL.style.pixelTop=100
	//LLL.style.pixelTop=document.body.scrollTop+window_height-float_height-30;
	RRR.style.pixelLeft=window_width/2-388-100
	RRR.style.pixelTop=100
}
addisplay();
setInterval("addisplay()",10);

//flashִҳΪ
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function adL_DoFSCommand(command, args) {
  var tasObj = InternetExplorer ? adL : document.adL;
if (command == "close") {
LLL.style.visibility = "hidden";
RRR.style.visibility = "hidden";
}
}
function adR_DoFSCommand(command, args) {
  var tasObj = InternetExplorer ? adR : document.adR;
if (command == "close") {
LLL.style.visibility = "hidden";
RRR.style.visibility = "hidden";
}
}

//䲻ҪĶ
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub adL_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call adL_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('Sub adR_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call adR_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}

