
  function getColors(p_GenitalWartsManufacturer,
p_GenitalWartsBrand,
p_GenitalWartsRange,
p_GenitalWartsPrescription,
p_GenitalWartsBodySite,
p_GenitalWartsTreatmentType,
p_GenitalWartsFrequency,
p_GenitalWartsResultsIn

) {

 // 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', '/includes/GenitalWarts/interactiveResultsGenitalWarts.php?p_GenitalWartsManufacturer=' + encodeURIComponent(p_GenitalWartsManufacturer) 
	+ '&p_GenitalWartsBrand=' + encodeURIComponent(p_GenitalWartsBrand)
	+ '&p_GenitalWartsRange=' + encodeURIComponent(p_GenitalWartsRange)
	+ '&p_GenitalWartsPrescription=' + encodeURIComponent(p_GenitalWartsPrescription)
	+ '&p_GenitalWartsBodySite=' + encodeURIComponent(p_GenitalWartsBodySite)
	+ '&p_GenitalWartsTreatmentType=' + encodeURIComponent(p_GenitalWartsTreatmentType)
	+ '&p_GenitalWartsFrequency=' + encodeURIComponent(p_GenitalWartsFrequency)
	+ '&p_GenitalWartsResultsIn=' + encodeURIComponent(p_GenitalWartsResultsIn)




		 );





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