function header(){

document.write('<p id="header"><img src="images/combined_images.jpg" alt="header images"></p>');
}


function footer(){

document.write('<tr><td class="small-print" colspan=3><p>All pages &copy; 1998-2010 Bowles Corporation. Spill Buster&trade; and Spill Buddy&trade; are registered trademarks of Bowles Corporation.</p></td>');

}


// show valid HTML 4.01 Transitional
function validated(){
document.write('<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01 Transitional" style="border:0;height:31px;width:88px"></a>');
document.write('<a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!"></a></p>');
}


// show browser recommendation
function browserRecom(){
document.write('<p id="recom" class="small-print">This site is optimized to work on Internet Explorer 7 and Firefox 3.0. Previous versions of those browsers may not display properly. To get the latest version of Firefox, go to <a target="_new" href="http://www.mozilla.com">www.mozilla.com</a> or for IE go to <a target="_new" href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">www.microsoft.com</a>.</p>');
}


// function to set bar height and solve cross-browser compatibility issues.
function shenanigans(){
// in the event of IE shenanigans, make it look right.
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);

var rightHeight = document.getElementById("outer-limits").offsetHeight;

if(browser=="Microsoft Internet Explorer"){
	document.body.style.fontSize = "small";
	document.getElementById("left").style.top = "10px";
	document.getElementById("recom").style.margin="5px";
	document.getElementById("logo").style.paddingTop="36px";
	document.getElementById("outer-limits").style.paddingTop="50px";
	document.getElementById("bar").style.height=eval(rightHeight+30)+"px";
	}
else
	document.getElementById("bar").style.height=eval(rightHeight+30)+"px";


// set bar height in relation to outer-limits


}

