
function MenuMouseOver()
{
  if(ppmTI){clearTimeout(ppmTI);ppmTI=false;}
}


function MenuMouseOut()
{
  ppmTI=setTimeout('hideMenu()',500);
}

if (ppmIE) 
{
 document.writeln("<div id=\"PopUpMenu\" style=\"position:absolute; left:0px; top:0px; z-index:100; width:200px; height:400px; overflow: visible; visibility: hidden; background-color: #FFFFFF; border: 1px none #000000\" onMouseOver=\"javascript:MenuMouseOver();\" onMouseOut=\"javascript:MenuMouseOut();\">");
 document.writeln("<iframe src='empty.html' name=PopUpMenuFrame id=PopUpMenuFrame style=\"position:absolute; left:0px; top:0px; z-index:100; width:200px; height:400px; scrolling:no; overflow: visible; visibility: inherit;\"></iframe>");
}
else if (ppmNN) 
{
 document.writeln("<layer id=\"PopUpMenu\" pagex=\"0\" pagey=\"0\" width=\"200\" height=\"400\" z-index=\"100\" visibility=\"hide\" bgcolor=\"#FFFFFF\" onMouseOver=\"javascript:MenuMouseOver();\" onMouseOut=\"javascript:MenuMouseOut();\" style=\"\">");
}
else 
{
    var addTo=document.body;
    var f=document.createElement("DIV");
    f.setAttribute("id",'PopUpMenu');
    f.setAttribute("name",'PopUpMenu');
    f.setAttribute("onMouseOver","javascript:MenuMouseOver();");
    f.setAttribute("onMouseOut","javascript:MenuMouseOut();");
    f.setAttribute("style","");
    f.id='PopUpMenu';
    f.innerHTML="PopUpMenu";
    addTo.appendChild(f);

// document.writeln("<p><font color=\"#FF0000\"><b>Error ! The current browser is either too old or too modern (usind DOM document structure).</b></font></p>");
}



if (ppmIE) 
{
 document.writeln(" PopUpMenu ");
 document.writeln("</div>");
}
else if (ppmNN) 
{
 document.writeln(" PopUpMenu ");
 document.writeln("</layer>");
}
else 
{
 /*NOP*/
}

