<!-- Begin

function resultspage(form) {

var sqft = form.width.value*form.length.value;
var deepft = form.depth.value/12;
var deepinch = form.depth.value;
var vol = sqft*deepft;
var conc = vol/27;
var cost = form.price.value*conc;

conc = Math.round(conc * 100);
                          conc = conc / 100;

vol = Math.round(vol * 100);
                          vol = vol / 100;

cost = Math.round(cost * 100);
                          cost = cost / 100;

win = window.open(", ", 'popup', 'toolbar = no,width=300,height=350,top=100,left=100, status = no');

win.document.write("<body background='http://www.monumentmasonry.com/graphics/bfire3.gif'>");

win.document.write("<center><table bgcolor=maroon><tr><td><img src='http://www.monumentmasonry.com/graphics/logosmall.gif'>");

win.document.write("<table bgcolor=maroon><tr><td>");

win.document.write("<table bgcolor='#fffff7' border=1><tr><td colspan=2 align=center><b>Concrete Order Info:</b><hr width=60%></td></tr>");

win.document.write("<tr><td> - Square Feet</td><td align=right> " + sqft + " </td></tr>");

win.document.write("<tr><td> - Inches Deep</td><td align=right>" + deepinch + "</td></tr>");

win.document.write("<tr><td> - Cubic Feet</td><td align=right> " + vol + " </td></tr>");

win.document.write("<tr><td colspan=2><hr width=60%></td></tr>");

win.document.write("<tr><td><b> - Cubic Yards Of Concrete</b></td><td align=right><b>" + conc + "</td></tr>");

win.document.write("<tr><td><b> - Concrete Cost</td><td align=right><b>$" + cost + "</td></tr></table>");

win.document.write("<p align=center><font size=1 color=white>Close This Window Before Trying Again<br>Copyright 2002<br>MonumentMasonry.com</font>");

win.document.write("</td></tr></table><font size=2 color=white></font></td></tr></table></center></body>");

}






document.write("<img src='http://www.monumentmasonry.com/graphics/logosmall.gif'><b>Concrete Calculator</b>");

document.write("<form><input type=text name=width size=4 value=10>: Width In Feet<br>");

document.write("<input type=text name=length size=4 value=10>: Length In Feet<br>");

document.write("<input type=text size=4 name=depth value=4>: Depth In Inches<br>");

document.write("<input type=text name=price size=4 value=100>: Concrete Price Per Cubic Yard<br>");

document.write("<input type=button value='Get Results' onclick='resultspage(this.form)'>");

document.write("</form>");

//  End -->