//sIFR implementation
function pageScripts() {
var Jenny = {  src: DNN_skinPath + 'Jenny.swf' };
sIFR.activate(Jenny);
sIFR.replace(Jenny, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Jenny.swf', 
  css: [ '.sIFR-root {color:#ff7f00;font-size:44px;}'  ]
});
}
/*Menu implementation*/
jQuery(document).ready(function(){
	jQuery("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	});
	
	/* remove box from links */
	jQuery("a").focus(function(){
	this.blur();		
	});
	
	/* faq page */
	jQuery('.acc h3').click(function() {
	jQuery(this).toggleClass('active').next().toggle("fast");
	return false;
	}).next().hide(); 
		
	jQuery(".Level1").append("<li><img src='/Portals/_default/Skins/dportho.com/images/submenu_bottom.png' align='bottom' class='subbottom' /></li>");		

	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/Login_on.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home_on.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/aboutus_on.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/patientinfo_on.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/invisalign_on.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/invisalignteen_on.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/treatment_on.jpg";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/Misc_on.jpg";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/contactus_on.jpg";


if (jQuery("#featurecolor").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("xmlfile", "/features/planner.xml"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featurecolor");
}


});
