
function getColors(
p_DisposableFaceMaskBrand,
p_DisposableFaceMaskRange,
p_DisposableFaceMaskMaterial,
p_DisposableFaceMaskColor,
p_DisposableFaceMaskLatexFree,
p_DisposableFaceMaskAvailableSizes,
p_DisposableFaceMaskApprovals,
p_DisposableFaceMaskApplication,
p_DisposableFaceMaskFeatures
) {

 // 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.face-mask.com/includes/FaceMask/Health/interactiveResultsDisposableFaceMask.php?p_DisposableFaceMaskBrand=' + encodeURIComponent(p_DisposableFaceMaskBrand)
	+ '&p_DisposableFaceMaskRange=' + encodeURIComponent(p_DisposableFaceMaskRange)
	+ '&p_DisposableFaceMaskMaterial=' + encodeURIComponent(p_DisposableFaceMaskMaterial)
	+ '&p_DisposableFaceMaskColor=' + encodeURIComponent(p_DisposableFaceMaskColor)
	+ '&p_DisposableFaceMaskLatexFree=' + encodeURIComponent(p_DisposableFaceMaskLatexFree)
	+ '&p_DisposableFaceMaskAvailableSizes=' + encodeURIComponent(p_DisposableFaceMaskAvailableSizes)
	+ '&p_DisposableFaceMaskApprovals=' + encodeURIComponent(p_DisposableFaceMaskApprovals)
	+ '&p_DisposableFaceMaskApplication=' + encodeURIComponent(p_DisposableFaceMaskApplication)
	+ '&p_DisposableFaceMaskFeatures=' + encodeURIComponent(p_DisposableFaceMaskFeatures)




		 );





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