Subversion Repositories SmartDukaan

Rev

Rev 15767 | Rev 15901 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15767 Rev 15797
Line 500... Line 500...
500
	}
500
	}
501
}
501
}
502
 
502
 
503
function showpopup(id,count,interval){
503
function showpopup(id,count,interval){
504
	var cname = 'notif-count-'+me+'-'+id;
504
	var cname = 'notif-count-'+me+'-'+id;
505
	var cookieval = getCookie(cname,0);
505
	var cookieval = getCookie(cname,1);
506
	var cname = 'notif-lastshown-'+me+'-'+id;
506
	var cname = 'notif-lastshown-'+me+'-'+id;
507
	var lastshown = getCookie(cname,0);
507
	var lastshown = getCookie(cname,1);
508
	if(!cookieval || cookieval == 'NaN' || cookieval==''){		
508
	if(!cookieval || cookieval == 'NaN' || cookieval==''){		
509
		incrementPopupCount(id,0,'notif-count-');
509
		incrementPopupCount(id,0,'notif-count-');
510
		setLastShown(id,'notif-lastshown-');
510
		setLastShown(id,'notif-lastshown-');
511
		return true;
511
		return true;
512
	} else{
512
	} else{