<!-- netscape refresh -->

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


<!-- Hide status bar -->
function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus

<!-- refresh status bar -->
function RefreshStatus(){
  window.status = "Sardinia Directory";
  timer=setTimeout("RefreshStatus()", 0);
}
RefreshStatus();


<!-- frame branding -->
percent = "100";
function frameBranding(actualurl, brandingurl, frametype) {
var framewin = window.open("","brandingframe");
with (framewin.document) {
write("<html><frameset " + frametype + "=" + percent + ",*>");
write("<frame noresize scrolling=no frameborder = 0 src=" + brandingurl + ">");
write(" <frame frameborder = 0 src=" + actualurl + ">");
write("</frameset></html>");
   }
return false;
}

<!-- Email Display Protection -->
function showEmail(user, domain, tld, title){ 
   var emailId = user + "\u0040" + domain + "." + tld; 
   var url = "mailto:" + emailId; 

   if(!title){ 
       title = emailId; 
   } 
   document.write("<a href='" + url + "'>" + title + "</a>"); 
} 