// JavaScript Document
var isNav4, isIE4;

if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
	isNav4 = (navigator.appName == "Netscape") ? 1 : 0;
	isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? 1 : 0;
}

function fitWindowSize() {
	if (isNav4) {
		window.innerWidth = (document.images[0].width) + 12;
		window.innerHeight = (document.images[0].height) + 24;
	}
	if (isIE4) {
		window.resizeTo(150, 200);
		width = 150 - ((document.body.clientWidth -  document.images[0].width) - 12);
		height = 200 - ((document.body.clientHeight -  document.images[0].height) - 24);
		window.resizeTo(width, height);
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}