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('
');
if (aList[nIndex][1]=="-") {
document.write(' ');
} else {
cPage=aList[nIndex][1];
if (aList[nIndex].length==3) {
cPage+=aList[nIndex][2];
}
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('
|