//====================================================================================================================================== 
//  Created: 2001 - (ExxonMobil GIS)
//  Updated: July 12, 2006 - BDE
//    1. Updated copyright year to 2003-2006.
//    2. Reformatted to improve readability.
//    3. Added trailing semicolons, just in case.
/*
		Updated Feb 1, 2007 - Warunee Ariyavutikul
			Updated copyright year. Changed from hard-coded copyright year to read the year from http://www.exxonmobil.com/Imports/PA_Footer_Copyright_Year.txt
*/
//======================================================================================================================================

// XMLHttpRequest object detection using exceptions
try{
    // browser is Firefox, Netscape, etc.
    // use XMLHttpRequest object
    var objXml=new XMLHttpRequest();
}
// catch thrown error
catch(e){
    try{
        // browser is Internet Explorer
        // use ActiveX Control
        var objXml=new ActiveXObject("Microsoft.XMLHTTP");
    }
    // catch thrown error
    catch (e){
        alert('Ajax is not supported on your browser!');
    }
}

var datafile = "http://www.exxonmobil.com/Imports/PA_Footer_Copyright_Year.txt";
var CopyrightYear="";

objXml.open("GET", datafile, true);
objXml.onreadystatechange=function() {
   if (objXml.readyState==4) {
      CopyrightYear = objXml.responseText; 
  }
 }

objXml.send(null);

// Refresh page one time to make sure that copyright year is showing up properly
window.onload=Refresh

function Refresh()  {
if (window.name!="MainWindow"){
window.name="MainWindow";
window.location.reload();
}
}



document.write('<table width="760" cellpadding="0" cellspacing="0" border="0">');
		
document.write('<tr bgcolor="#6E6E6E">');
document.write('<td height="15" bgcolor="#6E6E6E" align="left" ');
document.write('   class="footerText">&nbsp; &#169; Copyright 2003-' + CopyrightYear + ' Exxon Mobil Corporation. All Rights Reserved.</td>');
				
document.write('<td align="right" bgcolor="#6E6E6E" class="footerText">');

document.write('<a href="http://www.exxonmobil.com/siteflow/suppinfo/helpdesk/SF_MS_SiteSupport_Overview.asp" ');
document.write('   class="footerText">Help</a>');

document.write('&nbsp;&nbsp; | &nbsp;&nbsp;');

document.write('<a href="http://www.exxonmobil.com/siteflow/sitemap.asp" ');
document.write('   class="footerText">Sitemap</a>');

document.write('&nbsp;&nbsp; | &nbsp;&nbsp;');

document.write('<a href="http://www.exxonmobil.com/SiteFlow/SuppInfo/Contacts/contact_area_overall.asp" ');
document.write('   class="footerText">Contact Us</a>');

document.write('&nbsp;&nbsp; | &nbsp;&nbsp;');

document.write('<a href="http://www.exxonmobil.com/Siteflow/Notices/SF_MS_Accessibility_Statement.asp" ');
document.write('   class="footerText">Accessibility</a>');

document.write('&nbsp;&nbsp; | &nbsp;&nbsp;');

document.write('<a href="http://www.exxonmobil.com/Siteflow/Notices/SF_MS_LegalNotice_TC.asp" ');
document.write('   class="footerText">Privacy &amp; Legal</a>')

document.write('&nbsp;&nbsp;');
document.write('</td>');

document.write('</tr>');
document.write('</table>');
