//sIFR implementation
function pageScripts(){
var trajan_pro = {  src: DNN_skinPath + 'trajan_pro.swf'};
sIFR.activate(trajan_pro);
sIFR.replace(trajan_pro, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'trajan_pro.swf', 
  css: [ '.sIFR-root {color:#9f9e9e; font-size:20px;}']
});
}

//Menu implementation
jQuery(document).ready(function(){
	jQuery('#navigation').accordion({
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 600,
		hideSpeed: 1400
	});
/* 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/FunStuff_hover.jpg";
	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.jpgf";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/PatientLogin_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/Treatment_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/Links_hover.jpg";
});