// UDMv4.44 //
///////////////////////////////////////////////////////////////////
var um={'menuClasses':[],'itemClasses':[],'menuCode':[]};
///////////////////////////////////////////////////////////////////
//                                                               //
//  ULTIMATE DROP DOWN MENU Version 4.44 by Brothercake          //
//  http://www.udm4.com/                                         //
//                                                               //
//  This script may not be used or distributed without license   //
//                                                               //
///////////////////////////////////////////////////////////////////




///////////////////////////////////////////////////////////////////
// CORE CONFIGURATION                                            //
///////////////////////////////////////////////////////////////////


//path to images folder
um.baseSRC = "img/";


//navbar orientation
um.orientation = [
        "horizontal", // alignment ["vertical"|"horizontal"|"popup"|"expanding"]
        "left",       // h align ["left"|"right"]
        "top",        // v align ["top"|"bottom"]
        "relative",   // positioning ["relative"|"absolute"|"fixed"|"allfixed"]
        "0",          // x position ["em"|"ex"|"px"|"0"]
        "0",         // y position ["em"|"ex"|"px"|"0"]
        "1000",       // z order ["0" to "10000"] (menu takes 20000 headroom)
        ];


//navbar list output
um.list = [
        "flexible",        // horizontal overflow ["rigid"|"flexible"]
        "yes",             // -SPARE-
        "no",              // -SPARE-
        ];

//menu behaviors
um.behaviors = [
        "0",               // open timer ["milliseconds"|"0"]
        "200",             // close timer ["milliseconds"|"never"|"0"]
        "yes",             // reposition menus to stay inside the viewport ["yes"|"no"]
        "default",         // manage windowed controls for win/ie ["default","hide","iframe","none"]
        ];


//reset behaviors
um.reset = [
        "yes",                // reset from document mouse click ["yes"|"no"]
        "yes",                // reset from window resize ["yes"|"no"]
        "yes",                // reset from text resize ["yes"|"no"]
        "no",                // reset after following link ["yes"|"no"]
        ];


//horizontal continuation strip
um.hstrip = [
        "none",                // background ["color"|"#hex"|"rgb()"|"image.gif"|"none"]
        "yes",                // copy navbar item margin-right to margin-bottom ["yes"|"no"]
        ];




///////////////////////////////////////////////////////////////////
// NAVBAR DEFAULT STYLES                                         //
///////////////////////////////////////////////////////////////////


//styles which apply to the navbar
um.navbar = [
        "-1",        // nav -> menu x-offset (+-)["n" pixels]
        "0",        // nav -> menu y-offset (+-)["n" pixels]
        "0",        // width ["em"|"ex"|"px"] (vertical navbar only - horizontal navbar items have "auto" width) ("%" doesn't work right)
        ];


//styles which apply to each navbar item
um.items = [
        "0",        // margin between items ["n" pixels]
        "1",        // border size ["n" pixels] (single value only)
        "collapse", // border collapse ["collapse"|"separate"] (only applies when margin = "0")
        "#003A53",  // border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",    // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#00689E",// hover/focus border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",  // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#003A53",// visited border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",// visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "12",                // left/right padding ["n" pixels] (single value only)
        "5",                // top/bottom padding ["n" pixels] (single value only)
        "#003A53",                // background ["color"|"#hex"|"rgb()"|"image.gif"]
        "#00689E",                // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
        "#003A53",                // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
        "0.7em",                // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
        "verdana,arial,sans-serif",// font family ["font1,font2,font3"] (always end with a generic family name)
        "bold",                // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
        "none",                // text decoration ["none"|"underline"|"overline"|"line-through"]
        "left",                // text-align ["left"|"right"|"center"]
        "#fff",        // color ["color"|"#hex"|"rgb()"]
        "#fff",        // hover/focus color ["color"|"#hex"|"rgb()"]
        "#fff",        // visited color ["color"|"#hex"|"rgb()"]
        "normal",        // font-style ["normal"|"italic"|"oblique"]
        "normal",        // hover/focus font-style ["normal"|"italic"|"oblique"]
        "normal",        // visited font-style ["normal"|"italic"|"oblique"]
        "",              // additional link CSS (careful!)
        "",                // additional hover/focus CSS (careful!)
        "",                // additional visited CSS (careful!)
        "none",// menu indicator character/image ["text"|"image.gif"|"none"]
        "none",// menu indicator rollover character/image ["text"|"image.gif"|"none"] (must be same type)
        "",                // clipping width of indicator image ["n" pixels] (only when using image arrows)
        "",                // alt text of indicator image ["text"] (only when using image arrows)
        ];




///////////////////////////////////////////////////////////////////
// MENU DEFAULT STYLES                                           //
///////////////////////////////////////////////////////////////////


//styles which apply to each menu
um.menus = [
        "-1",                // menu -> menu x-offset (+-)["n" pixels]
        "-1",               // menu -> menu y-offset (+-)["n" pixels]
        "1",                // border size ["n" pixels] (single value only)
        "#00689E #003A53 #003A53 #003A53",// border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",           // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "9.8em",        // width ["em"|"ex"|"px"]
        "0",             // padding ["n" pixels] (single value only)
        "#00689E",         // background ["color"|"#hex"|"rgb()"|"image.gif"]
        "",                // additional menu CSS (careful!) (you can use a transition here but *not* a static filter)
        "",                 // shadow background ["color"|"#hex"|"rgb()"|"image.gif"|"none"]
        "",                // shadow offset (+-) ["em"|"px"|"pt"|"%"|"0"]
        "",// additional shadow layer CSS (if you use a Microsoft.Shadow filter here then Win/IE5.5+ will do that *instead* of default shadow)
        ];


//styles which apply to each menu item
um.menuItems = [
        "0",                // margin around items ["n" pixels] (single value only; margins are like table cellspacing)
        "1",                // border size ["n" pixels] (single value only)
        "separate",        // border collapse ["collapse"|"separate"] (only applies when margin = "0")
        "#00689E",        // border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",        // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#E5F1F8",      // hover/focus border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",        // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#00669A",        // visited border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",        // visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "5",                // left/right padding ["n" pixels] (single value only)
        "2",                // top/bottom padding ["n" pixels] (single value only)
        "#00689E",        // background ["color"|"#hex"|"rgb()"|"image.gif"]
        "#E5F1F8",        // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
        "#00689E",        // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
        "0.65em",          // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
        "verdana,arial,sans-serif",// font family ["font1,font2,font3"] (always end with a generic family name)
        "normal",        // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
        "none",                // text decoration ["none"|"underline"|"overline"|"line-through"]
        "left",                // text-align ["left"|"right"|"center"]
        "#fff",                // color ["color"|"#hex"|"rgb()"]
        "#003A53",                // hover/focus color ["color"|"#hex"|"rgb()"]
        "#fff",                // visited color ["color"|"#hex"|"rgb()"]
        "normal",        // font-style ["normal"|"italic"|"oblique"]
        "normal",        // hover/focus font-style ["normal"|"italic"|"oblique"]
        "normal",        // visited font-style ["normal"|"italic"|"oblique"]
        "",                // additional link CSS (careful!)
        "",                // additional hover/focus CSS (careful!)
        "",                // additional visited CSS (careful!)
        "trans.gif",// submenu indicator character/image ["text"|"image.gif"|"none"]
        "trans.gif",// submenu indicator rollover character/image ["text"|"image.gif"|"none"] (must be the same type)
        "4",                // clipping width of indicator image ["n" pixels] (only when using image arrows)
        "..",                // alt text of indicator image ["text"] (only when using image arrows)
        ];

///////////////////////////////////////////////////////////////////
// MENU CLASSES [comment out or remove if not using]             //
///////////////////////////////////////////////////////////////////


//classes which apply to menus [optional]
um.menuClasses["third"] = [
        "#00689E",      // border colors ["color"|"#hex"|"rgb()"]
        "0",        // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "7.0em",             // width ["em"|"ex"|"px"]
        "#E5F1F8",             // background ["color"|"#hex"|"rgb()"|"image.gif"]
        "",             // additional menu CSS (careful!) (you can use a transition here but *not* a static filter)
        "", // shadow background ["color"|"#hex"|"rgb()"|"image.gif"|"none"]
        "", // shadow offset (+-) ["em"|"px"|"pt"|"%"|"0"]
        "", // additional shadow layer CSS (if you use a Microsoft.Shadow filter here then Win/IE5.5+ will do that *instead* of default shadow)
        ];

//classes which apply to menu items [optional]
um.itemClasses["thirdItem"] = [
        "#E5F1F8",      // border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",        // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#00689E",      // hover/focus border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",        // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#E5F1F8",      // visited border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
        "solid",        // visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
        "#E5F1F8",      // background ["color"|"#hex"|"rgb()"|"image.gif"]
        "#fff",         // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
        "#E5F1F8",      // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
        "",             // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
        "",      // font family ["font1,font2,font3"] (always end with a generic family name)
        "normal",        // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
        "none",          // text decoration ["none"|"underline"|"overline"|"line-through"]
        "left",          // text-align ["left"|"right"|"center"]
        "#00689E",       // color ["color"|"#hex"|"rgb()"]
        "#00689E",       // hover/focus color ["color"|"#hex"|"rgb()"]
        "#00689E",       // visited color ["color"|"#hex"|"rgb()"]
        "normal",        // font-style ["normal"|"italic"|"oblique"]
        "normal",        // hover/focus font-style ["normal"|"italic"|"oblique"]
        "normal",        // visited font-style ["normal"|"italic"|"oblique"]
        "",              // additional link CSS (careful!)
        "",              // additional hover/focus CSS (careful!)
        "",              // additional visited CSS (careful!)
        "",// submenu indicator character/image ["text"|"image.gif"|"none"] (must be the same type as default submenu indicator)
        "",// submenu indicator rollover character/image ["text"|"image.gif"|"none"] (must be the same type)
        "",                // alt text of indicator image  ["text"] (only when using image arrow)
        ];



///////////////////////////////////////////////////////////////////
// DYNAMIC MENUS                                                 //
///////////////////////////////////////////////////////////////////

um.menuCode["n1"] = ''
+ '<ul>'
        + '<li><a href="bavaria.html">巴伐利亚</a>'
                + '<ul class="third" style="padding:2px;">'
                        + '<li class="thirdItem"><a href="byn_fuessen.html">浪漫的菲森</a></li>'
                        + '<li class="thirdItem"><a href="byn_tirol.html">浪漫欧洲的瑰宝</a></li>'
                + '</ul>'
        + '</li>'
        + '<li><a href="topten.html">十大精选</a></li>'
        + '<li><a href="staedte.html">著名城市</a></li>'
        + '<li><a href="strassen.html">著名旅游路线</a>'
        + '<li><a href="sehenswdgkt.html">著名景观</a></li>'
        + '<li><a href="unesco.html">世界文化遗产</a></li>'
        + '<li><a href="wunderb_d.html">精彩德国</a></li>'
+ '</ul>';

um.menuCode["n2"] = ''
+ '<ul>'
        + '<li><a href="toppartner.html">顶级合作伙伴</a></li>'
	+ '<li><a href="shopping.html">购物与名牌直销</a></li>'
	+ '<li><a href="techno.html">深度旅游与科技考察</a></li>'
	+ '<li><a href="byn_spezial.html">巴伐利亚风味</a></li>'
	+ '<li><a href="hochzeit.html">浪漫婚礼</a></li>'
	+ '<li><a href="natur_reise.html">自然之旅</a>'
                + '<ul class="third" style="padding:2px;">'
                        + '<li class="thirdItem"><a href="natur_reise1.html">巴伐利亚森林公园</a></li>'
                        + '<li class="thirdItem"><a href="natur_reise2.html">贝希特斯加登</a></li>'
                + '</ul>'
        + '</li>'
+ '</ul>';

um.menuCode["n3"] = ''
+ '<ul>'
        + '<li><a href="gipfeltreffen.html">博览会与会议场所</a></li>'
        + '<li><a href="feste.html">节庆亮点</a>'
                + '<ul class="third" style="padding:2px;">'
                        + '<li class="thirdItem"><a href="oktoberfest.html">慕尼黑啤酒节</a></li>'
                        + '<li class="thirdItem"><a href="brauchtum.html">民俗节庆</a></li>'
                        + '<li class="thirdItem"><a href="weihnachtsmarkt.html">圣诞节集市</a></li>'
			+ '<li class="thirdItem"><a href="highlights01.html">2011/12精粹预告</a></li>'
                + '</ul>'
        + '</li>'
+ '</ul>';

um.menuCode["n4"] = ''
+ '<ul>'
        + '<li><a href="anreise.html">签证与抵达</a>'
                + '<ul class="third" style="padding:2px;">'
                        + '<li class="thirdItem"><a href="m_flughf.html">慕尼黑机场</a></li>'
                        + '<li class="thirdItem"><a href="stopover/index.html">慕尼黑中转指南</a></li>'
                + '</ul>'
        + '</li>'
        + '<li><a href="verkehr.html">交 通</a></li>'
        + '<li><a href="unterkunft.html">住 宿</a></li>'
        + '<li><a href="wetter.html">天 气</a></li>'
+ '</ul>';

um.menuCode["n5"] = ''
+ '<ul>'
        + '<li><a href="uns.html">关于我们</a></li>'
        + '<li><a href="reiseveranstalter.html">旅游商讯</a></li>'
        + '<li><a href="presse.html">业内快讯</a></li>'
        + '<li><a href="studieren.html">留学在巴伐利亚</a></li>'
        + '<li><a href="invest.html">投资在巴伐利亚</a></li>'
        + '<li><a href="links.html">在德国和欧洲旅游的链接</a></li>'
+ '</ul>';

um.menuCode["n6"] = ''
+ '<ul>'
        + '<li><a href="pressemeldungen.html">新闻报道</a></li>'
        + '<li><a  href="http://bildarchiv.bayern.by/index.php?language=en" target="_blank" title="在新窗口打开英文版链接"><span class="navpos">图片库（英文版）</span></a></li>'
        + '<li><a href="reiseveranstalter2.html">旅游机构信息</a></li>'
	+ '<li><a href="salesguide.html">营销指南</a></li>'
+ '</ul>';

um.menuCode["n7"] = ''
+ '<ul>'
        + '<li><a href="http://www.bayern.by/de/index.html">德文版</a></li>'
        + '<li><a href="http://www.bayern.by/en/index.html">英文版</a></li>'
        + '<li><a href="http://www.bayern.by/it/index.html">意大利文版</a></li>'
	+ '<li><a href="http://www.bayern.by/cz/index.html">捷克文版</a></li>'
	+ '<li><a href="http://www.bayern.by/nl/index.html">荷兰文版</a></li>'
	+ '<li><a href="http://www.bavariaclub.ru/">俄文版</a></li>'
+ '</ul>';


/***************************************************************\
\***************************************************************/