
function launchSmall(url) {
  remote = open(url, "Small", "scrollbars,width=458,height=365,left=20,top=20");
  remote.focus();
}
function launchPager(url) {
  remote = open(url, "Pager", "scrollbars,resizable,width=698,height=600,left=20,top=20");
  remote.focus();
}
function launchAlt(url) {
  remote = open(url, "Alt", "scrollbars,width=500,height=700,left=20,top=20");
  remote.focus();
}
function launchPrint(url) {
  remote = open(url, "Print", "scrollbars,resizable,width=698,height=600,left=20,top=20");
  remote.focus();
}
function launchNewWindow(URL,win_name,win_menubar,win_toolbar,win_scrollbars,win_resizable,win_location,win_width,win_height) {
// This defines default attributes of popup window
  URL=URL==null?'http://www.msim.com':URL;
  win_name=win_name==null?'NewWindow':win_name;
  win_menubar=win_menubar==null?'yes':win_menubar;
  win_toolbar=win_toolbar==null?'yes':win_toolbar;
  win_scrollbars=win_scrollbars==null?'yes':win_scrollbars;
  win_resizable=win_resizable==null?'yes':win_resizable;
  win_location=win_location==null?'yes':win_location;
  win_width=win_width==null?820:win_width;
  win_height=win_height==null?520:win_height;
  var win_leftmargin="0";
  var win_topmargin="0";
  var win_marginwidth="0";
  var win_marginheight="0";

  browserName = navigator.appName;
  browserVersion = navigator.appVersion;
  var winl = (screen.width - win_width) / 2;
  var wint = (screen.height - win_height) / 2;
  winprops = 'leftmargin='+win_leftmargin+',topmargin='+win_topmargin+',marginwidth='+win_marginwidth+',marginheight='+win_marginheight+',height='+win_height+',width='+win_width+',top='+wint+',left='+winl+',menubar='+ win_menubar+',toolbar='+win_toolbar+',scrollbars='+win_scrollbars+',resizable='+win_resizable+',location='+win_location;
  // alert ('winprops = ' + winprops);
  mywin = open(URL, win_name, winprops);
  if (browserVersion >= 4) { mywin.window.focus(); }
}
function launchNoFeatures(url) {
remote = open(url, "NoFeatures", "scrollbars,resizable,width=698,height=600,left=20,top=20");
  remote.focus();
}