﻿function checkForm(g) {
		if(g.to_name.value == "" || g.to_name.value == " "){
			alert("We will require the recipient's name in order to send him or her your selection");			
			g.to_name.focus();
			return false;	}
		
		if(g.to_email.value == "" || g.to_email.value == " "){
			alert("We will require the recipient's e-mail address in order to send him or her your selection");			
			g.to_email.focus();
			return false;	}

		if(g.from_name.value == "" || g.from_name.value == " "){
			alert("We will require your name in order to send the recipient your selection");			
			g.from_name.focus();
			return false;	}
		
		if(g.from_email.value == "" || g.from_email.value == " "){
			alert("We will require the your e-mail address in order to send the recipient your selection");			
			g.from_email.focus();
			return false;	}

		
			}