function pageScripts(){
var AvantGarde = {  src: DNN_skinPath + 'AvantGarde.swf' };
sIFR.activate(AvantGarde);
sIFR.replace(AvantGarde, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'SpringLP.swf', 
  css: [ '.sIFR-root {color:#4c2136; font-size:54px;}'  ]
});
}


/*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 () {}
	});
	
	/* FQA page */
jQuery('.acc h4').click(function() {
		jQuery(this).toggleClass('active').next().toggle("fast");
		return false;
	}).next().hide();
	
	jQuery("a").focus(function(){	this.blur();});
	
	/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/office_on.png";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/patient_on.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/treatment_on.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/fun_on.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/home_on.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/plogin_on.png";


// flash features
	if (jQuery("#featurebefore").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "300", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("feature", "beforeafter");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featurebefore"); 
	}
	
	if (jQuery("#featurecommon").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600"); 
		so.addVariable("config", "/features/config.xml"); 
		so.addVariable("feature", "problems"); 
		so.addParam("wmode", "transparent"); 
		so.addParam("quality", "high"); 
		so.write("featurecommon"); 
	}	

	if (jQuery("#featureemer").length){
  		var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600");
  		so.addVariable("config", "/features/config.xml?v=1.01");
  		so.addVariable("feature", "emergencies");
  		so.addParam("wmode", "transparent");
  		so.addParam("quality", "high");
  		so.write("featureemer");
	}

	
	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?v=1.01");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featuretypes");
	}

	if (jQuery("#featureoral").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("feature", "hygiene");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featureoral"); 
	}
	
	if (jQuery("#featureorthognathic").length){
		var sshow = new SWFObject("http://tools.televoxsites.com/features/orthognathic.swf", "slideshow", "190", "205", "6", "#000000"); 
		sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt"); 
		sshow.addParam("wmode", "transparent"); 
		sshow.write("featureorthognathic");
	}
	
	if (jQuery("#featureplanner").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "375", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("xmlfile", "/features/planner.xml?v=1");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featureplanner"); 	
	}


});



