function getColors(p_RecoveryLevelsOfCare,p_RecoveryZip,p_RecoveryMethadoneBuprenorphine,p_RecoveryMentalHealth,p_RecoveryHospitalPhysicianCare,p_RecoveryResidentialRequirements,p_RecoveryAgeSpecification,p_RecoveryGender,p_RecoverySexualOrientation,p_RecoveryPregnantPostpartum,p_RecoveryHIVAids,p_RecoveryHearingImpaired,p_RecoveryDUICriminalJustice,p_RecoveryLanguageRequirements,p_RecoveryFunding) {

 // Confirm that the object is usable:
 if (ajax) {

 // Call the PHP script.
 // Use the GET method.
 // Pass the username in the URL.
 ajax.open('get', 'http://www.recovery.net/includes/recovery/interactiveResultsRecovery.php?p_RecoveryLevelsOfCare=' + encodeURIComponent(p_RecoveryLevelsOfCare) 
+ '&p_RecoveryZip=' + encodeURIComponent(p_RecoveryZip)
+ '&p_RecoveryMethadoneBuprenorphine=' + encodeURIComponent(p_RecoveryMethadoneBuprenorphine)
+ '&p_RecoveryMentalHealth=' + encodeURIComponent(p_RecoveryMentalHealth)
+ '&p_RecoveryHospitalPhysicianCare=' + encodeURIComponent(p_RecoveryHospitalPhysicianCare)
+ '&p_RecoveryResidentialRequirements=' + encodeURIComponent(p_RecoveryResidentialRequirements)
+ '&p_RecoveryAgeSpecification=' + encodeURIComponent(p_RecoveryAgeSpecification)
+ '&p_RecoveryGender=' + encodeURIComponent(p_RecoveryGender)
+ '&p_RecoverySexualOrientation=' + encodeURIComponent(p_RecoverySexualOrientation)
+ '&p_RecoveryPregnantPostpartum=' + encodeURIComponent(p_RecoveryPregnantPostpartum)
+ '&p_RecoveryHIVAids=' + encodeURIComponent(p_RecoveryHIVAids)
+ '&p_RecoveryHearingImpaired=' + encodeURIComponent(p_RecoveryHearingImpaired)
+ '&p_RecoveryDUICriminalJustice=' + encodeURIComponent(p_RecoveryDUICriminalJustice)
+ '&p_RecoveryLanguageRequirements=' + encodeURIComponent(p_RecoveryLanguageRequirements)
+ '&p_RecoveryFunding=' + encodeURIComponent(p_RecoveryFunding)

	 );



// Function that handles the response:
 ajax.onreadystatechange = handle_check;

 // Send the request:
 ajax.send(null);

 } else { // Can't use Ajax!
 document.getElementById('targetDiv').innerHTML = 'The results will be returned upon submitting this form.';
 }

 }
 
 
 // Function that handles the response from the PHP script:
 function handle_check() {

 // If everything's OK:
 if ( (ajax.readyState == 4) && (ajax.status == 200) ) {

 // Assign the returned value to a document element:
 document.getElementById('targetDiv').innerHTML = ajax.responseText;

 }

 } // End of handle_check() function.




