function getContact(timeframe,name,phone,email,address,country,capt,id,product,pageCategory) {


 // 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/dealerContactProcess.php?timeframe=' + encodeURIComponent(timeframe ) +
'&name=' + encodeURIComponent(name ) +
'&phone=' + encodeURIComponent(phone ) +
'&email=' + encodeURIComponent(email ) +
'&address=' + encodeURIComponent(address ) +
'&country=' + encodeURIComponent(country ) +
'&capt=' + encodeURIComponent(capt )  +
'&id=' + encodeURIComponent(id )  +
'&product=' + encodeURIComponent(product ) + 
'&pageCategory=' + encodeURIComponent(pageCategory )
);



// Function that handles the response:
 ajax.onreadystatechange = handle_check_contact;

 // Send the request:
 ajax.send(null);

 } else { // Can't use Ajax!
 document.getElementById('contactDiv').innerHTML = 'The results will be returned upon submitting this form.';
 }

 }
 
 
 // Function that handles the response from the PHP script:
 function handle_check_contact() {

 // If everything's OK:
 if ( (ajax.readyState == 4) && (ajax.status == 200) ) {

 // Assign the returned value to a document element:
 document.getElementById('contactDiv').innerHTML = ajax.responseText;

 }

 } // End of handle_check() function.
