function win(url, name, wHeight, wWidth) {
sWidth = screen.availWidth;
sHeight = screen.availHeight;
x = (sWidth - wWidth) / 2;
y = (sHeight - wHeight) / 2;
newWin = window.open(url, name, "width="+wWidth+",height="+wHeight);
newWin.moveTo(x,y);
}
