// IDX Broker Slideshow version 1.0 // Copyright ¿2012 All rights reserved. // This script exists soley for the purposes of allowing real estate professionals to display // their property information easily on their own web site. All other use prohibited. var c; var timeout = 8000; var cwi = 0; document.writeln(''); var next = 1; prev = 6 - 1; document.writeln('
'); document.writeln('
'); document.writeln('Slideshow image'); document.writeln('
'); document.writeln('
'); document.writeln('
'); document.writeln('
'); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); function play() { urlVar = ''; document.images.ssImage.src = preLoad.src; document.getElementById('IDX-ssImageURL').href = properties[cwi][6]; document.getElementById('IDX-priceLine').innerHTML = urlVar+'$'+properties[cwi][0]+''; document.getElementById('IDX-addressLine').innerHTML = urlVar+properties[cwi][1]+''; document.getElementById('IDX-cszLine').innerHTML = urlVar+properties[cwi][2]+''; document.getElementById('IDX-bedsLine').innerHTML = urlVar+'Beds: '+properties[cwi][7]+''; document.getElementById('IDX-bathsLine').innerHTML = urlVar+'Baths: '+properties[cwi][8]+''; document.getElementById('IDX-remarksLine').innerHTML = urlVar+properties[cwi][9]+''; preLoad = new Image(); preLoad.src = properties[next][3]; update(); c = setTimeout('play()', timeout) } // end play() function update() { cwi = next; genNext(); genPrev(); } function genNext() { next = cwi + 1; if (next >= 6) next = 0; } // end genNext function genPrev() { prev = cwi - 1; if (prev < 0) prev = 6 - 1; } // end genPrev var properties = new Array(6); properties[0] = new Array('3,276,170','TBD Northside ','Nampa, ID 83687 ','http://imls.fnismls.com/Paragon/ListingPictures/IMLS/4/IMLS98430374.jpg','98430374','082','http://www.idahorealestateplus.com/idx/details.php?listingID=98430374&idxID=082','','','RAIL PROPERTY! 76.19 acres of Industrial ready property divi...'); properties[1] = new Array('837,223','TBD Cherry Lane ','Nampa, ID 83687 ','http://imls.fnismls.com/Paragon/ListingPictures/IMLS/5/IMLS98475235.jpg','98475235','082','http://www.idahorealestateplus.com/idx/details.php?listingID=98475235&idxID=082','','','RAIL PROPERTY! 19+ acres of Industrial ready property by rai...'); properties[2] = new Array('736,600','TBD Cherry Lane ','Nampa, ID 83687 ','http://imls.fnismls.com/Paragon/ListingPictures/IMLS/1/IMLS98479591.jpg','98479591','082','http://www.idahorealestateplus.com/idx/details.php?listingID=98479591&idxID=082','','','Industrial property with Railroad spur...'); properties[3] = new Array('298,000','2504 Wisconsin Avenue ','Caldwell, ID 83605 ','http://imls.fnismls.com/Paragon/ListingPictures/IMLS/3/IMLS98486063.jpg','98486063','082','http://www.idahorealestateplus.com/idx/details.php?listingID=98486063&idxID=082','','','Clean, low maintanence, well managed six units in the colleg...'); properties[4] = new Array('85,000','2001 E Maple Street ','Caldwell, ID 83605 ','http://imls.fnismls.com/Paragon/ListingPictures/IMLS/5/IMLS98476775.jpg','98476775','082','http://www.idahorealestateplus.com/idx/details.php?listingID=98476775&idxID=082','','','Affordable, close to college, shopping, city services and pa...'); properties[5] = new Array('44,900','#357 B Street ','Nampa, ID 83651 ','http://imls.fnismls.com/Paragon/ListingPictures/IMLS/6/IMLS98444866.jpg','98444866','082','http://www.idahorealestateplus.com/idx/details.php?listingID=98444866&idxID=082','2','2','Silvercrest II 55+Gated community. Incredible natural light ...'); var urlVar; var preLoad = new Image(); preLoad.src = properties[cwi][3]; onLoad = play();