
var $j = jQuery.noConflict();


function TI_onResize(){
	var flashMinimumHeight = 540;
	var head = 90;
	var foot = 40;
	var size = $j(window).height() - (head+foot);
	if(size<flashMinimumHeight) size = flashMinimumHeight;
	$j("#flashcontent").css("height", size+"px");
	
}


$j(document).ready(TI_onResize);
$j(window).resize(TI_onResize);