
function M_start()
{

  document.write("<SCRIPT LANGUAGE='JavaScript1.2'>");
  document.write("new Menu('parent').registerMenu();");
  document.write("</SCRIPT>");
  
}

function M_AddMenu1(bar)
{
  document.write("<SPAN CLASS='ddMenu' ID='subMenu_" + bar + "'>");
  document.write("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>");   	
}



function M_AddMenu2(tst, menuID, opis, friendlyUrl)
{
    var colorMenuOut="#ffffff";
    var colorMenuOver="#ffffff";
    if (tst=='true') { 
    document.write("<TR ><TD height=18 bgcolor='" + colorMenuOut + "' ><img src=img/1px.gif border=0></td></tr>");    
  }
    document.write("<TR><TD id='isubMenu_" + menuID + "' background-color: transparent; bgcolor='" + colorMenuOut + "' ");
      document.write("onmouseover=\"javascript: setTimeout_(false); ");
      document.write("sMiE2('pixel', 'subMenu_" + menuID + "', event, " + menuID + "); ");      
      document.write("colorMe('isubMenu_" + menuID + "', '" + colorMenuOver + "');\" ");

      document.write("onmouseout=\"javascript: setTimeout_(true); colorMe('isubMenu_" + menuID + "', '" + colorMenuOut + "');\" ");
    document.write(">");
    document.write("<TABLE border=0 cellspacing=0 cellpadding=0>");
    document.write("<tr><TD width=230 NOWRAP vAlign=center align=left>");

    document.write("<A class=ddHREF TARGET='_self'"); 
    document.write("href='" + friendlyUrl + "'>");

    document.write(opis);
    document.write("</A></td>");
    document.write("<td vAlign=top align=right height=1 width=1>");
    document.write("<IMG name='pixel_" + menuID + "' src='img/pixel.gif' border=0 width=1 height=1></td>");
    document.write("</tr></table>");
    document.write("</TD></TR>");
}


function M_AddMenu3()
{
	
  document.write("</TABLE>");
  document.write("</SPAN>");  
  
}


