var orgWidth = 342;
var orgHeight = 477;

function resizeSign() {
	if ($(window).width() > 1000) {
		ratio		= parseFloat($(window).width()/$("#contentContainer").width());
		imgWidth	= Math.ceil(orgWidth * ratio);
		imgHeight	= Math.ceil(orgHeight * ratio);
		$("#rfSign").css({"width": imgWidth + "px", "height": imgHeight +"px" });
	}
}

$(document).ready(function(){
	resizeSign();
	
	$("a").attr({ onfocus: "this.blur();"});
	
	$("A#musicLink").hover(function(){
		$("A#campusLink").toggleClass("hover");
		$("A#artsLink").toggleClass("hover");
	});
	$("A#campusLink").hover(function(){
		$("A#musicLink").toggleClass("hover");
		$("A#artsLink").toggleClass("hover");
	});
	$("A#artsLink").hover(function(){
		$("A#musicLink").toggleClass("hover");
		$("A#campusLink").toggleClass("hover");
	});
});

$(window).resize(resizeSign);

function showTrailer() {
	$("#trailer").hide();
	$("#trailerContainer").show(500, function() {
		$("#outerContainer").height($(document).height());
		$("#iFrameTrailer").attr("src","rf_trailer.html"); 
		document.location.hash="#movie";
	});
}