function getColors(p_JetSkiManufacturer,p_JetSkiBrand,p_JetSkiYear,p_JetSkiVehicleType,p_JetSkiColor,p_JetSkiMSRP,p_JetSkiEngineType,p_JetSkiFuelCapacity,p_JetSkiRiders,p_JetSkiEngineDisplacement,p_JetSkiBoreStroke,p_JetSkiCooling,p_JetSkiPump,p_JetSkiStorage,p_JetSkiLength,p_JetSkiWidth,p_JetSkiHeight,p_JetSkiDryWeight) {

 // 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/jetSki/interactiveResultsJetSki.php?p_JetSkiManufacturer=' + encodeURIComponent(p_JetSkiManufacturer) +
'&p_JetSkiBrand=' + encodeURIComponent(p_JetSkiBrand) +
'&p_JetSkiYear=' + encodeURIComponent(p_JetSkiYear) +
'&p_JetSkiVehicleType=' + encodeURIComponent(p_JetSkiVehicleType) +
'&p_JetSkiColor=' + encodeURIComponent(p_JetSkiColor) +
'&p_JetSkiMSRP=' + encodeURIComponent(p_JetSkiMSRP) + 
'&p_JetSkiEngineType=' + encodeURIComponent(p_JetSkiEngineType) +
'&p_JetSkiFuelCapacity=' + encodeURIComponent(p_JetSkiFuelCapacity) +
'&p_JetSkiRiders=' + encodeURIComponent(p_JetSkiRiders) + 
'&p_JetSkiEngineDisplacement=' + encodeURIComponent(p_JetSkiEngineDisplacement) + 
'&p_JetSkiBoreStroke=' + encodeURIComponent(p_JetSkiBoreStroke) + 
'&p_JetSkiCooling=' + encodeURIComponent(p_JetSkiCooling) + 
'&p_JetSkiPump=' + encodeURIComponent(p_JetSkiPump) + 
'&p_JetSkiStorage=' + encodeURIComponent(p_JetSkiStorage) +
'&p_JetSkiLength=' + encodeURIComponent(p_JetSkiLength) +
'&p_JetSkiWidth=' + encodeURIComponent(p_JetSkiWidth) +
'&p_JetSkiHeight=' + encodeURIComponent(p_JetSkiHeight) + 
'&p_JetSkiDryWeight=' + encodeURIComponent(p_JetSkiDryWeight)

	 );



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