function sendAFriend() {
	
	var fromError = "Fill in an email address please.";
	var toError = "Fill in an email address please.";
	
	var from = $('share' ).from.value;
	var to = $('share' ).to.value;
	var message = $('share' ).message.value;
	
	if( from != "" && from != fromError && 
		to != "" && to != toError ) {
		var params = Form.serialize( $( 'share' ));
	
		new Ajax.Updater( 'share', 'ajax/sendafriend.php', {method:'post', asynchronous:true, parameters:params} );
	}
	else if( from != "" ) {
		$('share' ).from.value = fromError;
	}
	else {
		$('share' ).to.value = toError;
	}
}
