function Validate(){
var check = true;
var empty = document.orders.size.value;
    if(chkEmpty(empty)==false){
    document.orders.size.select();
    document.orders.size.focus();
    return false;
    }

var empty = document.orders.colors.value;
    if(chkEmpty(empty)==false){
    document.orders.colors.select();
    document.orders.colors.focus();
    return false;
    }

var empty = document.orders.switches.value;
    if(chkEmpty(empty)==false){
    document.orders.switches.select();
    document.orders.switches.focus();
    return false;
    }

var empty = document.orders.qty.value;
    if(chkEmpty(empty)==false){
    document.orders.qty.select();
    document.orders.qty.focus();
    return false;
    }

var empty = document.orders.name.value;
    if(chkEmpty(empty)==false){
    document.orders.name.select();
    document.orders.name.focus();
    return false;
    }

var empty = document.orders.name_l.value;
    if(chkEmpty(empty)==false){
    document.orders.name_l.select();
    document.orders.name_l.focus();
    return false;
    }

var email = document.orders.email.value;
    if(chkEmail(email)==false){
    document.orders.email.select();
    document.orders.email.focus();
    return false;
    }

return check;
}

function chkEmpty(field){
if(field==""){
alert("Sorry, one of required fields is empty. Please complete the form.");
return false;
}
return true;
}

function chkEmail(field){
if(field!=""){
    if (field.indexOf("@",0) == -1||field.indexOf(".",0) == -1){
    alert("Please enter your email.");
    return false;
    }
}else{
alert("Please enter your email.");
return false;
}
return true;
}

