var disable_active_link=false;var rollover_active_scope=false;var arr_active=['#'];var active_class='active';var arr_scopes=[['/CM/Custom/TOCPracticeAreaDescriptions.asp','PracticeAreas/index.html','/CM/PracticeAreaDescriptions'],['/CM/Custom/Attorneys.asp','Bio/index.html','/CM/AttorneyBios/'],['/','/CM/Custom/Home.asp'],['/CM/Custom/Contact.asp','/CM/Custom/ThankYou.asp']];var enable_exception=false;var arr_scope_exceptions=[['/CM/Custom/TOCPracticeAreaDescriptions.asp','http://admin.shernoffbidartdarras.lawoffice.com/PracticeAreas/Social-Security-Disability.asp','http://admin.shernoffbidartdarras.lawoffice.com/PracticeAreas/Workers-Compensation.asp','/PracticeAreas/Personal-Injury.asp']];var at=document.getElementsByTagName('a'),it=document.getElementsByTagName('img'),i=0;var uc='~~~~';re=new RegExp(/^.+\('([^']+)'.+?'\/([^.]+\/)+(.+?)',/m);fp=document.location+uc;rp=fp.replace(/^http:\/\/[^\/]+(\/.*)$/,'$1');dn=fp.replace(rp,'')+'/';rf=rp.replace(/^(\/(.+\/)+).+$/,'$1');fn=rp.replace(rf,'');fp=fp.replace(uc,'');rp=rp.replace(uc,'');fn=fn.replace(uc,'');rp=(rp=='index.html')?uc:rp;for(i=0;i<arr_scopes.length;i++){for(j=0;j<arr_scopes[i].length;j++){arr_scopes[i][j]=(arr_scopes[i][j]=='index.html')?uc:arr_scopes[i][j];}}
for(i=0;i<at.length;i++){at_hr=at[i].getAttribute('href');if(at_hr!=null){at_hr=(at_hr==dn)?uc:at_hr;bs=scopes(at_hr);if((at_hr.indexOf(rp)>-1&&at_hr.indexOf('#')==-1&&at_hr.indexOf('?')==-1||bs)){at[i].className=(at[i].className!='')?at[i].className+' '+active_class:active_class;if(!bs&&disable_active_link)
at[i].removeAttribute('href');if(at[i].getAttribute('onmouseover')!=null){mo=at[i].getAttribute('onmouseover')+'';m=re.exec(mo);for(j=0;j<it.length;j++){if(it[j].getAttribute('name')==m[1]||it[j].getAttribute('id')==m[1]){as=m[3];for(k=0;k<arr_active.length;k++){if(m[3].indexOf(arr_active[k])>-1){as=m[3].replace('-o.','-a.');if(!bs||!rollover_active_scope)
at[i].setAttribute('onmouseover',mo.replace('-o.','-a.'));break;}}
it[j].src='/Includes/Templates/Active/images/'+as;}}}}}}
function scopes(hr){var i=0,j=0;mod_fp=(fn=='')?uc:fp;if(enable_exception){for(i=0;i<arr_scope_exceptions.length;i++){if(hr.indexOf(arr_scope_exceptions[i][0])>-1){for(j=1;j<arr_scope_exceptions[i].length;j++){if(mod_fp.indexOf(arr_scope_exceptions[i][j])>-1)
return false;}}}}
for(i=0;i<arr_scopes.length;i++){if(hr.indexOf(arr_scopes[i][0])>-1){for(j=1;j<arr_scopes[i].length;j++){if(mod_fp.indexOf(arr_scopes[i][j])>-1){return true;}}}}
return false;}
