NewImg = new Array ('http://photos.sierrainteractivemls.com/3/mlspics/3_1279145_0310000.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1279202_0185000.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1271358_0000000.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1282468.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1282635.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1273502_0078750.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1277653_0225000.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1280519_0337500.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1267315_0286250.jpg','http://photos.sierrainteractivemls.com/3/mlspics/3_1276907_0038750.jpg');
NewCap = new Array ('$154,000
Bedrooms: 3 / Baths: 2
Square Feet: 1700
Fantastic Updated 3 Bedroom, 2 Bath Brick Ranch located in Hikes Point. Stepping into the Home, Youll Adore the Abundance of Natural Light and ...
View Details','$850,000
Bedrooms: 3 / Baths: 4
Square Feet: 6702
This is arguably the FINEST residence in ALIA, a free-standing home located on a lot and a half, tucked in the secluded back corner of the ...
View Details','$154,900
Bedrooms: 3 / Baths: 3
Square Feet: 2266
A sparkling gem with great features-spacious living room, eat in kitchen, updated flooring, plenty of cabinets, open to family room with sliding ...
View Details','$419,000
Bedrooms: 5 / Baths: 5
Square Feet: 4239
Classic Cape Cod Walkout on approx. 1.4 acres of serenity. Custom built (with care), one owner home. The curb appeal is charming and classic. There ...
View Details','$199,900
Bedrooms: 2 / Baths: 4
Square Feet: 2877
This condo is the jewel of Harrods Landing-so many improvements and upgrades-hardwood floors-1st floor office or den, totally new eat in kitchen, ...
View Details','$200,000
Bedrooms: 2 / Baths: 1
Square Feet: 1300
Nicely renovated house that is exceptionally clean, exceptionally bright, and in move-in condition. The attractive wood floors are refinished with ...
View Details','$129,000
Bedrooms: 2 / Baths: 2
Square Feet: 1141
Amazing unit-mint condition-open floor plan-large fully equipped kitchen, all white appliances, 1st level laundry, sunroom off kitchen, exit to ...
View Details','$179,900
Bedrooms: 4 / Baths: 2
Square Feet: 2955
Sold as is, needs work. Subject to Sellers Addendum. Qualified buyers only. Buyer to pay Seller a doc. fee of $75. All offers must include certified ...
View Details','$94,900
Bedrooms: 2 / Baths: 1
Square Feet: 714
What a gem! Newly painted-beautiful-great kitchen with all appliances plus new refrigerator, hardwood floor, atrium door to covered patio and ...
View Details','$107,000
Bedrooms: 3 / Baths: 2
Square Feet: 1225
Young extremely nice ranch home with open floor plan, all tiled baths, large kitchen, loads of cabinets and all appliances, many closets, all ...
View Details');
var preLoad = new Array()
for (i = 0; i < NewImg.length; i++)
{
preLoad[i] = new Image()
preLoad[i].src = NewImg[i]
}
/* Slideshow Functions */
var ImgNum = 0;
var ImgLength = preLoad.length - 1;
var delay = 7000; //Time delay between Slides in milliseconds
var tmpDelay = 10000; // temp delay when user clicks on a photo
var lock = false;
var run;
var autoPlay = false;
var iPlayed = 0;
function chgImg(direction)
{
var oSlideshowPic = document.getElementById('slideshow')
var oSlideshowCap = document.getElementById('slideshowCap')
if (iPlayed > 10)
{
lock = false;
autoPlay = false;
window.clearInterval(run);
}
else
{
if (document.images)
{
ImgNum = ImgNum + direction;
if (ImgNum > ImgLength)
{
ImgNum = 0;
iPlayed = iPlayed + 1
}
if (ImgNum < 0)
{
ImgNum = ImgLength;
}
if (document.all)
{
oSlideshowPic.style.filter = "blendTrans(duration=2)"
oSlideshowPic.style.filter = "blendTrans(duration=crossFadeDuration)"
oSlideshowPic.filters.blendTrans.Apply()
oSlideshowCap.style.filter = "blendTrans(duration=2)"
oSlideshowCap.style.filter = "blendTrans(duration=crossFadeDuration)"
oSlideshowCap.filters.blendTrans.Apply()
}
oSlideshowPic.src = preLoad[ImgNum].src;
oSlideshowCap.innerHTML = NewCap[ImgNum];
if (document.all)
{
oSlideshowPic.filters.blendTrans.Play()
oSlideshowCap.filters.blendTrans.Play()
}
}
}
}
function auto()
{
if (lock == true)
{
lock = false;
autoPlay = false;
window.clearInterval(run);
run = setInterval("auto()", tmpDelay);
}
else if (lock == false)
{
lock = true;
autoPlay = true;
run = setInterval("chgImg(1)", delay);
}
}
function showPicture(whichDir)
{
var oSlideshowPic = document.getElementById('slideshow')
var oSlideshowCap = document.getElementById('slideshowCap')
lock = false;
autoPlay = false;
window.clearInterval(run);
if (whichDir == '+')
{
if (ImgNum == ImgLength)
{
ImgNum = 0
}
else
{
ImgNum = ImgNum + 1
}
}
else
{
if (ImgNum == 0)
{
ImgNum = ImgLength
}
else
{
ImgNum = ImgNum - 1
}
}
if (autoPlay == true) {auto()}
if (document.all)
{
oSlideshowPic.style.filter = "blendTrans(duration=2)"
oSlideshowPic.style.filter = "blendTrans(duration=crossFadeDuration)"
oSlideshowPic.filters.blendTrans.Apply()
oSlideshowCap.filter = "blendTrans(duration=2)"
oSlideshowCap.style.filter = "blendTrans(duration=crossFadeDuration)"
oSlideshowCap.filters.blendTrans.Apply()
}
oSlideshowPic.src = preLoad[ImgNum].src;
oSlideshowCap.innerHTML = NewCap[ImgNum];
if (document.all)
{
oSlideshowPic.filters.blendTrans.Play()
oSlideshowCap.filters.blendTrans.Play()
}
}
auto();
/*Output HTML - Escape any double quotes used */
document.write("