// JavaScript Document


function mmLoadMenus() {
  if (window.mm_menu_1011162723_0) return;
  window.mm_menu_1011162723_0 = new Menu("root",150,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
  mm_menu_1011162723_0.addMenuItem("Firm&nbsp;History","location='firm-history.php'");
  mm_menu_1011162723_0.addMenuItem("Offices","location='firm-offices.php'");
  mm_menu_1011162723_0.addMenuItem("Industry&nbsp;&&nbsp;Trade","location='firm-industries.php'");
   mm_menu_1011162723_0.fontWeight="bold";
   mm_menu_1011162723_0.hideOnMouseOut=true;
   mm_menu_1011162723_0.menuBorder=1;
   mm_menu_1011162723_0.menuLiteBgColor='#ffffff';
   mm_menu_1011162723_0.menuBorderBgColor='#cccccc';
   mm_menu_1011162723_0.bgColor='#cccccc';
  window.mm_menu_1011163601_1 = new Menu("root",150,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
  mm_menu_1011163601_1.addMenuItem("Gary&nbsp;N.&nbsp;Elkind","location='attorneys-elkind.php'");
  mm_menu_1011163601_1.addMenuItem("Anthony&nbsp;F.&nbsp;DiMento","location='attorneys-dimento.php'");
  mm_menu_1011163601_1.addMenuItem("Arykah&nbsp;Asheley ","location='attorneys-asheley.php'");
   mm_menu_1011163601_1.fontWeight="bold";
   mm_menu_1011163601_1.hideOnMouseOut=true;
   mm_menu_1011163601_1.menuBorder=1;
   mm_menu_1011163601_1.menuLiteBgColor='#ffffff';
   mm_menu_1011163601_1.menuBorderBgColor='#cccccc';
   mm_menu_1011163601_1.bgColor='#cccccc';
    window.mm_menu_1011163733_2_1 = new Menu("Business&nbsp;&&nbsp;Corporate",250,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,2,0,true,true,true,0,false,false);
    mm_menu_1011163733_2_1.addMenuItem("Small&nbsp;BusinessLaw","location='practice-business-small.php'");
    mm_menu_1011163733_2_1.addMenuItem("Corporations","location='practice-business-corporations.php'");
    mm_menu_1011163733_2_1.addMenuItem("Limited&nbsp;Liability&nbsp;Companies","location='practice-business-limited.php'");
    mm_menu_1011163733_2_1.addMenuItem("Construction&nbsp;Law","location='practice-business-construction.php'");
    mm_menu_1011163733_2_1.addMenuItem("Non&nbsp;Compete&nbsp;Agreements","location='practice-business-non.php'");
	mm_menu_1011163733_2_1.addMenuItem("Financing&nbsp;and&nbsp;Loan&nbsp;Transactions","location='practice-business-financing.php'");
	mm_menu_1011163733_2_1.addMenuItem("Business&nbsp;Development","location='practice-business-development.php'");
     mm_menu_1011163733_2_1.fontWeight="bold";
     mm_menu_1011163733_2_1.hideOnMouseOut=true;
     mm_menu_1011163733_2_1.menuBorder=1;
     mm_menu_1011163733_2_1.menuLiteBgColor='#ffffff';
     mm_menu_1011163733_2_1.menuBorderBgColor='#cccccc';
     mm_menu_1011163733_2_1.bgColor='#cccccc';
    window.mm_menu_1011163733_2_2 = new Menu("Personal&nbsp;Injury",189,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,2,0,true,true,true,0,false,false);
    mm_menu_1011163733_2_2.addMenuItem("Auto&nbsp;Accidents","location='practice-injury-auto.php'");
    mm_menu_1011163733_2_2.addMenuItem("Wrongful&nbsp;Death","location='practice-injury-death.php'");
    mm_menu_1011163733_2_2.addMenuItem("Negligence","location='practice-injury-negligence.php'");
    mm_menu_1011163733_2_2.addMenuItem("Slip&nbsp;&&nbsp;Falls","location='practice-injury-falls.php'");
    mm_menu_1011163733_2_2.addMenuItem("Dog&nbsp;Bites","location='practice-injury-dog.php'");
     mm_menu_1011163733_2_2.fontWeight="bold";
     mm_menu_1011163733_2_2.hideOnMouseOut=true;
     mm_menu_1011163733_2_2.menuBorder=1;
     mm_menu_1011163733_2_2.menuLiteBgColor='#ffffff';
     mm_menu_1011163733_2_2.menuBorderBgColor='#cccccc';
     mm_menu_1011163733_2_2.bgColor='#cccccc';
    window.mm_menu_1011163733_2_3 = new Menu("Employment&nbsp;Law",189,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,2,0,true,true,true,0,false,false);
    mm_menu_1011163733_2_3.addMenuItem("Sexual&nbsp;Harassment","location='practice-employment-sexual.php'");
    mm_menu_1011163733_2_3.addMenuItem("Wrongful&nbsp;Termination","location='practice-employment-termination.php'");
    mm_menu_1011163733_2_3.addMenuItem("Whistle&nbsp;Blower&nbsp;Protection","location='practice-employment-whistleblower.php'");
     mm_menu_1011163733_2_3.fontWeight="bold";
     mm_menu_1011163733_2_3.hideOnMouseOut=true;
     mm_menu_1011163733_2_3.menuBorder=1;
     mm_menu_1011163733_2_3.menuLiteBgColor='#ffffff';
     mm_menu_1011163733_2_3.menuBorderBgColor='#cccccc';
     mm_menu_1011163733_2_3.bgColor='#cccccc';
    window.mm_menu_1011163733_2_4 = new Menu("Real&nbsp;Estate",189,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,2,0,true,true,true,0,false,false);
    mm_menu_1011163733_2_4.addMenuItem("Residential","location='practice-real-estate-residential.php'");
    mm_menu_1011163733_2_4.addMenuItem("Commercial","location='practice-real-estate-commercial.php'");
    mm_menu_1011163733_2_4.addMenuItem("Real&nbsp;Estate&nbsp;Litigation","location='practice-real-estate-litigation.php'");
     mm_menu_1011163733_2_4.fontWeight="bold";
     mm_menu_1011163733_2_4.hideOnMouseOut=true;
     mm_menu_1011163733_2_4.menuBorder=1;
     mm_menu_1011163733_2_4.menuLiteBgColor='#ffffff';
     mm_menu_1011163733_2_4.menuBorderBgColor='#cccccc';
     mm_menu_1011163733_2_4.bgColor='#cccccc';
    window.mm_menu_1011163733_2_5 = new Menu("Municipal&nbsp;Court",189,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,2,0,true,true,true,0,false,false);
    mm_menu_1011163733_2_5.addMenuItem("Driving&nbsp;While&nbsp;Intoxicated","location='practice-municipal-dwi.php'");
    mm_menu_1011163733_2_5.addMenuItem("Traffic&nbsp;Violations","location='practice-municipal-traffic.php'");
    mm_menu_1011163733_2_5.addMenuItem("Drug&nbsp;Offenses","location='practice-municipal-drug.php'");
    mm_menu_1011163733_2_5.addMenuItem("Disorderly&nbsp;Conduct","location='practice-municipal-disorderly.php'");
     mm_menu_1011163733_2_5.fontWeight="bold";
     mm_menu_1011163733_2_5.hideOnMouseOut=true;
     mm_menu_1011163733_2_5.menuBorder=1;
     mm_menu_1011163733_2_5.menuLiteBgColor='#ffffff';
     mm_menu_1011163733_2_5.menuBorderBgColor='#cccccc';
     mm_menu_1011163733_2_5.bgColor='#cccccc';
  window.mm_menu_1011163733_2 = new Menu("root",189,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,2,0,true,true,true,0,false,false);
  mm_menu_1011163733_2.addMenuItem("Business&nbsp;Litigation","location='practice-business-lit.php'");
  mm_menu_1011163733_2.addMenuItem(mm_menu_1011163733_2_1,"location='practice-business.php'");
  mm_menu_1011163733_2.addMenuItem(mm_menu_1011163733_2_2,"location='practice-injury.php'");
  mm_menu_1011163733_2.addMenuItem(mm_menu_1011163733_2_3,"location='practice-employment.php'");
  mm_menu_1011163733_2.addMenuItem(mm_menu_1011163733_2_4,"location='practice-real-estate.php'");
  mm_menu_1011163733_2.addMenuItem(mm_menu_1011163733_2_5,"location='practice-municipal.php'");
  mm_menu_1011163733_2.addMenuItem("Wills,&nbsp;Trusts,&nbsp;&&nbsp;Probate","location='practice-wills.php'");
  mm_menu_1011163733_2.addMenuItem("Worker's&nbsp;Compensation","location='practice-workers.php'");
   mm_menu_1011163733_2.fontWeight="bold";
   mm_menu_1011163733_2.hideOnMouseOut=true;
   mm_menu_1011163733_2.childMenuIcon="../images/arrows.gif";
   mm_menu_1011163733_2.menuBorder=1;
   mm_menu_1011163733_2.menuLiteBgColor='#ffffff';
   mm_menu_1011163733_2.menuBorderBgColor='#cccccc';
   mm_menu_1011163733_2.bgColor='#cccccc';
  window.mm_menu_1011163643_3 = new Menu("root",150,20,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#ffffcc","#82a4be","#c0d1de","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
  mm_menu_1011163643_3.addMenuItem("Legal&nbsp;Links","location='resources-links.php'");
  mm_menu_1011163643_3.addMenuItem("Questions&nbsp;&&nbsp;Answers","location='resources-questions.php'");
   mm_menu_1011163643_3.fontWeight="bold";
   mm_menu_1011163643_3.hideOnMouseOut=true;
   mm_menu_1011163643_3.menuBorder=1;
   mm_menu_1011163643_3.menuLiteBgColor='#ffffff';
   mm_menu_1011163643_3.menuBorderBgColor='#cccccc';
   mm_menu_1011163643_3.bgColor='#cccccc';

  mm_menu_1011163643_3.writeMenus();
} // mmLoadMenus()



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 YY_checkform() { //v4.66
//copyright (c)1998,2002 Yaromat.com
  var args = YY_checkform.arguments; var myDot=true; var myV=''; var myErr='';var addErr=false;var myReq;
  for (var i=1; i<args.length;i=i+4){
    if (args[i+1].charAt(0)=='#'){myReq=true; args[i+1]=args[i+1].substring(1);}else{myReq=false}
    var myObj = MM_findObj(args[i].replace(/\[\d+\]/ig,""));
    myV=myObj.value;
    if (myObj.type=='text'||myObj.type=='password'||myObj.type=='hidden'){
      if (myReq&&myObj.value.length==0){addErr=true}
      if ((myV.length>0)&&(args[i+2]==1)){ //fromto
        var myMa=args[i+1].split('_');if(isNaN(myV)||myV<myMa[0]/1||myV > myMa[1]/1){addErr=true}
      } else if ((myV.length>0)&&(args[i+2]==2)){
          var rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-z]{2,4}$");if(!rx.test(myV))addErr=true;
      } else if ((myV.length>0)&&(args[i+2]==3)){ // date
        var myMa=args[i+1].split("#"); var myAt=myV.match(myMa[0]);
        if(myAt){
          var myD=(myAt[myMa[1]])?myAt[myMa[1]]:1; var myM=myAt[myMa[2]]-1; var myY=myAt[myMa[3]];
          var myDate=new Date(myY,myM,myD);
          if(myDate.getFullYear()!=myY||myDate.getDate()!=myD||myDate.getMonth()!=myM){addErr=true};
        }else{addErr=true}
      } else if ((myV.length>0)&&(args[i+2]==4)){ // time
        var myMa=args[i+1].split("#"); var myAt=myV.match(myMa[0]);if(!myAt){addErr=true}
      } else if (myV.length>0&&args[i+2]==5){ // check this 2
            var myObj1 = MM_findObj(args[i+1].replace(/\[\d+\]/ig,""));
            if(myObj1.length)myObj1=myObj1[args[i+1].replace(/(.*\[)|(\].*)/ig,"")];
            if(!myObj1.checked){addErr=true}
      } else if (myV.length>0&&args[i+2]==6){ // the same
            var myObj1 = MM_findObj(args[i+1]);
            if(myV!=myObj1.value){addErr=true}
      }
    } else
    if (!myObj.type&&myObj.length>0&&myObj[0].type=='radio'){
          var myTest = args[i].match(/(.*)\[(\d+)\].*/i);
          var myObj1=(myObj.length>1)?myObj[myTest[2]]:myObj;
      if (args[i+2]==1&&myObj1&&myObj1.checked&&MM_findObj(args[i+1]).value.length/1==0){addErr=true}
      if (args[i+2]==2){
        var myDot=false;
        for(var j=0;j<myObj.length;j++){myDot=myDot||myObj[j].checked}
        if(!myDot){myErr+='* ' +args[i+3]+'\n'}
      }
    } else if (myObj.type=='checkbox'){
      if(args[i+2]==1&&myObj.checked==false){addErr=true}
      if(args[i+2]==2&&myObj.checked&&MM_findObj(args[i+1]).value.length/1==0){addErr=true}
    } else if (myObj.type=='select-one'||myObj.type=='select-multiple'){
      if(args[i+2]==1&&myObj.selectedIndex/1==0){addErr=true}
    }else if (myObj.type=='textarea'){
      if(myV.length<args[i+1]){addErr=true}
    }
    if (addErr){myErr+='* '+args[i+3]+'\n'; addErr=false}
  }
  if (myErr!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+myErr)}
  document.MM_returnValue = (myErr=='');
}


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];}
}
