
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
onbgcolor="transparent"; 
offbgcolor="transparent"; 
oncolor="rgb(142, 2, 11)";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777, Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=0;
separatorpadding=2;
subimage="http://img.milonic.com/arrow.gif";
subimagepadding=2;
bgimage="/images/dropdown-normal.gif";
overbgimage="/images/dropdown-hover.gif";
itemheight=13;
}

with(menuStyle2=new mm_style()){
subimagepadding=2;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
padding=6;
itemheight=14;
oncolor="rgb(142, 2, 11)";
offcolor="#000000";
}
with(milonic=new menuname("Main Menu")){
				style=menuStyle2;alwaysvisible=1;
				orientation="horizontal";
aI("text=Home;url=index.php;offclass=mmoff;onclass=mmon;itemwidth=40;offclass=mmoff50;onclass=mmon50;");
aI("text=About Us;url=index.php?page=top_menu&menu_items_id=2&p=2;itemwidth=60;offclass=mmoff70;onclass=mmon70;");
aI("showmenu=Services;text=Services;url=index.php?page=top_menu&menu_items_id=3&p=3;itemwidth=55;offclass=mmoff65;onclass=mmon65;");
aI("text=Downloads;url=index.php?page=top_menu&menu_items_id=4&p=4;itemwidth=72;offclass=mmoff90;onclass=mmon90;");
aI("showmenu=Case Studies;text=Case Studies;url=index.php?page=top_menu&menu_items_id=5&p=5;itemwidth=85;offclass=mmoff95;onclass=mmon95;");;
aI("showmenu=Contact;text=Contact;url=index.php?page=spage&page_id=5;itemwidth=50;offclass=mmoff60;onclass=mmon60;");

}
with(milonic=new menuname("Services")){
				style=menuStyle;aI("showmenu=CCTV;text=CCTV;url=index.php?page=top_menu&menu_items_id=7&p=7");
aI("showmenu=Intruder Alarms;text=Intruder Alarms;url=index.php?page=top_menu&menu_items_id=9&p=9");
aI("showmenu=Access Control;text=Access Control;url=index.php?page=top_menu&menu_items_id=8&p=8");
aI("showmenu=Mosquito Anti-social units;text=Mosquito Anti-social units;url=index.php?page=top_menu&menu_items_id=13&p=13");
aI("showmenu=Remote Monitoring;text=Remote Monitoring;url=index.php?page=top_menu&menu_items_id=10&p=10");

}
with(milonic=new menuname("CCTV")){
				style=menuStyle;aI("showmenu=Cameras;text=Cameras;url=index.php?page=catalog&cPath=14_25");
aI("showmenu=Recorders;text=Recorders;url=index.php?page=catalog&cPath=14_28");
aI("showmenu=Accessories;text=Accessories;url=index.php?page=product_overview&products_id=27&cPath=14");
aI("showmenu=CCTV Software;text=CCTV Software;url=index.php?page=product_overview&products_id=16&cPath=14");

}
with(milonic=new menuname("Cameras")){
				style=menuStyle;aI("text=Indoor;url=index.php?page=catalog&cPath=14_25_26;");
aI("text=Outdoor;url=index.php?page=catalog&cPath=14_25_27;");
aI("text=Anti Vandal;url=index.php?page=catalog&cPath=14_25_29;");
aI("text=Pan / Tilt & Zoom;url=index.php?page=catalog&cPath=14_25_35;");
aI("text=Flir Thermal imaging;url=/index.php?page=catalog&cPath=14_25_45;");

}
with(milonic=new menuname("Recorders")){
				style=menuStyle;aI("showmenu=Networked;text=Networked;url=index.php?page=catalog&cPath=14_28_38");
aI("showmenu=Standalone;text=Standalone;url=index.php?page=catalog&cPath=14_28");

}
with(milonic=new menuname("Networked")){
				style=menuStyle;aI("text=4 Channel;url=index.php?page=product_overview&products_id=51&cPath=14_28_38;");
aI("text=8 Channel;url=index.php?page=product_overview&products_id=52&cPath=14_28_38;");
aI("text=16+ Channel;url=index.php?page=product_overview&products_id=53&cPath=14_28_38;");
aI("text=16+ Channel Pre;url=index.php?page=product_overview&products_id=54&cPath=14_28_38;");

}
with(milonic=new menuname("Standalone")){
				style=menuStyle;aI("text=4 Channel;url=index.php?page=product_overview&products_id=59&cPath=14_28_39;");
aI("text=9 Channel;url=index.php?page=product_overview&products_id=78&cPath=14_28_39;");
aI("text=16 Channel;url=index.php?page=product_overview&products_id=79&cPath=14_28_39;");

}
with(milonic=new menuname("Accessories")){
				style=menuStyle;aI("text=Display Monitors;url=index.php?page=product_overview&products_id=27&cPath=14;");

}
with(milonic=new menuname("CCTV Software")){
				style=menuStyle;aI("text=1-256 Camera;url=index.php?page=product_overview&products_id=16&cPath=14;");

}
with(milonic=new menuname("Intruder Alarms")){
				style=menuStyle;aI("text=Commercial;url=index.php?page=product_overview&products_id=76&cPath=16;");
aI("text=Domestic;url=index.php?page=product_overview&products_id=77&cPath=16;");

}
with(milonic=new menuname("Access Control")){
				style=menuStyle;aI("text=Standalone;url=index.php?page=product_overview&products_id=64&cPath=15;");
aI("text=Multi-door;url=index.php?page=product_overview&products_id=63&cPath=15;");
aI("text=High-volume;url=index.php?page=product_overview&products_id=65&cPath=15;");

}
with(milonic=new menuname("Mosquito Anti-social units")){
				style=menuStyle;aI("text=Mosquito MK3 - Teenage Deterrent;url=index.php?page=product_overview&products_id=75&cPath=17;");
aI("text=Mosquito MK4 - All Age Deterrent;url=index.php?page=product_overview&products_id=72&cPath=17;");
aI("text=Mini Mosquito;url=index.php?page=product_overview&products_id=87&cPath=17;");
aI("text=CSS Music Player;url=index.php?page=product_overview&products_id=89&cPath=17;");

}
with(milonic=new menuname("Remote Monitoring")){
				style=menuStyle;aI("text=24hr Monitoring;url=index.php?page=product_overview&products_id=73&cPath=;");
aI("text=Remote View;url=index.php?page=product_overview&products_id=16&cPath=14;");

}
with(milonic=new menuname("Case Studies")){
				style=menuStyle;aI("text=Client List;url=index.php?page=top_menu&menu_items_id=52&p=52;");

}
with(milonic=new menuname("Contact")){
				style=menuStyle;aI("text=Links;url=index.php?page=top_menu&menu_items_id=54&p=54;");

}
with(milonic=new menuname("ServicesNew")){
				style=menuStyle;aI("text=Your Home;url=index.php?page=top_menu&menu_items_id=63&p=63;");
aI("text=Your Business;url=index.php?page=top_menu&menu_items_id=64&p=64;");

}

 drawMenus();