
function mmLoadMenus() {

  //mm_menu_ic.writeMenus();

  if (window.mm_menu_fa) return;
  window.mm_menu_fa = new Menu("root",150,20,"Arial, Verdana, Helvetica, sans-serif",12,"#ffffff","#ffffff","#ce6633","#990134","right","middle",5,0,150,-5,7,true,false,true,0,true,true);
  mm_menu_fa.addMenuItem("&#25216;&#26415;&#31867;&#31227;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/canada-immigration-skilled-worker.html'");
  mm_menu_fa.addMenuItem("&#25237;&#36164;&#31227;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/invest-in-canada.html#investors'");
  mm_menu_fa.addMenuItem("&#20225;&#19994;&#23478;&#31227;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/invest-in-canada.html#entrepreneurs'");
  mm_menu_fa.addMenuItem("&#33258;&#38599;&#31227;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/invest-in-canada.html#self_employed'");
   mm_menu_fa.addMenuItem("&#30465;&#20869;&#25552;&#21517;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/provincial-nominees.html'");
   mm_menu_fa.hideOnMouseOut=true;
   mm_menu_fa.menuBorder=0;
   mm_menu_fa.menuLiteBgColor='#ce6633';
   mm_menu_fa.menuBorderBgColor='#003366';
   mm_menu_fa.bgColor='#ce6633';

 if (window.mm_menu_fr) return;
  window.mm_menu_fr = new Menu("root",220,20,"Arial, Verdana, Helvetica, sans-serif",12,"#ffffff","#ffffff","#ce6633","#990134","right","middle",5,0,150,-5,7,true,false,true,0,true,true);
  mm_menu_fr.addMenuItem("Skilled Worker and Self-Employed&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='https://www.matthewjeffery.com/swse_form.html'");
  mm_menu_fr.addMenuItem("Investor and Entrepreneur&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='https://www.matthewjeffery.com/ie_form.html'");
  mm_menu_fr.addMenuItem("Family Class&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='https://www.matthewjeffery.com/fc_form.html'");
   mm_menu_fr.hideOnMouseOut=true;
   mm_menu_fr.menuBorder=0;
   mm_menu_fr.menuLiteBgColor='#ce6633';
   mm_menu_fr.menuBorderBgColor='#003366';
   mm_menu_fr.bgColor='#ce6633';
   
  if (window.mm_menu_te) return;
  window.mm_menu_te = new Menu("root",120,20,"Arial, Verdana, Helvetica, sans-serif",12,"#ffffff","#ffffff","#ce6633","#990134","right","middle",5,0,150,-5,7,true,false,true,0,true,true);
  mm_menu_te.addMenuItem("&#26053;&#28216;&#35775;&#38382;&#31614;&#35777;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/canada-visitor-visa.html'");
  mm_menu_te.addMenuItem("&#23398;&#29983;&#31614;&#35777;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/student-visa-canada.html'");
  mm_menu_te.addMenuItem("&#24037;&#20316;&#31614;&#35777;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/work-permit-canada.html'");  
  mm_menu_te.hideOnMouseOut=true;
  mm_menu_te.menuBorder=0;
  mm_menu_te.menuLiteBgColor='#ce6633';
  mm_menu_te.menuBorderBgColor='#003366';
  mm_menu_te.bgColor='#ce6633';
  
   if (window.mm_menu_re) return;
  window.mm_menu_re = new Menu("root",170,20,"Arial, Verdana, Helvetica, sans-serif",12,"#ffffff","#ffffff","#ce6633","#990134","right","middle",5,0,150,-5,7,true,false,true,0,true,true);
  mm_menu_re.addMenuItem("&#22659;&#20869;&#30003;&#25253;&#38590;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/refugees.html#rc'");
  mm_menu_re.addMenuItem("&#36820;&#22238;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/refugees.html#pr'");
  mm_menu_re.addMenuItem("&#20154;&#36947;&#31227;&#27665;&#30340;&#30003;&#35831;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/refugees.html#hc'");
  mm_menu_re.addMenuItem("&#34987;&#25285;&#20445;&#30340;&#38590;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/refugees.html#sr'");
  mm_menu_re.addMenuItem("&#28023;&#22806;&#38590;&#27665;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/refugees.html#ra'");
  mm_menu_re.hideOnMouseOut=true;
  mm_menu_re.menuBorder=0;
  mm_menu_re.menuLiteBgColor='#ce6633';
  mm_menu_re.menuBorderBgColor='#003366';
  mm_menu_re.bgColor='#ce6633';
   
  if (window.mm_menu_ap) return;
  window.mm_menu_ap = new Menu("root",115,20,"Arial, Verdana, Helvetica, sans-serif",12,"#ffffff","#ffffff","#ce6633","#990134","right","middle",5,0,150,-5,7,true,false,true,0,true,true);
  mm_menu_ap.addMenuItem("&#19978;&#35785;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/appeals_hearings.html#appeals'");
  mm_menu_ap.addMenuItem("&#21450;&#32838;&#35759;&nbsp;<img src=\"images/subnavbtn.gif\" width=\"6\" height=\"6\" align=\"middle\" border=\"0\" hspace=\"5\">","location='http://www.matthewjeffery.com/cn/appeals_hearings.html#admissibility'");  
  mm_menu_ap.hideOnMouseOut=true;
  mm_menu_ap.menuBorder=0;
  mm_menu_ap.menuLiteBgColor='#ce6633';
  mm_menu_ap.menuBorderBgColor='#003366';
  mm_menu_ap.bgColor='#ce6633';
   
  writeMenus();

} // mmLoadMenus()


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_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_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_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];}
}
