function smallWin(title,w,h,x,y,winName){
var winName;
if (!winName) {winName="smallWin"};
aWindow=window.open(title, winName, "width=" + w + ", height=" + h + ", resizable, scrollbars, status=no");
aWindow.moveTo(x,y);
}

function fixedWin(title,w,h,x,y,winName)
{
var winName;
if (!winName) {winName="smallWin"};
aWindow=window.open(title, winName, "width=" + w + ", height=" + h + ", status=no");
aWindow.moveTo(x,y);
}
function checkWidth(){
if (navigator.appName.substr(0,4)=="Micr" && document.body.offsetWidth>=951) document.getElementById('thisDoc').style.width="950px";
}

IE=document.all? 1:0 
if(!IE) document.captureEvents(Event.KEYPRESS); 
document.onkeypress = testKey; 
function testKey(key) 
{ 
k=IE? event.keyCode:key.which;
if (k>93) k=k-32;
switch(k){
case 46: self.scrollTo(0,0); break;
case 91: smaller(); break;
case 93: bigger(); break;
case 66: window.location.href = "BOOKS.HTM"; break;
case 69: window.location.href = "EPHEMERA/INDEX.HTM"; break;
case 72: window.location.href = "HELP.HTM"; break;
case 76: window.location.href = "LEGEND.HTM"; break;
case 77: window.location.href = "MAPS.HTM"; break;
case 78: window.location.href = "NOTES-1.HTM"; break;
case 82: window.location.href = "INDEX.HTM"; break;
case 83: window.location.href = "SHIPS/INDEX.HTM"; break;
case 84: window.location.href = "TABLE-1.HTM"; break;
case 88: window.location.href = "TEXTS/INDEX.HTM";
}
}

function eMail()
{
var k="&#58;"
document.write("<a href='&#109;ailto" + k + "info&#64;galapagos.to'>info&#64;galapagos.to</a>");
}

var x=100;
function bigger(){
x = x + (.1 * x);
document.getElementById('thisDoc').style.fontSize=x + "%";
}
function smaller(){
x = x - (.1 * x);
document.getElementById('thisDoc').style.fontSize=x + "%";}


