eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('4 f(){3 d,h,m,s;d=2($(\'#g\').1());h=2($(\'#i\').1());m=2($(\'#j\').1());s=2($(\'#k\').1());5.6.7=8.9+(d>0?d+\'d\':\'\')+(h>0?h+\'h\':\'\')+(m>0?m+\'m\':\'\')+(s>0?s+\'s\':\'\')}4 l(){3 d,h,m,s;3 a=\'\';h=2($(\'#n\').1());m=2($(\'#o\').1());s=2($(\'#p\').1());b($(\'#c\').1()==\'\'){b($(\'#e\').1()!=\'\')a=$(\'#e\').1()+\' \'}q{a=$(\'#c\').1()}a+=h+(m>0||s>0?\':\'+m:\'\')+(s>0?\':\'+s:\'\')+$(\'#r\').1();5.6.7=8.9+a}',29,29,'|val|parseInt|var|function|window|location|href|Timer|timerURLbase||if|date||rel|createTimer|days||hours|minutes|seconds|createCountdown||hour|minute|second|else|pmam|'.split('|'),0,{}))
$(function(){
		//all hover and click logic for buttons
		$(".fg-button:not(.ui-state-disabled)")
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		)
		.mousedown(function(){
				$(this).parents('.fg-buttonset-single:first').find(".fg-button.ui-state-active").removeClass("ui-state-active");
				if( $(this).is('.ui-state-active.fg-button-toggleable, .fg-buttonset-multi .ui-state-active') ){ $(this).removeClass("ui-state-active"); }
				else { $(this).addClass("ui-state-active"); }	
		})
		.mouseup(function(){
			if(! $(this).is('.fg-button-toggleable, .fg-buttonset-single .fg-button,  .fg-buttonset-multi .fg-button') ){
				$(this).removeClass("ui-state-active");
			}
		});
	});
