//FILE:  menu_data.js
//DESCRIPTION:  controls menu on web
//REFERRERS:  
//COMMENTS:  
//REVISION HISTORY:
//      DATE        AUTHOR			CHANGES
//      01/01/2006  Unknown			Original version.
//      02/23/2006  Angel Gonzalez	Added Agents Menu



_menuCloseDelay=250           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=50            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

with(menuStyle=new mm_style()){
onbgcolor="";
oncolor="";
offbgcolor="";
offcolor="";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="";
separatorsize="0";
fontsize="10px";
fontstyle="normal";
fontweight="normal";
fontfamily="Verdana, Tahoma, Arial";
headercolor="#000000";
headerbgcolor="#ffffff";
}

with(subMenuStyle=new mm_style()){
onbgcolor="#669ACC";
oncolor="#ffffff";
offbgcolor="#C1D6EB";
offcolor="#003366";
bordercolor="#003366";
borderstyle="solid";
borderwidth=1;
separatorcolor="#003366";
separatorsize="1";
padding=2;
fontsize="10px";
subimage=javabasecaller + "/menu/arrow.gif";
subimagepadding="1";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="white";
pagebgcolor="#336699";
headercolor="#000000";
headerbgcolor="#ffffff";
overfilter="Fade(duration=0.2)";
outfilter="Fade(duration=0.2)";
}

with(milonic=new menuname("MainMenu")){
style=menuStyle;
top=60;
itemwidth=99;
itemheight=21;
left=233;
padding=0;
screenposition="left";
alwaysvisible=1;
orientation="horizontal";
aI("text=<img src='" + javabasecaller + "menu/images/test.gif' width=99 height=21>;showmenu=Property;");
aI("text=<img src='" + javabasecaller + "menu/images/test2.gif' width=99 height=21>;showmenu=Agent;");
aI("text=<img src='" + javabasecaller + "menu/images/test3.gif' width=99 height=21>;showmenu=Sherlock;");
aI("text=<img src='" + javabasecaller + "menu/images/test4.gif' width=99 height=21>;showmenu=Services;");
aI("text=<img src='" + javabasecaller + "menu/images/test5.gif' width=99 height=21>;showmenu=Company;");
}

with(milonic=new menuname("Property")){
style=subMenuStyle;
top=81;
itemwidth=115;
overflow="scroll";
aI("text=Residential;showmenu=Residential;");
aI("text=New Construction;showmenu=NewCon;");
aI("text=Commercial;showmenu=Commercial;");
aI("text=Open Houses;url=/property/index.cfm?fuseaction=search&type=open;");
//aI("text=Open Houses;url=" + localtrue + "property/index.cfm?fuseaction=search&type=open;");
aI("text=Seasonal & Resorts;url=/seasonal;");
aI("text=Auction Properties;url=/auctions;");
// aI("text=Mobile Search;url=/mobile;");
}

with(milonic=new menuname("Residential")){
style=subMenuStyle;
top=75;
itemwidth=115;
overflow="scroll";
aI("text=Find Homes;url=/property/index.cfm?fuseaction=search&type=res-res;");
aI("text=Find Land;url=/property/index.cfm?fuseaction=search&type=res-fal;");
aI("text=Find Multi-Units;url=/property/index.cfm?fuseaction=search&type=res-mul;");
aI("text=Find Lease/Rentals;url=/property/index.cfm?fuseaction=search&type=res-lse;");
aI("text=Luxury Homes;url=/luxuryhomes/;");
aI("text=All Listings;url=/property/index.cfm?fuseaction=search&type=res-all;");
}

with(milonic=new menuname("NewCon")){
style=subMenuStyle;
top=92;
itemwidth=110;
overflow="scroll";
aI("text=Find a Property;url=/newconstruction/;");
aI("text=Find a Builder;url=/newconstruction/index.cfm?fuseaction=builder;");
aI("text=FAQ;url=/newconstruction/index.cfm?fuseaction=faq;");
}

with(milonic=new menuname("Commercial")){
style=subMenuStyle;
top=109;
itemwidth=115;
overflow="scroll";
aI("text=Find Sales;url=/property/index.cfm?fuseaction=search&type=cib-sale;");
aI("text=Find Lease/Rentals;url=/property/index.cfm?fuseaction=search&type=cib-lse;");
aI("text=All Listings;url=/property/index.cfm?fuseaction=search&type=cib-all;");
}

with(milonic=new menuname("Agent")){
style=subMenuStyle;
top=81;
aI("text=Find an Agent;url=/askarealtor/index.cfm?fuseaction=listofagents;");
aI("text=Quality Service Certified Agents;url=/QSC/;");
aI("text=Quality Service Consumer Website;url=http://www.qualityservice.org;target=_blank;");
}

with(milonic=new menuname("Sherlock")){
style=subMenuStyle;
top=81;
itemwidth=95;
aI("text=Log In;url=/myppr/;");
aI("text=Sign Up;url=/myppr/index.cfm?fuseaction=signinsignup&signup=1;");
aI("text=About;url=/myppr/index.cfm?fuseaction=about;");
}

with(milonic=new menuname("Services")){
style=subMenuStyle;
top=81;
aI("text=Sell a Property;url=/selling/;");
aI("text=Real Estate Agents;url=/askarealtor/index.cfm?fuseaction=listofagents;");
aI("text=PA Preferred Mortgage;url=http://www.papreferredmortgage.com/;target=new;");
aI("text=Preferred Insurance Agency;url=http://www.preferredinsuranceagency.com/;target=new;");
aI("text=Home Improvement;url=/homeservices/;");
aI("text=Relocation Services;url=/relocating/;");
aI("text=Senior Services;url=/seniorservices/;");
aI("text=Buying Services;url=/buying/index.cfm?fuseaction=buyingservices;");
aI("text=Value Range Marketing;url=/buying/index.cfm?fuseaction=vrminformation;");
aI("text=Guarantee of Service;url=/buying/index.cfm?fuseaction=guarantee;");
}

with(milonic=new menuname("Company")){
style=subMenuStyle;
top=81;
itemwidth=95;
aI("text=About Us;url=/about/;");
aI("text=Careers;url=/careers/;");
aI("text=Ask a Realtor;url=/askarealtor/;");
}

drawMenus();