//sIFR implementation
function pageScripts() {
var palatinolinotype = {  src: DNN_skinPath + 'palatinolinotype.swf' };
sIFR.activate(palatinolinotype);
sIFR.replace(palatinolinotype, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'palatinolinotype.swf', 
  css: [ '.sIFR-root {color:#ffffff; font-size:24px;}'  ]
});
}

/*Menu implementation*/
jQuery(document).ready(function(){
	jQuery('#Navigation').accordion({
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'mouseover',
		autoheight:false,
		navigation:true,
		showSpeed: 800,
		hideSpeed: 1200
	});
	jQuery("a.active").click(function(){return(false);});
/* 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();
	/* remove box from links */
	jQuery("a").focus(function(){
	this.blur();
	});
	/* To preload the menus */
		menuImage1 = new Image(); 
		menuImage1.src = DNN_skinPath + "images/home_hover.png";
		menuImage2 = new Image(); 
		menuImage2.src = DNN_skinPath + "images/Fun-Stuff_hover.png";
		menuImage3 = new Image(); 
		menuImage3.src = DNN_skinPath + "images/our-office_hover.png";
		menuImage4 = new Image();
		menuImage4.src = DNN_skinPath + "images/patientinfo_hover.png";		
		menuImage5 = new Image();
		menuImage5.src = DNN_skinPath + "images/patientlogin_hover.png";	
		menuImage6 = new Image();
		menuImage6.src = DNN_skinPath + "images/treatment_hover.png";	
		menuImage7= new Image();
		menuImage7.src = DNN_skinPath + "images/cosmeticservices_hover.png";	
		menuImage8 = new Image();
		menuImage8.src = DNN_skinPath + "images/generalservices_hover.png";	
		menuImage9 = new Image();
		menuImage9.src = DNN_skinPath + "images/hightechservices_hover.png";	
		menuImage10 = new Image();
		menuImage10.src = DNN_skinPath + "images/patientgallery_hover.png";	
});
