//sIFR implementation
function pageScripts(){
var caflischscriptpro = {  src: DNN_skinPath + 'AvantGardeMdITC.swf' };
sIFR.activate(caflischscriptpro);
sIFR.replace(caflischscriptpro, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Aventgardeitcbybt.swf', 
  css: [ '.sIFR-root {color:#e2d0a8;font-size:24px;}'  ]
  });
}

//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("#Navigation55>a>img").attr('alt','Home');
	jQuery("#154>div>a>img").attr('alt','Patient Login');
	jQuery("#57>div>a>img").attr('alt','Office Info');
	jQuery("#66>div>a>img").attr('alt','Patient Info');
	jQuery("#79>div>a>img").attr('alt','Treatment');
	jQuery("#Navigation165>a>img").attr('alt','Our Blog');
	jQuery("#Navigation164>a>img").attr('alt','Contests');
	jQuery("#Navigation163>a>img").attr('alt','Fun Zone');
	jQuery("#navigation li ul:empty").remove();
	
		/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/office_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/patientinfo_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientlogin_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treatment_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/fun_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/appointment_hover.jpg";	
	
});
