function statset()
{	window.status="Custom Status";
};


function tagline()
{	
	document.writeln("&copy; 2004 Your company")
};



function maxscreen()
{	if (window.screen) self.resizeTo(screen.availWidth,screen.availHeight);
};



var NavButtons = new Array ();

function addButton(name, plainimage, onimage) {
	plaini = new Image();
	plaini.src = plainimage;
	oni = new Image();
	oni.src = onimage;
	NavButtons[name] = new Array(plaini, oni);
};

function menu(menuvar,stat)
{
	x = 'document.images.'+menuvar+'.src';
	if (stat == "on") {
		x = x + '="' + NavButtons[menuvar][1].src + '"';
		// document.images.[menuvar].src = NavButtons[menuvar][1].src;
		setTimeout(x,0);
	} else {
		x = x + '="' + NavButtons[menuvar][0].src + '"';
		setTimeout(x,500);
	}
}

addButton("main", "btmain.gif", "btmainactive.gif");
addButton("site", "btsite.gif", "btsiteactive.gif");
addButton("map", "btmap.gif", "btmapactive.gif");
addButton("activities", "btactivities.gif", "btactivitiesactive.gif");
addButton("more", "btmore.gif", "btmoreactive.gif");
addButton("registration", "btregistration.gif", "btregistrationactive.gif");
addButton("vendors", "btvendors.gif", "btvendorsactive.gif");
addButton("volunteers", "btvolunteers.gif", "btvolunteersactive.gif");
addButton("links", "btlinks.gif", "btlinksactive.gif");
addButton("email", "btemail.gif", "btemailactive.gif");
addButton("gallery", "btgallery.gif", "btgalleryactive.gif");
addButton("gallery1", "btgallery1.gif", "btgalleryactive1.gif");
addButton("gallery2", "btgallery2.gif", "btgalleryactive2.gif");
addButton("gallery3", "btgallery3.gif", "btgalleryactive3.gif");
addButton("gallery4", "btgallery4.gif", "btgalleryactive4.gif");
addButton("gallery5", "btgallery5.gif", "btgalleryactive5.gif");
addButton("gallery6", "btgallery6.gif", "btgalleryactive6.gif");
addButton("closewindow", "btclose.gif", "btcloseactive.gif");
addButton("guestbook", "btguestbook.gif", "btguestbookactive.gif");


