/* Extension developed by David G. Miles (www.z3roadster.net/dreamweaver) Original Scrollable Area code developed by Thomas Brattli (www.bratta.com) To add more shock to your site, visit www.DHTML Shock.com */ function verifyCompatibleBrowser(){ this.ver=navigator.appVersion; this.dom=document.getElementById?1:0; this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5); return this; } bw=new verifyCompatibleBrowser(); lstart=480; loop=true; speed=50; pr_step=1; function ConstructObject(obj,nest){ nest=(!nest) ? '':'document.'+nest+'.'; this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight; this.scrollWidth=bw.ns4?this.css.document.width:this.el.offsetWidth; this.newsScroll=newsScroll; this.moveIt=b_moveIt; this.x; this.y; this.obj = obj + "Object"; eval(this.obj + "=this"); return this; } function b_moveIt(x,y){ this.x=x;this.y=y; this.css.left=this.x; this.css.top=this.y; } //Makes the object scroll up function newsScroll(speed){ if(this.x>-this.scrollWidth){ this.moveIt(this.x-pr_step, 0); setTimeout(this.obj+".newsScroll("+speed+")",speed); }else if(loop) { this.moveIt(lstart,0); eval(this.obj+".newsScroll("+speed+")"); } } //Makes the object function InitialiseAutoScrollArea(){ objContainer=new ConstructObject('divASContainer'); objContent=new ConstructObject('divASContent','divASContainer'); objContent.moveIt(0,0); objContainer.css.visibility='visible'; objContent.newsScroll(speed); } // end absolutely positioned scrollable area object scripts listings = new Array(); listings[0] = new Object(); listings[0]['id'] = '228365'; listings[0]['photo'] = '228365-0_thumb.jpg'; listings[0]['beds'] = '3'; listings[0]['baths'] = '1'; listings[0]['price'] = '89,900'; listings[0]['caption'] = 'Location Location Location'; listings[0]['copy'] = 'Great Starter Home with Fully Fenced in Back Yard. Features a Fireplace for tho...'; listings[1] = new Object(); listings[1]['id'] = '256919'; listings[1]['photo'] = '256919-0_thumb.jpg'; listings[1]['beds'] = ''; listings[1]['baths'] = ''; listings[1]['price'] = '129,900'; listings[1]['caption'] = '3 bedroom 2 Bath Many Upgrades'; listings[1]['copy'] = 'Many upgrades, double vanity with porcelain sinks, arched tile shower and tub. D...'; listings[2] = new Object(); listings[2]['id'] = '256970'; listings[2]['photo'] = '256970-0_thumb.jpg'; listings[2]['beds'] = '4'; listings[2]['baths'] = '2'; listings[2]['price'] = '120,000'; listings[2]['caption'] = 'Oversized home with Deck'; listings[2]['copy'] = '4/2 Home priced right with many upgraded features comes with 18\' above ground po...'; listings[3] = new Object(); listings[3]['id'] = '256916'; listings[3]['photo'] = '256916-0_thumb.jpg'; listings[3]['beds'] = '3'; listings[3]['baths'] = '2'; listings[3]['price'] = '179,900'; listings[3]['caption'] = '2-Story Pool Home'; listings[3]['copy'] = 'This 3/2 w/Tile floors all, lovely landscaping & large screened in pool area, No...'; listings[4] = new Object(); listings[4]['id'] = '256821'; listings[4]['photo'] = '256821-0_thumb.jpg'; listings[4]['beds'] = '3'; listings[4]['baths'] = '2'; listings[4]['price'] = '175,000'; listings[4]['caption'] = 'Great Home Location & Value'; listings[4]['copy'] = 'Spacious, 3/2, fam. room, Florida room, fenced yard. Short sale home priced well...'; listings[5] = new Object(); listings[5]['id'] = '256805'; listings[5]['photo'] = '256805-0_thumb.jpg'; listings[5]['beds'] = '3'; listings[5]['baths'] = '2'; listings[5]['price'] = '129,900'; listings[5]['caption'] = '3 Bedroom 2 Bath Split Level Home'; listings[5]['copy'] = 'Very nice 3 bedroom 2 bathroom home, split level home. This is not a short sale....'; listings[6] = new Object(); listings[6]['id'] = '256892'; listings[6]['photo'] = '256892-0_thumb.jpg'; listings[6]['beds'] = ''; listings[6]['baths'] = ''; listings[6]['price'] = '177,500'; listings[6]['caption'] = '3 Bedrooms, 2.1 Bath, Carriage Home'; listings[6]['copy'] = 'THIS IS NOT A SHORT SALE. Bank owned Foreclosure, can close very fast. Nice 3 be...'; listings[7] = new Object(); listings[7]['id'] = '256928'; listings[7]['photo'] = '256928-0_thumb.jpg'; listings[7]['beds'] = '2'; listings[7]['baths'] = '2'; listings[7]['price'] = '379,900'; listings[7]['caption'] = 'Beautiful Turnkey.'; listings[7]['copy'] = 'Home w/Lakeview. Exquisite furnishing & decor, island Kitchen, many custom built...'; listings[8] = new Object(); listings[8]['id'] = '256748'; listings[8]['photo'] = '256748-0_thumb.jpg'; listings[8]['beds'] = '3'; listings[8]['baths'] = '2'; listings[8]['price'] = '399,500'; listings[8]['caption'] = 'Stunning Whiskey Creek!'; listings[8]['copy'] = 'Designer touches everywhere. Atrium, remodeled kitchen, lap pool, private settin...'; listings[9] = new Object(); listings[9]['id'] = '256793'; listings[9]['photo'] = '256793-0_thumb.jpg'; listings[9]['beds'] = '3'; listings[9]['baths'] = '2'; listings[9]['price'] = '215,000'; listings[9]['caption'] = '5 Acre 3/2 Ranch'; listings[9]['copy'] = 'Horse country living close to the city. Great outdoor living with a house lengt...'; function PrintHome(id, beds, baths, price, thumb, caption, adcopy){ document.write('
| '); } document.write(' |