//sIFR implementation
function pageScripts() {
var P22Corinthia = {  src: DNN_skinPath + 'P22Corinthia.swf' };
sIFR.activate(P22Corinthia);
sIFR.replace(P22Corinthia, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'P22Corinthia.swf', 
  css: [ '.sIFR-root {color:#98D6E7;font-size:76px;text-indent:10px;}'  ]
});
}

	/*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();		
		});
	
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/contactus_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/funstuff_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/givingback_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/patientinfo_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/treatment_hover.jpg";
	
	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("#TMJ").length){
	var so = new SWFObject("http://tools.televoxsites.com/features/jaws.swf ", "features", "190", "206", "9", "#FF6600");
	so.addParam("wmode", "transparent");
	so.addParam("quality", "high");
	so.write("TMJ"); 
	}
    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", "310", "220", "9", "#FF6600");
	so.addParam("wmode", "transparent");
	so.addParam("quality", "high");
	so.write("RootCanal");  
	}
});
