function email_order(user_email, user_name, address, ship, amount) {
	if (ajax) {
		var q = 'confirm_order_email.php?e=' + encodeURIComponent(user_email) + '&n=' + encodeURIComponent(user_name) + '&a=' + encodeURIComponent(address) + '&s=' + encodeURIComponent(ship) + '&p=' + encodeURIComponent(amount);
		ajax.open('get',q,false);
		ajax.onreadystatechange = handle_check;
		ajax.send(null);
	} 
}
function email_order_ship(user_email, user_name, address, ship, amount) {
	if (ajax) {
		var q = 'confirm_order_email_ship.php?e=' + encodeURIComponent(user_email) + '&n=' + encodeURIComponent(user_name) + '&a=' + encodeURIComponent(address) + '&s=' + encodeURIComponent(ship) + '&p=' + encodeURIComponent(amount);
		ajax.open('get',q,false);
		ajax.onreadystatechange = handle_check;
		ajax.send(null);
	} 
}

function handle_check() {
if ((ajax.readyState == 4) && (ajax.status == 200)) {
		alert('Thank you for your order. An order confirmation email is being sent to you. If you have selected to pay with PayPal or Credit Card, you will now be directed to the PayPal site for payment processing. If you selected payment by Check or Money Order, please mail payment in USD to us and check for your email for order confirmation and payment instructions.');
	}
}		