basta specificare anche document
window.opener.document.DatiDoc.DocType.value=sel;

ciao