
  function getColors(
p_StretchMarksManufacturer,
p_StretchMarksBrand,
p_StretchMarksRange,
p_StretchMarksType,
p_StretchMarksConcern,
p_StretchMarksApplicationArea,
p_StretchMarksNoncomedogenic,
p_StretchMarksHypoallergenic,
p_StretchMarksNonGreasy,
p_StretchMarksAntiOxidants,
p_StretchMarksSmoother,
p_StretchMarkTreatmentIngredients

) {

 // 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/StretchMarks/interactiveResultsStretchMarks.php?	p_StretchMarksManufacturer=' + encodeURIComponent(p_StretchMarksManufacturer) 
	+ '&p_StretchMarksBrand=' + encodeURIComponent(p_StretchMarksBrand)
	+ '&p_StretchMarksRange=' + encodeURIComponent(p_StretchMarksRange)
	+ '&p_StretchMarksType=' + encodeURIComponent(p_StretchMarksType)
	+ '&p_StretchMarksConcern=' + encodeURIComponent(p_StretchMarksConcern)
	+ '&p_StretchMarksApplicationArea=' + encodeURIComponent(p_StretchMarksApplicationArea)
	+ '&p_StretchMarksNoncomedogenic=' + encodeURIComponent(p_StretchMarksNoncomedogenic)
	+ '&p_StretchMarksHypoallergenic=' + encodeURIComponent(p_StretchMarksHypoallergenic)
	+ '&p_StretchMarksNonGreasy=' + encodeURIComponent(p_StretchMarksNonGreasy)
	+ '&p_StretchMarksAntiOxidants=' + encodeURIComponent(p_StretchMarksAntiOxidants)
	+ '&p_StretchMarksSmoother=' + encodeURIComponent(p_StretchMarksSmoother)
	+ '&p_StretchMarkTreatmentIngredients=' + encodeURIComponent(p_StretchMarkTreatmentIngredients)

		 );





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