Possible Duplicate:
Can I pass a JavaScript variable to another browser window?
I'm trying to change a 'showModalDialog' so that I can, instead of opening the page in dialog, open it in a seperate tab/window. In order to do so, I must pass the variable (array) it's expecting, or the other page fails to load as expected. I'm scratching my head on how to accomplish this. Any ideas?
edited to include: I don't have access to change any code on the page that is being opened as the dialog, so I need to pass the vArgs to (aryAry) so that it receives them the same way it would if it was being opened with showModalDialog, the page being opened can't be changed, so it mustn't be able to tell a difference.
Code as it stands, opening a modal dialog:
var aryAry = new Array();
if ( aryAry )
{
aryAry[ 0 ] = homeW.all.xmlHomeW.XMLDocument;
aryAry[ 1 ] = homeW;
}
vR = window.showModalDialog( 'home.aspx', aryAry, 'dialogheight: 500px; dialogwidth: 500px;');
if ( vR == null )
vR = false;