<!-- 1.2
var windowW = 0
var windowH = 0
var windowX = 0
var windowY = 0
var urlPop = ""
var title =  ""
var autoclose = false;
s = "width=" + windowW + ", height = " + windowH;
var beIE = document.all ? true : false

function popup(w, h, u, t)
{
	windowW = w;
	windowH = h;
	windowX = parseInt(screen.width / 2) - parseInt(windowW / 2);
	windowY = parseInt(screen.height / 2) - parseInt(windowH / 2);
	urlPop = u;
	title = t;
	openFrameless();
}

function openFrameless() {
	if (beIE) {
		NFW = window.open("", "popFrameless", "fullscreen," + s)
		NFW.blur()
		window.focus()
		NFW.resizeTo(windowW, windowH)
		NFW.moveTo(windowX, windowY)
		var frameString = "<html><head><title>" + title + "</title></head>" +
		                  "<frameset rows='*, 0' framespacing=0 border=0 frameborder=0>" +
		                  "<frame name='top' src='" + urlPop + "' scrolling='no'>" +
		                  "<frame name='bottom' src='about:blank' scrolling='no'>" +
		                  "</frameset></html>"
		NFW.document.open();
		NFW.document.write(frameString)
		NFW.document.close()
	}
	else {
		NFW = window.open(urlPop, "popFrameless", "scrollbars, " + s)
		NFW.blur()
		window.focus()
		NFW.resizeTo(windowW, windowH)
		NFW.moveTo(windowX, windowY)
	}
	NFW.focus()   
	if (autoclose)
		window.onunload = function() { NFW.close() }
	}
//-->

//<a href="javascript:openFrameless()">click here</a>

//<body onload="top.window.focus()">

