var d = new Date, weekday = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), monthname = "January February March April May June July August September October November December".split(" "), year = d.getFullYear(), dateToday = weekday[d.getDay()] + ", " + monthname[d.getMonth()] + " " + d.getDate() + ", " + year, hide = !1;function wo(a, b, c) { wleft = (screen.width - c) / 2; wtop = (screen.height - b) / 2; 0 > wleft && (wleft = 0); 0 > wtop && (wtop = 0); window.open(a, "mywin", "height=" + b + ",width=" + c + ",top=" + wtop + ",left=" + wleft + ",toolbar=no,status=no,scrollbars=yes,resizable=yes").focus() } function hide(a) { document.getElementById(a).style.display = "none" } function show(a) { document.getElementById(a).style.display = "block"; document.location.href = "#searchlink"; document.getElementById("LastName").focus() }function showCertified(a) { null != document.getElementById(a) && (document.getElementById(a).style.display = "block", document.location.href = "#legallink", document.getElementById("LegalSpecialty").focus()) }function clearfields() { document.getElementById("LastName").value = ""; document.getElementById("FirstName").value = ""; document.getElementById("MiddleName").value = ""; document.getElementById("FirmName").value = ""; document.getElementById("City").value = ""; document.getElementById("Zip").value = ""; document.getElementById("State").selectedIndex = -1; document.getElementById("District").selectedIndex = -1; document.getElementById("County").selectedIndex = -1; document.getElementById("LegalSpecialty").selectedIndex = -1; document.getElementById("LanguageSpoken").selectedIndex = -1} function toggle(a, b) { var c = document.getElementById(a, b), e = c.rows.length, f = hide ? "none" : ""; for (i = 2; i < e; i++) c.rows[i].style.display = f; b.innerHTML = hide ? " Display status history" : " Display status history"; hide = !hide } $(document).ready(function() {$("div.date p").text(dateToday); $("div.copyright span").text(year); $("#tblAttorney").length && $("#tblAttorney").dataTable({ bLengthChange: !1, bFilter: !0, sPaginationType: "full_numbers", bSort: !0, aaSorting: [[5, "asc"], [0, "asc"]], aoColumns: [null, null, null, null, null, { bSearchable: !1, bVisible: !1}] }); parent == window && $("#FreeText").length && $("#FreeText").focus(); $("#advanced").length && $("#advanced").show(); if ($("#moduleMemberDetail").length) {$("#advanced").hide(); for (var a = 0; 20 > a; a++) {var b =document.getElementById("e" + a); if (null != b) { var c = b.innerHTML.replace(/<[\/]*span>/gi, ""); b.innerHTML = '' + b.innerHTML + "" }}} });