if you just copy and paste the following:
function openDockWindow(theurl,winname,width,height,otherops)
{
var dockedwin;
otherops = otherops?","+otherops:""
dockedwin=window.open(theurl,winname,"width="+width+",height="+height+otherops)
dockedwin.moveTo(screen.width-(width+10),0)
return dockedwin;
}
DeptList = openDockWindow("DeptList.asp?id="+document.DeptForm.User.value,"DeptList",450,300,"TOOLBAR=NO,MENUBAR=NO,LOCATION=YES,RESIZABLE=YES,SCROLLBARS=YES"

;
it should achieve the affect you are looking for. Basically, the openDockWindow is looking for the first parameter to be the url, the second to name of the window, the third the width, the fourth the height, and the fifth is any options besides height and width that you want to specify. jared@eae.net -