function int_flash_vars(FImageWidth,FImageHeight,FFile,BPassThruURL,PList) {
FlashImageWidth = FImageWidth;
FlashImageHeight = FImageHeight;
FlashFile = FFile;
BookingEnginePassThruURL = BPassThruURL;
PromotionList = PList;
     
if (navigator.appVersion.indexOf("MSIE")!=-1)
         {
             var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + FlashImageWidth + '" height="' + FlashImageHeight + '" id="mainflash" align="middle" data="' + FlashFile + '">'
         }
         else
         {
             var oeTags = '<object  width="' + FlashImageWidth + '" height="' + FlashImageHeight + '" id="mainflash" align="middle" data="' + FlashFile + '">'
         }       
 
         oeTags = oeTags
         + '<param name="allowScriptAccess" value="sameDomain" />'
         + '<param name="FlashVars" value="POSTURL=' + BookingEnginePassThruURL + '&promoXMLLocal=' + PromotionList + '">'
         + '<param name="movie" value="' + FlashFile + '" />'
         + '<param name="quality" value="high" />'
         //+ '<param name="bgcolor" value="#dbd4c2" />'
         + '<embed src="' + FlashFile + '" quality="high" bgcolor="#ffffff" width="' + FlashImageWidth + '" height="' 
         + FlashImageHeight 
         + '" name="mainFlash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="POSTURL='
         + BookingEnginePassThruURL + '&promoXMLLocal=' + PromotionList + '">'
         + '</object>'
         document.write(oeTags);   // embed the flash movie
     
}

function load_flash_vars(FImageWidth,FImageHeight,FFile,BPassThruURL,PList,FImageAlt,FImage) {
FlashImageWidth = FImageWidth;
FlashImageHeight = FImageHeight;
FlashFile = FFile;
BookingEnginePassThruURL = BPassThruURL;
PromotionList = PList;
FlashImageAlt = FImageAlt;
FlashImage = FImage;

         if ( MM_FlashCanPlay ) 
         {
             //flash can play...write the object tag
             if (navigator.appVersion.indexOf("MSIE")!=-1)
             {
                 var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'
                               + FlashImageWidth + '" height="' + FlashImageHeight + '" id="mainflash" align="middle" data="' + FlashFile + '">'
             }
             else
             {
                 var oeTags = '<object  width="' + FlashImageWidth + '" height="' + FlashImageHeight + '" id="mainflash" align="middle" data="' + FlashFile + '">'
             }       
             oeTags = oeTags
                 + '<param name="allowScriptAccess" value="sameDomain" />'
                 + '<param name="FlashVars" value="POSTURL=' + BookingEnginePassThruURL + '&promoXMLLocal=' + PromotionList + '">'
                 + '<param name="movie" value="' + FlashFile + '" />'
                 + '<param name="quality" value="high" />'
                 //+ '<param name="bgcolor" value="#dbd4c2" />'
                 + '<embed src="' + FlashFile + '" quality="high" bgcolor="#ffffff" width="' + FlashImageWidth + '" height="' 
                 + FlashImageHeight + '" name="mainFlash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars"POSTURL=' 
                 + BookingEnginePassThruURL + '&promoXMLLocal=' + PromotionList + '"/>'
                 + '</object>'
             document.write(oeTags);   // embed the flash movie
         } 
         else
         {
             //flash cannot play...kick out alternate content
             document.write('<img src="' + FlashImage + '" alt="' + FlashImageAlt + '" width="' + FlashImageWidth + '" height="' + FlashImageHeight + '" border="0" usemap="#noflash" />');
         }
    }

