//sIFR implementation
function pageScripts() {
var zapfino= {  src: DNN_skinPath + 'zapfino.swf' };
sIFR.activate(zapfino);
sIFR.replace(zapfino, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'zapfino.swf', 
  css: [ '.sIFR-root {color:#590807;font-size:30px;}'  ]
});
}

/*Menu implementation*/
jQuery(document).ready(function(){
	jQuery('#navigation').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		autoheight:false,
		navigation:false,
		showSpeed: 200,
		hideSpeed: 1400
	});
/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	/* 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/Patientinfo_img_hover.jpg";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_img_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/office_img_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/Patientinfo_img_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treatment_img_hover.jpg";	
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/funzone_img_hover.jpg";	
});
