var w=screen.availWidth-10;
var h=screen.availHeight-30;
window.open(document.location,"status=0,scroll=0;fullscreen=0,toolbar=0,location=0,directories=0,menubar=0,resizable=1,width=" + w + ",height=" + h + ",top=0,left=0",true);
var h=screen.availHeight-30;
window.open(document.location,"status=0,scroll=0;fullscreen=0,toolbar=0,location=0,directories=0,menubar=0,resizable=1,width=" + w + ",height=" + h + ",top=0,left=0",true);
<input type="button" onclick="window.open('in.htm',null,'toolbar=no,status=yes')" value="Open">in.htm<script>
var larg=screen.availWidth;
var altez=screen.availHeight;
self.resizeTo(larg,altez);
self.moveTo(0,0);
</script>
<body scroll=no>
var ShowTop = (window.screen.height - PopHeight)/2;
var ShowLeft = (window.screen.width - PopWidth )/2;
if (ShowTop<0){
ShowTop = 1;
}
if (ShowLeft<0){
ShowLeft = 1;
}
window.open (url,"open", "width=" + PopWidth + "px, height=" + PopHeight + "px, top=" + ShowTop + ", left=" + ShowLeft + ", toolbar=no, status=no, menubar=no, resizable=no, scrollbars=yes");
//msgtt.document.formSend.usermp.value="sdfasdf";
}
PopWinFull("index.jsp","");