function getColors(p_MotorcycleEngineOilManufacturer,p_MotorcycleEngineOilBrand,p_MotorcycleEngineOilSAEGrade,p_MotorcycleEngineOilEngineType,p_MotorcycleEngineOilFluidType,p_MotorcycleEngineOilViscosity,p_MotorcycleEngineOilViscosity100,p_MotorcycleEngineOilViscosityIndex,p_MotorcycleEngineOilFlash,p_MotorcycleEngineOilPour,p_MotorcycleEngineOilAPIRating,p_MotorcycleEngineOilTotalBase,p_MotorcycleEngineOilColor) {

 // 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.lubricants.com/includes/MotorcycleEngineOil/interactiveResultsMotorcycleEngineOil.php?p_MotorcycleEngineOilManufacturer=' + encodeURIComponent(p_MotorcycleEngineOilManufacturer) +
'&p_MotorcycleEngineOilBrand=' + encodeURIComponent(p_MotorcycleEngineOilBrand ) +
'&p_MotorcycleEngineOilSAEGrade=' + encodeURIComponent(p_MotorcycleEngineOilSAEGrade )  +
'&p_MotorcycleEngineOilEngineType=' + encodeURIComponent(p_MotorcycleEngineOilEngineType ) +
'&p_MotorcycleEngineOilFluidType=' + encodeURIComponent(p_MotorcycleEngineOilFluidType ) +
'&p_MotorcycleEngineOilViscosity=' + encodeURIComponent(p_MotorcycleEngineOilViscosity ) +
'&p_MotorcycleEngineOilViscosity100=' + encodeURIComponent(p_MotorcycleEngineOilViscosity100 ) +
'&p_MotorcycleEngineOilViscosityIndex=' + encodeURIComponent(p_MotorcycleEngineOilViscosityIndex )  +
'&p_MotorcycleEngineOilFlash=' + encodeURIComponent(p_MotorcycleEngineOilFlash ) +
'&p_MotorcycleEngineOilPour=' + encodeURIComponent(p_MotorcycleEngineOilPour )  +
'&p_MotorcycleEngineOilAPIRating=' + encodeURIComponent(p_MotorcycleEngineOilAPIRating )  +
'&p_MotorcycleEngineOilTotalBase=' + encodeURIComponent(p_MotorcycleEngineOilTotalBase ) +
'&p_MotorcycleEngineOilColor=' + encodeURIComponent(p_MotorcycleEngineOilColor ) 
	 );



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