//Specify the slider's width (in pixels)
var sliderwidth="980px"
//Specify the slider's height
var sliderheight="39px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
slidebgcolor="#FFFFFF"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="http://www.ChromeRimShop.com/stonz-alloyz-wheels.html"><img title="Stonz Alloyz Wheels " src="images/dvssc.jpg" width="60" height="40" border=0></a>'
leftrightslide[1]='<a href="http://www.ChromeRimShop.com/red-sport-wheels.html"><img title="Red Sport Wheels " src="images/redsport-scrolllogo.jpg" width="50" height="40" border=0></a>'
leftrightslide[2]='<a href="http://www.icedemblems.com/"><img src="images/timberland.gif" title="CHROME EMBLEMS" height="40" border=0></a>'
leftrightslide[3]='<a href="http://www.ChromeRimShop.com/dub.html"><img src="images/dub1.gif" title="Dub Wheels" width="49" height="40" border=0></a>'
leftrightslide[4]='<a href="http://www.ChromeRimShop.com/giovanna.html"><img title="Giovanna Wheels" alt="Giovanna Wheels" src="images/giovannasc.jpg" width="58" height="40" border=0></a>'
leftrightslide[5]='<a href="http://www.ChromeRimShop.com/hoyo-wheels.html"><img src="images/fila.gif" title="Hoyo Wheels " width="60" height="40" border=0></a>'
leftrightslide[6]='<a href="http://www.chromerimshop.com/bentchi.html"><img title="Benchi Wheels" alt="Benchi Wheels" src="http://www.chromerimshop.com/images/bentchism.gif" border="0" width="52" height="40" border=0></a>'
leftrightslide[7]='<a href="http://www.ChromeRimShop.com/akuza.html"><img title="Akuza Wheels " src="images/akuza1.gif" width="56" height="40" border=0></a>'
leftrightslide[8]='<a href="http://www.ChromeRimShop.com/hero.html"><img title="Hero Wheels " src="images/bally.jpg" width="63" height="40" border=0></a>'
leftrightslide[9]='<a href="http://www.ChromeRimShop.com/tyfun-wheels.html"><img title="Tyfun Wheels" src="images/tyfunscrolllogo.gif" width="60" height="40" border=0></a>'
leftrightslide[10]='<a href="http://www.ChromeRimShop.com/versante-wheels.html"><img src="images/havanajoe.jpg" title="Versante Wheels" width="50" height="40" border=0></a>'
leftrightslide[11]='<a href="http://www.ChromeRimShop.com/viscera.html"><img title="Viscera Wheels" src="images/viscerasm.gif" width="60" height="40" border=0></a>'
leftrightslide[12]='<a href="http://www.ChromeRimShop.com/devino.html"><img title="Devino Wheels" src="images/devinosc.jpg" width="63" height="40" border=0></a>'
leftrightslide[13]='<a href="http://www.ChromeRimShop.com/incubus.html"><img title="Incubus Wheels" src="images/incubussc.gif" width="57" height="40" border=0></a>'
leftrightslide[14]='<a href="http://www.ChromeRimShop.com/mkw-wheels.html"><img title="MKW Avenue Wheels" src="images/mkw-sclogo.jpg" width="60" height="40" border=0></a>'
leftrightslide[15]='<a href="http://www.ChromeRimShop.com/xd-series-wheels.html"><img src="images/xd-series-scrolllogo.jpg" title="XD Series Wheels " width="59" height="40" border=0></a>'
leftrightslide[16]='<a href="http://www.chromerimshop.com/300c.html"><img title="300 Iced Out " alt="Chrysler 300 Iced Out" src="images/levis.jpg" width="59" height="40" border=0></a>'
leftrightslide[17]='<a href="http://www.ChromeRimShop.com/kmc.html"><img title="KMC Wheels" src="images/kmc1.jpg" width="54" height="40" border=0></a>'
leftrightslide[18]='<a href="http://www.ChromeRimShop.com/pinnacle.html"><img src="images/pinnacle-sclogo.jpg" title="Pinnacle Wheels" width="61" height="40" border=0></a>'
leftrightslide[19]='<a href="http://www.ChromeRimShop.com/d-centi-wheels.html"><img title="D Centi Wheels" alt="D Centi Wheels" src="images/decentism.jpg" width="63" height="40" border=0></a>'
leftrightslide[20]='<a href="http://www.icedemblems.com/"><img src="images/newera.gif" title="Omega Luxury Wheels " width="57" height="40" border=0></a>'
leftrightslide[21]='<a href="http://www.ChromeRimShop.com/asanti.html"><img title="Asanti Wheels" alt="Asanti Wheels" src="images/asanti1.jpg" width="59" height="40" border=0></a>'
leftrightslide[22]='<a href="http://www.ChromeRimShop.com/crave-wheels.html"><img title="2 Crave Wheels" src="images/zenetti1.jpg"  width="63" height="40" border=0></a>'
leftrightslide[23]='<a href="http://www.ChromeRimShop.com/american-racing.html"><img src="images/nike.gif" title="American Racing Wheels" width="56" height="40" border=0></a>'
leftrightslide[24]='<a href="http://www.chromerimshop.com/divinity-wheels.html"><img title="Divinity Wheels" src="images/divinity-wheels-racing-lscr.jpg" width="60" height="40" border=0></a>'
leftrightslide[25]=' <a href="http://www.chromerimshop.com/velocity-wheels.html"><img title="Velocity Wheels" alt="Velocity Wheels" src="http://www.chromerimshop.com/images/verde1.gif" border="0" width="60" height="40" border=0></a>'
leftrightslide[26]='<a href="http://www.ChromeRimShop.com/cattivo-wheels.html"><img src="images/cattivoscrolllogo" title="Cattivo Wheels"  width="61" height="40" border=0></a>'
leftrightslide[27]='<a href="http://www.ChromeRimShop.com/u2-wheels.html"><img src="images/icecreams.gif" title="U2 Wheels " width="50" height="40" border=0></a>'
//Specify gap between each image (use HTML):
var imagegap=""

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=-1


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

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"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",70)
}
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"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
//document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){

write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
//write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
//write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu">')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
//document.write('</td></table>')
}
}
