var win = null;
function nw(mypage,myname,w,h,scroll){
 var test
 wOffSet = 13;
 hOffSet = 32;
 LeftPosition = (screen.width) ? (screen.width-w-wOffSet)/2 : 0;
 TopPosition = (screen.height) ? (screen.height-h-hOffSet)/2 : 0;
 settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',';
 win = window.open(mypage,myname,settings);
 
 if (window.document.all){
  win.window.resizeTo(w,h);
  win.window.resizeBy(wOffSet,hOffSet);
 }
 
 if(win.window.focus){win.window.focus();}
}
