//sIFR implementation
function pageScripts(){
var ShelleyAllegroScript = {  src: DNN_skinPath + '/flash/Bauhaus.swf' };
sIFR.activate(ShelleyAllegroScript);
sIFR.replace(ShelleyAllegroScript, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  '/flash/Bauhaus.swf', 
  css: [ '.sIFR-root {color:#e7e60f; font-size:44px;}'  ]
});
}

//Menu implementation	   
jQuery(document).ready(function(){

	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	});


//Appending the bottom part of submenu for each menu item - IE7's fault
jQuery("#navigation57 ul.Level1").append("<li><img src='/Portals/_default/Skins/siteSkin/images/navbtm.png' class='submenubtm' /></li>");
jQuery("#navigation58 ul.Level1").append("<li><img src='/Portals/_default/Skins/siteSkin/images/navbtm.png' class='submenubtm' /></li>");
jQuery("#navigation59 ul.Level1").append("<li><img src='/Portals/_default/Skins/siteSkin/images/navbtm_treatment.png' class='submenubtm' /></li>");
jQuery("#navigation60 ul.Level1").append("<li><img src='/Portals/_default/Skins/siteSkin/images/navbtm_funstuff.png' class='submenubtm' /></li>");
	

//Accordion FAQ
jQuery(document).ready(function(){
	jQuery('.accordion h3').click(function() {
	jQuery(this).next().slideToggle('slow');
		return false;
	}).next().hide();
});


/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
});
	
	
jQuery(".LinkIcon").rollover('_hover');
	
	menuImage = new Image();
	menuImage.src = DNN_skinPath + "images/patientLogin_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.jpg";
	menuImage4 = new Image();
	menuImage4.src = DNN_skinPath + "images/treatment_hover.jpg";
	menuImage5 = new Image();
	menuImage5.src = DNN_skinPath + "images/funstuff_hover.jpg";
	menuImage6 = new Image();
	menuImage6.src = DNN_skinPath + "images/appointment_hover.jpg";	

	
});



