	// IDX Broker Slideshow version 1.0
	// Copyright ©2009 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 = 6000;
	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-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; font-style: italic; color: #E3EABE;  }');
	document.writeln('#IDX-slideshow { text-align: center; background-color: #000040; border-width: 8px; border-style: double; border-color: #81895A; width: 190px; height: 240px;  }');
	document.writeln('.IDX-image { width: 187px; height: 160px;  }');
	document.writeln('#IDX-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var next = 1;
	prev = 7 - 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-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>');

	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-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>';
		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 >= 7)
			next = 0;
	} // end genNext
	function genPrev()
	{
		prev = cwi - 1;
		if (prev < 0)
			prev = 7 - 1;
	} // end genPrev

	var properties = new Array(7);
	properties[0] = new Array('149,900','7B Polar Bear North ','Dover, VT 05356 ','http://photos-8.idxco.com/152a20d6fe9df02ca41413d32496a9576d52905690','2905690','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2905690&idxID=152','3','2','This 2 bedroom plus loft, 2 bath townhouse sits up on a knol...');
	properties[1] = new Array('279,000','23 SPRING COURT (M89) ','Wilmington, VT 05363 ','http://photos-8.idxco.com/1523175363bfcf8948a1fc70bc5779b51452905497','2905497','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2905497&idxID=152','3','3','Located on a level lot, this brand new 3BR/3.5 bath home in ...');
	properties[2] = new Array('339,000','48 Kingswood Road ','Dover, VT 05356 ','http://photos-8.idxco.com/152808e3b98d56879ce39bb27a6745770e12907640','2907640','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2907640&idxID=152','4','2','Beautiful 4 Bedroom, 2.5 Bath, home in the Kingswood Communi...');
	properties[3] = new Array('389,000','8 Bear Paw Right ','Dover, VT 05356 ','http://photos-8.idxco.com/15246a2de2a6720c679a05d2296bc5593dc2811290','2811290','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2811290&idxID=152','5','3','At the top of Bears Crossing this single family home offers ...');
	properties[4] = new Array('399,000','6074 Route 9 ','Woodford, VT 05201 ','http://photos-8.idxco.com/1528e4aa24f3e8bf788d5f06402edb993dd2810357','2810357','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2810357&idxID=152','','','Unique Commercial Opportunity includes the original 4 bedroo...');
	properties[5] = new Array('399,000','6074 Route 9 ','Woodford, VT 05201 ','http://photos-8.idxco.com/1524a7a50509dbad4803a0d69cba6a089412810359','2810359','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2810359&idxID=152','10','6','Two homes plus motel building offers endless possibilities f...');
	properties[6] = new Array('799,000','5 Wild Apple Lane ','Dover, VT 05356 ','http://photos-8.idxco.com/1523b5deba344be95816859dc459f113e282711219','2711219','152','http://www.gaszek.idxco.com/idx/3131/details.php?listingID=2711219&idxID=152','5','5','Three levels of luxurious living in this 4700 sq ft, 5 bedro...');
	var urlVar;
	var preLoad = new Image();
	preLoad.src = properties[cwi][3];
	onLoad = play();
