 
                    
                
         
    
    
    
   
   
   
   
   
	
    
        
        
 var rightbar;
var rightbar;
 var coupletcode;
var coupletcode;
 //定义FLASH的地址
//定义FLASH的地址
 var left_flash="http://adbanner.n169.com/swf/LR_20050916_newIndex.swf";
var left_flash="http://adbanner.n169.com/swf/LR_20050916_newIndex.swf";
 var right_flash="";
var right_flash="";
 //如果右边的FLASH地址为空则与左边的相同
//如果右边的FLASH地址为空则与左边的相同
 if(right_flash=="")
if(right_flash=="")


 {
{
 right_flash=left_flash;
    right_flash=left_flash;
 }
}

 rightbar = window.screen.width-150+20;
rightbar = window.screen.width-150+20;

 //coupletcode = "<DIV id=leftbar style='LEFT: 0px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden;' width=130>32</div><DIV id=rightbar style='LEFT: " + rightbar + "px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden' width=130>32</div>";
//coupletcode = "<DIV id=leftbar style='LEFT: 0px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden;' width=130>32</div><DIV id=rightbar style='LEFT: " + rightbar + "px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden' width=130>32</div>";
 coupletcode = "<DIV id=leftbar style='LEFT: 5px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden;' width=130>32</div><DIV id=rightbar style='right: 5px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden' width=130>32</div>";
coupletcode = "<DIV id=leftbar style='LEFT: 5px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden;' width=130>32</div><DIV id=rightbar style='right: 5px; POSITION: absolute; TOP: 110px; VISIBILITY: hidden' width=130>32</div>";

 if (window.screen.width>=800)
if (window.screen.width>=800)


 {
{
 document.write(coupletcode);
document.write(coupletcode);
 }
}

 function InsertCouplet()
function InsertCouplet()


 {
{

 if (window.screen.width>=800)
if (window.screen.width>=800) {
{    
 document.getElementById("leftbar").style.visibility = "visible";
document.getElementById("leftbar").style.visibility = "visible";
 document.getElementById("rightbar").style.visibility = "visible";
document.getElementById("rightbar").style.visibility = "visible";
 document.getElementById("leftbar").innerHTML = "<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 WIDTH=110 HEIGHT=270 id=leftB ALIGN=> <PARAM NAME=movie VALUE="+left_flash+"> <PARAM NAME=quality VALUE=high><EMBED id=leftBG src="+left_flash+" quality=high  WIDTH=110 HEIGHT=270 NAME=left ALIGN= TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer></EMBED></OBJECT>";
document.getElementById("leftbar").innerHTML = "<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 WIDTH=110 HEIGHT=270 id=leftB ALIGN=> <PARAM NAME=movie VALUE="+left_flash+"> <PARAM NAME=quality VALUE=high><EMBED id=leftBG src="+left_flash+" quality=high  WIDTH=110 HEIGHT=270 NAME=left ALIGN= TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer></EMBED></OBJECT>";
 document.getElementById("rightbar").innerHTML = "<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 WIDTH=110 HEIGHT=270 id=rightB ALIGN=> <PARAM NAME=movie VALUE="+right_flash+"> <PARAM NAME=quality VALUE=high> <EMBED id=rightBG src="+right_flash+" quality=high WIDTH=110 HEIGHT=270 NAME=right ALIGN= TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer></EMBED></OBJECT>";
document.getElementById("rightbar").innerHTML = "<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 WIDTH=110 HEIGHT=270 id=rightB ALIGN=> <PARAM NAME=movie VALUE="+right_flash+"> <PARAM NAME=quality VALUE=high> <EMBED id=rightBG src="+right_flash+" quality=high WIDTH=110 HEIGHT=270 NAME=right ALIGN= TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer></EMBED></OBJECT>";

 }
}
 }
}
 InsertCouplet();
    InsertCouplet();

 function leftBG_DoFSCommand(command,args)
    function leftBG_DoFSCommand(command,args) {
{

 if (command == "quit")
        if (command == "quit") {
{
 document.all.leftbar.style.visibility = "hidden";
            document.all.leftbar.style.visibility = "hidden";
 document.all.rightbar.style.visibility = "hidden";
            document.all.rightbar.style.visibility = "hidden";
 }
        }
 }
    }

 function rightBG_DoFSCommand(command,args)
    function rightBG_DoFSCommand(command,args) {
{
 leftBG_DoFSCommand(command,args);
        leftBG_DoFSCommand(command,args);
 }
    }
 <!--
    <!--

 if (document.all)
    if (document.all) {
{
 document.write("<Script language=\"JavaScript\" For=\"rightB\" Event=\"FSCommand(command,args)\">\n");
        document.write("<Script language=\"JavaScript\" For=\"rightB\" Event=\"FSCommand(command,args)\">\n");
 document.write("    leftBG_DoFSCommand(command,args);\n");
        document.write("    leftBG_DoFSCommand(command,args);\n");
 document.write("</Script>\n");
        document.write("</Script>\n");
 document.write("<Script language=\"JavaScript\" For=\"leftB\" Event=\"FSCommand(command,args)\">\n");
        document.write("<Script language=\"JavaScript\" For=\"leftB\" Event=\"FSCommand(command,args)\">\n");
 document.write("    rightBG_DoFSCommand(command,args);\n");
        document.write("    rightBG_DoFSCommand(command,args);\n");
 document.write("</Script>\n");
        document.write("</Script>\n");
 }
    }
 //-->
    //-->

 
        posted on 
2007-02-12 13:19 
mbskys 
阅读(
123) 
评论() 
 
收藏 
举报