In javascript, Use the window object. It has method called Open. You can set the parameters what you want then call it in your HTML body.
<html> <head><script language="JavaScript">
function pop() {
var W1 = window.open('window5.htm','Popup1',"toolbar=no,status=no,location=yes, directories=no,menubar=no,scrollbars=yes,resizable=yes,width=160,height=160");
}
</script></head>
<body onload="pop()" >
</body></html>
Popup based on your wish
function OpenWindow()
{
var maxWin = window.open("default.aspx", "Home", "top=0, left=0, resizable=yes, status=no, location=no, toolbar=no");
maxWin.moveTo(-4, -4);
maxWin.resizeTo(maxWin.screen.availWidth+8, maxWin.screen.availHeight+8);
if(maxWin)
maxWin.focus();
}
In Login Page,
<a href="javascript: OpenWindow()"><img src="login.jpg" name="imglogin" id="imglogin"></a>