//here's the sIfr
var montreal = {  src: 'montrealsf.swf' };
sIFR.activate(montreal);

sIFR.replace(montreal, {
  selector: '#footeraddress', 
  wmode: 'transparent', 
  src: 'montrealsf.swf', 
  css: [
		'.sIFR-root {color:#ffffff; text-align: center; }' ]
});


jQuery(document).ready(function(){
	$("#nav")
	.superfish({
		hoverClass	: "sfHover",
		pathClass	: "overideThisToUse",
		delay		: 800,
		animation	: {opacity:"show",height:"show"},
		speed		: "normal",
		oldJquery	: false, /* set to true if using jQuery version below 1.2 */
		disableHI	: false, /* set to true to disable hoverIntent detection */
		onInit		: function(){},
		onBeforeShow	: function(){},
		onShow		: function(){},
		onHide		: function(){}
	})
	.find(">li:has(ul)") //fixes ie6 bug
		.mouseover(function(){
			jQuery("ul", this).bgIframe({opacity:true});
		})
		.find("a")
			.focus(function(){
				jQuery("ul", jQuery("#nav>li:has(ul)")).bgIframe({opacity:true});
			});
	
	$("#nav li:last a").css("border-right","none");
	
	/* replace all media files */
	$("a.media").media();
	
	/* remove box from links */
	$("a").focus(function(){
		this.blur();
	});
		
	jQuery(".menuRollOver").rollover();


	

});

