function openpopup(win, scroll, wdth, hgt, xpos, ypos)
{

//status	the status bar at the bottom of the window. 
//toolbar	the standard browser toolbar, with buttons such as Back and Forward. 
//location	the Location entry field where you enter the URL. 
//menubar	the menu bar of the window 
//directories	the standard browser directory buttons, such as What's New and What's Cool 
//resizable	allow/Disallow the user to resize the window. 
//scrollbars	enable the scrollbars if the document is bigger than the window 
//height	specifies the height of the window in pixels. (example: height='350') 
//width		specifies the width of the window in pixels. 

var winparams = "toolbar=0, scrollbars=" + scroll + ", width=" + wdth + ", height=" + hgt + ", top=" + xpos + ",left=" + ypos + ", screenx=" + xpos + ",screeny=" + ypos
window.open(win, "popup", winparams);
}
		

