function newWindow(file,window,properties) {
msgWindow=open(file,window,properties);
if (msgWindow.opener == null) msgWindow.opener = self;
}

