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, sName) {
   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=yes,left=0,top=0,screenX=0,screenY=0';}

	if (!sName) sName = 'myRemote2';

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

}
