﻿function CCVerify()
 {
     if (document.getElementById("DPC_Date").value == "") {
        alert("Please Select a Date")
        document.getElementById("DPC_Date").focus();
  
    }
    	else 
		{
		CheckTime();
		}
	}
	
function CheckTime()
        {
            if (document.getElementById("Time").value == "") {
            alert("Please Select a Time")
            document.getElementById("Time").focus();
        }
            else 
		{
		CheckLocation();
		}
	}
	
function CheckLocation()
        {
            if (document.getElementById("Location").value == "") {
            alert("Please Select the Location")
            document.getElementById("Location").focus();
        }
            else 
		{
		CheckWait();
		}
	}    
	
	function CheckWait()
        {
            if (document.getElementById("Wait").value == "") {
            alert("Please Select How Long You Waited")
            document.getElementById("Wait").focus();
        }
            else 
		{
		CheckCourtesy();
		}
	}
	
	function CheckCourtesy()
        {
            if (document.getElementById("courtesy").value == "") {
            alert("Please Rate the Professionalism and Courtesy Level")
            document.getElementById("courtesy").focus();
        }
            else 
		{
		CheckSatisfaction();
		}
	}
	
	function CheckSatisfaction()
        {
            if (document.getElementById("satisfaction").value == "") {
            alert("Please Choose Whether or Not the Transaction was Completed to Your Satisfaction")
            document.getElementById("satisfaction").focus();
        }

    
    
    else {
        document.getElementById("commentcard").submit();
    }
}

function resetform() {
document.getElementById("commentcard").reset();
return false;
}