function openIBWindow(url,winName) {
	var thing = new its();

	if (winName == "") winName = "ib";

	if (url.indexOf("cgi") != -1) {
		var correctBrowser = detectBrowser();

		if (correctBrowser == "incorrect") {
			url = url + "?browser=incorrect";
		}
		else {
			url = url + "?browser=correct";
		}
	}
	// Open window to screen extents
	var wOpen;
	var sOptions;

	sOptions = 'directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no,hotkeys=true';
	sOptions = sOptions + ',width=' + (screen.availWidth - 10).toString();
	sOptions = sOptions + ',height=' + (screen.availHeight - 122).toString();
	sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';

	wOpen = window.open( '', winName, sOptions );
	wOpen.location = url;
	wOpen.focus();
	wOpen.moveTo( 0, 0 );
	if (document.layers) {
		wOpen.resizeTo( screen.availWidth - window.outerWidth, screen.availHeight  - window.outerHeight );
	}
	else {
		wOpen.resizeTo( screen.availWidth, screen.availHeight );
	}
}
