function gal() {if ( document.documentElement ){
document.write('<form action\=\"\"><div class\=\"nav\">');
document.write('<input id\=\"gal0\" type\=\"button\" onmouseover\=\"hiA\(\'gal0\',\' \'\)\;\" onmouseout\=\"deA\(\'gal0\',\' \'\)\;\" ');
document.write('onclick\=\"nxtPg\(\)\;\" onkeypress\=\"nxtPg\(\)\;\" value\=\"Next\" title\=\"Next Photo\" \/>');
document.write('<br \/>');
document.write('<input id\=\"gal2\" type\=\"button\" onmouseover\=\"hiA\(\'gal2\',\' \'\)\;\" onmouseout\=\"deA\(\'gal2\',\' \'\)\;\" ');
document.write('onclick\=\"location.href\=\'index.html\'\;" onkeypress\=\""location.href\=\'index.html\'\;" value\=\"Index\" title\=\"Index of Photos with Text Links\" \/>');
document.write('<\/div><\/form>');
return;}else { return; }
}

function hiA(elementId) {if ( document.documentElement ){
var highlight = document.getElementById(elementId);
highlight.style.backgroundColor='#ffc';
highlight.style.color='#00f';}else { return; }
}

function deA(elementId,elementAnchor) { if ( document.documentElement ){
var delight = document.getElementById(elementId);
delight.style.backgroundColor='#c99';
delight.style.color='#fff';
return;}else { return; }
}

function nxtPg(){ if ( document.documentElement ){
var nPage = "";
nPage = document.getElementById("pL0").href; 
window.location.href = nPage;
return;}else { return; }
}

