movie="venu_main.swf"
movieWidth="100%"
movieHeight="485"
movieBackground="#E8E6DD"


// detect Flash
var MM_contentVersion = 8;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}



flash = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" '
flash += 'width="' + movieWidth + '" height="' + movieHeight + '" align=""> '
flash += '<param name="movie" value="' + movie + '">'
flash += '<param name="quality" value="high">'
flash += '<param name="bgcolor" value="' + movieBackground + '">'
flash += '<param name="scale" value="noscale">'

flash += '<embed src="' + movie + '" quality="high" bgcolor="' + movieBackground + '"  width="' + movieWidth + '" height="' + movieHeight + '" align=""  scale="noscale" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">'
flash += '</embed>'
flash += '</object>'




noflash = '<h1>Venu</h1>'
noflash += '<p>You need Flash 8 to view our site. <a href="http://www.macromedia.com/go/getflashplayer">Download Flash Player here.</a></p>	VENU Sales Centre<br>2660-22nd Street<br>Red Deer, Alberta T4R 0K8 <br><br>T/ 403.343.VENU  (8368)<br>F/ 403.343.8488<br>'




if (MM_FlashCanPlay || document.all)
	{
	document.write(flash)
	}
else 
	{
	document.write(noflash)
	}


