
jQuery(document).ready(function(){

/*	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{width:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	}).find(">li:has(ul)").mouseover(function () {
		jQuery("ul", this).bgIframe({opacity:true});
	}).find("a").focus(function () {
		jQuery("ul", jQuery("#navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});


	 jQuery("#navigation >ul >li:has(ul)").hover(
			function () {
				jQuery(">ul", this).show("slide", {}, 2000 );    
			},
			function () {
				jQuery("ul", this).hide("slide", {}, 2000 );    
			}
		);
	
*/
jQuery("ul.Level1").wrap("<li class='invisible'></li>");
jQuery("li.invisible").wrap("<ul class='unbreakable'></ul>");
jQuery("ul.unbreakable").css("width", 0);
	 jQuery("#navigation  ul  li").hover(
			function () {
				jQuery(this).children(".unbreakable").stop().animate( {width: "556px"}, 1000);
			},
			function () {
				jQuery(this).children(".unbreakable").stop().animate( {width: "0"}, 700);
				
			});
		
 jQuery("#navigation  ul  li a[href=#]").click(function(){return(false);});
	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
});

