
	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 OpenWindow(sURL, nw,nh, sOptions) {
	   if (nw<1) {nw=500;}
	   if (nh<1) {nh=300;}
	   if (sOptions == '') { sOptions='screenX=125,left=125,screenY=125,top=125,channelmode=0,dependent=0,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=no,left=0,top=0,screenX=0,screenY=0';}

	   myRemote2 = launch(sURL, "myRemote2", "height=" + nh + ",width=" + nw + "," + sOptions, "HAMweather_Popup");
	   return false;
	}
