/* menu - rotgut 110213*/
function openmnu(menu_num) {
	var name = "";

                name = "mnu_" + menu_num;
                document.getElementById(name).style.display="block";


	for(var i=1; i<=5; i++){

            if (menu_num != i){
                name = "mnu_" + i;
                document.getElementById(name).style.display="none";
            }
	}
}

function closemnu(menu_num){
    var name = "";

    name = "mnu_" + menu_num;
    document.getElementById(name).style.display="none";
}

/* menu - rotgut 110213*/



function writeMainObject(obj_file,width,height,wmode)
{
    var obj_src = "";
    obj_src += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\""+width+"\" height=\""+height+"\">\n";
    obj_src += "  <param name=\"movie\" value=\""+obj_file+"\">\n";
    if(wmode!="")
    {
        obj_src += "  <param name=\"wmode\" value=\""+wmode+"\">\n";
    }
    obj_src += "  <param name=\"menu\" value=\"false\">\n";
    obj_src += "  <param name=\"quality\" value=\"high\">\n";
    obj_src += "  <embed src=\""+obj_file+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\"></embed>\n";
    obj_src += "</object>\n";
    
    document.write(obj_src);
}

function showFlash(szUrl, nWidth, nHeight)
{
 var szHtml = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width=" + nWidth + " height=" + nHeight + ">"
      + "<param name='movie' value='" + szUrl + "'>"
      + "<param name='wmode' value='transparent'>"
      + "<param name='quality' value='high'>"
      + "<embed src='" + szUrl + "' quality='high' wmode='transparent' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width=" + nWidth + " height=" + nHeight + ">"
      + "</embed>"
      + "</object>";
 
 document.write( szHtml );
}
