function showHidden(id2,id) {
document.getElementById(id).style.display = 'block';
base = 1;
doLinks2(id2,id)
}

function hideShown(id2,id) {
document.getElementById(id).style.display = 'none';
base = 0;
doLinks2(id2,id)
}


function doLinks2(id2,id) {
if (document.getElementById && base == 0) {
storied = document.getElementById(id2);
storied.firstChild.data = 'View Archive';
storied.setAttribute('href','javascript:showHidden\(\''+id2+'\',\''+id+'\'\);');
}
if (document.getElementById && base == 1) {
base = 0;
storied = document.getElementById(id2);
storied.firstChild.data = 'Hide Archive';
storied.setAttribute('href','javascript:hideShown\(\''+id2+'\',\''+id+'\'\);');
}
}
document.getElementById('arch').setAttribute('href','javascript:showHidden\(\'arch\',\'links\'\);');