function writeFlash(swfFile,w,h,qryString)	{
	var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="' + w + '" height="' + h + '"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="' + swfFile + '' + qryString + '" /><param name="quality" value="high" />'
    + '<embed src="' + swfFile + '' + qryString + '" quality="high" '
    + 'width="' + w + '" height="' + h + '" name="detectiontest" aligh="middle"'
    + 'play="true"'
    + 'loop="true"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
	//qryString	= (qryString != "")	? "?flash=1" + qryString : "";
}

function writeFlashTrasp(swfFile,w,h,qryString)	{
	var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="' + w + '" height="' + h + '"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="' + swfFile + '' + qryString + '" /><param name="quality" value="high" />'
	+ '<param name="wmode" value="opaque" />'
    + '<embed src="' + swfFile + '' + qryString + '" quality="high" '
    + 'width="' + w + '" height="' + h + '" name="detectiontest" aligh="middle"'
    + 'play="true"'
    + 'loop="true"'
    + 'quality="high"'
	+ 'wmode="opaque"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
	//qryString	= (qryString != "")	? "?flash=1" + qryString : "";
}