  var slider=new Array()
  slider[0]='<a href="#" title="View Air Terminal Building"><img src="http://www.jrlarchitects.com/images/upload/project_images/01binteriorphoto.jpg" width="318" height="350" border="0" alt="" /></a>'
  slider[1]='<a href="#" title="View Teen Center"><img src="http://www.jrlarchitects.com/images/upload/project_images/MVC-003F.jpg" width="467" height="350" border="0" alt="" /></a>'
  slider[2]='<a href="#" title="View Teen Center"><img src="http://www.jrlarchitects.com/images/upload/project_images/002F.jpg" width="467" height="350" border="0" alt="" /></a>'
  slider[3]='<a href="#" title="View W.H. Flowers Shared Services Facility"><img src="http://www.jrlarchitects.com/images/upload/project_images/05ainteriorphoto.jpg" width="288" height="350" border="0" alt="" /></a>'
  slider[4]='<a href="#" title="View First National Bank of Decatur County"><img src="http://www.jrlarchitects.com/images/upload/project_images/10aexteriorphoto.jpg" width="467" height="350" border="0" alt="" /></a>'
  slider[5]='<a href="#" title="View Air Terminal Building"><img src="http://www.jrlarchitects.com/images/upload/project_images/air_terminal_elevation.jpg" width="1050" height="350" border="0" alt="" /></a>'
  slider[6]='<a href="#" title="View Thomas County Middle School"><img src="http://www.jrlarchitects.com/images/upload/project_images/03afrontrendering.jpg" width="944" height="350" border="0" alt="" /></a>'
  slider[7]='<a href="#" title="View Bainbridge Firehouse Rehabilitation"><img src="http://www.jrlarchitects.com/images/upload/project_images/06firehousetruss.jpg" width="263" height="350" border="0" alt="" /></a>'
  slider[8]='<a href="#" title="View Air Terminal Building"><img src="http://www.jrlarchitects.com/images/upload/project_images/01cparkingelevationphoto.jpg" width="735" height="350" border="0" alt="" /></a>'
  slider[9]='<a href="#" title="View Air Terminal Building"><img src="http://www.jrlarchitects.com/images/upload/project_images/01aairstripelevationphoto.jpg" width="650" height="350" border="0" alt="" /></a>'
  slider[10]='<a href="#" title="View First National Bank of Decatur County"><img src="http://www.jrlarchitects.com/images/upload/project_images/First_National_rendering2.jpg" width="775" height="350" border="0" alt="" /></a>'
  slider[11]='<a href="#" title="View First Port City Bank"><img src="http://www.jrlarchitects.com/images/upload/project_images/09binteriorphoto.jpg" width="467" height="350" border="0" alt="" /></a>'
  function cbelt(slide, width, height, speed, bg, igap, sgap, altgap){
    if(!document.getElementsByTagName||!document.createElement)
      return;
    if(!cbelt.ar)
      cbelt.ar=[];
      cbelt.ar[this.slid=cbelt.ar.length]=this;
      this.slide='<nobr>'+slide.join(igap)+'<\/nobr>';
      this.width=width;
      this.height=height;
      this.copyspeed=this.speed=speed;
      this.sgap=sgap;
      this.altgap=sgap-speed;
      this.tspan=document.createElement('span');
      this.tspan.id='temp'+this.slid;
      this.tspan.style.visibility='hidden';
      this.tspan.style.position='absolute';
      this.tspan.style.top='-1000px';
      this.tspan.style.left='-9000px';
      this.tspan.innerHTML=this.slide;
      with (document){
        write('<table border="0" cellspacing="0" cellpadding="0"><td>')
        write('<div style="position:relative;width:'+this.width+'px;height:'+this.height+'px;overflow:hidden">')
        write('<div style="position:absolute;width:'+this.width+'px;height:'+this.height+'px;background-color:'+bg+'" onmouseover="cbelt.ar['+this.slid+'].copyspeed=0" onmouseout="cbelt.ar['+this.slid+'].copyspeed=cbelt.ar['+this.slid+'].speed">')
        write('<div id="test2'+this.slid+'" style="position:absolute;left:0px;top:0px"><\/div>')
        write('<div id="test3'+this.slid+'" style="position:absolute;left:-1000px;top:0px"><\/div>')
        write('<\/div><\/div>')
        write('<\/td><\/table>')
      }
      document.body.insertBefore(this.tspan, document.body.firstChild)
      this.fillup();
  }
  cbelt.prototype.fillup=function(){
    var cacheobj=this;
    this.timgs=document.getElementById('temp'+this.slid).getElementsByTagName('img')
    for (var i_tem = 0; i_tem < this.timgs.length; i_tem++)
      if(typeof this.timgs[i_tem].complete=='boolean'&&!this.timgs[i_tem].complete){
        setTimeout(function(){cacheobj.fillup();}, 300);
        return;
      }
    this.cross_slide=document.getElementById("test2"+this.slid);
    this.cross_slide2=document.getElementById("test3"+this.slid);
    this.cross_slide.innerHTML=this.cross_slide2.innerHTML=this.slide;
    this.actualwidth=document.getElementById("temp"+this.slid).offsetWidth;
    this.cross_slide2.style.left=this.actualwidth+this.sgap+"px"
    this.lefttime=setInterval(function(){cacheobj.slideleft();}, 30);
  }
  cbelt.prototype.slideleft=function(){
    if (parseInt(this.cross_slide.style.left)>(this.actualwidth*(-1)+8))
      this.cross_slide.style.left=parseInt(this.cross_slide.style.left)-this.copyspeed+"px"
    else{
      this.cross_slide.style.left=parseInt(this.cross_slide2.style.left)+this.actualwidth+(this.agap? this.sgap : this.altgap)+"px"
      this.agap=!this.agap;
    }
    if (parseInt(this.cross_slide2.style.left)>(this.actualwidth*(-1)+8))
      this.cross_slide2.style.left=parseInt(this.cross_slide2.style.left)-this.copyspeed+"px"
    else{
      this.cross_slide2.style.left=parseInt(this.cross_slide.style.left)+this.actualwidth+(this.agap? this.sgap : this.altgap)+"px"
      this.agap=!this.agap;
    }
  }