<!--
function DisplayImage(picURL) {
  var picWidth = 640;
  var picHeight = 480;
  newWindow=window.open(picURL, 'newWin','menubar=0,toolbar=0,location=0,status=0,scrollbars=0,resizable=1,width='+picWidth+',height='+picHeight+',top='+(screen.height/2-picHeight/2)+',left='+(screen.width/2-picWidth/2));
  newWindow.focus();
}

function DisplayImageSized(picURL, picWidth, picHeight) {
  newWindow=window.open(picURL, 'newWin','menubar=0,toolbar=0,location=0,status=0,scrollbars=0,resizable=1,width='+picWidth+',height='+picHeight+',top='+(screen.height/2-picHeight/2)+',left='+(screen.width/2-picWidth/2));
  newWindow.focus();
}

function printPreview() {
  version=0
  if (navigator.appVersion.indexOf("MSIE")!=-1) {
    temp=navigator.appVersion.split("MSIE")
    version=parseFloat(temp[1])
  }

  if (version>=5.5) {
    var browserStub = '<OBJECT ID="webBrowser" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
    document.body.insertAdjacentHTML('beforeEnd', browserStub);
    webBrowser.ExecWB(7, 1);
    webBrowser.outerHTML = '';
  }
  else {  	window.print();
  }
}
//-->