
    var moveAdLeftImageName = "";
    var moveAdLeftImageUrl  = "";
    var moveAdLeftIsShow    = "";
         
    var moveAdRightImageName ="";
    var moveAdRightImageUrl  ="";
    var moveAdRightIsShow    = "";
    
    var clearRightsetInterval="";
    var clearLeftsetInteral="";
  
      function FM_ShowItIn(theName,theWantTop,theWantLeft)
     {
       document.all[theName].style.topˇˇ= theWantTop + document.body.scrollTop;
       //document.all[theName].style.left = theWantLeft + document.body.scrollLeft;
     }  
     function  GetMoveAdBarData()
     {
          var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
          xmlDoc.async ="false";
          xmlDoc.load("index.xml");
          
           moveAdLeftImageName = xmlDoc.selectSingleNode("//index/scrollADBar/scrollLeftImagesName").text;
           moveAdLeftImageUrl  = xmlDoc.selectSingleNode("//index/scrollADBar/scrollLeftImagesUrl").text;
           moveAdLeftIsShow    =  xmlDoc.selectSingleNode("//index/scrollADBar/scrollLeftIsShow").text;

          moveAdRightImageName = xmlDoc.selectSingleNode("//index/scrollADBar/scrollRightImagesName").text;
          moveAdRightImageUrl  = xmlDoc.selectSingleNode("//index/scrollADBar/scrollRightImagesUrl").text;
          moveAdRightIsShow    =  xmlDoc.selectSingleNode("//index/scrollADBar/scrollRightIsShow").text;
    }
         
     function MoveAdBarLoad()
     {    
         GetMoveAdBarData();

         if(moveAdLeftIsShow == "1")
         {
           document.write('<DIV id="ad_zsu" style="LEFT: 920px; POSITION: absolute; TOP: 86px;" background-color=\"transparent \">');     
           document.write('<a href="'+moveAdLeftImageUrl+'"  target=\"_blank\">')
           document.write('<img src="upload\\images\\'+moveAdLeftImageName+'" width="80px" height="80px" border="0"/>');     
           document.write('</a>');
           //document.write("<div align='right'>");
           //document.write('<img style="cursor:hand;"  onclick="CloseRightAdvertisement();" src="images\\ADclose.jpg" width="20px" height="20px" border="0"/>'); 
           //document.write("</div>");
           document.write('</DIV>');          
          clearRightsetInterval =  self.setInterval("FM_ShowItIn('ad_zsu',91,927)",10);
         }  
         if(moveAdRightIsShow =="1")
         {
            document.write('<DIV id="ad_zsu1" style="LEFT: 0px; POSITION: absolute; TOP: 86px;text-align:left" target=\"_blank\"  background-color=\"transparent \">');
            document.write('<a href="'+moveAdRightImageUrl+'"  target=\"_blank\">')
            document.write('<img src="upload\\images\\'+moveAdRightImageName+'" width="80px" height="80px" border="0"/>');                        
            document.write('</a>'); 
           // document.write("<div align='left'>");
           // document.write('<img style="cursor:hand;"  onclick="CloseLeftAdvertisement();" src="images\\ADclose.jpg" width="20px" height="20px" border="0"/>');             
           // document.write('</DIV>');
            document.write('</DIV>');
            clearLeftsetInteral = self.setInterval("FM_ShowItIn('ad_zsu1',91,30)",10);
         }      
     }
     function  CloseRightAdvertisement()
     {
       var strRightDIVADBar=document.getElementById("ad_zsu");
       clearRightsetInterval=window.clearInterval();
       strRightDIVADBar.style.display = "none";
     }  
     function CloseLeftAdvertisement()
     {
        var strLeftDIVADBar = document.getElementById("ad_zsu1");
        clearLeftsetInteral=window.clearInterval();
        strLeftDIVADBar.style.display="none";
     }
