
  function getColors(
p_DigitalCameraManufacturer,
p_DigitalCameraRange,
p_DigitalCameraType,
p_DigitalCameraColor,
p_DigitalCameraResolution,
p_DigitalCameraTotalZoom,
p_DigitalCameraFocus,
p_DigitalCameraSmartFeatures,
p_DigitalCameraShutterSpeed,
p_DigitalCameraWeight,
p_DigitalCameraFlash,
p_DigitalCameraBattery,
p_DigitalCameraLCDSize,
p_DigitalCameraViewfinder,
p_DigitalCameraFlashMode,
p_DigitalCameraSceneModes,
p_DigitalCameraStabilization,
p_DigitalCameraMultimedia






) {

 // 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/DigitalCamera/interactiveResultsDigitalCamera.php?	p_DigitalCameraManufacturer=' + encodeURIComponent(p_DigitalCameraManufacturer) 
	+ '&p_DigitalCameraRange=' + encodeURIComponent(p_DigitalCameraRange)
	+ '&p_DigitalCameraType=' + encodeURIComponent(p_DigitalCameraType)
	+ '&p_DigitalCameraColor=' + encodeURIComponent(p_DigitalCameraColor)
	+ '&p_DigitalCameraResolution=' + encodeURIComponent(p_DigitalCameraResolution)	
	+ '&p_DigitalCameraTotalZoom=' + encodeURIComponent(p_DigitalCameraTotalZoom)
	+ '&p_DigitalCameraFocus=' + encodeURIComponent(p_DigitalCameraFocus)	
	+ '&p_DigitalCameraSmartFeatures=' + encodeURIComponent(p_DigitalCameraSmartFeatures)	
	+ '&p_DigitalCameraShutterSpeed=' + encodeURIComponent(p_DigitalCameraShutterSpeed)
	+ '&p_DigitalCameraWeight=' + encodeURIComponent(p_DigitalCameraWeight)
	+ '&p_DigitalCameraFlash=' + encodeURIComponent(p_DigitalCameraFlash)
	+ '&p_DigitalCameraBattery=' + encodeURIComponent(p_DigitalCameraBattery)
	+ '&p_DigitalCameraLCDSize=' + encodeURIComponent(p_DigitalCameraLCDSize)
	+ '&p_DigitalCameraViewfinder=' + encodeURIComponent(p_DigitalCameraViewfinder)
	+ '&p_DigitalCameraFlashMode=' + encodeURIComponent(p_DigitalCameraFlashMode)
	+ '&p_DigitalCameraSceneModes=' + encodeURIComponent(p_DigitalCameraSceneModes)
	+ '&p_DigitalCameraStabilization=' + encodeURIComponent(p_DigitalCameraStabilization)
	+ '&p_DigitalCameraMultimedia=' + encodeURIComponent(p_DigitalCameraMultimedia)

		 );





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