var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

document.write('<div id="logo" align="left" style="left:0;top:0;padding-left:0"><A HREF="home.html" alt="Macrostone Home"><img src="../images/macrostone_logo.jpg" border="0"></A></div>')
document.write('<div id="topmenubar" style="left:400;padding-left:50">')

var sitems=new Array()
var sitemlinks=new Array()

//extend or shorten this list
sitems[0]="Home"
sitems[1]="|"
sitems[2]="About US"
sitems[3]="|"
sitems[4]="Contact US"


//These are the links pertaining to the above text.
sitemlinks[0]="home.html"
sitemlinks[1]=".."
sitemlinks[2]="aboutus.html"
sitemlinks[3]=".."
sitemlinks[4]="contactus.html"

//If you want the links to load in another frame/window, specify name of target (ie: target="_new")
var target=""


for (i=0;i<=sitems.length-1;i++)
	document.write('&nbsp&nbsp&nbsp&nbsp<a class=topmenu href='+sitemlinks[i]+' target="'+target+'">'+sitems[i]+'</a>&nbsp&nbsp&nbsp&nbsp')


function regenerate(){
	window.location.reload()
}

function regenerate2(){
	if (ns4)
		setTimeout("window.onresize=regenerate",400)
}

window.onload=regenerate2

document.write('</div>')
themenu=(ns6)? document.getElementById("topmenubar").style : document.all.topmenubar.style

