function swap(image, on) {
	if (on) {
		document.images[image].src = document.images[image].src.replace(/_off/gi, '_on');
	} else {
		document.images[image].src = document.images[image].src.replace(/_on/gi, '_off');
	}
}

function swapAnother(image, src) {
	document.images[image].src = src;
}

        var oldnavsrc = '';
		
		function rollon(section) {
			var section = 'topnav_' + section;
			var img = document.images[section];
			oldnavsrc = img.src;
			img.src = '/img/' + section + '_on.jpg';
			
		}
		
		function rollout(section) {
			var section = 'topnav_' + section;
			var img = document.images[section];
			img.src = oldnavsrc;
		}
		
		var oldnavcolor = '';
					
		function navover(content) {
			var navitem = document[content];
			oldnavcolor = navitem.style.backgroundColor;
			navitem.style.backgroundColor = '7a7a7a';
		}
		
		function navout(content) {
			var navitem = document[content];
			navitem.style.backgroundColor = oldnavcolor;
		}
        
        
function selectNav(theform){
    var URL = document[theform].pulldown.options[document[theform].pulldown.selectedIndex].value;
    window.location.href = URL;
}
