$(function() {
// Sample usage of jquery.flash plugin - remove if not needed
	/*	If given the following markup:

	<div id="masthead">
		<img src="images/mastheads/flash-alt.jpg" alt="" /><br />
	</div>
	
	you would use the following to replace the alternate content:*/

	$("div#home-masthead-wrapper").flash(
		{src:"flash/homepage.swf",
		 width:638,
		 height:254,
		 wmode:"transparent",
		 quality:"high"},
		 {version:"8"});


// Sample sifr usage - remove if not needed
	
	// intPadding array order is: left, top, right, bottom - must match css for corresponding element
	$('div#content h1').sifr(
		{ strSWF: 'flash/garamond.swf', strColor: '#934828', strLinkColor: '#934828', strHoverColor: '#934828', strWmode: 'transparent' },
		{ expressInstall: true }
	);
	
	$('h3.home-push').sifr(
		{ strSWF: 'flash/garamond.swf', strColor: '#2D1A0C', strLinkColor: '#2D1A0C', strHoverColor: '#2D1A0C', strWmode: 'transparent', strCase: 'upper' },
		{ expressInstall: true }
	);


// Adds hover class for IE and animation for drop down nav - remove if not needed
	/*
	$("ul#nav-primary li").hover(
        function(){ $("ul", this).fadeIn("fast"); }, 
        function() { } 
    );
    if (document.all) {
        $("ul#nav-primary li").hoverClass("over");
		$("ul#nav-primary li ul li").hoverClass("over");
    }
	*/
});


// Function to add/remove "over" class for drop down nav - remove if not needed
$.fn.hoverClass = function(c) {
	return this.each(function(){
		$(this).hover( 
			function() { $(this).addClass(c);  },
			function() { $(this).removeClass(c); }
		);
	});

};   
