_scrollAmount=5      // Used for Netscape 4 scrolling
_scrollDelay=10	     // Used for Netscape 4 scrolling

_menuCloseDelay=500  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position

Goverfilter="Alpha(style=1,opacity=25,finishOpacity=100,startX=0,finishX=100,startY=100,finishY=0);Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)"
Goverfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
Goutfilter="randomdissolve(duration=0.3)"
Goutfilter=""
Goverfilter=""

AllMargin=0

treeOffset=0;  // Used to set the offset of sub menus
singleMasterMenu=true // Informs the system to on;y have one menu open at a time

with(tstyle1=new mm_style()){
offcolor = "#ffffff";
onbgcolor = "";
oncolor = "#FFFFFF";
offbgcolor=""
ondecoration="underline"
borderstyle = "none";
subimage="http://www.allweatherwindows.com/images/navigation/white_arrow.gif"
onsubimage="http://www.allweatherwindows.com/images/navigation/white_arrow_down.gif"
bordercolor="black"
borderwidth=1
padding = 2
fontsize = "12px";
fontfamily = "arial, verdana, tahoma";    
subimageposition="top right" ;
separatorsize=0
separatorcolor="#003366";
image="trans.gif"
subimagepadding=3
imagepadding=2
itemwidth=130
pagecolor = "#000000";
}


sub1Style=new copyOf(tstyle1)
sub1Style.offcolor = "#ffffff";
sub1Style.offbgcolor="#5b8c1a"
sub1Style.separatorcolor="#556E8C"
sub1Style.fontsize="11px"

sub2Style=new copyOf(tstyle1)
sub2Style.offcolor = "#000000";
sub2Style.offbgcolor="#D6DDE6"
sub2Style.separatorcolor="#8EA2BB"


tstyle1.clickcolor="#ffffff"
tstyle1.clickbgcolor=""
tstyle1.clickimage="red_blip.gif"
tstyle1.clicksubimage="http://www.allweatherwindows.com/images/navigation/white_arrow_down.gif"


with(new menuname("main Tree Menu")){
//top=15
//left=10
style = tstyle1;
alwaysvisible = 1;
itemwidth=130
//margin=AllMargin
//position="relative"
aI("text=Committed to Green;showmenu=;type=tree;url=index.php");
aI("text=Environmental Responsibility;showmenu=;type=tree;url=enviro_responsibility.php");
aI("text=ENERGY STAR&reg;;showmenu=enstar;type=tree;");
aI("text=Built Green;showmenu=;type=tree;url=built_green.php;");
aI("text=Green Projects;showmenu=greenproj;type=tree;");
aI("text=Energy Calculator;showmenu=;type=tree;url=energy_calculator.php;");
aI("text=Government Grants & Rebates;url=energy_star_rebates.php");
}

	with(new menuname("enstar")){
	style = sub1Style;
	margin=AllMargin
	aI("text=About ENERGY STAR&reg;;url=energy_star.php");
	aI("text=Energy Efficient Window Facts;url=energy_star_facts.php");
	aI("text=Consumer's Guide;url=energy_star_guide.php");
	/* aI("text=Government Grants & Rebates;url=energy_star_rebates.php"); */
	}


	with(new menuname("greenproj")){
	style = sub1Style;
	margin=AllMargin
	aI("text=Summerland Home;url=green_projects.php");
	aI("text=Okanagan College;url=green_projects_more.php");
	aI("text=Drake Landing;url=green_projects_more.php#drake");
	aI("text=My Green House;url=green_projects_gh.php");
	aI("text=Green Dream Home;url=green_projects_gd.php");

	}

drawMenus()

