$(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-flash").flash(
		{src:"flash/auriga_web.swf",
		 width:720,
		 height:600,
		 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  div#title-wrapper h1').sifr(
		{ strSWF: 'flash/akzidenz-grotesk-be-light.swf', strColor: '#7EB2CE', strWmode: 'transparent', intPadding: [0, 0, 0, 0], strCase: 'upper' },
		{ expressInstall: true }
	);
	$('div#content div#title-wrapper h2').sifr( 
		{ strSWF: 'flash/akzidenz-grotesk-be-light.swf', strColor: '#848689', intPadding: [24, 0, 0, 0], strCase: 'upper', strWmode:'transparent'}, 
		{ expressInstall: true }
	);
	$('div#content h2').sifr(
		{ strSWF: 'flash/akzidenz-grotesk-be-light.swf', strColor: '#848689', strWmode: 'transparent', intPadding: [0, 0, 0, 0], strCase: 'upper' },
		{ expressInstall: true }
	);
	
	$("div#content h3").sifr( 
		{ strSWF: 'flash/akzidenz-grotesk-be-light.swf', strColor: '#7EB2CE', intPadding: [0, 0, 0, 0], strCase: 'upper', strWmode:'transparent'}, 
		{ 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).show(); }, 
        function() { 
			$("ul", this).hide();  
		} 
		
    );
    if (document.all) {
        $("ul#nav-primary li").hoverClass("sfhover");
		
    };
	
	
	$("body.home div#masthead").hide();
	$("body.home div#title-wrapper").hide();
		   
});


// 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); }
		);
	});

};   

