


	// Menu
	function menuEffect(m){
		if(jQuery(m)){
			jQuery(m).superfish({ 
				delay:500,
				animation:{opacity:'show',height:'show',width:'show'},
				speed:'fast',
				autoArrows:false,
				dropShadows:false
			}).find('ul').bgIframe({opacity:false});
		}
	}
	
	// Add Expanded Class
	function isExpanded(m){
		jQuery(m).find('ul').hover(addExpanded,removeExpanded);
		
		function addExpanded(){		
			jQuery(this).parent().find('a:first span').addClass('expanded');
		}
		function removeExpanded(){
			jQuery(this).parent().find('a:first span').removeClass('expanded')
		}
	}
	
	// Fix Breadcrumb -- Remove link to current page
	if(jQuery('.skin-breadcrumb').length){
		jQuery('.skin-breadcrumb a:last').replaceWith('<span>'+jQuery('.skin-breadcrumb a:last').text()+'</span>');
	}
	
	// Search
	function searchEffect(s){
		if(jQuery(".skin-search .NormalTextBox")){
			jQuery(".skin-search .NormalTextBox").attr("value", s)
			.focus(function(){
			    if(this.value == s){
				  jQuery(this).attr("value", "");
			    }
			})
			.blur(function(){
			    if(this.value == ""){
				  jQuery(this).attr("value", s);
			    }
			});
		}
	}
