//sIFR implementation
function pageScripts(){
var perpetua = {  src: DNN_skinPath + 'flash/Trajan Pro.swf'};
//alert(DNN_skinPath + 'flash/Trajan Pro.swf');
sIFR.activate(perpetua);
sIFR.replace(perpetua, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'flash/Trajan Pro.swf', 
  css: [ '.sIFR-root {color:#ffffff;font-size:31px;}']
});
}

//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});
	
	});

//home
	var PathHome = DNN_skinPath + "images/home.jpg";
jQuery("#Navigation55").append("<a href='/LinkClick.aspx?link=55&tabid=55' title=''><img id='HomeImg' src='"+PathHome+"' style='position:absolute' alt='About out Practice' /></a>");
	
	jQuery("#Navigation55").find("img").mouseover(function () {
				var PathHomeON = DNN_skinPath + "images/home_hover.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	jQuery("#Navigation55").find("img").mouseout(function () {
				var PathHomeON = DNN_skinPath + "images/home.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	//End
	
	

	//officeinfo
	var PathHomeo = DNN_skinPath + "images/officeInfo.jpg";
	jQuery("#Navigation57").append("<a href='#' title=''><img id='HomeImg' src='"+PathHomeo+"' style='position:absolute' alt='Office Info' /></a>");
	
	jQuery("#Navigation57").find("img").mouseover(function () {
				var PathHomeON = DNN_skinPath + "images/officeInfo_hover.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	jQuery("#Navigation57").find("img").mouseout(function () {
				var PathHomeON = DNN_skinPath + "images/officeInfo.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	//End
	
	//patientinfo
	var PathHomeo = DNN_skinPath + "images/patientinfo.jpg";
	jQuery("#Navigation66").append("<a href='#' title=''><img id='HomeImg' src='"+PathHomeo+"' style='position:absolute' alt='Patient Info' /></a>");
	
	jQuery("#Navigation66").find("img").mouseover(function () {
				var PathHomeON = DNN_skinPath + "images/patientinfo_hover.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	jQuery("#Navigation66").find("img").mouseout(function () {
				var PathHomeON = DNN_skinPath + "images/patientinfo.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	//End
	
	//treatment
	var PathHomeo = DNN_skinPath + "images/treatment.jpg";
	jQuery("#Navigation79").append("<a href='#' title=''><img id='HomeImg' src='"+PathHomeo+"' style='position:absolute' alt='treatment' /></a>");
	
	jQuery("#Navigation79").find("img").mouseover(function () {
				var PathHomeON = DNN_skinPath + "images/treatment_hover.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	jQuery("#Navigation79").find("img").mouseout(function () {
				var PathHomeON = DNN_skinPath + "images/treatment.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	//End
	
	
	//funstuff
	var PathHomeo = DNN_skinPath + "images/funStuff.jpg";
	jQuery("#Navigation93").append("<a href='#' title=''><img id='HomeImg' src='"+PathHomeo+"' style='position:absolute' alt='Fun Stuff' /></a>");
	
	jQuery("#Navigation93").find("img").mouseover(function () {
				var PathHomeON = DNN_skinPath + "images/funStuff_hover.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	jQuery("#Navigation93").find("img").mouseout(function () {
				var PathHomeON = DNN_skinPath + "images/funStuff.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	//End

	
	//patientLogin
	var PathHomeo = DNN_skinPath + "images/patientLogin.jpg";
	jQuery("#Navigation154").append("<a href='https://www.mytlink.net/TLinkDotNet/Patient/Login.aspx?tpract=541150' title='' target='blank'><img id='HomeImg' src='"+PathHomeo+"' style='position:absolute' alt='Patient Login' /></a>");
	
	jQuery("#Navigation154").find("img").mouseover(function () {
				var PathHomeON = DNN_skinPath + "images/patientLogin_hover.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	jQuery("#Navigation154").find("img").mouseout(function () {
				var PathHomeON = DNN_skinPath + "images/patientLogin.jpg";
				jQuery(this).attr({ src:PathHomeON });
	});
	//End






	
});


