Try:

Code:
window.opener.document.getElementById['img1'].src = "c:\Windows\a.gif"