$(document).ready(function(){

	$('form.jump select').change(function()
	{
		var url = $('option:selected', this).val();
		window.location = url;
	});
	
	$('div#trailer').hide();
	
	$('p#trailerLink a').click(function()
	{
		$('div#trailer').slideToggle();
		
		if ( $(this).html() == "View Trailer" ) {
			$(this).html("Hide Trailer");
		} else {
			$(this).html("View Trailer");
		}
		
		return false;
	});
	
	// sIFR
	if(typeof sIFR == "function"){
		// This is the preferred "named argument" syntax
		sIFR.replaceElement(named({sSelector:"h2", sFlashSrc:"/lib/flash/trajan.swf", sColor:"#FFFFFF", sBgColor:"#000000", sWmode:"transparent"}));
	}
	
});


// Legacy, too lazy to change, eat shit.
function popUp(theURL,winName,features) {
	window.open(theURL,winName,features);
}

