function getColors(p_HybridCarManufacturer,p_HybridCarBrand,p_HybridCarYear,p_HybridCarMSRP,p_HybridCarBattery,p_HybridCarHorsepower,p_HybridCarMotor,p_HybridCarEngineType,p_HybridCarBodyStyle,p_HybridCarColor,p_HybridCarInteriorColor,p_HybridCarMPGHighway,p_HybridCarMPGCity,p_HybridCarDriveType,p_HybridCarTransmission,p_HybridCarSeats,p_HybridCarFrontSeatWarmers,p_HybridCarAntiLockBrakes,p_HybridCarWheelbase,p_HybridCarLength,p_HybridCarWidth,p_HybridCarHeight,p_HybridCarHeadRoom,p_HybridCarLegRoom) {

 // 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/hybrid/interactiveResultsHybrid.php?p_HybridCarManufacturer=' + encodeURIComponent(p_HybridCarManufacturer) +
'&p_HybridCarBrand=' + encodeURIComponent(p_HybridCarBrand) +
'&p_HybridCarYear=' + encodeURIComponent(p_HybridCarYear) +
'&p_HybridCarMSRP=' + encodeURIComponent(p_HybridCarMSRP) + 
'&p_HybridCarBattery=' + encodeURIComponent(p_HybridCarBattery) +
'&p_HybridCarHorsepower=' + encodeURIComponent(p_HybridCarHorsepower) +
'&p_HybridCarMotor=' + encodeURIComponent(p_HybridCarMotor) +
'&p_HybridCarEngineType=' + encodeURIComponent(p_HybridCarEngineType) +
'&p_HybridCarBodyStyle=' + encodeURIComponent(p_HybridCarBodyStyle) + 
'&p_HybridCarColor=' + encodeURIComponent(p_HybridCarColor)  +
'&p_HybridCarInteriorColor=' + encodeURIComponent(p_HybridCarInteriorColor)  +
'&p_HybridCarMPGHighway=' + encodeURIComponent(p_HybridCarMPGHighway)  +
'&p_HybridCarMPGCity=' + encodeURIComponent(p_HybridCarMPGCity)  +
'&p_HybridCarDriveType=' + encodeURIComponent(p_HybridCarDriveType)  +
'&p_HybridCarTransmission=' + encodeURIComponent(p_HybridCarTransmission) +
'&p_HybridCarSeats=' + encodeURIComponent(p_HybridCarSeats) +
'&p_HybridCarFrontSeatWarmers=' + encodeURIComponent(p_HybridCarFrontSeatWarmers) +
'&p_HybridCarAntiLockBrakes=' + encodeURIComponent(p_HybridCarAntiLockBrakes) +
'&p_HybridCarWheelbase=' + encodeURIComponent(p_HybridCarWheelbase) +
'&p_HybridCarLength=' + encodeURIComponent(p_HybridCarLength) +
'&p_HybridCarWidth=' + encodeURIComponent(p_HybridCarWidth) +
'&p_HybridCarHeight=' + encodeURIComponent(p_HybridCarHeight) +
'&p_HybridCarHeadRoom=' + encodeURIComponent(p_HybridCarHeadRoom) +
'&p_HybridCarLegRoom=' + encodeURIComponent(p_HybridCarLegRoom)






	 );



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