<!-- Hide from older browsers
		
if (document.getElementById) {
	stdBrowser = true
}
else {
	stdBrowser = false
}

function toggleMenu(currElem,nextPos) {
	var addition = 0;
	
	if (stdBrowser) {
		menuObj = document.getElementById(currElem).style
	}
	else {
		menuObj = eval("document." + currElem)
	}
	if (!document.all){
		 addition = -7;
	}
		  
	if (toggleMenu.arguments.length == 1) {
		if (parseInt(menuObj.top) == -5) {
			nextPos = -90
		}
		else {
			nextPos = -5
		}
	}
	if (stdBrowser) {
		menuObj.top = (nextPos+addition) + "px"
	}
	else {
		menuObj.top = nextPos+addition
	}
}


function jumpPage(newLoc) {
  newPage = newLoc.options[newLoc.selectedIndex].value
	
  if (newPage != "") {
    window.location = newPage
  }
}

if (document.images) {
  a01 = new Image;
  a02 = new Image;
  a03 = new Image;
  a04 = new Image;
  b01 = new Image;
  b02 = new Image;
  b03 = new Image;
  b04 = new Image;
  info1 = new Image;
	info2 = new Image;
	info3 = new Image;
	info4 = new Image;
	mainInfo = new Image;
	
	a01.src = "images/small/a01.gif";
	a02.src = "images/small/a02.gif";
	a03.src = "images/small/a03.gif";
	a04.src = "images/small/a04.gif";
	b01.src = "images/small/b01.gif";
	b02.src = "images/small/b02.gif";
	b03.src = "images/small/b03.gif";
	b04.src = "images/small/b04.gif";
  info1.src = "images/small/info1.gif";
  info2.src = "images/small/info2.gif";
  info3.src = "images/small/info3.gif";
  info4.src = "images/small/info4.gif";
  mainInfo.src = "images/small/mainInfo.gif";
}

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

quoteImages = new Array("../images/excalibur/quote1.gif", "../images/excalibur/quote0.gif", "../images/excalibur/quote3.gif", "../images/excalibur/quote2.gif")
thisAd = 0
imgCt = quoteImages.length

function rotate() {
	if (document.images) {
		thisAd++
		if (thisAd == imgCt) {
			thisAd = 0
		}
		document.quotes.src=quoteImages[thisAd]
	  setTimeout("rotate()", 5 * 1000)
  }
}
// End hiding -->         
                                    