	// IDX Broker Slideshow version 2.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 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/194c400819532edfef3d88203b982077127O4901733" ></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('495,000','1356 CENTRE COURT RIDGE DR # D4','REUNION, FL 34747 ','http://photos-10.idxco.com/194c400819532edfef3d88203b982077127O4901733','O4901733','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4901733&idxID=194','3','3','\\\\\\&quot;SHORT SALE\\\\\\&quot; BRAND NEW 3 BED 3 BATH CONDO WI...');
	propertiesShortSale[1] = 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[2] = 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[3] = new Array('390,000','1300 SEVEN EAGLES CT # N-64','REUNION, FL 34747 ','http://photos-10.idxco.com/1942d80af9f00292a082ed508268b01797dS4645417','S4645417','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=S4645417&idxID=194','3','3','Short Sale! Owner motivated to make quick sale. End unit in ...');
	propertiesShortSale[4] = 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[5] = 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[6] = 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[7] = new Array('349,000','610 CELEBRATION AVE # 207','CELEBRATION, FL 34747 ','http://photos-10.idxco.com/1947830c9ffb20b267d8e89da84242d1322O4848081','O4848081','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4848081&idxID=194','3','2','\\\\\\&quot;Listing price may not be sufficient to cover all en...');
	propertiesShortSale[8] = 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[9] = 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[10] = 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[11] = new Array('329,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[12] = new Array('325,000','4575 S ATLANTIC AVE # 6502','PONCE INLET, FL 32127 ','http://photos-10.idxco.com/19470ac95fad01d039a7989a41017586e88G4654321','G4654321','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=G4654321&idxID=194','3','3','Short Sale THIS IS THE BEST PRICED THREE BEDROOM CONDOMINIUM...');
	propertiesShortSale[13] = new Array('315,000','1166 CHARMING ST # 46','MAITLAND, FL 32751 ','http://photos-10.idxco.com/194c4b2b6561d07f4302c02096d370b19daO4942234','O4942234','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4942234&idxID=194','4','3','Short Sale. Beautifully maintained, spacious 4 bed townhome,...');
	propertiesShortSale[14] = new Array('309,000','545 CAMPUS ST','CELEBRATION, FL 34747 ','http://photos-10.idxco.com/19465dc3a177974f1ee86a181c6b191e86dS4659997','S4659997','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=S4659997&idxID=194','4','3','SHORT SALE! BEAUTIFUL 3 STORY TOWNHOME LOCATED ACROSS FROM C...');
	propertiesShortSale[15] = new Array('299,900','4575 S ATLANTIC AVE # 6710','PONCE INLET, FL 32127 ','http://photos-10.idxco.com/194c59ab75a92daf4cf9300c11d6e29035dO4842897','O4842897','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4842897&idxID=194','2','2','Short Sale - Beautiful 2/2 Pent House (2 Masters). Shows lik...');
	propertiesShortSale[16] = new Array('299,770','4421 S ATLANTIC AVE # 40','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[17] = new Array('299,000','1263 GLENCREST DR','LAKE MARY, FL 32746 ','http://photos-10.idxco.com/194cb38d78c2658f767dd33572b53e3d68eO4929491','O4929491','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4929491&idxID=194','3','2','SHORT SALE ON A GREAT HOME. This 3br/2.5 ba townhome has har...');
	propertiesShortSale[18] = new Array('295,000','4831 SAXON DR # 102','NEW SMYRNA BEACH, FL 32169 ','http://photos-10.idxco.com/19413e672dce6e7a267712fc794e90ee53fO4892795','O4892795','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4892795&idxID=194','2','2','\\\\\\&quot;Short Sale\\\\\\&quot; approval of the seller\\\\\\\'s len...');
	propertiesShortSale[19] = 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[20] = 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[21] = new Array('290,000','561 CRUZ BAY CIR','WINTER SPRINGS, FL 32708 ','http://photos-10.idxco.com/1945bc4422f0756acf0f9610789c02e87ceT2370979','T2370979','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=T2370979&idxID=194','3','2','Beautiful TownHome in the Landings at Parkstone. ...');
	propertiesShortSale[22] = new Array('285,000','6584 ENGRAM RD # D-502','NEW SMYRNA BEACH, FL 32169 ','http://photos-10.idxco.com/19445625db24898131bdb4a5538ee87b53dO4908277','O4908277','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4908277&idxID=194','2','2','Short Sale. Penthouse unit with remarkable river and beach v...');
	propertiesShortSale[23] = new Array('279,900','233 QUAYSIDE CIR # 16','MAITLAND, FL 32751 ','http://photos-10.idxco.com/194d47425dcd127e1b245cf5616dbc9d9f6O4941360','O4941360','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4941360&idxID=194','3','2','SHORT SALE. PROPERTY WAS RE-PLUMBED IN 2007, FEATURES EXTENS...');
	propertiesShortSale[24] = new Array('275,000','8342 RIVERDALE LN','DAVENPORT, FL 33896 ','http://photos-10.idxco.com/1949b2ac09d2e71eceb85dab590cae38fc1O4927929','O4927929','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4927929&idxID=194','3','2','Short Sale Bella Trae is a Del Webb community \\\\\\&quot;A Res...');
	var urlVarShortSale;
	var preLoadShortSale = new Image();
	preLoadShortSale.src = propertiesShortSale[cShortSalewi][3];
	onLoad = playShortSale();
