/***********************************************
* 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="1200"
//Specify the slider's height
var sliderheight="125px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=2
//configure background color:
slidebgcolor="000066"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''

leftrightslide[1]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=90580&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/90580.jpg" border=0 height=120 width=160 alt="100 Mohawk"></a>'

leftrightslide[2]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=92435&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/92435.jpg" border=0 height=120 width=160 alt="207 Broadview Circle, Hot Springs"></a>'

leftrightslide[3]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=92678&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/92678.jpg" border=0 height=120 width=160 alt="6228 Sycamore Dr, Bismarck"></a>'

leftrightslide[4]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=93150&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/93150.jpg" border=0 height=120 width=160 alt="110 Newby Lane, Hot Springs"></a>'

leftrightslide[5]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=93411&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/93411.jpg" border=0 height=120 width=160 alt="501 Morrison Ave, Hot Springs"></a>'

leftrightslide[6]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=93412&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/93412.jpg" border=0 height=120 width=160 alt="132 Mimosa, Hot Springs"></a>'

leftrightslide[7]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=93829&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/93829.jpg" border=0 height=120 width=160 alt="270 Chicot Trail, Bismarck"></a>'

leftrightslide[8]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=94040&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/94040.jpg" border=0 height=120 width=160 alt="873 & 879 Park Ave, Hot Springs"></a>'

leftrightslide[9]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=94589&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/94589.jpg" border=0 height=120 width=160 alt="107 Benttree, Hot Springs"></a>'

leftrightslide[10]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=95441&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/95441.jpg" border=0 height=120 width=160 alt="383 Palos Verdes Dr, Hot Springs"></a>'

leftrightslide[11]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=95476&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/95476.jpg" border=0 height=120 width=160 alt="108 Ernestway St, Hot Springs"></a>'

leftrightslide[12]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=95515&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/95515.jpg" border=0 height=120 width=160 alt="199 Chitwood, Hot Springs"></a>'

leftrightslide[13]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=95562&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/95562.jpg" border=0 height=120 width=160 alt="105 Hillview, Hot Springs"></a>'

leftrightslide[14]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=96727&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/96727.jpg" border=0 height=120 width=160 alt="270 Needham Rd, Hot Springs"></a>'

leftrightslide[15]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=96843&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/96843.jpg" border=0 height=120 width=160 alt="107 Gareth Ct, Hot Springs"></a>'

leftrightslide[16]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97057&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97057.jpg" border=0 height=120 width=160 alt="118 Longtree, Hot Springs"></a>'

leftrightslide[17]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97215&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97215.jpg" border=0 height=120 width=160 alt="137A Central Ter, Hot Springs"></a>'

leftrightslide[18]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97638&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97638.jpg" border=0 height=120 width=160 alt="124 Bond, Hot Springs"></a>'

leftrightslide[19]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97739&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97739.jpg" border=0 height=120 width=160 alt="215 N Pearcy, Hot Springs"></a>'

leftrightslide[20]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97744&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97744.jpg" border=0 height=120 width=160 alt="615 Belvedere, Hot Springs"></a>'

leftrightslide[21]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97782&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97782.jpg" border=0 height=120 width=160 alt="101 Southern Hills, Hot Springs"></a>'

leftrightslide[22]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97784&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97784.jpg" border=0 height=120 width=160 alt="101 Cross, Hot Springs"></a>'

leftrightslide[23]='<a href="http://hsbor.fnismls.com/publink/Report.aspx?outputtype=HTML&amp;GUID=64969a0b-c820-4d16-b588-7d3a4d55fcea&amp;ListingID=97797&amp;Report=Yes&amp;view=19&amp;layout_id=undefined" target="_blank"><img src="images/97797.jpg" border=0 height=120 width=160 alt="140 Cooper, Hot Springs"></a>'


//Specify gap between each image (use HTML):
var imagegap=" "

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=2


////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>')
}
}

