
function open_window(url,width,height,name,scroll,winl,wint) {
   if (winl == "") { var winl = (screen.width - width) / 2; }
   if (wint == "") { var wint = (screen.height - height) / 2; }
       mywin = window.open(url,name,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=1,width='+width+',height='+height+',left='+winl+',top='+wint+',dependent=1');
       if (parseInt(navigator.appVersion) >= 4) { mywin.window.focus(); }
}

function thumb(img,width,height,scroll,winName,print) {
    var winl = (screen.width - width) / 2;
    var wint = (screen.height - height) / 2;
    if (winName == "rob" || winName == "john") {
       winlRob = (winl - 110);
       winlJohn = (winl + 240);
       var mywin1 = window.open('','rob','width='+width+',height='+height+',left='+winlRob+',top='+wint+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable=0');
       var mywin2 = window.open('','john','width='+width+',height='+height+',left='+winlJohn+',top='+wint+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable=0');
       var tmp1 = mywin1.document;
       var tmp2 = mywin2.document;

       tmp1.write('<html><head><title>Enlargement</title>');
       tmp1.write('</head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
       tmp1.write('<img width=' + width + ' height=' + height + ' border=0 src="Images/Rob_lg.jpg"></center>');
       tmp1.write('</body></html>');
       tmp1.close();

       tmp2.write('<html><head><title>Enlargement</title>');
       tmp2.write('</head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
       tmp2.write('<img width=' + width + ' height=' + height + ' border=0 src="Images/John_lg.jpg"></center>');
       tmp2.write('</body></html>');
       tmp2.close();
    } else {
       var load = "onLoad=this.focus()\;";
       mywin = window.open('',winName,'width='+width+',height='+height+',left='+winl+',top='+wint+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable=0');
       var tmp = mywin.document;
       tmp.write('<html><head><title>Enlargement</title>');
       tmp.write('</head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad=this.focus()\;>');
       if (print == 1) {
          tmp.write('<a href=javascript:window.print()\;><img width=' + width + ' height=' + height + ' border=0 src="' + img + '"></a></center>');
       } else {
          tmp.write('<img width=' + width + ' height=' + height + ' border=0 src="' + img + '"></center>');
       }
       tmp.write('</body></html>');
       tmp.close();
    }
}

  function outputE(ex,d,usr,sub) {
    var t = '.';
    var n = '?';
    var e = usr + '@' + d + t + ex;
    var s1 = n + 'sub';
    var s2 = 'ject=' + sub;
    var l1 = '<a href="ma';
    var l2 = 'ilto:' + e;
    var l3 = s1 + s2 + '"><u>' + e;
    var l4 = '</u></a>';
    document.writeln(l1+l2+l3+l4);
  }

