function openWindow(file, width, height)
{
	var mywin = window.open(file, "", config="width="+width+",height=" + height +  ",scrollbars=yes,resizable=yes"); 
	mywin.moveTo((screen.width/2) - (width/2), (screen.height/2) - (height/2));
}

function openWindowNoScroll(file, width, height)
{
	var mywin = window.open(file, "", config="width="+width+",height=" + height +  ",scrollbars=no,resizable=no"); 
	mywin.moveTo((screen.width/2) - (width/2), (screen.height/2) - (height/2));
}

function ValidateSurvIntakeSubmitAction(){
	var email = document.surveillance_request["CLemail"].value;
	if(email == ""){
		alert("You have to provide a valid email address!");
		document.surveillance_request["CLemail"].style.backgroundColor = "#FF0000";
		document.surveillance_request["CLemail"].focus();
		return false;
	}
	else{
		var cc = confirm("You are about to submit your surveillance request to Litigation Solutions.  Are you sure you want to continue?  If you click 'OK', your work request will be submitted and you won't be able to make any changes.  If you want to make further changes or add more information, click 'Cancel' and continue to enter information.");
		return cc;
	}
}
