function go_to(url) {
  if(url!="") {
    document.location=url;
  }
}

var myMenuNodes = [
  { 
    id:'home', 
	label:'&nbsp;&nbsp;HOME', 
	className:'level0',
	leftclick:function(e){go_to("index.html")}
  },
  { 
    id:'about_us', 
	label:'&nbsp;&nbsp;ABOUT US', 
	className:'level0',	
	leftclick:function(e){go_to("about.html")}
  },
  { 
    id:'our_promise', 
	label:'&nbsp;&nbsp;OUR PROMISE', 
	className:'level0',	
	leftclick:function(e){go_to("our_promise.html")}
  },
  { 
    id:'improvement', 
	label:'&nbsp;&nbsp;PRODUCTS', 
	className:'level0',	
	leftclick:function(e){go_to("improvement.html")},
	children:[
	  {
		id:'improvement_windows',
		label:'&nbsp;&nbsp;WINDOWS',
		className:'level1',	
	    leftclick:function(e){go_to("imp_windows.html")}
	  },
	  {
		id:'improvement_doors',
		label:'&nbsp;&nbsp;DOORS',
		className:'level1',	
	    leftclick:function(e){go_to("imp_doors.html")}
	  },
	  {
		id:'improvement_furnaces',
		label:'&nbsp;&nbsp;FURNACES',
		className:'level1',	
	    leftclick:function(e){go_to("imp_furnaces.html")}
	  },
	  {
		id:'improvement_insulation',
		label:'&nbsp;&nbsp;INSULATION',
		className:'level1',	
	    leftclick:function(e){go_to("imp_insulation.html")}
	  },
	  {
		id:'improvement_ventilation',
		label:'&nbsp;&nbsp;VENTILATION',
		className:'level1',	
	    leftclick:function(e){go_to("imp_ventilation.html")}
	  },
	  {
		id:'improvement_vinyl_siding',
		label:'&nbsp;&nbsp;VINYL SIDING',
		className:'level1',	
	    leftclick:function(e){go_to("imp_vinyl_siding.html")}
	  }
    ]
  },
  { 
    id:'ask_tom', 
	label:'&nbsp;&nbsp;ASK TOM', 
	className:'level0',	
	leftclick:function(e){go_to("ask_tom.php")}
  },
  { 
    id:'energy_grants', 
	label:'&nbsp;&nbsp;ENERGY SAVINGS', 
	className:'level0',	
	leftclick:function(e){go_to("energy_grants.html")}
  },
  { 
    id:'project_gallery', 
	label:'&nbsp;&nbsp;PROJECT GALLERY', 
	className:'level0',	
	leftclick:function(e){go_to("gallery.html")}
  },
  { 
    id:'promotions', 
	label:'&nbsp;&nbsp;PROMOTIONS', 
	className:'level0',	
	leftclick:function(e){go_to("promotions.html")}
  },
  { 
    id:'testimonials', 
	label:'&nbsp;&nbsp;TESTIMONIALS', 
	className:'level0',	
	leftclick:function(e){go_to("testimonials.html")}
  },
  { 
    id:'resources', 
	label:'&nbsp;&nbsp;RESOURCES', 
	className:'level0',	
	leftclick:function(e){go_to("resources.html")}
  },
  { 
    id:'register_warranty', 
	label:'&nbsp;&nbsp;REG. YOUR WARRANTY', 
	className:'level0',	
	leftclick:function(e){go_to("register_warranty.php")}
  },
  { 
    id:'news', 
	label:'&nbsp;&nbsp;NEWS', 
	className:'level0',	
	leftclick:function(e){go_to("news.php")}
  },
  {
	  id:'survey',
	  label:'&nbsp;&nbsp;SURVEY',
	  className:'level0',
	  leftclick:function(e){go_to("/survey")}
  },
  { 
    id:'contact_us', 
	label:'&nbsp;&nbsp;CONTACT US', 
	className:'level0',	
	leftclick:function(e){go_to("contact.php")}
  }
];