
  function getColors(p_EczemaManufacturer,
p_EczemaBrand,
p_EczemaRange,
p_EczemaTreatmentType,
p_EczemaAge,
p_EczemaPrescription,
p_EczemaSteroidFree,
p_EczemaTarFree,
p_EczemaFragranceFree,
p_EczemaHypoallergenic,
p_EczemaIngredients

) {

 // 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', '/includes/Eczema/interactiveResultsEczema.php?p_EczemaManufacturer=' + encodeURIComponent(p_EczemaManufacturer) 
	+ '&p_EczemaBrand=' + encodeURIComponent(p_EczemaBrand)
	+ '&p_EczemaRange=' + encodeURIComponent(p_EczemaRange)
	+ '&p_EczemaTreatmentType=' + encodeURIComponent(p_EczemaTreatmentType)
	+ '&p_EczemaAge=' + encodeURIComponent(p_EczemaAge)
	+ '&p_EczemaPrescription=' + encodeURIComponent(p_EczemaPrescription)
	+ '&p_EczemaSteroidFree=' + encodeURIComponent(p_EczemaSteroidFree)
	+ '&p_EczemaTarFree=' + encodeURIComponent(p_EczemaTarFree)
	+ '&p_EczemaFragranceFree=' + encodeURIComponent(p_EczemaFragranceFree)
	+ '&p_EczemaHypoallergenic=' + encodeURIComponent(p_EczemaHypoallergenic)
	+ '&p_EczemaIngredients=' + encodeURIComponent(p_EczemaIngredients)



		 );





// 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.
