//sIFR implementation
function pageScripts() {
var avianregular = {  src: DNN_skinPath + 'avianregular.swf' };
sIFR.activate(avianregular);
sIFR.replace(avianregular, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'avianregular.swf', 
  css: [ '.sIFR-root {color:#635649; font-size:24px; font-weight:normal;}'  ]
  
});
}

//Menu implementation
jQuery(document).ready(function(){
jQuery('#Navigation').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 1200,
		hideSpeed: 1400
	});
	
	jQuery("#navigation li ul:empty").remove();
	jQuery("a").focus(function(){
	this.blur();
	});
	
	jQuery('.acc h4').click(function() {
 	jQuery(this).toggleClass('active').next().toggle("fast");
	return false;
	}).next().hide();
	
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/officeinfo_hover.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientinfo_hover.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treatment_hover.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/misc_hover.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/contactus_hover.png";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/patientlogin_hover.png";	
});
