
  function getColors(
p_CellPhoneManufacturer,
p_CellPhoneRange,
p_CellPhoneType,
p_CellPhoneStyle,
p_CellPhoneScreenSize,
p_CellPhoneMemory,
p_CellPhoneFeatures,
p_CellPhoneColor,
p_CellPhoneFullKeyboard,
p_CellPhoneMaxUsageTime,
p_CellPhoneMaxStandbyTime,
p_CellPhoneOperatingSystem,
p_CellPhonePlaybackMedia,
p_CellPhoneTouchScreen,
p_CellPhoneNetwork,
p_CellPhoneSupportsMemoryCards,
p_CellPhoneNetworkFeatures,
p_CellPhoneCameraFeatures

) {

 // 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/CellPhone/interactiveResultsCellPhone.php?	p_CellPhoneManufacturer=' + encodeURIComponent(p_CellPhoneManufacturer) 
	+ '&p_CellPhoneRange=' + encodeURIComponent(p_CellPhoneRange)
	+ '&p_CellPhoneType=' + encodeURIComponent(p_CellPhoneType)
	+ '&p_CellPhoneStyle=' + encodeURIComponent(p_CellPhoneStyle)
	+ '&p_CellPhoneScreenSize=' + encodeURIComponent(p_CellPhoneScreenSize)
	+ '&p_CellPhoneMemory=' + encodeURIComponent(p_CellPhoneMemory)
	+ '&p_CellPhoneFeatures=' + encodeURIComponent(p_CellPhoneFeatures)
	+ '&p_CellPhoneColor=' + encodeURIComponent(p_CellPhoneColor)
	+ '&p_CellPhoneFullKeyboard=' + encodeURIComponent(p_CellPhoneFullKeyboard)
	+ '&p_CellPhoneMaxUsageTime=' + encodeURIComponent(p_CellPhoneMaxUsageTime)
	+ '&p_CellPhoneMaxStandbyTime=' + encodeURIComponent(p_CellPhoneMaxStandbyTime)
	+ '&p_CellPhoneOperatingSystem=' + encodeURIComponent(p_CellPhoneOperatingSystem)
	+ '&p_CellPhonePlaybackMedia=' + encodeURIComponent(p_CellPhonePlaybackMedia)
	+ '&p_CellPhoneTouchScreen=' + encodeURIComponent(p_CellPhoneTouchScreen)
	+ '&p_CellPhoneNetwork=' + encodeURIComponent(p_CellPhoneNetwork)
	+ '&p_CellPhoneSupportsMemoryCards=' + encodeURIComponent(p_CellPhoneSupportsMemoryCards)
	+ '&p_CellPhoneNetworkFeatures=' + encodeURIComponent(p_CellPhoneNetworkFeatures)
	+ '&p_CellPhoneCameraFeatures=' + encodeURIComponent(p_CellPhoneCameraFeatures)


		 );





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