"+ "

"+ ""+ ""+ ""+ ""+ ""+ "
"+ " <>

"; with (frames['frScroll'].document) { open("text/html","replace"); write(szHTML); close(); } szHTML = "

"+ "

"; var iCellCount=(c_lTabs+1)*2; var i; for (i=0;i"; var iRow; for (iRow=0;iRow"; if (iRow==5) szHTML+=""; else { if (iRow==0) { for(i=0;i"; } else if (iRow==1) { for(i=0;i"; szHTML+= ""; } szHTML+=""; } else if (iRow==2) { for (i=0;i"; szHTML+=""; } else if (iRow==3) { for (i=0;i"; } else if (iRow==4) { for (i=0;i"; szHTML+=""; } } szHTML+=""; } szHTML+="
"+ ""+c_rgszSh[i]+"
"; with (frames['frTabs'].document) { open("text/html","replace"); charset=document.charset; write(szHTML); close(); } } function fnInit() { g_rglTabX[0]=0; var i; for (i=1;i0) { for (i=0;ioffsetWidth+scrollLeft) { for (i=0;i=0) { frames['frTabs'].scroll(g_rglTabX[iNextTab],0); return true; } else return false; } function fnFastScrollTabs(fDir) { if (c_lTabs>16) frames['frTabs'].scroll(g_rglTabX[fDir?c_lTabs-1:0],0); else if (fnScrollTabs(fDir)>0) window.setTimeout("fnFastScrollTabs("+fDir+");",5); } function fnSetTabProps(iTab,fActive) { var iCol=fnTabToCol(iTab); var i; if (iTab>=0) { with (frames['frTabs'].document.all) { with (tbTabs) { for (i=0;i0 && i=0) { var elFrom=frames['frTabs'].event.srcElement; var elTo=frames['frTabs'].event.toElement; if ((!elTo) || (elFrom.tagName==elTo.tagName) || (elTo.tagName=="A" && elTo.parentElement!=elFrom) || (elFrom.tagName=="A" && elFrom.parentElement!=elTo)) { if (iTab!=g_iShCur) { with (frames['frTabs'].document.all) { tdTab[iTab].style.background=c_rgszClr[1]; } } } } } function fnSetActiveSheet(iSh) { if (iSh!=g_iShCur) { fnSetTabProps(g_iShCur,false); fnSetTabProps(iSh,true); g_iShCur=iSh; } } window.g_iIEVer=fnGetIEVer(); if (window.g_iIEVer>=4) fnBuildFrameset(); //-->