<!--
	/*
		General Flash Embedding Function, uses detection functions from Macromedia to show alternative content
		if the player is not installed or is really old. (less than 6.0.79.0 eek!)
		Pete B July 2006
		
		Notes:
		renderFlashObject('/flash/main.swf', 862, 389, '/images/blank.gif', false)
		Assumes alternative content image is same dimensions as flash object.
		
		Pass true as fifth parameter to insert link to download and install FP around alt content image
		
		Dependencies:
			/js/AC_OETags.js
	*/
	
	function renderFlashObject(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
			if (sAltImage != undefined)
			{
				if (sAltImage.length > 0)
				{
					var alternateContent = '<img src="' + sAltImage + '" border="0" alt="" width="' + iWidth + '" height="' + iHeight + '" />';
					if (bApplyDownloadLink)
					{
						alternateContent = '<a href="http://www.adobe.com/go/getflashplayer" target="_downloadFlash" title="Click here to download and install the Flash Player plugin to use our tool...">' + alternateContent + '</a>';
					}					
					document.write(alternateContent); 
				}
				else
				{
					var alternateContent = '<img src="/images/blank.gif" border="0" alt="" width="' + iWidth + '" height="' + iHeight + '" />';
					document.write(alternateContent);
				}
			} 
			else 
			{
				var alternateContent = '<img src="/images/blank.gif" border="0" alt="" width="' + iWidth + '" height="' + iHeight + '" />';
				document.write(alternateContent);
			}
		}
	}
	
	function renderFlashObject2(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Landlords</h1><p>We understand that letting your property, especially for the first time, can be a worrying experience and with this in mind our most important consideration is providing you , the Landlord , with the best possible service and the right tenant for your property. As part of our letting service, our Urban Life Consultants never lose sight that the property is your valuable asset and we can confidently assure you that by instructing Urban Living your asset will be in professional, caring and capable hands. </p></div></div>';		
			;
				document.write(alternateContent);
		}
	}
	
	function renderFlashObject3(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Interiors</h1><p>We will help you to furnish your apartment to the highest possible standards ensuring your property attracts the best possible tenants. Working together with our partners Elaine Cunningham Interiors we can help you to make the most of your investment. Offering affordable and complete property styling service for both commercial and residential clients.</p></div></div>';		
			;
				document.write(alternateContent);
		}
	}
	
	function renderFlashObject4(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Tenants</h1><p> At Urban Living Liverpool, our Urban Life Consultants are specifically trained and equipped to assist tenants to find properties to rent in Liverpool city centre - that means we\'ll go out of our way to find out as much about you as possible and exactly what you\'re looking for to enable us to find the apartment that suits you perfectly. We provide a unique, convenient and personal approach that is hard to beat. </p></div>';		
			;
				document.write(alternateContent);
		}
	}
	
	function renderFlashObject5(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Finance</h1><p>If you wish to discuss details regarding buying your dream home, re-mortgaging or your investment, then give us a call for an informal chat?. At Urban Living we can introduce you to Independent Mortgage Advisors who will be able to support you with your finances. These Advisors have access to the entire market, consequently, once your mortgage is approved, it is your independent decision who you proceed to buy from.</p></div></div>';		
			;
				document.write(alternateContent);
		}
	}
	
	function renderFlashObject6(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Legal</h1><p>Urban Living have teamed up with JST lawyers whose Conveyancing Team is here to guide and assist you with any conveyancing matters. JST have acted on behalf of many clients over the years and many have referred back to JST on subsequent transactions or recommended JST to family and friends. Whether you are an individual or a major lender, JST will advise upon: purchase, sale, buy to let and remortgage.</p></div></div>';		
			;
				document.write(alternateContent);
		}
	}
	
	function renderFlashObject7(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Approach</h1><p>We consider ourselves to be completely different in our approach. Our &lsquo;Urban Life Consultants&rsquo; are not just Estate Agents - We develop relationships in order to support and guide in all aspects of moving home, from choosing the perfect place, to being there on the moving day! We are a very young company with a highly talented and enthusiastic workforce. We believe that\'s what you and the city of Liverpool deserve.</p></div></div>';		
			;
				document.write(alternateContent);
		}
	}
	
	function renderFlashObject8(sSwfLocation, iWidth, iHeight, sAltImage, bApplyDownloadLink)
	{
		var _requiredMajorVersion = 7;
		// Minor version of Flash required
		var _requiredMinorVersion = 0;
		// Minor version of Flash required
		var _requiredRevision = 19;
		//alert('sSwfLocation');
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(_requiredMajorVersion, _requiredMinorVersion, _requiredRevision);
		
		// Check to see if the version meets the requirements for playback
		if (hasReqestedVersion) {
			// if we've detected an acceptable version
			// embed the Flash Content SWF when all tests are passed
			AC_FL_RunContent('width',iWidth,
							 'height',iHeight,
							 'wmode', 'transparent',
							 'allowScriptAccess','sameDomain',
							 'src', sSwfLocation, 
							 'quality','high',
							 'type', 'application/x-shockwave-flash',
							 'pluginspage','http://www.macromedia.com/go/getflashplayer',
							 'movie',sSwfLocation
			);
		} else {  // flash is too old or we can't detect the plugin
		
				var alternateContent = '<div class="bgimage"><div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="Urban Living Liverpool" width="162" height="54" border="0" /></a></div><div class="brownbox"><h1>Consultation</h1><p>Our Urban Life Consultants understand that you lead busy and full lives so we&rsquo;ll work around you. &ldquo;Liverpool&rsquo;s city centre is our office&rdquo; - We can arrange to meet you at a location of your choice, this can be at your city apartment, office or one of the many bars, restaurants or coffee houses throughout the city centre. Whichever you decide, our Consultants at Urban Living are very flexible.</p></div></div>';		
			;
				document.write(alternateContent);
		}
	}
	

//-->