
  function getColors(
p_MP3PlayerManufacturer,
p_MP3PlayerRange,
p_MP3PlayerType,
p_MP3PlayerScreenSize,
p_MP3PlayerMemory,
p_MP3PlayerFeatures,
p_MP3PlayerColor,
p_MP3PlayerPlaybackMedia,
p_MP3PlayerBatteryLife,
p_MP3PlayerTouchScreen,
p_MP3PlayerBatteryType,
p_MP3PlayerOperatingSystem

) {

 // 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/MP3Player/interactiveResultsMP3Player.php?	p_MP3PlayerManufacturer=' + encodeURIComponent(p_MP3PlayerManufacturer) 
	+ '&p_MP3PlayerRange=' + encodeURIComponent(p_MP3PlayerRange)
	+ '&p_MP3PlayerType=' + encodeURIComponent(p_MP3PlayerType)
	+ '&p_MP3PlayerScreenSize=' + encodeURIComponent(p_MP3PlayerScreenSize)
	+ '&p_MP3PlayerMemory=' + encodeURIComponent(p_MP3PlayerMemory)
	+ '&p_MP3PlayerFeatures=' + encodeURIComponent(p_MP3PlayerFeatures)
	+ '&p_MP3PlayerColor=' + encodeURIComponent(p_MP3PlayerColor)
	+ '&p_MP3PlayerPlaybackMedia=' + encodeURIComponent(p_MP3PlayerPlaybackMedia)
	+ '&p_MP3PlayerBatteryLife=' + encodeURIComponent(p_MP3PlayerBatteryLife)
	+ '&p_MP3PlayerTouchScreen=' + encodeURIComponent(p_MP3PlayerTouchScreen)
	+ '&p_MP3PlayerBatteryType=' + encodeURIComponent(p_MP3PlayerBatteryType)
	+ '&p_MP3PlayerOperatingSystem=' + encodeURIComponent(p_MP3PlayerOperatingSystem)

		 );





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