$().ready(function() {
	$(document.body).addClass("hasJs");
	DynamicButtons.init();
});

DynamicButtons = {
	init: function() {
		/* improving accessibility adding hover/focus capabilities to IE6 buttons */
		if ($.browser.msie) {
			$("input.button[type=submit]")
				.focus(function() { $(this).addClass("hover") })
				.blur(function() { $(this).removeClass("hover") })
				.hover(function() { $(this).addClass("hover") }, function() { $(this).removeClass("hover") });
			$("input.button[type=button]")
				.focus(function() { $(this).addClass("hover") })
				.blur(function() { $(this).removeClass("hover") })
				.hover(function() { $(this).addClass("hover") }, function() { $(this).removeClass("hover") });
		}
	}
}
