﻿window.onload=function(){
Nifty("div#infomenu", "top");

Nifty("div.title", "bottom");
Nifty("div#contactbox", "transparent");
Nifty("div#topnav", "transparent");
Nifty("div#bottomnav", "transparent");
Nifty("div#bottomnav2", "transparent");
Nifty("div#textcont", "big");
Nifty("ul#split li","transparent");


}

function swapPhoto(photoSRC,theCaption,theCredit) {

if (document.getElementById("caption")) {

	var theImage = document.getElementById("mainPhoto");
	var displayedCaption = document.getElementById("caption");
	var displayedCredit = document.getElementById("credit");
	var imgFolder = "images/";
	displayedCaption.firstChild.nodeValue = theCaption;
	displayedCredit.firstChild.nodeValue = theCredit;
	theImage.setAttribute("src", imgFolder+photoSRC);

    }
  }
