function body_tag(MenuCust) { //Check for passed parameters if ((MenuCust == "1") || (MenuCust == "3")) {NavWidth = "100%"} else {NavWidth = "768"} if ((MenuCust == "2") || (MenuCust == "3")) {LeftNavWidth = "0"} else {LeftNavWidth = "155"} //==================================================== //Test if URL have HTTPS ? var secureUrl = "http"; var loc = location.href.toString(); var index = loc.indexOf(":"); var prot = loc.substring(0,index); var url = loc.substring(index,loc.length); if (prot == "https") { secureUrl = "https"; } //==================================================== //function clearDefault() {document.LoginForm.userid.value= ""} var off = false; var previous_entry = ""; var mname = ""; var customid = ""; var memname = " "; var logmasage =""; var wel = ""; var fname = ""; var firstname = ""; var result = ""; //========================================= var pattern = /(.+)(FNAME=)(\w*)/; var result=document.cookie.match(pattern); if(document.cookie.match(pattern) !=null){ firstname = result[3]; } //============================================= //if (document.cookie != "") { //memname = readCookie('name'); //alert('Here is javascript cookie:'+memname); if(firstname == ""){ wel= ""; fname = ""; logmasage = "Member Login" }else { wel = "Welcome, "+firstname+""; logmasage = ""+wel+"
Member Profile
MyABA
Add Bookmark
Log Out
" } //} //if (document.cookie != "") { function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } // mname = document.cookie.split("; ")[0] // customid = document.cookie.split("; ")[1] //} function mySuspend() { // Only save entry the first time they turn it off if (off == false) { previous_entry = document.searchform.searchArea.selectedIndex; off = true; } // since it is suspended, force the entry to Not Available // assume the "Not Available" option is the last choice in the list. document.searchform.searchArea.selectedIndex = document.searchform.searchArea.length-1; } function myResume() { // Only restore the saved entry when they first call this function if (off) { document.searchform.searchArea.selectedIndex = previous_entry; off = false; } } //Calculate filename and path for query string //for printview function var dir = location.href.substring(0,location.href.lastIndexOf('/')+1); var url = location.href.substring(dir.length,location.href.length+1); var jsp = /\.jsp/i; var servlet = /servlet/i; var result = url.match(jsp); var result2 = dir.match(servlet); // This is used for the bookmark functionality var name = escape(document.title); if ( (document.title == null) || (document.title == "") ) { name = "American Bar Assocation"; } document.write(""); if ((MenuCust != "2") && (MenuCust != "3")) { document.write(""); } else { document.write(""); } function doCheck() { if ( (customid == null) || (customid == "") ) { alert("Please, Login First"); } } //popup window for the bookmark function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); //if (window.focus) {newwindow.focus()} return false; } // the end popup window for the bookmark //Start Top Nav //Accessible Invisible Jump Link and ABA Logo document.write(""); //ABA Title Words document.write(""); //Login Box document.write(""); //alert(mname); //alert(customid); //alert(document.cookie); //Top Navigation Links document.write(""); //Dividing Line document.write("
\"Jump\"American\"Welcome\"Graphic\"Graphic" +logmasage +"
Home | JOIN | CLE | Lawyers | Education | Public | Store | Events | About | Contact
\"line\"
"); //Specialty Buttons and Tools, Search, Print, etc. document.write(""); document.write("
Search: Advanced Search  
   Print Page   
"); var query = location.search.substring(1); var pairs = query.split("&"); for(var i = 0; i < pairs.length; i++) { var pos = pairs[i].indexOf('='); if (pos == -1) continue; var argname = pairs[i].substring(0,pos); var value = pairs[i].substring(pos+1); if (argname == 'criteria') { newString = value; var plusSign = /\+/g; var apostrophe = /%27/g; var exclamationmark = /%21/g; var poundsign = /%23/g; var dollarsign = /%24/g; var percent = /%25/g; var ampersand = /%26/g; var star = /%26/g; var leftper = /%28/g; var rightper = /%29/g; var quotes = /%22/g; var comma = /%2C/g; var questionmark = /%3F/g; var curve = /%7E/g; newString = newString.replace(apostrophe, "'"); newString = newString.replace(exclamationmark, "!"); newString = newString.replace(poundsign, "#"); newString = newString.replace(plusSign, " "); newString = newString.replace(dollarsign, "$"); newString = newString.replace(percent, "%"); newString = newString.replace(ampersand, "&"); newString = newString.replace(leftper, "("); newString = newString.replace(rightper, ")"); newString = newString.replace(quotes, "\""); newString = newString.replace(comma, ","); newString = newString.replace(questionmark, "?"); newString = newString.replace(curve, "~"); document.searchform.criteria.value = newString; break; } } //End Top Nav //Begin ABA Template Layout //Navwidth determines whether screen goes 100 percent or some pixel restricted size document.write(""); document.write(""); //Accessible Invisible Jump Link Target document.write(""); document.write("
 "); } function doNothing() {} function loadfooter() { document.write("
 "); document.write("ABA Copyright Statement  ABA Privacy Statement
"); } function footer_tag(display) { var thisplace = location.hostname if (thisplace == "www.abanews.org") document.write(""); else document.write(""); document.write("
"); if (entity_name == "" && entity_street == "" && entity_street2 == "" && entity_city == "" && entity_state == "" && entity_zip== "" && entity_phone== "" && entity_fax== "" && entity_email== "" || display == 1) {} else { document.write("Contact information:
") if (entity_name != "") {document.write(entity_name + "
")} if (entity_street != "") {document.write(entity_street)} if (entity_street2 == "") {document.write("
")} else {document.write(", " + entity_street2 + "
")} if (entity_city != "") {document.write(entity_city)} if (entity_state != "") {document.write(", " + entity_state)} if (entity_zip != "") {document.write(", " + entity_zip + "
")} if (entity_phone != "") {document.write("phone: " + entity_phone + "
")} if (entity_fax != "") {document.write("fax: " + entity_fax + "
")} if (entity_email != "") {document.write("" + entity_email + "")} if ( typeof( entity_url ) != "undefined" && entity_url != "") {document.write("" + entity_url + "")} document.write("
") } document.write("

"); document.write("ABA Copyright Statement  ABA Privacy Statement

"); document.write("
"); document.write("
"); document.write(""); }