// Copyright (C) 2009-2011 CSSMenuTools Ltd. All rights reserved.
// http://www.cssmenutools.com
// ProductID:HorizontalMenu
// VERSION:2.0.2.0
// Registered to: PeterReynolds

/*
COMMON_STYLE:[Level-1,0,23,1,1,'Verdana,Arial,Helvetica,sans-serif',11,1,0,0,1,0,0,1,0,0,#6bac44,#ffffff,#ffffff,#ffffff,#6bac44,#ffffff,#6bac44,#ffffff,#ffffff,0,1,145,20,0,1,5,5,3,0,0,0,,,,,,,,,],[Level-1-arrow,0,24,1,1,'Verdana,Arial,Helvetica,sans-serif',11,1,0,0,1,0,0,1,0,0,#6bac44,#ffffff,#ffffff,#ffffff,#6bac44,#ffffff,#6bac44,#ffffff,#ffffff,0,1,145,20,0,1,5,5,3,0,0,0,,,file:///C:/Program%20Files/CSSMenuTools/Shared/CSSMenuTools/Presets/HorizontalMenu/Text-only/Gray%20and%20Light-Blue/Images/hm_1st_arrow.gif,,,,,,],[Level-2,0,11,1,1,'Arial,Helvetica,sans-serif',12,0,0,0,0,0,0,0,0,0,,#666666,#ffffff,,#7d9ec0,#7d9ec0,,#388e8e,#ffffff,1,1,250,20,0,1,5,5,7,3,0,0,,,,,,,,,],[Level-2-arrow,0,12,1,1,'Arial,Helvetica,sans-serif',12,0,0,0,0,0,0,0,0,0,,#666666,#ffffff,,#7d9ec0,#7d9ec0,,#7b7bc0,#ffffff,1,1,250,20,0,1,5,5,7,3,0,0,,,file:///C:/Program%20Files/CSSMenuTools/Shared/CSSMenuTools/Presets/HorizontalMenu/Text-only/Gray%20and%20Light-Blue/Images/hm_2nd_arrow.gif,,,,,,],[Level-3,0,5,1,1,'Arial,Helvetica,sans-serif',12,0,0,0,0,0,0,0,0,0,,#666666,#7d9ec0,#7d9ec0,#ffffff,#7b7bc0,#ffffff,#7b7bc0,#7b7bc0,1,1,400,20,0,1,5,5,7,3,0,0,,,,,,,,,],[]
*/
var bbKIcaA = {
dummy:0,
MENU_NAME:'global horizontal menu',
USE_TOPLEVEL_WIDTH:false,
USE_TOPLEVEL_HEIGHT:false,
TOPLEVEL_WIDTH:735,
TOPLEVEL_HEIGHT:36,
TOPLEVEL_SPACING:0,
TOPLEVEL_TOP_PADDING:0,
TOPLEVEL_BORDER_WIDTH:0,
TOPLEVEL_BORDER_COLOR:'#6bac44',
TOPLEVEL_BG_COLOR:'',
USE_TOPLEVEL_BG_IMAGES:false,
TOPLEVEL_BG_LEFT_IMAGE:'',
TOPLEVEL_BG_MIDDLE_IMAGE:'',
TOPLEVEL_BG_RIGHT_IMAGE:'',
LEVEL2_MODE:1,
LEVEL2_HEIGHT:28,
LEVEL2_SPACING:8,
LEVEL2_TOP_PADDING:0,
LEVEL2_BORDER_WIDTH:1,
LEVEL2_BORDER_COLOR:'#ffffff',
LEVEL2_BG_COLOR:'#c7e061',
USE_LEVEL2_BG_IMAGES:false,
LEVEL2_BG_LEFT_IMAGE:'',
LEVEL2_BG_MIDDLE_IMAGE:'',
LEVEL2_BG_RIGHT_IMAGE:'',
DROPDOWN_SPACING:1,
DROPDOWN_PADDING:1,
DROPDOWN_FLEVEL_OFFSET_X:0,
DROPDOWN_FLEVEL_OFFSET_Y:0,
DROPDOWN_SUBLEVEL_OFFSET_X:1,
DROPDOWN_SUBLEVEL_OFFSET_Y:0,
DROPDOWN_OPEN_EFFECT:1,
DROPDOWN_OPEN_SPEED:10,
DROPDOWN_CLOSE_EFFECT:1,
DROPDOWN_CLOSE_SPEED:10,
DROPDOWN_DELAY:300,
DROPDOWN_SHADOW:false,
DROPDOWN_BG_COLOR:'#ffffff',
DROPDOWN_BORDER_COLOR:'#7d9ec0',
DROPDOWN_BORDER_WIDTH:1,
DROPDOWN_OPACITY:100,
USE_ABSOLUTE_POS:false,
X:0,
Y:0,
Z_INDEX:50,
SEO_LINKS:0,
KEYBOARD:false,
LANGUAGE_RTL:false,
PREVIEW_BACKGROUND_COLOR:'#ffffff',
STREAM:[0,10,0,"Level-1","Home","",0,'http://www.maharishi.co.uk/index.html','_self',1,"Level-1-arrow","Shop","",0,'http://www.maharishi.co.uk/acatalog/','_self',6,"Level-1-arrow","Products","",0,'http://www.maharishi.co.uk/welcome/products-by-type.htm','_self',0,"Level-1","Catalogue","Free Products Catalogue",0,'http://www.maharishi.co.uk/menu/request-catalogue.htm','_self',0,"Level-1","Offers","Customer Special Offers &amp; Promotions",0,'http://www.maharishi.co.uk/specialoffers/index.htm','_self',7,"Level-1-arrow","Newsletter","",0,'http://www.maharishi.co.uk/newsletters/index.htm','_self',8,"Level-1-arrow","About Us","",0,'http://www.maharishi.co.uk/welcome/index.htm','_self',10,"Level-1-arrow","Health Advice","",0,'http://www.maharishi.co.uk/welcome/health-advice.htm','_self',11,"Level-1-arrow","Treatments","",0,'http://www.maharishi.co.uk/welcome/getting-started-with-maharishi-ayurveda.htm','_self',12,"Level-1-arrow","Search","",0,'http://www.maharishi.co.uk/menu/topic-search.htm','_self',1,20,0,"Level-2","Save with 3-Packs","",0,'http://www.maharishi.co.uk/acatalog/3-Packs_with_20__off.html','_self',0,"Level-2","Kapha Season Products","",0,'http://www.maharishi.co.uk/acatalog/Kapha_Season_Products.html','_self',0,"Level-2","Pitta Season Products","",0,'http://www.maharishi.co.uk/acatalog/Pitta_Season_Products.html','_self',0,"Level-2","Vata Season Products","",0,'http://www.maharishi.co.uk/acatalog/Vata_Season_Products.html','_self',0,"Level-2","Ayurveda Health Audio CDs","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ayurveda_Health_Audio_CDs_4.html','_self',2,"Level-2-arrow","Natural Beauty Products","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Natural_Beauty_Products_112.html','_self',0,"Level-2","Massage Oil","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Massage_Oil_120.html','_self',0,"Level-2","Oral Hygiene","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Oral_Hygiene_2.html','_self',0,"Level-2","Amrit Kalash","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Amrit_Kalash_1.html','_self',3,"Level-2-arrow","Nutritional Herbal Supplements","Self Selection",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Herbal_Supplements_21.html','_self',0,"Level-2","MA Food Supplements","Recommended by Practitioners",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__MA_Food_Supplements_20.html','_self',4,"Level-2-arrow","Ayurvedic Beverages","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ayurvedic_Beverages_40.html','_self',0,"Level-2","Aromatherapy","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Aromatherapy_14.html','_self',5,"Level-2-arrow","Books &amp; CDs &amp; DVDs","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Books___CDs_62.html','_self',0,"Level-2","Vedic Music","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Vedic_Music_47.html','_self',0,"Level-2","Seasoning Blends","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Seasoning_Blends_11.html','_self',0,"Level-2","Ayurvedic Foods","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ayurvedic_Foods_9.html','_self',0,"Level-2","Ayurvedic Accessories","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ayurvedic_Accessories_13.html','_self',0,"Level-2","Gift Vouchers","",0,'http://www.maharishi.co.uk/acatalog/Gift_Vouchers.html','_self',0,"Level-2","Free Catalogues","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Free_Catalogues_46.html','_self',2,9,0,"Level-3","Soap","",0,'http://www.maharishi.co.uk/acatalog/Body_Care.html','_self',0,"Level-3","Facial Cream","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Facial_Cream_113.html','_self',0,"Level-3","Facial Mask","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Facial_Mask_117.html','_self',0,"Level-3","Cleansing Milk","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Cleansing_Milk_114.html','_self',0,"Level-3","Facial Toner","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Facial_Toner_115.html','_self',0,"Level-3","Body Lotion","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Body_Lotion_116.html','_self',0,"Level-3","Complete Care Packs","",0,'http://www.maharishi.co.uk/acatalog/Complete_Care_Packs.html','_self',0,"Level-3","Hair Oil","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Hair_Oil_121.html','_self',0,"Level-3","Shampoo","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Shampoo_119.html','_self',3,18,0,"Level-3","Women","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Women_32.html','_self',0,"Level-3","Men","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Men_35.html','_self',0,"Level-3","Seniors","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Seniors_26.html','_self',0,"Level-3","Pregnancy and Mother &amp; Baby","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Pregnancy_and_Mother___Baby_23.html','_self',0,"Level-3","Children","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Children_22.html','_self',0,"Level-3","Students","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Students_39.html','_self',0,"Level-3","Internal Cleansing","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Internal_Cleansing_34.html','_self',0,"Level-3","Digestion and Metabolism","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Digestion_and_Metabolism_29.html','_self',0,"Level-3","Digestion &amp; Weight Balance","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Digestion___Weight_Balance_27.html','_self',0,"Level-3","Mental Function and Emotional Balance","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Mental_Function_and_Emotional_Balance_30.html','_self',0,"Level-3","Sleep","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Sleep_28.html','_self',0,"Level-3","Sport Exercise and Fitness","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Sport_Exercise_and_Fitness_24.html','_self',0,"Level-3","Immune Support","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Immune_Support_31.html','_self',0,"Level-3","Hair and Skin","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Hair_and_Skin_33.html','_self',0,"Level-3","Cardiovascular Health","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Cardiovascular_Health_38.html','_self',0,"Level-3","Respiratory Health","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Respiratory_Health_36.html','_self',0,"Level-3","Joints Muscles and Bone","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Joints_Muscles_and_Bone_37.html','_self',0,"Level-3","Eye Support and Vitality","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__For_Eye_Support_and_Vitality_51.html','_self',4,4,0,"Level-3","Ayurvedic Herb &amp; Spice Teas","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ayurvedic_Herb___Spice_Teas_42.html','_self',0,"Level-3","Raja's Cup Ayurvedic Coffee Substitute","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Raja_s_Cup_Ayurvedic_Coffee_Substitute_43.html','_self',0,"Level-3","Almond Energy Drink Mix","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Almond_Energy_Drink_Mix_44.html','_self',0,"Level-3","Ingredients For Herbal Waters","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ingredients_For_Herbal_Waters_41.html','_self',5,10,0,"Level-3","Books by Maharishi Mahesh Yogi","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Books_by_Maharishi_Mahesh_Yogi_66.html','_self',0,"Level-3","Books on Transcendental Meditation","",0,'http://www.maharishi.co.uk/acatalog/Books_on_Transcendental_Meditation.html','_self',0,"Level-3","Books on  Ayurveda and Health","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Maharishi_Ayurveda_and_Health_63.html','_self',0,"Level-3","DVD - Live lectures by Dr Brennan","",0,'http://www.maharishi.co.uk/acatalog/Live_lectures_by_Dr_Donn_Brennan.html','_self',0,"Level-3","DVD - Historic Film Series","",0,'http://www.maharishi.co.uk/acatalog/Historic_Film_Series.html','_self',0,"Level-3","Human Physiology and Ramayana in the Human Physiology","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Human_Physiology_and_Ramayana_79.html','_self',0,"Level-3","Learning Sanskrit","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Sanskrit___The_Language_of_Nature_72.html','_self',0,"Level-3","Vedic Mathermatics","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Vedic_Mathematics_67.html','_self',0,"Level-3","Vedic Recitation","",0,'http://www.maharishi.co.uk/acatalog/Vedic_Recitations.html','_self',0,"Level-3","Ayurvedic Cook Books","",0,'http://www.maharishi.co.uk/acatalog/Maharishi_Ayur_Veda__Ayurvedic_Cook_Books_82.html','_self',6,10,0,"Level-2","Nutritional Food Supplements","Self Selection",0,'http://www.maharishi.co.uk/menu/nutritional-food-supplements.htm','_self',0,"Level-2","MA Food Supplements","Recommended by Practitioners",0,'http://www.maharishi.co.uk/menu/maharishi-ayurveda-food-supplements.htm','_self',0,"Level-2","Beverages","",0,'http://www.maharishi.co.uk/menu/beverages-herb-and-spice-teas.htm','_self',0,"Level-2","Spices &amp; Foods","",0,'http://www.maharishi.co.uk/menu/ayurveda-spices-and-foods.htm','_self',0,"Level-2","Aroma Products","",0,'http://www.maharishi.co.uk/menu/ayurveda-vedaroma-and-aromatherapy-supplies.htm','_self',0,"Level-2","Natural Cosmetics","",0,'http://www.maharishi.co.uk/personalcare/index.htm','_self',0,"Level-2","Gandharva Veda Music","",0,'http://www.maharishi.co.uk/gv/index.htm','_self',0,"Level-2","Books &amp; Audio CDs","",0,'http://www.maharishi.co.uk/menu/ayurveda-books-catalogue-index.htm','_self',0,"Level-2","Products by User Group","By Women, Men, Children, Seniors",0,'http://www.maharishi.co.uk/menu/products-by-user-group.htm','_self',0,"Level-2","Products by Health Concern","Digestion, Immune Support, Joints and More",0,'http://www.maharishi.co.uk/menu/products-by-health-concern.htm','_self',7,2,0,"Level-2","Read Newsletters","",0,'http://www.maharishi.co.uk/newsletters/index.htm','_self',0,"Level-2","Subcribe to Newsletter","",0,'http://www.maharishi.co.uk/menu/subscribe-to-your-ayurveda-newsletter.htm','_self',8,5,9,"Level-2-arrow","About Maharishi Ayurveda","",0,'http://www.maharishi.co.uk/about/index.htm','_self',0,"Level-2","How to Order &amp; Pay","",0,'http://www.maharishi.co.uk/menu/how-to-order-how-to-pay.htm','_self',0,"Level-2","Customer Guarantee","",0,'http://www.maharishi.co.uk/menu/customer-guarantee.htm','_self',0,"Level-2","Product Quality - Tested &amp; Safe","",0,'http://www.maharishi.co.uk/safety/index.htm','_self',0,"Level-2","Contact Us","",0,'http://www.maharishi.co.uk/cgi-bin/mf000001.pl?ACTION=SHOWFORM','_self',9,6,0,"Level-3","Getting Started","",0,'http://www.maharishi.co.uk/welcome/','_self',0,"Level-3","What, Why and How","",0,'http://www.maharishi.co.uk/welcome/about-maharishi-ayurveda.htm','_self',0,"Level-3","Catalogues &amp; Newsletters","",0,'http://www.maharishi.co.uk/welcome/ayurveda-education-promoting-health.htm','_self',0,"Level-3","Health Topics","",0,'http://www.maharishi.co.uk/welcome/health-advice.htm','_self',0,"Level-3","Products by Type","",0,'http://www.maharishi.co.uk/welcome/products-by-type.htm','_self',0,"Level-3","Products by Uses","",0,'http://www.maharishi.co.uk/welcome/products-by-users.htm','_self',10,6,0,"Level-2","Health Advice Videos","",0,'http://www.maharishi.co.uk/video/index.html','_self',0,"Level-2","Self Care Articles","",0,'http://www.maharishi.co.uk/selfcare/index.htm','_self',0,"Level-2","Vata, Pitta, Kapha Guide","",0,'http://www.maharishi.co.uk/balance/index.html','_self',0,"Level-2","Seasonal Tips","",0,'http://www.maharishi.co.uk/seasons/index.htm','_self',0,"Level-2","Product Information","",0,'http://www.maharishi.co.uk/products/index.htm','_self',0,"Level-2","Personal Care","",0,'http://www.maharishi.co.uk/personalcare/index.htm','_self',11,5,0,"Level-2","Getting Started","",0,'http://www.maharishi.co.uk/menu/getting-started-your-health-evaluation.htm','_self',0,"Level-2","Booking a Consultation","",0,'http://www.maharishi.co.uk/menu/getting-started-booking-ayurveda-consultations.htm','_self',0,"Level-2","Self Care","",0,'http://www.maharishi.co.uk/menu/getting-started-self-care.htm','_self',0,"Level-2","Spa Treatments","",0,'http://www.maharishi.co.uk/menu/getting-started-ayurveda-treatments.htm','_self',0,"Level-2","Health Centres","",0,'http://www.maharishi.co.uk/menu/getting-started-health-centres-clinics.htm','_self',12,3,0,"Level-2","Search for a Product","",0,'http://www.maharishi.co.uk/acatalog/search.html','_self',0,"Level-2","Topic Search","",0,'http://www.maharishi.co.uk/menu/topic-search.htm','_self',0,"Level-2","Site Map","",0,'http://www.maharishi.co.uk/menu/sitemap.htm','_self'],
END_PARAMETERS:1,
browser:function(){var ua=navigator.userAgent.toLowerCase()
var ind=ua.indexOf('gecko')
this.mozilla=ind>0&&ua.substr(ind).length<17
this.opera=ua.indexOf('opera')>=0
this.safari=ua.indexOf('safari')>=0
this.ie=document.all&&!this.opera
this.ie6=this.ie&&ua.indexOf('msie 6')>0
this.ie7=this.ie&&ua.indexOf('msie 7')>0
this.ie8=this.ie&&ua.indexOf('msie 8')>0
this.macie=this.ie&&ua.indexOf('mac')>=0
this.winie=this.ie&&!this.macie
this.compatMode=document.compatMode=="CSS1Compat"
this.ieCanvas=this.compatMode?document.documentElement:document.body
return this},
setPathAdjustment:function(ID){var sl=''
var sc=document.getElementsByTagName('script')
for(var i=0;i<sc.length;i++){if(sc[i].innerHTML.search(ID)>-1)sl=sc[i].src}this.SCRIPT_LOCATION=sl.substr(0, sl.lastIndexOf('/')+1)},
adjustPath:function(path){var idf=path.charAt(0)
if(idf=='*'||idf=='&')return this.SCRIPT_LOCATION+path.substr(1)
return path},
isCurrent:function(r){if(!r)return false
var l=location.href.replace(/ /g,'%20')
if(r.search('//')==-1){if(r.charAt(0)=='/')
r=l.replace(/(.*\/\/[^\/]*).*/,'$1')+r
else
r=l.replace(/[^\/]*$/,'')+r}do{var r1=r
r=r1.replace(/[^\/]*\/\.\.\//,'')}while(r!=r1)
return r==l},
addLoadEvent:function(f){var done=0
function w(){if(!done){done=1
f()}}if(document.addEventListener){document.addEventListener('DOMContentLoaded', w, false)}if(this.br.ie&&window==top)(function(){try{document.documentElement.doScroll('left')}catch(e){setTimeout(arguments.callee, 0)
return}w()})()
var oldf=window.onload
if(typeof oldf!='function'){window.onload=w}else{window.onload=function(){try{oldf()}catch(e){}w()}}},
init:function(){var m=this
m.br=new m.browser
m.ID='MTHMbbKIcaA'
m.setPathAdjustment('MTHMMenu script ID:'+m.ID+' ')
m.addLoadEvent(m.onload)},
onload:function(){setTimeout('bbKIcaA.start()',0)},
start:function(){var m=this
m.currentItem=null
m.items=new Array()
m.dropdowns=new Array()
m.styles=new Array()
m.lastFoid=-1
m.defFoid=0
m.timeout=null
m.interval=null
m.opacity=!m.br.ie8 ? 100:100
m.filter=
m.styles["Level-1"]={ind:1,mline_cntr:0};m.styles["Level-1-arrow"]={ind:2,mline_cntr:0};m.styles["Level-2"]={ind:3,mline_cntr:0};m.styles["Level-2-arrow"]={ind:4,mline_cntr:0};m.styles["Level-3"]={ind:5,mline_cntr:0};m.wrapper=document.getElementById(m.ID+'Div')
m.div=document.getElementById(m.ID+'Top')
var sPreloadTags="<ul>"
sPreloadTags+="<li class=\""+m.ID+"item1\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item1Cur\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item1Over\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item2\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item2Cur\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item2Over\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item3\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item3Cur\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item3Over\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item4\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item4Cur\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item4Over\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item5\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item5Cur\"><a><span>link</span></a></li>"
sPreloadTags+="<li class=\""+m.ID+"item5Over\"><a><span>link</span></a></li>"
sPreloadTags+="</ul>"
var e=document.createElement('div')
e.className=m.ID+'Preload'
e.innerHTML=sPreloadTags
document.getElementsByTagName('body')[0].appendChild(e)
if(m.br.ie6)m.wrapper.style.width=m.wrapper.offsetWidth+'px'
m.dropdowns[0]=new m.dropdown(m, null, 0, 0)
var i=0, st=m.STREAM
while(i<st.length){var index=st[i++]
var n=st[i++]
var foo=m.dropdowns[index]
var fo=foo.div
if(n==0){foo.isEmpty=true
continue}fo.onmouseover=m.onmouseover
fo.onmouseout=m.onmouseout
var typeNrm=0
var typeSrv=1
var btID=m.ID+'Bt_'+index+'_'
var linkID=m.ID+'Link_'+index+'_'
var fos='<ul>'
for(var j=0;j<n;j++){var it=m.items[linkID+j]=new Object
it.btID=btID+j
it.linkID=linkID+j
it.level=foo.level
it.childOpen=0
it.foid=index
it.cfoid=st[i++]
if(it.cfoid>0)m.dropdowns[it.cfoid]=new m.dropdown(m, it, it.cfoid, foo.level+1)
var stl=m.styles[st[i++]]
var clInd=stl.ind
var bUseTable=stl.mline_cntr&&(m.br.ie6||m.br.ie7)
var tagTxtOpen=bUseTable ? '<table cellspacing=0><tr><td><span>':'<span>'
var tagTxtClose=bUseTable ? '</span></td></tr></table>':'</span>'
var txt=st[i++]
var title=st[i++]
it.type=st[i++]
if(it.type==typeNrm){it.cls=m.ID+'item'+clInd
var href=m.adjustPath(st[i++])
it.sel=m.isCurrent(href)
it.href=href
it.target=st[i++]
if(it.target.substr(0,3)=='_MT'){it.func=st[i++]
it.params=st[i++]}if(foo.level>0){txt='<a id="'+it.linkID+'" href="'+(it.href?it.href:'#')+'" target="'+it.target+'" title="'+title+'">'+tagTxtOpen+txt+tagTxtClose+'</a>'
fos+='<li id="'+it.btID+'" class="'+it.cls+'">'+txt+'</li>'}}else if(it.type==typeSrv){if(foo.level>0){fos+='<li class="'+m.ID+'serv'+clInd+'" title="'+title+'"><div>'+tagTxtOpen+txt+tagTxtClose+'</div></li>'}}}fos+="</ul>"
if(foo.level>0)fo.innerHTML=fos
var SBWidth=0
var items=fo.getElementsByTagName('LI')
var len=items.length
if(foo.level>0){for(var j=0;j<len;j++){SBWidth=Math.max(SBWidth, items[j].offsetWidth)
if(j>0)items[j].style.marginTop=1+'px'}fo.style.width=SBWidth+'px'
fo.style.display='none'
if(m.br.ie6){fo.style.paddingTop=0
fo.children[0].style.marginTop=1+'px'}}var items=fo.getElementsByTagName('LI')
var len=items.length
for(var j=0;j<len;j++){var it=m.items[linkID+j]
if(it.type==typeSrv)continue
var btn=items[j]
var a=btn.getElementsByTagName('A')[0]
if(foo.level==0){a.id=linkID+j
btn.id=btID+j}if(it.sel){a.style.cursor='default'
while(it){var foCur=m.dropdowns[it.foid]
if(!it.selSet){it.selSet=true
if(!it.sel){it.selPar=true
btn=document.getElementById(it.btID)}btn.className=it.cls+' '+it.cls+'Cur'}it=foCur.itPar}}else{a.onmouseup=m.onmouseup}a.onfocus=function(){this.blur()};a.onclick=m.onclick}}m.updateDropdowns()},
onmouseover:function(evt){var m=bbKIcaA
m.cancelDropdownsUpdating()
var e=m.getSource(evt)
if(e)m.over(e)
else{var f=this.obj
m.lastFoid=f&&f.itPar ? f.itPar.cfoid:-1
m.updateDropdownsTimeLagged()}},
over:function(e){var m=this
var it=m.items[e.id]
if(it){m.currentItem=e
if(!it.sel&&(!it.selPar||!m.defFoid||it.level>0))e.parentNode.className=it.cls+' '+it.cls+'Over'
m.lastFoid=it.cfoid?it.cfoid:it.foid
m.updateDropdownsTimeLagged()}},
onmouseout:function(evt){var m=bbKIcaA
m.cancelDropdownsUpdating()
var e=m.getSource(evt)
if(e)m.out(e)
else{m.lastFoid=-1
m.updateDropdownsTimeLagged()}},
out:function(e){var m=this
var it=m.items[e.id]
if(it&&!it.sel&&!it.childOpen){if(it.selPar)e.parentNode.className=it.cls+' '+it.cls+'Cur'
else e.parentNode.className=it.cls}m.lastFoid=-1
m.updateDropdownsTimeLagged()},
onmouseup:function(evt){var m=bbKIcaA
m.isdown=false
var e=m.getSource(evt)
if(e)m.clicked(e)},
clicked:function(e){var m=bbKIcaA
var it=m.items[e.id]
if(it&&it.href){if(it.target)window.open(it.href,it.target)
else location=it.href}m.cancelDropdownsUpdating()
m.lastFoid=-1
m.updateDropdowns()},
onclick:function(){return false},
updateDropdownsTimeLagged:function(){this.timeout=window.setTimeout('bbKIcaA.updateDropdowns()',300)},
cancelDropdownsUpdating:function(){window.clearTimeout(this.timeout)},
updateDropdowns:function(){var m=this
for(var i=1;i<m.dropdowns.length;i++)m.dropdowns[i].show=false
if(m.lastFoid<0)m.lastFoid=m.defFoid
if(m.lastFoid){var f=m.dropdowns[m.lastFoid]
while(f.itPar){f.show=true
f=m.dropdowns[f.itPar.foid]}}var l=m.dropdowns.length
for(var i=1;i<l;i++){var f=m.dropdowns[i]
if(!f.show&&f.shown)f.removeDropdown()}for(var i=1;i<l;i++){var f=m.dropdowns[i]
if(f.show&&!f.shown)f.showDropdown()}},
getSource:function(evt){var e=this.br.ie?event.srcElement:evt.target
while(e&&e.tagName!='A')e=e.parentNode
return e},
getOpacity:function(i){var op=this.opacity
if(i>0)op=op*5*(6-i)/ 100
return op},
getBGColor:function(col){return col?col:'transparent'},
getTop:function(e, base){var m=this
var top=0
while(e&&((base==0&&e!=m.wrapper)||(base==1&&((e.style.position!='absolute'&&e.style.position!='relative')||e==m.wrapper))||(base==2))){top+=e.offsetTop
e=e.offsetParent
if(e&&!m.br.opera){var bw=parseInt(e.style.borderTopWidth)
if(!bw)bw=0
top+=bw}}return top},
getLeft:function(e, base){var m=this
var left=0
while(e&&((base==0&&e!=m.wrapper)||(base==1&&((e.style.position!='absolute'&&e.style.position!='relative')||e==m.wrapper))||(base==2))){left+=e.offsetLeft
e=e.offsetParent
if(e&&m.br.ie){var bw=parseInt(e.style.borderLeftWidth)
if(!bw)bw=0
left+=bw}}return left},
dummy:null};bbKIcaA.dropdown=function(m, itPar, index, level){var f=this
if(level==0){f.div=m.div
f.baseLeft=0
f.baseTop=m.div.offsetHeight-0}else{f.div=document.createElement('div')
f.div.className=m.ID+'_DD'
f.div.style.position='absolute'
f.div.style.left='-10000px'
f.clip=f.div.style.clip
m.wrapper.appendChild(f.div)
f.intr=false}f.m=m
f.itPar=itPar
f.show=false
f.shown=!index
f.level=level
f.div.obj=f
f.obj='bbKIcaA.fo'+index
eval(f.obj+'=f')};bbKIcaA.dropdown.prototype={showDropdown:function(){var f=this
var it=f.itPar
var fo=f.div
if(!fo||f.intr||f.isEmpty)return
var m=f.m
var e=document.getElementById(it.btID)
var pfo=m.dropdowns[it.foid]
it.childOpen=1
f.intr=true
f.pfoid=it.foid
var docTop=(m.br.ie?m.br.ieCanvas.scrollTop:window.pageYOffset)-m.getTop(m.wrapper,2)
var docLeft=(m.br.ie?m.br.ieCanvas.scrollLeft:window.pageXOffset)-m.getLeft(m.wrapper,2)
var docHeight=m.br.ie?m.br.ieCanvas.clientHeight:window.innerHeight
var docWidth=m.br.ie?m.br.ieCanvas.clientWidth:window.innerWidth
var bFirstFO=f.level==1
var topLimit=docTop+2
var bottomLimit=docTop+docHeight-6
fo.style.top='-10000px'
fo.style.display='block'
f.baseWidth=fo.offsetWidth
f.baseHeight=fo.offsetHeight
var offsetX=bFirstFO ? 0:1
var offsetY=bFirstFO ? 0:0
f.baseLeft=pfo.baseLeft+(bFirstFO ? e.offsetLeft:pfo.div.offsetWidth)+offsetX
f.baseTop=pfo.baseTop+(bFirstFO ? 0:e.offsetTop)+offsetY
if(f.baseLeft+f.baseWidth+22-docLeft>docWidth){var left=(bFirstFO ? docWidth-22+docLeft:pfo.baseLeft)-f.baseWidth-offsetX
if(left>=0)f.baseLeft=left}if(!bFirstFO&&f.baseHeight+f.baseTop>bottomLimit){var t=bottomLimit-f.baseHeight
f.baseTop=t<topLimit ? topLimit:t}fo.style.display='none'
fo.style.top=f.baseTop+'px'
fo.style.left=f.baseLeft+'px'
f.animate=f.rolldown
f.openAnimated(0)},
removeDropdown:function(){var f=this
var it=f.itPar
it.childOpen=0
var e=document.getElementById(it.linkID)
if(e){if(it.selPar)e.parentNode.className=it.cls+' '+it.cls+'Cur'
else if(!it.sel)e.parentNode.className=it.cls}if(f.intr)return
f.intr=true
f.animate=f.rolldown
f.closeAnimated(100)},
hideDropdown:function(){var f=this
f.div.style.display='none'
f.clearClip(f.div)},
clear:function(){var f=this},
clearClip:function(o){if(o.style.display!='none')o.style.display='block'
o.style.clip=this.m.br.ie?'rect(auto auto auto auto)':this.clip},
openAnimated:function(p){var f=this
if(p>100)p=100
var t=f.animate(f.div,p,0)
if(p==0)f.div.style.display=''
if(p==100)f.finishAnimation(true)
else if(t)window.setTimeout(f.obj+'.openAnimated('+(p+10)+')',10)},
closeAnimated:function(p){var f=this
if(p<0)p=0
var t=f.animate(f.div,p,0)
if(p==0){f.finishAnimation(false)}else if(t){window.setTimeout(f.obj+'.closeAnimated('+(p-10)+')',10)}},
finishAnimation:function(open){var f=this
if(!open)f.hideDropdown()
f.shown=open
f.intr=false
if(f.show){if(f.shown)f.clear()
else f.showDropdown()}if(!f.show&&f.shown)f.removeDropdown()},
rolldown:function(o,p,i){var b=this.baseHeight*p/100
if(p==100)this.clearClip(o)
else o.style.clip='rect(auto auto '+b+'px auto)'
return true},
dummy:null};bbKIcaA.init()

