
  function getColors(p_manufacturer,p_brand,p_type,p_price_range,p_WrinkleRemovers,p_SunScreens,p_AntiOxidants,p_Vegan,p_Fragrance,p_Smoother,p_Soothing,p_AnimalTesting,p_Concern,p_WrinkleMoisturizers) {

 // 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.wrinklecream.com/includes/wrinkleCream/interactiveResultsWrinkleCream.php?	p_manufacturer=' + encodeURIComponent(p_manufacturer) 
		+ '&p_brand=' + encodeURIComponent(p_brand)
		+ '&p_type=' + encodeURIComponent(p_type)	
		+ '&p_price_range=' + encodeURIComponent(p_price_range) 
		+ '&p_WrinkleRemovers=' + encodeURIComponent(p_WrinkleRemovers) 
		+ '&p_SunScreens=' + encodeURIComponent(p_SunScreens) 
		+ '&p_AntiOxidants=' + encodeURIComponent(p_AntiOxidants)
		+ '&p_Vegan=' + encodeURIComponent(p_Vegan)	
		+ '&p_Fragrance=' + encodeURIComponent(p_Fragrance)	
		+ '&p_Smoother=' + encodeURIComponent(p_Smoother)	
		+ '&p_Soothing=' + encodeURIComponent(p_Soothing)
		+ '&p_AnimalTesting=' + encodeURIComponent(p_AnimalTesting)
		+ '&p_Concern=' + encodeURIComponent(p_Concern)
		+ '&p_WrinkleMoisturizers=' + encodeURIComponent(p_WrinkleMoisturizers)

		 );





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