// JavaScript Document
<!--
function mmLoadMenus() {
  if (window.mm_menu_0814093814_0) return;
            window.mm_menu_0814093814_0_1 = new Menu("Meet&nbsp;Our&nbsp;Legal&nbsp;Team",156,25,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#232323","#7896c0","left","middle",3,0,1000,0,0,true,false,true,0,true,true);
    mm_menu_0814093814_0_1.addMenuItem("S.&nbsp;Jack&nbsp;Keller","location='bio_jac.htm'");
    mm_menu_0814093814_0_1.addMenuItem("James&nbsp;R.&nbsp;Keller","location='bio_jim.htm'");
    mm_menu_0814093814_0_1.addMenuItem("David&nbsp;E.&nbsp;Idinopulos","location='bio_david.htm'");
    mm_menu_0814093814_0_1.addMenuItem("Randall&nbsp;L.&nbsp;Juergensen","location='bio_randall.htm'");
    mm_menu_0814093814_0_1.addMenuItem("Matthew&nbsp;C.&nbsp;Boulton","location='bio_matthew.htm'");
    mm_menu_0814093814_0_1.addMenuItem("Gennelia&nbsp;C.&nbsp;Laluna","location='bio_geena.htm'");
    mm_menu_0814093814_0_1.addMenuItem("Annette&nbsp;Rutkowski","location='bio_annette.htm'");
    mm_menu_0814093814_0_1.addMenuItem("Ryan&nbsp;K.&nbsp;Johnson","location='bio_ryan.htm'");
    mm_menu_0814093814_0_1.addMenuItem("Denzil&nbsp;Glenn&nbsp;Smith","location='bio_denzil'");
     mm_menu_0814093814_0_1.hideOnMouseOut=true;
     mm_menu_0814093814_0_1.bgColor='#333333';
     mm_menu_0814093814_0_1.menuBorder=1;
     mm_menu_0814093814_0_1.menuLiteBgColor='#333333';
     mm_menu_0814093814_0_1.menuBorderBgColor='#FFFFFF';
    window.mm_menu_0814093814_0_2 = new Menu("As&nbsp;Recognized&nbsp;In:",221,25,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#232323","#7896c0","left","middle",3,0,1000,0,0,true,false,true,0,true,true);
    mm_menu_0814093814_0_2.addMenuItem("Indiana&nbsp;Super&nbsp;Lawyers&nbsp;","location='indianasuperlawyers.htm'");
    mm_menu_0814093814_0_2.addMenuItem("Martindale&nbsp;Hubble&nbsp;A.V.&nbsp;Rated","location='martindale.htm'");
    mm_menu_0814093814_0_2.addMenuItem("Million&nbsp;Dollar&nbsp;Advocated&nbsp;Forum","location='milliondollar.htm'");
     mm_menu_0814093814_0_2.hideOnMouseOut=true;
     mm_menu_0814093814_0_2.bgColor='#333333';
     mm_menu_0814093814_0_2.menuBorder=1;
     mm_menu_0814093814_0_2.menuLiteBgColor='#333333';
     mm_menu_0814093814_0_2.menuBorderBgColor='#FFFFFF';
  window.mm_menu_0814093814_0 = new Menu("root",159,25,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#232323","#7896c0","left","middle",3,0,1000,0,0,true,false,true,0,true,true);
  mm_menu_0814093814_0.addMenuItem("Why&nbsp;Choose&nbsp;Us?","location='why-choose-keller-and-keller-personal-injury-lawyers-new-mexico-indiana-michigan.htm'");
  mm_menu_0814093814_0.addMenuItem(mm_menu_0814093814_0_1,"location='#'");
  mm_menu_0814093814_0.addMenuItem(mm_menu_0814093814_0_2,"location='#'");
   mm_menu_0814093814_0.hideOnMouseOut=true;
   mm_menu_0814093814_0.childMenuIcon="arrows.gif";
   mm_menu_0814093814_0.bgColor='#333333';
   mm_menu_0814093814_0.menuBorder=1;
   mm_menu_0814093814_0.menuLiteBgColor='#333333';
   mm_menu_0814093814_0.menuBorderBgColor='#FFFFFF';

  window.mm_menu_0814094430_0 = new Menu("root",173,25,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#232323","#7896c0","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0814094430_0.addMenuItem("What Is Personal Injury?","location='personalinjury.htm'");
  mm_menu_0814094430_0.addMenuItem("Wrongful&nbsp;Death","location='wrongfuldeath.htm'");
  mm_menu_0814094430_0.addMenuItem("Auto&nbsp;Accidents&nbsp;","location='autoaccidents.htm'");
  mm_menu_0814094430_0.addMenuItem("Semi-Truck&nbsp;Accidents","location='semitruckaccidents.htm'");
  mm_menu_0814094430_0.addMenuItem("Motorcycle&nbsp;Accidents&nbsp;","location='motorcycleaccidents.htm'");
  mm_menu_0814094430_0.addMenuItem("Medical&nbsp;Malpractice","location='medicalmalpractice.htm'");
  mm_menu_0814094430_0.addMenuItem("Brain&nbsp;Injuries&nbsp;","location='braininjuries.htm'");
  mm_menu_0814094430_0.addMenuItem("Slip&nbsp;and&nbsp;Fall","location='slipandfall.htm'");
  mm_menu_0814094430_0.addMenuItem("Dog&nbsp;Bites&nbsp;","location='dogbites.htm'");
  mm_menu_0814094430_0.addMenuItem("Birth&nbsp;Injuries","location='birthinjuries.htm'");
  mm_menu_0814094430_0.addMenuItem("Burn&nbsp;Cases","location='burncases.htm'");
  mm_menu_0814094430_0.addMenuItem("Prescription&nbsp;Drug&nbsp;Cases","location='prescriptiondrug.htm'");
  mm_menu_0814094430_0.addMenuItem("Social&nbsp;Security&nbsp;Disability","location='socialsecurity.htm'");
   mm_menu_0814094430_0.hideOnMouseOut=true;
   mm_menu_0814094430_0.bgColor='#333333';
   mm_menu_0814094430_0.menuBorder=1;
   mm_menu_0814094430_0.menuLiteBgColor='#333333';
   mm_menu_0814094430_0.menuBorderBgColor='#FFFFFF';
   
     window.mm_menu_0814094431_0 = new Menu("root",210,25,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#232323","#7896c0","left","middle",3,0,1000,0,0,true,false,true,0,true,true);
  mm_menu_0814094431_0.addMenuItem("Wrongful Death Resource Center","location='wrongful-death-resources-new-mexico-michigan-personal-injury-attorney-lawyer.htm'");
  mm_menu_0814094431_0.addMenuItem("Spinal Cord Injury Resource Center","location='spinal-cord-resources-new-mexico-michigan-indiana-personal-injury-attorney-lawyer.htm'");
  mm_menu_0814094431_0.addMenuItem("Burn Injury Resource Center","location='burncases-resources-new-mexico-michigan-indiana-personal-injury.htm'");
  mm_menu_0814094431_0.addMenuItem("Dog Bite Resource Center","location='dog-bites-resources-new-mexico-michigan-indiana-personal-injury-attorney-lawyer.htm'");
  mm_menu_0814094431_0.addMenuItem("DWI Injury Resource Center","location='dwi-dui-drunk-driving-resources-new-mexico-michigan-indiana-personal-injury-attorney-lawyer.htm'");
   mm_menu_0814094431_0.hideOnMouseOut=true;
   mm_menu_0814094431_0.bgColor='#333333';
   mm_menu_0814094431_0.menuBorder=1;
   mm_menu_0814094431_0.menuLiteBgColor='#333333';
   mm_menu_0814094431_0.menuBorderBgColor='#FFFFFF';

  window.mm_menu_0904085329_0 = new Menu("root",148,25,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#232323","#7896c0","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0904085329_0.addMenuItem("Quick&nbsp;Contact&nbspForm","location='contactus.htm'");
   mm_menu_0904085329_0.hideOnMouseOut=true;
   mm_menu_0904085329_0.bgColor='#333333';
   mm_menu_0904085329_0.menuBorder=1;
   mm_menu_0904085329_0.menuLiteBgColor='#333333';
   mm_menu_0904085329_0.menuBorderBgColor='#FFFFFF';

mm_menu_0904085329_0.writeMenus();
} // mmLoadMenus()
//-->
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 MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
//-->
var ss = {
  fixAllLinks: function() {
    // Get a list of all links in the page
    var allLinks = document.getElementsByTagName('a');
    // Walk through the list
    for (var i=0;i<allLinks.length;i++) {
      var lnk = allLinks[i];
      if ((lnk.href && lnk.href.indexOf('#') != -1) && 
          ( (lnk.pathname == location.pathname) ||
	    ('/'+lnk.pathname == location.pathname) ) && 
          (lnk.search == location.search)) {
        // If the link is internal to the page (begins in #)
        // then attach the smoothScroll function as an onclick
        // event handler
        ss.addEvent(lnk,'click',ss.smoothScroll);
      }
    }
  },

  smoothScroll: function(e) {
    // This is an event handler; get the clicked on element,
    // in a cross-browser fashion
    if (window.event) {
      target = window.event.srcElement;
    } else if (e) {
      target = e.target;
    } else return;

    // Make sure that the target is an element, not a text node
    // within an element
    if (target.nodeName.toLowerCase() != 'a') {
      target = target.parentNode;
    }
  
    // Paranoia; check this is an A tag
    if (target.nodeName.toLowerCase() != 'a') return;
  
    // Find the <a name> tag corresponding to this href
    // First strip off the hash (first character)
    anchor = target.hash.substr(1);
    // Now loop all A tags until we find one with that name
    var allLinks = document.getElementsByTagName('a');
    var destinationLink = null;
    for (var i=0;i<allLinks.length;i++) {
      var lnk = allLinks[i];
      if (lnk.name && (lnk.name == anchor)) {
        destinationLink = lnk;
        break;
      }
    }
  
    // If we didn't find a destination, give up and let the browser do
    // its thing
    if (!destinationLink) return true;
  
    // Find the destination's position
    var destx = destinationLink.offsetLeft; 
    var desty = destinationLink.offsetTop;
    var thisNode = destinationLink;
    while (thisNode.offsetParent && 
          (thisNode.offsetParent != document.body)) {
      thisNode = thisNode.offsetParent;
      destx += thisNode.offsetLeft;
      desty += thisNode.offsetTop;
    }
  
    // Stop any current scrolling
    clearInterval(ss.INTERVAL);
  
    cypos = ss.getCurrentYPos();
  
    ss_stepsize = parseInt((desty-cypos)/ss.STEPS);
    ss.INTERVAL =
setInterval('ss.scrollWindow('+ss_stepsize+','+desty+',"'+anchor+'")',10);
  
    // And stop the actual click happening
    if (window.event) {
      window.event.cancelBubble = true;
      window.event.returnValue = false;
    }
    if (e && e.preventDefault && e.stopPropagation) {
      e.preventDefault();
      e.stopPropagation();
    }
  },

  scrollWindow: function(scramount,dest,anchor) {
    wascypos = ss.getCurrentYPos();
    isAbove = (wascypos < dest);
    window.scrollTo(0,wascypos + scramount);
    iscypos = ss.getCurrentYPos();
    isAboveNow = (iscypos < dest);
    if ((isAbove != isAboveNow) || (wascypos == iscypos)) {
      // if we've just scrolled past the destination, or
      // we haven't moved from the last scroll (i.e., we're at the
      // bottom of the page) then scroll exactly to the link
      window.scrollTo(0,dest);
      // cancel the repeating timer
      clearInterval(ss.INTERVAL);
      // and jump to the link directly so the URL's right
      location.hash = anchor;
    }
  },

  getCurrentYPos: function() {
    if (document.body && document.body.scrollTop)
      return document.body.scrollTop;
    if (document.documentElement && document.documentElement.scrollTop)
      return document.documentElement.scrollTop;
    if (window.pageYOffset)
      return window.pageYOffset;
    return 0;
  },

  addEvent: function(elm, evType, fn, useCapture) {
    // addEvent and removeEvent
    // cross-browser event handling for IE5+,  NS6 and Mozilla
    // By Scott Andrew
    if (elm.addEventListener){
      elm.addEventListener(evType, fn, useCapture);
      return true;
    } else if (elm.attachEvent){
      var r = elm.attachEvent("on"+evType, fn);
      return r;
    } else {
      alert("Handler could not be removed");
    }
  } 
}

ss.STEPS = 25;

ss.addEvent(window,"load",ss.fixAllLinks);
