COPYRIGHT = "&copy; ";
CDATE = new Date().getFullYear();
COMPANY = " Palay Law Firm. All Rights Reserved.";

function writeCopyright(){
	document.write(COPYRIGHT, CDATE, COMPANY);
}
function popUp(URL) {
	var day = new Date();
	var id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=2,location=0,statusbar=0,menubar=0,resizable=1,width=430,height=auto,left = 117,top = 81.5');");
}

function getCaseInfo(form){
	try{
		if(form.email.value==""){
			alert("Please supply an email address");
			return false;
		}
		var cn=document.getElementById('casenumber').innerHTML;
		var ct=document.getElementById('caseTitle').innerHTML;
		form.caseNum.value=cn;
		form.desc.value=ct;
		return true;
	}
	catch(e){
		alert("Page is not properly set up.  Please contact the webhost");
		return false;
	}	
}