Opens a new popup window centered on the page according to the width and height of the user's screen. You can customize the width, height, and scrollbars on or off for each window you open.
<scriptlanguage="javascript"type="text/javascript"> /* Visit http://www.yaldex.com/
for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin function
NewWindow(mypage,
myname,
w,
h,scroll){ var
winl =(screen.width-
w)/2; var
wint =(screen.height-
h)/2; winprops ='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable' win =window.open(mypage,
myname,
winprops) if(parseInt(navigator.appVersion)>=4){
win.window.focus();}
} // End --> </script> <center> <!-- Put the URL inside the link's
href="..." section, then carefully -->
<!-- change 'name' to a name for your popup window. The last three -->
<!-- items represent the popup window width, height, and scrollbars. --> <ahref="http://yaldex.com/JSFactory_Pro.htm"onclick="NewWindow(this.href,'name','400','400','yes');return
false;">Popup
Directory</a> </center>