function MakeMenu(Hide) {
   var ic ="";
   var bo = "";
   var sty="";

   j = Menu.length - 1;
   document.write('<table border=0 width=160 cellspacing=0 cellpadding=0>');
   for( var i = 0; i <=j; i++) {
   document.write('<tr><td width=32 align=right class=txt valign=top>');
   sty="";
   if (Menu[i].url == "0") {plapa="p_lapa2.gif";psad="p_sad2.gif";}
   else {plapa="p_lapa1.gif";psad="p_sad1.gif";}   
      switch(Menu[i].ico){
         case (2):
            ic='<img border=0 src="../images/'+psad+'"></td><td width=128 class=txt><b>';
			bo='</b></td></tr>';
			sty=' style="text-decoration: none;"';		
            break;
         case (3):
            ic='<img border=0 src="../images/'+plapa+'"></td><td width=128 class=txt>';
			bo='</td></tr>';			
            break ;
         case (0):
            ic='&nbsp;</td><td width=128 class=txt>';
			bo='</td></tr>';			
            break ;
         case (9):
            ic='&nbsp;</td><td width=128 class=txt>';
			bo='</td></tr>';			
            break ;			
		}
      if (Menu[i].url == "-" || Menu[i].mnu == Hide){
		 document.write(ic + '<font color="#7eac00">'+Menu[i].title + '</font>'+bo);
		 }
      else if (Menu[i].url == "0"){
		 document.write(ic + '<font color="#999999">'+Menu[i].title + '</font>'+bo);
      }		 
      else{
		 document.write(ic + '<a href="' + Menu[i].url + '"'+sty+'>'+ Menu[i].title +'</a>' + bo);
      }
   }
   document.write('</table>'); 
}