function openWin(url, name, height, width)
{
        remote = window.open(url,name,'height=' + height + ',width=' + width + ',titlebar=0,channelmode=0,screenX=10,left=10,screenY=10,top=10,hotkeys=0,dependent=1,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0');
        remote.focus();
        if (remote.opener == null) remote.opener = window;
        remote.opener.name = 'opener';
}
