/***********************************************************************************
*	(c) Ger Versluis 2000 version simple 4 April 2002	          *
*	You may use this script on non commercial sites.	          *
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/
	var NoOffFirstLineMenus=7;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="92887f";			// Background color when mouse is not over
	var HighBgColor="E3DFD4";			// Background color when mouse is over
	var FontLowColor="white";			// Font color when mouse is not over
	var FontHighColor="black";			// Font color when mouse is over
	var BorderColor="7b746c";			// Border color
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial, verdana"	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="center";		// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.5;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.9;			// vertical overlap child/ parent
	var StartTop=152;				// Menu offset x coordinate
	var StartLeft=2;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=300;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="navig";			// Frame where first level appears
	var SecLineFrame="space";			// Frame where sub levels appear
	var DocTargetFrame="space";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var PartOfWindow=.8;				// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE5+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var MenuSlide="";
//	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.3, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
//	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=90)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width);
Menu1=new Array("Open Houses","openhouses.html","",0,20,100);
Menu2=new Array("Selling","selling.html","",15,20,75);
                Menu2_1=new Array("Agree on a Marketing Plan","selling1.html","",0,20,225);
                Menu2_2=new Array("Before You Move","selling2.html","",0,20,225);
                Menu2_3=new Array("Selling Cost Estimator","javascript:NewWin=window.open(\"http://www.ramautor.com/sce.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150);
                Menu2_4=new Array("FREE Market Evaluation","cma.html","",0,20,225);
                Menu2_5=new Array("Determining the Value of Your Home","selling5.html","",0,20,225);
                Menu2_6=new Array("Factors That Influence Overpricing","selling6.html","",0,20,225);
                Menu2_7=new Array("Glossary of Terms","selling7.html","",0,20,225);
                Menu2_8=new Array("Preparing for a Home Inspection","selling8.html","",0,20,225);
                Menu2_9=new Array("Preparing to Show Your Home","selling9.html","",0,20,225); 
                Menu2_10=new Array("Pricing Your Property","selling10.html","",0,20,225);
                Menu2_11=new Array("Renovating for Resale","selling11.html","",0,20,225); 
                Menu2_12=new Array("Signing a Listing Agreement","selling12.html","",0,20,225); 
                Menu2_13=new Array("The Major Elements of an Offer","selling13.html","",0,20,225);
                Menu2_14=new Array("Understanding Market Conditions","selling14.html","",0,20,225); 
                Menu2_15=new Array("Why Use an Agent?","selling15.html","",0,20,225);





Menu3=new Array("Buying","buying.html","",19,20,75);

  Menu3_1=new Array("Advertisement Abbreviations","buying7.html","",0,20,200);
  Menu3_2=new Array("Before You Move","buying4.html","",0,20,200);
  Menu3_3=new Array("Calculators","","",3,20,200); 
          Menu3_3_1=new Array("Closing Cost Estimator","javascript:NewWin=window.open(\"http://www.royallepage.ca/CMSTemplates/calculators/buying_cost.aspx\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150);
          Menu3_3_2=new Array("Land Transfer Tax","javascript:NewWin=window.open(\"http://www.royallepage.ca/CMSTemplates/Calculators/land_transfer.aspx\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150);
          Menu3_3_3=new Array("Mortgage Calculator","javascript:NewWin=window.open(\"https://secure.preschoicefinancial.ca/cgi-bin/WebObjects/RoyalLePageMortgage.woa/wa/PCF/RoyalLePage\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150);
  Menu3_4=new Array("Closing the Deal","buying16.html","",0,20,200);
  Menu3_5=new Array("Expenses Incurred","buying10.html","",0,20,200);
  Menu3_6=new Array("Finding the Right Neighbourhood","buying5.html","",0,20,200);
  Menu3_7=new Array("Glossary of Terms","buying1.html","",0,20,200);
  Menu3_8=new Array("Hiring a Legal Professional","buying9.html","",0,20,200);
  Menu3_9=new Array("Home Inspections","buying8.html","",0,20,200);
  Menu3_10=new Array("Land Transfer Tax","buying12.html","",0,20,200);
  Menu3_11=new Array("Make an Offer","buying15.html","",0,20,200);
  Menu3_12=new Array("Moving Tips","buying13.html","",0,20,200);
  Menu3_13=new Array("The Moving Manual - PDF","MovingManual.pdf","",0,20,200);
  Menu3_14=new Array("Options for Retirees","buying14.html","",0,20,200);
  Menu3_15=new Array("Pre-approved Mortgages","buying11.html","",0,20,200);
  Menu3_16=new Array("Survey of Canadian House Prices","chpsurvey.html","",0,20,200);
  Menu3_17=new Array("Types of Home Ownership","buying3.html","",0,20,200); 
  Menu3_18=new Array("Touring an Open House","buying6.html","",0,20,200);
  Menu3_19=new Array("Why Use an Agent?","buying2.html","",0,20,200); 


Menu4=new Array("Listings","listings.html","",5,20,75);   
   Menu4_1=new Array("Current Listings","currentlistings.html","",0,20,200);
   Menu4_2=new Array("Condos","condos.html","",0,20,200);    
Menu4_3=new Array("Townhouses","townhouses.html","",0,20,200);    
   Menu4_4=new Array("New Construction","newconstruction.html","",2,20,200);  
        Menu4_4_1=new Array("SAVIC Homes","newconstruction.html","",0,20,200); 
        Menu4_4_2=new Array("Tarion New Home Warranty Forms","newhomeconstruction.html","",0,20,200);

  
   Menu4_5=new Array("MLS Listings","otherlistings.html","",0,20,200);        
           
           
Menu5=new Array("Mortgages","mortgages.html","",7,20,100); 
          Menu5_1=new Array("General Mortgage Information","mortgages.html","",7,20,325);
              Menu5_1_1=new Array("Choosing an Amortization Period","mortgages.html#choosing","",1,20,200);
                      Menu5_1_1_1=new Array("Approximate Mortgage Calculator","mortgages.html#approximate","",0,20,200);
              Menu5_1_2=new Array("Deciding on a Term","mortgages.html#deciding","",3,20,200);
                      Menu5_1_2_1=new Array("Open Versus Closed","mortgages.html#open","",0,20,250);
                      Menu5_1_2_2=new Array("Short Versus Long","mortgages.html#short","",0,20,250);
                      Menu5_1_2_3=new Array("The Effect of Interest Rates on the Term","mortgages.html#effect","",0,20,250);
              Menu5_1_3=new Array("Different Types of Mortgages","mortgages.html#different","",2,20,200);
                      Menu5_1_3_1=new Array("Conventional Mortgage","mortgages.html#conventional","",0,20,200);
                      Menu5_1_3_2=new Array("High Ratio Mortgage","mortgages.html#high","",0,20,200);
              Menu5_1_4=new Array("Interest Adjustment (Closing)","mortgages.html#interest","",0,20,200);
              Menu5_1_5=new Array("Payment Options","mortgages.html#payment","",1,20,200);
                      Menu5_1_5_1=new Array("Biweekly Mortgage Calculator","mortgages.html#biweekly","",0,20,200);
              Menu5_1_6=new Array("Prepayment Privileges","mortgages.html#prepayment","",0,20,200);
              Menu5_1_7=new Array("Your Down Payment","mortgages.html#your","",0,20,325);


          Menu5_2=new Array("Interest Rates and Prepayments","mortgages2.html","",0,20,325);
          Menu5_3=new Array("Total Debt Service Ratio (TDS)","mortgages3.html","",0,20,325);
          Menu5_4=new Array("Questions and Answers About Mortgages","mortgages4.html","",0,20,325);
          Menu5_5=new Array("RRSP Home Buyers' Plan","mortgages5.html","",2,20,325);
              Menu5_5_1=new Array("Participation Requirements","mortgages5.html","",0,20,200);
              Menu5_5_2=new Array("Repayment of Your Withdrawals","mortgages5.html#withdrawls","",0,20,200);
          Menu5_6=new Array("What Information Does a Financial Institution Require?","mortgages6.html","",2,20,325);
              Menu5_6_1=new Array("Applicant to Provide","mortgages6.html#applicant","",0,20,200);
              Menu5_6_2=new Array("Real Estate Agent to Provide","mortgages6.html#real","",0,20,200);
          Menu5_7=new Array("GET PRE-APPROVED","mortgageprequalifying.html","",0,20,200);
          
Menu6=new Array("NEW HOMES / Info","newhomeconstruction.html","",4,20,150);

Menu6_1=new Array("Top 10 Tips for New Home Buyers (Tarion)","javascript:NewWin=window.open(\"http://www.tarion.com/HOME/New+Home+Buyers/Top+Ten+Tips+for+New+Home+Buyers/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,275);    

Menu6_2=new Array("Making the Deal (Tarion)","javascript:NewWin=window.open(\"http://www.tarion.com/HOME/New+Home+Buyers/Making+the+Deal/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,275);

Menu6_3=new Array("Understanding Deposit Protection (Tarion)","javascript:NewWin=window.open(\"http://www.tarion.com/HOME/New+Home+Buyers/Understanding+Deposit+Protection/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,275);
Menu6_4=new Array("Your Pre-Delivery Inspection (PDI) (Tarion)","javascript:NewWin=window.open(\"http://www.tarion.com/HOME/New+Home+Buyers/Your+Pre-Delivery+Inspection/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,275);



Menu7=new Array("Community Information","communityinfo.html","",0,0,115);


