function CC_VFF(){
	var theForm = self.document.forms[0];
	var sFlg_PrefD = false;
	var emailRE = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
	var errMsg = "";
	var setfocus = "";
	
	for(var s1=0;s1<theForm['ff_contact_pref'].length;s1++){if(theForm['ff_contact_pref'].options[s1].selected){if(theForm['ff_contact_pref'].options[s1].text==theForm['ff_contact_pref'].options[0].text)sFlg_PrefD=true;}}

	if (sFlg_PrefD){
		errMsg = "Please select a preferred\ncontact method from the list\.";
		setfocus = "['ff_contact_pref']";
	}
	if (!emailRE.test(theForm['email'].value)){
		errMsg = "A valid email address is required\.";
		setfocus = "['email']";
	}
	if (theForm['realname'].value == ""){
		errMsg = "A contact name is required\.";
		setfocus = "['realname']";
	}

	if (errMsg != ""){
		alert(errMsg);
		eval("theForm" + setfocus + ".focus()");
	}
	else theForm.submit();
}
