//sIFR implementation
function pageScripts() {
var FuturaStdLight = {  src: DNN_skinPath + 'FuturaStdLight.swf' };
sIFR.activate(FuturaStdLight);
sIFR.replace(FuturaStdLight, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'FuturaStdLight.swf', 
  css: [ '.sIFR-root {color:#05775E;font-size:48px;text-indent:10px;letter-spacing:-3;}'  ] 
});
}

	/*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 () {}
	});
	
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();		
		});
	/*invis-faq*/
	jQuery('.acc h4').click(function() {
		jQuery(this).toggleClass('active').next().toggle("fast");
		return false;
	}).next().hide();
	
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientinfo_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/patientlogin_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/treatment_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/contactus_hover.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("#wisdom").length){
  		var so = new SWFObject("http://tools.televoxsites.com/features/wisdom.swf", "feature1", "190", "205", "6", "ffffff"); 
		so.addParam("wmode", "transparent"); 
		so.write("wisdom");
	}

	
	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("#Periodontics").length){	
		var so = new SWFObject("http://tools.televoxsites.com/features/gums.swf", "features", "320", "200", "9", "#FF6600");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("Periodontics"); 
	}
	if (jQuery("#RootCanal").length){
	var so = new SWFObject("http://tools.televoxsites.com/features/rootcanal.swf", "features", "350", "260", "9", "#FF6600");
	so.addParam("wmode", "transparent");
	so.addParam("quality", "high");
	so.write("RootCanal");  
	}
	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"); 
	}
});
