/********** showCopyright **********/
function showCopyright(){
var myDate = new Date();
var myYear= myDate.getYear();
var out = '';

// solve Y2K problem
if((myYear>=0)&&(myYear<=1900)){
    myYear=myYear+1900;
}
out = "";//"&copy;" + myYear + " Lloyd's Canada Inc.";
return out;
}

/********** showContact **********/
function showContact(email){
if(showContact.arguments.length==0){
email = "lineage@lloyds.ca";
}
var myURL = window.document.URL;

var out = "<a href=\"mailto:" + email + "?subject=User e-mail from: " + myURL + "\">" + email + "</a>";
return out;
}

// Netscape fix resize bug Ns4
function WM_netscapeCssFix() {
  if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth ||
        document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
     document.location = document.location;
    }
}

function WM_netscapeCssFixCheckIn() {
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.WM == 'undefined'){
       document.WM = new Object;
       }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
       document.WM.WM_netscapeCssFix = new Object;
       document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
       document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
       }
    window.onresize = WM_netscapeCssFix;
  }
}

WM_netscapeCssFixCheckIn();
