function fSend(){
	var f=document.forms.frmcontact;
	if(fIE(f.Msg.value)){
		alert("You did not type a message.\n\nPlease type a message and continue.   \n\n");
		f.Msg.focus();
		return void(0);
	} 
	if(fIE(f.Email.value)){
		if(!confirm("You did not include an email address. If you\ncontinue, we may be unable to contact you\nby email concerning the message.\n\nContinue without the email address?\n\n")){f.Email.focus();return void(0);}
	}else if(!fVE(f.Email.value)){
		alert("Invalid email address.\n\nPlease type an appropriate email address \nand try again.\n\n");
		f.Email.focus();
		return void(0);
	}
	if(!confirm("Continue to send this message?\n\n")){
		return void(0);
	}
	f.submit();
	return void(0);
}
function fClear(){
	if(!confirm("Reset message fields?"))return;
	document.forms.frmcontact.reset();
}
function AddEmail(){
	var cx,cy;
	cx=(window.screen.width-425)/2;
	cy=(window.screen.height-300)/2-25;
	var w=window.open("email.php?cmd=add","email","toolbar=0,height=300,width=425,left="+cx+",top="+cy+",screenX="+cx+",screenY="+cy+",scrollbars=1,resizable=1");
	w.focus();
}
function RemoveMe(){
	var cx,cy;
	cx=(window.screen.width-425)/2;
	cy=(window.screen.height-300)/2-25;
	var w=window.open("email.php?cmd=remove","email","toolbar=0,height=300,width=425,left="+cx+",top="+cy+",screenX="+cx+",screenY="+cy+",scrollbars=1,resizable=1"); 
	w.focus();
}
