/***********************************************
* Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/


//Specify the slider's width (in pixels)
var sliderwidth="638px"
//Specify the slider's height
var sliderheight="53px"
//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.nexternal.com/fightshop/Category144"><img id="imgAffliction" src="http://otmfightshops.com/Brands/affliction.jpg" alt="Affliction" style="margin: 0px; width: 33px; height: 33px;"><br>Affliction</a>'
leftrightslide[1]='<a href="http://www.nexternal.com/fightshop/Category78"><img id="imgB2f" src="http://otmfightshops.com/Brands/b2f.jpg" alt="B2f" style="margin: 0px; width: 33px; height: 33px;"><br>B2F</a>'
leftrightslide[2]='<a href="http://www.nexternal.com/fightshop/Category187"><img id="imgBadBoy" src="http://otmfightshops.com/Brands/badboy.jpg" alt="Bad Boy" style="margin: 0px; width: 33px; height: 33px;"><br>BadBoy</a>'
leftrightslide[3]='<a href="http://www.nexternal.com/fightshop/Category188"><img id="imgBulkyBoy" src="http://otmfightshops.com/Brands/bulkyboy.jpg" alt="Bulky Boy" style="margin: 0px; width: 33px; height: 33px;"><br>BulkyBoy</a>'
leftrightslide[4]='<a href="http://www.nexternal.com/fightshop/Category145"><img id="imgBrainpad" src="http://otmfightshops.com/Brands/brainpower.jpg" alt="Brainpad" style="margin: 0px; width: 33px; height: 33px;"><br>Brainpad</a>'
leftrightslide[5]='<a href="http://www.nexternal.com/fightshop/Category76"><img id="imgBrute" src="http://otmfightshops.com/Brands/brute.jpg" alt="Brute" style="margin: 0px; width: 33px; height: 33px;"><br>Brute</a>'
leftrightslide[6]='<a href="http://www.nexternal.com/fightshop/Category169"><img id="imgCageFighter" src="http://otmfightshops.com/Brands/cagefighter.jpg" alt="Cage Fighter" style="margin: 0px; width: 33px; height: 33px;"><br>CageFighter</a>'
leftrightslide[7]='<a href="http://www.nexternal.com/fightshop/Category80"><img id="imgChuteboxe" src="http://otmfightshops.com/Brands/chuteboxe.jpg" alt="Chuteboxe" style="margin: 0px; width: 33px; height: 33px;"><br>Chuteboxe</a>'
leftrightslide[8]='<a href="http://www.nexternal.com/fightshop/Category81"><img id="imgCliffkeen" src="http://otmfightshops.com/Brands/cliffkeen.jpg" alt="Cliffkeen" style="margin: 0px; width: 33px; height: 33px;"><br>Cliffkeen</a>'
leftrightslide[9]='<a href="http://www.nexternal.com/fightshop/Category85"><img id="imgDahui" src="http://otmfightshops.com/Brands/dahui.jpg" alt="Dahui" style="margin: 0px; width: 33px; height: 33px;"><br>Dahui</a>'
leftrightslide[10]='<a href="http://www.nexternal.com/fightshop/Category125"><img id="imgDeathClutch" src="http://otmfightshops.com/Brands/deathclutch.jpg" alt="DeathClutch" style="margin: 0px; width: 33px; height: 33px;"><br>DeathClutch</a>'
leftrightslide[11]='<a href="http://www.nexternal.com/fightshop/Category198"><img id="imgDirtyBoxer" src="http://otmfightshops.com/Brands/dirtyboxer.jpg" alt="Dirty Boxer" style="margin: 0px; width: 33px; height: 33px;"><br>DirtyBoxer</a>'
leftrightslide[12]='<a href="http://www.nexternal.com/fightshop/Category168"><img id="imgEuropaSports" src="http://otmfightshops.com/Brands/europasports.jpg" alt="Europa Sports" style="margin: 0px; width: 33px; height: 33px;"><br>EuropaSports</a>'
leftrightslide[13]='<a href="http://www.nexternal.com/fightshop/Category167"><img id="imgFairtex" src="http://otmfightshops.com/Brands/fairtex.jpg" alt="Fairtex" style="margin: 0px; width: 33px; height: 33px;"><br>Fairtex</a>'
leftrightslide[14]='<a href="http://www.nexternal.com/fightshop/Category92"><img id="imgAtmosphere" src="http://otmfightshops.com/Brands/futurefighter.jpg" alt="Futurefighter" style="margin: 0px; width: 33px; height: 33px;"><br>Futurefighter</a>'
leftrightslide[15]='<a href="http://www.nexternal.com/fightshop/Category93"><img id="imgGameness" src="http://otmfightshops.com/Brands/gameness.jpg" alt="Gameness" style="margin: 0px; width: 33px; height: 33px;"><br>Gameness</a>'
leftrightslide[16]='<a href="http://www.nexternal.com/fightshop/Category194"><img id="imgHayabusa" src="http://otmfightshops.com/Brands/hayabusa.jpg" alt="Hayabusa" style="margin: 0px; width: 33px; height: 33px;"><br>Hayabusa</a>'
leftrightslide[17]='<a href="http://www.nexternal.com/fightshop/Category96"><img id="imgHustler" src="http://otmfightshops.com/Brands/hustler.jpg" alt="Hustler" style="margin: 0px; width: 33px; height: 33px;"><br>Hustler</a>'
leftrightslide[18]='<a href="http://www.nexternal.com/fightshop/Category126"><img id="imgKennedy" src="http://otmfightshops.com/Brands/kennedy.jpg" alt="Kennedy" style="margin: 0px; width: 33px; height: 33px;"><br>Kennedy</a>'
leftrightslide[19]='<a href="http://www.nexternal.com/fightshop/Category100"><img id="imgLilscrapper" src="http://otmfightshops.com/Brands/lilscrapper.jpg" alt="Lilscrapper" style="margin: 0px; width: 33px; height: 33px;"><br>Lilscrapper</a>'
leftrightslide[20]='<a href="http://www.nexternal.com/fightshop/Category101"><img id="imgLuckygi" src="http://otmfightshops.com/Brands/luckygi.jpg" alt="Luckygi" style="margin: 0px; width: 33px; height: 33px;"><br>Luckygi</a>'
leftrightslide[21]='<a href="http://www.nexternal.com/fightshop/Category191"><img id="imgMetalMulisha" src="http://otmfightshops.com/Brands/metalmulisha.jpg" alt="Metal Mulisha" style="margin: 0px; width: 33px; height: 33px;"><br>MetalMulisha</a>'
leftrightslide[22]='<a href="http://www.nexternal.com/fightshop/Category103"><img id="imgOTM" src="http://otmfightshops.com/Brands/otm.jpg" alt="OTM" style="margin: 0px; width: 33px; height: 33px;"><br>OTM</a>'
leftrightslide[23]='<a href="http://www.nexternal.com/fightshop/Category105"><img id="imgPunishment" src="http://otmfightshops.com/Brands/punishment.jpg" alt="Punishment" style="margin: 0px; width: 33px; height: 33px;"><br>Punishment</a>'
leftrightslide[24]='<a href="http://www.nexternal.com/fightshop/Category172"><img id="imgRound5" src="http://otmfightshops.com/Brands/round5.jpg" alt="Round 5" style="margin: 0px; width: 33px; height: 33px;"><br>Round5</a>'
leftrightslide[25]='<a href="http://www.nexternal.com/fightshop/Category127"><img id="imgRVCA" src="http://otmfightshops.com/Brands/rvca.jpg" alt="RVCA" style="margin: 0px; width: 33px; height: 33px;"><br>RVCA</a>'
leftrightslide[26]='<a href="http://www.nexternal.com/fightshop/Category108"><img id="imgShockdoctor" src="http://otmfightshops.com/Brands/shockdoctor.jpg" alt="Shockdoctor" style="margin: 0px; width: 33px; height: 33px;"><br>Shockdoctor</a>'
leftrightslide[27]='<a href="http://www.nexternal.com/fightshop/Category109"><img id="imgSilverStar" src="http://otmfightshops.com/Brands/silverstar.jpg" alt="Silver Star" style="margin: 0px; width: 33px; height: 33px;"><br>SilverStar</a>'
leftrightslide[28]='<a href="http://www.nexternal.com/fightshop/Category110"><img id="imgSinful" src="http://otmfightshops.com/Brands/sinful.jpg" alt="Sinful" style="margin: 0px; width: 33px; height: 33px;"><br>Sinful</a>'
leftrightslide[29]='<a href="http://www.nexternal.com/fightshop/Category112"><img id="imgSprawl" src="http://otmfightshops.com/Brands/sprawl.jpg" alt="Sprawl" style="margin: 0px; width: 33px; height: 33px;"><br>Sprawl</a>'
leftrightslide[30]='<a href="http://www.nexternal.com/fightshop/Category113"><img id="imgSullen" src="http://otmfightshops.com/Brands/sullen.jpg" alt="Sullen" style="margin: 0px; width: 33px; height: 33px;"><br>Sullen</a>'
leftrightslide[31]='<a href="http://www.nexternal.com/fightshop/Category114"><img id="imgTapout" src="http://otmfightshops.com/Brands/tapout.jpg" alt="Tapout" style="margin: 0px; width: 33px; height: 33px;"><br>Tapout</a>'
leftrightslide[32]='<a href="http://www.nexternal.com/fightshop/Category115"><img id="imgElement" src="http://otmfightshops.com/Brands/throwdown.jpg" alt="Throwdown" style="margin: 0px; width: 33px; height: 33px;"><br>Throwdown</a>'
leftrightslide[33]='<a href="http://www.nexternal.com/fightshop/Category116"><img id="imgTKO" src="http://otmfightshops.com/Brands/tko.jpg" alt="TKO" style="margin: 0px; width: 33px; height: 33px;"><br>TKO</a>'
leftrightslide[34]='<a href="http://www.nexternal.com/fightshop/Category161"><img id="imgTLFI" src="http://otmfightshops.com/Brands/TLFI.jpg" alt="TLFI" style="margin: 0px; width: 33px; height: 33px;"><br>TLFI</a>'
leftrightslide[35]='<a href="http://www.nexternal.com/fightshop/Category117"><img id="imgToughlove" src="http://otmfightshops.com/Brands/toughlove.jpg" alt="Toughlove" style="margin: 0px; width: 33px; height: 33px;"><br>Toughlove</a>'
leftrightslide[36]='<a href="http://www.nexternal.com/fightshop/Category118"><img id="imgTriumphunited" src="http://otmfightshops.com/Brands/triumphunited.jpg" alt="Triumphunited" style="margin: 0px; width: 33px; height: 33px;"><br>Triumphunited</a>'
leftrightslide[37]='<a href="http://www.nexternal.com/fightshop/Category120"><img id="imgUFC" src="http://otmfightshops.com/Brands/ufc.jpg" alt="UFC" style="margin: 0px; width: 33px; height: 33px;"><br>UFC</a>'
leftrightslide[38]='<a href="http://www.nexternal.com/fightshop/Category192"><img id="imgVenum" src="http://otmfightshops.com/Brands/venum.jpg" alt="Venum" style="margin: 0px; width: 33px; height: 33px;"><br>Venum</a>'
leftrightslide[39]='<a href="http://www.nexternal.com/fightshop/Category193"><img id="imgVulkan" src="http://otmfightshops.com/Brands/vulkan.jpg" alt="Vulkan" style="margin: 0px; width: 33px; height: 33px;"><br>Vulkan</a>'
leftrightslide[40]='<a href="http://www.nexternal.com/fightshop/Category121"><img id="imgWarrior" src="http://otmfightshops.com/Brands/warrior.jpg" alt="Warrior" style="margin: 0px; width: 33px; height: 33px;"><br>Warrior</a>'
leftrightslide[41]='<a href="http://www.nexternal.com/fightshop/Category148"><img id="imgWindy" src="http://otmfightshops.com/Brands/windy.jpg" alt="Windy" style="margin: 0px; width: 33px; height: 33px;"><br>Windy</a>'
leftrightslide[42]='<a href="http://www.nexternal.com/fightshop/Category122"><img id="imgXtremecouture" src="http://otmfightshops.com/Brands/xtremecouture.jpg" alt="Xtremecouture" style="margin: 0px; width: 33px; height: 33px;"><br>Xtremecouture</a>'

//Specify gap between each image (use HTML):
var imagegap=" "

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=4


////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()",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"

}
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 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('<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>')
}
}
