
/***********************************************
* AnyLink Vertical Menu-  Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var menu1=new Array()
menu1[0]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=1">Nasiona warzyw</a>'
menu1[1]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=2">Nasiona kwiatów</a>'
menu1[2]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=7">Grupy cenowe</a>'
menu1[3]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=8">Nasiona roślin rolnych</a>'
menu1[4]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=3">Nasiona traw</a>'
menu1[5]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=4">Cebulki kwiatowe</a>'
menu1[6]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=5">Środki ochrony roślin</a>'
menu1[7]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=nasza_oferta&menu=6">Środki do produkcji ogrodniczej</a>'
menu1[8]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=6">Byliny</a>'
menu1[9]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=1">Drzewa i krzewy iglaste</a>'
menu1[10]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=2">Drzewa i krzewy liściaste</a>'
menu1[11]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=10">Drzewa i krzewy owocowe</a>'
menu1[12]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=3">Pnącza</a>'
menu1[13]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=9">Rośliny rabatowe</a>'
menu1[14]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=4">Rośliny wodne</a>'
menu1[15]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=7">Trawy ozdobne</a>'
menu1[16]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=8">Zioła</a>'
menu1[17]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=material_szk&mszk_gr=5">Żywopłoty</a>'
	


var menu2=new Array()
menu2[0]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=1">Ogród na balkonie</a>'
menu2[1]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=2">Pielęgnacja róż</a>'
menu2[2]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=5">Dzieło sztuki ogrodnika</a>'
menu2[3]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=6">Wrzosowe kobierce</a>'
menu2[4]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=4">Kwitnące krzewy</a>'
menu2[5]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=7">Ogród piękny zimą</a>'

var menu3=new Array()
menu3[0]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=8">Dobre sąsiedztwo</a>'
menu3[1]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=9">Tajemnice rozsady</a>'
menu3[2]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=10">Śniadanie na trawie</a>'
menu3[3]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=11">Jak urządzić działkę</a>'
menu3[4]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=12">Wysokie żywopłoty</a>'

var menu4=new Array()
menu4[0]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=37">Styczeń</a>'
menu4[1]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=38">Luty</a>'
menu4[2]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=39">Marzec</a>'
menu4[3]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=40">Kwiecień</a>'
menu4[4]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=41">Maj</a>'
menu4[5]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=42">Czerwiec</a>'
menu4[6]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=43">Lipiec</a>'
menu4[7]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=44">Sierpień</a>'
menu4[8]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=45">Wrzesień</a>'
menu4[9]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=46">Październik</a>'
menu4[10]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=47">Listopad</a>'
menu4[11]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=48">Grudzień</a>'

var menu5=new Array()
menu5[0]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=13">Brokuł</a>'
menu5[1]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=14">Burak</a>'
menu5[2]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=15">Cebula, Por, Czosnek</a>'
menu5[3]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=16">Fasola i Bób</a>'
menu5[4]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=17">Koper</a>'
menu5[5]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=18">Kukurydza</a>'
menu5[6]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=19">Ogórek</a>'
menu5[7]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=20">Papryka</a>'
menu5[8]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=21">Pomidor</a>'
menu5[9]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=22">Rzodkiew</a>'
menu5[10]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=23">Sałata</a>'
menu5[11]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=24">Seler</a>'

var menu6=new Array()
menu6[0]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=25">Zioła</a>'
menu6[1]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=26">Oregano i Hyzop lekarski</a>'
menu6[2]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=27">Bazylia</a>'
menu6[3]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=28">Kiełki to zdrowie</a>'
menu6[4]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=29">Kminek</a>'
menu6[5]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=30">Kolendra</a>'
menu6[6]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=31">Melisa i Mięta</a>'
menu6[7]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=32">Rumianek i Lawenda</a>'
menu6[8]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=33">Cząber i Estragon</a>'
menu6[9]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=34">Szałwia i Tymianek</a>'
menu6[10]='<a target="_blank" href="http://www.pnos.home.pl/p/?co=roznosci&id=35">Lubczyk i Majeranek</a>'


var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////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: 160px" 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=-500
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-obj.offsetWidth < 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 menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
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")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"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)
}


