1: 2: 3: 4:
function ShowNewPage() { window.showModalDialog("Sample.aspx",window,"width=400;height=200;"); }