function initEcAd() {
document.all.AdLayer1.style.posTop = -200;
document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -200;
document.all.AdLayer2.style.visibility = 'visible'
MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
function MoveLeftLayer(layerName) {
var x = 0;
var y = 120 ;
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
function MoveRightLayer(layerName) {
var x = 0;
var y = 120;
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}
initEcAd()


marqueesHeight=205;
stopscroll=false;
with(icefable1){
   style.width=310;
   style.height=marqueesHeight;
   style.overflowX='visible';
   style.overflowY='hidden';
   noWrap=true;
   onmouseover=new Function('stopscroll=true');
   onmouseout=new Function('stopscroll=false');
  }
  preTop=0; currentTop=0; stoptime=0;
  icefable1.innerHTML+=icefable1.innerHTML;
function init_srolltext(){
  icefable1.scrollTop=0;
  setInterval('scrollUp()',1);
}init_srolltext();

function scrollUp(){
  if(stopscroll==true) return;
  currentTop+=1;
  if(currentTop==61)
  {
   stoptime+=1;
   currentTop-=1;
   if(stoptime==61)
   {
    currentTop=0;
    stoptime=0;    
   }
  }
  else {   
   preTop=icefable1.scrollTop;
   icefable1.scrollTop+=1;
   if(preTop==icefable1.scrollTop){
     icefable1.scrollTop=200;
     icefable1.scrollTop+=1;
   }
  }

}
