function email_verify() {
	var msg = 'This e-mail communication is governed by the Ober.com Terms of Use and Privacy Policy, and does not establish an attorney-client relationship. Unless you are a current client of Ober|Kaler, information that you provide to us may not be treated as privileged and may not remain confidential. By clicking "OK," you agree that you have read and understand this notice.';
	
	return confirm(msg);
}


function email_window(url){
	
	var escaped_url = escape(url);
	
	window.open('/email/pop_up.php?url=' + escaped_url,'_blank','width=450, height=470, toolbars=no, scrollbars=yes, resize=yes,');
}


function limitText(limitField, limitCount, limitNum) {
	
	if (limitField.value.length > limitNum) {
		limitField.value = limitField.value.substring(0, limitNum);
	} 
	else {
		limitCount.value = limitNum - limitField.value.length;
	}
}


function NewWindow(mypage,myname,w,h,scroll,pos){
	if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
	win=window.open(mypage,myname,settings);
}