/************** Copyright (c) 2001 Thomas Brattli (www.dhtmlcentral.com) eXperience DHTML coolMenus - Get it at www.dhtmlcentral.com Version 3.02 This script can be used freely as long as all copyright messages are intact. (You can delete the comments below to save space) This script takes over for the old Coolmenus2 and CoolFrameMenu Visit www.dhtmlcentral.com/coolmenus/ for the latest version of the script. Tutorial: http://www.dhtmlcentral.com/tutorial.asp Support: http://www.dhtmlcentral.com/forums/forum.asp?FORUM_ID=2&CAT_ID=1&Forum_Title=CoolMenus Known bugs: Netscape 6: When using padding in the layers you can sometimes get strange visual effects on the lowest menu item. Only way to fix is to not use padding. Opera: This menu is very close to working on Opera, but as far as I could figure out opera don't support innerHTML or document.createElement() which makes the changing of the text inside the submenus immpossible. If anyone know a solution to this please let me know. Explorer 4 for mac: It will not work in this browser, nothing does. Explorer 5 for mac: It works fine, but like Netscape 6 it's a little slow and you can get strange visual effects sometimes. Script checked and working with: PC: Netscape 4.03 - Netscape 4.04 -Netscape 4.08 - Netscape 4.73 - Netscape 6 - Netscape 6.01 Internet Explorer 5.0 - Internet Explorer 5.5 -Internet Explorer 6.0 MAC: Netscape 4 - Explorer 5 Btw: There is basically just one explanation to why this code is sort of "scrambled": I wanted this file be as small as possible.. If you want it to be smaller feel free to remove all comments (except for the copyright) **************/ /************* Pageobject ***************/ function makePageCoords(win,fr){ if(!win) win=window this.x=0;this.x2=(bw.ns4 || bw.ns6)?win.innerWidth-1:win.document.body.offsetWidth; if(!fr&&bw.ie) this.x2-=20; else if(!fr&&bw.ns4) this.x2-=4; else if(bw.ns6) this.x2+=1 this.y=0;this.y2=(bw.ns4 || bw.ns6)?win.innerHeight:win.document.body.offsetHeight; if(bw.ns4&&!win.rows) this.x2+=5; if(!fr&&bw.ie) this.y2-=4; else if(bw.ns4&&fr) this.y2+=4 this.y2orig=this.y2; this.x50=this.x2/2; this.y50=this.y2/2; return this; } /************* Debugging function ***************/ function debug(txt,ev){if(mDebugging==2) self.status=txt; else alert(txt); if(ev) eval(ev); return false} /************ Scroll function *************/ function cm_checkScrolled(obj){ if(bw.ns4 || bw.ns6) obj.scrolledY=obj.win.pageYOffset else obj.scrolledY=obj.win.document.body.scrollTop if(obj.scrolledY!=obj.lastScrolled){ if(!obj.useframes){ for(i=0;i(end-px*px-px) && px>1) px-=px/5; this.moveIt(this.x,this.y+px) this.clipTo(end-this.y,this.width,this.height,0) this.tim=setTimeout(this.obj+".slide("+end+","+px+","+tim+","+w+","+h+")",tim) }else{this.clipTo(0,this.width,this.height,0); this.moveIt(this.x,end)} } function cm_filterIt(f){if(this.evnt.filters[0]) this.evnt.filters[0].Stop(); else this.css.filter=f; this.evnt.filters[0].Apply(); this.showIt(); this.evnt.filters[0].Play();} function cm_setactive(on,name,frmmouse){ if(!name) name=this.name; var tobj=this.parent.m[name] if(tobj.img){if(tobj.img2){if(on) this.ref.images[tobj.img].src=tobj.img2; else this.ref.images[tobj.img].src=tobj.img1} }else{ if(on){var color=tobj.c2; var fcolor=tobj.c4; var re=tobj.c3}else{var color=tobj.c1; var fcolor=tobj.c3; var re=tobj.c4} if(color){if(bw.dom || bw.ie4) this.css.backgroundColor=color; else if(bw.ns4) if(color=="transparent") color=null; this.css.bgColor=color} if(fcolor && !bw.ns4){if(bw.ie4) this.evnt.style.color=fcolor; else if(this.evnt.childNodes[0]) this.evnt.style.color=fcolor }else if(fcolor&&frmmouse){t=this.parent.m[name].text; t=t.replace(re,fcolor); this.writeIt(t); if(on) this.addEvents(name,this.parent.name,tobj.lnk,this.parent.useclick)} if(tobj.l==0&&bw.ns6){this.parent.l[0].o[tobj.num].oBorder.hideIt(); this.parent.l[0].o[tobj.num].oBorder.showIt();} //Stupid fix for netscape 6.... } } function cm_clipTo(t,r,b,l,w){if(bw.ns4){this.css.clip.top=t;this.css.clip.right=r; this.css.clip.bottom=b;this.css.clip.left=l }else{this.css.clip="rect("+t+","+r+","+b+","+l+")"; if(w){this.css.width=r; this.css.height=b}}; this.width=r; this.height=b} function cm_addEvents(n,name,url,useclick){ this.evnt.onmouseover=new Function(name+".mover('"+n+"')"); this.evnt.onmouseout=new Function(name+".mmout('"+n+"')") if(!url && useclick) ev=new Function(name+".mover('"+n+"',1)") else ev=new Function(name+".go('"+n+"')") if(bw.ns4){this.ref.captureEvents(Event.MOUSEDOWN); this.ref.onmousedown=ev} else this.evnt.onclick=ev } /************ Making menu object *************/ function cm_makeMenu(name,parent,text,link,target,width,height,img1,img2,bgcoloroff,bgcoloron,textcolor,hovercolor,onclick,onmouseover,onmouseout){ this.m[name]=new Object(); var obj=this.m[name]; obj.name=name; obj.subs=new Array(); obj.parent=parent; var tt obj.lnk=(link==0||link=='')?"":link; obj.target=target if(parent!="" && parent){this.m[parent].subs[this.m[parent].subs.length]=name; l=this.m[parent].l+1} else l=0 obj.l=l; prop1=lthis.l[l].maxnum) this.l[l].maxnum=this.m[parent].subs.length if(this.m[parent].totheight==0) this.m[parent].totheight=this.l[l].border this.m[parent].totheight+=obj.height+ this.l[l].border if(this.m[parent].maxwidthobj.width?this.maxwidth:obj.width; this.maxheight=this.maxheight>obj.height?this.maxwidth:obj.height }if(img1) text='' else if(bw.ns4){text=''+text+''} if(bw.ns4&&this.useNS4links&&(l==0||!this.useframes) ||(l==0&&img1)){tt=img1&&l==0?this.useclick?this.name+".mover('"+name+"',1);":this.name+".go('"+name+"');":"";text=''+text+''} if(img1){obj.preimg1=new Image(); obj.preimg1.src=img1}; if(img2){obj.preimg2=new Image(); obj.preimg2.src=img2} if(img2) obj.img="imgCMenu"+name; else obj.img=0; obj.img1=img1||""; obj.img2=img2||""; obj.text=text; obj.subx=-1; obj.c1=bgcoloroff||prop1.bgcoloroff||prop2.bgcoloroff; obj.c2=bgcoloron||prop1.bgcoloron||prop2.bgcoloron; obj.c3=textcolor||this.l[l].tc; obj.c4=hovercolor||prop1.hovercolor||prop2.hovercolor; obj.suby=-1; obj.mclick=onclick||""; obj.mover=onmouseover||""; obj.mout=onmouseout||""; obj.totheight=0; obj.maxwidth=0; } /************ Onmouseout *************/ function cm_mout(name,cl){ if(!name&&cl&&!this.isover){this.isclicked=0; this.hideSubs(1,0,0,0,1); this.aobj[0]=-1; return} if(!name) return; var l=this.m[name].l; if((this.m[name].subs.length==0||!this.loaded)||(this.useclick&&!this.isclicked)){if((this.aobj[l+1]==-1||l>=this.l.length-1)&&this.aobj[l]!=-1){this.aobj[l].setactive(0,0,1); this.aobj[l]=-1;}} if(this.m[name].mout!="") eval(this.m[name].mout) if(this.useclick){this.isover=0; return}; clearTimeout(this.tim); if(!(!bw.ie&&this.useframes&&l==0&&this.aobj1)){ this.isover=0; this.aobj1=0; this.tim=setTimeout(this.name+".hideSubs(1,0,0,0,1)",this.wait)} } /************ Onmouseover *************/ function cm_mover(name,cl){ clearTimeout(this.tim); this.isover=1; var l=this.m[name].l; if(this.aobj[l].name==name){ if(this.aobj[l+1]!=-1 && l=page.y2) { this.m[name].suby=page.y2-this.m[name].totheight-this.l[l].height; } if(this.pagecheck&&(l!=1||!this.useframes)) { this.checkPage(name,l,num,topalign,align,ln,border,cn) } } /************ Checking page coords *************/ function cm_checkPage(name,l,num,topalign,align,ln,border,cn){ cn++; if(this.m[name].subx+this.m[name].maxwidth>page.x2){ if(align!=1){if(align==3&&topalign!=0) topalign=3; align=1; this.getCoords(name,l,num,topalign,align,ln,border,cn)} }else if(this.m[name].subxpage.y2){ if(l==1){topalign=3; this.getCoords(name,l,num,topalign,align,ln,border,cn,3)} else if(align!=3){ align=3; this.getCoords(name,l,num,topalign,align,ln,border,cn)} }else if(this.m[name].suby=this.l.length) return; ln=this.m[name].subs.length if(ln==0){this.hideSubs(l,1,0,1); return} else this.hideSubs(l+1,1); var border=this.l[l].border; this.aobj[l]=-1 if(this.useframes&&(bw.ns4||bw.ns6)) cm_checkScrolled(this) if((this.m[name].subx==-1 || this.m[name].suby==-1) || this.m[name].scrollY!=this.lastScrolled || this.isresized){ var topalign=this.l[0].align; var align=this.l[l-1].align; this.getCoords(name,l,num,topalign,align,ln,border,0) }var x=this.m[name].subx; var y=this.m[name].suby; var bobj=this.l[l].oBorder; bobj.hideIt(); if(this.l[l-1].clip&&!(this.l[l-1].filter&&bw.filter)){ clearTimeout(bobj.tim); bobj.clipy=0; bobj.clipTo(0,this.m[name].maxwidth,0,0); bobj.moveIt(x,y); }else if(this.l[l-1].slide&&!(this.l[l-1].filter&&bw.filter)){ clearTimeout(bobj.tim); bobj.clipTo(0,this.m[name].maxwidth,this.m[name].totheight,0,1) bobj.moveIt(x,y-this.m[name].totheight) }else{ bobj.clipTo(0,this.m[name].maxwidth,this.m[name].totheight,0,1) bobj.moveIt(x,y); } var yy=border for(i=0;ithis.m[name].subx && selx<(this.m[name].subx+this.m[name].maxwidth)) &&((sely+selh)>this.m[name].suby && sely<(this.m[name].suby+this.m[name].totheight))){ if(this.sel[i].style.visibility!="hidden"){this.sel[i].level=l; this.sel[i].style.visibility="hidden"; this.hcode+=this.name+".sel["+i+"].style.visibility='visible';"} }else if(l<=this.sel[i].level) this.sel[i].style.visibility="visible" } }else if(bw.ns4&&this.hideForm){eval(this.hideForm+".visibility='hide'"); this.hcode=this.hideForm+".visibility='show'"} } /************ Making all top elements *************/ function cm_makeTop(rr){ var m,rows,border,x,y,mpa m=this.menuplacement; rows=this.rows; this.pxbetween=this.checkp(this.pxbetween,0,1,1) border=this.l[0].border;y=this.checkp(this.fromtop,0,0,1)+border;x=this.checkp(this.fromleft,0,0,1)+border if(m=="bottomcenter"||m=="bottom"){ if(m=="bottomcenter") x=toppage.x2/2-(this.totwidth+border*this.l[0].num+this.pxbetween*(this.l[0].num-1))/2 y=toppage.y2-this.maxheight-border }else if(m=="right") x=toppage.x2-this.maxwidth-border*2 else if(m=="bottom") y=toppage.y2-this.maxheight-border*2 else if(m=="center"){if(rows==0) x=toppage.x2/2 - (this.maxwidth+border*2)/2; else x=toppage.x2/2 - (this.totwidth + border*this.l[0].num +this.pxbetween*(this.l[0].num-1))/2} else if(m.toString().indexOf(",")>-1) mpa=1 if(this.usebar){ var bx,by,bww,bh,oBb oNS=bw.ns6?this.oNS[this.l[0].maxnum]:0 this.oBar=new cm_makeObj('div'+this.name+'Bar',0,0,window,0,oNS) if(this.barx=="menu") bx=mpa&&rows?this.checkp(m[0],1,0,1)-border:x-border; else{ bx=this.checkp(this.barx,1,0,1) } if(this.bary=="menu") by=mpa&&!rows?this.checkp(m[0],0,0,1)-border:y-border; else by=this.checkp(this.bary,0,0,1); this.oBar.moveIt(bx,by) if(this.barwidth=="menu"){bww=rows?mpa?(this.checkp(m[m.length-1],1,0,1)-bx)+this.m[this.l[0].names[this.l[0].num-1]].width+border:(this.totwidth +this.pxbetween*(this.l[0].num-1)):this.maxwidth; bww+=!rows?border*2:0;}else bww=this.checkp(this.barwidth,1,0,1); if(bw.ie&&rows&&this.barwidth=="100%"&&this.useframes) bww+=parseInt(self.document.body.leftMargin)*2 if(this.barheight=="menu"){bh=!rows?mpa?(this.checkp(m[m.length-1],0,0,1)-by)+this.m[this.l[0].names[this.l[0].num-1]].height+border:(this.totheight + this.pxbetween*(this.l[0].num-1)):this.maxheight; bh+=rows?this.l[0].border*2:0;} else bh=this.checkp(this.barheight,0,0,1); this.oBar.clipTo(0,bww,bh,0,1); if(this.barinheritborder&&border){oBb=new cm_makeObj('div'+this.name+'Barb',0,0,window,'div'+this.name+'Bar'); oBb.moveIt(border,border); oBb.clipTo(0,bww-border*2,bh-border*2,0,1); oBb=null;} }this.l[0].o=new Array(); if(this.usetextwidth) this.maxwidth=0 for(j=0;j\n' for(j=0;j' str+=tempstr+' class="cl'+this.name+i+'">'+txt+''; str+='\n' }else this.oNS[j]=cm_NS6_createElement(this.ns6styleb[i],tempstr+' class="cl'+this.name+i+'">'+txt+'') }else frstr+=tempstr+'">\n' }if(i!=0){frstr+='\n'} }if(this.usebar){ if(this.barinheritborder) str2='
'; if(bw.ns6) this.oNS[this.l[0].maxnum]=cm_NS6_createElement(this.ns6styleb[this.ns6styleb.length-1],str2) else{str+='
';str+=str2+'
\n'} }if(!this.useframes&&bw.ie) str+=frstr; else this.frstr=frstr; if(!bw.ns6) document.write(str) this.makeTop(); if(this.useframes) window.onerror=cm_check_error; } coolFrameError=0//Trapping external pages in frame error! function cm_check_error(e){e=e.toLowerCase(); if(e.indexOf("access")>-1||e.indexOf("permission")>-1){coolFrameError=1; return true;}else return false} /************** Make styles **************/ function cm_makeStyle(){ var str="\n") } /************ Refreshing page if it's resized *************/ function cm_resized(){ page2=new makePageCoords(window,this.useframes); if(page2.x2!=toppage.x2 || page2.y2!=toppage.y2){ if(!bw.ns4){ toppage=new makePageCoords(window,this.useframes); this.makeTop(1) if(!this.useframes) page=toppage; this.isresized=1; eval(this.resizecode) }else{this.win.location.reload(); location.reload()} }if(!bw.ns4&&this.useframes){page=new makePageCoords(this.win,this.useframes)} } /************ Going to another page *************/ function cm_go(name){ obj=this.m[name]; url=obj.lnk; target=obj.target; fc=obj.mclick if(url){ if(this.useframes&&!coolFrameError) loc=this.win.location.href; else loc=location.href if(fc) eval(fc); url=this.checkFolder(loc.toString(),url); this.isover=0; this.hideSubs(1,0,1); this.isclicked=0; this.aobj[0]=-1 if(String(target)=="undefined" || target=="" || target==0 || target=="_self"){ this.win.location.href=url }else if(target=="_blank") window.open(url) else if(target=="_top" || target=="window") top.location.href=url else if(top[target]) top[target].location.href=url else{fr=findFrame(target); if(fr) fr.location.href=url} }else if(fc) eval(fc) } /************ Getting folders - THANKS TO DCAGE FOR THIS FIX *************/ function cm_checkFolder(tmp,url){ if(url.indexOf("mailto:")>-1 || url.indexOf("/")==0 || url.indexOf("http://")==0) return url else if(this.useframes && bw.ie || bw.ns6) return url var addr=''; var lvl=''; var off_cnt=0; var cnt=0; if(tmp.indexOf('file:')>-1 || tmp.charAt(1)==':') addr=this.offlineUrl; else if(tmp.indexOf('http:')>-1) addr=this.onlineUrl; for(var i=0;ioff_cnt) lvl+='../'; }} return lvl + url } /************ Checkloaded for the frames version *************/ function cm_checkLoaded(ev,ns){ coolFName=eval(coolFName) var ok=0 if(document.layers){ if(ns){coolFName.refresh(); coolFName.nsload=1; ok=1; coolFrameError=0 }else if(ev.target.name==coolFName.frame&&!coolFName.nsload){coolFName.refresh(); ok=1; coolFrameError=0; routeEvent(ev)} }else if(bw.ie){ if (coolFName.win.document.readyState == "complete"){ coolFName.win.document.body.insertAdjacentHTML("beforeEnd",coolFName.frstr) coolFName.win.document.body.onunload=cm_unloaded; coolFName.refresh(); ok=1; coolFrameError=0 }else setTimeout("cm_checkLoaded()",200) }else if(bw.ns6){ if(coolFName.win.document){ if(coolFName.win.document.body){coolFName.win.addEventListener("unload", cm_unloaded, true); coolFName.refresh(); ok=1; coolFrameError=0} else setTimeout("cm_checkLoaded()",200) }else setTimeout("cm_checkLoaded()",200) } } function cm_unloaded(ev){coolFName=eval(coolFName); if(!coolFName) return; if(document.layers && ev.target.name!=coolFName.frame) return; else coolFName.nsload=0; coolFName.loaded=0; if(!document.layers) setTimeout("cm_checkLoaded()",200)} /************ Make menu object *************/ var coolFName=""; var onload; var coolFMouseup=""; function makeCoolMenu(name){ coolFName=name; this.name=name; this.lastScrolled=0; this.win=window; toppage=new makePageCoords(window,parent.frames.length); this.aobj=new Array(); this.m=new Array(); this.l=new Array() this.level=new Array(); this.resized=cm_resized; this.makeMenu=cm_makeMenu; this.showSubs=cm_showSubs; this.makeTop=cm_makeTop; this.getCoords=cm_getCoords; this.checkPage=cm_checkPage; this.mmout=cm_mout; this.mover=cm_mover; this.checkp=cm_checkp; this.hideSubs=cm_hideSubs; this.construct=cm_construct; this.makeStyle=cm_makeStyle; this.refresh=cm_refresh; this.go=cm_go; this.frstr=""; this.mobj=new Array() this.totwidth=0; this.totheight=0; this.maxwidth=0; this.maxheight=0 this.tim=10; this.loaded=0; this.isover=false; this.checkFrame=cm_checkFrame; this.checkFolder=cm_checkFolder; this.hcode=""; this.oNS=new Array(); this.oNS2=new Array() bw.filter=(bw.ie11||bw.ie10||bw.ie9||bw.ie8||bw.ie7||bw.ie6||bw.ver.indexOf("MSIE 5.5")>-1) && !bw.mac } /************ Find frame *************/ function findFrame(frameName){ obj=top; var frameObj=0; for(i=0;i-1 && this.dom)?1:0; this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0; this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0; this.ie9=(this.ver.indexOf("MSIE 9")>-1 && this.dom)?1:0; this.ie10=(this.ver.indexOf("MSIE 10")>-1 && this.dom)?1:0; this.ie11=(this.ver.indexOf("MSIE 11")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ie=this.ie4||this.ie5||this.ie6||this.ie7||this.ie8||this.ie9||this.ie10||this.ie11 this.mac=this.agent.indexOf("Mac")>-1 this.opera5=this.agent.indexOf("Opera 5")>-1 this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie11 || this.ie10 || this.ie9 || this.ie8 || this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom) return this } var bw=new lib_bwcheck() //Making browsercheck object var mDebugging=2 oCMenu=new makeCoolMenu("oCMenu") oCMenu.useframes=0 oCMenu.frame="" oCMenu.useNS4links=1 oCMenu.checkselect=0 oCMenu.offlineUrl="" oCMenu.onlineUrl="" oCMenu=new makeCoolMenu("oCMenu") oCMenu.usebar=1 oCMenu.barinheritborder=1 oCMenu.rows=0 oCMenu.barcolor="#F1DFA0" oCMenu.barwidth=150 oCMenu.barheight=760 oCMenu.barx=3 oCMenu.bary=300 oCMenu.fromleft=3 oCMenu.fromtop=290 oCMenu.pxbetween=1 oCMenu.menuplacement= oCMenu.level[0]=new Array() oCMenu.level[0].width=150 oCMenu.level[0].height=20 oCMenu.level[0].bgcoloroff="#F1DFA0" oCMenu.level[0].bgcoloron="#F1DFA0" oCMenu.level[0].textcolor="#cc3300" oCMenu.level[0].hovercolor="#ff6600" oCMenu.level[0].style="font-family:verdana,arial,helvetica,sans-serif; font-size:14px; font-weight:bold; text-align:right; vertical-align:bottom; font-size:13px;font-weight;bold;" oCMenu.level[0].border=0 oCMenu.level[0].bordercolor="#cc3300" oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=0 oCMenu.level[0].NS4font="Arial" oCMenu.level[0].NS4fontSize="2" oCMenu.level[0].NS4fontColor="cc3300" oCMenu.level[0].align="right" oCMenu.level[0].clip=1 oCMenu.level[0].clippx= 20 oCMenu.level[0].cliptim= 10 oCMenu.level[1]=new Array() oCMenu.level[1].width=200 oCMenu.level[1].height=17 oCMenu.level[1].bgcoloroff="#cc3300" oCMenu.level[1].bgcoloron="#cc3300" oCMenu.level[1].textcolor="#ffffff" oCMenu.level[1].hovercolor="#ff6600" oCMenu.level[1].style="font-family:verdana,arial,helvetica,sans-serif; font-size:12px; font-weight:bold; text-align:left;" oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=0 oCMenu.level[1].border=1 oCMenu.level[1].bordercolor="ffffff" oCMenu.level[1].NS4font="Arial" oCMenu.level[1].NS4fontSize="2" oCMenu.level[1].NS4fontColor="ffffff" oCMenu.makeMenu('top40','',' SPECIAL OFFERS','http://www.pvgc2.co.uk/main.asp?category=SPECIAL+OFFERS','') oCMenu.makeMenu('sub229','top40','General Gardening','http://www.pvgc2.co.uk/products.asp?category=SPECIAL+OFFERS&subcategory=General+Gardening') oCMenu.makeMenu('sub230','top40','Gifts','http://www.pvgc2.co.uk/products.asp?category=SPECIAL+OFFERS&subcategory=Gifts') oCMenu.makeMenu('sub231','top40','Greenhouses','http://www.pvgc2.co.uk/products.asp?category=SPECIAL+OFFERS&subcategory=Greenhouses') oCMenu.makeMenu('sub232','top40','Plant Care','http://www.pvgc2.co.uk/products.asp?category=SPECIAL+OFFERS&subcategory=Plant+Care') oCMenu.makeMenu('sub233','top40','Tools','http://www.pvgc2.co.uk/products.asp?category=SPECIAL+OFFERS&subcategory=Tools') oCMenu.makeMenu('sub234','top40','Watering','http://www.pvgc2.co.uk/products.asp?category=SPECIAL+OFFERS&subcategory=Watering') oCMenu.makeMenu('top2','',' Aggregates','http://www.pvgc2.co.uk/main.asp?category=Aggregates','') oCMenu.makeMenu('sub2','top2','Bulk Bags','http://www.pvgc2.co.uk/products.asp?category=Aggregates&subcategory=Bulk+Bags') oCMenu.makeMenu('sub261','top2','Sand','http://www.pvgc2.co.uk/products.asp?category=Aggregates&subcategory=Sand') oCMenu.makeMenu('sub3','top2','Slates & Cobbles','http://www.pvgc2.co.uk/products.asp?category=Aggregates&subcategory=Slates+%26+Cobbles') oCMenu.makeMenu('sub4','top2','Stones & Chips','http://www.pvgc2.co.uk/products.asp?category=Aggregates&subcategory=Stones+%26+Chips') oCMenu.makeMenu('top6','',' Covers and Bags','http://www.pvgc2.co.uk/main.asp?category=Covers+and+Bags','') oCMenu.makeMenu('sub9','top6','Bags and Sheets','http://www.pvgc2.co.uk/products.asp?category=Covers+and+Bags&subcategory=Bags+and+Sheets') oCMenu.makeMenu('sub10','top6','Protective Covers','http://www.pvgc2.co.uk/products.asp?category=Covers+and+Bags&subcategory=Protective+Covers') oCMenu.makeMenu('top7','',' Darlac Tools','http://www.pvgc2.co.uk/main.asp?category=Darlac+Tools','') oCMenu.makeMenu('sub11','top7','Implements','http://www.pvgc2.co.uk/products.asp?category=Darlac+Tools&subcategory=Implements') oCMenu.makeMenu('sub12','top7','Loppers','http://www.pvgc2.co.uk/products.asp?category=Darlac+Tools&subcategory=Loppers') oCMenu.makeMenu('sub13','top7','Maintenance','http://www.pvgc2.co.uk/products.asp?category=Darlac+Tools&subcategory=Maintenance') oCMenu.makeMenu('sub14','top7','Pruners & Secateurs','http://www.pvgc2.co.uk/products.asp?category=Darlac+Tools&subcategory=Pruners+%26+Secateurs') oCMenu.makeMenu('sub15','top7','Shears','http://www.pvgc2.co.uk/products.asp?category=Darlac+Tools&subcategory=Shears') oCMenu.makeMenu('sub16','top7','Sprinklers','http://www.pvgc2.co.uk/products.asp?category=Darlac+Tools&subcategory=Sprinklers') oCMenu.makeMenu('top8','',' Raymond Evison Clematis','http://www.pvgc2.co.uk/main.asp?category=Raymond+Evison+Clematis','') oCMenu.makeMenu('sub17','top8','Boulevard Gift','http://www.pvgc2.co.uk/products.asp?category=Raymond+Evison+Clematis&subcategory=Boulevard+Gift') oCMenu.makeMenu('sub286','top8','Garden Ready','http://www.pvgc2.co.uk/products.asp?category=Raymond+Evison+Clematis&subcategory=Garden+Ready') oCMenu.makeMenu('top9','',' Felco Tools','http://www.pvgc2.co.uk/main.asp?category=Felco+Tools','') oCMenu.makeMenu('sub20','top9','Secateurs','http://www.pvgc2.co.uk/products.asp?category=Felco+Tools&subcategory=Secateurs') oCMenu.makeMenu('sub21','top9','Spares','http://www.pvgc2.co.uk/products.asp?category=Felco+Tools&subcategory=Spares') oCMenu.makeMenu('top41','',' Garden Machinery','http://www.pvgc2.co.uk/main.asp?category=Garden+Machinery','') oCMenu.makeMenu('sub270','top41','Blower Vacs','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Blower+Vacs') oCMenu.makeMenu('sub271','top41','Brushcutter Attachments','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Brushcutter+Attachments') oCMenu.makeMenu('sub272','top41','Brushcutters Enviro Pro','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Brushcutters+Enviro+Pro') oCMenu.makeMenu('sub273','top41','Brushcutters Professional','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Brushcutters+Professional') oCMenu.makeMenu('sub274','top41','Chainsaws Petrol','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Chainsaws+Petrol') oCMenu.makeMenu('sub275','top41','Chainsaws Professional','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Chainsaws+Professional') oCMenu.makeMenu('sub276','top41','Chainsaws Single Hand','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Chainsaws+Single+Hand') oCMenu.makeMenu('sub277','top41','Garden Tractors','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Garden+Tractors') oCMenu.makeMenu('sub278','top41','Garden Tractors HD','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Garden+Tractors+HD') oCMenu.makeMenu('sub279','top41','Hedgetrimmers Petrol','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Hedgetrimmers+Petrol') oCMenu.makeMenu('sub280','top41','Lawnmowers Electric','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Lawnmowers+Electric') oCMenu.makeMenu('sub281','top41','Lawnmowers HD','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Lawnmowers+HD') oCMenu.makeMenu('sub282','top41','Lawnmowers Petrol','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Lawnmowers+Petrol') oCMenu.makeMenu('sub283','top41','Lawnmowers Ride-on','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Lawnmowers+Ride%2Don') oCMenu.makeMenu('sub284','top41','Shredders Electric','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Shredders+Electric') oCMenu.makeMenu('sub285','top41','Strimmers Electric','http://www.pvgc2.co.uk/products.asp?category=Garden+Machinery&subcategory=Strimmers+Electric') oCMenu.makeMenu('top13','',' Gardening Gloves','http://www.pvgc2.co.uk/main.asp?category=Gardening+Gloves','') oCMenu.makeMenu('sub57','top13','Ladies Gloves','http://www.pvgc2.co.uk/products.asp?category=Gardening+Gloves&subcategory=Ladies+Gloves') oCMenu.makeMenu('sub58','top13','Mens Gloves','http://www.pvgc2.co.uk/products.asp?category=Gardening+Gloves&subcategory=Mens+Gloves') oCMenu.makeMenu('top14','',' Gas Products','http://www.pvgc2.co.uk/main.asp?category=Gas+Products','') oCMenu.makeMenu('sub59','top14','Butane Regulators','http://www.pvgc2.co.uk/products.asp?category=Gas+Products&subcategory=Butane+Regulators') oCMenu.makeMenu('sub60','top14','Propane Regulators','http://www.pvgc2.co.uk/products.asp?category=Gas+Products&subcategory=Propane+Regulators') oCMenu.makeMenu('top15','',' General Gardening','http://www.pvgc2.co.uk/main.asp?category=General+Gardening','') oCMenu.makeMenu('sub61','top15','Clearing Up','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Clearing+Up') oCMenu.makeMenu('sub62','top15','Fixtures & Fittings','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Fixtures+%26+Fittings') oCMenu.makeMenu('sub63','top15','Garden Help','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Garden+Help') oCMenu.makeMenu('sub64','top15','Garden Kneelers','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Garden+Kneelers') oCMenu.makeMenu('sub65','top15','Pest Control','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Pest+Control') oCMenu.makeMenu('sub67','top15','Specialist','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Specialist') oCMenu.makeMenu('sub68','top15','Thermometers','http://www.pvgc2.co.uk/products.asp?category=General+Gardening&subcategory=Thermometers') oCMenu.makeMenu('top16','',' Gifts','http://www.pvgc2.co.uk/main.asp?category=Gifts','') oCMenu.makeMenu('sub69','top16','Garden Gift Packs','http://www.pvgc2.co.uk/products.asp?category=Gifts&subcategory=Garden+Gift+Packs') oCMenu.makeMenu('top17','',' Greenhouses','http://www.pvgc2.co.uk/main.asp?category=Greenhouses','') oCMenu.makeMenu('sub70','top17','Accessories','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Accessories') oCMenu.makeMenu('sub253','top17','Bases','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Bases') oCMenu.makeMenu('sub72','top17','Cold Frames','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Cold+Frames') oCMenu.makeMenu('sub254','top17','Lean-tos','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Lean%2Dtos') oCMenu.makeMenu('sub255','top17','Magnum','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Magnum') oCMenu.makeMenu('sub75','top17','Mini Greenhouses','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Mini+Greenhouses') oCMenu.makeMenu('sub256','top17','Popular','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Popular') oCMenu.makeMenu('sub257','top17','Supreme','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Supreme') oCMenu.makeMenu('sub258','top17','Universal','http://www.pvgc2.co.uk/products.asp?category=Greenhouses&subcategory=Universal') oCMenu.makeMenu('top18','',' Hanging Baskets','http://www.pvgc2.co.uk/main.asp?category=Hanging+Baskets','') oCMenu.makeMenu('sub79','top18','Coco Liners','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Coco+Liners') oCMenu.makeMenu('sub80','top18','Fibre Liners','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Fibre+Liners') oCMenu.makeMenu('sub81','top18','Gothic Baskets','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Gothic+Baskets') oCMenu.makeMenu('sub82','top18','Heavy Duty Brackets','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Heavy+Duty+Brackets') oCMenu.makeMenu('sub83','top18','Moss Liners','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Moss+Liners') oCMenu.makeMenu('sub84','top18','Natural Baskets','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Natural+Baskets') oCMenu.makeMenu('sub85','top18','Patio Extras','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Patio+Extras') oCMenu.makeMenu('sub86','top18','Sisa Liners','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Sisa+Liners') oCMenu.makeMenu('sub87','top18','Standard Brackets','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Standard+Brackets') oCMenu.makeMenu('sub88','top18','Traditional Baskets','http://www.pvgc2.co.uk/products.asp?category=Hanging+Baskets&subcategory=Traditional+Baskets') oCMenu.makeMenu('top19','',' HTA Vouchers','http://www.pvgc2.co.uk/main.asp?category=HTA+Vouchers','') oCMenu.makeMenu('sub89','top19','Gift Vouchers','http://www.pvgc2.co.uk/products.asp?category=HTA+Vouchers&subcategory=Gift+Vouchers') oCMenu.makeMenu('top20','',' Joseph Bentley Tools','http://www.pvgc2.co.uk/main.asp?category=Joseph+Bentley+Tools','') oCMenu.makeMenu('sub90','top20','Gardeners Apprentice','http://www.pvgc2.co.uk/products.asp?category=Joseph+Bentley+Tools&subcategory=Gardeners+Apprentice') oCMenu.makeMenu('sub236','top20','Traditional Range','http://www.pvgc2.co.uk/products.asp?category=Joseph+Bentley+Tools&subcategory=Traditional+Range') oCMenu.makeMenu('top21','',' Lawn Care','http://www.pvgc2.co.uk/main.asp?category=Lawn+Care','') oCMenu.makeMenu('sub92','top21','Complete Care','http://www.pvgc2.co.uk/products.asp?category=Lawn+Care&subcategory=Complete+Care') oCMenu.makeMenu('sub93','top21','Feed & Weed','http://www.pvgc2.co.uk/products.asp?category=Lawn+Care&subcategory=Feed+%26+Weed') oCMenu.makeMenu('sub94','top21','Lawn Feed','http://www.pvgc2.co.uk/products.asp?category=Lawn+Care&subcategory=Lawn+Feed') oCMenu.makeMenu('sub95','top21','Lawn Spreaders','http://www.pvgc2.co.uk/products.asp?category=Lawn+Care&subcategory=Lawn+Spreaders') oCMenu.makeMenu('sub96','top21','Lawn Weeding','http://www.pvgc2.co.uk/products.asp?category=Lawn+Care&subcategory=Lawn+Weeding') oCMenu.makeMenu('sub97','top21','Professional Lawn Care','http://www.pvgc2.co.uk/products.asp?category=Lawn+Care&subcategory=Professional+Lawn+Care') oCMenu.makeMenu('top22','',' Netting & Borders','http://www.pvgc2.co.uk/main.asp?category=Netting+%26+Borders','') oCMenu.makeMenu('sub98','top22','Border Fence','http://www.pvgc2.co.uk/products.asp?category=Netting+%26+Borders&subcategory=Border+Fence') oCMenu.makeMenu('sub99','top22','Galvanised Netting','http://www.pvgc2.co.uk/products.asp?category=Netting+%26+Borders&subcategory=Galvanised+Netting') oCMenu.makeMenu('sub100','top22','Galvanised Wire','http://www.pvgc2.co.uk/products.asp?category=Netting+%26+Borders&subcategory=Galvanised+Wire') oCMenu.makeMenu('sub101','top22','Log Roll','http://www.pvgc2.co.uk/products.asp?category=Netting+%26+Borders&subcategory=Log+Roll') oCMenu.makeMenu('top24','',' Organic Gardening','http://www.pvgc2.co.uk/main.asp?category=Organic+Gardening','') oCMenu.makeMenu('sub108','top24','Care of Lawns','http://www.pvgc2.co.uk/products.asp?category=Organic+Gardening&subcategory=Care+of+Lawns') oCMenu.makeMenu('sub109','top24','Clean the Garden','http://www.pvgc2.co.uk/products.asp?category=Organic+Gardening&subcategory=Clean+the+Garden') oCMenu.makeMenu('sub110','top24','Control of Animals','http://www.pvgc2.co.uk/products.asp?category=Organic+Gardening&subcategory=Control+of+Animals') oCMenu.makeMenu('sub111','top24','Control of Pests','http://www.pvgc2.co.uk/products.asp?category=Organic+Gardening&subcategory=Control+of+Pests') oCMenu.makeMenu('sub112','top24','Control of Slugs & Snails','http://www.pvgc2.co.uk/products.asp?category=Organic+Gardening&subcategory=Control+of+Slugs+%26+Snails') oCMenu.makeMenu('sub113','top24','Feed the Plants','http://www.pvgc2.co.uk/products.asp?category=Organic+Gardening&subcategory=Feed+the+Plants') oCMenu.makeMenu('top26','',' Plant Care','http://www.pvgc2.co.uk/main.asp?category=Plant+Care','') oCMenu.makeMenu('sub152','top26','All Purpose Feeding','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=All+Purpose+Feeding') oCMenu.makeMenu('sub153','top26','Animal Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Animal+Control') oCMenu.makeMenu('sub154','top26','Crawling Insect Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Crawling+Insect+Control') oCMenu.makeMenu('sub155','top26','Disease Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Disease+Control') oCMenu.makeMenu('sub156','top26','Ericaceous Feeding','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Ericaceous+Feeding') oCMenu.makeMenu('sub157','top26','Fruit & Vegetable Feeding','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Fruit+%26+Vegetable+Feeding') oCMenu.makeMenu('sub158','top26','Garden Cleaning','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Garden+Cleaning') oCMenu.makeMenu('sub159','top26','General Weed Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=General+Weed+Control') oCMenu.makeMenu('sub160','top26','Houseplant Care','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Houseplant+Care') oCMenu.makeMenu('sub161','top26','Pathclear Season Long','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Pathclear+Season+Long') oCMenu.makeMenu('sub162','top26','Pest Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Pest+Control') oCMenu.makeMenu('sub163','top26','Plant Spraying','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Plant+Spraying') oCMenu.makeMenu('sub164','top26','Resolva 24H Weedkiller','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Resolva+24H+Weedkiller') oCMenu.makeMenu('sub165','top26','Rodent Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Rodent+Control') oCMenu.makeMenu('sub166','top26','Rose Care','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Rose+Care') oCMenu.makeMenu('sub167','top26','Roundup Weed Killer','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Roundup+Weed+Killer') oCMenu.makeMenu('sub168','top26','Slug & Snail Control','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Slug+%26+Snail+Control') oCMenu.makeMenu('sub169','top26','Weedol Fast Acting','http://www.pvgc2.co.uk/products.asp?category=Plant+Care&subcategory=Weedol+Fast+Acting') oCMenu.makeMenu('top27','',' Potato Sacks','http://www.pvgc2.co.uk/main.asp?category=Potato+Sacks','') oCMenu.makeMenu('sub170','top27','Hessian Sacks','http://www.pvgc2.co.uk/products.asp?category=Potato+Sacks&subcategory=Hessian+Sacks') oCMenu.makeMenu('top28','',' Pots & Planters','http://www.pvgc2.co.uk/main.asp?category=Pots+%26+Planters','') oCMenu.makeMenu('sub171','top28','Budget Plant Pots','http://www.pvgc2.co.uk/products.asp?category=Pots+%26+Planters&subcategory=Budget+Plant+Pots') oCMenu.makeMenu('sub172','top28','Budget Saucers','http://www.pvgc2.co.uk/products.asp?category=Pots+%26+Planters&subcategory=Budget+Saucers') oCMenu.makeMenu('sub173','top28','Garden Pots','http://www.pvgc2.co.uk/products.asp?category=Pots+%26+Planters&subcategory=Garden+Pots') oCMenu.makeMenu('sub174','top28','Sill Trays','http://www.pvgc2.co.uk/products.asp?category=Pots+%26+Planters&subcategory=Sill+Trays') oCMenu.makeMenu('sub175','top28','Specialist Planters','http://www.pvgc2.co.uk/products.asp?category=Pots+%26+Planters&subcategory=Specialist+Planters') oCMenu.makeMenu('sub176','top28','Troughs','http://www.pvgc2.co.uk/products.asp?category=Pots+%26+Planters&subcategory=Troughs') oCMenu.makeMenu('top29','',' Propagation','http://www.pvgc2.co.uk/main.asp?category=Propagation','') oCMenu.makeMenu('sub177','top29','Cold Frames','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Cold+Frames') oCMenu.makeMenu('sub179','top29','Fibre Pots','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Fibre+Pots') oCMenu.makeMenu('sub178','top29','Growing Pots & Tubes','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Growing+Pots+%26+Tubes') oCMenu.makeMenu('sub180','top29','Perlite/Vermiculite','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Perlite%2FVermiculite') oCMenu.makeMenu('sub181','top29','Plant Labels','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Plant+Labels') oCMenu.makeMenu('sub182','top29','Plant Protection','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Plant+Protection') oCMenu.makeMenu('sub183','top29','Propagators','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Propagators') oCMenu.makeMenu('sub184','top29','Seed & Plug Trays','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Seed+%26+Plug+Trays') oCMenu.makeMenu('sub185','top29','Seed Tray Lids','http://www.pvgc2.co.uk/products.asp?category=Propagation&subcategory=Seed+Tray+Lids') oCMenu.makeMenu('top30','',' Seed Potatoes','http://www.pvgc2.co.uk/main.asp?category=Seed+Potatoes','') oCMenu.makeMenu('sub186','top30','Accessories','http://www.pvgc2.co.uk/products.asp?category=Seed+Potatoes&subcategory=Accessories') oCMenu.makeMenu('top32','',' Trugs','http://www.pvgc2.co.uk/main.asp?category=Trugs','') oCMenu.makeMenu('sub192','top32','South Down Trugs','http://www.pvgc2.co.uk/products.asp?category=Trugs&subcategory=South+Down+Trugs') oCMenu.makeMenu('top34','',' Water Butts','http://www.pvgc2.co.uk/main.asp?category=Water+Butts','') oCMenu.makeMenu('sub196','top34','Accessories','http://www.pvgc2.co.uk/products.asp?category=Water+Butts&subcategory=Accessories') oCMenu.makeMenu('sub197','top34','Stands','http://www.pvgc2.co.uk/products.asp?category=Water+Butts&subcategory=Stands') oCMenu.makeMenu('sub198','top34','Water Butts','http://www.pvgc2.co.uk/products.asp?category=Water+Butts&subcategory=Water+Butts') oCMenu.makeMenu('top35','',' Water Features','http://www.pvgc2.co.uk/main.asp?category=Water+Features','') oCMenu.makeMenu('sub199','top35','Easy Fountains','http://www.pvgc2.co.uk/products.asp?category=Water+Features&subcategory=Easy+Fountains') oCMenu.makeMenu('top36','',' Watering','http://www.pvgc2.co.uk/main.asp?category=Watering','') oCMenu.makeMenu('sub200','top36','Accessories','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Accessories') oCMenu.makeMenu('sub201','top36','Alternative watering','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Alternative+watering') oCMenu.makeMenu('sub203','top36','Auto Watering','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Auto+Watering') oCMenu.makeMenu('sub204','top36','Hose Fittings','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Hose+Fittings') oCMenu.makeMenu('sub205','top36','Hose Storage','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Hose+Storage') oCMenu.makeMenu('sub206','top36','Hoses','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Hoses') oCMenu.makeMenu('sub207','top36','Lance Guns','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Lance+Guns') oCMenu.makeMenu('sub208','top36','Spray Guns','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Spray+Guns') oCMenu.makeMenu('sub209','top36','Sprayers','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Sprayers') oCMenu.makeMenu('sub210','top36','Sprinklers','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Sprinklers') oCMenu.makeMenu('sub211','top36','Starter Sets','http://www.pvgc2.co.uk/products.asp?category=Watering&subcategory=Starter+Sets') oCMenu.makeMenu('top37','',' Wild Bird & Animal Care','http://www.pvgc2.co.uk/main.asp?category=Wild+Bird+%26+Animal+Care','') oCMenu.makeMenu('sub212','top37','Animal Care','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Animal+Care') oCMenu.makeMenu('sub213','top37','Bird Boxes','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Bird+Boxes') oCMenu.makeMenu('sub214','top37','Mealworm Feeders','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Mealworm+Feeders') oCMenu.makeMenu('sub215','top37','Mealworm Feeds','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Mealworm+Feeds') oCMenu.makeMenu('sub216','top37','Peanut Feeders','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Peanut+Feeders') oCMenu.makeMenu('sub217','top37','Peanut Feeds','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Peanut+Feeds') oCMenu.makeMenu('sub218','top37','Seed Feeders','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Seed+Feeders') oCMenu.makeMenu('sub219','top37','Seed Feeds','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Seed+Feeds') oCMenu.makeMenu('sub220','top37','Suet Feeders','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Suet+Feeders') oCMenu.makeMenu('sub221','top37','Suet Feeds','http://www.pvgc2.co.uk/products.asp?category=Wild+Bird+%26+Animal+Care&subcategory=Suet+Feeds') oCMenu.makeMenu('top38','',' Wildlife World','http://www.pvgc2.co.uk/main.asp?category=Wildlife+World','') oCMenu.makeMenu('sub222','top38','Bird Feed','http://www.pvgc2.co.uk/products.asp?category=Wildlife+World&subcategory=Bird+Feed') oCMenu.makeMenu('sub223','top38','Bird Nesters','http://www.pvgc2.co.uk/products.asp?category=Wildlife+World&subcategory=Bird+Nesters') oCMenu.makeMenu('sub224','top38','Cameras','http://www.pvgc2.co.uk/products.asp?category=Wildlife+World&subcategory=Cameras') oCMenu.makeMenu('sub225','top38','Insect Houses','http://www.pvgc2.co.uk/products.asp?category=Wildlife+World&subcategory=Insect+Houses') oCMenu.makeMenu('sub226','top38','Mammal Houses','http://www.pvgc2.co.uk/products.asp?category=Wildlife+World&subcategory=Mammal+Houses') oCMenu.makeMenu('top39','',' Wolf Tools','http://www.pvgc2.co.uk/main.asp?category=Wolf+Tools','') oCMenu.makeMenu('sub227','top39','Multichange Attachments','http://www.pvgc2.co.uk/products.asp?category=Wolf+Tools&subcategory=Multichange+Attachments') oCMenu.makeMenu('sub228','top39','Multichange Handles','http://www.pvgc2.co.uk/products.asp?category=Wolf+Tools&subcategory=Multichange+Handles') oCMenu.wait=1000 oCMenu.pagecheck=1 oCMenu.checkscroll=0 oCMenu.resizecheck=1 oCMenu.makeStyle(); oCMenu.construct() function cm_checkScrolled(obj){ if(bw.ns4 || bw.ns6) obj.scrolledY=obj.win.pageYOffset else obj.scrolledY=obj.win.document.body.scrollTop if(obj.scrolledY!=obj.lastScrolled){ if(!obj.useframes){ self.status=obj.scrolledY if(obj.scrolledY>119){ for(i=0;i