/* common.js 
Standard JavaScript functions.
*/

function Header()
{
  document.write( '<center><table width=100% cellspacing=0 cellpadding=0><tr><td>');
  document.write( '<center><table width=100% border=0 cellspacing=0 cellpadding=0>');
  document.write( '<tr><td><img src=images/logo.jpg width=160px height=130px alt="DOT Logo"></td>');
  document.write( '<td width=100% style=background-image:url(images/header_bg.jpg); background-repeat: repeat-x><h1>Implementing Integrity Management<br>for Hazardous Liquid Operators</h1></td></tr>');
  document.write( '</table></center>');
}


function Headerpm()
{
  document.write( '<center><table width=100% cellspacing=0 cellpadding=0><tr><td>');
  document.write( '<center><table width=100% border=0 cellspacing=0 cellpadding=0>');
  document.write( '<tr><td><img src=images/logo.jpg width=160px height=130px alt="DOT Logo"></td>');
  document.write( '<td width=100% style=background-image:url(images/header_bg.jpg); background-repeat: repeat-x><h1>Implementing Integrity Management<br>for Hazardous Liquid Operators<br>Performance Measure Reports and Quick Facts</h1></td></tr>');
  document.write( '</table></center>');
}




function Footer()
{
  document.write( '</td></tr>');
  document.write( '</table></center>');
  document.write( '<p><center><table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#64849c>');
  document.write( '<tr><td height=2 bgcolor=#000000></td></tr>');
  document.write( '<tr><td>');
  document.write( '<div id=bmenu>');
  document.write( '<a href="http://www.dot.gov" id=bmenu title="U.S. Department of Transportation"> DOT Website </a>&nbsp;|&nbsp;');
  document.write( '<a href="http://www.phmsa.dot.gov" id=bmenu title="Pipeline and Hazardous Materials Safety Administration"> PHMSA Website </a>&nbsp;|&nbsp;');
  document.write( '<a href="/common/privacy.htm" id=bmenu title="Privacy Policy"> Privacy Policy </a>&nbsp;|&nbsp;');
  document.write( '<a href="http://ops.dot.gov/common/foia.htm" id=bmenu title="Freedom of Information Act"> FOIA </a>');
  document.write( '</div></td></tr>');
  document.write( '<tr><td height=2 bgcolor=#000000></td></tr>');
  document.write( '</table></center>');
}


function Menu()
{
  document.write( '<div class=menuborder>');
  document.write( '<script language=JavaScript1.2 src=coolmenus4.js></script>');
  document.write( '<script language=JavaScript1.2 src=menu1.js></script>');
  document.write( '</div>');
}



var stdLinkDisclaimer = 
 'Links to web sites outside of the Department of Transportation (DOT) are offered for your ' + 
 'convenience in accessing related information. Please be aware that when you exit The Office ' + 
 'of Pipeline Safety (OPS) web site, the privacy policy stated on our web site may NOT be the ' + 
 'same as that on other web sites. OPS takes no responsibility for and exercises no control ' + 
 'over the organization, views, or accuracy of the information contained on their servers.'
 
function MM_popupMsg() 
{ //v2.0
 alert(stdLinkDisclaimer);
}




