<!--Script By Danny C's Free Web Ring And Site Linking--!>



<!--  Begin function resetform() {document.forms[0].elements[0]=="";}

function submitForms() {if ( isFname() && isEmail() && isConfirmemail() && isAddress1() && isCity() && isUsstate() && isZip() && isCountry() && isPhone() && Product_cat() && isNotes())

if (confirm("\n You are about to e-mail your submission. \n\nOK to submit.    CANCEL to abort.")){alert("\nYour submission will now be sent. \n\n Use the OK Button once the submission is complete.\n\n\n Thank you for using R&A Italy !");

return true;

}

else

{

alert("\n You have chosen to abort the submission.");

return false

}

else 

return false;

}

function isFname() {

if (document.forms[0].elements[0].value == "") {

alert ("\n The Full Name field is blank. \n\n Please enter your full name.")

document.forms[0].elements[0].focus();

return false;

}

return true;

}

function isEmail() {

if (document.forms[0].elements[1].value == "") {

alert ("\n The E-Mail field is blank. \n\n Please enter your E-Mail address.")

document.forms[0].elements[1].focus();

return false;

}

if (document.forms[0].elements[1].value.indexOf ('@',0) == -1 ||

document.forms[0].elements[1].value.indexOf ('.',0) == -1) {

alert ("\n The E-Mail field requires a \"@\" and a \".\"be used. \n\nPlease re-enter your E-Mail address.")

document.forms[0].elements[1].select();

document.forms[0].elements[1].focus();

return false;

}

return true;

}

function isConfirmemail() {

if (document.forms[0].elements[2].value == "") {

alert ("\n The confirm E-Mail field is blank. \n\n Please enter your E-Mail address.")

document.forms[0].elements[2].focus();

return false;

}

if (document.forms[0].elements[2].value != document.forms[0].elements[1].value) {

alert ("\n The two E-Mail fields do not match. \n\n Please check both your E-Mail addresses.")

document.forms[0].elements[2].focus();

return false;

}

return true;

}

function isAddress1() {

if (document.forms[0].elements[3].value == "") {

alert ("\n The Address field is blank. \n\nPlease enter your address.")

document.forms[0].elements[3].focus();

return false;

}

return true;

}

function isCity() {

if (document.forms[0].elements[4].value == "") {

alert ("\n The City field is blank. \n\nPlease enter your City.")

document.forms[0].elements[4].focus();

return false;

}

return true;

}

function isUsstate() {

if (document.forms[0].elements[5].value == "") {

alert ("\n The US State field is blank. \n\nPlease Select Other If Not US state.")

document.forms[0].elements[5].focus();

return false;

}

return true;

}

function isZip() {

if (document.forms[0].elements[6].value == "") {

alert ("\n The Zip code field is blank. \n\nPlease enter your Zip code.")

document.forms[0].elements[6].focus();

return false;

}

return true;

}

function isCountry() {

if (document.forms[0].elements[7].value == "") {

alert ("\n The Country field is blank. \n\nPlease enter your Country.")

document.forms[0].elements[7].focus();

return false;

}

if (document.forms[0].elements[7].value == "NULL") {

alert ("\n The choice of the Country field is wrong. \n\n Please enter your Country.")

document.forms[0].elements[7].focus();

return false;

}

return true;

}

function isPhone() {

if (document.forms[0].elements[8].value == "") {

alert ("\n The Phone field is blank. \n\nPlease enter your Phone Number.")

document.forms[0].elements[8].focus();

return false;

}

return true;

}

function Product_cat() {

if (document.forms[0].elements[9].value == "Select an option") {

alert ("\n Not selected the category of the product. \n\nPlease select a Product's category.")

document.forms[0].elements[9].focus();

return false;

}

return true;

}

function isNotes() {

if (document.forms[0].elements[10].value == "") {

alert ("\n The Note field is blank. \n\nPlease enter your Request.")

document.forms[0].elements[10].focus();

return false;

}

return true;

}

// End -->


