//----------DHTML Menu Created using AllWebMenus PRO ver 5.1-#786---------------
//E:\McDadi\listings.awm
var awmMenuName='listings_menu';
var awmLibraryBuild=786;
var awmLibraryPath='/Scripts';
var awmImagesPath='/images';
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='listings_menu_anchor';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='';
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["Listings.jpg",77,36,"Listings_Roll.jpg",77,36];
awmCreateCSS(0,1,0,n,n,n,n,n,'none','0','#000000',0,0);
awmCreateCSS(1,2,1,'#FFFFFF','#6B0A03',n,'bold 12px Arial, Helvetica, sans-serif',n,'none','0','#000000','0px 0px 0px 0',0);
awmCreateCSS(0,2,1,'#FFFFFF','#6B0A03',n,'bold 12px Arial, Helvetica, sans-serif',n,'none','0','#000000','0px 0px 0px 0',0);
awmCreateCSS(0,1,0,n,'#FF1001',n,n,n,'solid','1','#FF1001',0,0);
awmCreateCSS(1,2,1,'#FF1001','#3F0600',n,'12px Arial, Helvetica, sans-serif',n,'none','0','#000000','3px 8px 3px 8',1);
awmCreateCSS(0,2,1,'#FFFFFF','#3F0600',n,'12px Arial, Helvetica, sans-serif',n,'none','0','#000000','3px 8px 3px 8',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,10,10,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,1);
it=s0.addItemWithImages(1,2,2,"","","","LISTINGS",0,1,0,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,-8,2,0,3,1,3,1,1,0,n,n,100,0,1,0,-1,1,100,100,2,0,"0,0,0",1,"0");
it=s1.addItem(4,5,5,"Homes up to $500K",n,n,"","http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&pl=65000&ph=500000",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&pl=65000&ph=500000','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
it=s1.addItem(4,5,5,"Homes $500K - $1M",n,n,"","http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&pl=500000&ph=1000000",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&pl=500000&ph=1000000','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
it=s1.addItem(4,5,5,"Homes $1M Plus",n,n,"","http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&pl=1000000",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&pl=1000000','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
it=s1.addItem(4,5,5,"Town Homes",n,n,"","http://www.mcdadihomes.com/agents/featuredtownhouses.cfm?sBrokerCode=remaxperformance&aid=1213",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredtownhouses.cfm?sBrokerCode=remaxperformance&aid=1213','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
it=s1.addItem(4,5,5,"Condos",n,n,"","http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&type=condo",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&type=condo','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
it=s1.addItem(4,5,5,"Rentals",n,n,"","http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&&type=l",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&&type=l','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
it=s1.addItem(4,5,5,"Commercial",n,n,"","http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&type=comm",n,n,"window.open('http://www.mcdadihomes.com/agents/featuredproperties.cfm?sBrokerCode=remaxperformance&aid=1213&type=comm','test','toolbar=yes, status=yes, scrollbars=yes, location=yes, fullscreen=no, menubar=yes, resizable=no, height=800, width=840');",n,n,0,0,2,0,0);
s0.pm.buildMenu();
}}

