function init_Images(){
	var aImages = [	'firmMeeting2004_files/mFirm_on.jpg',
					'firmMeeting2004_files/mPractice_on.jpg',
					'firmMeeting2004_files/mAttorney_on.jpg',
					'firmMeeting2004_files/mAlert_on.jpg',
					'firmMeeting2004_files/mOffice_on.jpg',
					'firmMeeting2004_files/mPress_on.jpg',
					'firmMeeting2004_files/mCareer_on.jpg',
					'firmMeeting2004_files/mSaerch_on.jpg',
					'firmMeeting2004_files/mOther01_on.gif',
					'firmMeeting2004_files/mOther02_on.gif',
					'firmMeeting2004_files/mOther03_on.gif',
					'firmMeeting2004_files/careers1.gif',
					'firmMeeting2004_files/careers2T.gif',
					'firmMeeting2004_files/careers3N.gif',
					'firmMeeting2004_files/careers4M.gif',
					'firmMeeting2004_files/careersls.gif'
				  ];
	preloadImages(aImages);
}

function preloadImages(aImages) {
	// load them into whatever array
	if(document.images){
		document.bd_img = new Array();
		for(var i=0; i<aImages.length; i++){
			document.bd_img[i] = new Image;
			document.bd_img[i].src = aImages[i];
		}
	}
}
function imageOn(sImage){
	if (document[sImage]){
		document[sImage].src = "firmMeeting2004_files/m" + sImage + "_on.jpg";
	}
}
function imageOff(sImage){
	if (document[sImage]){
		document[sImage].src = "firmMeeting2004_files/m" + sImage + "_off.jpg";
	}
}
function otherImageOn(sImage,sImgName){
	// temperory for other business images
	document[sImgName].src = 'firmMeeting2004_files/' + sImage;
}
function otherImageOff(sImage,sImgName){
	// temperory for other business images
	document[sImgName].src = 'firmMeeting2004_files/' + sImage;
}
function viewPracticePage(iPracticeID,sClickedName){
	window.document.thisForm.iPracticeID.value = iPracticeID;
	window.document.thisForm.sClickedName.value = sClickedName;
	window.document.thisForm.action = "practice_subPage.asp";
	window.document.thisForm.submit();
}
function naviOffice(iOfficeID){
	window.location.href = "offices_city.asp?iLocationID=" + iOfficeID;
}
function naviPage(sURL){
	document.thisForm.action = sURL;
	document.thisForm.submit();
}
function naviPracticePage(sURL){
	window.location.href=sURL;
}
function getToday(){
  var d = new Date();
  var s = (d.getMonth() + 1) + "/";
  s += d.getDate() + "/";
  s += d.getYear();
  return(s);
}
function _trim(){
	var sText = this;
	while (sText.charAt(0)==' '){
		sText = sText.substr(1);
	}
	while (sText.charAt(sText.length-1) == ' '){
		sText = sText.substr(0, sText.length-1);
	}
	return sText.toString();
}

String.prototype.trim = _trim;

function openFile(sFileName){
	if(window.all){
		sURL = "termsofuse.asp?sFileName=" + sFileName;		window.open(sURL,null,"width=550,height=440,scrollbars=no,menubar=no,toolbar=no,resizable=yes,status=no");
	}else{window.open(sFileName,null,"scrollbars=yes,menubar=no,toolbar=no,resizable=yes,status=no");
}
}
function openDesc(id){
	window.open ("DocDesc.asp?iDocID=" + id,null,"width=500,height=250,scrollbars=yes,menubar=no,toolbar=no,resizable=yes,status=no");
}
function popWindow(sURL){
	window.open(sURL,null,"width=550,height=450,scrollbars=yes,menubar=yes,toolbar=no,resizable=yes,status=no");
}
function popBrowser(sURL){
	window.open(sURL,'_blank',"width=800,height=450,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes,status=yes,location=yes,titlebar=yes");
}
function popDocWindow(sURL){
	window.open(sURL,null,"width=650,height=450,scrollbars=yes,menubar=no,toolbar=no,resizable=yes,status=no");
}
function getSchoolAlumni(sSchoolCode,sSchool){

	document.thisForm.iQuery.value=4;
	document.thisForm.sSchoolCode.value=sSchoolCode;
	document.thisForm.sSchool.value=sSchool;
	document.thisForm.action="attorneys_results.asp";
	document.thisForm.method="post";
	document.thisForm.submit();

}
function getAtty(iOfficeID,sOffice){
	document.thisForm.iQuery.value=3;
	document.thisForm.iOfficeID.value=iOfficeID;
	document.thisForm.sOffice.value = sOffice;
	document.thisForm.action="attorneys_results.asp";
	document.thisForm.method="post";
	document.thisForm.submit();
}
