// JavaScript Document

var home1 = new Image(78, 23)
var home1b = new Image(78, 23)
var home2 = new Image(78, 23)
var faculty1 = new Image(78, 23)
var faculty1b = new Image(78, 23)
var faculty2 = new Image(78, 23)
var contact1 = new Image(78, 23)
var contact1b = new Image(78, 23)
var contact2 = new Image(78, 23)
var acting1 = new Image(78, 23)
var acting1b = new Image(78, 23)
var acting2 = new Image(78, 23)
var writing1 = new Image(78, 23)
var writing1b = new Image(78, 23)
var writing2 = new Image(78, 23)
var art1 = new Image(78, 23)
var art1b = new Image(78, 23)
var art2 = new Image(78, 23)
var move1 = new Image(78, 23)
var move1b = new Image(78, 23)
var move2 = new Image(78, 23)
var alex1 = new Image(78, 23)
var alex1b = new Image(78, 23)
var alex2 = new Image(78, 23)
var home1 = new Image(78, 23)
var home2 = new Image(78, 23)
var orgbutton = new Image(105, 12)
var orgbutton2 = new Image(105, 12)
var hostbutton = new Image(105, 12)
var hostbutton2 = new Image(105, 12)
var poetbutton = new Image(105, 12)
var poetbutton2 = new Image(105, 12)

home1.src = "functionimages/home1.gif"
home1b.src = "functionimages/home1b.gif"
home2.src = "functionimages/home2.gif"
faculty1.src = "functionimages/faculty1.gif"
faculty1b.src = "functionimages/faculty1b.gif"
faculty2.src = "functionimages/faculty2.gif"
contact1.src = "functionimages/contact1.gif"
contact1b.src = "functionimages/contact1b.gif"
contact2.src = "functionimages/contact2.gif"
acting1.src = "functionimages/acting1.gif"
acting1b.src = "functionimages/acting1.gif"
acting2.src = "functionimages/acting2.gif"
writing1.src = "functionimages/writing1.gif"
writing1b.src = "functionimages/writing1b.gif"
writing2.src = "functionimages/writing2.gif"
art1.src = "functionimages/art1.gif"
art1b.src = "functionimages/art1b.gif"
art2.src = "functionimages/art2.gif"
move1.src = "functionimages/move1.gif"
move1b.src = "functionimages/move1b.gif"
move2.src = "functionimages/move2.gif"
alex1.src = "functionimages/alex1.gif"
alex1b.src = "functionimages/alex1b.gif"
alex2.src = "functionimages/alex2.gif"
home1.src = "functionimages/home1.gif"
home2.src = "functionimages/home2.gif"
orgbutton.src = "functionimages/orgbutton.gif"
orgbutton2.src = "functionimages/orgbutton2.gif"
hostbutton.src = "functionimages/hostbutton.gif"
hostbutton2.src = "functionimages/hostbutton2.gif"
poetbutton.src = "functionimages/poetbutton.gif"
poetbutton2.src = "functionimages/poetbutton2.gif"

function show(imgField, newImg) 
{
  if (document.images)
    {
      document.images[imgField].src = eval(newImg + ".src")
    }
}

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
var popUpWin2=0;
function popUpWindow2(URLStr, left, top, width, height)
{
  if(popUpWin2)
  {
    if(!popUpWin2.closed) popUpWin2.close();
  }
  popUpWin2 = open(URLStr, 'popUpWin2', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}