// PLACEMENT
function getWindowHeight() {
	var windowHeight = 0;
	if (typeof(window.innerHeight) == 'number') {
		windowHeight = window.innerHeight;
	} else {
		if (document.documentElement && document.documentElement.clientHeight) {
			windowHeight = document.documentElement.clientHeight;
		} else {
			if (document.body && document.body.clientHeight) {
				windowHeight = document.body.clientHeight;
			}
		}
	}
	return windowHeight;
}
function setFlashHeight() {
	if (document.getElementById) {
		var windowHeight = getWindowHeight();
		if (windowHeight > 0) {
			var flashShellElement = document.getElementById('flashShell');
			flashShellElement.style.position = 'relative';
			flashShellElement.style.height = windowHeight + 'px';
		}
	}
}



function openNewWindow(URLtoOpen, windowName, windowFeatures) 
{ 
	newWindow=window.open(URLtoOpen, windowName, windowFeatures); 
}



// CALLS
window.onload = function() {
	setFlashHeight();
}
window.onresize = function() {
	setFlashHeight();
}
