Hi Srividya,
I have changed your function just a little. Does this work for you?
function setSource(newSource){
myRemote=window.open('test.html','reportWindow');
// don't need this line, as location is set when the window opens
// myRemote.location.href = test.html;
myRemote.frames[1].document.location.href=newSource;
}
Alternately, you could save the "newSource" as a JavaScript variable and have the new window request it from the opener.
g.