//----------DHTML Server-Side Menu Created using AllWebMenus PRO ver 5.2-#800---------------
//C:\Users\matthew\Documents\PEA Builders\G3 Website\navigation.awm
var awmMenuName='navigation_menu';
var awmLibraryBuild=800;
var awmLibraryPath='/awmdata';
var awmImagesPath='/awmdata/navigation-menu';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1 || navigator.userAgent.indexOf('Konqueror')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Chrome')>-1)?2:((nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1))));
var mpi=document.location,xt="";
var mpa=mpi.protocol+"//"+mpi.host;
var mpi=mpi.protocol+"//"+mpi.host+mpi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) mpi=oBC[0].href;}
while (mpi.search(/\\/)>-1) mpi=mpi.replace("\\","/");
mpi=mpi.substring(0,mpi.lastIndexOf("/")+1);
var e=document.getElementsByTagName("SCRIPT");
for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(awmMenuName+".js")!=-1){xt=e[i].src.split("/");if (xt[xt.length-1]==awmMenuName+".js"){xt=e[i].src.substring(0,e[i].src.length-awmMenuName.length-3);if (e[i].src.indexOf("://")!=-1){mpi=xt;}else{if(xt.substring(0,1)=="/")mpi=mpa+xt; else mpi+=xt;}}}}}
while (mpi.search(/\/\.\//)>-1) {mpi=mpi.replace("/./","/");}
var awmMenuPath=mpi.substring(0,mpi.length-1);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'","%27");}
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmserversidemenu.js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}

var awmImageName='';
var awmPosID='Navigation-menu';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=1;
var awmHash='TCPCIFOFRJOIIYYOVEDUBKQADQVGHM';
function awmBuildMenu(){
its1=new ItemStyle("name=navigation_menu_itemstyle1;textfont0=Palatino Linotype;textfont1=Palatino Linotype;textfont2=Palatino Linotype;textsize0=18px;textsize1=18px;textsize2=18px;textdecor0=BI;textdecor1=BI;textdecor2=BI;color0=#FFFFFF;color1=#FFFFFF;color2=#CEAE2E;padding0=0px 21px 0px 22;padding1=0px 21px 0px 22;padding2=0px 21px 0px 22;bgcolor0=#FFFFFF;bgcolor1=#7A96DF;bgcolor2=#7A96DF;align0=center;align1=center;align2=center;cursor=hand;bgimage0=button-tile.gif;bgimage1=buttonOver-tile3.gif;bgimage2=buttonOver-tile3.gif;leftimage1=buttonOver-left3.gif;leftimage2=buttonOver-left3.gif;rightimage1=buttonOver-right3.gif;rightimage2=buttonOver-right3.gif");
its2=new ItemStyle("name=navigation_menu_itemstyle2;textfont0=Palatino Linotype;textfont1=Palatino Linotype;textfont2=Palatino Linotype;textsize0=13px;textsize1=13px;textsize2=13px;textdecor0=B;textdecor1=B;textdecor2=B;color0=#FFFEFE;color1=#FFFFFF;color2=#000000;padding0=0px 13px 0px 13;padding1=0px 13px 0px 13;padding2=0px 13px 0px 13;align0=left;align1=left;align2=left;cursor=hand;bgimage0=button-tile1.gif;bgimage1=buttonOver-tile2.gif;bgimage2=buttonOver-tile2.gif;leftimage1=buttonOver-left2.gif;leftimage2=buttonOver-left2.gif;rightimage1=buttonOver-right2.gif;rightimage2=buttonOver-right2.gif");
its3=new ItemStyle("name=navigation_menu_itemstyle3;textfont0=Palatino Linotype;textfont1=Palatino Linotype;textfont2=Palatino Linotype;textsize0=13px;textsize1=13px;textsize2=13px;textdecor0=B;textdecor1=B;textdecor2=B;color0=#FFFFFF;color1=#FFFFFF;color2=#000000;padding0=0px 13px 0px 13;padding1=0px 13px 0px 13;padding2=0px 13px 0px 13;align0=left;align1=left;align2=left;cursor=hand;bgimage0=button-tile1.gif;bgimage1=buttonOver-tile2.gif;bgimage2=buttonOver-tile2.gif;leftimage1=buttonOver-left2.gif;leftimage2=buttonOver-left2.gif;rightimage1=buttonOver-right2.gif;rightimage2=buttonOver-right2.gif");
grs1=new GroupStyle("name=navigation_menu_groupstyle1;bgcolor=transparent;type=2;itemdistance=1;rightMargin=625;itemsWidenHow=0");
grs2=new GroupStyle("name=navigation_menu_groupstyle2;bgcolor=#000000;itemdistance=1;showUnfoldEffect=3;uniform=1;how=1;slidingGroup=1;slidingIdentation=5;slidingStretch=1;slidingWhen=0");
grs3=new GroupStyle("name=navigation_menu_groupstyle3;bgcolor=#000000;border=solid;borderwidth=1;bordercolor=#000000;itemdistance=1;scrollbar=0;showUnfoldEffect=1;how=1;groupoffset=-1");
navigation_menu=new Menu("style=navigation_menu_groupstyle1;elementrelative=1;offsetx=0;offsety=0;ignoreLinks=0");
awm_I1=navigation_menu.newItem("style=navigation_menu_itemstyle1;itemid=0;text0=Home;url=http://peabuilders.com/home.php");
awm_I2=navigation_menu.newItem("style=navigation_menu_itemstyle1;itemid=1;text0=Resources;url=http://peabuilders.com/resources.php");
awm_S4=awm_I2.newGroup("style=navigation_menu_groupstyle2;groupid=1");
awm_I5=awm_S4.newItem("style=navigation_menu_itemstyle2;itemid=3;text0=Helpful Articles;url=http://peabuilders.com/blog/");
awm_I14=awm_S4.newItem("style=navigation_menu_itemstyle2;itemid=11;text0=PEA In the News;url=http://peabuilders.com/news.php");
awm_I15=awm_S4.newItem("style=navigation_menu_itemstyle2;itemid=12;text0=Highlighted Projects;url=http://peabuilders.com/projects-nb_passive_house.php");
awm_I6=awm_S4.newItem("style=navigation_menu_itemstyle2;itemid=4;text0=What are Sustainable Homes?;url=http://peabuilders.com/sustainable.php");
awm_S39=awm_I6.newGroup("style=navigation_menu_groupstyle3;groupid=9");
awm_I40=awm_S39.newItem("style=navigation_menu_itemstyle3;itemid=30;text0=Progressive;url=http://peabuilders.com/progressive.php");
awm_I41=awm_S39.newItem("style=navigation_menu_itemstyle3;itemid=31;text0=Environmental;url=http://peabuilders.com/environmental.php");
awm_I42=awm_S39.newItem("style=navigation_menu_itemstyle3;itemid=32;text0=Alternative;url=http://peabuilders.com/alternative.php");
awm_I7=awm_S4.newItem("style=navigation_menu_itemstyle2;itemid=5;text0=Hot Products;url=http://peabuilders.com/sips.php");
awm_S16=awm_I7.newGroup("style=navigation_menu_groupstyle3;groupid=3");
awm_I17=awm_S16.newItem("style=navigation_menu_itemstyle3;itemid=13;text0=Structural Insulated Panels (SIPs);url=http://peabuilders.com/sips.php");
awm_I18=awm_S16.newItem("style=navigation_menu_itemstyle3;itemid=14;text0=Insulated Concrete Forms (ICFs);url=http://peabuilders.com/icfs.php");
awm_I3=navigation_menu.newItem("style=navigation_menu_itemstyle1;itemid=2;text0=New Homes;url=http://peabuilders.com/newhomes.php");
awm_S19=awm_I3.newGroup("style=navigation_menu_groupstyle2;groupid=4");
awm_I20=awm_S19.newItem("style=navigation_menu_itemstyle2;itemid=15;text0=Home Plans;url=http://peabuilders.com/home_plans.php");
awm_S32=awm_I20.newGroup("style=navigation_menu_groupstyle3;groupid=7");
awm_I33=awm_S32.newItem("style=navigation_menu_itemstyle3;itemid=25;text0=Ranch Homes;url=http://peabuilders.com/ranch_plans.php");
awm_I34=awm_S32.newItem("style=navigation_menu_itemstyle3;itemid=26;text0=Two Story Homes;url=http://peabuilders.com/two_story_plans.php");
awm_I35=awm_S32.newItem("style=navigation_menu_itemstyle3;itemid=27;text0=Passive Solar Homes;url=http://peabuilders.com/passive_solar_plans.php");
awm_I21=awm_S19.newItem("style=navigation_menu_itemstyle2;itemid=16;text0=Photo Gallery;url=http://peabuilders.com/new_photos.php");
awm_S36=awm_I21.newGroup("style=navigation_menu_groupstyle3;groupid=8");
awm_I37=awm_S36.newItem("style=navigation_menu_itemstyle3;itemid=28;text0=Ranch Homes;url=http://peabuilders.com/ranch_photos.php");
awm_I38=awm_S36.newItem("style=navigation_menu_itemstyle3;itemid=29;text0=Two Story Homes;url=http://peabuilders.com/two_story_photos.php");
awm_I22=awm_S19.newItem("style=navigation_menu_itemstyle2;itemid=17;text0=Standard Features;url=http://peabuilders.com/features.php");
awm_I25=awm_S19.newItem("style=navigation_menu_itemstyle2;itemid=20;text0=Options;url=http://peabuilders.com/options.php");
awm_I23=awm_S19.newItem("style=navigation_menu_itemstyle2;itemid=18;text0=Building Process;url=http://peabuilders.com/building_process.php");
awm_I24=awm_S19.newItem("style=navigation_menu_itemstyle2;itemid=19;text0=Bidding Process;url=http://peabuilders.com/bidding_process.php");
awm_I12=navigation_menu.newItem("style=navigation_menu_itemstyle1;itemid=9;text0=Remodeling;url=http://peabuilders.com/remodel.php");
awm_S26=awm_I12.newGroup("style=navigation_menu_groupstyle2;groupid=5");
awm_I27=awm_S26.newItem("style=navigation_menu_itemstyle2;itemid=21;text0=Photo Gallery;url=http://peabuilders.com/remodel_photos.php");
awm_I13=navigation_menu.newItem("style=navigation_menu_itemstyle1;itemid=10;text0=Contact Us;url=http://peabuilders.com/contact_us.php");
awm_S28=awm_I13.newGroup("style=navigation_menu_groupstyle2;groupid=6");
awm_I29=awm_S28.newItem("style=navigation_menu_itemstyle2;itemid=22;text0=Email Us;url=http://peabuilders.com/contact_us.php");
awm_I30=awm_S28.newItem("style=navigation_menu_itemstyle2;itemid=23;text0=Mission Statement;url=http://peabuilders.com/mission.php");
awm_I31=awm_S28.newItem("style=navigation_menu_itemstyle2;itemid=24;text0=History of PEA;url=http://peabuilders.com/history.php");
}
