//sIFR implementation
function pageScripts(){
var zapfino = {  src: DNN_skinPath + 'zapfino.swf' };
sIFR.activate(zapfino);
sIFR.replace(zapfino, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'zapfino.swf', 
  css: [ '.sIFR-root {color:#4e8358; font-size:20px;}'  ]
});

}
	function mouseover(x)
	{
		
		if(x.match("sub55")){
	if(document.getElementById("mouse_Home")){
document.getElementById("mouse_Home").src = DNN_skinPath + "images/home_hover.gif";
	}
		}
		if(x.match("sub154")){
	if(document.getElementById("mouse_Our Team")){
	   document.getElementById("mouse_Our Team").src = DNN_skinPath + "images/ourteam_hover.gif";
	}
		}
		if(x.match("sub159")){
	if(document.getElementById("mouse_Our Office")){
document.getElementById("mouse_Our Office").src = DNN_skinPath + "images/ouroffice_hover.gif";
	}
		}
		if(x.match("sub155")){
	if(document.getElementById("mouse_Patient Info")){
document.getElementById("mouse_Patient Info").src = DNN_skinPath + "images/patientinfo_hover.gif";
	}
		}
		if(x.match("sub156")){
	if(document.getElementById("mouse_Treatment"))
	{
document.getElementById("mouse_Treatment").src = DNN_skinPath + "images/treatment_hover.gif";
	}
		}
		if(x.match("sub157")){
	if(document.getElementById("mouse_Just for Fun")){
document.getElementById("mouse_Just for Fun").src = DNN_skinPath + "images/justforfun_hover.gif";
	}
		}
		if(x.match("sub158")){
	if(document.getElementById("mouse_Contact Us")){
document.getElementById("mouse_Contact Us").src = DNN_skinPath + "images/contactus_hover.gif";
	}
		}
		}
		
			function mouseout(x)
	{
		
		if(x.match("sub55")){
	if(document.getElementById("mouse_Home")){
document.getElementById("mouse_Home").src = DNN_skinPath + "images/home.gif";
	}
		}
		if(x.match("sub154")){
	if(document.getElementById("mouse_Our Team")){
	   document.getElementById("mouse_Our Team").src = DNN_skinPath + "images/ourteam.gif";
	}
		}
		if(x.match("sub159")){
	if(document.getElementById("mouse_Our Office")){
document.getElementById("mouse_Our Office").src = DNN_skinPath + "images/ouroffice.gif";
	}
		}
		if(x.match("sub155")){
	if(document.getElementById("mouse_Patient Info")){
document.getElementById("mouse_Patient Info").src = DNN_skinPath + "images/patientinfo.gif";
	}
		}
		if(x.match("sub156")){
	if(document.getElementById("mouse_Treatment"))
	{
document.getElementById("mouse_Treatment").src = DNN_skinPath + "images/treatment.gif";
	}
		}
		if(x.match("sub157")){
	if(document.getElementById("mouse_Just for Fun")){
document.getElementById("mouse_Just for Fun").src = DNN_skinPath + "images/justforfun.gif";
	}
		}
		if(x.match("sub158")){
	if(document.getElementById("mouse_Contact Us")){
document.getElementById("mouse_Contact Us").src = DNN_skinPath + "images/contactus.gif";
	}
		}
		}
	
//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 () {}
	}).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});
	});

	if(document.getElementById("Home")){
document.getElementById("Home").src = DNN_skinPath + "images/home_hover.gif";
	}
	if(document.getElementById("Our Team")){
	   document.getElementById("Our Team").src = DNN_skinPath + "images/ourteam_hover.gif";
	}
	if(document.getElementById("Our Office")){
document.getElementById("Our Office").src = DNN_skinPath + "images/ouroffice_hover.gif";
	}
	if(document.getElementById("Patient Info")){
document.getElementById("Patient Info").src = DNN_skinPath + "images/patientinfo_hover.gif";
	}
	if(document.getElementById("Treatment"))
	{
document.getElementById("Treatment").src = DNN_skinPath + "images/treatment_hover.gif";
	}
	if(document.getElementById("Just for Fun")){
document.getElementById("Just for Fun").src = DNN_skinPath + "images/justforfun_hover.gif";
	}
	if(document.getElementById("Contact Us")){
document.getElementById("Contact Us").src = DNN_skinPath + "images/contactus_hover.gif";
	}

	
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.gif";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/contactus_hover.gif";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientinfo_hover.gif";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treatment_hover.gif";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/justforfun_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/ouroffice_hover.gif";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/ourteam_hover.gif";

});



