function checkvalues () {
//Variable, that indicates, whether everything is in order

everythingok = true;

everythingok1 = tozero ();


if ((everythingok1==false))
everythingof=false;
return everythingok;
}

function tozero () {

//Variable that indicates wheather everything is in order
everythingok = true;

//check whether the field question type is empty
if (document.contact.type.value=="Please select") {
alert ("Empty field Type of question.\nplease select"
+" Type of question.");
everythingok=false;
}

//check whether the field first  name is empty
if (document.contact.first_name.value=="" ) {
alert ("Empty field First name.\nplease insert"
+" a First name.");
everythingok=false;
}
//check whether the field last  name is empty
if (document.contact.last_name.value=="") {
alert ("Empty field Last name.\nplease insert"
+" a Last name.");
everythingok=false;

}
//check whether the field email  name is empty
if (document.contact.email.value=="") {
alert ("Empty field Email address.\nplease insert"
+" a Email address.");
everythingok=false;
}
//check whether the field your question is empty
if (document.contact.description.value=="") {
alert ("Empty field Your question.\nplease insert"
+" Your question.");
everythingok=false;
}
return everythingok;
}