/****************************************************************
		NEWS CYCLE 
	*****************************************************************/
	
		$(function() {
		
		    $('#latest_news').cycle({
				fx:     'fade', 
				speed:  'slow', 
				timeout: 0, 
				next:   '.next1', 
				prev:   '.prev1'
		    });
		    $('#land_sales').cycle({
				fx:     'fade', 
				speed:  'slow', 
				timeout: 0, 
				next:   '.next2', 
				prev:   '.prev2'
		    });
		
		});
		
	/****************************************************************
		SWFOBJECT IMPORT
	*****************************************************************/
		//Random number for swf file each time the page refreshes [for flash cache issue].
		var randomnumber = Math.floor(Math.random()*99999);
		
		var flashvars = { // These are variables which are passed to the Flash document - they have to be already defined in the SWF
		};
		var params = { // Parameters for display
		  menu: "false",
		  wmode: "transparent" // a common request to make the 
		};
		var attributes = {
		};
		// 1 - Name of file to load, 2 - ID of DIV to replace with SWF, 3 - width, 4 - height, 5 - Minimum Flash version, 6 - Express Install (if not using then place false), 7-9 - sends the arrays
		swfobject.embedSWF("resources/swf/flash_banner.swf?bannerWidth=966&bannerHeight=280&imagesFilePath=/resources/xml/images.xml&cssFilePath=/resources/css/styles.css&r="+randomnumber, "flash_banner", "966", "280", "9.0.0","expressInstall.swf", flashvars, params, attributes);

