var states = ['mout', 'mover', 'mdown'],

MENU_ITEMS_CZ = [
	[' ', 'default.aspx', {'sw' : 1}		/* prvni svisla carka v menu */
	],
	['AKTUÁLNĚ', 'curently_cz.aspx', {'sw' : 110, 'bw': 300}
		,['&nbsp; AKTUÁLNĚ', 'curently_cz.aspx']
		,['&nbsp; Zajímavosti', 'articles_cz.aspx']
		,['&nbsp; Kalendárium Přemysla Veverky', 'kalendarium_cz.aspx']
		,['&nbsp; Archiv akcí', 'archive_cz.aspx']
	],
	['LEŽÁKY', 'history4243_cz.aspx', {'sw' : 94, 'bw': 300}
		,['&nbsp;  HISTORIE ►', null, {'bw': 300}
			,['&nbsp; HISTORIE do roku 1941', 'historyTo41_cz.aspx']
			,['&nbsp; 1942 - 1943', 'history4243_cz.aspx']
			,['&nbsp; 1944 - 2005', 'historyFrom44_cz.aspx']
			,['&nbsp; HISTORIE od roku 2008', 'lidice_memorial_cz.aspx']
			]
		, ['&nbsp; FOTOGALERIE', 'photogallery_cz.aspx']
		,['&nbsp; Digitální rekonstrukce osady',
            'Javascript:var a=new_window2(\'http://www.lezaky.ic.cz/rekonstrukce.htm\')']
		, ['&nbsp; Videoupoutávka NKP Ležáky', 'remember_v2010_cz.aspx']
		, ['&nbsp; Výroční zprávy', 'annual_reports_cz.aspx']
/*,['&nbsp; NAPSALI O NÁS', 'theyWrote_cz.aspx']*/
	],
	['VZDĚLÁVÁNÍ', 'education_cz.aspx', {'sw' : 130, 'bw': 250}
		, ['&nbsp; Základní informace', 'education_cz.aspx']
		, ['&nbsp; PROGRAMY PRO ŠKOLY', 'education_school_cz.aspx']
		,['&nbsp; Pracovní listy', 'pracovni_listy_cz.aspx']
		,['&nbsp; Projekt Oběti a hrdinové', 'obeti_a_hrdinove_cz.aspx']
	],
	['SOUTĚŽE', 'content_cz.aspx', {'sw' : 100, 'bw': 330}
		,['&nbsp; Základní informace', 'content_cz.aspx']
		,['&nbsp; Mezinárodní dětská výtvarná <br />&nbsp; výstava Lidice',
            'Javascript:var a=new_window2(\'http://www.mdvv-lidice.cz\')']
		,['&nbsp; Mezinárodní internetová soutěž <br />&nbsp; "Lidice pro 21. století"',
            'Javascript:var a=new_window2(\'http://www.lidice21.cz\')']
		,['&nbsp; PŘEHLÍDKA DĚTSKÝCH PĚVECKÝCH SBORŮ<br />&nbsp; "SVĚTLO ZA LIDICE"',
            'Javascript:var a=new_window2(\'http://www.lidice-sbory.cz\')']
		, ['&nbsp; Fotografická soutěž', 'fotoSoutez_cz.aspx']
	],
	['INFORMACE', 'info_cz.aspx', {'sw' : 120, 'bw': 250}
		,['&nbsp; Kontakt', 'contact_cz.aspx']
		,['&nbsp; Informace pro návštěvníky', 'info_cz.aspx']
		, ['&nbsp; Objednávka prohlídky', 'order_cz.aspx']
		, ['&nbsp; Publikace', 'publications_cz.aspx']
		, ['&nbsp;  Komponované pořady Památníku Lidice ►', null, { 'bw': 200 }
			, ['&nbsp; Všechny krásy světa',
				'Javascript:var a=new_window2(\'http://www.lidice-memorial.cz/theatricals_cz.aspx?id=krasy\')']
			, ['&nbsp; Kdeže byl ráj?',
				'Javascript:var a=new_window2(\'http://www.lidice-memorial.cz/theatricals_cz.aspx?id=raj\')']
			]
		, ['&nbsp; Půjčovna kol Ležáky', 'pujcovnaKol_cz.aspx']
		, ['&nbsp; KDE NÁS NAJDETE', 'map_cz.aspx']
		, ['&nbsp; Odkazy', 'links_cz.aspx']
		, ['&nbsp; Mapa stránek', 'sitemap_cz.aspx']
	],
	['LIDICE, Lety', null, { 'sw': 130, 'bw': 250 }
		, ['&nbsp; Památník Lidice',
            'Javascript:var a=new_window2(\'http://www.lidice-memorial.cz\')']
		, ['&nbsp; Kulturní památka Lety',
            'Javascript:var a=new_window2(\'http://www.lety-memorial.cz\')']
	],
	['Memorandum obcí', 'memorandum_cz.aspx', { 'sw': 180 }
	]
];

/*-------------*/
MENU_ITEMS_DE = [
	[' ', 'default_de.aspx', {'sw' : 1}		/* prvni svisla carka v menu */
	],
	['Aktuell', 'curently_de.aspx', {'sw' : 100, 'bw': 280}
		,['&nbsp; Aktuell', 'curently_de.aspx']
		,['&nbsp; Interessantes', 'articles_de.aspx']
		,['&nbsp; Archiv der Veranstaltungen', 'archive_de.aspx']
	],
	['LEŽÁKY', 'history4243_de.aspx', {'sw' : 90, 'bw': 275}
		,['&nbsp; Geschichte ►', null, {'bw': 300}
			,['&nbsp; Geschichte bis zum Jahr 1941', 'historyTo41_de.aspx']
			,['&nbsp; 1942 - 1943', 'history4243_de.aspx']
			,['&nbsp; 1944 - 2005', 'historyFrom44_de.aspx']
			,['&nbsp; Geschichte bis zum Jahr 2008', 'lidice_memorial_de.aspx']
			]
		,['&nbsp; Fotogalerie', 'photogallery_de.aspx']
		/*,['&nbsp; NAPSALI O NÁS', 'theyWrote_de.aspx']*/
		/*,['&nbsp; Archiv der Veranstaltungen', 'archive_de.aspx']*/
	],
	['Bildung', 'education_de.aspx', {'sw' : 100}
	],
	['Wettbewerbe', 'content_de.aspx', {'sw' : 145, 'bw': 330}
		,['&nbsp; Grundinformationen', 'content_de.aspx']
		,['&nbsp; Internationale Kinderausstellung<br />&nbsp; der bildenden Kunst Lidice',
            'Javascript:var a=new_window2(\'http://www.mdvv-lidice.cz/de\')']
		,['&nbsp; Internationalen Internetwettbewerb<br />&nbsp; "LIDICE FÜR DAS 21. JAHRHUNDERT"',
            'Javascript:var a=new_window2(\'http://www.lidice21.cz/de\')']
	],
	['Informationen', 'info_de.aspx', {'sw' : 150, 'bw': 250}
		,['&nbsp; Kontakt', 'contact_de.aspx']
		,['&nbsp; Besucherinformationen', 'info_de.aspx']
		,['&nbsp; Publikationen', 'publications_de.aspx']
		,['&nbsp; Besichtigungsbestellung', 'order_de.aspx']
		,['&nbsp; Wo Sie uns finden', 'map_de.aspx']
		, ['&nbsp; Verweise', 'links_de.aspx']
		, ['&nbsp; Seitenkarte', 'sitemap_de.aspx']
	],
	['LIDICE, Lety', null, { 'sw': 130, 'bw': 280 }
		, ['&nbsp; Gedenkstätte Lidice',
            'Javascript:var a=new_window2(\'http://www.lidice-memorial.cz/default_de.aspx\')']
		, ['&nbsp; Kulturdenkmal Lety (english)',
            'Javascript:var a=new_window2(\'http://www.lety-memorial.cz/default_en.aspx\')']
	],
];


/*-------------*/
MENU_ITEMS_EN = [
	[' ', 'default.aspx', {'sw' : 1}		/* prvni svisla carka v menu */
	],
	['Currently', 'curently_en.aspx', {'sw' : 125, 'bw': 200}
		,['&nbsp; Currently', 'curently_en.aspx']
		,['&nbsp; Interesting things', 'articles_en.aspx']
		,['&nbsp; Archive of events', 'archive_en.aspx']
	],
	['LEŽÁKY', 'history4243_en.aspx', {'sw' : 94, 'bw': 250}
		,['&nbsp;  History ►', null, {'bw': 250}
			,['&nbsp; History before 1941', 'historyTo41_en.aspx']
			,['&nbsp; 1942 - 1943', 'history4243_en.aspx']
			,['&nbsp; 1944 - 2005', 'historyFrom44_en.aspx']
			,['&nbsp; History since 2008', 'lidice_memorial_en.aspx']
			]
		,['&nbsp; Photo gallery', 'photogallery_en.aspx']
		/*,['&nbsp; NAPSALI O NÁS', 'theyWrote_en.aspx']*/
		/*,['&nbsp; Archive of events', 'archive_en.aspx']*/
	],
	['Education', 'education_en.aspx', {'sw' : 125}
	],
	['Contets', 'content_en.aspx', {'sw' : 100, 'bw': 330}
		,['&nbsp; Basic information', 'content_en.aspx']
		,['&nbsp; International Children’s<br />&nbsp; Exhibition of Fine Art Lidice',
            'Javascript:var a=new_window2(\'http://www.mdvv-lidice.cz/en\')']
		,['&nbsp; International internet contest<br />&nbsp; "Lidice for 21st Century"',
            'Javascript:var a=new_window2(\'http://www.lidice21.cz/en\')']
	],
	['Information', 'info_en.aspx', {'sw' : 135, 'bw': 270}
		,['&nbsp; Contact', 'contact_en.aspx']
		,['&nbsp; Information for visitors', 'info_en.aspx']
		,['&nbsp; Publications', 'publications_en.aspx']
		,['&nbsp; Visitation order', 'order_en.aspx']
		,['&nbsp; Where can you find us', 'map_en.aspx']
		, ['&nbsp; Links', 'links_en.aspx']
		, ['&nbsp; The map of the web sites', 'sitemap_en.aspx']
	],
	['LIDICE, Lety', null, { 'sw': 130, 'bw': 250 }
		, ['&nbsp; Lidice Memorial',
            'Javascript:var a=new_window2(\'http://www.lidice-memorial.cz/default_en.aspx\')']
		, ['&nbsp; Historic landmark Lety', 
            'Javascript:var a=new_window2(\'http://www.lety-memorial.cz/default_en.aspx\')']
	],
];


/*-------------*/
MENU_ITEMS_RU = [
	[' ', 'default.aspx', {'sw' : 1}		/* prvni svisla carka v menu */
	],
	['Актуально', 'curently_ru.aspx', {'sw' : 120, 'bw': 200}
		,['&nbsp; Актуально', 'curently_ru.aspx']
		,['&nbsp; Интересные факты', 'articles_ru.aspx']
		,['&nbsp; Архив мероприятий', 'archive_ru.aspx']
	],
	['Лежаки', 'history4243_ru.aspx', {'sw' : 94, 'bw': 275}
		,['&nbsp; История ►', null, {'bw': 300}
			,['&nbsp; История до 1941-ого года', 'historyTo41_ru.aspx']
			,['&nbsp; 1942 - 1943', 'history4243_ru.aspx']
			,['&nbsp; 1944 - 2005', 'historyFrom44_ru.aspx']
			, ['&nbsp; История с 2008-ого года', 'lidice_memorial_ru.aspx']
			]
		,['&nbsp; Фотогалерея', 'photogallery_ru.aspx']
		/*,['&nbsp; NAPSALI O NÁS', 'theyWrote_ru.aspx']*/
		/*,['&nbsp; Архив мероприятий', 'archive_ru.aspx']*/
	],
	['Образование', 'education_ru.aspx', {'sw' : 140}
	],
	['Конкурсы', 'content_ru.aspx', {'sw' : 115, 'bw': 400}
		,['&nbsp; Основная информации', 'content_ru.aspx']
		,['&nbsp; Международная выставка художественных<br />&nbsp; произведений детей Лидице',
            'Javascript:var a=new_window2(\'http://www.mdvv-lidice.cz/ru\')']
		,['&nbsp; Международный интернет – конкурс<br />&nbsp; "ЛИДИЦЕ ДЛЯ 21 ВЕКА"',
            'Javascript:var a=new_window2(\'http://www.lidice21.cz/ru\')']
	],
	['Информации', 'info_ru.aspx', {'sw' : 140, 'bw': 300}
		,['&nbsp; Контакт', 'contact_ru.aspx']
		,['&nbsp; Информации для посетителей', 'info_ru.aspx']
		,['&nbsp; Публикации', 'publications_ru.aspx']
		,['&nbsp; Заказ просмотра', 'order_ru.aspx']
		,['&nbsp; Где нас найти', 'map_ru.aspx']
		, ['&nbsp; Cсылки', 'links_ru.aspx']
		, ['&nbsp; Карта страниц', 'sitemap_ru.aspx']
	],
	['Лидице,&nbsp;Леты', null, { 'sw': 140, 'bw': 190 }
		, ['&nbsp; Мемориал Лидице',
            'Javascript:var a=new_window2(\'http://www.lidice-memorial.cz/default_ru.aspx\')']
		, ['&nbsp; КП Леты (english)',
            'Javascript:var a=new_window2(\'http://www.lety-memorial.cz/default_en.aspx\')']
	]
];

function wrap_parent (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=15', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a0 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}