//sIFR implementation
function pageScripts() {
var BemboSemibold = {  src: DNN_skinPath + 'BemboSemibold.swf' };
sIFR.activate(BemboSemibold);
sIFR.replace(BemboSemibold, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'BemboSemibold.swf', 
  css: [ '.sIFR-root {color:#fefefe; font-size:37px;}'  ]
});
}

/*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();
	});

	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/aboutus_on.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/patient_on.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/treatment_on.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/patientedu_on.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/contactus_on.png";
	
	// flash features
	
	if (jQuery("#features").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); 
		so.addVariable("config", "/features/config.xml"); 
		so.addVariable("feature", "hygiene-dental"); 
		so.addParam("wmode", "transparent"); 
		so.addParam("quality", "high"); 
		so.write("features"); 
	}	

	});

