function MM(theURL,r)
{       
myWin = window.open("","",r+'scrollbar=no');
myWin.document.open();
myWin.document.write('<html>');
myWin.document.write('<body leftmargin=0 topmargin=0 onload="window.focus();">');
myWin.document.write('<center><img src=' + theURL + ' '+ r+' border=0></center>');
myWin.document.write('</body>');
myWin.document.write('</html>');
myWin.document.close();
}

ie = (document.getElementById)? true : false;
nn4 = (document.layers)? true : false;
ie4 = (!ie && document.all)? true : false;
var start = 0;  
var activmenu = 1;
var tim;
function showmenu(n)
{var n1, n2;
if(n == 1){n1='m1'; n2='almen';} 
else {n1='m2'; n2='almen';} 
;
if(n == 3){n1='m3'; n2='almen';} 
if(n == 4){n1='m4'; n2='almen';} 
;
if (ie) {document.getElementById(n1).style.visibility = "visible";
 document.getElementById(n2).style.visibility = "visible";};
 else if (ie4) {document.all[n1].style.visibility = "visible";
 document.all[n2].style.visibility = "visible";}
 else if (nn4) {document.layers[n1].visibility = "show"; 
 document.layers[n2].visibility = "show";};  
 activmenu = n;
}
function hidemenu()
{var n1, n2;
if(activmenu == 1)  {n1='m1'; n2='almen';}
 else {n1='m2'; n2='almen';};
if(activmenu == 3)  {n1='m3'; n2='almen';}
if(activmenu == 4)  {n1='m4'; n2='almen';}
;
if (ie) {document.getElementById(n1).style.visibility = "hidden";
 document.getElementById(n2).style.visibility = "hidden";}  
 else if (ie4) {document.all[n1].style.visibility = "hidden";
 document.all[n2].style.visibility = "hidden";}
 else if (nn4) {document.layers[n1].visibility = "hide";
 document.layers[n2].visibility = "hide";};
 activmenu = 0;
}
function changeIm(n) {
}
function activ(n)
{if (n != activmenu) hidemenu();  showmenu(n); }
function timeactiv()
{if (activmenu != 0) tim=setTimeout('hidemenu()','300');}
function time_sbros()
{if (start != 0) {clearTimeout(tim);} else start = 1;}
