Hi .., i need the following thing to be done
"in a popup window if a this button is clicked it should close the popup and open the link in the parent window

popupWin.document.write('<a href="javascript:window.close();opener.window.pare nt.location.href=/"http://google.com/""></a>');

but it s not working. can u pl help..