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});
	});

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});

	jQuery(".LinkIcon").rollover();

});



var versailles = {  src: DNN_skinPath+'versailles.swf' };
sIFR.activate(versailles);
sIFR.replace(versailles, {
  selector: 'h1', 
  wmode: 'transparent',
  src: DNN_skinPath+'versailles.swf',
  css: [
      '.sIFR-root {color:#1A6A9F; font-weight: bold;}'
    ]
});

var copperplategothicbold = {  src: DNN_skinPath+'copperplategothicbold.swf' };
sIFR.activate(copperplategothicbold);
sIFR.replace(copperplategothicbold, {
  selector: '#contactaddress', 
  wmode: 'transparent',
  src: DNN_skinPath+'copperplategothicbold.swf',
  css: [
      '.sIFR-root {color:#592702; text-align: center;}'
    ]
});

var copperplategothicbold = {  src: DNN_skinPath+'copperplategothicbold.swf' };
sIFR.activate(copperplategothicbold);
sIFR.replace(copperplategothicbold, {
  selector: '#contactaddress1', 
  wmode: 'transparent',
  src: DNN_skinPath+'copperplategothicbold.swf',
  css: [
      '.sIFR-root {color:#592702; text-align: center;}'
    ]
});

sIFR.replace(copperplategothicbold, {
  selector: '#contactinfo', 
  wmode: 'transparent',
  src: DNN_skinPath+'copperplategothicbold.swf',
  css: [
      '.sIFR-root {color:#1F6598; text-align: center;}',
	  '.sIFR-root a {color:#1F6598; text-align: center; text-decoration: none;}',
	  '.sIFR-root a:hover {color:#7E5738; text-align: center; text-decoration: none;}'
    ]
});


