/*function menu_averts(strName, intWidth, intHeight)
// v1.0
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,29,0" width="' + intWidth + '" height="' + intHeight + '">');
    document.write('<param name="movie" value="' + strName + '">');
    document.write('<param name="quality" value="high">');
	document.write('<param name="FlashVars" value="clip=adverts">');
    document.write('<embed src="' + strName + '" wmode=transparent quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" flashvars="clip=adverts" width="' + intWidth + '" height="' + intHeight + '"></embed>');
    document.write('</object>');
}
*/

function menu_averts(strName, intWidth, intHeight, strValue, strID)
// v1.0
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,29,0" width="' + intWidth + '" height="' + intHeight + '" id="' + strID + '">');
    document.write('<param name="movie" value="' + strName + '">');
    document.write('<param name="quality" value="high">');	
	document.write('<param name="FlashVars" value="' + strValue + '">');
    document.write('<embed src="' + strName + '" wmode=transparent quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" flashvars="' + strValue + '" width="' + intWidth + '" height="' + intHeight + '" name="' + strID + '"></embed>');
    document.write('</object>');
}

