function checkWidth(){
if (navigator.appName.substr(0,4)=="Micr" && document.body.offsetWidth>=951) document.getElementById('thisDoc').style.width="950px";
}

var aWindow;
function smallWin(fileName,w,h,x,y){
if (!aWindow || aWindow.closed) {
aWindow=window.open(fileName, "aWindow", "width="+w+",height="+h);
aWindow.moveTo(x,y);
}
else {aWindow.focus();} //Restore focus, if window is already open in background
}

//Next 3 functions are for STACRUZ.HTM file (Validation thinks "&&" is an error). 

function show(photoName){
document.getElementById(photoName).style.visibility="visible"
if (photoName!="infoBox" && photoName!="placeNames") {document.getElementById('infoBtn').style.visibility="hidden"}
if (photoName=="rio848") {document.getElementById('HMSBgl').style.visibility="visible"}
}

function hide(photoName){
document.getElementById(photoName).style.visibility="hidden"
document.getElementById('infoBtn').style.visibility="visible"
if (photoName=="rio848") {document.getElementById('HMSBgl').style.visibility="hidden"}
}

function showText(date){
aWindow=window.open('../TEXTS/STACRUZ.HTM#'+date, '', 'width=900, height=700, scrollbars')
}

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 + "%";
}


