jQuery(document).ready(function(){

	/*----- Navigation ------*/
	jQuery('#mainmenu').accordion({
		active: false,
		header: '.menuTitle',
		event: 'mouseover',
		alwaysOpen: true,
		autoheight:false,
		navigation:true,
		showSpeed: 1200,
		hideSpeed: 1400
	});
		
	/* THIS REMOVE THE LINE FROM THE EMPTY <UL> ELEMENTS (NOTE: be sure there is NO space between the <ul></ul> elements) */
	jQuery("#mainmenu li ul:empty").remove();	
		
	
	/* replace media classes */
	jQuery("a.media").media();
	
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
});

var garamond = {  src: DNN_skinPath + 'garamond.swf' };
sIFR.activate(garamond);

sIFR.replace(garamond, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: DNN_skinPath + 'garamond.swf', 
  css: [ '.sIFR-root {color:#3F5A31; text-transform:capitalize; }' ]
});	

var futuraT = {  src: DNN_skinPath + 'futuraT.swf' };
sIFR.activate(futuraT);

sIFR.replace(futuraT, {
  selector: '.tosifr', 
  wmode: 'transparent', 
  src: DNN_skinPath + 'futuraT.swf', 
  css: [ '.sIFR-root {color:#ffffff; text-align:right; cursor:pointer;}',
		 '.sIFR-root a {color:#ffffff; text-align:right; text-decoration:none; cursor:pointer; }',
		 '.sIFR-root a:hover {color:#ffffff; cursor:pointer;}']
});	

	

