function myFaces_showPanelTab(B,D,L,G,I,A,O,K,N,M){if(!document.getElementById){return true;}document.getElementById(D).value=B;for(var F=0;F<I.length;F++){var H;if(L==I[F]){H="myFaces_panelTabbedPane_activeHeaderCell";if(O!=null){H+=" "+O;}}else{H="myFaces_panelTabbedPane_inactiveHeaderCell";if(K!=null){H+=" "+K;}}var E=document.getElementById(I[F]);E.className=H;}for(var F=0;F<I.length;F++){var J="myFaces_panelTabbedPane_subHeaderCell";if(F==0){J+=" myFaces_panelTabbedPane_subHeaderCell_first";}if(L==I[F]){J+=" myFaces_panelTabbedPane_subHeaderCell_active";if(N!=null){J+=" "+N;}}else{J+=" myFaces_panelTabbedPane_subHeaderCell_inactive";if(K!=null){J+=" "+M;}}var C=document.getElementById(I[F]+"_sub");C.className=J;}for(var F=0;F<A.length;F++){document.getElementById(A[F]).style.display=(G==A[F])?"block":"none";}return false;}