function pageScripts(){
var Garamond = {  src: DNN_skinPath + 'Garamond.swf' };
sIFR.activate(Garamond);
sIFR.replace(Garamond, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Garamond.swf', 
  css: [ '.sIFR-root {color:#000000; font-size:40px;text-transform:uppercase;}'  ]
});
}

///Menu implementation	
jQuery(document).ready(function(){
jQuery.noConflict();	
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 () {}
	}).find(">li:has(ul)").mouseover(function () {
		jQuery("ul", this).bgIframe({opacity:true});
	}).find("a").focus(function () {
		jQuery("ul", jQuery("#Navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});

	jQuery(".Lvl1").append("<li><img src='/Portals/_default/Skins/smilesbywilson/images/subbtm.png' class='subbtm'></li>");
		/* remove box from links */
		
	jQuery("a").focus(function(){
	this.blur();
	});	
	
	/*Preload the menu backgrounds*/
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/officeinfo_hover.jpg";	
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/forourpatients_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treatment_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/funzone_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/contactus_hover.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/patientlogin_hover.jpg";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/makeapayment_hover.png";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/patientform_hover.png";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/testimonials_hover.png";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/direction_on.jpg";
	
      if (jQuery("#jawsfe").length){
  		var sshow = new SWFObject("http://tools.televoxsites.com/features/jaws.swf ", "slideshow", "190", "206", "6", "#72653a");
        sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
        sshow.addParam("wmode", "transparent"); 
        sshow.write("jawsfe");
	}
	if (jQuery("#featureorthognathic").length){
		var sshow = new SWFObject("http://tools.televoxsites.com/features/orthognathic.swf", "slideshow", "190", "205", "6", "#000000"); 
		sshow.addParam("wmode", "transparent"); 
		sshow.write("featureorthognathic");
	}
	if (jQuery("#featureoral").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("xmlfile", "/features/hygiene.xml");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featureoral"); 
	}
	if (jQuery("#featureparts").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600");
		so.addVariable("config", "/features/config.xml");
		so.addVariable("xmlfile", "/features/parts.xml");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featureparts");
	}
});
