  function LoadImage(brotherName, year, slogon, pin, officers, lodge) {
    // If year has spaces in it for multiple years, replace with %20's for filename use
    var textYear = year;
    var regexp = /~/g;
    textYear = textYear.replace(regexp, " and ");

    // Get Lodge Name
    if (lodge == 'L39') {
      lodgeName = "Lodge No. 39";
    } else if (lodge == 'A22') {
      lodgeName = "Alexandria Lodge No. 22";
    } else {
      lodgeName = "Alexandria-Washington Lodge No. 22";
    }

    // Specify Window Parameters and Display
    if (pin == 'N' && officers == 'N') {
      winOpts = "toolbar=0,width=550,height=600";
    } else {
      winOpts = "toolbar=0,width=650,height=600,scrollbars=1";
    }
    var newWindow = window.open("", "", winOpts);

    // Create Content for New Window and Display
    var newContent = '<HTML><HEAD><TITLE>' + brotherName + '</TITLE></HEAD>\n';
    newContent += '<BODY BACKGROUND="images/bg3.65x65.gif" BGCOLOR="#FFFFFF" MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="window.focus();">\n';
    newContent += '<CENTER><B>' + brotherName + '</B><BR><B><I>' + slogon + '</I></B><BR>Worshipful Master of ' + lodgeName + ' in ' + textYear + '<BR><BR>\n';
    newContent += '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>\n';
    newContent += '<TD COLSPAN=3 ALIGN=CENTER><IMG SRC="images/frame_top.379x39.gif" WIDTH=379 HEIGHT=39></TD>\n';
    newContent += '</TR><TR>\n';
    newContent += '<TD><IMG SRC="images/frame_left.42x384.gif" WIDTH=42 HEIGHT=384></TD>\n';
    newContent += '<TD><IMG SRC="images/Masters/' + year + '.jpg" WIDTH=295 HEIGHT=384 ALT="' + brotherName + '"></TD>\n';
    newContent += '<TD><IMG SRC="images/frame_right.42x384.gif" WIDTH=42 HEIGHT=384></TD>\n';
    newContent += '</TR><TR>\n';
    newContent += '<TD COLSPAN=3 ALIGN=CENTER><IMG SRC="images/frame_bottom.379x39.gif" WIDTH=379 HEIGHT=39></TD>\n';
    newContent += '</TR><TR><TD><FONT SIZE=1>&nbsp</FONT></TD></TR><TR>\n';
    newContent += '</TR></TABLE>\n';
    if (pin == 'Y') {
      newContent += '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>\n';
      newContent += '<TD ALIGN=CENTER><IMG SRC="images/Pins/' + year + '.gif"></TD>\n';
      newContent += '</TR><TR><TD><FONT SIZE=1>&nbsp</FONT></TD></TR>\n';
      newContent += '</TABLE>\n';
    }
    if (officers == 'Y') {
      newContent += '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>\n';
      newContent += '<TD ALIGN=CENTER><IMG SRC="images/Officers/' + year + '.jpg"></TD>\n';
      newContent += '</TR><TR><TD><FONT SIZE=1>&nbsp</FONT></TD></TR>\n';
      newContent += '</TABLE>\n';
    }
    newContent += '<A HREF="javascript:self.close();"><IMG SRC="images/close.gif" WIDTH=60 HEIGHT=20 BORDER=0 ALT="Close"></A>\n';
    newContent += '</CENTER>\n';
    newContent += '</BODY></HTML>\n';

    newWindow.document.write(newContent);
    newWindow.document.close();
  }

