	// 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 = 3000;
	var cwi = 0;
	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('a.IDX-ssLinkText, a.IDX-ssLinkText:active, a.IDX-ssLinkText:link, a.IDX-ssLinkText:visited, a.IDX-ssLinkText:hover { font-size: 15px; font-weight: bold; text-decoration: blink;  }');
	document.writeln('#IDX-slideshow { text-align: center; border-style: solid; width: 320px; height: 300px;  }');
	document.writeln('.IDX-image { width: 320px; height: 240px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 17 - 1;

	document.writeln('<div id="IDX-slideshow">');
	document.writeln('<div id="IDX-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-ssImageURL" class="IDX-ssLinkText"><img id="IDX-ssImage" name="ssImage" alt="Slideshow image" border="0"  class="IDX-image" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-priceLine"></div>');
	document.writeln('<div id="IDX-addressLine"></div>');
	document.writeln('<div id="IDX-cszLine"></div>');
	document.writeln('<div id="IDX-listingIdLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-bedsLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-bathsLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-remarksLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-courtesyLine" style="display:none;"></div>');

	document.writeln('</div>');

	function play()
	{
		urlVar = '<a href="'+properties[cwi][6]+'" class="IDX-ssLinkText">';
		document.images.ssImage.src = preLoad.src;
		document.getElementById('IDX-ssImageURL').href = properties[cwi][6];
		document.getElementById('IDX-priceLine').innerHTML = urlVar+'$'+properties[cwi][0]+'</a>';
		document.getElementById('IDX-addressLine').innerHTML =  urlVar+properties[cwi][1]+'</a>';
		document.getElementById('IDX-cszLine').innerHTML = urlVar+properties[cwi][2]+'</a>';
		document.getElementById('IDX-listingIdLine').innerHTML = urlVar+'Listing #'+properties[cwi][4]+'</a>';
		document.getElementById('IDX-bedsLine').innerHTML = urlVar+'Beds: '+properties[cwi][7]+'</a>';
		document.getElementById('IDX-bathsLine').innerHTML = urlVar+'Baths: '+properties[cwi][8]+'</a>';
		document.getElementById('IDX-remarksLine').innerHTML = urlVar+properties[cwi][9]+'</a>';
		document.getElementById('IDX-courtesyLine').innerHTML = urlVar+properties[cwi][10]+'</a>';
		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 >= 17)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 17 - 1;
	} // end genPrev

	var properties = new Array(18);
	properties[0] = new Array('598,000','760 Webster Road ','Hyde Park, VT 05655 ','http://photos-5.idxco.com/096d9c635130e52b525854876dbc4ca0ee34077375','4077375','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4077375&idxID=096','4','2','Vermont Log Cabin in the woods finished for finer tastes. Lo...','');
	properties[1] = new Array('545,000','313 Black Bear Run ','Stowe, VT 05672 ','http://photos-5.idxco.com/09649378389911570ea7a6fcacf686aabe94099062','4099062','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4099062&idxID=096','3','2','This home features Mountain Views, privacy, with rustic, Eur...','');
	properties[2] = new Array('495,000','399 Old Farm Road ','Stowe, VT 05672 ','http://photos-5.idxco.com/09603e74c0e1ea02afadfd3ca18f75f4f464119502','4119502','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4119502&idxID=096','4','2','Spacious home with many upgrades!View of Mt. Mansfield. Fe...','');
	properties[3] = new Array('395,000','5785 Mountain Road 17A ','Stowe, VT 05672 ','http://photos-5.idxco.com/09682027edb2ef6f8f575adda6c552b35344119810','4119810','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4119810&idxID=096','2','1','A Ski In/Ski Out Town home situated next to Toll Lift.Reno...','');
	properties[4] = new Array('395,000','Lot 6 North Hill Road ','Stowe, VT 05672 ','http://photos-5.idxco.com/096ccc1d8c073ec8bae12f1f7119b4e35094063441','4063441','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4063441&idxID=096','','','Incredible Views!Build your dream home on this elevated, e...','');
	properties[5] = new Array('365,000','5785 Mountain Road 1A ','Stowe, VT 05672 ','http://photos-5.idxco.com/0966c0713c220d69c00a29e28245586ef2a4030428','4030428','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4030428&idxID=096','2','1','End Unit with renovations including kitchen cabinets, applia...','');
	properties[6] = new Array('345,000','71 Dunham Lane ','Stowe, VT 05672 ','http://photos-5.idxco.com/096334dbb2d62e7c9be3ab3ed2c220de6ea4034018','4034018','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4034018&idxID=096','4','2','This spacious home is all about the Green Mountain, Mt. Mans...','');
	properties[7] = new Array('295,000','Saddle Lane ','Stowe, VT 05672 ','http://photos-5.idxco.com/09603811a36510bd5d7c322b1f59354b4fc4084465','4084465','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4084465&idxID=096','','','Enjoy 180 degree mountain views from this well located lot i...','');
	properties[8] = new Array('275,000','377 Mountain Road ','Stowe, VT 05672 ','http://photos-5.idxco.com/096b1cafd35d46a0f16ae083c7d199c6b4d4070380','4070380','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4070380&idxID=096','','','Duplex is currently zoned commercial office space MLS #40703...','');
	properties[9] = new Array('275,000','377 Mountain Road ','Stowe, VT 05672 ','http://photos-5.idxco.com/09629db7b6bb02e0d53553c77cb67ba83cd4058352','4058352','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4058352&idxID=096','','','Great opportunity to own commercial office space and residen...','');
	properties[10] = new Array('265,900','6047 Mountain Road 20 ','Stowe, VT 05672 ','http://photos-5.idxco.com/0969a01d655a821576ec896d3b65f17fe884089563','4089563','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4089563&idxID=096','2','2','Stowe Vacation property is furnished and ready to go.Enjoy...','');
	properties[11] = new Array('260,000','554 Golf Course Road ','Morristown, VT 05661 ','http://photos-5.idxco.com/096ad10bc1ffce76667e77fd44e726ec5024131431','4131431','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4131431&idxID=096','4','2','Lots of space in this 2002 home located just north of Stowe ...','');
	properties[12] = new Array('230,000','145A Sylvan Woods Drive 145-A ','Stowe, VT 05672 ','http://photos-5.idxco.com/096a2e123c0e02147fce3da4875ccdd2d804066095','4066095','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4066095&idxID=096','3','1','5-Star Plus energy rated 3 bedroom condominium located in a ...','');
	properties[13] = new Array('168,000','86 Westview Heights B-4 ','Stowe, VT 05672 ','http://photos-5.idxco.com/096f6aa556feed2a43ba81dc5990059170b4094952','4094952','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4094952&idxID=096','2','1','Stowe Townhome with great rental potential features magnific...','');
	properties[14] = new Array('160,000','1003 Cape Cod Road F ','Stowe, VT 05672 ','http://photos-5.idxco.com/09680b087e40be1d5ee1bbe4c6afd87065a4068893','4068893','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4068893&idxID=096','2','2','Easy Stowe Ownership, Well located 2 bedroom condo.Close t...','');
	properties[15] = new Array('140,000','1003 Cape Cod Road E ','Stowe, VT 05672 ','http://photos-5.idxco.com/0963504670b8e3ae2749a799b2c9bbcf4cc4065508','4065508','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4065508&idxID=096','2','2','Well Located Village Green 2 bedroom Townhouse.Fully Furni...','');
	properties[16] = new Array('115,000','155 Sallies Lane ','Stowe, VT 05672 ','http://photos-5.idxco.com/096046c3124dd68e178f7b62616c9f5ccb94079991','4079991','096','http://www.stoweusa.idxco.com/idx/4298/details.php?listingID=4079991&idxID=096','','','This Stowe 5.01 acre lot is nestled in the trees with babbli...','');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();

