//----------DHTML Menu Created using AllWebMenus PRO ver 5.0-#724---------------
//C:\Inetpub\wwwroot\westportres\menu-new.awm
var awmMenuName='menu-new';
var awmLibraryBuild=724;
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('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("'","&#39;");}
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=1;
var awmComboFix=1;
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["bullets_w6.gif",10,10];
awmCreateCSS(0,1,0,n,'#0D0D57',n,n,n,'none',0,'#000000',0,0);
awmCreateCSS(1,2,0,'#FFFFFF',n,n,'bold 14px Times New Roman, Times, serif',n,'none',0,'#000000','0px 0px 0px 15',0);
awmCreateCSS(0,2,0,'#FFFFFF',n,n,'bold 14px Times New Roman, Times, serif',n,'none',0,'#000000','3px 0px 3px 15',0);
awmCreateCSS(1,2,0,'#FFFFFF',n,n,'bold 14px Times New Roman, Times, serif',n,'none',0,'#000000','0px 0px 0px 15',1);
awmCreateCSS(0,2,0,'#FFFFFF',n,n,'bold 14px Times New Roman, Times, serif',n,'none',0,'#000000','3px 0px 3px 15',1);
awmCreateCSS(0,1,0,n,'#F7F7F7',n,n,n,'solid',1,'#6F92B2',0,0);
awmCreateCSS(1,2,0,'#494949','#F7F7F7',n,'bold 11px sans-serif',n,'none',0,'#000000','5px 5px 5px 5',1);
awmCreateCSS(0,2,0,'#494949','#CECECE',n,'bold 11px sans-serif',n,'none',0,'#000000','5px 5px 5px 5',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,30,125,0,0,0,12,1,0,n,n,100,1,0,0,15,165,-1,1,200,200,0,0,0,"0,0");
it=s0.addItem(1,2,n,""," &nbsp;","","","",n,n,n,n,n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,n,"Home","Home &nbsp;","","",n,0,n,3,1,3,n,n,n,"index.shtml",n,n,n,"index.shtml",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(3,4,n,"Exclusive Listings","Exclusive Listings &nbsp;","","",n,0,n,3,1,3,n,n,n,"http://westportres.com/featured.shtml",n,n,n,"http://westportres.com/featured.shtml",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(3,4,n,"Search the MLS","Search the MLS &nbsp;","","",n,0,n,3,1,3,n,n,n,"http://westportres.idxre.com/idx/search.cfm?cid=12835",n,n,n,"http://westportres.idxre.com/idx/search.cfm?cid=12835",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,5,0,1,0,n,n,100,-5,1,0,-1,1,200,200,0,0);
it=s1.addItem(6,7,n," &nbsp;MLS Search &nbsp;",n,"","","http://westportres.idxre.com/idx/search.cfm?cid=12835 ",n,n,n,"http://westportres.idxre.com/idx/search.cfm?cid=12835 ",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Open House Schedule &nbsp;",n,"","","http://westportres.idxre.com/idx/openhomelist.cfm?cid=12835 ",n,n,n,"http://westportres.idxre.com/idx/openhomelist.cfm?cid=12835 ",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Daily Email Updates &nbsp;",n,"","","http://westportres.idxre.com/idx/co/searchprofile.cfm?cid=12835 ",n,n,n,"http://westportres.idxre.com/idx/co/searchprofile.cfm?cid=12835 ",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Saved Search Log-In &nbsp;",n,"","","http://westportres.idxre.com/idx/signup.cfm?cid=12835 ",n,n,n,"http://westportres.idxre.com/idx/signup.cfm?cid=12835 ",n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,n,"Fairfield County","Fairfield County &nbsp;","","",n,0,n,3,1,3,n,n,n,"fairfield-county.shtml",n,n,n,"fairfield-county.shtml",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,5,0,1,0,n,n,100,-5,2,0,-1,1,200,200,0,0);
it=s1.addItem(6,7,n," &nbsp;Westport &nbsp;",n,"","","westport.shtml",n,n,n,"westport.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Weston &nbsp;",n,"","","weston.shtml",n,n,n,"weston.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Fairfield &nbsp;",n,"","","fairfield.shtml",n,n,n,"fairfield.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Norwalk &nbsp;",n,"","","norwalk.shtml",n,n,n,"norwalk.shtml",n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,n,"Purchase Procedure","Purchase Procedure &nbsp;","","",n,0,n,3,1,3,n,n,n,"purchase.shtml",n,n,n,"purchase.shtml",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,5,0,1,0,n,n,100,-5,3,0,-1,1,200,200,0,0);
it=s1.addItem(6,7,n," &nbsp;Purchase Procedure &nbsp;",n,"","","purchase.shtml",n,n,n,"purchase.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Where Buyers Come From&nbsp;",n,"","","buyerschart.shtml",n,n,n,"buyerschart.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Home Valuation &nbsp;",n,"","","http://www.idxre.com/idx/valuation.cfm?cid=12835 ",n,n,n,"http://www.idxre.com/idx/valuation.cfm?cid=12835 ",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Mortgage Calculator &nbsp;",n,"","","http://www.idxre.com/idx/mortcalc.cfm?cid=12835 ",n,n,n,"http://www.idxre.com/idx/mortcalc.cfm?cid=12835 ",n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,n,"Market Watch","Market Watch &nbsp;","","",n,0,n,3,1,3,n,n,n,"market.shtml",n,n,n,"market.shtml",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,5,0,1,0,n,n,100,-5,5,0,-1,1,200,200,0,0);
it=s1.addItem(6,7,n," &nbsp;Westport Sales by Address &nbsp;",n,"","","market.shtml",n,n,n,"market.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Westport/Weston Statistics by Units Sold &nbsp;",n,"","","market-units.shtml",n,n,n,"market-units.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Westport/Weston Statistics by Average Sale Price &nbsp;",n,"","","market-avp.shtml",n,n,n,"market-avp.shtml",n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,n,"Sold Gallery","Sold Gallery &nbsp;","","",n,0,n,3,1,3,n,n,n,"http://westportres.idxre.com/idx/soldlist.cfm?cid=12835",n,n,n,"http://westportres.idxre.com/idx/soldlist.cfm?cid=12835",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(3,4,n,"About Us","About Us &nbsp;","","",n,0,n,3,1,3,n,n,n,"about.shtml",n,n,n,"about.shtml",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,5,0,1,0,n,n,100,-5,4,0,-1,1,200,200,0,0);
it=s1.addItem(6,7,n," &nbsp;Westport Residential &nbsp;",n,"","","about.shtml",n,n,n,"about.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;Our Agents &nbsp;",n,"","","agents.shtml",n,n,n,"agents.shtml",n,0,0,2,0,0);
it=s1.addItem(6,7,n," &nbsp;New Construction &nbsp;",n,"","","sir.shtml",n,n,n,"sir.shtml",n,0,0,2,0,0);
it=s0.addItemWithImages(3,4,n,"Contact Us","Contact Us &nbsp;","","",n,0,n,3,1,3,n,n,n,"http://westportres.idxre.com/idx/contact.cfm?cid=12835 ",n,n,n,"http://westportres.idxre.com/idx/contact.cfm?cid=12835 ",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItem(1,2,n,""," &nbsp;","","","",n,n,n,n,n,0,0,2,0,0);
it=s0.addItem(1,2,n,""," &nbsp;","","","",n,n,n,n,n,0,0,2,0,0);
s0.pm.buildMenu();
}}
