//Rupp Header
document.write("<div id='masthead'>");
document.write("<h1 id='siteName'>Rupp Building</h1>");
document.write("<div id='utility'>");
document.write("| <a href='about.php'>About Us</a> | <a href='contact.php'>Contact Us</a> | <a href='adminpage.php'>Admin</a>");
document.write("</div>");
document.write("<div id='globalNav'>");
document.write("<img alt='' src='Images/gblnav_left.gif' height='32' width='4' id='gnl'/>");
document.write("<a href='index.html' border='0'><img alt='' src='Images/RUPP-LOGO.gif' id='gnl' border='0' /></a>");
document.write("<div id='globalLink'> <a href='Property.php?Category=H' id='gl1' class='glink' onmouseover='subglobalmenu(menuitem1);'>Homes for Sale</a><a href='Property.php?Category=L' id='gl2' class='glink' onmouseover='subglobalmenu(menuitem2);'>Lots for Sale</a><a href='Testimonals.php' id='gl3' class='glink' onmouseover='subglobalmenu(menuitem3);'>Testimonals</a><a href='SimpleViewer/index.php?album=Rupp_Building_Home_Showcase_Gallery' id='gl4' class='glink' onClick='showPopup(this.href);return(false);' onmouseover='subglobalmenu(menuitem4);'>Home Showcase Gallery</a><a href='philosophy.php' id='gl5' class='glink' onmouseover='subglobalmenu(menuitem5);'>Builder Philosophy</a><a href='Subcontractor.php' id='gl6' class='glink' onmouseover='subglobalmenu(menuitem6);'>Subcontractors</a></div>")
document.write("</div>");
document.write("<div id='subglobal' class='subglobalNav'></div>");
document.write("</div>");

var menuitem1 ="Take a look at the luxury homes we have for sale.";
var menuitem2 ="Interested in one of our many lots?";
var menuitem3 ="Hear what our clients have to say.";
var menuitem4 ="Take a tour through our gallery";
var menuitem5 ="Our Philosophy";
var menuitem6 ="View a list of Subcontractors we work with on a regular basis.";

function subglobalmenu(menuitem)
{
	//alert(menuitem);
	document.getElementById("subglobal").style.visibility = "visible";

	document.getElementById("subglobal").innerHTML = "<a>"+ menuitem +"</a>";
}
function showPopup(url) { 
newwindow=window.open(url,'name','height=800,width=1000,top=200,left=300,resizable'); 
if (window.focus) {newwindow.focus()} 
} 
