// FLASH DETECT FUNCTION |||||||||||||||||||||||||||||||
<!-- Begin
	function loadflash(filename){
		var MM_contentVersion = 6;
		var flashoutput='';
			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)) {
				flashoutput=flashoutput+'<scr' + 'ipt language=VBScript\> \n';
				flashoutput=flashoutput+'on error resume next \n';
				flashoutput=flashoutput+'MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n';
				flashoutput=flashoutput+'</scr' + 'ipt\> \n';
			}
			if (MM_FlashCanPlay) {

				flashoutput=flashoutput+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="763" height="258"><param name="movie" value="sybaris_homepage8.swf'+filename+'" /><param name="quality" value="high" /><embed src="sybaris_homepage8.swf'+filename+'" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="763" height="258"></embed></object>';
			}else{
				flashoutput=flashoutput+'<img src="http://thesterlinggroup.org/clients/sybaris/new/slideshow/default/01.jpg">';
			}

		document.getElementById('flashload').innerHTML=flashoutput;

		}
		
//-->

