	// 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 timeGeneralout = 6000;
	var cGeneralwi = 0;
	
	// iGeneralsf1.11 :: Image swap-fade 
	// *****************************************************
	// DOM scripting by brothercake -- http://www.brothercake.com/
	//******************************************************
	//global object
	var iGeneralsf = { 'clock' : null, 'fade' : true, 'count' : 1 }
	
	
	//swapGeneralfade setup function
	function swapGeneralfade()
	{
		//if the timer is not already going
		if(iGeneralsf.clock == null)
		{
			//copy the image object 
			iGeneralsf.obj = arguments[0];
			
			//copy the image src argument 
			iGeneralsf.src = arguments[1];
			
			//store the supported form of opacity
			if(typeof iGeneralsf.obj.style.opacity != 'undefined')
			{
				iGeneralsf.type = 'w3c';
			}
			else if(typeof iGeneralsf.obj.style.MozOpacity != 'undefined')
			{
				iGeneralsf.type = 'moz';
			}
			else if(typeof iGeneralsf.obj.style.KhtmlOpacity != 'undefined')
			{
				iGeneralsf.type = 'khtml';
			}
			else if(typeof iGeneralsf.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
				iGeneralsf.type = (iGeneralsf.obj.filters.length > 0 && typeof iGeneralsf.obj.filters.alpha == 'object' && typeof iGeneralsf.obj.filters.alpha.opacity == 'number') ? 'ie' : 'none';
			}
			else
			{
				iGeneralsf.type = 'none';
			}
			
			//change the image alt text if defined
			if(typeof arguments[3] != 'undefined' && arguments[3] != '')
			{
				iGeneralsf.obj.alt = arguments[3];
			}
			
			//if any kind of opacity is supported
			if(iGeneralsf.type != 'none')
			{
				//copy and convert fade duration argument 
				//the duration specifies the whole transition
				//but the swapGeneralfade is two distinct transitions
				iGeneralsf.length = parseInt(arguments[2], 10) * 500;
				
				//create fade resolution argument as 20 steps per transition
				//again, split for the two distrinct transitions
				iGeneralsf.resolution = parseInt(arguments[2], 10) * 10;
				
				//start the timer
				iGeneralsf.clock = setInterval('iGeneralsf.swapGeneralfade()', iGeneralsf.length/iGeneralsf.resolution);
			}
			
			//otherwise if opacity is not supported
			else
			{
				//just do the image swap
				iGeneralsf.obj.src = iGeneralsf.src;
			}
			
		}
	};
	
	
	//swapGeneralfade timer function
	iGeneralsf.swapGeneralfade = function()
	{
		//increase or reduce the counter on an exponential scale
		iGeneralsf.count = (iGeneralsf.fade) ? iGeneralsf.count * 0.9 : (iGeneralsf.count * (1/0.9)); 
		
		//if the counter has reached the bottom
		if(iGeneralsf.count < (1 / iGeneralsf.resolution))
		{
			//clear the timer
			clearInterval(iGeneralsf.clock);
			iGeneralsf.clock = null;
	
			//do the image swap
			iGeneralsf.obj.src = iGeneralsf.src;
	
			//reverse the fade direction flag
			iGeneralsf.fade = false;
			
			//restart the timer
			iGeneralsf.clock = setInterval('iGeneralsf.swapGeneralfade()', iGeneralsf.length/iGeneralsf.resolution);
	
		}
		
		//if the counter has reached the top
		if(iGeneralsf.count > (1 - (1 / iGeneralsf.resolution)))
		{
			//clear the timer
			clearInterval(iGeneralsf.clock);
			iGeneralsf.clock = null;
	
			//reset the fade direction flag
			iGeneralsf.fade = true;
			
			//reset the counter
			iGeneralsf.count = 1;
		}
	
		//set new opacity value on element
		//using whatever method is supported
		switch(iGeneralsf.type)
		{
			case 'ie' :
				iGeneralsf.obj.filters.alpha.opacity = iGeneralsf.count * 100;
				break;
				
			case 'khtml' :
				iGeneralsf.obj.style.KhtmlOpacity = iGeneralsf.count;
				break;
				
			case 'moz' : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iGeneralsf.obj.style.MozOpacity = (iGeneralsf.count == 1 ? 0.9999999 : iGeneralsf.count);
				break;
				
			default : 
				//restrict max opacity to prevent a visual popping effect in firefox
				iGeneralsf.obj.style.opacity = (iGeneralsf.count == 1 ? 0.9999999 : iGeneralsf.count);
		}
	};



	
	document.writeln('<style type="text/css" media="all">');
	document.writeln('a.IDX-General-ssLinkText, a.IDX-General-ssLinkText:active, a.IDX-General-ssLinkText:link, a.IDX-General-ssLinkText:visited, a.IDX-General-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-General-slideshow { text-align: center; width: 250px;  }');
	document.writeln('.IDX-General-image { width: 200px; height: 200px;  }');
	document.writeln('#IDX-General-slideshowImage span { text-align: center; }');
	document.writeln('</style>');
	var nextGeneral = 1;
	prevGeneral = 25 - 1;

	document.writeln('<div id="IDX-General-slideshow">');
	document.writeln('<div id="IDX-General-slideshowImage">');
	document.writeln('<span><a href="" id="IDX-General-ssImageURL" class="IDX-General-ssLinkText"><img id="IDX-General-ssImage" name="General-ssImage" alt="Slideshow image" border="0"  class="IDX-General-image" src="http://photos-10.idxco.com/194c0b8982475bfbd7283d8b8453a965fa8O4899461" ></a></span>');
	document.writeln('</div>');
	document.writeln('<div id="IDX-General-priceLine"></div>');
	document.writeln('<div id="IDX-General-addressLine"></div>');
	document.writeln('<div id="IDX-General-cszLine"></div>');
	document.writeln('<div id="IDX-General-bedLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-General-bathLine" style="display:none;"></div>');
	document.writeln('<div id="IDX-General-remarkLine" style="display:none;"></div>');
	
	document.writeln('</div>');

	function playGeneral()
	{
		
		
		urlVarGeneral = '<a href="'+propertiesGeneral[cGeneralwi][6]+'" class="IDX-General-ssLinkText">';
		swapGeneralfade(document.getElementById('IDX-General-ssImage'), preLoadGeneral.src, '1', ' ');
		document.getElementById('IDX-General-ssImageURL').href = propertiesGeneral[cGeneralwi][6];
		document.getElementById('IDX-General-priceLine').innerHTML = urlVarGeneral+'$'+propertiesGeneral[cGeneralwi][0]+'</a>';
		document.getElementById('IDX-General-addressLine').innerHTML =  urlVarGeneral+propertiesGeneral[cGeneralwi][1]+'</a>';
		document.getElementById('IDX-General-cszLine').innerHTML = urlVarGeneral+propertiesGeneral[cGeneralwi][2]+'</a>';
		document.getElementById('IDX-General-bedLine').innerHTML = urlVarGeneral+'Beds: '+propertiesGeneral[cGeneralwi][7]+'</a>';
		document.getElementById('IDX-General-bathLine').innerHTML = urlVarGeneral+'Baths: '+propertiesGeneral[cGeneralwi][8]+'</a>';
		document.getElementById('IDX-General-remarkLine').innerHTML = urlVarGeneral+propertiesGeneral[cGeneralwi][9]+'</a>';
		
		preLoadGeneral = new Image();
		preLoadGeneral.src = propertiesGeneral[nextGeneral][3];
		
		updateGeneral();
		
		cGeneral = setTimeout('playGeneral()', timeGeneralout);	
		
		
	} // end play()
	function updateGeneral()
	{		
		cGeneralwi = nextGeneral;		
		genNextGeneral();
		genPrevGeneral();
		
	}
	function genNextGeneral()
	{
		nextGeneral = cGeneralwi + 1;
		if (nextGeneral >= 25)
			nextGeneral = 0;
	} // end genNext
	function genPrevGeneral()
	{
		prevGeneral = cGeneralwi - 1;
		if (prevGeneral < 0)
			prevGeneral = 25 - 1;
	} // end genPrev

	var propertiesGeneral = new Array(25);
	propertiesGeneral[0] = new Array('4,900,000','300 S INTERLACHEN AVE # 604','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194c0b8982475bfbd7283d8b8453a965fa8O4899461','O4899461','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4899461&idxID=194','5','4','Lakeview Living! Everything you always wanted -nestled behin...');
	propertiesGeneral[1] = new Array('3,150,000','3714 S ATLANTIC AVE','NEW SMYRNA BEACH, FL 32169 ','http://photos-10.idxco.com/1942bd4abd04a0feff64dc6b4989958b006R4591418','R4591418','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=R4591418&idxID=194','2','4','Ocean views from almost every room! Three-story town home (1...');
	propertiesGeneral[2] = new Array('2,290,000','140 E MORSE BLVD # G','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194f635390b14dd19ad052567705ce82bfeO4933665','O4933665','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4933665&idxID=194','3','3','One of the most beautiful units in the Landmark with SEVEN w...');
	propertiesGeneral[3] = new Array('2,250,000','300 S INTERLACHEN AVE','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/1942efd0f6755ebc2ac58196ea21a3d22e2O4911997','O4911997','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4911997&idxID=194','4','4','EXCEPTIONAL PENTHOUSE WITH VIEWS OF LAKE VIRGINIA, LAKE OSCE...');
	propertiesGeneral[4] = new Array('1,995,000','315 E NEW ENGLAND AVE # 28','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194052b8e3a9707118cbab9854ada62fd1dO4909649','O4909649','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4909649&idxID=194','3','3','Owner financing! Arguably the most desirable unit in Villa S...');
	propertiesGeneral[5] = new Array('1,850,000','200 E CANTON','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194664267a6810a12c53710d3500c13e274O4901353','O4901353','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4901353&idxID=194','3','3','Discretely tucked away at the corner of Canton and Knowles A...');
	propertiesGeneral[6] = new Array('1,800,000','210 E CANTON AVE','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194b28874013e5f8fadf9117e3bd9adf49eO4932065','O4932065','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4932065&idxID=194','3','3',' DOWNTOWN WINTER PARK - walk to Park Avenue - One-of-a-kind ...');
	propertiesGeneral[7] = new Array('1,799,000','140 E MORSE BLVD # J','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/1944f89d0139be50d8030ebcc715ce7a6dbO4922888','O4922888','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4922888&idxID=194','3','3','Luxury downtown Winter Park living ~ gorgeous three bedroom,...');
	propertiesGeneral[8] = new Array('1,795,000','315 E NEW ENGLAND AVENUE # 27','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194052b8e3a9707118cbab9854ada62fd1dO4909615','O4909615','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4909615&idxID=194','3','3','Owner financing! This penthouse model exemplifies the comfor...');
	propertiesGeneral[9] = new Array('1,650,000','4621 S ATLANTIC AVE # 7101','PONCE INLET, FL 32127 ','http://photos-10.idxco.com/1946d50588bad117cc7c75773485159782bG4648060','G4648060','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=G4648060&idxID=194','5','4',' EXCEPTIONAL FIRST FLOOR DIRECT OCEANFRONT CONDOMINIUM WITH ...');
	propertiesGeneral[10] = new Array('1,604,750','140 E MORSE BLVD # D','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194660a07e861c227871f0b3085853ed3e7O4935403','O4935403','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4935403&idxID=194','2','3','Second floor condo in the luxury downtown condominium - The ...');
	propertiesGeneral[11] = new Array('1,600,000','6113 PAYNE STEWART DR','WINDERMERE, FL 34786 ','http://photos-10.idxco.com/1942ccb8b909b013242790bdde4583c0d80O4892483','O4892483','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4892483&idxID=194','3','3','Lease or purchase this spectacular lakefront setting! Within...');
	propertiesGeneral[12] = new Array('1,575,000','4071 S ATLANTIC AVE # 904','NEW SMYRNA BEACH, FL 32169 ','http://photos-10.idxco.com/19419c1ab680269fbd4abbe8d87b7ef7835V4617299','V4617299','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=V4617299&idxID=194','2','2','THIS IS THE CREAM OF THE CROP PENTHOUSE LEVEL DIRECT OCEANFR...');
	propertiesGeneral[13] = new Array('1,550,000','4071 S ATLANTIC AVE # 403','NEW SMYRNA BEACH, FL 32169 ','http://photos-10.idxco.com/194fee23a94a1739b0ca165beb113d49159O4825597','O4825597','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4825597&idxID=194','3','2','BEAULIFUL 3 BEDROOM 2.5 BATH CORNER UNIT, DIRECT OCEAN VIEW ...');
	propertiesGeneral[14] = new Array('1,526,175','140 E MORSE BLVD # H','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194f635390b14dd19ad052567705ce82bfeO4933578','O4933578','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4933578&idxID=194','3','3','You will love the warmth and grandeur of this architectural ...');
	propertiesGeneral[15] = new Array('1,500,605','140 E MORSE BLVD # B','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/1946273dcc754723260b4503d3316b6be58O4935370','O4935370','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4935370&idxID=194','2','3','First floor condo in the luxury downtown condominium - The L...');
	propertiesGeneral[16] = new Array('1,490,000','140 E MORSE BLVD # F','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194de6b025e70fba855bbd9f88d257d9458O4933465','O4933465','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4933465&idxID=194','3','3','Located just steps away from presitigous Park Avenue on hist...');
	propertiesGeneral[17] = new Array('1,475,000','315 E NEW ENGLAND AVENUE # 5','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194052b8e3a9707118cbab9854ada62fd1dO4909429','O4909429','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4909429&idxID=194','3','3','Owner financing! A spectacular floor plan makes this condomi...');
	propertiesGeneral[18] = new Array('1,450,000','300 S INTERLACHEN AVE # 603','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/19449988c97278da49b29ecda85d8f0f78aO4923333','O4923333','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4923333&idxID=194','3','3','Winter Park\\\\\\\'s distinguished upscale luxury condo ~ The Re...');
	propertiesGeneral[19] = new Array('1,399,000','300 S INTERLACHEN AVE # 504','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194fed99cb8f95c2f3cbb1f7a38f70f7a34O4883278','O4883278','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4883278&idxID=194','4','5','New Price Reduction for quick sale-Very favorable Seller fin...');
	propertiesGeneral[20] = new Array('1,395,000','300 S INTERLACHEN AVE # 402','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194df3aac3d5142fa54f33ae266e99f390eO4841213','O4841213','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4841213&idxID=194','3','3','Beautifully furnished and appointed, this upscale turnkey co...');
	propertiesGeneral[21] = new Array('1,349,000','140 E MORSE BLVD # L','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194a26997f15ee4400c60e35f9e29aa9f30O4890214','O4890214','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4890214&idxID=194','2','2','The Landmark offers in-town living at it\\\\\\\'s finest and a l...');
	propertiesGeneral[22] = new Array('1,349,000','140 E MORSE BLVD # C','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194a8cc561a184a76161e7072bf884c4b88O4926013','O4926013','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4926013&idxID=194','3','3','Elegant top quality corner unit, bright-open floor plan, spl...');
	propertiesGeneral[23] = new Array('1,308,000','315 E NEW ENGLAND AVE # 25','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194052b8e3a9707118cbab9854ada62fd1dO4909597','O4909597','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4909597&idxID=194','3','3','Owner financing! This exquisite home enjoys a private corner...');
	propertiesGeneral[24] = new Array('1,295,000','200 S INTERLACHEN AVE # 250','WINTER PARK, FL 32789 ','http://photos-10.idxco.com/194017fd8812e62415e6e0ec9354e8c369fO4896622','O4896622','194','http://www.greaterorlandohomes.idxco.com/idx/4348/details.php?listingID=O4896622&idxID=194','3','4',' Large open home, 3 large bedrooms and an office with a clos...');
	var urlVarGeneral;
	var preLoadGeneral = new Image();
	preLoadGeneral.src = propertiesGeneral[cGeneralwi][3];
	onLoad = playGeneral();
