Not sure if you mean JScript or Javascript, but this works for Javascript:
<script type="text/javascript">
<!--
function parentRefresh()
{
var opnr = window.opener;
opnr.location.reload();
}
// -->
</script>
Put that in the 'popup' window and call accordingly.