var d=new Date();
var stime=d.getTime();
var aid='6';
var thisPage = location.href;
var referringPage = (document.referrer) ? document.referrer : "none";
var tt = document.title;
var beacon = new Image();

var hweb = thisPage.split(".")[0];
var aweb = hweb.split("//")[1];
platform=1;
if(aweb== 'www'){
	platform=1;
}else if(aweb== 'm'){
	platform=2;
}else if(aweb== 'mip'){
	platform=2;
}



function zimg(aid,thisPage,referringPage,tt,platform,stime,fx){
		beacon.src = "https://union3.89jm.com/webdot"+aid+".gif?appkey=operate_log&action=click&cnpage=" + encodeURI(thisPage) + "&cnref=" + encodeURI(referringPage)+'&cnaid='+aid+'&cntt='+tt+'&platform='+platform+'&gid='+gid+'&direction='+fx+'&time='+stime;
}


 beacon.src = "https://union3.89jm.com/webdot"+aid+".gif?appkey=operate_log&action=show&cnpage=" + encodeURI(thisPage) + "&cnref=" + encodeURI(referringPage)+'&cnaid='+aid+'&cntt='+tt+'&platform='+platform+'&gid='+gid+'&time='+stime;
 

$(".jjxzIn_down_link .leftdown").on('click', "a", function(){
	var d=new Date();
	var stime=d.getTime();
	zimg(aid,thisPage,referringPage,tt,platform,stime,'left');
});




$(".jjxzIn_down_link .rightdown").on('click', "a", function(){
	var d=new Date();
	var stime=d.getTime();
	zimg(aid,thisPage,referringPage,tt,platform,stime,'right');
});




$(".gdown_top_btn3 .leftdown").click(function(){
	var d=new Date();
	var stime=d.getTime();
	zimg(aid,thisPage,referringPage,tt,platform,stime,'left');
});




$(".gdown_top_btn3 .rightdown").click(function(){
	var d=new Date();
	var stime=d.getTime();
	zimg(aid,thisPage,referringPage,tt,platform,stime,'right');
});






	