function fValidate(frm){
	
	if(!frm.user_key.value.match(/.+/)){
		alert("Invalid user key.\n\nPlease type the registered owner of the Windows\nplatforms you registered.\n\n");
		frm.user_key.focus();
		return false;}
	var email_option = 0; 
	if(frm.attachment.checked)email_option=1;
	if(frm.message_body.checked)email_option=2;
	if(frm.attachment.checked && frm.message_body.checked)email_option=3;
	if(email_option == 0){
		alert("Invalid email selection.\n\nPlease select an email option and\ntry again.\n\n");
		frm.attachment.focus();
		return false;}
	frm.email_option.value = email_option; 
	return true;
}
function focusNext(strItem){
	if(event.keyCode == 13 || event.keyCode == 3 ){
		document.getElementById(strItem).focus();
		if(document.getElementById(strItem).type ==  "text")
			document.getElementById(strItem).select();
		event.returnValue = false;}
}
