var remote
function launchEO(StateProductID) {
	if (remote) {
		remote.close()
	}
	var launchURL = "input.asp?StateProductID=" + StateProductID;
	remote = window.open("","remotewin","scrollbars,width=500,height=450");
	remote.location.href = launchURL;
	if (remote.opener == null) remote.opener = window;
	remote.opener.name = "opener";
}

function launchProduct(StateProductID) {
	if (remote) {
		remote.close()
	}
	var QTY = eval("document.forms['ProductListing'].QTY" + StateProductID + ".value");
	var launchURL = "input.asp?StateProductID=" + StateProductID + "&QTY=" + QTY;
	remote = window.open("","remotewin","scrollbars,width=500,height=480");
	remote.location.href = launchURL;
	if (remote.opener == null) remote.opener = window;
	remote.opener.name = "opener";
}

