	
/*Flash*/



   var alternateContentPOC = '';



   if(typeof dontDetectFlash == 'undefined') dontDetectFlash = false;
   if(!dontDetectFlash){
   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');
   }
   }


 function getFlash(width, height, file, loop, alternate, classid, link, idcont, alternateContent,aFlashVars){

 aFlashVars = aFlashVars || "";
// alert(aFlashVars);
 var fleshCont =  document.getElementById(idcont);
if (MM_FlashCanPlay)
   {
  var curProtocol = "http:";
  if (null != top.location.protocol && top.location.protocol=='https:')
   {
  curProtocol = "https:";
  }
   var oeTags = '<OBJECT CLASSID="' + classid + '"'
   + 'WIDTH="' + width + '" HEIGHT="' + height + '"'
   + 'CODEBASE="' + curProtocol + '//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">'
   + '<PARAM NAME="MOVIE" VALUE="' + file + '">'
   + '<PARAM NAME="PLAY" VALUE="true">'
   + '<PARAM NAME="LOOP" VALUE="' + loop + '">'
   + '<PARAM NAME="QUALITY" VALUE="high">'
   + '<param name="wmode" value="transparent" >'
   + '<param name="FlashVars" value="'+aFlashVars+'" >'
   + '<PARAM NAME="MENU" VALUE="false">'
   + '<EMBED SRC="' + file + '"'
   + 'WIDTH="' + width + '" HEIGHT="' + height + '"'
   + 'PLAY="true"'
   + 'LOOP="' + loop + '"'
   + 'QUALITY="high"'
   + 'MENU="false"'
   + 'wmode="transparent"'
  + 'swLiveConnect="true"'
  + 'allowScriptAccess="sameDomain"'

   + 'TYPE="application/x-shockwave-flash"'
   + 'FlashVars="'+aFlashVars+'"'
   + 'PLUGINSPAGE="' + curProtocol + '//www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
   + '</EMBED>'
   + '</OBJECT>';
/*document.write(oeTags);      */
 fleshCont.innerHTML = oeTags ;


   } else {

 if (alternateContent==1){ fleshCont.innerHTML =  alternateContentPOC;}

  }
   }




