﻿function Contact()
{
    if(IsEmptyText('ctl00_content_txtName'))
    {
        alert('Please enter your name');
        return false;
    }
    
    if(IsEmptyText('ctl00_content_txtAddress'))
    {
        alert('Please enter your address');
        return false;
    }
    
    if(!IsEmailText('ctl00_content_txtEmail'))
    {
        alert('Please enter your email');
        return false;
    }
    
    if(IsEmptyText('ctl00_content_txtPh'))
    {
        alert('Please enter your phone number');
        return false;
    }
    
    if(IsEmptyText('ctl00_content_txtState'))
    {
        alert('Please enter your state');
        return false;
    }
    
    if(IsEmptyText('ctl00_content_txtComments'))
    {
        alert('Please enter your comment');
        return false;
    }
    
    return true;
}