// ios7 touchstart bug
if(navigator.userAgent.indexOf("iPhone OS 7") != -1){
var startX = 0 , startY = 0;
$('#recommendSubmit').bind("touchstart",function(){
event.preventDefault();
startX = event.changedTouches[0].pageX;
startY = event.changedTouches[0].pageY;
});
$('#recommendSubmit').bind("touchend",function(e){
var endX = event.changedTouches[0].pageX;
var endY = event.changedTouches[0].pageY;
if(Math.abs(endX - startX) < 20 && Math.abs(endY - startY) < 20){
$('#recommendedNumber').blur();
$(this).trigger('click');
}
event.preventDefault();
});
}