//sIFR implementation
function pageScripts(){
var sifr = {  src: DNN_skinPath + 'sifr.swf' };
sIFR.activate(sifr);
sIFR.replace(sifr, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'sifr.swf', 
  css: [ '.sIFR-root {color:#171e40;font-size:26px;margin-left:2px;letter-spacing:0.5;width:441px;}'  ]
});
}

//Menu implementation
jQuery(document).ready(function(){
	jQuery('#navigation').accordion({
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 600,
		hideSpeed: 1400
	});
/* THIS REMOVE THE LINE FROM THE EMPTY <UL> ELEMENTS (NOTE: be sure there is NO space between the <ul></ul> elements) */
	jQuery("#navigation li ul:empty").remove();
	
	/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/hearinghealthcenter_hover.jpg";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/ouroffice_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/entinfo_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/allergyinfo_hover.jpg";
});
