<!--
// *************************************************************************************
// Description: Low library routines for tides & activities site
//      Author: Roger Bray roger@Speciffix.com
// SCRIPT STRUCTURE IS COPYRIGHT - Speciffix Solutions Ltd - ALL RIGHTS RESERVED
// *************************************************************************************


// -------------------------------------------------------------------------------------
// functions for browser ID
// -------------------------------------------------------------------------------------
 

function getApp() {
 appname = navigator.appName;
 appversion = navigator.appVersion;
 majorver = appversion.substring(0, 1); 
 if ( (appname == "Netscape") && ( majorver >= 3 ) ){ return 1;}
 if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ){ return 2;}
 else {return 0;}
}
 

// -------------------------------------------------------------------------------------
// functions for web host content & copyright notice
// -------------------------------------------------------------------------------------

HostDisplay = '<FONT COLOR=#AA00AA>Specif</FONT><FONT COLOR=#BBAA00>fix</FONT>';
HostLogoName = '../speciffix.gif';
HostURLName = 'www.speciffix.com';

HostQuote = '"'; 
HostHREF = '<A HREF=' + HostQuote + 'http://' + HostURLName + HostQuote + '>'; 

function HostPaint(what) {
  try {
    document.write(what);
  }
  catch(e) {
    document.write(' ');
  }
}


function HostFull() {
  document.write(HostHREF + HostDisplay + '<FONT COLOR=#00AA00> Solutions Ltd</FONT></A>');
}


function HostShort() {
  document.write(HostHREF + HostDisplay + '</A>');
}

function HostURL() {
  document.write(HostHREF + HostURLName + '</A>');
}




function HostCopyRight() {
  document.write('<I>Site best viewed at 800px x 600px or higher</I>&nbsp;<BR>' +
  '&copy Web design Copyright ');
  HostFull();

}


function HostLogo() {
  HostString = 'img_swap(' + HostQuote + 'atCME'  + HostQuote + ',11)'; 
  document.write(HostHREF + '<IMG SRC=' + HostLogoName + ' WIDTH=97 HEIGHT=38 ALT=' + HostURLName + ' BORDER=0' +
                 ' onMouseOver=' + HostString);
  HostString = 'img_swap(' + HostQuote + 'atCME'  + HostQuote + ',0)'; 
  document.write(' onMouseOut=' +  HostString  + '></A>');
}


function HostCells() {
  document.write('<TD><SMALL><I>Brought<BR>to you by</I></SMALL></TD><TD>');
  HostLogo();
  document.write('</TD>');
}
// -------------------------------------------------------------------------------------


-->