//sIFR implementation
function pageScripts() {
var Georgia = {  src: DNN_skinPath + 'Georgia.swf' };
sIFR.activate(Georgia);
sIFR.replace(Georgia, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Georgia.swf',  
  css: [ '.sIFR-root {color:#b8b7bc;font-size:30px;}'  ]
  
});
}

//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();
	
	/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/submenubg.gif";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/menuhover.gif";
	
/* remove box from links */
 jQuery("a").focus(function(){
  this.blur();
 });

/*Preload the menu backgrounds*/
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/patientinfo_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/treatment_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/patientlogin_hover.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/misc_hover.jpg";
 	
});



