
	function on(id, name){
		document.getElementById('ln'+id).src = 'images/ln_'+name+'_on.gif';
		document.getElementById('lnd'+id).src = 'images/ln_dot.gif';
	}
	
	function off(id, name){
		document.getElementById('ln'+id).src = 'images/ln_'+name+'_off.gif';
		document.getElementById('lnd'+id).src = 'images/dot.gif';
	}
	

	function u(id, img){	
		document.getElementById(id).src = 'images/'+img;
	}

	sfHover = function() {
		var sfEls = document.getElementById("nav").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", sfHover);
	
	function popimg(imgurl){
		window.open(imgurl,'','width=614,height=410');
	}
	
	function popwin(winurl){
		window.open(winurl,'','width=614,height=650');
	}