// File footer.js version of March 2006
// Entirely written by Russ Carn for Government Accounting Solutions, Inc.

var d = new Date();
var subject = "Government Accounting Solutions, Inc.";
var message = "Here is something you may be intersted in:" + window.location

function goodEmailAddress( field ) {
   if ( field.value.match( /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/ )) {
      return true;
   }
   else {
      alert( 'Please enter a valid address.' );
      field.focus();
      field.select();
      return false;
   }
}

function mailThisUrl() {
   if ( goodEmailAddress( document.eMailer.email )) {
      window.location = "mailto:" + document.eMailer.email.value + "?subject=" + subject + "&body=" + message;
   }
}

document.write( '<div align=\"right\" style=\"font-size: 75%\">' );
document.write( '<br><a href=\"/\">Home</a>&nbsp|&nbsp;' );
document.write( '<a href=\"/about/about.php\">About</a>&nbsp;|&nbsp;' );
document.write( '<a href=\"/news/news.php\">News</a>&nbsp;|&nbsp;' );
document.write( '<a href=\"/products/products.php\">Products</a>&nbsp;|&nbsp;' );
document.write( '<a href=\"/links/links.php\">Links</a>&nbsp;|&nbsp;' );
document.write( '<a href=\"/contactus/contactus.php\">Contact Us</a><br>' );
//document.write( '<br>This page and its contents, created on ' );


if ( Date.parse( document.lastModified ) != 0 ) {
   	var dateModified = document.lastModified;
	mydate = dateModified.slice(0,10);
document.write('<font color = "#FFFFFF">This page and its contents, updated on ' + mydate + '<br></font>');
}
document.write( '<font color = "#FFFFFF">&copy;' + d.getFullYear() + ' Government Accounting Solutions, Inc.<br></font>' );
document.write( '<font color = "#FFFFFF">Questions, comments, or concerns?</font>  <a href=\"mailto:webmaster@governmentaccountingsolutions.com\">contact us<\/a><br>' );
document.write( '<font color = "#FFFFFF">All Right Reserved.<br></font>' );
//document.writeln( '<a href=\"+ document.location + '&title=' + document.title + '\">send someone a link to this page</a> ' );
//document.writeln( "or check our <a href=\"privacy.html\">privacy policy</a>.<br>" );

if ((navigator.appVersion.indexOf("MSIE") > 0)
 	 && (parseInt(navigator.appVersion) >= 4)) {
    var sText = "<U><SPAN STYLE='color:blue;cursor:hand;'";
    sText += "onclick='window.external.AddFavorite(location.href,";
    sText += "document.title);'>Add this page to your favorites</SPAN></U>";
    document.write(sText);
}

document.writeln( "</form>" );
document.writeln( '<\/div>' );









