function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function switchLang(oldLang,newLang) {
	var newUrl;
	var oldUrl;

	oldLang='/' + oldLang + '/';
	newLang='/' + newLang + '/';
	oldUrl=document.location.href;
	newUrl=oldUrl.replace(oldLang,newLang);
	window.location.href=newUrl;
}

//Image preload pour le sous-menu
MM_preloadImages('../administrator/images/_menu/history-on.gif','../administrator/images/_menu/directions-on.gif','../administrator/images/_menu/links-on.gif','../administrator/images/_menu/news-on.gif','../administrator/images/_menu/services-on.gif','../administrator/images/_menu/els-on.gif','../administrator/images/_menu/registration-on.gif');

//Sous-menu du site

function mmLoadMenus() {
	
	//Services
	if (window.mm_menu_0210160258_0) return;
   window.mm_menu_0210160258_0 = new Menu("root",365,25,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#143951","#3E6E8C","center","middle",5,0,1000,-5,7,true,true,true,0,true,true);
   mm_menu_0210160258_0.addMenuItem("Job Search & Support / Recherche d'emploi &amp; aide","location='../services/job_search.shtm'");
   mm_menu_0210160258_0.addMenuItem("Career Counselling / Orientation professionnelle","location='../services/career.shtm'");
   mm_menu_0210160258_0.addMenuItem("Upcoming Workshops RU / Ateliers &agrave; venir","location='../services/workshops.shtm'");
   mm_menu_0210160258_0.addMenuItem("The Job Links / Les liens professionnels","location='../services/job_links.shtm'");
   mm_menu_0210160258_0.addMenuItem("Labour Market Info RU / Information sur le march&eacute; du travail","location='../services/labour_market.shtm'");
   mm_menu_0210160258_0.addMenuItem("Sample Interview Questions / Exemples de questions d'entrevue","location='../services/interview.shtm'");
   
   mm_menu_0210160258_0.fontWeight="bold";
   mm_menu_0210160258_0.hideOnMouseOut=true;
   mm_menu_0210160258_0.bgColor='#777777';
   mm_menu_0210160258_0.menuBorder=1;
   mm_menu_0210160258_0.menuLiteBgColor='#3E6E8C';
   mm_menu_0210160258_0.menuBorderBgColor='#666666';


	//News
	if (window.mm_menu_0210160257_0) return;
   window.mm_menu_0210160257_0 = new Menu("root",275,25,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#143951","#3E6E8C","center","middle",5,0,1000,-5,7,true,true,true,0,true,true);
   mm_menu_0210160257_0.addMenuItem("News and Notes RU / Nouvelles et notes","location='../news/news_notes.shtm'");
   mm_menu_0210160257_0.addMenuItem("Tools for Life / Outils pour la vie","location='../news/tools.shtm'");
   mm_menu_0210160257_0.addMenuItem("Bilan des Acquis / Bilan des acquis","location='../news/bilan.shtm'");
   mm_menu_0210160257_0.addMenuItem("SARCA / SARCA","location='../news/SARCA.shtm'");
   mm_menu_0210160257_0.addMenuItem("Literacy / Litt&eacute;ratie","location='../news/literacy.shtm'");
   mm_menu_0210160257_0.addMenuItem("Other / Autres","location='../news/other.shtm'");

   mm_menu_0210160257_0.fontWeight="bold";
   mm_menu_0210160257_0.hideOnMouseOut=true;
   mm_menu_0210160257_0.bgColor='#777777';
   mm_menu_0210160257_0.menuBorder=1;
   mm_menu_0210160257_0.menuLiteBgColor='#3E6E8C';
   mm_menu_0210160257_0.menuBorderBgColor='#666666';


	//Links
	if (window.mm_menu_0210160256_0) return;
   window.mm_menu_0210160256_0 = new Menu("root",325,25,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#143951","#3E6E8C","center","middle",5,0,1000,-5,7,true,true,true,0,true,true);
   mm_menu_0210160256_0.addMenuItem("Community Partners / Partenaires communautaires","location='../links/partners.shtm'");
   mm_menu_0210160256_0.addMenuItem("Employment-related Sites / Sites reli&eacute;s &agrave; l'emploi","location='../links/employment.shtm'");
   mm_menu_0210160256_0.addMenuItem("Government Services / Services gouvernementaux","location='../links/government.shtm'");
   mm_menu_0210160256_0.addMenuItem("Education Services / Services &eacute;ducatifs","location='../links/education.shtm'");
   mm_menu_0210160256_0.addMenuItem("Other / Autres","location='../links/other.shtm'");

   mm_menu_0210160256_0.fontWeight="bold";
   mm_menu_0210160256_0.hideOnMouseOut=true;
   mm_menu_0210160256_0.bgColor='#777777';
   mm_menu_0210160256_0.menuBorder=1;
   mm_menu_0210160256_0.menuLiteBgColor='#3E6E8C';
   mm_menu_0210160256_0.menuBorderBgColor='#666666';




mm_menu_0210160258_0.writeMenus();
mm_menu_0210160257_0.writeMenus();
mm_menu_0210160256_0.writeMenus();

} // mmLoadMenus()
