(function($){
	$.e4eCountdown = function(){
		if(arguments.length === 0) return;
		var $countFrom = Date.parse(arguments[0]),
		$now = new Date(),
		$then = new Date($countFrom);
		var $countNow = Date.parse($now.toString());
		var $msLeft = $countFrom - $countNow;
		var $returnObj = {
			now: $now,
			then: $then,
			total:{
				msec: 	$msLeft,
				sec: 		$msLeft/1000,
				mins: 	($msLeft/1000)/60,
				hours:	(($msLeft/1000)/60)/60,
				days: 	((($msLeft/1000)/60)/60)/24,
				weeks: 	(((($msLeft/1000)/60)/60)/24)/7,
				months: 	((((($msLeft/1000)/60)/60)/24)/7)/4,
				years: 	(((($msLeft/1000)/60)/60)/24)/365
			},
			incremental:{
				msec: 	parseInt($msLeft % 100),
				sec: 		parseInt(($msLeft/1000)%60),
				mins: 	parseInt(($msLeft/(1000*60))%60),
				hours: 	parseInt(($msLeft/(1000*60*60))%24),
				days: 	parseInt(($msLeft/(1000*60*60*24))%7),
				weeks: 	parseInt(($msLeft/(1000*60*60*24*7))%4),
				months: 	parseInt(($msLeft/(1000*60*60*24*7*4))%12),
				years: 	parseInt(($msLeft/(1000*60*60*24*7*4*12)))
			}
		}
		return $returnObj;
	}
})(jQuery);


