/*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="wmode" value="transparent">');
	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>');
}

    var objHiderN = '';

    // Funzione che rendere invisibile/visibile due oggetti
    function HiderSwitcher2(objVisibN) {
      var objHider = document.getElementById(objHiderN);
      var objVisib = document.getElementById(objVisibN);
      if (objVisib) {
        if (objHider == objVisib) {
          if (objHider.style.display == 'none') {
            objHider.style.display = 'inline';
          } else {
            objHider.style.display = 'none';
          }
        } else {
          if (objHider) {
            objHider.style.display = 'none';
          }
          objVisib.style.display = 'inline';
        }
		objHiderN = objVisibN;
      }
    }

