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




 // 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.lubricants.com/includes/manufacturerContactProcess.php?packageSize='  + encodeURIComponent(packageSize) +
'&quantity='  + encodeURIComponent(quantity) +
'&timeframe=' + encodeURIComponent(timeframe) +
'&name=' + encodeURIComponent(name) +
'&company=' + encodeURIComponent(company) +
'&phone=' + encodeURIComponent(phone) +
'&email=' + encodeURIComponent(email) +
'&address=' + encodeURIComponent(address) +
'&country=' + encodeURIComponent(country) +
'&capt=' + encodeURIComponent(capt)+
'&id=' + encodeURIComponent(id)  +
'&pageCategory=' + encodeURIComponent(pageCategory)  +
'&product=' + encodeURIComponent(product) 

);



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