fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=20;
_menuOpenDelay=50;
_subOffsetTop=1;
_subOffsetLeft=1;


with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth="0";
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
padding="0";
pagebgcolor="#82B6D7";
pagecolor="white";
separatorcolor="#ffffff";
separatorsize="0";
subimage="";
subimagepadding="0";
}

with(menuStyle3=new mm_style()){
bgimage="/images/sub-off.gif";
oncolor="#ffffcc";
offcolor="#ffffcc";
bordercolor="#990066";
borderstyle="solid";
borderwidth="0";
separatorcolor="#999999";
separatorsize="0";
padding="0";
fontsize="9px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#004B72";
pagebgcolor="#e4e4e4";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimagepadding="2";
overbgimage="/images/sub-on.gif";
overfilter="RevealTrans(transition=6, duration=0.2);Alpha(opacity=100);Shadow(color='#333333', Direction=135, Strength=3)";
outfilter="RevealTrans(transition=7, duration=0.2)";
}

with(menuStyle1=new mm_style()){
onbgcolor="#990066";
oncolor="#ffffff";
offbgcolor="#990066";
offcolor="#000000";
bordercolor="#333333";
borderstyle="solid";
borderwidth="0";
separatorcolor="#999999";
separatorsize="0";
padding="2";
fontsize="8pt";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#004B72";
pagebgcolor="#990066";
headercolor="#000099";
headerbgcolor="990066";
subimagepadding="2";
itemwidth="100";
}

with(menuStyle2=new mm_style()){
bgimage="./images/sub-off.gif";
borderstyle="solid";
fontfamily="Franklin,Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
fontweight="bold";
imagepadding=0;
itemheight=20;
itemwidth=120;
offcolor="#ffffcc";
oncolor="#990066";
overbgimage="./images/sub-on.gif";
subimagepadding=0;
overfilter="RevealTrans(transition=6, duration=0.15);Alpha(opacity=100);Shadow(color='#333333', Direction=135, Strength=3)";
}

with(menuStyle4=new mm_style()){
bgimage="./images/sub-off.gif";
borderstyle="solid";
fontfamily="Verdana, Tahoma, Arial";
fontsize="70%";
fontstyle="normal";
fontweight="bold";
imagepadding=0;
itemheight=20;
itemwidth=120;
offcolor="#ffffcc";
oncolor="#990066";
overbgimage="./images/sub-on.gif";
subimagepadding=0;
overfilter="RevealTrans(transition=6, duration=0.15);Alpha(opacity=100);Shadow(color='#333333', Direction=135, Strength=3)";
outfilter="RevealTrans(transition=7, duration=0.20)";
}

with(menuStyle5=new mm_style()){
bgimage="./images/sub-off.gif";
borderstyle="solid";
fontfamily="Verdana, Tahoma, Arial";
fontsize="70%";
fontstyle="normal";
fontweight="bold";
imagepadding=0;
itemheight=20;
itemwidth=120;
offcolor="#ffffcc";
oncolor="#990066";
overbgimage="./images/sub-on.gif";
subimagepadding=0;
overfilter="RevealTrans(transition=6, duration=0.15);Alpha(opacity=100);Shadow(color='#333333', Direction=135, Strength=3)";
outfilter="RevealTrans(transition=7, duration=0.05)";
}
with(milonic=new menuname("p")){
style=menuStyle1;
orientation="vertical";
aI("type=header;image=./images/end-cap-left.gif;");
aI("showmenu=about;status=About Hidden Energy Limited;image=./images/about-b-1.gif;overimage=./images/about-b-2.gif;");
aI("type=header;image=./images/spacer.gif;");
aI("showmenu=geothermal;status=About Cadxtec;image=./images/geo-b-1.gif;overimage=./images/geo-b-2.gif;");
aI("type=header;image=./images/spacer.gif;");
aI("showmenu=contact;status=Contact Us;image=./images/contact-b-1.gif;overimage=./images/contact-b-2.gif;");
}


with(milonic=new menuname("train")){
style=menuStyle4;
aI("align=center;text=care training;url=javascript:openIFrame('I1','care-training.htm');;status=Care Training;");
aI("align=center;text=induction;url=javascript:openIFrame('I1','induction.htm');;status=Induction Training;");
aI("align=center;text=mandatory;;url=javascript:openIFrame('I1','mandatory.htm');;status=Mandatory Training;");
aI("align=center;text=course list;;url=javascript:openIFrame('I1','mandatory-development.htm');;status=mandatory and Development Training Courses;");
aI("align=center;text=facilities;;url=javascript:openIFrame('I1','training-facilities.htm');;status=Training Facilities;");
aI("align=center;text=schedule;;url=javascript:openIFrame('I1','schedule.htm');;status=Training Schedule;");
aI("align=center;text=train the trainer;;url=javascript:openIFrame('I1','trainer.htm');;status=Train the Trainer;");
}

with(milonic=new menuname("references")){
style=menuStyle4;
aI("showmenu=trainrefs;text=training;align=center;status=Training References;");
aI("align=center;text=NVQs;url=javascript:openIFrame('I1','ref-nvq.htm');status=NVQ References;");
}



with(milonic=new menuname("about")){
style=menuStyle4;
aI("align=center;text=about us;url=javascript:openIFrame('I1','about-us.htm');;status=About L.A.C.C.A.T;");
aI("align=center;text=awards;url=javascript:openIFrame('I1','awards.htm');;status=Awards;");
aI("align=center;text=home page;url=javascript:openIFrame('I1','initial-page.htm');;status=Home Page;");
}
with(milonic=new menuname("contact")){
style=menuStyle4;
aI("align=center;text=contact details;url=javascript:openIFrame('I1','contact.htm');;status=Contact Details;");
aI("align=center;text=local map;url=javascript:openIFrame('I1','local-map.htm');;status=Local Map;");
aI("align=center;text=regional map;url=javascript:openIFrame('I1','regional-map.htm');;status=Regional Map;");
}
with(milonic=new menuname("nvq")){
style=menuStyle4;
aI("align=center;text=qualifications;url=javascript:openIFrame('I1','qualifications.htm');;status=Recognised Qualifications;");
aI("align=center;text=general details;url=javascript:openIFrame('I1','nvq-general.htm');;status=NVQ General Details;");
aI("align=center;text=childrens care;showmenu=children;;status=Children's Care;");
aI("align=center;text=young people;showmenu=young;;status=Young People's Care;");
aI("align=center;text=adult care;showmenu=adult;;status=Adult Care;");
aI("align=center;text=assessor award;url=javascript:openIFrame('I1','a1-assessor-award.htm');;status=A1 Assessor Award;");
aI("align=center;text=verifier award;url=javascript:openIFrame('I1','v1-verifier-award.htm');;status=V1 Verifier Award;");
aI("align=center;text=managers award;url=javascript:openIFrame('I1','registered-managers-award.htm');;status=Registered Managers Award;");
aI("align=center;text=downloads;url=javascript:openIFrame('I1','nvq-downloads.htm');;status=Download NVQ Information;");
}
with(milonic=new menuname("children")){
style=menuStyle5;
aI("align=center;text=level 2;url=javascript:openIFrame('I1','nvq-child-level-2.htm');;status=Children's Care NVQ Level 2;");
aI("align=center;text=level 3;url=javascript:openIFrame('I1','nvq-child-level-3.htm');;status=Children's Care NVQ Level 3;");
aI("align=center;text=level 4;url=javascript:openIFrame('I1','nvq-child-level-4.htm');;status=Children's Care NVQ Level 4;");
}
with(milonic=new menuname("young")){
style=menuStyle5;
aI("align=center;text=level 3;url=javascript:openIFrame('I1','nvq-young-level-3.htm');;status=Young People's Care NVQ Level 3;");
aI("align=center;text=level 4;url=javascript:openIFrame('I1','nvq-young-level-4.htm');;status=Young People's Care NVQ Level 4;");
}
with(milonic=new menuname("adult")){
style=menuStyle5;
aI("align=center;text=level 2;url=javascript:openIFrame('I1','nvq-adult-level-2.htm');;status=Adult Care NVQ Level 2;");
aI("align=center;text=level 3;url=javascript:openIFrame('I1','nvq-adult-level-3.htm');;status=Adult Care NVQ Level 3;");
aI("align=center;text=level 4;url=javascript:openIFrame('I1','nvq-adult-level-4.htm');;status=Adult care NVQ Level 4;");
}
with(milonic=new menuname("trainrefs")){
style=menuStyle4;
aI("align=center;text=managers;url=javascript:openIFrame('I1','ref-managers.htm');status=Managers References;");
aI("align=center;text=students;url=javascript:openIFrame('I1','ref-students.htm');status=Student References;");
}


drawMenus();

