
		<!-- 
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		
		
		function flashPlayerHTML( file, width, height, bgcolor, params, noscale )
		{
			dontscale_obj = "";
			dontscale_emb = "";
			if (params===undefined) { params = "" }
			if (noscale !== undefined) { dontscale_obj = '<param  name="scale"  value="noscale"  />'; dontscale_emb = ' scale="noscale" '; }
			HTMLStr = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
			HTMLStr += 'width="' + width + '" height="' + height + '" ';
			HTMLStr += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="flashplayer">';
			HTMLStr += '<param name="movie" value="' + file + '" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /><param name="wmode" value="transparent"><param name="swliveconnect" value="true" /><param name="AllowScriptAccess" value="always" />' + dontscale_obj;
			HTMLStr += '<param name="FlashVars" value="' + params + '">';
			if (bgcolor != "transparent")
			{
				HTMLStr	+= '<param name="bgcolor" value="' + bgcolor + '" />';
				HTMLStr	+= '<embed src="' + file + '" FlashVars="' + params + '" quality="high" bgcolor="' + bgcolor + '" width="' + width + '" height="' + height + '" wmode="transparent" name="detectiontest" align="middle" play="true" loop="false" quality="high" AllowScriptAccess="always" swliveconnect="true" allowFullScreen="true" ' + dontscale_emb + ' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed><\/object>';
			}
			else
			{
				HTMLStr	+= '<embed src="' + file + '" FlashVars="' + params + '" quality="high" width="' + width + '" height="' + height + '" wmode="transparent" name="detectiontest" align="middle" play="true" loop="false" quality="high" AllowScriptAccess="always" swliveconnect="true" allowFullScreen="true" ' + dontscale_emb + ' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed><\/object>';
			}
			return HTMLStr;	
		}

		function writeFlashPlayerHTML( element, file, width, height, bgcolor, params, noscale )
		{
			if (hasReqestedVersion) {  // if we've detected an acceptable version
				element.innerHTML = flashPlayerHTML( file, width, height, bgcolor, params, noscale );
				if (bgcolor == "transparent")
				{
					element.style.backgroundColor = "transparent";
					element.style.backgroundImage = "none";
				}
			}
			// flash is too old or we can't detect the plugin so the alternate content that exists in the element we're writing to stays
		}

		
		var vids = 0;
		function embedVideo(url, title, colour, width, height, age, image)
		{
			var flashVars = "vidURL=" + escape(url) + "&vidTitle=" + escape(title) + "&colour=" + colour;
			if (age != 0 ){ flashVars += "&age=" + age; }
			if (image!==undefined){ flashVars += "&image=" + image; }
			document.write('<div id="video' + vids + '"></div>');
			writeFlashPlayerHTML(document.getElementById('video' + vids),"flash/video-player-embeded.swf",width,height,"#000000", flashVars, 1);
			vids++;
		}
		function getLocation() { return location.href; }

// -->


