var angelina = {  src: DNN_skinPath + 'angelina.swf' };
	sIFR.activate(angelina);
	sIFR.replace(angelina, {
  		selector: 'h1', 
  		wmode: 'transparent', 
  		src:  DNN_skinPath +  'angelina.swf', 
  		css: [ '.sIFR-root {color:#eadd96; font-size:40px;}'  ]
});




jQuery(document).ready(function(){
	
	jQuery('#menu').accordion({
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 1200,
		hideSpeed: 1400
	});

/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});



if (jQuery("#featurebefore").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("featurebefore"); 
}	

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("#featurebeortho").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/beOrtho.swf", "slideshow", "450", "380", "6", "#000000");
sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
sshow.addParam("wmode", "transparent");
sshow.write("featurebeortho");
}
});


jQuery(document).ready(function(){
	jQuery('.accordion h2').click(function() {
	jQuery(this).toggleClass('active').next().slideToggle('slow');
		return false;
	}).next().hide();
});


