To access the contents of a form field in new window from the original window:
===================================================
var myVar =newwin.document.formName.formFieldName.value;
To access the contents of a form field in the original window from the new window:try the followong code.
====================================================
var myVar = opener.document.formName.formFieldName.value;
To access the contents of a form field in the original window from a frame in the new window:
=========================================================
var myVar = top.opener.document.formName.formFieldName.value;