if (TransMenu.isSupported()) {
TransMenu.updateImgPath('./js/');
var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);
TransMenu.subpad_x = 1;
TransMenu.subpad_y = 0;
/*
document.getElementById("menu1").onmouseover = function() {
ms.hideCurrent();
}*/
var tmenu01 = ms.addMenu(document.getElementById("menu01"));
tmenu01.addItem("O nás", "./index.php?page=spolecnost", 0, 0);
tmenu01.addItem("Struktura společnosti", "./index.php?page=struktura", 0, 0);
tmenu01.addItem("Certifikáty", "./index.php?page=certifikaty", 0, 0);
tmenu01.addItem("Všeobecné obchodní podmínky", "./index.php?page=vop", 0, 0);
tmenu01.addItem("Vypis z obchodniho rejstriku", "http://www.justice.cz/xqw/xervlet/insl/index?sysinf.@typ=or&sysinf.@strana=searchResults&hledani.@typ=subjekt&hledani.format.typHledani=x*&hledani.podminka.subjekt=promet+foundry", 1, 0);

var tmenu02 = ms.addMenu(document.getElementById("menu02"));
tmenu02.addItem("Úvod", "./index.php?page=technologie", 0, 0);
tmenu02.addItem("Tavírna", "./index.php?page=tavirna", 0, 0);
tmenu02.addItem("Automatické formování", "./index.php?page=form_auto", 0, 0);
tmenu02.addItem("Ruční formování", "./index.php?page=form_rucni", 0, 0);

var tmenu03 = ms.addMenu(document.getElementById("menu03"));
tmenu03.addItem("Automatické formování", "./index.php?page=program_auto", 0, 0);
tmenu03.addItem("Ruční formování", "./index.php?page=program_rucni", 0, 0);


var tmenu04 = ms.addMenu(document.getElementById("menu04"));
tmenu04.addItem("Kvalita", "./index.php?page=kvalita", 0, 0);
tmenu04.addItem("Laboratoř", "./index.php?page=laborator", 0, 0);

var tmenu06 = ms.addMenu(document.getElementById("menu06"));
tmenu06.addItem("Provozovna Ostrava", "./index.php?page=kontakt", 0, 0);
tmenu06.addItem("Provozovna Vsetín", "./index.php?page=kontakt2", 0, 0);
tmenu06.addItem("Kontaktní formulář", "./index.php?page=formular", 0, 0);


TransMenu.renderAll();
}
init1=function(){TransMenu.initialize();}
if (window.attachEvent) {
window.attachEvent("onload", init1);
}else{
TransMenu.initialize();
}

