
  function getColors(
p_AnnouncementCardsBrand,
p_AnnouncementCardsRange,
p_AnnouncementCardsType,
p_AnnouncementCardsFormat,
p_AnnouncementCardsStyle,
p_AnnouncementCardsPhoto,
p_AnnouncementCardsShape,
p_AnnouncementCardsSize,
p_AnnouncementCardsRecycledPaper,
p_AnnouncementCardsColor,
p_AnnouncementCardsPhotoSupport
) {

 // 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.AnnouncementCards.com/includes/AnnouncementCards/interactiveResultsAnnouncementCards.php?p_AnnouncementCardsBrand=' + encodeURIComponent(p_AnnouncementCardsBrand)
	+ '&p_AnnouncementCardsRange=' + encodeURIComponent(p_AnnouncementCardsRange)
	+ '&p_AnnouncementCardsType=' + encodeURIComponent(p_AnnouncementCardsType)
	+ '&p_AnnouncementCardsFormat=' + encodeURIComponent(p_AnnouncementCardsFormat)
	+ '&p_AnnouncementCardsStyle=' + encodeURIComponent(p_AnnouncementCardsStyle)
	+ '&p_AnnouncementCardsPhoto=' + encodeURIComponent(p_AnnouncementCardsPhoto)
	+ '&p_AnnouncementCardsShape=' + encodeURIComponent(p_AnnouncementCardsShape)
	+ '&p_AnnouncementCardsSize=' + encodeURIComponent(p_AnnouncementCardsSize)
	+ '&p_AnnouncementCardsRecycledPaper=' + encodeURIComponent(p_AnnouncementCardsRecycledPaper)
	+ '&p_AnnouncementCardsColor=' + encodeURIComponent(p_AnnouncementCardsColor)
	+ '&p_AnnouncementCardsPhotoSupport=' + encodeURIComponent(p_AnnouncementCardsPhotoSupport)


		 );





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