//sIFR implementation

function pageScripts(){
var AvenirLTStd = {  src: DNN_skinPath + 'AvenirLTStd.swf' };
sIFR.activate(AvenirLTStd);
sIFR.replace(AvenirLTStd, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'AvenirLTStd.swf', 
  css: [ '.sIFR-root {color:#01477f;font-size:36px;}'  ]
});
}

/*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 () {}
	});
	 
	 	
	 
	/* remove box from links */
	
	jQuery('.acc h4').click(function() {
	 jQuery(this).toggleClass('active').next().toggle("fast");
	 return false;
	 }).next().hide(); 
	
	/* remove box from links */
		jQuery("a").focus(function(){
		this.blur();		
		});	
	
	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/Contactus_hover.png";
	
	jQuery('#rpeClick').click(function() {
    var sshow = new SWFObject("http://tools.televoxsites.com/features/rpa2.swf", "slideshow", "450", "350", "6", "#000000");
    sshow.addParam("wmode", "transparent");
	sshow.addParam("quality", "high");
	sshow.write("RPEflash");                             
});
	
});
  
