var MAILTO_CONFIRMATION=""+"Neither content of this website nor any transmission of information between you and Jeffer Mangels Butler & Mitchell LLP (JMBM) through this website creates an attorney-client relationship. "+"If you are not an existing JMBM client, do not include any confidential information in your email message, as JMBM has no obligation to maintain the confidentiality of any information you provide.";var VCARD_CONFIRMATION=MAILTO_CONFIRMATION;function mailTo(email){if(confirm(MAILTO_CONFIRMATION))window.parent.location="mailto:"+email}function vCard(path){if(confirm(VCARD_CONFIRMATION))window.parent.location=path}function printPage(){var url=window.location.href;url+=(url.indexOf("?")==-1?"?":"&")+"printver=true";window.open(url,'Print','width=700,height=475,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,top=20,left=20')}function emailPage(){var url=window.location.href;window.location="mailto:?body="+escape(url)}function printPDF(pagePath){var url=window.location.href;url+=(url.indexOf("?")==-1?"?":"&")+"printTo=pdfw";if(pagePath)url+="&pagePath="+pagePath;window.location=url}var ACTION_NOOP='userportal/refresh';var sub;var subtree=new Array();var x=0;var left=0;function opensubmenu(item,divid){var frame;var located=0;var locate=item.parentNode.getElementsByTagName('LI');for(var n=0;n<locate.length;n++){if(locate[n]==item){located=n}}if(item.parentNode.parentNode.className=='submenu'){while(sub!=item.parentNode.parentNode){if(sub){sub.style.visibility='hidden';document.getElementById('hideframe'+x).style.visibility='hidden';x--;sub=subtree[x]}}if(document.getElementById(divid)){sub=document.getElementById(divid);if(sub){x++;frame=document.getElementById('hideframe'+x);sub.style.left=subtree[0].offsetLeft+(149*x);frame.style.left=subtree[0].offsetLeft+(149*x);if(left==1){sub.style.left=subtree[0].offsetLeft-(149*x);frame.style.left=subtree[0].offsetLeft-(149*x)}if(x>1){sub.style.top=subtree[x-1].offsetTop+item.offsetTop-1;frame.style.top=subtree[x-1].offsetTop+item.offsetTop-1}else{sub.style.marginTop=item.offsetTop-1;frame.style.marginTop=item.offsetTop-1}frame.style.width=sub.clientWidth;frame.style.height=sub.clientHeight;sub.style.visibility='visible';frame.style.visibility='visible'}}}else{frame=document.getElementById('hideframe0');if(sub!=undefined){for(var y=x;y>=0;y--){subtree[y].style.visibility='hidden';document.getElementById('hideframe'+y).style.visibility='hidden'}clearhidemenu()}if(document.getElementById(divid)){sub=document.getElementById(divid);sub.style.marginLeft=item.offsetLeft;frame.style.marginLeft=item.offsetLeft;if(located==locate.length-1){sub.style.marginLeft=item.offsetLeft-32;frame.style.marginLeft=item.offsetLeft-32}x=0;sub.style.visibility='visible';frame.style.visibility='visible';frame.style.height=sub.clientHeight;frame.style.width=sub.clientWidth;item.onmouseout=delayhidemenu;if(located>locate.length/2){left=1}else{left=0}}}if(sub){subtree[x]=sub;sub.onmouseover=clearhidemenu;sub.onmouseout=delayhidemenu}}function delayhidemenu(){var strx='';for(var y=x;y>=0;y--){strx+="subtree["+y+"].style.visibility='hidden',";strx+="document.getElementById('hideframe"+y+"').style.visibility='hidden',"}strx=strx.substring(0,strx.length-1);strx=""+strx+"";delayhide=setTimeout(strx,500)}function clearhidemenu(){if(typeof delayhide!="undefined")clearTimeout(delayhide)}function imgro(item){var imgpath=item.src;if(imgpath.match("_ro")==null){var x=imgpath.replace('.png','_ro.png');item.src=x}}function imgundo(item){var imgpath=item.src;if(imgpath.match("_ro")!=null){var x=imgpath.replace('_ro.png','.png');item.src=x}}(function($){$.cpRandContent={drawRandContent:function(contentList,randOverride,hideIfEmpty,numToPick,separator){var randNumOvr=((!randOverride&&randOverride!==0)||isNaN(randOverride)?null:parseInt(randOverride));var randNum;if(hideIfEmpty!=true){hideIfEmpty=false}numToPick=(!numToPick||isNaN(numToPick)?1:parseInt(numToPick));separator=(!separator?"":separator);this.each(function(){var f_content="";if(contentList.length>0){for(var i=0;i<numToPick;i++){randNum=(randNumOvr==null?Math.floor(Math.random()*contentList.length):randNumOvr);f_content+=(i>0?separator:"")+contentList[randNum];if(numToPick>1){contentList.remove(randNum)}}if(f_content==null||f_content==""){if(hideIfEmpty){$(this).css("display","none")}}else{$(this).html(f_content)}}});return randNum}};$.fn.drawRandContent=$.cpRandContent.drawRandContent})(jQuery);Array.prototype.remove=function(from,to){var rest=this.slice((to||from)+1||this.length);this.length=from<0?this.length+from:from;return this.push.apply(this,rest)};
