<!--
	
function windowopen(sUrl, nWindowType, nTop, nLeft, nWidth, nHeight, GoBehind) {
  if (isNaN(nHeight)||nHeight==null) nHeight= window.screen.availHeight * .58;
  if (isNaN(nWidth)||nWidth==null)  nWidth = window.screen.availWidth * .9;
  if (isNaN(nTop)||nTop==null)    nTop   = (window.screen.availHeight - nHeight) / 2;
  if (isNaN(nLeft)||nLeft==null)   nLeft  = (window.screen.availWidth - nWidth) / 2;

  var sFeatures = "height=" + (nHeight) + ",width=" + (nWidth) + "," +
                  "top=" + nTop + "," + 
                  "left=" + nLeft + "," + 
                  "channelmode=no,directories=no,fullscreen=no,titlebar=yes," 

  switch (nWindowType) {
     case 0:   // Title Bar, Menu, ScrollBars, and Resizable
        sFeatures += "location=no,menubar=yes,scrollbars=yes,status=yes,toolbar=no,resizable=yes";
        break;
     case 1:   // Title Bar Only and Not Resizable
        sFeatures += "location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no";
        break;
     case 2:   // Title Bar, ScrollBars, StatusBar, Resizable
        sFeatures += "location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,resizable=yes";
        break;
     case 3:   // Title Bar Only and Resizable
        sFeatures += "location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes";
        break;
     case 4:   // Title Bar, Menu and Resizable
        sFeatures += "location=no,menubar=yes,scrollbars=no,status=no,toolbar=no,resizable=yes";
        break;

     case 5:   // Modal  Dialog
     case 6:   // Modeless Dialog
        sFeatures = "dialogWidth:"  + nWidth  + "px;" +
                    "dialogHeight:" + nHeight + "px;" +
                    "dialogLeft:"   + nLeft   + "px;" +
                    "dialogTop:"    + nTop    + "px;" + 
                    "help:no;edge:sunken;status:no;center:yes;resizable:yes;scroll:no;";
        break;
     case 7:   // Modeless Dialog No Resizable
        sFeatures = "dialogWidth:"  + nWidth  + "px;" +
                    "dialogHeight:" + nHeight + "px;" +
                    "dialogLeft:"   + nLeft   + "px;" +
                    "dialogTop:"    + nTop    + "px;" + 
                    "help:no;edge:sunken;status:no;center:yes;resizable:no;scroll:no;";
        break;
     default:  // Full IE
        sFeatures += "location=yes,menubar=yes,scrollbars=yes,status=yes,toolbar=yes,resizable=yes";
  } 

  switch (nWindowType) {
    case 5:  return window.showModalDialog(sUrl, "", sFeatures); break;
    case 6:  return window.showModelessDialog(sUrl, "", sFeatures); break;
    case 7:  return window.showModalDialog(sUrl, "", sFeatures); break;
    default: 
       var win2 = window.open(sUrl, "_blank", sFeatures, true);   
       if (GoBehind != null && GoBehind == true) {
        win2.blur();
        window.focus();
       }
       break;
  }
}

//-->