function pageScripts(){
var LoisAnn = {  src: DNN_skinPath + 'LoisAnn.swf' };
sIFR.activate(LoisAnn);
sIFR.replace(LoisAnn, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'LoisAnn.swf', 
  css: [ '.sIFR-root {color:#3ebdd3; font-size:36px;letter-spacing:6;text-transform:lowercase;}'  ]
});
}
/*Menu implementation*/
jQuery(document).ready(function(){
/*Invisalign FAQ Script*/ 
		
		 jQuery('.acc h4').click(function() {
		 jQuery(this).toggleClass('active').next().toggle("fast");
		 return false;
		 }).next().hide(); 
		  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 () {}
	});
		
		 jQuery(".Level1").append("<li><img src='/Portals/_default/Skins/diamondentalstudio/images/subbtm.png' class='subbtm'></li>");
		 jQuery("#dnn_ctr444_FormMaster_ctl__20110818T040714").text("");
	
	jQuery("a").focus(function(){
	this.blur();
	});
	
	// flash features

	if (jQuery("#Crowns").length){
		var so = new SWFObject("http://tools.televoxsites.com/features/crown.swf", "features", "287", "300", "9", "#FF6600");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("Crowns"); 
	}
	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("#Implants").length){
  		var so = new SWFObject("http://tools.televoxsites.com/features/implant.swf", "features", "200", "195", "9", "#FF6600");
  		so.addParam("wmode", "transparent");
  		so.addParam("quality", "high");
  		so.write("Implants");
	}
	if (jQuery("#RootCanal").length){
		var sshow = new SWFObject("http://tools.televoxsites.com/features/rootcanal.swf", "slideshow2", "350", "260", "6", "#000000"); 
		sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt"); 
		sshow.addParam("wmode", "transparent"); 
		sshow.write("RootCanal");
	}
	if (jQuery("#wisdom").length){
  		var so = new SWFObject("http://tools.televoxsites.com/features/wisdom.swf", "features", "190", "205", "6", "ffffff"); 
		so.addParam("wmode", "transparent"); 
		so.write("wisdom");
	}
	if (jQuery("#gums").length){
  		var sshow = new SWFObject("http://tools.televoxsites.com/features/gums.swf", "slideshow2", "350", "260", "6", "#000000"); 
		sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt"); 
		sshow.addParam("wmode", "transparent"); 
		sshow.write("gums");
	}
	if (jQuery("#dentaldevelopment").length){
  		var sshow = new SWFObject("http://tools.televoxsites.com/features/dentaldevelopment.swf", "slideshow", "450", "400", "6", "#000000"); 
		sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt"); 
		sshow.addParam("wmode", "transparent"); 
		sshow.write("dentaldevelopment");
	}
	
	/*Preload the menu backgrounds*/

	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/aboutus_hover.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/ourpractice_hover.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/whatweoffer_hover.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/patientinfo_hover.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/smilegallery_hover.png";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/contactus_hover.png";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/patientlogin_hover.png";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/subbg.png";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/subbtm.png";

});



