
	var flag=1;
	var w="600px"
	var h="140px"
	var speed=1

	var leftrightslide=new Array()
    var finalslide=''

	leftrightslide[0]='<table width="600" class="ac uo lh13em small"><tr><td class="w20 p2px10px"><img src="small-images/4-way-junction-box-931323.jpg"  width="90" height="90"   class="bdrImg"  title="4 Way Junction Box"  alt="4 Way Junction Box"  /></td><td class="w20 p2px10px"><img src="small-images/bar-saddle-931349.jpg"  width="90" height="90"   class="bdrImg"  title="Bar Saddle"  alt="Bar Saddle"  /></td><td class="w20 p2px10px"><img src="small-images/2-way-junction-box-931320.jpg"  width="90" height="90"   class="bdrImg"  title="2 Way Junction Box"  alt="2 Way Junction Box"  /></td><td class="w20 p2px10px"><img src="small-images/doom-cover-02-937467.jpg"  width="90" height="90"   class="bdrImg"  title="MS Sheet Doom Cover"  alt="MS Sheet Doom Cover"  /></td><td class="w20 p2px10px"><img src="small-images/conduit-spacer-931369.jpg"  width="90" height="90"   class="bdrImg"  title="Conduit Spacer"  alt="Conduit Spacer"  /></td><td class="w20 p2px10px"><img src="small-images/nut-clamp-931365.jpg"  width="90" height="90"   class="bdrImg"  title="Nut Clamp"  alt="Nut Clamp"  /></td><td class="w20 p2px10px"><img src="small-images/u-bolt-931366.jpg"  width="90" height="90"   class="bdrImg"  title="U-Bolt"  alt="U-Bolt"  /></td><td class="w20 p2px10px"><img src="small-images/h-shaped-junction-box-931328.jpg"  width="90" height="90"   class="bdrImg"  title="H Shaped Junction Box"  alt="H Shaped Junction Box"  /></td><td class="w20 p2px10px"><img src="small-images/3-way-junction-box-931322.jpg"  width="90" height="90"   class="bdrImg"  title="3 Way Junction Box"  alt="3 Way Junction Box"  /></td><td class="w20 p2px10px"><img src="small-images/doom-cover-01-937466.jpg"  width="90" height="90"   class="bdrImg"  title="Cast iron Doom Cover"  alt="Cast iron Doom Cover"  /></td></tr><tr valign="top"><td class="p2px10px"><a href="junction-box.htm#931323"   title="4 Way Junction Box" alt="4 Way Junction Box" >4 Way Junction Box</a></td><td class="p2px10px"><a href="bar-saddle.htm"   title="Bar Saddle" alt="Bar Saddle" >Bar Saddle</a></td><td class="p2px10px"><a href="junction-box.htm#931320"   title="2 Way Junction Box" alt="2 Way Junction Box" >2 Way Junction Box</a></td><td class="p2px10px"><a href="doom-cover.htm#937467"   title="MS Sheet Doom Cover" alt="MS Sheet Doom Cover" >MS Sheet Doom Cover</a></td><td class="p2px10px"><a href="conduit-spacer.htm"   title="Conduit Spacer" alt="Conduit Spacer" >Conduit Spacer</a></td><td class="p2px10px"><a href="nut-clamp.htm"   title="Nut Clamp" alt="Nut Clamp" >Nut Clamp</a></td><td class="p2px10px"><a href="u-bolt.htm"   title="U-Bolt" alt="U-Bolt" >U-Bolt</a></td><td class="p2px10px"><a href="junction-box.htm#931328"   title="H Shaped Junction Box" alt="H Shaped Junction Box" >H Shaped Junction Box</a></td><td class="p2px10px"><a href="junction-box.htm#931322"   title="3 Way Junction Box" alt="3 Way Junction Box" >3 Way Junction Box</a></td><td class="p2px10px"><a href="doom-cover.htm#937466"   title="Cast iron Doom Cover" alt="Cast iron Doom Cover" >Cast iron Doom Cover</a></td></tr></table>'

	var imagegap=""
	var slideshowgap=0
	
	var copyspeed=speed
	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 scroll(){
	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)
	}
	
	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:'+w+';height:'+h+';overflow:hidden">')
	write('<div style="position:absolute;width:'+w+';height:'+h+';" onMouseover="copyspeed=0" onMouseout="stop1()" onclick="stop()">')
	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='+w+' height='+h+' name="ns_slidemenu">')
	write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="stop1()"></layer>')
	write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="stop1()"></layer>')
	write('</ilayer>')
	}
	document.write('</td></table>')
	}
	}
	
	function stop1()
	{
	if(flag==1)
	copyspeed=speed
	}
	
	function stop()
	{
	if(flag==1)
	{
	copyspeed=0
	flag=0;
	}
	else
	{
	copyspeed=speed
	flag=1
	}
	}
