var sliderwidth="670px";
var sliderheight="121px";
if (navigator.userAgent.indexOf('MSIE 6.0;') != -1) {
	sliderheight="83px";
}
var slidespeed=1;
slidebgcolor="#F9F9F9";
var finalslide=' ';
var imagegap=" ";
var slideshowgap=5;
var copyspeed=slidespeed;
var iedom=document.all||document.getElementById;
var actualwidth='';
var cross_slide, ns_slide;
//leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>';
leftrightslide='<nobr>'+leftrightslide+'</nobr>';
if (iedom)
  document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>');

function fillup(){
  if (iedom){
    cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2;
    cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3;
    cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide;
    actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth;
    cross_slide2.style.left=actualwidth+slideshowgap+"px";
  }
  lefttime=setInterval("slideleft()",30);
}
window.onload=fillup;

function slideleft(){
  if (iedom){
    if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
      cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px";
    else
      cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px";
    
    if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
      cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px";
    else
      cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px";
  }
}
if (iedom||document.layers){
  with (document){
    if (iedom){
      write('<div style="position:relative;left:0px;top:0px; min-width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden; margin: 0 5px;">');
      write('<div style="position:absolute; min-width:'+sliderwidth+';height:'+sliderheight+'; onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed;">');
      write('<div id="test2" style="position:absolute;left:0px;top:0px;height:121px;"></div>');
      write('<div id="test3" style="position:absolute;left:-1000px;top:0px;height:121px;"></div>');
      write('</div></div>');
    }
  }
}

