//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=0
oCMenu.fromTop=0  
oCMenu.rows=1
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="../js/" 
oCMenu.onlineRoot="../js/" 
oCMenu.resizeCheck=1 
oCMenu.wait=500
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="99.9%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=100
oCMenu.level[0].height=18 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=0
oCMenu.level[0].cliptim=0
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.3)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=195
oCMenu.level[1].height=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=15
oCMenu.level[1].cliptim=15
//special animation filters
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','Home',"../default.html","","","","","","","","","","","","window.status='Return back to the main page'","window.status=''")
	oCMenu.makeMenu('sub00','top0','Refer a Friend, and WIN!','../general_referral.html','','','','','','','','','','',"","window.status='Refer a Friend, and WIN!'","window.status=''")
	oCMenu.makeMenu('sub01','top0','Why Is This Information Free?','../general_why_is_all_this_information_provided_for_free.html','','','','','','','','','','',"","window.status='Why Is This Information Free?'","window.status=''")
	oCMenu.makeMenu('sub02','top0','Meet Our Team','../general_how_to_get_your_agent_to_work_twice_as_hard.html','','','','','','','','','','',"","window.status='Meet Our Team'","window.status=''")
	oCMenu.makeMenu('sub03','top0','Questions? Ask an Expert!','../general_ask_a_real_estate_expert.html','','','','','','','','','','',"","window.status='Questions? Ask an Expert!'","window.status=''")
	oCMenu.makeMenu('sub04','top0','What Clients Say','../general_testimonials.html','','','','','','','','','','',"","window.status='What Clients Say'","window.status=''")
	oCMenu.makeMenu('sub05','top0','Read This Before Hiring an Agent','../general_10_questions_you_must_ask_when_interviewing_an_agent.html','','','','','','','','','','',"","window.status='Read This Before Hiring an Agent'","window.status=''")

oCMenu.makeMenu('top1','','Buyers',"../buyers.html","","","","","","","","","","","","window.status='Buyers Information Page'","window.status=''") 
	oCMenu.makeMenu('sub10','top1','Free VIP Buyers Program','../buyers_you_can_become_a_vip_buyer_and_beat_other_buyers_to_hot_new_listings.html','','','','','','','','','','',"","window.status='Free VIP Buyers Program'","window.status=''")
	oCMenu.makeMenu('sub12','top1','Stop Paying Rent NOW','../buyers_dont_pay_another_cent_in_rent_to_your_landlord.html','','','','','','','','','','',"","window.status='Stop Paying Rent NOW'","window.status=''")
	oCMenu.makeMenu('sub15','top1','Featured Homes For Sale','../buyers_our_homes_for_sale.html','','','','','','','','','','',"","window.status='Featured Homes For Sale'","window.status=''")
	oCMenu.makeMenu('sub16','top1','Mortgage Calculator','../php/mortgage_calculator.php','','','','','','','','','','',"","window.status='Mortgage Calculator'","window.status=''")
	oCMenu.makeMenu('sub17','top1','Beware 13 Extra Costs','../buyers_13_extra_costs_to_be_aware_of_before_buying_a_home.html','','','','','','','','','','',"","window.status='Beware 13 Extra Costs'","window.status=''")
	oCMenu.makeMenu('sub18','top1','Learn How to Save Thousands','../buyers_how_to_save_thousands_of_dollars_when_you_buy.html','','','','','','','','','','',"","window.status='Learn How to Save Thousands'","window.status=''")
	oCMenu.makeMenu('sub19','top1','FREE Property Search','../buyers_free_online_mls_home_search.html','','','','','','','','','','',"","window.status='FREE Property Search'","window.status=''")
	oCMenu.makeMenu('sub120','top1','Best Financing Rates','../buyers_secure_the_best_financing_rates_when_buying_a_home.html','','','','','','','','','','',"","window.status='Best Financing Rates'","window.status=''")
	oCMenu.makeMenu('sub122','top1','New Homes vs. Resale','../buyers_10_secrets_every_new_home_buyer_should_know.html','','','','','','','','','','',"","window.status='New Homes vs. Resale'","window.status=''")
	oCMenu.makeMenu('sub123','top1','Danger! Buyer Traps','../buyers_how_to_avoid_9_common_buyer_traps_before_buying_a_home.html','','','','','','','','','','',"","window.status='Danger! Buyer Traps'","window.status=''")
	oCMenu.makeMenu('sub124','top1','6 Common Buyer Mistakes','../buyers_discover_how_to_avoid_the_6_biggest_mistakes_homebuyers_make.html','','','','','','','','','','',"","window.status='6 Common Buyer Mistakes'","window.status=''")
	oCMenu.makeMenu('sub125','top1','Open House Schedules','../buyers_open_house_schedule.html','','','','','','','','','','',"","window.status='Open House Schedules'","window.status=''")
	oCMenu.makeMenu('sub127','top1','Moving Up or Upgrading?','../buyers_6_mistakes_to_avoid_when_moving_to_a_larger_home.html','','','','','','','','','','',"","window.status='Moving Up or Upgrading?'","window.status=''")
	
oCMenu.makeMenu('top2','','Sellers',"../sellers.html","","","","","","","","","","","","window.status='Sellers Information Page'","window.status=''") 
	oCMenu.makeMenu('sub21','top2','Free Home Evaluation','../sellers_free_quick_home_evaluation.html','','','','','','','','','','',"","window.status='Free Home Evaluation'","window.status=''")
	oCMenu.makeMenu('sub22','top2','Sell Your Home For More','../sellers_sell_for_more.html','','','','','','','','','','',"","window.status='Sell Your Home For More'","window.status=''")
	oCMenu.makeMenu('sub231','top2','27 Valuable Seller Tips','../sellers_27_quick_and_easy_fix_ups_to_sell_your_home_fast_and_for_top_dollar.html','','','','','','','','','','',"","window.status='27 Valuable Seller Tips'","window.status=''")
	oCMenu.makeMenu('sub232','top2','For Sale By Owner','../sellers_how_to_sell_your_home_without_an_agent.html','','','','','','','','','','',"","window.status='For Sale By Owner'","window.status=''")
	oCMenu.makeMenu('sub233','top2',"Your House Didn't Sell",'../sellers_how_to_sell_a_house_that_didnt_sell.html','','','','','','','','','','',"","window.status='Your House Didnt Sell'","window.status=''")
	oCMenu.makeMenu('sub234','top2','Prices in Your Area','../sellers_find_out_what_the_home_down_the_street_sold_for.html','','','','','','','','','','',"","window.status='Prices in Your Area'","window.status=''")
	oCMenu.makeMenu('sub235','top2','Avoid These Seller Mistakes','../sellers_which_of_these_costly_home_seller_mistakes_will_you_make_when_you_sell_your_home.html','','','','','','','','','','',"","window.status='Avoid These Seller Mistakes'","window.status=''")
	oCMenu.makeMenu('sub236','top2','Pass Your Inspections','../sellers_11_high_cost_inspection_traps_you_should_know_about_weeks_before_listing_your_home_for_sale.html','','','','','','','','','','',"","window.status='Pass Your Inspections'","window.status=''")
	oCMenu.makeMenu('sub237','top2','Divorce and Your Home','../sellers_divorce_what_you_need_to_know_about_your_house,_your_home_loan_and_taxes.html','','','','','','','','','','',"","window.status='Divorce and Your Home'","window.status=''")
	oCMenu.makeMenu('sub238','top2','When Will It Sell?','../sellers_how_long_will_it_take_to_sell_your_home.html','','','','','','','','','','',"","window.status='When Will It Sell?'","window.status=''")
	oCMenu.makeMenu('sub239','top2','Buy First or Sell First?','../sellers_how_to_avoid_getting_stuck_with_two_homes.html','','','','','','','','','','',"","window.status='Buy First or Sell First?'","window.status=''")
	oCMenu.makeMenu('sub230','top2','Selling Your Home Fast!','../sellers_how_to_sell_the_place_you_call_home_-_avoid_the_mistakes_that_could_cost_you_thousands_of_dollars.html','','','','','','','','','','',"","window.status='Selling Your Home Fast!'","window.status=''")
	oCMenu.makeMenu('sub255','top2','Avoid Legal Mistakes','../sellers_how_to_avoid_costly_legal_mistakes.html','','','','','','','','','','',"","window.status='Avoid Legal Mistakes'","window.status=''")
	oCMenu.makeMenu('sub266','top2','Getting the Best Price!','../sellers_get_the_highest_price_you_can_when_you_sell_your_home.html','','','','','','','','','','',"","window.status='Getting the Best Price!'","window.status=''")
	oCMenu.makeMenu('sub288','top2','Getting YOUR Price!','../sellers_how_to_get_the_price_you_want_and_need.html','','','','','','','','','','',"","window.status='Getting YOUR Price!'","window.status=''")
	oCMenu.makeMenu('sub289','top2','Lower Your Mortgage Payments Now!','../refinance.html','','','','','','','','','','',"","window.status='Lower Your Mortgage Payments Now!'","window.status=''")
	
oCMenu.makeMenu('top3','','Extra')
	oCMenu.makeMenu('sub31','top3','Free Insurance Quotes','../insurance.html','','','','','','','','','','',"","window.status='Free Insurance Quotes'","window.status=''")
	oCMenu.makeMenu('sub32','top3','Professional Web Hosting','../professionalwebhosting.html','','','','','','','','','','',"","window.status='Professional Web Hosting'","window.status=''")

oCMenu.makeMenu('top4','','Contact Us')
	oCMenu.makeMenu('sub41','top4','Have Any Questions? Contact Us','../general_contact.html','','','','','','','','','','',"","window.status='Have Any Questions? Contact Us'","window.status=''")
	
oCMenu.makeMenu('top5','','Send to a Friend')
	oCMenu.makeMenu('sub51','top5','Send This Page to a Friend','',"","","","","","","","","","","window.open('../php/recform.php?ref='+self.location.href,'page','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=400,left=100,top=100,titlebar=yes')","window.status='Send this page to a friend'","window.status=''")

//Leave this line - it constructs the menu
oCMenu.construct()
