// Functions.js

// Initializes forms
function init() {
	if(document.searchInputForm) {
	document.searchInputForm.partyName.value = "";
	document.searchInputForm.caseNumber.value = "";
	document.searchInputForm.plaintiffName.value = "";
	document.searchInputForm.defendantName.value = "";
	
	document.searchInputForm.partyName.focus();
	}
	if(document.userSigninForm) {
	document.userSigninForm.username.value = "";
	document.userSigninForm.password.value = "";
	
	document.userSigninForm.username.focus();
	}
}
// Submit order to Certified Payments
function submitOrder() {
	var emailAddress = document.emailForm.emailAddress.value;
	var newURL = document.emailForm.forwardURL.value + "&email=" + emailAddress;
	var sameURL = document.emailForm.originalURL;
	self.location=newURL;
}
// Opens the RVI document
function openDocument() {
	var rvidocument = document.openDocumentForm.rviDoc;
	alert(rvidocument); 
}
