function validate()
{
    var s="";
    if (document.question.name.value=="")
    {
        s = s+"<li>Please enter your name.</li>";
    }
    
    if (document.question.email.value=="")
    {
        s = s+"<li>Please enter your email address.</li>";
    }
	    if ((document.question.question.value=="") && (document.question.comments.value==""))
    {
        s = s+"<li>Please enter your question and/or comment.</li>";
    }
     	    if (s=="")
    {
        //document.info.submit();
        return true;
    }
    else
    {
        msg=window.open("validate.html","Error","scrollbars=no,width=400,height=300");
        msg.document.write("<P><B>Required Information</B></P><UL>"+s+"</UL>");
        msg.document.write("<P align='center'><INPUT TYPE='BUTTON' VALUE='Close' ONCLICK='self.close()'></P></FOR"+"M>");
    }
    return false;
}

function validateweb()
{
    var s="";
    if (document.web.realname.value=="")
    {
        s = s+"<li>Please enter your name.</li>";
    }
    
    if (document.web.email.value=="")
    {
        s = s+"<li>Please enter your email address.</li>";
    }
	    if (document.web.needs.value=="") 
    {
        s = s+"<li>Please describe your business needs.</li>";
    }
		    if (document.web.likes.value=="") 
    {
        s = s+"<li>Please list some websites that you like.</li>";
    }
		    if ((document.web.curweby.value=="") && (document.web.cururl.value==""))
    {
        s = s+"<li>You indicated that you have a current website, please enter it's address.</li>";
    }
		    if ((document.web.pages.value=="") && (document.web.total.value==""))
    {
        s = s+"<li>You indicated that you need more pages, please enter an approximate number.</li>";
    }
     	    if (s=="")
    {
        //document.info.submit();
        return true;
    }
    else
    {
        msg=window.open("validate.html","Error","scrollbars=no,width=400,height=300");
        msg.document.write("<P><B>Required Information</B></P><UL>"+s+"</UL>");
        msg.document.write("<P align='center'><INPUT TYPE='BUTTON' VALUE='Close' ONCLICK='self.close()'></P></FOR"+"M>");
    }
    return false;
}

function validateproof()
{
    var s="";
    if (document.proof.realname.value=="")
    {
        s = s+"<li>Please enter your name.</li>";
    }
    
    if (document.proof.email.value=="")
    {
        s = s+"<li>Please enter your email address.</li>";
    }
	if (document.proof.usage.value=="")
    {
        s = s+"<li>Please select your primary Design Usage.</li>";
    }
	if ((document.proof.usage.value=="other") && (document.proof.usagedetail.value==""))
    {
        s = s+"<li>Please indicate what your primary use will be.</li>";
    }
    {
        s = s+"<li>Please select your primary Design Usage.</li>";
    }
	if (document.proof.colorpref.value=="")
    {
        s = s+"<li>Please select your color preference.</li>";
    }
	if ((document.proof.colorpref.value=="specific") && (document.proof.specificdetail.value==""))
    {
        s = s+"<li>Please indicate the specific colors you prefer.</li>";
    }
	if (s=="")
    {
        //document.info.submit();
        return true;
    }
    else
    {
        msg=window.open("validate.html","Error","scrollbars=yes,width=400,height=400");
        msg.document.write("<P><B>Required Information</B></P><UL>"+s+"</UL>");
        msg.document.write("<P align='center'><INPUT TYPE='BUTTON' VALUE='Close' ONCLICK='self.close()'></P></FOR"+"M>");
    }
    return false;
}
