//sIFR implementation
function pageScripts() {
var KozukaGothicProL = {  src: DNN_skinPath + 'KozukaGothicProL.swf' };
sIFR.activate(KozukaGothicProL);
sIFR.replace(KozukaGothicProL, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'KozukaGothicProL.swf',  
  css: [ '.sIFR-root {color:#9fc9ff;font-size:26px;}'  ] 
});
}

//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*/
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientinfo_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/patientlogin_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/treatment_hover.jpg";	
});