
//Contact Us Form Validation Code

function ValidateContactForm(){

        if (document.contact_mindshift_lp1.FirstName.value == ""){
             alert("Please enter your First Name")
             document.contact_mindshift_lp1.FirstName.focus()
                  return false
        }
       
        if (document.contact_mindshift_lp1.LastName.value == ""){
             alert("Please enter your Last Name")
             document.contact_mindshift_lp1.LastName.focus()
                  return false
        }
		
       
        if (document.contact_mindshift_lp1.Company.value == ""){
             alert("Please enter your Company Name")
             document.contact_mindshift_lp1.Company.focus()
                  return false
        }

        if (document.contact_mindshift_lp1.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.contact_mindshift_lp1.Email.focus()
                 return false

        }
        
        if (document.contact_mindshift_lp1.QuestionsComments.value == ""){
             alert("Please enter your Questions or Comments")
             document.contact_mindshift_lp1.QuestionsComments.focus()
                 return false
				  
       }
	   
       return true
 }


//White Paper Validation Code

function ValidateWPForm(){

        if (document.wp_mindshift_lp1.FirstName.value == ""){
             alert("Please enter your First Name")
             document.wp_mindshift_lp1.FirstName.focus()
                 return false
        }
       
        if (document.wp_mindshift_lp1.LastName.value == ""){
             alert("Please enter your Last Name")
             document.wp_mindshift_lp1.LastName.focus()
                 return false
        }

        if (document.wp_mindshift_lp1.JobTitle.value == ""){
             alert("Please enter your Title")
             document.wp_mindshift_lp1.JobTitle.focus()
                 return false
        }
        
        if (document.wp_mindshift_lp1.Company.value == ""){
             alert("Please enter your Company")
             document.wp_mindshift_lp1.Company.focus()
                 return false
        }
		
		if (document.wp_mindshift_lp1.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.wp_mindshift_lp1.Company.focus()
                 return false
        }

		if (document.wp_mindshift_lp1.State.selectedIndex == 0){
             alert("Please select a State")
             document.wp_mindshift_lp1.State.focus()
                 return false	  
	    }
	   
	  
	   if (document.wp_mindshift_lp1.Zip.value == ""){
             alert("Please enter your Zip")
             document.wp_mindshift_lp1.Zip.focus()
                 return false		  
	    }
		
		if (document.wp_mindshift_lp1.NumberOfEmployees.value == ""){
             alert("Please enter your Number of Employees")
             document.wp_mindshift_lp1.NumberOfEmployees.focus()
                 return false		
				  
		}
		
       return true
 }


//Billing Inquiry Form Validation

function ValidateBillingForm(){

        if (document.billing_inquiry_mindshift_lp.Company.value == ""){
             alert("Please enter your Company Name")
             document.billing_inquiry_mindshift_lp.Company.focus()
                 return false
        }
       
        if (document.billing_inquiry_mindshift_lp.AccountNumber.value == ""){
             alert("Please enter your Account Number")
             document.billing_inquiry_mindshift_lp.AccountNumber.focus()
                 return false
        }

        if (document.billing_inquiry_mindshift_lp.Contact.value == ""){
             alert("Please enter your Contact Name")
             document.billing_inquiry_mindshift_lp.Contact.focus()
                 return false
        }
        
        if (document.billing_inquiry_mindshift_lp.Phone.value == ""){
             alert("Please enter your contact Phone Number")
             document.billing_inquiry_mindshift_lp.Phone.focus()
                 return false
        }

		if (document.billing_inquiry_mindshift_lp.Email.value == ""){
             alert("Please enter your contact E-mail Address")
             document.billing_inquiry_mindshift_lp.Email.focus()
                 return false	  
	    }
	   
	   if (document.billing_inquiry_mindshift_lp.InvoiceNumber.value == ""){
             alert("Please enter your Invoice Number")
             document.billing_inquiry_mindshift_lp.InvoiceNumber.focus()
                 return false		  		  
		}
		
		if (document.billing_inquiry_mindshift_lp.InvoiceDate.value == ""){
             alert("Please enter your Invoice Date")
             document.billing_inquiry_mindshift_lp.InvoiceDate.focus()
                 return false	
		}
		
			if (document.billing_inquiry_mindshift_lp.InquiryDescription.value == ""){
             alert("Please enter your Inquiry Description")
             document.billing_inquiry_mindshift_lp.InquiryDescription.focus()
                 return false	
		}
       return true
 }


//Newsletter Form Validation Code

function ValidateNewsletterForm(){
//alert(document.newsletter_mindshift_lp.State.selectedIndex)	
        if (document.newsletter_mindshift_lp.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.newsletter_mindshift_lp.Email.focus()
                  return false
        }   
        if (document.newsletter_mindshift_lp.FirstName.value == ""){
             alert("Please enter your First Name")
             document.newsletter_mindshift_lp.FirstName.focus()
                  return false
        }

        if (document.newsletter_mindshift_lp.LastName.value == ""){
             alert("Please enter your Last Name")
             document.newsletter_mindshift_lp.LastName.focus()
                 return false

        }
        
        if (document.newsletter_mindshift_lp.Company.value == ""){
             alert("Please enter your Company Name")
             document.newsletter_mindshift_lp.Company.focus()
                 return false
				  
       }
	   
	   if (document.newsletter_mindshift_lp.State.selectedIndex == 0){
             alert("Please select a State")
             document.newsletter_mindshift_lp.State.focus()
                 return false
				  
       }
	   
	   if (document.newsletter_mindshift_lp.Phone.value == ""){
             alert("Please enter your Phone Number")
             document.newsletter_mindshift_lp.Phone.focus()
                 return false
				  
       }
	   
       return true
 }
 
 
//SharePoint Newsletter Form Validation Code

function ValidateSharePointNewsletterForm(){
	
        if (document.sharepoint_newsletter_mindshift_lp.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.sharepoint_newsletter_mindshift_lp.Email.focus()
                  return false
        }   
        if (document.sharepoint_newsletter_mindshift_lp.FirstName.value == ""){
             alert("Please enter your First Name")
             document.sharepoint_newsletter_mindshift_lp.FirstName.focus()
                  return false
        }

        if (document.sharepoint_newsletter_mindshift_lp.LastName.value == ""){
             alert("Please enter your Last Name")
             document.sharepoint_newsletter_mindshift_lp.LastName.focus()
                 return false
		}
	   
	   
       return true
 }
		
 
//PPC Form Validation Code

function ValidatePPCForm(){

        if (document.ppc_mindshift_lp1.FirstName.value == ""){
             alert("Please enter your First Name")
             document.ppc_mindshift_lp1.FirstName.focus()
                 return false
        }
       
        if (document.ppc_mindshift_lp1.LastName.value == ""){
             alert("Please enter your Last Name")
             document.ppc_mindshift_lp1.LastName.focus()
                 return false
        }

        if (document.ppc_mindshift_lp1.Company.value == ""){
             alert("Please enter your Company Name")
             document.ppc_mindshift_lp1.Company.focus()
                 return false
        }
        
        if (document.ppc_mindshift_lp1.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.ppc_mindshift_lp1.Email.focus()
                 return false
        }
		
		 if (document.ppc_mindshift_lp1.Phone.value == ""){
             alert("Please enter your Phone Number")
             document.ppc_mindshift_lp1.Phone.focus()
                 return false
		}

		if (document.ppc_mindshift_lp1.State.selectedIndex == 0){
             alert("Please select a State")
             document.ppc_mindshift_lp1.State.focus()
                 return false	  
	    }
	   
	
	
       return true
 }
 
 
//IT Services Form Validation Code

function ValidateITServicesForm(){

        if (document.it_services_mindshift_lp.FirstName.value == ""){
             alert("Please enter your First Name")
             document.it_services_mindshift_lp.FirstName.focus()
                 return false
        }
       
        if (document.it_services_mindshift_lp.LastName.value == ""){
             alert("Please enter your Last Name")
             document.it_services_mindshift_lp.LastName.focus()
                 return false
        }

        if (document.it_services_mindshift_lp.Company.value == ""){
             alert("Please enter your Company Name")
             document.it_services_mindshift_lp.Company.focus()
                 return false
        }
        
        if (document.it_services_mindshift_lp.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.it_services_mindshift_lp.Email.focus()
                 return false
        }
		
		 if (document.it_services_mindshift_lp.Phone.value == ""){
             alert("Please enter your Phone Number")
             document.it_services_mindshift_lp.Phone.focus()
                 return false
		}

		if (document.it_services_mindshift_lp.State.selectedIndex == 0){
             alert("Please select a State")
             document.it_services_mindshift_lp.State.focus()
                 return false	  
	    }
	   
	
	
       return true
 }
 
 
 
//Be A Hero Form Validation Code

function ValidateBeAHeroForm(){

        if (document.be_a_hero_lp.FirstName.value == ""){
             alert("Please enter your First Name")
             document.be_a_hero_lp.FirstName.focus()
                  return false
        }
       
        if (document.be_a_hero_lp.LastName.value == ""){
             alert("Please enter your Last Name")
             document.be_a_hero_lp.LastName.focus()
                  return false
        }
		
       
        if (document.be_a_hero_lp.Company.value == ""){
             alert("Please enter your Company Name")
             document.be_a_hero_lp.Company.focus()
                  return false
        }

        if (document.be_a_hero_lp.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.be_a_hero_lp.Email.focus()
                 return false

        }
        
        if (document.be_a_hero_lp.Phone.value == ""){
             alert("Please enter your Phone Number")
             document.be_a_hero_lp.Phone.focus()
                 return false
				  
       }
	   
	   
	   if (document.be_a_hero_lp.FirstName2.value == ""){
             alert("Please enter your First Name")
             document.be_a_hero_lp.FirstName2.focus()
                  return false
        }
		
		
		if (document.be_a_hero_lp.LastName2.value == ""){
             alert("Please enter your Last Name")
             document.be_a_hero_lp.LastName2.focus()
                  return false
        }
		
		
		if (document.be_a_hero_lp.Company2.value == ""){
             alert("Please enter your Company Name")
             document.be_a_hero_lp.Company2.focus()
                  return false
        }
		
		if (document.be_a_hero_lp.Email2.value == ""){
             alert("Please enter your E-mail Address")
             document.be_a_hero_lp.Email2.focus()
                  return false
        }
		
		if (document.be_a_hero_lp.Phone2.value == ""){
             alert("Please enter your Phone Number")
             document.be_a_hero_lp.Phone2.focus()
                  return false
        }
		
		
       return true
 }
 
 
 
//E-Rate Form Validation Code

function ValidateErateForm(){

        if (document.lp_erate_form.FirstName.value == ""){
             alert("Please enter your First Name")
             document.lp_erate_form.FirstName.focus()
                 return false
        }
       
        if (document.lp_erate_form.LastName.value == ""){
             alert("Please enter your Last Name")
             document.lp_erate_form.LastName.focus()
                 return false
		}
        
        if (document.lp_erate_form.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.lp_erate_form.Email.focus()
                 return false
				   
	    }
	   
	
	
       return true
 }
 
 
 
  
//VoIP Form Validation Code

function ValidateVoIPForm(){

        if (document.voip_ppc_mindshift_landing_lp.FirstName.value == ""){
             alert("Please enter your First Name")
             document.voip_ppc_mindshift_landing_lp.FirstName.focus()
                 return false
        }
       
        if (document.voip_ppc_mindshift_landing_lp.LastName.value == ""){
             alert("Please enter your Last Name")
             document.voip_ppc_mindshift_landing_lp.LastName.focus()
                 return false
		}
		
		 if (document.voip_ppc_mindshift_landing_lp.Company.value == ""){
             alert("Please enter your Company Name")
             document.voip_ppc_mindshift_landing_lp.Company.focus()
                 return false
		}
        
        
        if (document.voip_ppc_mindshift_landing_lp.Email.value == ""){
             alert("Please enter your E-mail Address")
             document.voip_ppc_mindshift_landing_lp.Email.focus()
                 return false		   
	    }
		
	   
	    if (document.voip_ppc_mindshift_landing_lp.Phone.value == ""){
             alert("Please enter your Phone Number")
             document.voip_ppc_mindshift_landing_lp.Phone.focus()
                 return false		   
	    }
	   

		if (document.voip_ppc_mindshift_landing_lp.State.selectedIndex == 0){
             alert("Please select a State")
             document.voip_ppc_mindshift_landing_lp.State.focus()
                 return false	  
	    }
	   
       return true
 }