
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="oklubie.php"><img src="gfx/strzalka.gif" border="0"> O klubie</a><hr size="1" width="125">'
menu1[1]='<a href="historia.php"><img src="gfx/strzalka.gif" border="0"> Historia</a><hr size="1" width="125">'
menu1[2]='<a href="sukcesy.php"><img src="gfx/strzalka.gif" border="0"> Sukcesy</a><hr size="1" width="125">'
menu1[3]='<a href="stadion.php"><img src="gfx/strzalka.gif" border="0"> Stadion</a><hr size="1" width="125">'
menu1[5]='<a href="pzp1976.php"><img src="gfx/strzalka.gif" border="0"> PZP 1976</a><hr size="1" width="125">'
menu1[6]='<a href="pzp1978.php"><img src="gfx/strzalka.gif" border="0"> PZP 1978</a><hr size="1" width="125">'
menu1[7]='<a href="uefa1983.php"><img src="gfx/strzalka.gif" border="0"> UEFA Cup 1983</a><hr size="1" width="125">'
menu1[8]='<a href="vspol.php"><img src="gfx/strzalka.gif" border="0"> Anderlecht vs. Polska</a><hr size="1" width="125">'
menu1[9]='<a href="stroje.php"><img src="gfx/strzalka.gif" border="0"> Stroje</a><hr size="1" width="125">'
menu1[10]='<a href="kadra.php"><img src="gfx/strzalka.gif" border="0"> Kadra</a><hr size="1" width="125">'
menu1[11]='<a href="sztab.php"><img src="gfx/strzalka.gif" border="0"> Sztab szkoleniowy</a><hr size="1" width="125">'
menu1[12]='<a href="bruksela.php"><img src="gfx/strzalka.gif" border="0"> Bruksela</a><hr size="1" width="125">'
menu1[13]='<a href="miasto.php"><img src="gfx/strzalka.gif" border="0"> Miasto Anderlecht</a><hr size="1" width="125">'
menu1[14]='<a href="zgodyikosy.php"><img src="gfx/strzalka.gif" border="0"> Zgody i kosy</a><hr size="1" width="125">'
menu1[15]='<a href="sponsorzy.php"><img src="gfx/strzalka.gif" border="0"> Sponsorzy</a><hr size="1" width="125">'
menu1[16]='<a href="trenerzy.php"><img src="gfx/strzalka.gif" border="0"> Trenerzy RSCA</a><hr size="1" width="125">'
menu1[17]='<a href="herb.php"><img src="gfx/strzalka.gif" border="0"> Herb</a>'

//Contents for menu 2 and so on
var menu2=new Array()
menu2[0]='<a href="jupiler.php"><img src="gfx/strzalka.gif" border="0"> Jupiler Pro League</a><hr size="1" width="125">'
menu2[1]='<a href="pucharbelgii.php"><img src="gfx/strzalka.gif" border="0"> Puchar Belgii</a><hr size="1" width="125">'
menu2[2]='<a href="europejskiepuchary.php"><img src="gfx/strzalka.gif" border="0"> Europejskie puchary</a><hr size="1" width="125">'
menu2[3]='<a href="statystyki.php"><img src="gfx/strzalka.gif" border="0"> Statystyki</a>'

//Contents for menu 3 and so on
var menu3=new Array()
menu3[0]='<a href="live/index.php"><img src="gfx/strzalka.gif" border="0"> Relacje Live</a><hr size="1" width="125">'
menu3[1]='<a href="publicystyka.php"><img src="gfx/strzalka.gif" border="0"> Publicystyka</a><hr size="1" width="125">'
menu3[2]='<a href="bilety.php"><img src="gfx/strzalka.gif" border="0"> Bilety</a><hr size="1" width="125">'
menu3[3]='<a href="http://www.flash-chat.pl/chat.php?chatID=RSCA" target="_blank"><img src="gfx/strzalka.gif" border="0"> Chat</a><hr size="1" width="125">'
menu3[4]='<a href="sygnaturki.php"><img src="gfx/strzalka.gif" border="0"> Sygnaturki</a><hr size="1" width="125">'
menu3[5]='<a href="avatary.php"><img src="gfx/strzalka.gif" border="0"> Avatary</a><hr size="1" width="125">'
menu3[6]='<a href="http://www.youtube.com/RSCAPoland" target="_blank"><img src="gfx/strzalka.gif" border="0"> Kana³ Video</a><hr size="1" width="125">'
menu3[7]='<a href="userbary.php"><img src="gfx/strzalka.gif" border="0"> Userbary</a>'

//Contents for menu 5 and so on
var menu4=new Array()
menu4[0]='<a href="redakcja.php"><img src="gfx/strzalka.gif" border="0"> Redakcja</a><hr size="1" width="125">'
menu4[1]='<a href="reklama.php"><img src="gfx/strzalka.gif" border="0"> Reklama</a><hr size="1" width="125">'
menu4[2]='<a href="/cn" target="_blank"><img src="gfx/strzalka.gif" border="0"> Panel admin</a><hr size="1" width="125">'
menu4[3]='<a href="wspolpraca.php"><img src="gfx/strzalka.gif" border="0"> Wspó³praca</a><hr size="1" width="125">'
menu4[4]='<a href="notaprawna.php"><img src="gfx/strzalka.gif" border="0"> Nota prawna</a><hr size="1" width="125">'
menu4[5]='<a href="historiaserwisu.php"><img src="gfx/strzalka.gif" border="0"> Historia strony</a>'



var menuwidth='160px' //default menu width
var menubgcolor='#602170'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //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>')

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){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.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
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.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
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset= dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById ("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
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"
}

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 (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.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