//sIFR implementation
function pageScripts(){
var perpetua = {  src: DNN_skinPath + 'flash/horley-old-style.swf'};
//alert(DNN_skinPath + 'flash/times.swf');
sIFR.activate(perpetua);
sIFR.replace(perpetua, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'flash/horley-old-style.swf', 
  css: [ '.sIFR-root {color:#891b3e;font-size:28px; text-transform:uppercase;}']
});
}

//Menu implementation	   
jQuery(document).ready(function($){

	$("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal"
	});

	$('.LinkIcon').rollover('_hover');
	
	if ($("#featureoral").length){	
var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "hygiene-dental"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureoral");
}


 if ($("#featuretmj").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/jaws.swf", "slideshow", "200", "208", "6", "#000000");
       sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
       sshow.addParam("wmode", "transparent");
       sshow.write("featuretmj");
}


 if ($("#featureemergency").length){
 var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "emergencies"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureemergency");
}


 if ($("#featureroot").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/rootcanal.swf", "slideshow", "350", "260", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featureroot");
}


 if ($("#featurewisdom").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/wisdom.swf", "slideshow", "190", "205", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featurewisdom");
}

 if ($("#featurecrowns").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/crown.swf", "slideshow", "287", "300", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featurecrowns");
}

 if ($("#featureimplants").length){
var so = new SWFObject("http://tools.televoxsites.com/features/implant.swf", "featureimplants", "200", "195", "6", "ffffff");
so.addParam("wmode", "transparent");
so.write("featureimplants");
}

if ($("#featuregums").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/gums.swf", "slideshow", "320", "200", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featuregums");
}

if ($("#featuredev").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("featuredev");
}

if ($("#featureba").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "beforeafter"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureba");
}


if ($("#featurecrossword").length){
	var sshow = new SWFObject("http://tools.televoxsites.com/flashfeatures/crossword.swf", "slideshow", "600", "350", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featurecrossword");

}


if ($("#invisalign-video").length){
	flowplayer("invisalign-video", {
			src: "http://tools.televoxsites.com/vendor/flash/flowplayer-3.2.6.swf",
			wmode: "transparent"
		}, {
		plugins: { controls: { url: 'flowplayer.controls-tube-3.2.4.swf' } },
		clip: { autoPlay: false, autoBuffering: true, url: 'http://tools.televoxsites.com/vendor/flash/invisalign.flv' }
	});
}
	
	
});











