//determine current window height
var currHeight;
/*
window.onresize = function() {
	currHeight = $(window).height() - 70;
	if ($.browser.msie) { //IE bug fix
	} else  {
		//resizeFlash(currHeight);
	}
}
*/

function adjustSWFHeight() {
    if(document.body.clientHeight <= 590)
        document.getElementById("flashcontent").style.height = "590px";
    else
        document.getElementById("flashcontent").style.height = "100%";
 
    if(document.body.clientWidth <= 950)
        document.getElementById("flashcontent").style.width= "950px";
    else
        document.getElementById("flashcontent").style.width= "100%";
}