
  function getColors(
p_PortableDVDManufacturer,
p_PortableDVDRange,
p_PortableDVDType,
p_PortableDVDScreenSize,
p_PortableDVDResolution,
p_PortableDVDFeatures,
p_PortableDVDInputOutput,
p_PortableDVDColor,
p_PortableDVDPlaybackMedia,
p_PortableDVDBatteryLife

) {

 // 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/PortableDVD/interactiveResultsPortableDVD.php?	p_PortableDVDManufacturer=' + encodeURIComponent(p_PortableDVDManufacturer) 
	+ '&p_PortableDVDRange=' + encodeURIComponent(p_PortableDVDRange)
	+ '&p_PortableDVDType=' + encodeURIComponent(p_PortableDVDType)
	+ '&p_PortableDVDScreenSize=' + encodeURIComponent(p_PortableDVDScreenSize)
	+ '&p_PortableDVDResolution=' + encodeURIComponent(p_PortableDVDResolution)
	+ '&p_PortableDVDFeatures=' + encodeURIComponent(p_PortableDVDFeatures)
	+ '&p_PortableDVDInputOutput=' + encodeURIComponent(p_PortableDVDInputOutput)
	+ '&p_PortableDVDColor=' + encodeURIComponent(p_PortableDVDColor)
	+ '&p_PortableDVDPlaybackMedia=' + encodeURIComponent(p_PortableDVDPlaybackMedia)
	+ '&p_PortableDVDBatteryLife=' + encodeURIComponent(p_PortableDVDBatteryLife)

		 );





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