

function panUp(fName,id,animate){
	switch(id){		
		case "B":		
			if(document.s2sNavigate.extPoint.value < document.s2sNavigate.lenHist.value){
				document.s2sNavigate.extPoint.value++;
			}
		break	
			
		case "F":
			if(document.s2sNavigate.extPoint.value > 1){
				document.s2sNavigate.extPoint.value--;
			}					
		break
	}			
	begLoad();	
	document.buttonElements.butBank2.value = id;
	document.s2sNavigate.navCode.value = id;	
	document.s2sNavigate.submit();
	eval(fName+".document.getElementById('"+id+"').style.border='thin outset'");				
	reDisplay();		
}

function panDown(fName,id,animate){	
	eval(fName+".document.getElementById('"+id+"').style.border='thin inset'");		
}

function panOver(fName,id,animate){	
	if(animate){	
		eval(fName+".document.getElementById('"+id+"').style.backgroundImage='url(images/"+id+"2O.gif)'");	
	}
}

function panOut(fName,id,animate){
	if(animate){	
		eval(fName+".document.getElementById('"+id+"').style.backgroundImage='url(images/"+id+"2.gif)'");
	}
	eval(fName+".document.getElementById('"+id+"').style.border='thin outset'");
}