if (typeof pulldownRelDir=="undefined") pulldownRelDir="./";
allMenus=new Array("menu_about", "menu_homes", "menu_renov");	// Drop this into the Javascript code
var imageDir=pulldownRelDir+'images/';

master=document.getElementById("plate");
a=document.createElement("div");
a.setAttribute("id", "menu0");
a.className="menu0";

//	menu0_0, Home (./index.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_0");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"index.php"; }
p.onmouseover=function () { highlight('button_img_0_0', 'button_1_over.jpg'); cancelCollapse(); rossConceal('menu_about', 'menu_homes', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_0', 'button_1.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_1.jpg";
pp.setAttribute("id", "button_img_0_0");
pp.setAttribute("alt", "Home");
p.appendChild(pp);
a.appendChild(p);

//	menu0_1, News (./news/news.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_1");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"news/news.php"; }
p.onmouseover=function () { highlight('button_img_0_1', 'button_2_over.jpg'); cancelCollapse(); rossConceal('menu_about', 'menu_homes', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_1', 'button_2.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_2.jpg";
pp.setAttribute("id", "button_img_0_1");
pp.setAttribute("alt", "News");
p.appendChild(pp);
a.appendChild(p);

//	menu0_2, About Us (./about/about.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_2");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"about/about.php"; }
p.onmouseover=function () { highlight('button_img_0_2', 'button_3_over.jpg'); cancelCollapse(); locateMenuSouth('menu_about', 'menu0_2', 'menu0'); rossReveal('menu_about'); rossConceal('menu_homes', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_2', 'button_3.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_3.jpg";
pp.setAttribute("id", "button_img_0_2");
pp.setAttribute("alt", "About Us");
p.appendChild(pp);
a.appendChild(p);

//	menu0_3, New Homes (./homes/index.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_3");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"homes/index.php"; }
p.onmouseover=function () { highlight('button_img_0_3', 'button_4_over.jpg'); cancelCollapse(); locateMenuSouth('menu_homes', 'menu0_3', 'menu0'); rossReveal('menu_homes'); rossConceal('menu_about', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_3', 'button_4.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_4.jpg";
pp.setAttribute("id", "button_img_0_3");
pp.setAttribute("alt", "New Homes");
p.appendChild(pp);
a.appendChild(p);

//	menu0_4, Aging In Place (./aip/index.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_4");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"aip/index.php"; }
p.onmouseover=function () { highlight('button_img_0_4', 'button_5_over.jpg'); cancelCollapse(); rossConceal('menu_about', 'menu_homes', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_4', 'button_5.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_5.jpg";
pp.setAttribute("id", "button_img_0_4");
pp.setAttribute("alt", "Aging In Place");
p.appendChild(pp);
a.appendChild(p);

//	menu0_5, Green Living (./green/index.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_5");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"green/index.php"; }
p.onmouseover=function () { highlight('button_img_0_5', 'button_6_over.jpg'); cancelCollapse(); rossConceal('menu_about', 'menu_homes', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_5', 'button_6.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_6.jpg";
pp.setAttribute("id", "button_img_0_5");
pp.setAttribute("alt", "Green Living");
p.appendChild(pp);
a.appendChild(p);

//	menu0_6, Renovation and Restoration (./renov/index.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_6");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"renov/index.php"; }
p.onmouseover=function () { highlight('button_img_0_6', 'button_7_over.jpg'); cancelCollapse(); locateMenuSouth('menu_renov', 'menu0_6', 'menu0'); rossReveal('menu_renov'); rossConceal('menu_about', 'menu_homes'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_6', 'button_7.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_7.jpg";
pp.setAttribute("id", "button_img_0_6");
pp.setAttribute("alt", "Renovation and Restoration");
p.appendChild(pp);
a.appendChild(p);

//	menu0_7, Contact (./contact/contact.php)
p=document.createElement("div");
p.setAttribute("id", "menu0_7");
p.className="submenu0";
p.onclick=function() { location.href=pulldownRelDir+"contact/contact.php"; }
p.onmouseover=function () { highlight('button_img_0_7', 'button_8_over.jpg'); cancelCollapse(); rossConceal('menu_about', 'menu_homes', 'menu_renov'); }
p.onmouseout=function() { scheduleCollapse(); highlight('button_img_0_7', 'button_8.jpg'); }
//	pp=document.createElement("img");
pp=new Image();
pp.src=pulldownRelDir+"images/button_8.jpg";
pp.setAttribute("id", "button_img_0_7");
pp.setAttribute("alt", "Contact");
p.appendChild(pp);
a.appendChild(p);

master.appendChild(a);
a=document.createElement("div");
a.setAttribute("id", "menu_about");
a.className="menu-about";

//	menu1_0, About Metro Legacy Homes, LLC (./about/about.php)
p=document.createElement("div");
p.setAttribute("id", "menu1_0");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"about/about.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu1_0', '#231F20', 'button_img_0_2', 'button_3_over.jpg'); cancelCollapse(); rossConceal('menu_homes', 'menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu1_0', 'transparent', 'button_img_0_2', 'button_3.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("About Metro Legacy Homes, LLC"));
p.appendChild(pp);
a.appendChild(p);

//	menu1_1, Services (./about/services.php)
p=document.createElement("div");
p.setAttribute("id", "menu1_1");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"about/services.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu1_1', '#231F20', 'button_img_0_2', 'button_3_over.jpg'); cancelCollapse(); rossConceal('menu_homes', 'menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu1_1', 'transparent', 'button_img_0_2', 'button_3.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Services"));
p.appendChild(pp);
a.appendChild(p);

//	menu1_2, Client Testimonials (./about/testimonials.php)
p=document.createElement("div");
p.setAttribute("id", "menu1_2");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"about/testimonials.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu1_2', '#231F20', 'button_img_0_2', 'button_3_over.jpg'); cancelCollapse(); rossConceal('menu_homes', 'menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu1_2', 'transparent', 'button_img_0_2', 'button_3.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Client Testimonials"));
p.appendChild(pp);
a.appendChild(p);

master.appendChild(a);
a=document.createElement("div");
a.setAttribute("id", "menu_homes");
a.className="menu-about";

//	menu2_0, Homes Under Construction (./homes/construction.php)
p=document.createElement("div");
p.setAttribute("id", "menu2_0");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"homes/construction.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu2_0', '#231F20', 'button_img_0_3', 'button_4_over.jpg'); cancelCollapse(); rossConceal('menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu2_0', 'transparent', 'button_img_0_3', 'button_4.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Homes Under Construction"));
p.appendChild(pp);
a.appendChild(p);

//	menu2_1, Lots Being Developed (./homes/lots.php)
p=document.createElement("div");
p.setAttribute("id", "menu2_1");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"homes/lots.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu2_1', '#231F20', 'button_img_0_3', 'button_4_over.jpg'); cancelCollapse(); rossConceal('menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu2_1', 'transparent', 'button_img_0_3', 'button_4.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Lots Being Developed"));
p.appendChild(pp);
a.appendChild(p);

//	menu2_2, Browse Our Past Work (./homes/gallery.php)
p=document.createElement("div");
p.setAttribute("id", "menu2_2");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"homes/gallery.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu2_2', '#231F20', 'button_img_0_3', 'button_4_over.jpg'); cancelCollapse(); rossConceal('menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu2_2', 'transparent', 'button_img_0_3', 'button_4.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Browse Our Past Work"));
p.appendChild(pp);
a.appendChild(p);

//	menu2_3, Innovation and Growth (./homes/innovation.php)
p=document.createElement("div");
p.setAttribute("id", "menu2_3");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"homes/innovation.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu2_3', '#231F20', 'button_img_0_3', 'button_4_over.jpg'); cancelCollapse(); rossConceal('menu_renov');}
p.onmouseout=function () { scheduleCollapse(); highlight('menu2_3', 'transparent', 'button_img_0_3', 'button_4.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Innovation and Growth"));
p.appendChild(pp);
a.appendChild(p);

master.appendChild(a);
a=document.createElement("div");
a.setAttribute("id", "menu_renov");
a.className="menu-about";

//	menu3_0, Renovation (./renov/renov.php)
p=document.createElement("div");
p.setAttribute("id", "menu3_0");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"renov/renov.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu3_0', '#231F20', 'button_img_0_6', 'button_7_over.jpg'); cancelCollapse(); }
p.onmouseout=function () { scheduleCollapse(); highlight('menu3_0', 'transparent', 'button_img_0_6', 'button_7.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Renovation"));
p.appendChild(pp);
a.appendChild(p);

//	menu3_1, Restoration (./renov/restore.php)
p=document.createElement("div");
p.setAttribute("id", "menu3_1");
p.className="submenu1";
p.onclick=function() { location.href=pulldownRelDir+"renov/restore.php"; }
p.onmouseover=function () { correctWidth(this.id); highlight('menu3_1', '#231F20', 'button_img_0_6', 'button_7_over.jpg'); cancelCollapse(); }
p.onmouseout=function () { scheduleCollapse(); highlight('menu3_1', 'transparent', 'button_img_0_6', 'button_7.jpg'); }
pp=document.createElement("span");
pp.className="submenu1_link";
pp.appendChild(document.createTextNode("Restoration"));
p.appendChild(pp);
a.appendChild(p);

master.appendChild(a);

forcedWidth=new Array(); 
forcedWidth["menu0_2"]=22;
forcedWidth["menu0_3"]=22;
forcedWidth["menu0_6"]=22;

preloadImage=new Array("button_1_over.jpg", "button_2_over.jpg", "button_3_over.jpg", "button_4_over.jpg", "button_5_over.jpg", "button_6_over.jpg", "button_7_over.jpg", "button_8_over.jpg");

