//sIFR implementation
function pageScripts() {
var ElseNPLSB = {  src: DNN_skinPath + 'ElseNPLSB.swf' };
sIFR.activate(ElseNPLSB);
sIFR.replace(ElseNPLSB, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'ElseNPLSB.swf',  
  css: [ '.sIFR-root {color:#d5c49e;font-size:24px;}'  ]
  
});
}

//Menu implementation
jQuery(document).ready(function(){
	jQuery('#MainMenu').accordion({ 
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 600,
		hideSpeed: 600
	});
/* 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();
	
/* remove box from links */
 jQuery("a").focus(function(){
  this.blur();
 });

/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/home_hover.gif";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/officeinfo_hover.gif";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/patientinfo_hover.gif";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/treatment_hover.gif";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/funzone_hover.gif";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/contactus_hover.gif";
 	
});




