function sfootErrors() {
return true;
}
window.onerror = sfootErrors;


function openWindow(url) {
  popupWin = window.open(url, 'remote', 'resizable,titlebars=yes,scrollbars=1,top=75,left=100,width=500,height=400')
}


function closeUpdate() {  
if (navigator.appName != "Microsoft Internet Explorer")
                        { navigator.plugins.refresh(true); }
self.close();
return true;
}
	

function go(url) {
opener.location.href = url;
}


function noEntry() {
mt=document.subform.email.value;
if ((mt.length<1)||(mt.substring(0,18)=="your email address")) {
alert("Please type in your email address.");
document.subform.email.value="your email address";
document.subform.email.focus();
return false;
}
else { return true; }
}



function ConvertBR(input) {
// Converts carriage returns 
// to <BR> for display in HTML

var output = "";
for (var i = 0; i < input.length; i++) {
if ((input.charCodeAt(i) == 13) && (input.charCodeAt(i + 1) == 10)) {
i++;
output += " ";
} else {
output += input.charAt(i);
   }
}
return output;
}


//side navigation
if (document.images != null)
  
{
ontop = new Array (11); offtop = new Array (11);
for (i=1;i<11;i++) {ontop[i] = new Image; offtop[i] = new Image;}

ontop[1].src="/images/about_.gif";
ontop[2].src="/images/contact_.gif";
ontop[3].src="/images/photos_.gif";

offtop[1].src="/images/about.gif";
offtop[2].src="/images/contact.gif";
offtop[3].src="/images/photos.gif";

}
function top_on(n) {if (document.images != null) {document.images["i"+(n+"")].src=ontop[n].src;}}
function top_off(n) {if (document.images != null) {document.images["i"+(n+"")].src=offtop[n].src;}}
