
         // BannerAD
          var bannerAD=new Array();
          var bannerADlink=new Array();
          var adNum=0;
          bannerAD[0]="images/build_1.jpg";
          bannerADlink[0]="office.html";
          bannerAD[1]="images/build_2.jpg";
          bannerADlink[1]="office.html";
          bannerAD[2]="images/build_3.jpg";
          bannerADlink[2]="office.html";
          bannerAD[3]="images/build_4.jpg";
          bannerADlink[3]="office.html";
          bannerAD[4]="images/build_10.jpg";
          bannerADlink[4]="office.html";
          bannerAD[5]="images/build_6.jpg";
          bannerADlink[5]="office.html";
          bannerAD[6]="images/build_7.jpg";
          bannerADlink[6]="office.html";
          bannerAD[7]="images/build_8.jpg";
          bannerADlink[7]="office.html";
          bannerAD[8]="images/build_9.jpg";
          bannerADlink[8]="office.html";
          bannerAD[9]="images/build_11.jpg";
          bannerADlink[9]="office.html";
          bannerAD[10]="images/build_12.jpg";
          bannerADlink[10]="office.html";   
		  var preloadedimages=new Array();
		  
          for (i=1;i<bannerAD.length;i++)
		  {
            preloadedimages[i]=new Image();
            preloadedimages[i].src=bannerAD[i];
          }

           function setTransition()
		   {
             if (document.all)
			{
             bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
             bannerADrotator.filters.revealTrans.apply();
            }
           }

         function playTransition()
		 {
           if (document.all)
           bannerADrotator.filters.revealTrans.play()
         }

         function nextAd()
		 {
          if(adNum<bannerAD.length-1)adNum++ ;
          else adNum=0;
         setTransition();
           document.images.bannerADrotator.src=bannerAD[adNum];
          playTransition();
         theTimer=setTimeout("nextAd()", 4000);
         }

        function jump2url()
		{
           jumpUrl=bannerADlink[adNum];
           jumpTarget='_self';
          if (jumpUrl != '')
		  {
             if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
             else location.href=jumpUrl;
          }
        }
       function displayStatusMsg() 
	   { 
         status=bannerADlink[adNum];
          document.returnValue = true;
       }

       function MM_openBrWindow(theURL,winName,features) 
	   { //v2.0
         window.open(theURL,winName,features);
        }
    

     
 var Parent = document.getElementById("Parent");
           var ChildA = document.getElementById("Child_A");
           var parentWidth = 390;
           var count=2; 
           ChildA.innerHTML = ChildA.innerHTML + " " + ChildA.innerHTML;
           while (Parent.scrollWidth<=parentWidth)
            {    
              count *=2;
              ChildA.innerHTML = ChildA.innerHTML + " " + ChildA.innerHTML;
             }
            var speed=10;
             function Marquee()
             {
              if (ChildA.offsetWidth/count-Parent.scrollLeft<0)//NB Cacluate the optimal position
                {
                  Parent.scrollLeft -= ChildA.offsetWidth/count;
                }
              else
               {
                  Parent.scrollLeft++ 
				}
              }
             var MyMar=setInterval(Marquee,speed)
             Parent.onmouseover=function() {clearInterval(MyMar)}
             Parent.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
    