/*Menu implementation*/
jQuery(document).ready(function(){

	jQuery('#rotator').cycle({
		fx : 'fade',
		speed: 2500
	});
	
	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"slow",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	});
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/about_img_on.jpg";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/contactus_img_on.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home_img_on.jpg";	
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/officenews_img_on.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/patientinfo_img_on.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/treatment_img_on.jpg";
	
	jQuery('h1').addClass('showup');
	
});

//sIFR implementation
function runSiteScripts(path) {
var Dinneuzeit = {  src: path + 'Dinneuzeit.swf' };
sIFR.activate(Dinneuzeit);
sIFR.replace(Dinneuzeit, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'Dinneuzeit.swf', 
  css: [ '.sIFR-root {color:#013a59;font-size:40px;z-index:100;}'  ]
});
}




