
  function getColors(
p_DigitalRecipeKeeperManufacturer,
p_DigitalRecipeKeeperRange,
p_DigitalRecipeKeeperScreenSize,
p_DigitalRecipeKeeperWeight,
p_DigitalRecipeKeeperColor,
p_DigitalRecipeKeeperWireless,
p_DigitalRecipeKeeperScreenRotate,
p_DigitalRecipeKeeperTouchScreen,
p_DigitalRecipeKeeperFeatures





) {

 // 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/DigitalRecipeKeeper/interactiveResultsDigitalRecipeKeeper.php?p_DigitalRecipeKeeperManufacturer=' + encodeURIComponent(p_DigitalRecipeKeeperManufacturer) 
	+ '&p_DigitalRecipeKeeperRange=' + encodeURIComponent(p_DigitalRecipeKeeperRange)
	+ '&p_DigitalRecipeKeeperScreenSize=' + encodeURIComponent(p_DigitalRecipeKeeperScreenSize)
	+ '&p_DigitalRecipeKeeperWeight=' + encodeURIComponent(p_DigitalRecipeKeeperWeight)
	+ '&p_DigitalRecipeKeeperColor=' + encodeURIComponent(p_DigitalRecipeKeeperColor)
	+ '&p_DigitalRecipeKeeperWireless=' + encodeURIComponent(p_DigitalRecipeKeeperWireless)
	+ '&p_DigitalRecipeKeeperScreenRotate=' + encodeURIComponent(p_DigitalRecipeKeeperScreenRotate)
	+ '&p_DigitalRecipeKeeperTouchScreen=' + encodeURIComponent(p_DigitalRecipeKeeperTouchScreen)
	+ '&p_DigitalRecipeKeeperFeatures=' + encodeURIComponent(p_DigitalRecipeKeeperFeatures)


		 );





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