jQuery(document).ready(function(){

	/** Navigation **/
	jQuery("#navigation ul").superfish({
		hoverClass	: "hover",
		pathClass	: "overideThisToUse",
		delay		: 800,
		animation	: {height:"show"},
		speed		: "normal",
		onInit		: function(){},
		onBeforeShow: function(){},
		onShow		: function(){},
		onHide		: function(){}
	});

	jQuery("#navigation > ul > li:last-child").css("background","none");

	//initialize all popups
	jQuery("#navigation71 > a").attr("rel","tourWin");
	jQuery("#pagePhoto").popupwindow({
		tourWin:
		{
			height:570,
			width:850,
			status:0,
			resizable:0,
			scrollbars:0,
			center:1
		}
	});

	/* Activate all media */
	jQuery(".media").media();

/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	jQuery("#navigation71 a").each(function() {
		// Set the original src
		newwindow = "_blank";
		
		
		jQuery(this).attr("target", newwindow);
	});

});

var sifr1 = {  src: DNN_skinPath+'papyrus.swf' };
sIFR.activate(sifr1);

sIFR.replace(sifr1, {
  selector: '#pageTitle', 
  wmode: 'transparent', 
  src: DNN_skinPath+'papyrus.swf', 
  css: [ '.sIFR-root {color:#b22b2f;}'  ]
});

