function showpan() {
document.all["pan"+arguments[0]].style.display = "" ;
document.all["pan"+arguments[1]].style.display = "none" ;
document.all["pan"+arguments[2]].style.display = "none" ;
document.all["pan"+arguments[3]].style.display = "none" ;
document.all["pan"+arguments[4]].style.display = "none" ;
document.all["pan"+arguments[5]].style.display = "none" ;
document.all["pan"+arguments[6]].style.display = "none" ;
}

