function winPop(url) {



w = 640; //desired width

h = 340; //desired height

/* could pass these in as params */



/* not sure if this is right anymore, IE seems to be interior-ized too?

NNwidthAdj = 12;

NNheightAdj = 146;

Navigator interprets height and width in window.open to mean the size of

the document pane; IE interprets them to be the dimensions of the entire window.

These adjustments worked on my Netscape browser with standard toolbars showing --

it's not a perfect solution.



if (navigator.appName == 'Netscape') {

  w = w - NNwidthAdj;

  h = h - NNheightAdj;

}

*/

    

win = window.open (url, 'winASC', "width="+w+",height="+h+",toolbar=1,location=1,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,screenX=80,screenY=0,top=0,left=80");

/* positioning the window within the screen --

screenX and screenY work in NN, top and left work in IE */



win.focus();



}

