
  function getColors(
p_AcneManufacturer,
p_AcneBrand,
p_AcneRange,
p_AcneConcern,
p_AcneStrength,
p_AcneType,
p_AcneNoncomedogenic,
p_AcneOilFree,
p_AcneAntiOxidants,
p_AcneAcneIngredients,
p_AcneSmoother

) {

 // 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.buyersguide.com/includes/Acne/interactiveResultsAcne.php?	p_AcneManufacturer=' + encodeURIComponent(p_AcneManufacturer) 
	+ '&p_AcneBrand=' + encodeURIComponent(p_AcneBrand)
	+ '&p_AcneRange=' + encodeURIComponent(p_AcneRange)
	+ '&p_AcneConcern=' + encodeURIComponent(p_AcneConcern)
	+ '&p_AcneStrength=' + encodeURIComponent(p_AcneStrength)
	+ '&p_AcneType=' + encodeURIComponent(p_AcneType)
	+ '&p_AcneNoncomedogenic=' + encodeURIComponent(p_AcneNoncomedogenic)
	+ '&p_AcneOilFree=' + encodeURIComponent(p_AcneOilFree)
	+ '&p_AcneAntiOxidants=' + encodeURIComponent(p_AcneAntiOxidants)
	+ '&p_AcneAcneIngredients=' + encodeURIComponent(p_AcneAcneIngredients)
	+ '&p_AcneSmoother=' + encodeURIComponent(p_AcneSmoother)


		 );





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