/* POP UP PICTURES SCRIPT */
var windowNote;
var sx;
var sy;
var xvar2;
var yvar2;
var mynewx;
var mynewy;
function showNote(title, image, xvar, yvar) {
sx = screen.width / 2
sy = screen.height / 2
xvar2 = xvar / 2
yvar2 = yvar / 2
mynewx = sx - xvar2
mynewy = sy - yvar2
  windowNote = window.open('','Note','toolbar=no,location=no,directories=no,status=no,scrollbars=1,resizable=no,copyhistory=no,' + 'width=' + xvar + ',height=' + yvar);
windowNote.moveTo(mynewx,mynewy); // absolute positioning  
  text='<' + 'HTML' + '><' + 'HEAD' + '><' + 'TITLE' + '>' + title + '</' + 'TITLE' + '>\n';
  text +='<' + '/HEAD' + '>\n';
  text += '<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 0; height: 0; background: #FCDAB4"><CENTER>';
  text += '<IMG BORDER="0" SRC="' + image + '">\n'
  text += '<FORM><input type=button value="Close Window" onClick="javascript:window.close();"></FORM>\n'
  text += '</CENTER>\n';
  text += '</' + 'BODY' + '>\n<' + '/HTML' + '>';
  windowNote.document.write(text);
  windowNote.focus();
  windowNote.document.close();
  return false;
}


