var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]=''

submenu[1]='<b></b>'

submenu[2]='<b><span style="margin-right:10px">Kultura:</span></b><span class="stopka_txt"><a href="koncerty.php">Koncerty</a></span>|<span class="stopka_txt"><a href="klubowe.php">Klubowe</a></span>|<span class="stopka_txt"><a href="kino.php">Kino</a></span>|<span class="stopka_txt"><a href="teatry.php">Teatr</a></span>|<span class="stopka_txt"><a href="ch.php">Centra handlowe</a></span>|<span class="stopka_txt"><a href="dk.php">Domy kultury</a></span>|<span class="stopka_txt"><a href="inne.php">Inne</a></span>|<span class="stopka_txt"><a href="kultura.php">Wszystkie</a></span>|<span class="stopka_txt"><a href="atjb.php">Ale to już było</a></span>|'

submenu[3]=''

submenu[4]='<b><span style="margin-right:10px">Repertuary:</span></b><span class="stopka_txt"><a href="repertuar_kina.php">Kina</a></span>|<span class="stopka_txt"><a href="repertuar_teatry.php">Teatry</a></span>|<span class="stopka_txt"><a href="spektakle.php">Opisy spektakli teatralnych</a></span>'

submenu[5]='<b><span style="margin-right:10px">Przewodnik:</span></b><span class="stopka_txt"><a href="przewodnik_barymleczne.php">Bary mleczne</a></span>|<span class="stopka_txt"><a href="repertuar_kina.php">Kina</a></span>|<span class="stopka_txt"><a href="repertuar_teatry.php">Teatry</a></span>|<span class="stopka_txt"><a href="przewodnik_kluby.php">Kluby</a></span>'

submenu[6]=''

submenu[7]=''

submenu[8]=''

submenu[9]=''

submenu[10]=''



//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=1500

/////No need to edit beyond here
var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(0)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(0)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
