jQuery(document).ready(function(){						
	jQuery("li.DisabledTab > a").attr("href", "#");
	jQuery("li.DisabledTab > a[href='#']").click( function(){ return false; });
	jQuery("ul.Level0 > li:last").addClass("last");
	
	jQuery("ul.Level0 > li > a").mouseover(function() {
		jQuery(this).addClass("hover");								
		jQuery(this).parent().find("ul.Level1").slideDown("normal").show();
			
		jQuery(this).parent().hover(function() {  
        	}, function(){
				jQuery(this).parent().find("ul.Level1").slideUp('fast');  
        });
	}).mouseout(function() {
		jQuery(this).removeClass("hover");
	});
	
	if (jQuery('#flashslide').length) {
		var sshow = new SWFObject(DNN_skinPath+"flash/slideshow.swf", "slideshow", "273", "270", "8", "#ffffff");
		sshow.addParam("wmode", "transparent");
		sshow.addVariable("xmlfile", DNN_skinPath+"flash/xml/data.xml");
		sshow.write("flashslide");
	}
	
	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-dental");
	  so.addParam("wmode", "transparent");
	  so.addParam("quality", "high"); so.write("featureoral"); 
	}

	if (jQuery('#featurerootcanal').length) {
		var sshow = new SWFObject("http://tools.televoxsites.com/features/rootcanal.swf", "slideshow", "350", "260", "6", "#000000");
		sshow.addParam("wmode", "transparent");
		sshow.write("featurerootcanal");
	}

	if (jQuery('#featurewisdom').length) {
		var sshow = new SWFObject("http://tools.televoxsites.com/features/wisdom.swf", "slideshow", "190", "205", "6", "#000000");
		sshow.addParam("wmode", "transparent");
		sshow.write("featurewisdom");
	}

	if (jQuery('#featurecrown').length) {
		var sshow = new SWFObject("http://tools.televoxsites.com/features/crown.swf", "slideshow", "287", "300", "6", "#000000");
		sshow.addParam("wmode", "transparent");
		sshow.write("featurecrown");
	}

	if (jQuery('#featureimplants').length) {
       var sshow = new SWFObject("http://tools.televoxsites.com/features/implant.swf", "slideshow", "200", "195", "6", "#000000");
       sshow.addParam("wmode", "transparent");
       sshow.write("featureimplants");
	}

	if (jQuery('#featureperiodontic').length) {
		var sshow = new SWFObject("http://tools.televoxsites.com/features/gums.swf", "slideshow", "320", "200", "6", "#000000");
		sshow.addParam("wmode", "transparent");
		sshow.write("featureperiodontic");
	}

	if (jQuery('#featuredental').length) {
		var sshow = new SWFObject("http://tools.televoxsites.com/features/dentaldevelopment.swf", "slideshow", "450", "400", "6", "#000000");
		sshow.addParam("wmode", "transparent");
		sshow.write("featuredental");
	}

	if (jQuery('#featuregum').length) {
		var sshow = new SWFObject("http://tools.televoxsites.com/features/gums_MX.swf", "slideshow", "320", "200", "6", "#000000");
		sshow.addParam("wmode", "transparent");
		sshow.write("featuregum");
	}
	
	
});
