function navbar() {
	fullWidth = getWindowWidth() - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
	myNavBar1.resize(fullWidth);
	myNavBar1.moveTo("0", "222")
  	myNavBar1.create();
}

function writeTable1_2() {
document.write('<Table class="first" cellpadding="0"><Tr><Td>');
document.write('<tAble class="second" cellpadding="0"><tR><tD>');
}

function writeTable3_4() {
document.write('<taBle class="third" cellpadding="0" style="margin-left: 5; margin-right: 5;"><tr><td>'); 
document.write('<tabLe class="fourth" cols="3" cellpadding="8"><tr><td rowspan="2" valign="top">');
}

function writeLogo() {
document.write('<a href="home.htm">');
document.write('<img border="0" src="images/CRI_logo_03-1201.jpg" width="238" height="174"');
document.write(' alt="CRIonTheWeb.com Home Page"></a>');
document.write('</td><td bgcolor="#FFFFFF"></td><td>');
}

function writeIndexTable() {
document.write('<tablE class="fifth" cols="2" CELLPADDING="0" CELLSPACING="1">');
document.write('<TR><TD colspan="2" bgcolor="#1E5C99"></TD></TR>');
document.write('<TR><TD ALIGN="left" VALIGN="MIDDLE"></TD>');
document.write('<TD ALIGN="left" VALIGN="MIDDLE">');
}

function writeCurrentPage() {
document.write('<div class="currentpage"><a href="home.htm">Home</a> >&nbsp;');
}

function writeIndexTableEnd() {
document.write(document.title);
document.write('</div></td> </tr> <TR><TD colspan="2" bgcolor="#253050">');
document.write('</TD></TR> </tablE>');
}

function writeTitle() {
document.write('</td></tr><tr><td colspan="3" valign="top"><h1>');
document.write(document.title);
document.write('<br><br>&nbsp;</h1></td></tr></tabLe>');
}

function writeTitle2() {
document.write('</td></tr><tr><td colspan="3" valign="top"><h2>');
document.write(document.title);
document.write('<br><br>&nbsp;</h2></td></tr></tabLe>');
}

function writeTable6() {
document.write('<TABLE class="sixth" cellPadding="8"><tr><td>');
}

function writeContactRow() {
document.write('<br><span class="contactrow">');
document.write('<img border="0" src="images/rightarrow.gif" width="20" height="16"> ');
document.write('<i>&nbsp;Have questions? <a href="contact.htm">Contact</a> us today. ');
document.write(' Inquiries are always welcome.</span><a href="#top">');
document.write('<br><img border="0" src="images/top.gif" align="right" width="31" height="9" hspace="15"></a><br>');
document.write('</td></tr></TABLE>');
document.write('</td></tr></taBle>');
}

function writeBotNav() {
document.write('<div class="botnav">&nbsp;<a href="home.htm" class="nav">Home</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="energy.htm" class="nav">Energy</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="oil&gas.htm" class="nav">Oil & Gas</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="metals.htm" class="nav">Metals & More</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="real_estate.htm" class="nav">Real Estate</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="about_CRI.htm" class="nav">About CRI</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="contact.htm" class="nav">Contact</a> &nbsp&nbsp|');
document.write('&nbsp&nbsp <a href="site_map.htm" class="nav">Site Map</a> &nbsp;</div>');
document.write('</td></tr></tAble>');
}

function writeSendMail() {
document.write('<DIV class=sendmail><A href="mailto:peterdelmastro@CRIonTheWeb.com">Send an email</A> &nbsp;&nbsp;');
document.write('Our Web Address: <A href="home.htm">www.CRIonTheWeb.com</A></DIV>');
document.write('</td></tr></Table>');
}

function writeCopyright() {
}

function writeMore() {
document.write('<span class="more"><img border="0" src="images/leftredarrow.gif"');
document.write(' width="7" height="10">&nbsp;<b>MORE</b>&nbsp;');
document.write('<img border="0" src="images/redarrow.gif" width="7" height="10"></span>');
}

function writePopupTitle() {
document.write('<h5>');
document.write(document.title);
document.write('</h5><h6>Typical Specifications</h6>');
}

function writeTablePopup() {
document.write('<TABLE class="popup" cellspacing="4" cellpadding="5" valign="top" border="1">');
}

function writeEndTablePopup() {
document.write('</TABLE><p align="center"><a href="javascript: window.close()">Close this window</a></p><br>');
}

