	// IDX Broker Slideshow version 2.0
	// Copyright ©2010 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 timeShortSaleout = 5000;
	var cShortSalewi = 0;
	
	// iShortSalesf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var iShortSalesf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapShortSalefade setup function
	function swapShortSalefade()
	{
		//if the timer is not already going
		if(iShortSalesf.clock == null)
		{
			//copy the image object 
			iShortSalesf.obj = arguments[0];
			
			//copy the image src argument 
			iShortSalesf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof iShortSalesf.obj.style.opacity != 'undefined')
			{
				iShortSalesf.type = 'w3c';
			}
			else if(typeof iShortSalesf.obj.style.MozOpacity != 'undefined')
			{
				iShortSalesf.type = 'moz';
			}
			else if(typeof iShortSalesf.obj.style.KhtmlOpacity != 'undefined')
			{
				iShortSalesf.type = 'khtml';
			}
			else if(typeof iShortSalesf.obj.filters == 'object')
			{
				//weed out win/ie5.0 by testing the length of the filters collection (where filters is an object with no data)
				//then weed out mac/ie5 by testing first the existence of the alpha object (to prevent errors in win/ie5.0)
				//then the returned value type, which should be a number, but in mac/ie5 is an empty string
				iShortSalesf.type = (iShortSalesf.obj.filters.length > 0 && typeof iShortSalesf.obj.filters.alpha == 'object' && typeof iShortSalesf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				iShortSalesf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				iShortSalesf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(iShortSalesf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapShortSalefade is two distinct transitions
				iShortSalesf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				iShortSalesf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				iShortSalesf.clock = setInterval('iShortSalesf.swapShortSalefade()', iShortSalesf.length/iShortSalesf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				iShortSalesf.obj.src = iShortSalesf.src;
			}
			
		}
	};
	
	
	//swapShortSalefade timer function
	iShortSalesf.swapShortSalefade = function()
	{
		//increase or reduce the counter on an exponential scale
		iShortSalesf.count = (iShortSalesf.fade) ? iShortSalesf.count * 0.9 : (iShortSalesf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(iShortSalesf.count < (1 / iShortSalesf.resolution))
		{
			//clear the timer
			clearInterval(iShortSalesf.clock);
			iShortSalesf.clock = null;
	
			//do the image swap
			iShortSalesf.obj.src = iShortSalesf.src;
	
			//reverse the fade direction flag
			iShortSalesf.fade = false;
			
			//restart the timer
			iShortSalesf.clock = setInterval('iShortSalesf.swapShortSalefade()', iShortSalesf.length/iShortSalesf.resolution);
	
		}
		
		//if the counter has reached the top
		if(iShortSalesf.count > (1 - (1 / iShortSalesf.resolution)))
		{
			//clear the timer
			clearInterval(iShortSalesf.clock);
			iShortSalesf.clock = null;
	
			//reset the fade direction flag
			iShortSalesf.fade = true;
			
			//reset the counter
			iShortSalesf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(iShortSalesf.type)
		{
			case 'ie' :
				iShortSalesf.obj.filters.alpha.opacity = iShortSalesf.count * 100;
				break;
				
			case 'khtml' :
				iShortSalesf.obj.style.KhtmlOpacity = iShortSalesf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iShortSalesf.obj.style.MozOpacity = (iShortSalesf.count == 1 ? 0.9999999 : iShortSalesf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iShortSalesf.obj.style.opacity = (iShortSalesf.count == 1 ? 0.9999999 : iShortSalesf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('a.IDX-ShortSale-ssLinkText, a.IDX-ShortSale-ssLinkText:active, a.IDX-ShortSale-ssLinkText:link, a.IDX-ShortSale-ssLinkText:visited, a.IDX-ShortSale-ssLinkText:hover { font-family: \"Courier New\", Courier, monospace; font-size: 12px; font-weight: bolder; font-style: italic; text-decoration: none; color: #601721;  }');
	document.writeln('#IDX-ShortSale-slideshow { text-align: center; width: 250px;  }');
	document.writeln('.IDX-ShortSale-image { width: 200px; height: 200px;  }');
	document.writeln('#IDX-ShortSale-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextShortSale = 1;
	prevShortSale = 25 - 1;

	document.writeln('<div id="IDX-ShortSale-slideshow">');
	document.writeln('<div id="IDX-ShortSale-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-ShortSale-ssImageURL" class="IDX-ShortSale-ssLinkText"><img id="IDX-ShortSale-ssImage" name="ShortSale-ssImage" alt="Slideshow image" border="0"  class="IDX-ShortSale-image" src="http://photos-10.idxco.com/194b492f8a4aab457b83e873fd12de440d0G4656880" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-ShortSale-priceLine"></div>');
	document.writeln('<div id="IDX-ShortSale-addressLine"></div>');
	document.writeln('<div id="IDX-ShortSale-cszLine"></div>');
	document.writeln('<div id="IDX-ShortSale-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-ShortSale-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-ShortSale-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playShortSale()
	{
		
		
		urlVarShortSale = '<a href="'+propertiesShortSale[cShortSalewi][6]+'" class="IDX-ShortSale-ssLinkText">';
		swapShortSalefade(document.getElementById('IDX-ShortSale-ssImage'), preLoadShortSale.src, '1', ' ');
		document.getElementById('IDX-ShortSale-ssImageURL').href = propertiesShortSale[cShortSalewi][6];
		document.getElementById('IDX-ShortSale-priceLine').innerHTML = urlVarShortSale+'$'+propertiesShortSale[cShortSalewi][0]+'</a>';
		document.getElementById('IDX-ShortSale-addressLine').innerHTML =  urlVarShortSale+propertiesShortSale[cShortSalewi][1]+'</a>';
		document.getElementById('IDX-ShortSale-cszLine').innerHTML = urlVarShortSale+propertiesShortSale[cShortSalewi][2]+'</a>';
		document.getElementById('IDX-ShortSale-bedLine').innerHTML = urlVarShortSale+'Beds: '+propertiesShortSale[cShortSalewi][7]+'</a>';
		document.getElementById('IDX-ShortSale-bathLine').innerHTML = urlVarShortSale+'Baths: '+propertiesShortSale[cShortSalewi][8]+'</a>';
		document.getElementById('IDX-ShortSale-remarkLine').innerHTML = urlVarShortSale+propertiesShortSale[cShortSalewi][9]+'</a>';
		
		preLoadShortSale = new Image();
		preLoadShortSale.src = propertiesShortSale[nextShortSale][3];
		
		updateShortSale();
		
		cShortSale = setTimeout('playShortSale()', timeShortSaleout);	
		
		
	} // end play()
	function updateShortSale()
	{		
		cShortSalewi = nextShortSale;		
		genNextShortSale();
		genPrevShortSale();
		
	}
	function genNextShortSale()
	{
		nextShortSale = cShortSalewi + 1;
		if (nextShortSale >= 25)
			nextShortSale = 0;
	} // end genNext
	function genPrevShortSale()
	{
		prevShortSale = cShortSalewi - 1;
		if (prevShortSale < 0)
			prevShortSale = 25 - 1;
	} // end genPrev

	var propertiesShortSale = new Array(25);
	propertiesShortSale[0] = new Array('690,000','2515 S ATLANTIC AVE # 1109','DAYTONA BEACH SHORES, FL 32118 ','http://photos-10.idxco.com/194b492f8a4aab457b83e873fd12de440d0G4656880','G4656880','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=G4656880&idxID=194','3','3','Short Sale. All offers are subject to 3rd party approval. Pl...');
	propertiesShortSale[1] = new Array('599,900','2855 S ATLANTIC AVE # 403','DAYTONA BEACH SHORES, FL 32118 ','http://photos-10.idxco.com/194454ba9529e447df7202c8ad735fe90f3V4622551','V4622551','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=V4622551&idxID=194','3','3','Short Sale ...');
	propertiesShortSale[2] = new Array('599,000','1470 MASTERS BLVD # 207','CHAMPIONS GATE, FL 33896 ','http://photos-10.idxco.com/1942686f41c44c17a3b961e1ea96b8894bbO4948150','O4948150','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4948150&idxID=194','2','2','Gorgeous, furnished condo, golf view, option to be in a prof...');
	propertiesShortSale[3] = new Array('494,900','4626 HARBOUR VILLAGE BLVD # 3201','PONCE INLET, FL 32127 ','http://photos-10.idxco.com/194e5d70a7ab58b523ae999007b74b383eeG4644168','G4644168','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=G4644168&idxID=194','3','3','\\\\\\&quot;Short Sale; \\\\\\&quot;What a wonderful way to invest...');
	propertiesShortSale[4] = new Array('400,000','7616 CABANA CT # 301','REUNION, FL 34747 ','http://photos-10.idxco.com/194025dd55926b62327cedd73860885890dO4953344','O4953344','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4953344&idxID=194','3','3',' ...');
	propertiesShortSale[5] = new Array('399,900','3799 SO. ATLANTIC AVENUE # 802','DAYTONA BEACH SHORES, FL 32118 ','http://photos-10.idxco.com/1949e216c968bd64b04a7c3749f76733a9cO4935061','O4935061','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4935061&idxID=194','3','3','SHORT SALE. UNBELIEVABLE DEAL!!! BANK APPROVED. BANK SAID SE...');
	propertiesShortSale[6] = new Array('399,000','1276 S PENNSYLVANIA AVE # 12','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/19403d2e4c9b4a7190ac527d10f8224d925O4957709','O4957709','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4957709&idxID=194','3','2','Listing price may not be sufficient to pay the total of all ...');
	propertiesShortSale[7] = new Array('395,000','7526 SEVEN EAGLES WAY','REUNION, FL 34747 ','http://photos-10.idxco.com/1949dc3b11f3cd4544b14f8686ef076a2c7O4958907','O4958907','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4958907&idxID=194','3','3','Pre-foreclosure, short sale offering. Listing price may not ...');
	propertiesShortSale[8] = new Array('375,000','1925 S ATLANTIC AVE # 203','DAYTONA BEACH SHORES, FL 32118 ','http://photos-10.idxco.com/1940123fb8daf492c1c1e9b19612e1e1486O4924978','O4924978','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4924978&idxID=194','2','2','Short Sale. Luxury Lifestyle of a 5-star resort located in t...');
	propertiesShortSale[9] = new Array('365,000','7593 GATHERING DR # 707','KISSIMMEE, FL 34747 ','http://photos-10.idxco.com/1949595066f451dc50f7aba14d4c402a439O4957141','O4957141','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4957141&idxID=194','2','2','Short Sale; approval of the seller\\\\\\\'s lenders(s) may be re...');
	propertiesShortSale[10] = new Array('364,000','762 CELEBRATION AVE. # #101','CELEBRATION, FL 34747 ','http://photos-10.idxco.com/194d408395f9563caa7ce7da09d6aa38549R4592073','R4592073','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=R4592073&idxID=194','1','2',' ...');
	propertiesShortSale[11] = new Array('359,000','4811 SAXON DR # B401','NEW SMYRNA BEACH, FL 32169 ','http://photos-10.idxco.com/194053cf1be8b514899859caa4bfe32c030O4925630','O4925630','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4925630&idxID=194','3','2','SHORT SALE (POSSIBLE); CONTRACT MAY BE SUBJECT TO APPROVAL B...');
	propertiesShortSale[12] = new Array('349,900','917 GREENLAWN ST','CELEBRATION, FL 34747 ','http://photos-10.idxco.com/1948ab643c33dfc3493e983f5038a9c6258S4664183','S4664183','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=S4664183&idxID=194','3','2','Short Sale; contract must be accepted by 3rd party. Listing ...');
	propertiesShortSale[13] = new Array('349,000','784 S PENNSYLVANIA AVE # 3','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194e3c5352dceb58f76846a0c6810a9ecf8O4933130','O4933130','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4933130&idxID=194','3','2','Short Sale. Private Winter Park townhouse tucked back off Pe...');
	propertiesShortSale[14] = new Array('349,000','4650 LINKS VILLAGE DR # 704','PONCE INLET, FL 32127 ','http://photos-10.idxco.com/19409a570fd8bcd0bee3ce0e4882c310ca1O4953031','O4953031','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4953031&idxID=194','3','3','short sale. one of a kind...ocean view from every room.....t...');
	propertiesShortSale[15] = new Array('339,900','2937 S ATLANTIC AVE # 1701','DAYTONA BEACH SHORES, FL 32118 ','http://photos-10.idxco.com/194b99d904b5a3963c50b521533acf54cbfG4654269','G4654269','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=G4654269&idxID=194','3','2',' Short Sale.Broker to be obligated to accept a reduced commi...');
	propertiesShortSale[16] = new Array('339,000','591 CAMPUS ST # 591','KISSIMMEE, FL 34747 ','http://photos-10.idxco.com/194aaa1c9c78eb9a6fdb1afc3a9b9573cfcO4931340','O4931340','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4931340&idxID=194','3','2','Short Sale. Make yourself at home in downtown Celebration! T...');
	propertiesShortSale[17] = new Array('299,900','424 LUNA BELLA LN # 410','NEW SMYRNA BEACH, FL 32168 ','http://photos-10.idxco.com/19454c33020786e1c586499efff0683678eV4624602','V4624602','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=V4624602&idxID=194','3','3','Short Sale:  Beautiful lake view end unit condo in the Venet...');
	propertiesShortSale[18] = new Array('299,770','4421 S ATLANTIC AVE # A4','PONCE INLET, FL 32127 ','http://photos-10.idxco.com/194c1d9f37f815abd6ed04a846485204f21O4927780','O4927780','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4927780&idxID=194','3','2','Short Sale.WOW! Reduced $200K! The most beautiful townhouse ...');
	propertiesShortSale[19] = new Array('299,000','2828 N ATLANTIC AVE # 1504','DAYTONA BEACH, FL 32118 ','http://photos-10.idxco.com/194a4819c8c17dc73cd4644ad4e6c358b1fV4623000','V4623000','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=V4623000&idxID=194','2','2','THIS CONDO IS NOTHING SHORT OF SPECTACULAR! SELLER. GRANITE ...');
	propertiesShortSale[20] = new Array('299,000','8387 RIVERDALE LN','DAVENPORT, FL 33896 ','http://photos-10.idxco.com/1947edf48b3e9c219e168d07d6e9976168eO4929876','O4929876','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4929876&idxID=194','3','2','SHORT SALE - sale price may be insufficient to pay the total...');
	propertiesShortSale[21] = new Array('295,000','7504 SEVEN EAGLES WAY','REUNION, FL 34747 ','http://photos-10.idxco.com/19422de9c59b4b6008eb57424d117591547O4934891','O4934891','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4934891&idxID=194','3','3','Short Sale - Furnished two shorty 3BR/3BA, 2124 SF townhome ...');
	propertiesShortSale[22] = new Array('295,000','7593 GATHERING DR # 507','KISSIMMEE, FL 34747 ','http://photos-10.idxco.com/194441e67bb81df56eaac034486a9872789O4944640','O4944640','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4944640&idxID=194','2','2','\\\\\\&quot;Short Sale; approval of the seller\\\\\\\'s lenders(s) ...');
	propertiesShortSale[23] = new Array('290,000','7593 GATHERING DR # 607','KISSIMMEE, FL 34747 ','http://photos-10.idxco.com/1949595066f451dc50f7aba14d4c402a439O4957139','O4957139','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4957139&idxID=194','2','2','\\\\\\&quot;Short Sale; approval of the seller\\\\\\\'s lenders(s) ...');
	propertiesShortSale[24] = new Array('275,000','605 MARKET ST # 240','CELEBRATION, FL 34747 ','http://photos-10.idxco.com/194bc41032ddd483f18a1e18174d9a49b09O4925997','O4925997','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4925997&idxID=194','2','2','Short Sale. Exciting location in downtown Celebration with v...');
	var urlVarShortSale;
	var preLoadShortSale = new Image();
	preLoadShortSale.src = propertiesShortSale[cShortSalewi][3];
	onLoad = playShortSale();
