function getColors(p_ScooterManufacturer,p_ScooterYear,p_ScooterColor,p_ScooterMSRP,p_ScooterEngineType,p_ScooterSeatHeight,p_ScooterFuelCapacity,p_ScooterDryWeight,p_ScooterFuelSystem,p_ScooterWheelBase,p_ScooterEngineDisplacement,p_ScooterCooling,p_ScooterFinalDrive,p_ScooterFrontBrake,p_ScooterRearBrake,p_ScooterStartingSystem) {

 // 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/scooter/interactiveResultsScooter.php?p_ScooterManufacturer=' + encodeURIComponent(p_ScooterManufacturer) +
'&p_ScooterYear=' + encodeURIComponent(p_ScooterYear) +
'&p_ScooterColor=' + encodeURIComponent(p_ScooterColor) +
'&p_ScooterMSRP=' + encodeURIComponent(p_ScooterMSRP) +
'&p_ScooterEngineType=' + encodeURIComponent(p_ScooterEngineType) +
'&p_ScooterSeatHeight=' + encodeURIComponent(p_ScooterSeatHeight) +
'&p_ScooterFuelCapacity=' + encodeURIComponent(p_ScooterFuelCapacity) +
'&p_ScooterDryWeight=' + encodeURIComponent(p_ScooterDryWeight) +
'&p_ScooterFuelSystem=' + encodeURIComponent(p_ScooterFuelSystem) +
'&p_ScooterWheelBase=' + encodeURIComponent(p_ScooterWheelBase) +
'&p_ScooterEngineDisplacement=' + encodeURIComponent(p_ScooterEngineDisplacement) +
'&p_ScooterCooling=' + encodeURIComponent(p_ScooterCooling) +
'&p_ScooterFinalDrive=' + encodeURIComponent(p_ScooterFinalDrive) +
'&p_ScooterFrontBrake=' + encodeURIComponent(p_ScooterFrontBrake) +
'&p_ScooterRearBrake=' + encodeURIComponent(p_ScooterRearBrake) + 
'&p_ScooterStartingSystem=' + encodeURIComponent(p_ScooterStartingSystem)

	 );



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