// JavaScript Document
function sendMobile(couponId, phoneNumber, carrier){
	var url = "/coupons/SendMobileCoupon.do?couponId="+couponId+"&phoneNumber="+phoneNumber+"&carrier="+carrier;
		dojo.io.bind({
		url: url,
		load: function(type, data, evt){ handleSendMobileResult(data) },
		mimetype: "text/html"
		});	
	showLoading("message", "SMS is sending", true);
}

function handleSendMobileResult(data){
	document.getElementById("message").innerHTML=data;
}