var dateEnd = +$.cookie("timer");
var dateEnd = +returnEndDate(5,5,3); $.cookie("timer", dateEnd, {expires: 7});