//sIFR implementation
function pageScripts() {
var KozukaGothicProL = {  src: DNN_skinPath + 'KozukaGothicProL.swf' };
sIFR.activate(KozukaGothicProL);
sIFR.replace(KozukaGothicProL, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'KozukaGothicProL.swf', 
  css: [ '.sIFR-root {color:#02446f;font-size:30px;}'  ]
});
}
/*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();		
		});
	
	
	jQuery('#rpeClick').click(function() {
var sshow = new SWFObject("http://tools.televoxsites.com/features/rpa2.swf", "slideshow", "450", "350", "6", "#000000");
     sshow.addParam("wmode", "transparent");
sshow.addParam("quality", "high");
sshow.write("RPEflash");                             
});
	
	
	jQuery('.acc h4').click(function() {
		jQuery(this).toggleClass('active').next().toggle("fast");
		return false;
	}).next().hide();
	jQuery("a").focus(function(){
	this.blur();
	});
		
	jQuery("#Navigation .Level1").append("<li><img src='/Portals/_default/Skins/albertfamilyortho/images/subappend.gif' align='bottom' class='subbottom' /></li>");		
	
	
	jQuery("#sitemapnavigation79 a").append("<br/>");
	jQuery("#sitemapnavigation85 a").append("<br/>");
	jQuery("#sitemapnavigation94 a").append("<br/>");
	
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/aboutus_hover.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/contactus_hover.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/games_hover.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/newpatients_hover.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/ourpatients_hover.png";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/referdoctors_hover.png";
	menuImage8= new Image(); 
	menuImage8.src = DNN_skinPath + "images/treatmentoption_hover.png";
	

	
});
