(function(){
var part3=document.querySelector(".part3");
part3.addEventListener("touchstart",function(ev){
var startClientX=null,startClientY=null,
endClientX=null,endClientY=null;
startClientX=ev.touches[0].clientX;
startClientY=ev.touches[0].clientY;
part3.addEventListener("touchend",function(eve){
endClientX=eve.changedTouches[0].pageX;
endClientY=eve.changedTouches[0].pageY;
var xdis = endClientX - startClientX;
var ydis = endClientY - startClientY;
if (xdis<0 && Math.abs(xdis)>50 &&Math.abs(xdis)>Math.abs(ydis) ) {
console.log("startClientX = "+startClientX);
console.log("startClientY= "+startClientY);
console.log("endClientX= "+endClientX);
console.log("endClientY= "+endClientY);
console.log("xdis = "+xdis);
$(".registerDiv, .part3-login").animateCss("bounceOutRight");
$(".part3").fadeOut(1200);
$(".part2").fadeIn(500);
$(".vedioPart, .JionDriverBtnIcon , .JionDriverBtn").show();
$(".vedioPart, .JionDriverBtnIcon , .JionDriverBtn").animateCss("bounceInLeft");
console.log("<--------");
};
startClientX=null;
startClientY=null;
endClientX=null;
endClientY=null;
},false);
},false);
})();