$(document).ready(function(){
   //This is the weird call to validationChecks.js -- need to revamp this
   prepareInputsForHints();
   	// focus on the first text input field in the first field on the page
  
   //$(":text").labelify({ });
   //$("input[type='text']:first", document.forms[0]).focus();
   //Funtion to show green checkmark with validator being called.
   $(":input[type='text']").each( function() {
   		var value = $(this).val();
   		//alert($(this).text());
   		if ((value > 0) || (value != "")){
   			//alert($(this).parent());
   			$(this).parent().addClass("welldone");
   		}
   });
   
      $(":input[type='textarea']").each( function() {
   		var value = $(this).val();
   		//alert($(this).text());
   		if ((value > 0) || (value != "")){
   			//alert($(this).parent());
   			$(this).parent().addClass("welldone");
   		}
   });
   
   //Funtion to show green checkmark with validator being called. The selects here.
   $("select").each( function() {
   		var value = $(this).val();
   		//alert($(this).text());
   		if (value != "-1.1"){
   			//alert($(this).parent());
   			$(this).parent().addClass("welldone");
   		}
   });
});
		
