I have been trying to figure this out for a hour now and im hoping someone can give me some assistance. I need to convert the following code to work with a form.
<script language="JavaScript">
function newWindow(mypage,myname,w,h,features) {
if(screen.width){
var winl =...