//header script
// Written by Jason Jerome 12-10-02
// For artcar.com web page

function writeHeader(strActive, strMessage) {
document.write("<table width='80%' align='center' border='0'>");
document.write("<tr>");
document.write("<td width='70%' align='left'>");
document.write("<a href = 'index.htm'><img src='images/theartcar-logo.jpg' alt='the art car' border='0'></a>");
document.write("</td>");
document.write("<td wdith='30%' align='right'>");
document.write("<a href = 'cgi-bin/e_com/cart.pl?m=show'><img src='images/viewcart.gif' border='0'></a><BR><BR>");
document.write("<a  href=\"Javascript:popwin();\"><font color='red' size='-1'>contact us</font></a>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ");
document.write("</td>");
document.write("</tr>");
document.write("</table>");

document.write("<script language='JavaScript'>function popwin() {newwindow = window.open('cgi-bin/contact.pl', 'contact', 'width=500,height=344');}</script>");
document.write("<center><script language='JavaScript'>writenav('" + strActive + "')</script></center>");
document.write("<table width='80%' align='center' bgcolor='9c0000'>");
document.write("<tr>");
document.write("<td width='100%' align='center'>");
document.write("<font color='tan' size='+2'><b>" + strMessage + "</b></font>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("<table width='80%' align='center'>");
document.write("<tr>");
document.write("<td width='50%' align='left'>");
document.write("<script language='JavaScript'>document.write(Proper_time)</script>");
document.write("</td>");
document.write("<td width='50%' align='right'>");
document.write("<script language='JavaScript'>document.write(full_date)</script>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
}



