function pageScripts(){
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 {font-size:48px;color:#d48891;text-transform:lowercase;}'  ]
});
}

function pageScriptshome(){
var Angelina1 = {  src: DNN_skinPath + 'Angelina.swf' };
sIFR.activate(Angelina1);
sIFR.replace(Angelina1, {
  selector: 'h1.homeheader', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Angelina.swf', 
  css: [ '.sIFR-root {font-size:72px;color:#d48891;text-transform:lowercase;}'  ]
});
}

//Menu implementation	   
jQuery(document).ready(function(){

	jQuery("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:1200,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	}).find(">li:has(ul)").mouseover(function () {
		jQuery("ul", this).bgIframe({opacity:true});
	}).find("a").focus(function () {
		jQuery("ul", jQuery("#Navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});
	/* remove box from links */
	jQuery("a").focus(function(){
	this.blur();
	});	
	
    jQuery(".LinkIcon").rollover();
	
	if (jQuery("#featureimplants").length){
		var so = new SWFObject("http://tools.televoxsites.com/features/implant.swf", "features", "200", "195", "9", "#FF6600");		
		so.addVariable("feature", "featureimplants");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("featureimplants"); 
	}	
	if (jQuery("#Crowns").length){
		var so = new SWFObject("http://tools.televoxsites.com/features/crown.swf", "features", "287", "300", "9", "#FF6600");
		so.addParam("wmode", "transparent");
		so.addParam("quality", "high");
		so.write("Crowns"); 
	}
	
	  jQuery(".Level1").append("<li><img src='/Portals/_default/Skins/rosydental.com/images/Submenubottom.png' align='bottom' class='subbottom' /></li>");
								
	/*Preload the menu backgrounds*/
	menuImage1 = new Image(); 
	menuImage1src = DNN_skinPath + "images/home_on.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/contact_on.png";	
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/misc_on.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/oinfo_on.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/pinfo_on.png";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/plogin_on.png";	
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/tds_on.png";	
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/trt_on.png";	/*over*/
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/hover.jpg";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/map_on.png";
	menuImage12 = new Image(); 
	menuImage12.src = DNN_skinPath + "images/news_on.png";
	menuImage13 = new Image(); 
	menuImage13.src = DNN_skinPath + "images/Submenu.png";
	menuImage14 = new Image(); 
	menuImage14.src = DNN_skinPath + "images/Submenubottom.png";

});
