// JavaScript Document

flyoutFunction = function( navid ) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById( navid );
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}			
		}
	}
}
flyoutDiv = function( navid ) {
	if (document.all&&document.getElementById) {
		node = document.getElementById( navid );
		node.onmouseover=function() {
			this.className+=" over";
		}
		node.onmouseout=function() {
			this.className=this.className.replace(" over", "");
		}
	}
}

startList = function() {
	flyoutFunction("mainNav");
//	flyoutFunction("leftNav");	
//	flyoutDiv("leftFlyout");
}


function previewImage(image) {
	window.open('images/' + image, 'imageWindow','width=500,height=900');
}

function previewWideImage(image) {
	window.open('images/' + image, 'imageWindow','width=310,height=225');
}

function previewImageLg(image) {
	window.open('images/' + image, 'imageWindow','width=255,height=317');
}



window.onload=startList;


	

