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 (TopMenuStyle=new mm_style()) {
styleid=1;	
bordercolor="#ACABAB";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
if (screen.width <800) {
  alert("This web page is best viewed with a screen width resolution of 1024x768. However, we support screen width resolutions of 800x600, 1024x728, 1280x1024. Your current screen width resolution is "+screen.width+".  Your pages may not display properly.  If possible please change your resolution. Your pages may not display properly.");
  fontsize="0.69em";
  image="images/square_dust.jpg";
  overimage="images/square_blue.jpg";
  imagepadding=2;  
}
else if (screen.width ==800) {
  fontsize="0.69em";
  image="images/square_dust.jpg";
  overimage="images/square_blue.jpg";
  imagepadding=2;
}
else if (screen.width <=1024) {
  fontsize="0.80em";
  image="images/square_dust.jpg";
  overimage="images/square_blue.jpg";
  imagepadding=6;
}
else if (screen.width <=1280) {
  fontsize="1.13em";
  image="images/square_dust.jpg";
  overimage="images/square_blue.jpg";
  imagepadding=6;
}
else if (screen.width >1280) {
  alert("This web page is best viewed with a screen width resolution of 1024x768. However, we support screen width resolutions of 800x600, 1024x728, 1280x1024. Your current screen width resolution is "+screen.width+".  Your pages may not display properly.  If possible please change your resolution. Your pages may not display properly.");
  fontsize="1.13em";
  image="images/square_dust.jpg";
  overimage="images/square_blue.jpg";
  imagepadding=2; 
}
fontstyle="normal";
fontweight="bold";
offbgcolor="#2693CC";
offcolor="#ffffff";
onbgcolor="#82B6D7";
oncolor="#0000ff";
outfilter="Fade(Overlap=1.00)";
padding=5;
separatorsize=0;
subimagepadding=8;
}	

with(LeftMenuStyle=new mm_style()){
styleid=2;
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
if (screen.width <=800) {
   fontsize="0.56em";
}
else if (screen.width <=1024) {
  fontsize="0.75em";	
}
else if (screen.width <=1280) {
  fontsize="1.00em";	
}
else if (screen.width >1280) {
	fontsize="1.00em";	
}
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#202f4e";
offcolor="#ffffff";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#2693cc&acute;, Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
styleid=3;
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
if (screen.width <=800) {
  fontsize="0.56em";
  overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777&acute;, Direction=135, Strength=5)";
  offcolor="#515151";
}
else if (screen.width <=1024) {
  fontsize="0.75em";	
  overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777&acute;, Direction=135, Strength=5)";
  offcolor="#515151";
}
else if (screen.width <=1280) {
  fontsize="1.00em";	
  overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777&acute;, Direction=135, Strength=5)";
  offcolor="#515151";
}
else if (screen.width >1280) {
  fontsize="1.00em";	
  overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777&acute;, Direction=135, Strength=5)";
  offcolor="#515151";
}
fontstyle="normal";
headerbgcolor="#4F8EB6";
headercolor="#ffffff";
offbgcolor="#DCE9F0";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimagepadding=2;
}

with(milonic=new menuname("Top Menu")){
alwaysvisible=1;
overflow="scroll";
screenposition="left";
if (screen.width <=800) {
  left=215;
  top=72;
}
else if (screen.width <=1024) {
  left=260;
  top=90;
}
else if (screen.width <=1280) {
  left=350;
  top=110;
}
else if (screen.width >1280) {
  left=350;
  top=110;
}
orientation="horizontal";
style=TopMenuStyle;
aI("text=Accueil;url=fr/indexfr.php;");
aI("text=Comment utiliser notre site Web;url=fr/menubar/howtouse.php;");
aI("text=Pour nous joindre;url=fr/contact/wnghcontact.php;");
aI("text=English;url=eng/indexen.php;");
}

with(milonic=new menuname("Left Menu")){
alwaysvisible=1;
orientation="vertcal";
style=LeftMenuStyle;
screenposition="left";
left="offset=+5";
if (screen.width <=800) {
  top=140;
}
else if (screen.width <=1024) {
  top=175;  
}
else if (screen.width <=1280) {
  top=200;
}
else if (screen.width >1280) {
  top=200;
}
aI("showmenu=AboutUs;text=À notre sujet");
aI("showmenu=PatientInfo;text=Renseignements destinés <br> aux patients et aux visiteurs;");
aI("showmenu=Career;text=Possibilités de carrière;");
aI("showmenu=Reporting;text=Rapports publics;");
aI("showmenu=Links;text=Liens d'intérêt;");
aI("text=Commentaires sur le site Web;url=fr/contact/webfeedback.php;");
}

with(milonic=new menuname("AboutUs")){
left="offset=15";
style=submenuStyle;
aI("align=center;text=À notre sujet;type=header;");
aI("image=images/goingdown.jpg;itemheight=15;type=header;");
aI("text=Accessibilité;url=fr/accessibility/accessibility.php;");
aI("text=Direction;url=fr/about_us/board.php;");
aI("text=Message de la présidente;url=fr/about_us/boardchair.php");
aI("text=Message de la directrice général;url=fr/about_us/execdir.php;");
aI("text=Message du médecin-chef;url=fr/about_us/cos.php");
aI("text=Notre vision;url=fr/about_us/vision.php;");
aI("text=Orientations stratégiques;url=fr/about_us/strategic.php;");
aI("text=Rapport annuel ;url=fr/about_us/annuel.php;");
}

with(milonic=new menuname("Links")){
left="offset=15";
style=submenuStyle;
aI("align=center;text=Liens d'intérêt;type=header;");
aI("image=images/goingdown.jpg;itemheight=15;type=header;");
aI("target=_new;text=Drogue et alcool - Répertoire de traitements;url=http://www.dart.on.ca/indexfr.htm;");
aI("target=_new;text=Réseau local d'intégration des services de santé (RLISS) ;url=http://www.lhins.on.ca/home.aspx?LangType=3084;");
aI("target=_new;text=Service Info Santé mentale Ontario;url=http://www.mhsio.on.ca/indexfr.html;");
aI("target=_new;text=Ministère de la Santé et des Soins de longue durée;url=http://www.health.gov.on.ca/indexf.html;");
aI("target=_new;text=Municipalité de Nipissing Ouest;url=http://www.westnipissingouest.ca/fr/home.html;");
aI("target=_new;text=Première nation de Nipissing;url=http://www.nfn.ca/home.php;");
aI("target=_new;text=La place des enfants;url=http://www.onekidsplace.ca/francais/home.html;");
aI("target=_new;text=Association des hôpitaux de l'Ontario;url=http://www.oha.com/;");
aI("target=_new;text=Réseau ontarien de l'entraide;url=http://www.selfhelp.on.ca/FR/index.html;");
aI("target=_new;text=Ligne ontarienne d'aide sur le jeu problématique;url=http://www.opgh.on.ca/Indexfr.html;");
aI("target=_new;text=Femmes en santé;url=http://www.femmesensante.ca/index.html;");
}

with(milonic=new menuname("PatientInfo")){
left="offset=15";
style=submenuStyle;
aI("align=center;text=Renseignements destinés aux patients et aux visiteurs;type=header;");
aI("image=images/goingdown.jpg;itemheight=15;type=header;");
aI("text=Vos renseignements personnels sur la sant&eacute;;url=fr/patient_info/personalhealthinfo.php;");
aI("text=La sécurité des patients;url=fr/patient_info/patientsafety.php;");
aI("text=Nos heures de visite;url=fr/patient_info/visithours.php;");
}

with(milonic=new menuname("Career")){
left="offset=15";
style=submenuStyle;
aI("align=center;text=Possibilités de carrière;type=header;");
aI("image=images/goingdown.jpg;itemheight=15;type=header;");
aI("text=Recrutement de m&eacute;decins!;url=fr/career/physicians.php;");
}

with(milonic=new menuname("Programms")){
left="offset=15";
style=submenuStyle;
aI("align=center;text=Programmes et services;type=header;");
aI("image=images/goingdown.jpg;itemheight=15;type=header;");
aI("text=Ambulance;url=fr/programs_services/ambulance.php;");
aI("text=Centre du diab&egrave;te &#45; district de nipissing;url=fr/programs_services/dcnd.php;");
aI("text=Imagerie diagnostique;url=fr/programs_services/di.php;");
aI("text=Unit&eacute; de soins accrus;url=fr/programs_services/ecu.php;");
aI("text=Technologie de l&acute;information;url=fr/programs_services/it.php;");
aI("text=Laboratoire;url=fr/programs_services/lab.php;");
aI("text=T&eacute;l&eacute;m&eacute;decine - T&eacute;l&eacute;sant&eacute;;url=fr/programs_services/telmed.php;");
}

with(milonic=new menuname("Reporting")){
left="offset=15";
style=submenuStyle;
aI("align=center;text=Rapports publics;type=header;");
aI("image=images/goingdown.jpg;itemheight=15;type=header;");
aI("text=Clostridium Difficile (C. DIFFICILE);url=fr/reports/Cdifficile.php;");
aI("text=Entérococcus Résistant à la Vancomycine (ERV);url=fr/reports/erv.php;");
aI("text=Normalisé de Mortalité Hospitalière (RNMH);url=fr/reports/nrmh.php;");
aI("text=Staphylococcus Aureus Résistant à la Méthicilline (SARM);url=fr/reports/sarm.php;");
aI("text=Infection primaire liée aux cathéters intravasculaires centraux (CIC);url=fr/reports/cic.php;");
aI("text=Prévention des infections relatives au champ opératoire;url=fr/reports/ssi.php;");
aI("text=Pneumonie sous ventilation assistée (PVA);url=fr/reports/pva.php;");
aI("text=Respect de l'hygiène des mains par les fournisseurs de soins de santé;url=fr/reports/hcp.php;");
}


drawMenus();


