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
	});
	
	//mp3 on homepage
	jQuery("#sound").jmp3({
		showfilename: "false",
		backcolor: "EADE96",
		forecolor: "692704",
		width: 150,
		showdownload: "false"
	});
		jQuery("#sound2").jmp3({
		showfilename: "false",
		backcolor: "EADE96",
		forecolor: "692704",
		width: 150,
		showdownload: "false"
	});

/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	jQuery('.accordion h2').click(function() {
	jQuery(this).toggleClass('active').next().slideToggle('slow');
		return false;
	}).next().hide();
	
		 if (jQuery("#featureoral").length){	
	var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("xmlfile", "/features/hygiene-dental.xml"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureoral");
	}
	
	
	 if (jQuery("#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 (jQuery("#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 (jQuery("#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 (jQuery("#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 (jQuery("#featurecrown").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("featurecrown");
	}
	
	 if (jQuery("#featureimplants").length){
	var so = new SWFObject("http://tools.televoxsites.com/features/implant.swf", "feature", "200", "193", "6", "ffffff");
	so.addParam("wmode", "transparent");
	so.write("featureimplants");
	}
	
	if (jQuery("#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 (jQuery("#featuredental").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("featuredental");
	}
	
	if (jQuery("#Hebronff").length){
	var invi = new SWFObject("/Portals/_default/Skins/siteSkin/flash/Hebron.swf", "slideshow", "400", "300", "6", "#ffffff");
	invi.write("Hebronff");
	}
	
	if (jQuery("#Portageff").length){
	var invi = new SWFObject("/Portals/_default/Skins/siteSkin/flash/Portage.swf", "slideshow", "400", "300", "6", "#ffffff");
	invi.write("Portageff");
	}


});
