var menuMgr = new NlsMenuManager("mgr");
  menuMgr.defaultEffect="aoslide";
  menuMgr.flowOverFormElement=true;
  menuMgr.icPath="/styles/img/";
      
  var menuHome = menuMgr.createMenu("home");
  menuHome.showIcon = true;
  menuHome.absWidth="145px";
  menuHome.addItem("1", "Home", "/index.php", ["smallarr.gif"]);
  menuHome.addItem("2", "Kadar Adults", "/kadar-adults.php", ["smallarr.gif"]);
  menuHome.addItem("3", "Kadar Teens", "/kadar-teens.php", ["smallarr.gif"]);
  menuHome.dropShadow("none");
  
  var menuAbout = menuMgr.createMenu("about");
  menuAbout.showIcon = true;
  menuAbout.absWidth="190px";
  menuAbout.addItem("1", "Kadar Difference", "/braces-nj/about/about-kadar.php", ["smallarr.gif"]);
  menuAbout.addItem("2", "Dr. Tom", "/braces-nj/about/about-dr-tom.php", ["smallarr.gif"]);
  menuAbout.addItem("3", "Kadar Kares", "/braces-nj/about/about-community.php", ["smallarr.gif"], true, null, "education");
  menuAbout.addItem("4", "Team Kadar", "/braces-nj/about/about-team-kadar.php", ["smallarr.gif"]);
  menuAbout.dropShadow("none");
  
  var menuEdu = menuMgr.createMenu("education");
  menuEdu.showIcon = true;
  menuEdu.addItem("1", "Kadar in the Kommunity", "/braces-nj/about/about-community.php", ["smallarr.gif"]);
  menuEdu.addItem("2", "Kadar Karnival", "/braces-nj/fun/kadar-karnival.php", ["smallarr.gif"]);
  menuEdu.addItem("3", "Kadar Institute", "/braces-nj/about/about-institute.php", ["smallarr.gif"]);
  menuEdu.addItem("4", "Scholarship", "/braces-nj/about/about-scholarship.php", ["smallarr.gif"]);
  menuEdu.dropShadow("none");
  
  var menuOrtho = menuMgr.createMenu("ortho");
  menuOrtho.showIcon = true;
  menuOrtho.absWidth="160px";
  menuOrtho.addItem("1", "Systems", "/braces-nj/orthodontics/braces-orthodontics.php", ["smallarr.gif"], true, null, "systems");
  menuOrtho.addItem("2", "Orthodontic Process", "/braces-nj/orthodontics/braces-orthodontic-process.php", ["smallarr.gif"], true, null, "process");
  menuOrtho.addItem("3", "Actual Kadar Smiles", "/braces-nj/orthodontics/braces-gallery.php", ["smallarr.gif"]);
  menuOrtho.addItem("4", "Ask Dr.Tom/FAQs", "/braces-nj/orthodontics/braces-faq.php", ["smallarr.gif"]);
  menuOrtho.dropShadow("none");
  
  var menuSystems = menuMgr.createMenu("systems");
  menuSystems.showIcon = true;
  menuSystems.addItem("1", "Damon", "/braces-nj/orthodontics/braces-orthodontics.php#Damon-Braces", ["smallarr.gif"]);
  menuSystems.addItem("2", "Invisalign", "/braces-nj/orthodontics/braces-orthodontics.php#Invisalign", ["smallarr.gif"]);
  menuSystems.addItem("3", "OrthoCAD", "/braces-nj/orthodontics/braces-orthodontics.php#OrthoCAD", ["smallarr.gif"]);
  menuSystems.dropShadow("none");
  
  var menuProcess = menuMgr.createMenu("process");
  menuProcess.showIcon = true;
  menuProcess.addItem("1", "Before Braces", "/braces-nj/orthodontics/braces-pre-treatment.php", ["smallarr.gif"]);
  menuProcess.addItem("2", "During Treatment", "/braces-nj/orthodontics/braces-during-treatment.php", ["smallarr.gif"]);
  menuProcess.addItem("3", "Post Treatment", "/braces-nj/orthodontics/braces-post-treatment.php", ["smallarr.gif"]);
  menuProcess.dropShadow("none");


  var menuFun = menuMgr.createMenu("fun");
  menuFun.showIcon = true;
  menuFun.absWidth="140px";
  menuFun.addItem("1", "Current Contest", "/braces-nj/fun/fun-current-contest.php", ["smallarr.gif"]);
  menuFun.addItem("2", "Contest Winners", "/braces-nj/fun/fun-contest-winners.php", ["smallarr.gif"]);
  menuFun.addItem("3", "Games", "/braces-nj/fun/fun-games.php", ["smallarr.gif"]);
  menuFun.addItem("4", "Kadar Karnival", "/braces-nj/fun/kadar-karnival.php", ["smallarr.gif"]);
  menuFun.dropShadow("none");

  var menuSearch = menuMgr.createMenu("search");
  menuSearch.showIcon = true;
  menuSearch.absWidth="130px";
  menuSearch.addItem("1", "Search Kadar", "/braces-nj/search/search.php", ["smallarr.gif"]);
  menuSearch.addItem("2", "Sitemap", "/braces-nj/search/sitemap.php", ["smallarr.gif"]);
  menuSearch.dropShadow("none");
  
  var menuContact = menuMgr.createMenu("contact");
  menuContact.showIcon = true;
  menuContact.absWidth="145px";
  menuContact.addItem("1", "Contact Us", "/braces-nj/contact/contact-kadar.php", ["smallarr.gif"]);
  menuContact.addItem("2", "Map/Location", "/braces-nj/contact/contact-kadar-map.php", ["smallarr.gif"]);
  menuContact.addItem("3", "New Patient Signup", "/braces-nj/contact/new-patient-signup.php", ["smallarr.gif"]);
  menuContact.addItem("4", "Your Account", "https://www2.orthosesame.com/tpkadar/sesame/pi/index.cgi", ["smallarr.gif"]);
  menuContact.addItem("5", "Careers", "/braces-nj/contact/careers.php", ["smallarr.gif"]);
  menuContact.dropShadow("none");

  var menuBar = menuMgr.createMenubar("menubar");
  menuBar.stlprf="horz_";
  menuBar.orient = "H";
  menuBar.showIcon = true;
  menuBar.showSubIcon = false;
  menuBar.stretchItem=false;
  menuBar.absWidth="766px";
  menuBar.addItem("1", "Home", "/index.php", ["down.gif","downover.gif"], true, null, "home");
  menuBar.addSeparator();
  menuBar.addItem("2", "About Us", "/braces-nj/about/about-kadar.php", ["down.gif","downover.gif"], true, null, "about");
  menuBar.addSeparator();
  menuBar.addItem("3", "Orthodontics", "/braces-nj/orthodontics/braces-orthodontics.php", ["down.gif","downover.gif"], true, null, "ortho");
  menuBar.addSeparator();
  menuBar.addItem("4", "Fun", "/braces-nj/fun/fun-contest-winners.php", ["down.gif","downover.gif"], true, null, "fun");
  menuBar.addSeparator();
  menuBar.addItem("5", "Search", "/braces-nj/search/search.php", ["down.gif","downover.gif"], true, null, "search");
  menuBar.addSeparator();
  menuBar.addItem("6", "Contact Us", "/braces-nj/contact/contact-kadar.php", ["down.gif","downover.gif"], true, null, "contact");
  menuBar.dropShadow("none");
  
  function changeEffect(o) {
    menuMgr.defaultEffect=o.value;
    menuMgr.hideMenus();
    var it;
    for (it in menuMgr.menus) {
      if (o.value=="") {
        menuMgr.menus[it].effect=null;
      } else {
        menuMgr.menus[it].useEffect(menuMgr.defaultEffect);
      }
    }
  }

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_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];}
}

function openit1(sURL){
newwindow=open(sURL,"newwin1",
"scrollbars=no,toolbar=no,directories=no,menubar=no,resizable=no,status=no,width=442,height=391,left=80,top=80");
}