
jQuery.noConflict();

jQuery(document).ready(function() {
	
	// Initialize rollover-effects on topmenu entries
	jQuery("#frisk_topmenu a").hover(
		function() {
			var p = jQuery(this);
			var targetWidth = p.find(".text span").outerWidth();
			p.addClass("active").find("> .text").stop(1).animate({ width : targetWidth + "px"}, 100);
		},
		function() {
			var p = jQuery(this);
			p.removeClass("active").find("> .text").stop(1).animate({ width : "1px"}, 600);
		}
	);
	
	
});
