
function M_start()
{

  document.write("<SCRIPT LANGUAGE='JavaScript1.2'>");
  document.write("new Menu('parent').registerMenu();");
  document.write("</SCRIPT>");
  
}

function M_AddMenu1(bar,podlaga)
{
  document.write("<SPAN CLASS='ddMenu' ID='subMenu_" + bar + "'>");
  document.write("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 background=\"datoteke/podlage/oblacek_" + podlaga + ".gif\" width=190 height=156 ");
    document.write("onmouseover=\"javascript: setTimeout_(false); \" ");
    document.write("onmouseout=\"javascript: setTimeout_(true);\" ");
  document.write(">");
  document.write("<TR height=35><TD><IMG width=1 height=1 border=0></TD></TR><TR><TD valign=center>")
  document.write("<TABLE border=0 cellspacing=0 cellpadding=0 width=190>");
}



function M_AddMenu2(tst, menuID, opis, friendlyUrl)
{
   
    var colorMenuOut="#BFD9F2";
    var colorMenuOver="#80B2E5";
  

    document.write("<TR><TD id='isubMenu_" + menuID + "' ");
    document.write(" valign=center>");
    document.write("<TABLE border=0 cellspacing=3 cellpadding=0 width=190 height=17>");
    document.write("<tr height=17>");
    document.write("<TD  NOWRAP width=22><IMG width=1 height=1 border=0></TD>");
    document.write("<TD vAlign=center align=left width=13><IMG name=preloadpp" + menuID + " src=\"img/projekt/puscica.gif\" border=0></TD>");
    document.write("<TD width=153 vAlign=center align=left>");

    document.write("<A class=ddHREF TARGET=\"_self\" onMouseOver=\"javascript: imageOver('preloadpp" + menuID + "');\" onMouseOut=\"javascript: imageOut('preloadpp" + menuID + "');\" "); 
    document.write("href='" + friendlyUrl + "'>");
    document.write(opis);
    document.write("</A></td>");
    document.write("<TD  NOWRAP width=5><IMG width=1 height=1 border=0></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></TD></TR>");
  document.write("<TR height=3><TD><IMG width=1 height=1 border=0></TD></TR>")
  document.write("</TABLE>");
  document.write("</SPAN>");  
  
}



