function launch(newURL, newName, newFeatures, orgName)
{
	var remote = open(newURL, newName, newFeatures);
	if (remote.opener == null)
		remote.opener = window;
	remote.opener.name = orgName;
	return remote;
}

function launchRemote(path, height, width, x, y, top, left) 
{
	myRemote = launch(path, "myRemote", "height=" + height + ",width=" + width + ",screenX=" + x + ",screenY=" + y + ",top=" + top + ",left=" + left + ",channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0", "myWindow");
}
