function cngimg(n){
	var imgsrc = document.images[n].src;
	if(imgsrc.indexOf("-on") < 0){
		document.images[n].src=imgsrc.substring(0,imgsrc.length-4) +"-on.gif";
	}
	else{
		document.images[n].src=imgsrc.substring(0,imgsrc.length-7) +".gif";
	}
}

function setLocalMenu(n){
	document.all.item(n).style.display = "none";
	document.all.item(n + '-on').style.display = "inline";
}
