function openResizableWindow(page) {
	window.open(page, "featureWindowResizable", "width=646,innerwidth=646,height=480,innerheight=480,toolbar=no,titlebar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");
}

function openNonResizableWindow(page) {
	window.open(page, "featureWindowNonResizable", "width=610,innerwidth=610,height=460,innerheight=460,toolbar=no,titlebar=no,menubar=no,location=no,scrollbars=no,resizable=no");
}

function openSizedWindow(page, iWidth, iHeight) {
	window.open(page, "featureWindowNonResizable", "width=" + iWidth + ",innerwidth=" + iWidth + ",height=" + iHeight + ",innerheight=" + iHeight + ",toolbar=no,titlebar=no,menubar=no,location=no,scrollbars=no,resizable=no");
}

function openAutoSizeWindow(page) {
	window.open(page, "featureWindowResizable", "width=646,innerwidth=646,height=480,innerheight=480,toolbar=no,titlebar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");
}

function openBigResizableWindow(page) {
	window.open(page, "featureBigWindowResizable", "width=796,innerwidth=796,height=480,innerheight=480,toolbar=no,titlebar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");
}

function openWindow(page) { 
	window.open(page, "instructionsWindowResizable", "width=616,innerwidth=616,height=450,innerheight=450,toolbar=no,titlebar=no,menubar=no,location=no,scrollbars=yes,resizable=yes"); 
}

var isNav, isIE;

if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
	isNav = (navigator.appName == "Netscape") ? 1 : 0;
	isIE = (navigator.appName.indexOf("Microsoft") != -1) ? 1 : 0;
}

//IE Max
IEMaxH = 553; //530
IEMaxW = 630; //612

//Nav Max
NavMaxH = 548;
NavMaxW = 608;

function fitBigWindowSize() {
if (isNav) {
	}

if (isIE) {
	var screen_width = screen.width;
	var screen_height = screen.height;

	width = 630;
	// if screen is 640x480 - don't resize
	if (screen_width > 640) { width = 800; } // screen is 800x600
	if (screen_width > 800) { width = 816; } // screen is 1024x768

	// if screen is 640x480 - don't resize
	if (screen_height > 480) { height = 600; } // screen is 800x600
	if (screen_height > 600) { height = 768; } // screen is 1024x768
	if (screen_height > 768) { height = 870; } // screen is 1152x870
	if (screen_height > 870) { height = 1024; } // screen is 1280x1024
	if (screen_height > 1024) { height = 1200; } // screen is 1600x1200

	window.resizeTo(width, height);
	}
}