var menu_cz_1=new Array()
menu_cz_1[0]='<a href="/produkt.php?produkt_id=1">Getex</a>'
menu_cz_1[1]='<a href="/produkt.php?produkt_id=2">Izoltech</a>'
menu_cz_1[2]='<a href="/produkt.php?produkt_id=3">Izoltech B</a>'
menu_cz_1[3]='<a href="/produkt.php?produkt_id=4">Izoltech Geta</a>'
menu_cz_1[4]='<a href="/produkt.php?produkt_id=17">Termo Izoltech POP</a>'
menu_cz_1[5]='<a href="/produkt.php?produkt_id=5">Izoltech POP</a>'
menu_cz_1[6]='<a href="/produkt.php?produkt_id=6">Mokrutex</a>'
menu_cz_1[7]='<a href="/produkt.php?produkt_id=7">Čistící plachetky NOPO</a>'
menu_cz_1[8]='<a href="/produkt.php?produkt_id=8">Čistící bavlna</a>'
menu_cz_1[9]='<a href="/produkt.php?produkt_id=9">Čistící hadry</a>'
menu_cz_1[10]='<a href="/produkt.php?produkt_id=10">Mykaná tepelná rouna</a>'
menu_cz_1[11]='<a href="/produkt.php?produkt_id=11">PES vločky</a>'
menu_cz_1[12]='<a href="/produkt.php?produkt_id=12">Jatex</a>'
menu_cz_1[13]='<a href="/produkt.php?produkt_id=13">Trhaniny</a>'

var menu_en_1=new Array()
menu_en_1[0]='<a href="/produkt.php?produkt_id=1&lang=en">Getex</a>'
menu_en_1[1]='<a href="/produkt.php?produkt_id=2&lang=en">Izoltech</a>'
menu_en_1[2]='<a href="/produkt.php?produkt_id=3&lang=en">Izoltech B</a>'
menu_en_1[3]='<a href="/produkt.php?produkt_id=4&lang=en">Izoltech Geta</a>'
menu_en_1[4]='<a href="/produkt.php?produkt_id=5&lang=en">Izoltech POP</a>'
menu_en_1[5]='<a href="/produkt.php?produkt_id=6&lang=en">Mokrutex</a>'
menu_en_1[6]='<a href="/produkt.php?produkt_id=7&lang=en">Čistící plachetky NOPO</a>'
menu_en_1[7]='<a href="/produkt.php?produkt_id=8&lang=en">Čistící bavlna</a>'
menu_en_1[8]='<a href="/produkt.php?produkt_id=9&lang=en">Čistící hadry</a>'
menu_en_1[9]='<a href="/produkt.php?produkt_id=10&lang=en">Mykaná tepelná rouna</a>'
menu_en_1[10]='<a href="/produkt.php?produkt_id=11&lang=en">PES vločky</a>'
menu_en_1[13]='<a href="/produkt.php?produkt_id=12&lang=en">Jatex</a>'
menu_en_1[14]='<a href="/produkt.php?produkt_id=13&lang=en">Trhaniny</a>'

var menu_de_1=new Array()
menu_de_1[0]='<a href="/produkt.php?produkt_id=1&lang=de">Getex</a>'
menu_de_1[1]='<a href="/produkt.php?produkt_id=2&lang=de">Izoltech</a>'
menu_de_1[2]='<a href="/produkt.php?produkt_id=3&lang=de">Izoltech B</a>'
menu_de_1[3]='<a href="/produkt.php?produkt_id=4&lang=de">Izoltech Geta</a>'
menu_de_1[4]='<a href="/produkt.php?produkt_id=5&lang=de">Izoltech POP</a>'
menu_de_1[5]='<a href="/produkt.php?produkt_id=6&lang=de">Mokrutex</a>'
menu_de_1[6]='<a href="/produkt.php?produkt_id=7&lang=de">Čistící plachetky NOPO</a>'
menu_de_1[7]='<a href="/produkt.php?produkt_id=8&lang=de">Čistící bavlna</a>'
menu_de_1[8]='<a href="/produkt.php?produkt_id=9&lang=de">Čistící hadry</a>'
menu_de_1[9]='<a href="/produkt.php?produkt_id=10&lang=de">Mykaná tepelná rouna</a>'
menu_de_1[10]='<a href="/produkt.php?produkt_id=11&lang=de">PES vločky</a>'
menu_de_1[13]='<a href="/produkt.php?produkt_id=12&lang=de">Jatex</a>'
menu_de_1[14]='<a href="/produkt.php?produkt_id=13&lang=de">Trhaniny</a>'

var menu_cz_2=new Array()
menu_cz_2[0]='<a href="/produkt.php?produkt_id=1&typ_id=2">Getex</a>'
menu_cz_2[1]='<a href="/produkt.php?produkt_id=2&typ_id=2">Izoltech</a>'
menu_cz_2[2]='<a href="/produkt.php?produkt_id=3&typ_id=2">Izoltech B</a>'
menu_cz_2[3]='<a href="/produkt.php?produkt_id=4&typ_id=2">Izoltech Geta</a>'
menu_cz_2[4]='<a href="/produkt.php?produkt_id=17&typ_id=2">Termo Izoltech POP</a>'
menu_cz_2[5]='<a href="/produkt.php?produkt_id=5&typ_id=2">Izoltech POP</a>'
menu_cz_2[6]='<a href="/produkt.php?produkt_id=6&typ_id=2">Mokrutex</a>'
menu_cz_2[7]='<a href="/produkt.php?produkt_id=7&typ_id=2">Čistící plachetky NOPO</a>'
menu_cz_2[8]='<a href="/produkt.php?produkt_id=8&typ_id=2">Čistící bavlna</a>'
menu_cz_2[9]='<a href="/produkt.php?produkt_id=9&typ_id=2">Čistící hadry</a>'
menu_cz_2[10]='<a href="/produkt.php?produkt_id=10&typ_id=2">Mykaná tepelná rouna</a>'
menu_cz_2[11]='<a href="/produkt.php?produkt_id=11&typ_id=2">PES vločky</a>'
menu_cz_2[12]='<a href="/produkt.php?produkt_id=12&typ_id=2">Jatex</a>'
menu_cz_2[13]='<a href="/produkt.php?produkt_id=13&typ_id=2">Trhaniny</a>'

var menu_en_2=new Array()
menu_en_2[0]='<a href="/produkt.php?produkt_id=1&typ_id=2&lang=en">Getex</a>'
menu_en_2[1]='<a href="/produkt.php?produkt_id=2&typ_id=2&lang=en">Izoltech</a>'
menu_en_2[2]='<a href="/produkt.php?produkt_id=3&typ_id=2&lang=en">Izoltech B</a>'
menu_en_2[3]='<a href="/produkt.php?produkt_id=4&typ_id=2&lang=en">Izoltech Geta</a>'
menu_en_2[4]='<a href="/produkt.php?produkt_id=5&typ_id=2&lang=en">Izoltech POP</a>'
menu_en_2[5]='<a href="/produkt.php?produkt_id=6&typ_id=2&lang=en">Mokrutex</a>'
menu_en_2[6]='<a href="/produkt.php?produkt_id=7&typ_id=2&lang=en">Čistící plachetky NOPO</a>'
menu_en_2[7]='<a href="/produkt.php?produkt_id=8&typ_id=2&lang=en">Čistící bavlna</a>'
menu_en_2[8]='<a href="/produkt.php?produkt_id=9&typ_id=2&lang=en">Čistící hadry</a>'
menu_en_2[9]='<a href="/produkt.php?produkt_id=10&typ_id=2&lang=en">Mykaná tepelná rouna</a>'
menu_en_2[10]='<a href="/produkt.php?produkt_id=11&typ_id=2&lang=en">PES vločky</a>'
menu_en_2[13]='<a href="/produkt.php?produkt_id=12&typ_id=2&lang=en">Jatex</a>'
menu_en_2[14]='<a href="/produkt.php?produkt_id=13&typ_id=2&lang=en">Trhaniny</a>'

var menu_de_2=new Array()
menu_de_2[0]='<a href="/produkt.php?produkt_id=1&typ_id=2&lang=de">Getex</a>'
menu_de_2[1]='<a href="/produkt.php?produkt_id=2&typ_id=2&lang=de">Izoltech</a>'
menu_de_2[2]='<a href="/produkt.php?produkt_id=3&typ_id=2&lang=de">Izoltech B</a>'
menu_de_2[3]='<a href="/produkt.php?produkt_id=4&typ_id=2&lang=de">Izoltech Geta</a>'
menu_de_2[4]='<a href="/produkt.php?produkt_id=5&typ_id=2&lang=de">Izoltech POP</a>'
menu_de_2[5]='<a href="/produkt.php?produkt_id=6&typ_id=2&lang=de">Mokrutex</a>'
menu_de_2[6]='<a href="/produkt.php?produkt_id=7&typ_id=2&lang=de">Čistící plachetky NOPO</a>'
menu_de_2[7]='<a href="/produkt.php?produkt_id=8&typ_id=2&lang=de">Čistící bavlna</a>'
menu_de_2[8]='<a href="/produkt.php?produkt_id=9&typ_id=2&lang=de">Čistící hadry</a>'
menu_de_2[9]='<a href="/produkt.php?produkt_id=10&typ_id=2&lang=de">Mykaná tepelná rouna</a>'
menu_de_2[10]='<a href="/produkt.php?produkt_id=11&typ_id=2&lang=de">PES vločky</a>'
menu_de_2[13]='<a href="/produkt.php?produkt_id=12&typ_id=2&lang=de">Jatex</a>'
menu_de_2[14]='<a href="/produkt.php?produkt_id=13&typ_id=2&lang=de">Trhaniny</a>'


var menu_cz_3=new Array()
menu_cz_3[0]='<a href="/foto.php?foto=store/certifikat3_cz_600.jpg">Certifikát řízení výroby</a>'
menu_cz_3[1]='<a href="/produkt.php?produkt_id=2&typ_id=3">Izoltech</a>'
menu_cz_3[2]='<a href="/produkt.php?produkt_id=3&typ_id=3">Izoltech B</a>'
menu_cz_3[3]='<a href="/produkt.php?produkt_id=4&typ_id=3">Izoltech Geta</a>'
menu_cz_3[4]='<a href="/produkt.php?produkt_id=17&typ_id=3">Termo Izoltech POP</a>'
menu_cz_3[5]='<a href="/produkt.php?produkt_id=5&typ_id=3">Izoltech POP</a>'
menu_cz_3[6]='<a href="/produkt.php?produkt_id=14&typ_id=3">Fatratex</a>'
menu_cz_3[7]='<a href="/produkt.php?produkt_id=15&typ_id=3">Fatratex H</a>'
menu_cz_3[8]='<a href="/produkt.php?produkt_id=16&typ_id=3">Fatratex S</a>'
menu_cz_3[9]='<a href="/produkt.php?produkt_id=6&typ_id=3">Mokrutex</a>'
menu_cz_3[10]='<a href="/produkt.php?produkt_id=18&typ_id=3">Mokrutex T</a>'

//menu_cz_3[9]='<a href="/produkt.php?produkt_id=7&typ_id=3">Čistící plachetky NOPO</a>'
//menu_cz_3[10]='<a href="/produkt.php?produkt_id=8&typ_id=3">Čistící bavlna</a>'
//menu_cz_3[11]='<a href="/produkt.php?produkt_id=9&typ_id=3">Čistící hadry</a>'
//menu_cz_3[12]='<a href="/produkt.php?produkt_id=10&typ_id=3">Mykaná tepelná rouna</a>'
//menu_cz_3[13]='<a href="/produkt.php?produkt_id=11&typ_id=3">PES vločky</a>'
//menu_cz_3[14]='<a href="/produkt.php?produkt_id=12&typ_id=3">Jatex</a>'
//menu_cz_3[15]='<a href="/produkt.php?produkt_id=13&typ_id=3">Trhaniny</a>'

var menu_en_3=new Array()
//menu_en_3[0]='<a href="/produkt.php?produkt_id=1&typ_id=3&lang=en">Getex</a>'
menu_en_3[1]='<a href="/produkt.php?produkt_id=3&typ_id=3&lang=en">Izoltech</a>'
menu_en_3[2]='<a href="/produkt.php?produkt_id=3&typ_id=3&lang=en">Izoltech B</a>'
menu_en_3[3]='<a href="/produkt.php?produkt_id=4&typ_id=3&lang=en">Izoltech Geta</a>'
menu_en_3[4]='<a href="/produkt.php?produkt_id=5&typ_id=3&lang=en">Izoltech POP</a>'
menu_en_3[5]='<a href="/produkt.php?produkt_id=6&typ_id=3&lang=en">Mokrutex</a>'
//menu_en_3[6]='<a href="/produkt.php?produkt_id=7&typ_id=3&lang=en">Čistící plachetky NOPO</a>'
//menu_en_3[7]='<a href="/produkt.php?produkt_id=8&typ_id=3&lang=en">Čistící bavlna</a>'
//menu_en_3[8]='<a href="/produkt.php?produkt_id=9&typ_id=3&lang=en">Čistící hadry</a>'
//menu_en_3[9]='<a href="/produkt.php?produkt_id=10&typ_id=3&lang=en">Mykaná tepelná rouna</a>'
//menu_en_3[10]='<a href="/produkt.php?produkt_id=11&typ_id=3&lang=en">PES vločky</a>'
//menu_en_3[13]='<a href="/produkt.php?produkt_id=12&typ_id=3&lang=en">Jatex</a>'
//menu_en_3[14]='<a href="/produkt.php?produkt_id=13&typ_id=3&lang=en">Trhaniny</a>'

var menu_de_3=new Array()
//menu_de_3[0]='<a href="/produkt.php?produkt_id=1&typ_id=3&lang=de">Getex</a>'
menu_de_3[1]='<a href="/produkt.php?produkt_id=3&typ_id=3&lang=de">Izoltech</a>'
menu_de_3[2]='<a href="/produkt.php?produkt_id=3&typ_id=3&lang=de">Izoltech B</a>'
menu_de_3[3]='<a href="/produkt.php?produkt_id=4&typ_id=3&lang=de">Izoltech Geta</a>'
menu_de_3[4]='<a href="/produkt.php?produkt_id=5&typ_id=3&lang=de">Izoltech POP</a>'
menu_de_3[5]='<a href="/produkt.php?produkt_id=6&typ_id=3&lang=de">Mokrutex</a>'
//menu_de_3[6]='<a href="/produkt.php?produkt_id=7&typ_id=3&lang=de">Čistící plachetky NOPO</a>'
//menu_de_3[7]='<a href="/produkt.php?produkt_id=8&typ_id=3&lang=de">Čistící bavlna</a>'
//menu_de_3[8]='<a href="/produkt.php?produkt_id=9&typ_id=3&lang=de">Čistící hadry</a>'
//menu_de_3[9]='<a href="/produkt.php?produkt_id=10&typ_id=3&lang=de">Mykaná tepelná rouna</a>'
//menu_de_3[10]='<a href="/produkt.php?produkt_id=11&typ_id=3&lang=de">PES vločky</a>'
//menu_de_3[13]='<a href="/produkt.php?produkt_id=12&typ_id=3&lang=de">Jatex</a>'
//menu_de_3[14]='<a href="/produkt.php?produkt_id=13&typ_id=3&lang=de">Trhaniny</a>'



var menu_cz_4=new Array()
menu_cz_4[0]='<a href="/?page=izolace-fatra-hydroizolacni-folie">Hydroizolační folie</a>'
menu_cz_4[1]='<a href="/?page=izolace-fatra-stresni-systemy">Střešní systémy</a>'
menu_cz_4[2]='<a href="/?page=izolace-fatra-zemni-systemy">Zemní systémy</a>'
menu_cz_4[3]='<a href="/?page=izolace-fatra-bazenove-jezirkove-folie">Bazénové a jezírkové fólie</a>'
menu_cz_4[4]='<a href="/?page=izolace-fatra-klempirske-prvky">Klempířské prvky</a>'
menu_cz_4[5]='<a href="/?page=izolace-fatra-kotvici">Kotvící prvky</a>'
menu_cz_4[6]='<a href="/?page=izolace-fatra-ostatni">Ostatní příslušenství</a>'
menu_cz_4[7]='<a href="/?page=izolace-fatra-tepelne-izolacni-materialy">Tepelně izolační materiály</a>'
menu_cz_4[8]='<a href="/?page=izolace-fatra-cenik">Ceník</a>'



var menuwidth='163px' //default menu width
var menuwidth2='152px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="no" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6) document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div><iframe id="dropmenudiv2" style="visibility:hidden;width:'+menuwidth2+';background-color:'+menubgcolor+'" scroling="no" frameborder="0"></iframe>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth, menuheight)
	{
	if (ie4||ns6)
		{
		dropmenuobj.style.left=dropmenuobj.style.top=-500
		dropmenuobj2.style.left=dropmenuobj.style.top=-500
		}
	if (menuwidth!="")
		{
		dropmenuobj.widthobj=dropmenuobj.style
		dropmenuobj.widthobj.width=menuwidth
		dropmenuobj2.widthobj=dropmenuobj2.style
		dropmenuobj2.widthobj.width=menuwidth2

		dropmenuobj2.height=menuheight
		}
	if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
		{
		//obj.visibility=visible
		dropmenuobj.style.visibility=visible
		dropmenuobj2.style.visibility=visible
		}
	else if (e.type=="click")
		{
		//obj.visibility=hidden
		dropmenuobj.style.visibility=hidden
		dropmenuobj2.style.visibility=hidden
		}
	}

function iecompattest()
	{
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
	}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
dropmenuobj2.contentmeasure=dropmenuobj2.offsetWidth

if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
	{
	edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
	edgeoffset2=dropmenuobj2.contentmeasure-obj.offsetWidth
	}
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
dropmenuobj2.contentmeasure=dropmenuobj2.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
edgeoffset2=dropmenuobj2.contentmeasure+obj.offsetHeight

if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
edgeoffset2=dropmenuobj2.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what)
	{
	if (ie4||ns6) dropmenuobj.innerHTML=what.join("")
	}

function dropdownmenu(obj, e, menucontents, menuwidth, menuheight)
	{
	if (window.event) event.cancelBubble=true
	else if (e.stopPropagation) e.stopPropagation()
	clearhidemenu()
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
	dropmenuobj2=document.getElementById? document.getElementById("dropmenudiv2") : dropmenudiv2
	populatemenu(menucontents)
	if (ie4||ns6)
		{
		showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth, menuheight)
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"

		//showhide(dropmenuobj2.style, e, "visible", "hidden", menuwidth)
		dropmenuobj2.x=getposOffset(obj, "left")
		dropmenuobj2.y=getposOffset(obj, "top")
		dropmenuobj2.style.left=dropmenuobj2.x-clearbrowseredge(obj, "rightedge")+"px"
		dropmenuobj2.style.top=dropmenuobj2.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
		}
	return clickreturnvalue()
}

function clickreturnvalue()
	{
	if (ie4||ns6) return false
	else return true
	}

function contains_ns6(a, b){
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e)
	{
	if (ie4||ns6)
		{
		if (typeof dropmenuobj!="undefined") dropmenuobj.style.visibility="hidden"
		if (typeof dropmenuobj2!="undefined") dropmenuobj2.style.visibility="hidden"
		}
	}

function delayhidemenu()
	{
	if (ie4||ns6) delayhide=setTimeout("hidemenu()", disappeardelay)
	}

function clearhidemenu()
	{
	if (typeof delayhide!="undefined") clearTimeout(delayhide)
	}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
