<!--
function is_email(item)
{
	var mhkos = item.value.length
        var papaki = item.value.indexOf("@")
        var teleia = item.value.lastIndexOf(".")

        if (mhkos>4 && papaki>0 && teleia>papaki+1)
        {
                var space = item.value.indexOf(" ");
                if (space >= 0) {
                    alert("Your email contains white spaces. Please remove them and resubmit the form");
                    return false
                }
                return true
        }

        alert("Please fill in a proper e-mail so we can contact you");
        return false
}

function is_not_empty(item, msg)
{
        if (item.value.length > 0) return true
        else
        {
                alert("Please fill in " + msg);
                return false
        }
}

function form_ok(f)
{
 if (is_not_empty(f.Name, "your Name") && is_email(f.Email) && is_not_empty(f.Message, "your Message") ) {
              	 return true;
 }
 else return false;
}

-->
