// js that runs stuff across the entire site
$(document).ready(function(){
	
	// superfish menu
	$("ul.sf-menu").supersubs({ 
		minWidth:    12,   // minimum width of sub-menus in em units 
		maxWidth:    27,   // maximum width of sub-menus in em units 
		extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
						   // due to slight rounding differences and font-family 
	}).superfish();  // call supersubs first, then superfish, so that subs are 
					 // not display:none when measuring. Call before initialising 
					 // containing tabs for same reason. 
					 
	// text shadow for IE
	$(".featured-slider h2").textShadow();
	
	$("h2").textShadow({
		x:      1, 
		y:      1, 
		radius: 2,
		color:  "#ccc"
	});
	
	$("#content h3").textShadow({
		x:      1, 
		y:      1, 
		radius: 2,
		color:  "#ccc"
	});
	
	$("h4").textShadow({
		x:      1, 
		y:      1, 
		radius: 2,
		color:  "#ccc"
	});
	
});

