/***************************************************************************** Default browsercheck - Leave this one ******************************************************************************/ function lib_bwcheck(){ //Browsercheck (needed) this.ver=navigator.appVersion; this.agent=navigator.userAgent this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ie=this.ie4||this.ie5||this.ie6 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.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="file:///C|/PC WORK/IC388 Hillyards/www.hillyards.co.uk/" oCMenu.onlineUrl="http://www.joparsons.com/hillyard/images/" oCMenu.pagecheck=0 oCMenu.checkscroll=0 oCMenu.resizecheck=1 oCMenu.wait=500 oCMenu.usebar=1 oCMenu.barcolor="transparent" oCMenu.barwidth="0" oCMenu.barheight="17" oCMenu.barx="menu" oCMenu.bary="menu" oCMenu.barinheritborder=0 oCMenu.rows=1 oCMenu.fromleft=0 oCMenu.fromtop=92 oCMenu.pxbetween=0 oCMenu.menuplacement=0 oCMenu.level[0]=new Array() oCMenu.level[0].width=105 oCMenu.level[0].height=18 oCMenu.level[0].bgcoloroff="transparent" oCMenu.level[0].bgcoloron="transparent" oCMenu.level[0].textcolor="#FFFFFF" oCMenu.level[0].hovercolor="#B20015" oCMenu.level[0].style="padding:3px; font-family:arial,helvetica,sans-serif; font-size:10px; font-weight:normal; text-align:right;" oCMenu.level[0].border=0 oCMenu.level[0].bordercolor="#CC0017" oCMenu.level[0].offsetX=-95 oCMenu.level[0].offsetY=18 oCMenu.level[0].align="right" oCMenu.level[0].NS4font="arial, helvetica, sans-serif" oCMenu.level[0].NS4fontSize="2" oCMenu.level[0].clip=1 //Set this to 1 if you want the submenus of this level to "slide" open in a animated clip effect. - Value: 0 || 1 oCMenu.level[0].clippx=15 //If you have clip specified you can set how many pixels it will clip each timer in here to control the speed of the animation. - Value: px oCMenu.level[0].cliptim=60 //This is the speed of the timer for the clip effect. Play with this and the clippx to get the desired speed for the clip effect (be carefull though and try and keep this value as high or possible or you can get problems with NS4). - Value: milliseconds //Filters - This can be used to get some very nice effect like fade, slide, stars and so on. EXPLORER5.5+ ONLY - If you set this to a value it will override the clip on the supported browsers oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" //VALUE: 0 || "filter specs" //oCMenu.level[0].align="left" //Value: "top" || "bottom" || "left" || "right" oCMenu.level[1]=new Array() oCMenu.level[1].width=260 oCMenu.level[1].height=20 oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=0 oCMenu.level[1].bgcoloroff="#F20017" oCMenu.level[1].bgcoloron="#B20015" oCMenu.level[1].textcolor="white" oCMenu.level[1].hovercolor="#F20017" oCMenu.level[1].style="padding:1px; padding-top:2px; font-family: arial, helvetica, sans-serif; font-size:11px; letter-spacing:1px; font-weight:normal" oCMenu.level[1].border=1 oCMenu.level[1].bordercolor="#CC0017" oCMenu.level[1].pxbetween=0 oCMenu.makeMenu('top0','','HOME   ','commercial.html ') oCMenu.makeMenu('top1','','SERVICES   ',' ') oCMenu.makeMenu('sub1','top1','  Boat Building','c_boatBuilding.html') oCMenu.makeMenu('sub2','top1','  Maintenance & Servicing','c_maintenance.html') oCMenu.makeMenu('sub3','top1','  Engineering','c_engineering.html') oCMenu.makeMenu('sub4','top1','  Repairs & Re-fits','c_repairs_refits.html') oCMenu.makeMenu('sub5','top1','  Painting & Finishing','c_painting.html') oCMenu.makeMenu('sub6','top1','  Osmosis Treatment','c_osmosis_treatment.html') oCMenu.makeMenu('sub7','top1','  Blast Cleaning Services','c_blast_cleaning.html') oCMenu.makeMenu('sub8','top1','  Metal Fabrication','c_metal_fabrication.html') oCMenu.makeMenu('sub11','top1','  Electrics','c_electrics.html') oCMenu.makeMenu('sub13','top1','  Survey & Insurance Work','c_survey_insurance.html') oCMenu.makeMenu('sub14','top1','  Collection & Delivery Service','c_collection_delivery.html') oCMenu.makeMenu('top2','','FACILITIES   ','c_facilities.html') oCMenu.makeMenu('top4','','THE TEAM   ','c_theteam.html') oCMenu.makeMenu('top5','','BOAT DESIGNS   ','c_boatdesigns.html') oCMenu.makeMenu('top7','',' CONTACT US   ','c_contactUs.html') oCMenu.makeStyle(); oCMenu.construct()