var szPath;

if (document.location.href.indexOf('#') == -1)

{

	szPath = document.location.href.substr(0, document.location.href.length - (document.location.pathname.length + document.location.search));

	//szPath += '/' + document.location.pathname.split('/')[1] ;

}

else

{

	var szTmpPath = document.location.href.substr(0,document.location.href.indexOf('#'))

	szPath = szTmpPath.substr(0, szTmpPath.length - (document.location.pathname.length + document.location.search));

	//szPath += '/' + document.location.pathname.split('/')[1] ;

}



document.write("<table width=100% border=0 cellspacing=0 cellpadding=0>")

document.write("<tr>")

document.write("<td class=footerLine colspan=3>")

document.write("<img src="+szPath+"/images/pixel.gif width=900 height=1>")

document.write("</td>")

document.write("</tr>")

document.write("<tr>")

document.write("<td class=footerText>")

document.write("Visit <a href='http://www.hess.com' target='_blank' class=footerLinks>HESS.COM</a>")

document.write("&nbsp;|&nbsp;&nbsp;<a href='/energymarketing/index.htm' class='footerLinks'>About Energy Marketing</a>")

document.write("</td>")

document.write("<td align=right class=footerText>")

document.write("Copyright &copy; <script language='JavaScript'>var d=new Date();yr=d.getFullYear();document.write(yr);</script> Hess Corporation&nbsp;&nbsp;|&nbsp;&nbsp;<a href='mailto:hessenergywebsite@hess.com?subject=Hess%20Energy%20Website%20-%20Feedback' class='footerLinks'>Webmaster</a> &nbsp;&nbsp;|&nbsp;&nbsp;<a href="+szPath+"/privacypolicy.htm class=footerLinks>Privacy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="+szPath+"/legalnotice.htm class=footerLinks>Legal</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href='/customer/contact.htm' class='footerLinks'>Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a class='footerLinks' href='#' onclick=\"javascript:window.open('/WebHelp/Hess_Energy_Marketing.htm','', 'width=700,height=400,left=200,top=200,resizable=yes,scrollbars=yes');return false;\">Help</a>")

document.write("</td>")

document.write("</tr>")

document.write("</table>")

//document.write("<script type='text/javascript'>var gaJsHost = (('https:' == document.location.protocol) ? 'https://ssl.' : 'http://www.');document.write(unescape('%3Cscript src='' + gaJsHost + 'google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E'));</script><script type='text/javascript'>var pageTracker = _gat._getTracker('UA-3129532-1');pageTracker._trackPageview();</script>")