<html>
<head>
<title>ThaiCreate.Com Tutorial</title>
<script language="JavaScript">
function fncOpenPopup()
{
window.open('popup2.html','popup-name','width=700,height=500,toolbar=0, menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');
}
</script>
</head>
<body>
<form name="frmMain" action="" method="post">
<input type="button" name="btnOpen" value="OpenPopup" OnClick="fncOpenPopup();">
</form>
</body>
</html>