//here's the sIfr
//code for the h1 tags
var header = {  src: 'goudyOS.swf' };
sIFR.activate(header);

sIFR.replace(header, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'goudyOS.swf', 
  css: [ '.sIFR-root {color:#7A8042; }'  ]
});

var foot1 = {  src: 'futuraCondensed.swf' };
sIFR.activate(foot1);

sIFR.replace(foot1, {
  selector: '#sideGoat h6', 
  wmode: 'transparent', 
  src: 'futuraCondensed.swf', 
  css: [ '.sIFR-root {color:#EBF1CD; text-align:left; }'  ]
});

var foot2 = {  src: 'futuraCondensed.swf' };
sIFR.activate(foot2);

sIFR.replace(foot2, {
  selector: '#footSpace h6', 
  wmode: 'transparent', 
  src: 'futuraCondensed.swf', 
  css: [ '.sIFR-root {color:#EBF1CD; text-align:center; }'  ]
});




//start jQuery functions
/*  Smooth Accordion
jQuery().ready(function(){
	// applying the settings
	jQuery('#nav').Accordion({
		active: 'li a.selected',
		header: 'li a',
		alwaysOpen: false,
		animated: true,
		showSpeed: 400,
		hideSpeed: 800
	});
});
*/


$(document).ready(function(){
	/*----- Navigation ------*/
	$('#nav').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		alwaysOpen: false,
		autoheight:false,
		navigation:true,
		animated: 'bounceslide',
		showSpeed: 400,
		hideSpeed: 800
	});
	
	/* adjusts css*/
	$(">li:last","#nav").css("margin-bottom","0px");
	
	/* replace media classes */
	$("a.media").media();
	
	/* remove box from links */
	$("a").focus(function(){
		this.blur();
	});
	
});
