function buildFlashString(goBrowser, urlLang, urlWrID, urlPwr, urlSkin, urlSub, urlPreFill)
{
    var stringToPutInBrowser = "";
    if(goBrowser)
    {
        stringToPutInBrowser = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
        stringToPutInBrowser += ' codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'
        stringToPutInBrowser +=  ' width="900"'
        stringToPutInBrowser +=  ' height="700"'
        stringToPutInBrowser +=  ' id="eventShopper"'
        stringToPutInBrowser +=  ' align="left">'
        stringToPutInBrowser +=  ' <param name="allowScriptAccess" value="sameDomain" />'
        stringToPutInBrowser +=  ' <param name="movie" value="eventShopper.swf?lang=' + urlLang + '&wr=' + urlWrID + '&pwr=' + urlPwr + '&skin=' + urlSkin + '&sub=' + urlSub + '&preFill=' + urlPreFill + '" />'
        stringToPutInBrowser +=  ' <param name="quality" value="high" />'
        stringToPutInBrowser +=  ' <param name="menu" value="false" />'
        stringToPutInBrowser +=  ' <param name="salign" value="lt" />'
        stringToPutInBrowser +=  ' <embed'
        stringToPutInBrowser +=  ' src = "eventShopper.swf?lang=' + urlLang + '&wr=' + urlWrID + '&pwr=' + urlPwr + '&skin=' + urlSkin + '&sub=' + urlSub + '&preFill=' + urlPreFill + '"'
        stringToPutInBrowser +=  ' quality="high"'
        stringToPutInBrowser +=  ' menu="false"'
        stringToPutInBrowser +=  ' salign="lt"'
        stringToPutInBrowser +=  ' width="900"'
        stringToPutInBrowser +=  ' height="700"'
        stringToPutInBrowser +=  ' name="eventShopper"'
        stringToPutInBrowser +=  ' allowScriptAccess="sameDomain"'
        stringToPutInBrowser +=  ' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">'
        stringToPutInBrowser +=  '<\/embed>'
        stringToPutInBrowser +=  '<\/object>';
    }
    else
    {
    	if(urlLang == "fr")
    	{
	        stringToPutInBrowser = '<table width="604" border="0" cellspacing="0" cellpadding="0" height="600" bgcolor="#FFFFFF">'
	        stringToPutInBrowser += '<tr height="200">'
	        stringToPutInBrowser += '<td class="sideBar" align="left" valign="top" width="60" height="200"><img src="mm_logo.gif" alt="" width="46" height="46" border="0"></td>'
	        stringToPutInBrowser += '<td valign="top" height="200">Cher client,<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += 'Cette page s&apos;affiche pour vous informer que le lecteur Macromedia Flash n&apos;est pas install&eacute; sur votre fureteur ou que la version que vous poss&eacute;dez n&apos;atteint pas les crit&egrave;res minimaux pour utiliser notre syst&egrave;me d&apos;achat de billets.<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += 'S&apos;il vous plait, cliquez sur le lien ci-bas pour obtenir la derni&egrave;re version du lecteur Flash de Macromedia. Le tout devrait prendre moins de 2 minutes &agrave; effectuer et la marche &agrave; suivre est tr&egrave;s simple et bien expliqu&eacute;e sur le site web de Macromedia.<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += 'Nous sommes d&eacute;sol&eacute;s des inconv&eacute;nients que cette situation peut vous causer.</td>'
	        stringToPutInBrowser += '</td>'
	        stringToPutInBrowser += '</tr>'
	        stringToPutInBrowser += '<tr valign="bottom" height="50">'
	        stringToPutInBrowser += '<td class="sideBar" align="left" valign="top" width="60"></td>'
	        stringToPutInBrowser += '<td valign="bottom"><a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Win32&P3_Browser_Version=MSIE&P5_Language=French&Lang=French"><img src="flash_logo_fr.gif" alt="" border="0"></a></td>'
	        stringToPutInBrowser += '</tr>'
	        stringToPutInBrowser += '<tr>'
	        stringToPutInBrowser += '<td class="sideBar" align="left" valign="top" width="60"></td>'
	        stringToPutInBrowser += '<td valign="top">Veuillez utiliser ce bouton pour obtenir la version la plus r&eacute;cente du lecteur Flash de Macromedia.</td>'
	        stringToPutInBrowser += '</tr>'
	        stringToPutInBrowser += '</table>';
    	}
	    else
	    {
	        stringToPutInBrowser = '<table width="604" border="0" cellspacing="0" cellpadding="0" height="600" bgcolor="#ffffff">'
	        stringToPutInBrowser += '<tr height="200">'
	        stringToPutInBrowser += '<td class="sideBar" align="left" valign="top" width="60" height="200"><img src="mm_logo.gif" alt="" width="46" height="46" border="0"></td>'
	        stringToPutInBrowser += '<td valign="top" height="200">Dear Customer,<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += 'The page currently displayed is meant to inform you that your browser does not have the Macromedia flash player installed or that the version installed does not meet the minimal requirements for running our ticket shopping application.<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += 'Please follow the link below to get the latest Flash Player from Macromedia in order to update your current plugin. The whole process takes less than 2 minutes in most cases and the procedure is quite simple and well demonstrated on the macromedia web site.<br>'
	        stringToPutInBrowser += '<br>'
	        stringToPutInBrowser += 'We apologize for  the inconvenience.</td>'
	        stringToPutInBrowser += '</tr>'
	        stringToPutInBrowser += '<tr valign="bottom" height="50">'
	        stringToPutInBrowser += '<td class="sideBar" align="left" valign="top" width="60"></td>'
	        stringToPutInBrowser += '<td valign="bottom"><a href="http://www.macromedia.com/go/getflash/"><img src="flash_logo.gif" alt="" border="0"></a></td>'
	        stringToPutInBrowser += '</tr>'
	        stringToPutInBrowser += '<tr>'
	        stringToPutInBrowser += '<td class="sideBar" align="left" valign="top" width="60"></td>'
	        stringToPutInBrowser += '<td valign="top">Use the above button to get the latest Macromedia Flash Player </td>'
	        stringToPutInBrowser += '</tr>'
	        stringToPutInBrowser += '</table>';
	    }
	    	
    }
    
    document.write(stringToPutInBrowser);   // embed the Flash Content SWF when all tests are passed
    
}

