	function cForm1()
	{
		theform=document.uform
		if (theform.nickname.value!="tree")
		{
			alert("Please enter correct username and password OR use the form below to request a username and password.")
			theform.nickname.focus()
			return false;
		}
		
		else if (theform.password.value!="bark")
		{
			alert("Please enter correct username and password OR use the form below to request a username and password.")
			theform.password.focus()
			return false;
		}
		return true;
		
		
	}
    function checkForm(){
                 theform=document.form1

                     // Check that the form has a full name specified in the field called "yourname"
                 if (theform.name.value==""){ 
                     alert("Please provide your name.")
                     theform.name.focus()
                     return false;
                }

                    // Check that the form has an company specified in the field called "Company"
                if (theform.cname.value==""){ 
                    alert("Please provide your company name.")
                    theform.cname.focus()
                    return false;
                }
				    // Check that the form has an email specified in the field called "Telephone"
                if (theform.phone.value==""){ 
                    alert("Please provide your telephone number.")
                    theform.phone.focus()
                    return false;
                }

				    // Check that the form has an email specified in the field called "Emailaddress"
                if (theform.email.value==""){ 
                    alert("Please provide your email address.")
                    theform.email.focus()
                    return false;
                }
				else {
					if (theform.email.value.indexOf("@") == -1){ 
                    	alert("Please provide a valid email address.")
                   	 	theform.email.focus()
						return false;
						}				
				}
                return true;
                }
