//sIFR implementation
var futuramed = {  src: DNN_skinPath + 'futura_medT.swf' };
sIFR.activate(futuramed);
sIFR.replace(futuramed, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'futura_medT.swf', 
  css: [ '.sIFR-root {color:#000032; font-size:38px;}'  ]
});


/*Menu implementation*/
jQuery(document).ready(function(){
	jQuery("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		disableHI:true,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
});
	
/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
});


/*flash features and Invisalign Video*/
if (jQuery("#featureparts").length){
var so = new SWFObject("/features/loader.swf", "features", "490", "320", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "parts"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureparts"); 
}


if (jQuery("#featureemer").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("featureemer");
}

if (jQuery("#featurecommon").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "problems"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featurecommon"); 
}

if (jQuery("#featuretypes").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "273", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("xmlfile", "/features/types.xml"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featuretypes");
}

if (jQuery("#featureoral").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "hygiene"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureoral"); 
}

if (jQuery("#featurecolor").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "planner"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featurecolor");
}

if (jQuery("#featureretention").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/retainer.swf", "slideshow", "450", "265", "6", "#ffffff");
sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
sshow.addParam("wmode", "transparent");
sshow.write("featureretention");
}


if (jQuery("#featurejaws").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/jaws.swf", "slideshow", "260", "250", "6", "#ffffff");
	sshow.addParam("wmode", "transparent");
	sshow.write("featurejaws");
}


if (jQuery("#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' }
});
}


if (jQuery("#damon-video").length){
flowplayer("damon-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/damon-video.flv' }
});
}

	
/* Nav Menu Rollovers */		
jQuery(".LinkIcon").rollover("_hover");


});/* End document.ready */


