<!-- 


// get available screen height and width
var popHeight = 450;
var popWidth = 600;
var topLoc = 40;
var leftLoc = 40;
var availHeight;
var availWidth;

availHeight = Math.round(screen.availHeight * 0.85);
availWidth = Math.round(screen.availWidth * 0.9);

if (availHeight < popHeight)
{
  popHeight = availHeight;
  topLoc = 0;
}
if (availWidth < popWidth)
{
  popWidth = availWidth;
  leftLoc = 0;
}

popHeight = popHeight.toString();
popWidth = popWidth.toString();
topLoc = topLoc.toString();
leftLoc = leftLoc.toString();

popHeight.toString()

var slidesWin = null;
var slidesString = "scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,width=" + popWidth + ",height=" + popHeight + ",top=" + topLoc + ",left=" + leftLoc + "";


function show_slides(url)
{
  if (slidesWin != null && !slidesWin.closed)    // window already open
    slidesWin.location = url;
  else                                           // new window
    slidesWin = window.open(url, "EBAHSlidesWin", slidesString);
}


// -->

