//sIFR implementation
function pageScripts() {
var sifr = {  src: DNN_skinPath + 'sifr.swf' };
sIFR.activate(sifr);
sIFR.replace(sifr, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'sifr.swf', 
  css: [ '.sIFR-root {color:#f4d029;font-size:80px;font-weight:normal; text-indent:6px; }'  ]
  
});
}
 
/*Menu implementation*/
	   
jQuery(document).ready(function(){

	jQuery('.acc h4').click(function() {					 
		jQuery(this).toggleClass('active').next().toggle("fast");
		return false;
	}).next().hide();	

	jQuery("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:500,
		animation:{opacity:"show"},
		speed:10,
		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});
	});

					
	jQuery(".Level1").append("<li><img src='/Portals/_default/Skins/lightshipdental/images/subbottom.gif' align='bottom' class='bottom' /></li>");		
					/*Preload the menu backgrounds*/
	jQuery("a").focus(function(){
		this.blur();		
		});
	 
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/patientlogin_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientinfo_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/services_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/contactus_hover.jpg";	
		menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/submenu.gif";	
		menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/submenu_hover1.gif";	
		menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/subbottom.gif";	
	
});
