// JavaScript Document

var trajan = {  src: DNN_skinPath+'univers_55.swf' };
sIFR.activate(trajan);

sIFR.replace(trajan, {
  selector: '#page-title', 
  wmode: 'transparent', 
  src: DNN_skinPath+'univers_55.swf', 
  css: [ '.sIFR-root {color:#007DC3;}',
		  '.dark {color:#004A8D;}'
	   ]
});


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});
	});

	jQuery("#home-link").click(function(){
		document.location.href = "/?tabname=Home";
	});

	jQuery('#page-photo img').preload({
		placeholder: DNN_skinPath+'loading.gif',
		notFound: DNN_skinPath+'spacer.gif'
	});
	
	/* PNG fix */
	jQuery(document).pngFix();

	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	
	jQuery('#acctMenuPayBill').click(function () {
	jQuery('#acctMenuPayOptions').toggle('slow');
});  

});

