// Copyright (c) 2000 internet.com Corp. 
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.

function launch(newURL, newName, newFeatures, orgName) {
  var remote = window.open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}

function launchRemote(pageName, varWidth, varHeight, varScroll) {
  myRemote = launch(pageName, "myRemote", "height=" + varHeight +",width=" + varWidth + ",screenX=200,left=200,screenY=200,top=200,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=" + varScroll + " ,status=0,toolbar=0", "myWindow");
}
