function getColors(p_CompressorOilManufacturer,p_CompressorOilBrand,p_CompressorOilISOGrade,p_CompressorOilCompressorType,p_CompressorOilBaseOil,p_CompressorOilFoodGrade,p_CompressorOilViscosityIndex,p_CompressorOilPour,p_CompressorOilViscosity,p_CompressorOilViscosity100,p_CompressorOilViscositySUS100,p_CompressorOilViscositySUS210) {

 // 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/CompressorOil/interactiveResultsCompressorOil.php?p_CompressorOilManufacturer=' + encodeURIComponent(p_CompressorOilManufacturer) +
'&p_CompressorOilBrand=' + encodeURIComponent(p_CompressorOilBrand ) +
'&p_CompressorOilISOGrade=' + encodeURIComponent(p_CompressorOilISOGrade ) + 
'&p_CompressorOilCompressorType=' + encodeURIComponent(p_CompressorOilCompressorType ) +
'&p_CompressorOilBaseOil=' + encodeURIComponent(p_CompressorOilBaseOil ) +
'&p_CompressorOilFoodGrade=' + encodeURIComponent(p_CompressorOilFoodGrade )  +
'&p_CompressorOilViscosityIndex=' + encodeURIComponent(p_CompressorOilViscosityIndex )+
'&p_CompressorOilPour=' + encodeURIComponent(p_CompressorOilPour )  +
'&p_CompressorOilViscosity=' + encodeURIComponent(p_CompressorOilViscosity ) +
'&p_CompressorOilViscosity100=' + encodeURIComponent(p_CompressorOilViscosity100 ) +
'&p_CompressorOilViscositySUS100=' + encodeURIComponent(p_CompressorOilViscositySUS100 ) +
'&p_CompressorOilViscositySUS210=' + encodeURIComponent(p_CompressorOilViscositySUS210 )
	 );



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