
  function getColors(
p_HandheldGPSManufacturer,
p_HandheldGPSRange,
p_HandheldGPSType,
p_HandheldGPSColor,
p_HandheldGPSScreenSize,
p_HandheldGPSWeight,
p_HandheldGPSBatteryLife,
p_HandheldGPSWaterproof,
p_HandheldGPSMapSource,
p_HandheldGPSFeatures





) {

 // 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/HandheldGPS/interactiveResultsHandheldGPS.php?	p_HandheldGPSManufacturer=' + encodeURIComponent(p_HandheldGPSManufacturer) 
	+ '&p_HandheldGPSRange=' + encodeURIComponent(p_HandheldGPSRange)
	+ '&p_HandheldGPSType=' + encodeURIComponent(p_HandheldGPSType)
	+ '&p_HandheldGPSColor=' + encodeURIComponent(p_HandheldGPSColor)
	+ '&p_HandheldGPSScreenSize=' + encodeURIComponent(p_HandheldGPSScreenSize)
	+ '&p_HandheldGPSWeight=' + encodeURIComponent(p_HandheldGPSWeight)
	+ '&p_HandheldGPSBatteryLife=' + encodeURIComponent(p_HandheldGPSBatteryLife)
	+ '&p_HandheldGPSWaterproof=' + encodeURIComponent(p_HandheldGPSWaterproof)
	+ '&p_HandheldGPSMapSource=' + encodeURIComponent(p_HandheldGPSMapSource)

	+ '&p_HandheldGPSFeatures=' + encodeURIComponent(p_HandheldGPSFeatures)


		 );





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