//client.js
function launch(newURL, newName, newFeatures, orgName)
{  
   var remote = open(newURL, newName, newFeatures); 
   if (remote.opener == null) remote.opener = window;  
   remote.opener.name = orgName;  
   remote.focus();  
   return remote;
} 

function launchRemote (which)
{  
   myRemote = launch(which, "image", "height=600,width=800,channelmode=0,dependent=1,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0", self);
}
