top.cListName=self.location.pathname; if (parent.location.href == self.location.href && Cookie('Frames')!='false') window.location.href = 'index.php?list='+top.cListName; var loaded=false; var nListSize=0; var nStep=0; var nPos=0; function Cookie(cName) { var cAns=""; aCookies = document.cookie.split("; "); for (var cCookie in aCookies) { aCookie = aCookies[cCookie].split("="); if (aCookie[0]==cName) { cAns = aCookie[1]; } } return cAns; } function TextmDown(cBtn) { oImg = document.getElementById(cBtn); if (oImg.className.indexOf("Down")>0) { oImg.className=oImg.className.substring(0,oImg.className.length-4); } oImg.className=oImg.className+"Down"; } function TextmUp(cBtn) { oImg = document.getElementById(cBtn); if (oImg.className.indexOf("Down")>0) { oImg.className=oImg.className.substring(0,oImg.className.length-4); } } function mDown(cI) { if (document.images && (loaded == true)) { document.images[cI+"_l"].src = eval("hir.src"); document.images[cI+"_r"].src = eval("hil.src"); document.images[cI+"_b"].src = eval("hit.src"); document.images[cI+"_t"].src = eval("hib.src"); } return true; } function mUp(cI) { if (document.images && (loaded == true)) { document.images[cI+"_l"].src = eval("hil.src"); document.images[cI+"_r"].src = eval("hir.src"); document.images[cI+"_b"].src = eval("hib.src"); document.images[cI+"_t"].src = eval("hit.src"); } return true; } function Loader(cCode) { if (document.images) { hil = new Image(); hil.src = "menus/hL"+cCode+".gif"; hir = new Image(); hir.src = "menus/hR"+cCode+".gif"; hib = new Image(); hib.src = "menus/hB"+cCode+".gif"; hit = new Image(); hit.src = "menus/hT"+cCode+".gif"; loaded=true; } } function DisplayMenu(cCode,aList,nSize,cDir) { Loader(cCode); nSize3=nSize-3; nSize1=nSize-1; document.writeln(''); for (var nIndex=1;nIndex'); } document.writeln('
'); if (aList[nIndex][1]=="-") { document.write(''); } else { cPage=aList[nIndex][1]; if (aList[nIndex].length==3) { cPage+=aList[nIndex][2]; } document.write('
'); document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write('
'); } document.writeln('
'); nListSize=nSize*(aList.length-1); nStep=nSize; } function DisplayMenuDown(cCode,aList,nSize,cDir) { Loader(cCode); nSize3=nSize-3; nSize1=nSize-1; document.writeln(''); for (var nIndex=aList.length-1;nIndex>0;nIndex--) { document.write(''); } document.writeln('
'); if (aList[nIndex][1]=="-") { document.write(''); } else { if (aList[nIndex][1]=="=") { cPage=aList[nIndex][0]; } else { cPage=aList[nIndex][1]; } cPage+=".htm" if (aList[nIndex].length==3) { cPage+=aList[nIndex][2] } document.write('
'); document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write('
'); } document.writeln('
'); nListSize=nSize*(aList.length-1); nStep=nSize; } function ListUp() { if (typeof top.frames["daymain"]!="undefined") { ScreenHeight=top.frames["daybody"].innerHeight; if (typeof ScreenHeight=="undefined") { if (typeof screen=="undefined") { ScreenHeight=300; } else { ScreenHeight=screen.height-150; } } } else { if (typeof screen=="undefined") { ScreenHeight=300; } else { ScreenHeight=screen.height-150; } } if (top.list.pageYOffset) { nPos=top.list.pageYOffset; } for(nLoop=0;nLoopnStep) { nMove=nStep*-1; } else { if (nPos>1) { nMove=nPos*-1; } else { nMove=0; } } if (nMove!=0) { nPos=nPos+nMove; top.list.scrollBy(0, nMove); } } } function ListDown() { if (typeof top.frames["daymain"]!="undefined") { ScreenHeight=top.frames["daybody"].innerHeight; if (typeof ScreenHeight=="undefined") { if (typeof screen=="undefined") { ScreenHeight=300; } else { ScreenHeight=screen.height-150; } } } else { if (typeof screen=="undefined") { ScreenHeight=300; } else { ScreenHeight=screen.height-150; } } if (top.list.pageYOffset) { nPos=top.list.pageYOffset; } nMaxValue=nListSize-ScreenHeight; for(nLoop=0;nLoop