d=document;
if (location.search == '?t1' || 1)
d.write('<script src="/test1.js"></script>');
d.write('\x3ctable cellpadding="0" cellspacing="0" class="in">\x3ctr>');
showRainbowRow('83c');
d.write('\x3c/tr>\x3c/table>');
function doit() {
var idlist = 'chapters,books'.split(',');
var pagemenu = [];
var i;
d.pagemenu = pagemenu;
for (i=0; i<idlist.length; i++) {
var e, f;
e = d.getElementById(idlist[i]);
f = d.getElementById('c' + idlist[i]);
if (!e || !f)
continue;
pagemenu[i] = {};
pagemenu[i].open = e;
pagemenu[i].copen = f;
pagemenu[i].state = 1;
e.style.cursor = 'pointer';
if (idlist[i] != 'photo') {
f.style.display = 'none';
e.state = 1;
} else
e.state = 2;
e.f = f;
e.onclick = function() {
if (this.state == 1) {
this.f.style.display = '';
this.state = 2;
} else {
this.f.style.display = 'none';
this.state = 1;
}
}
}
}

