// JavaScript Document   	var sFullPath = String(document.location);   	var SITEBASE = sFullPath.substr(0,sFullPath.lastIndexOf('/'))+'/';	var divName = "", bolPrint=false; var HEADERBASE;	var ua = navigator.userAgent.toLowerCase(); 	var is_pc_ie  = ( (ua.indexOf('msie') != -1 ) && ( ua.indexOf('win') != -1 ) && ( ua.indexOf('opera') == -1 ) && ( ua.indexOf('webtv') == -1 ) );				//////////////////////////		function _init(){		setsubnav(0);		setToolbar();		if(typeof setSlider == "function") setSlider();		if(typeof setupMap == "function") setupMap();		if(typeof loadGoogleMaps == "function") loadGoogleMaps(); 		if(typeof buildOverlay == "function") buildOverlay();				return true;			};	//function for popup windows --	function _newWindow(url,name,fwidth,fheight,status,directories,location,toolbar,menubar,scrollbars,resizable,vLeft,vTop,fCloseSelf) {		// setting the new window size dependng on whats passed		switch (fwidth){			case "max":				fwidth = screen.width;			break			case "half":				fwidth = screen.width/2;			break			default:				fwidth = Number(fwidth);		}		switch (fheight){			case "max":				fheight = screen.height-15;//adjust for browser chrome			break			case "half":				fheight = screen.height/2;			break			default:				fheight = Number(fheight);		}		// set the position 		if(vLeft == "center"){vLeft = (screen.width/2) - (fwidth/2);}		if(vTop == "center"){vTop = (screen.height/2)  - (fheight/2);}			options = ((fwidth!="")?"width="+fwidth:"")+((fheight!="")?",height="+fheight:"")+",status="+((status=="1")?"yes":"no")+",directories="+((directories=="1")?"yes":"no")+",location="+((location=="1")?"yes":"no")+",toolbar="+((toolbar=="1")?"yes":"no")+",menubar="+((menubar=="1")?"yes":"no")+",scrollbars="+((scrollbars=="1")?"yes":"no")+",resizable="+((resizable=="1")?"yes":"no")+",left="+vLeft+",top="+vTop ;		var sWinObject = name.replace(" ","_");		eval(sWinObject+"=window.open('"+url+"','"+sWinObject+"','"+options+"')");		if (fCloseSelf == true) this.close();			};		function printWin(){		var strParams = document.location.search;			strParams += (strParams == "" )? "?" : "&";					var strPrintLink = "default.asp" + strParams + "print=1";		//alert("New window:"+strPrintLink);		_newWindow(strPrintLink,'printWindow',780,600,0,1,1,1,1,1,1,0,0);	}		function printWinLawyerResults(strParams){		//var strParams = strParams;			//strParams += (strParams == "" )? "?" : "&";					var strPrintLink = strParams + "&print=1";		//alert("New window:"+strPrintLink);		_newWindow(strPrintLink,'printWindow',780,600,0,1,1,1,1,1,1,0,0);	}		function bookMarkPage(){		   linkUrl = window.location.href;	   linkTitle = document.title;   	   if (!document.all) {		  alert("Please hit ctrl-d to bookmark this page");	   }else{			external.AddFavorite(linkUrl,linkTitle);	   }			}		function trackFileDownload(sFile){		urchinTracker(sFile);// may want to strip file extension		_newWindow(sFile,'Download File',200,200,1,0,0,0,0,1,1);	}	    // JAVASCRIPT //	function getLawyerEmail(id) {		var strUrl = "/lawyerContact?id="+id;		_newWindow(strUrl,'Form',500,665,0,0,0,0,0,0,1,'center','center');	}
