//----------DHTML Menu Created using AllWebMenus PRO ver 5.1-#770---------------
//X:\blueridgerealty.net\htdocs\blue-ridge-realty.awm
var awmMenuName='menu';
var awmLibraryBuild=770;
var awmLibraryPath='/awmdata';
var awmImagesPath='/awmdata';
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>");
var n=null;
awmzindex=1000;
}

var awmImageName='';
var awmPosID='';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='';
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["hnav-ourcompany.jpg",120,13,"hnav-ourcompany02.jpg",120,13,"hnav-properties.jpg",112,13,"hnav-properties02.jpg",112,13,"hnav-developments.jpg",140,13,"hnav-developments02.jpg",140,13,"hnav-mlssearch.jpg",114,13,"hnav-mlssearch02.jpg",114,13,"hnav-ourarea.jpg",108,13,"hnav-ourarea02.jpg",108,13,"hnav-contact.jpg",108,13,"hnav-contact02.jpg",108,13];
awmCreateCSS(0,1,0,n,n,n,n,n,'none','0','#000000',0,0);
awmCreateCSS(1,2,1,'#000000','#968F61',n,'bold 12px Times New Roman',n,'none','0','#000000','3px 5px 3px 5',1);
awmCreateCSS(0,2,1,'#938002','#968F61',n,'12px Times New Roman',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(1,2,1,'#000000','#968F61',n,'bold 12px Times New Roman',n,'none','0','#000000','3px 5px 3px 5',0);
awmCreateCSS(0,2,1,'#938002','#968F61',n,'12px Times New Roman',n,'none','0','#000000','0px 0px 0px 0',0);
awmCreateCSS(0,1,0,n,'#FFFFFF',n,n,n,'none','0','#000000',0,0);
awmCreateCSS(1,2,1,'#FFFFFF','#979066',n,'12px Times New Roman',n,'none','0','#000000','2px 3px 2px 3',1);
awmCreateCSS(0,2,1,'#5F5304','#979066',n,'12px Times New Roman',n,'none','0','#000000','2px 3px 2px 3',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,n,n,100,1,0,0,0,0,-1,1,200,200,0,0,0,"0,0,0",n,n,n,n,n,n,n,n,0,0,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",0,1,1,3,3,3,n,n,n,"company.php",n,n,n,"company.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,1,2,0,0,0,5,1,1,0,n,n,100,0,1,0,-1,1,200,200,0,0,"0,0,0",0,"0");
it=s1.addItem(6,7,7," &nbsp; &nbsp; OUR AGENTS &nbsp; &nbsp; ",n,n,"","agents.php",n,n,n,"agents.php",n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,4,"","","","",2,3,3,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,1,2,0,0,0,5,1,1,0,n,n,100,0,2,0,-1,1,200,200,0,0,"0,0,0",0,"0");
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LUXURY HOMES &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","luxury-homes.php",n,n,n,"luxury-homes.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FEATURED HOMES &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","featured-homes.php",n,n,n,"featured-homes.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CONDO &amp; TOWN HOMES &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","condos_townhouses.php",n,n,n,"condos_townhouses.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BUILDING LOTS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","building-lots.php",n,n,n,"building-lots.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ACREAGE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","acreage.php",n,n,n,"acreage.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COMMERCIAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","commercial-property.php",n,n,n,"commercial-property.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BANK OWNED PROPERTIES &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","bank_owned.php",n,n,n,"bank_owned.php",n,0,0,2,0,0);
it=s1.addItem(6,7,7," &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LOG CABINS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;",n,n,"","log-cabins.php",n,n,n,"log-cabins.php",n,0,0,2,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",4,5,5,3,3,3,n,n,n,"developments.php",n,n,n,"developments.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(1,2,2,"","","","",6,7,7,3,3,3,n,n,n,"MLS.php",n,n,n,"MLS.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(1,2,2,"","","","",8,9,9,3,3,3,n,n,n,"communities.php",n,n,n,"communities.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(1,2,2,"","","","",10,11,11,3,3,3,n,n,n,"contact.php",n,n,n,"contact.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
s0.pm.buildMenu();
}}
