//<![CDATA[

/*************************************************
Top menu for EZHome web site
**************************************************/


_menuCloseDelay=250           	// The time delay for menus to remain visible on mouse out
_menuOpenDelay=0            	// The time delay before menus open on mouse over
_followSpeed=20                	// Follow scrolling speed
_followRate=20                	// Follow scrolling Rate
_subOffsetTop=3              	// Sub menu top offset
_subOffsetLeft=-6            	// Sub menu left offset
_scrollAmount=3               	// Only needed for Netscape 4.x
_scrollDelay=20               	// Only needed for Netcsape 4.x


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *																					   *
 * 	Style definitions																   *
 *																					   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 			*/
	with(mainMenuStyle=new mm_style()){
		fontsize="8pt";
		fontweight="bold";
		padding="2";
		oncolor="#000000";
		offcolor="#663366";
		bordercolor="#003366";
		borderstyle="solid";
		borderwidth=1;
		separatorcolor="#003366";
		separatorsize="1";
		menubgimage="http://www.ezhome.ie/images/menu/menuback.gif";
		subimage="http://www.ezhome.ie/images/menu/startarrow.gif";
		subimageposition="left";
		//subimagepadding="0";
	}
	
	with(menuStyle=new mm_style()){
		fontsize="8pt";
		fontweight="bold";
		padding="4";
		onbgcolor="#F0E369";
		oncolor="#663366";
		offbgcolor="#A792C1";
		offcolor="#003366";
		bordercolor="#003366";
		borderstyle="solid";
		borderwidth=1;
		separatorcolor="#003366";
		separatorsize="1";
		subimage="http://www.ezhome.ie/images/menu/menuarrow.gif";
		itemwidth="120";
	}

	with(subMenuStyle=new mm_style()){
		//align="left";
		fontsize="7pt";
		fontweight="bold";
		padding="4";
		onbgcolor="#003366";
		oncolor="#FFFFFF";
		offbgcolor="#684B8D";
		offcolor="#CBC1D6";
		bordercolor="#333333";
		borderstyle="solid";
		borderwidth=1;
		separatorcolor="#333333";
		separatorsize="1";
		subimage="http://www.ezhome.ie/images/menu/menuarrow.gif";
	}

	with(mainMenuStyleA=new mm_style()){
		fontsize="8pt";
		fontweight="bold";
		padding="2";
		oncolor="#000000";
		offcolor="#EEB848";
		bordercolor="#000000";
		borderstyle="solid";
		borderwidth=1;
		separatorcolor="#000000";
		separatorsize="1";
		menubgimage="http://www.ezhome.ie/images/menu/menubackA.gif";
		subimage="http://www.ezhome.ie/images/menu/startarrowA.gif";
		subimageposition="left";
		//subimagepadding="0";
	}
	
	with(menuStyleA=new mm_style()){
		fontsize="8pt";
		fontweight="bold";
		padding="4";
		onbgcolor="#F0E369";
		oncolor="#663366";
		offbgcolor="#A792C1";
		offcolor="#003366";
		bordercolor="#003366";
		borderstyle="solid";
		borderwidth=1;
		separatorcolor="#003366";
		separatorsize="1";
		subimage="http://www.ezhome.ie/images/menu/menuarrow.gif";
		itemwidth="120";
	}

	with(subMenuStyleA=new mm_style()){
		//align="left";
		fontsize="7pt";
		fontweight="bold";
		padding="4";
		onbgcolor="#003366";
		oncolor="#FFFFFF";
		offbgcolor="#684B8D";
		offcolor="#CBC1D6";
		bordercolor="#333333";
		borderstyle="solid";
		borderwidth=1;
		separatorcolor="#333333";
		separatorsize="1";
		subimage="http://www.ezhome.ie/images/menu/menuarrow.gif";
	}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *																					   *
 * 	Main Menu        																   *
 *																					   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 			*/
	//with(milonic=new menuname("mainmenu")){
		//alwaysvisible=1;
		//left=338;
		//margin=2;
		//orientation="horizontal";
		//top=150;
		//style=mainMenuStyle;
		//aI("text=Our Services;showmenu=ourservices;url=services/index.html;status=Our Services");
		//aI("text=Guides;showmenu=guides;status=Guides");
		//aI("text=Tools;showmenu=tools;status=Tools");
		//aI("text=Case Studies;showmenu=casestudies;status=Case Studies");
		//aI("text=Press Room;url=pressroom/index.html;status=Press Room");
		//aI("text=Apply Now;url=apply/applicationwizard.asp;status=Apply Now");
	//}
	
	with(milonic=new menuname("ourservices")){
		style=menuStyle;
		aI("text=First Time Buyer;url=http://www.ezhome.ie/services/index.html");
		aI("text=Investor;url=http://www.ezhome.ie/services/investor.html;");
		aI("text=Remortgaging;url=http://www.ezhome.ie/services/remortgage.html;");
		aI("text=Trading Up;url=http://www.ezhome.ie/services/tradingup.html;");
	}
	
	with(milonic=new menuname("guides")){
		style=menuStyle;
		aI("text=Mortgages;showmenu=mortgages;url=http://www.ezhome.ie/ezguides/index.html;");
		aI("text=Insurances;showmenu=insurance;url=http://www.ezhome.ie/ezguides/insurances.html;");
		aI("text=Legal;showmenu=legal;url=http://www.ezhome.ie/ezguides/legal.html;");
		aI("text=Life Assurance;showmenu=assurance;url=http://www.ezhome.ie/ezguides/life.html;");
	}
	
		with(milonic=new menuname("mortgages")){
			style=subMenuStyle;
			aI("text=Mortgages Overview;url=http://www.ezhome.ie/ezguides/index.html;");
			aI("text=Approval in Principle;url=http://www.ezhome.ie/ezguides/approval.html;");
			aI("text=How Much Can I Borrow?;url=http://www.ezhome.ie/eztools/calc-howmuch.asp;");
			aI("text=Importance of Credit History;url=http://www.ezhome.ie/ezguides/credithistory.html;");
			aI("text=Mortgage Interest Relief;url=http://www.ezhome.ie/ezguides/relief.html;");
			aI("text=Pension Mortgages;url=http://www.ezhome.ie/ezguides/pension.html;");
			aI("text=Stamp Duty;url=http://www.ezhome.ie/ezguides/stampduty.html;");
		}
		
		with(milonic=new menuname("insurance")){
			style=subMenuStyle;
			aI("text=Buildings Insurance;url=http://www.ezhome.ie/ezguides/insurances.html;");
			aI("text=Contents Insurance;url=http://www.ezhome.ie/ezguides/contents-ins.html;");
			aI("text=Buildings Insurance FAQs;url=http://www.ezhome.ie/ezguides/buildings-faq.html;");
		}
		
		with(milonic=new menuname("legal")){
			style=subMenuStyle;
			aI("text=What is Conveyancing?;url=http://www.ezhome.ie/ezguides/legal.html;");
		}
		
		with(milonic=new menuname("assurance")){
			style=subMenuStyle;
			aI("text=What is Life Assurance?;url=http://www.ezhome.ie/ezguides/life.html;");
			aI("text=Types of Cover;url=http://www.ezhome.ie/ezguides/life-cover.html;");
			aI("text=Approval Process;url=http://www.ezhome.ie/ezguides/life-approval.html;");
			}
	
	with(milonic=new menuname("tools")){
		style=menuStyle;
		aI("text=Calculators;showmenu=calculators;url=http://www.ezhome.ie/eztools/index.asp;");
		aI("text=Downloads;showmenu=downloads;url=http://www.ezhome.ie/eztools/downloads.html;");
	}
	
			with(milonic=new menuname("calculators")){
				style=subMenuStyle;
				aI("text=Mortgage Repayments;url=http://www.ezhome.ie/eztools/index.asp;");
				aI("text=How Much Can I Borrow?;url=http://www.ezhome.ie/eztools/calc-howmuch.asp;");
				aI("text=Refinancing;url=http://www.ezhome.ie/eztools/calc-refinancing.asp;");
				aI("text=Investment Returns;url=http://www.ezhome.ie/eztools/calc-investment.asp;");
				aI("text=Budgeting;url=http://www.ezhome.ie/eztools/calc-budget.asp;");
			}

			with(milonic=new menuname("downloads")){
				style=subMenuStyle;
				aI("text=Checklists;url=http://www.ezhome.ie/eztools/downloads.html;");
				aI("text=epak;url=http://www.ezhome.ie/eztools/down-epak.html;");
			}
	
		with(milonic=new menuname("casestudies")){
			style=menuStyle;
			aI("text=First-Time-Buyers;url=http://www.ezhome.ie/casestudies/index.asp;");
			aI("text=Investors;url=http://www.ezhome.ie/casestudies/investor.asp;");
			aI("text=Trading Up;url=http://www.ezhome.ie/casestudies/tradingup.asp;");
			aI("text=Remortgaging;url=http://www.ezhome.ie/eztools/calc-refinancing.asp;");
			aI("text=Advantage Plus;url=http://www.ezhome.ie/casestudies/Advantage.asp;");

		}

	
	drawMenus();

	
//]]>