You could use a frameless window, and just put your own borders on. Be sure to have a close window in somewher or else you have to manually kill it. Here is the code i hope it helps
var windowX = 288 // from left
var windowY = 250 // from top
var windowW=226 // wide
var windowH=232 // high
var title = "Contact Details"
var autoclose = true
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless(param){
if (beIE){
fwin = window.open("","popFrameless","fullscreen,"+s)
fwin.blur()
window.focus()
fwin.resizeTo(windowW,windowH)
fwin.moveTo(windowX,windowY)
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+param+".htm' scrolling=no>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
fwin.document.open();
fwin.document.write(frameString)
fwin.document.close()
} else {
fwin=window.open(param+".htm","popFrameless","scrollbars,"+s)
fwin.blur()
window.focus()
fwin.resizeTo(windowW,windowH)
fwin.moveTo(windowX,windowY)
}
fwin.focus()
if (autoclose){
window.onunload = function(){fwin.close()}
}
}