<!--
function check_fields(){
var user_tin
var tin_num_length
var spec_val

spec_val = document.sign_in.spec.value
user_tin = document.sign_in.tin_num.value

	if(user_tin ==""){
   		alert("Please enter your tax identification number (TIN)")
      	document.sign_in.tin_num.focus()
       	document.sign_in.tin_num.select()	   
    return false
    }	  
    if(user_tin == 123456789 || user_tin == 234567890 || user_tin == 111111111 || user_tin == 222222222 || user_tin == 333333333 || user_tin == 444444444 || user_tin == 555555555 || user_tin == 666666666 || user_tin == 777777777 || user_tin == 888888888 || user_tin == 999999999 || user_tin == 000000000 || user_tin==987654321){
    	alert("This does not appear to be a valid tax identification number (TIN). Please try again or call our Services Operations department at (800) 950-7040.")
       	document.sign_in.tin_num.focus()
       	document.sign_in.tin_num.select()
    return false
    }
	if (isNaN(user_tin)){
		alert("This field only accepts numbers. Please do not use any letters.")
       	document.sign_in.tin_num.focus()
       	document.sign_in.tin_num.select()	   	  
	return false
	}    

tin_num_length = document.sign_in.tin_num.value.length	

	if (tin_num_length != 9) {
		alert ("Please use all nine digits of your tax identification number.")
       	document.sign_in.tin_num.focus()
       	document.sign_in.tin_num.select()	   		  
	return false
	}
//	if ( !sign_in.Q1[0].checked && !sign_in.Q1[1].checked ) {
//   	alert("Please answer all of the appropriate questions by selecting 'Yes' or 'No'.")
//	return false
//	}
	if ( !sign_in.Q2[0].checked && !sign_in.Q2[1].checked) {
        alert("Please answer all of the appropriate questions by selecting 'Yes' or 'No'.")
	return false
	}
	if ( !sign_in.Q3[0].checked && !sign_in.Q3[1].checked) {
        alert("Please answer all of the appropriate questions by selecting 'Yes' or 'No'.")
	return false
	}
	if ( !sign_in.Q4[0].checked && !sign_in.Q4[1].checked) {
        alert("Please answer all of the appropriate questions by selecting 'Yes' or 'No'.")
	return false
	}
	if ( !sign_in.Q5[0].checked && !sign_in.Q5[1].checked) {
        alert("Please answer all of the appropriate questions by selecting 'Yes' or 'No'.")
	return false
	}
	
//	if ( sign_in.Q1[1].checked ) {
//    	alert("At this time, the online provider application process can only administer requests from providers with admitting privileges to a participating PHCS hospital. To receive the appropriate documents, please contact our Services Operations department at (800) 950-7040..  We apologize for the inconvenience.")
//	return false
//	}
  
	if ( sign_in.Q2[1].checked  || sign_in.Q3[1].checked  || sign_in.Q4[0].checked  || sign_in.Q5[1].checked  ) {
    	alert("At this time, the online provider application process can only administer requests from individual providers practicing in only one state. To receive the appropriate documents, please contact our Services Operations department at (800) 950-7040.  We apologize for the inconvenience.")
	return false
	}		 
	if (spec_val ==""){
		alert("Please select a Primary Specialty category from the list provided.")
		document.sign_in.spec.focus()
	return false
	}
	if (spec_val == "allother"){
		alert("At this time, we are not accepting providers in the specialty type you have selected. If you have any questions, please contact our Services Operations department at (800) 950-7040.")
		window.close()
	return false
	}
	return true;
}
-->