function form_validation ( )
{
    valid = true;

    if ( (document.recommend.to.value == "Email this entry to") && (document.recommend.from.value == "Your email address") )
    {
        alert ( "Please fill in the 'Email this article to:' and 'Your email address' boxes." );
        valid = false;
    }

    else {

    if ( document.recommend.to.value == "Email this entry to" )
    {
        alert ( "Please fill in the 'Email this article to' box." );
        valid = false;
    }

    if ( document.recommend.from.value == "Your email address" )
    {
        alert ( "Please fill in the 'Your email address' box." );
        valid = false;
    }

   }

    return valid;
}