
function isValidEmail(s){
	
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	
	if (filter.test(s))
		return true;
	else
		return false;
}
				
function goSubmit(n) {
	
	if (n == 1) {
		if (isValidEmail(pform.email.value))
			document.pform.submit();
		else {
			alert ('Please enter a valid email address.')
			return false;
			}
	}
	else {
	
		top.location.reload();
		
	}
	
}

function disLeftClick () {
	alert ('Please right click on the link and save the file to your computer\nby selecting "Save target as..." or "Save Link as..." options.');
}

