//sIFR implementation
function pageScripts(){
var bron = {  src: DNN_skinPath + 'bron.swf' };
sIFR.activate(bron);
sIFR.replace(bron, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'bron.swf', 
  css: [ '.sIFR-root {color:#055596; font-size:30px; font-weight:bold; }'  ]
});
}

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 () {}
	});
	


//FAQ

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/fs_on.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home_on.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/oi_on.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/pi_on.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/pl_on.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/tr_on.png";
	
	
if (jQuery("#featuredental").length){
		var so = new SWFObject("/features/loader.swf", "features", "475", "325", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("feature", "hygiene-dental"); 
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featuredental");  
	}
	
if (jQuery("#featureemergency").length){
		var so = new SWFObject("/features/loader.swf", "features", "475", "325", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("feature", "emergencies"); 
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featureemergency");  
	}
	

if (jQuery("#featuretypes").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600"); 
		so.addVariable("config", "/features/config.xml"); so.addVariable("xmlfile", "/features/types.xml"); 
		so.addParam("wmode", "transparent"); 
		so.addParam("quality", "high"); 
		so.write("featuretypes");
}
	
});
  
