\n'; } // ========================================================================================= function view_page (name) { if (name!="BLANK.GIF") top.viewpage = '' + name + '\n' + '\n' + '
\n' + '\n'; else top.viewpage = top.zeropage; top.VIEW.location.href="javascript:top.viewpage"; } // ========================================================================================= var homepage = ''; function home_page () { var pp = 0; homepage = 'H O M E\n' + '\n' + '
\n'; for (var i=0; i<=top.DATA.DIRS.length-1; i++) if (i%5==0) { homepage += '' + '\n'; ppp = Math.floor(top.DATA.DIRS[i+4]); for (var ii=1; ii<=ppp; ii++) { var p = Math.floor(pp + ii); homepage += '\n'; if ((ii%10)==0) homepage +='\n'; } while ((ii%10)>=1) { ii++; homepage += ''; } pp += ppp; homepage += '\n'; } homepage += '
' + top.DATA.DIRS[i+1] + '
  • ' + p + '
  • \n' + '\n'; } // ========================================================================================= function foot_page (p) { next = p+1; if (next>=lastpage+1) next=1; prev = p-1; if (prev<=0) prev = lastpage; top.footpage = 'F O O T\n' + '\n' + '
    \n' + '\n' + '\n' + '\n' + '
    \n' + '\n'; for (var i=0; i<=(top.x*top.y-1); i++) { lastpic = PAGE[5*(p-1)+3] - PAGE[5*(p-1)+2]; thispic = PAGE[5*(p-1)+2]; if ((i>=lastpic+1)) picname = "BLANK.GIF"; else picname = "../" + PAGE[5*(p-1)] + "/" + top.DATA.PICS[thispic+i-1] backname = top.DATA.PICS[thispic+i-1]; if ((i%top.x)==0) top.footpage += '\n'; top.footpage += '\n'; if ((i%top.x)==top.x-1) top.footpage += '\n'; } top.footpage += '
    \n' + '' + backname +'
    \''+backname+'\'
    \n' + '
    \n' + '\n'; home_page (); top.viewpage = homepage; } // ========================================================================================= function show_page (p) { top.CODE.make_page (p); top.HEAD.location.href="javascript:top.headpage"; top.VIEW.location.href="javascript:top.viewpage"; top.FOOT.location.href="javascript:top.footpage"; }