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

MENU_ITEMS0 = [
	['&nbsp; Úvodní stránka', ' ', {'sw' : 130}
	]
	,[wrap_root('Služby a řešení'), null, {'sw' : 145, 'bw': 170}
		,['&nbsp; Vlastní řešení', null, {'bw': 100}
			,['&nbsp; Interfokus', 'interfokus.aspx']
		]
		,['&nbsp; Microsoft Dynamics NAV', 'dynamics.aspx']
		,['&nbsp; Vývoj aplikací', 'vyvoj.aspx']
		,['&nbsp; Služby IT', 'sluzby.aspx']
		,['&nbsp; Outsourcing', 'outsourcing.aspx']
		,['&nbsp; Další služby', 'dalsi.aspx']
	]
	,[wrap_root('E-shop'), null, {'sw' : 95, 'bw': 170}
		,['&nbsp; Vstup pro návštěvníky', 'Javascript:online()']
		,['&nbsp; Vstup pro registrované', 'Javascript:partner()']
	]
	,[wrap_root('Reference'), null, {'sw' : 115, 'bw': 140}
		,['&nbsp; Případové studie', 'studie.aspx']	
		,['&nbsp; Významní zákazníci', 'reference.aspx']
	]
	,[wrap_root('O společnosti'), null, {'sw' : 140, 'bw': 120}
		,['&nbsp; Základní údaje', 'udaje.aspx']
		,['&nbsp; Kontakty', 'kontakty.aspx']
		,['&nbsp; Kvalifikace', 'kvalifikace.aspx']
		,['&nbsp; Kde nás najdete', 'kde.aspx']
		,['&nbsp; Zaměstnání', 'zamestnani.aspx']
		,['&nbsp; Zprávy', 'zpravy.aspx']
		,['&nbsp; Z historie', 'historie.aspx']
		,['&nbsp; Napište nám', 'komentare.aspx']
	]
	,[wrap_root('Akce'), null, {'sw' : 75, 'bw': 100}
		,['&nbsp; Archiv akcí', 'archiv.aspx']
	]
];

function wrap_par (text,pos, icon) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]=['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% <!--class="m0inner"-->>&nbsp;', icon == null ? '' : ('<img height="16" width="15" src="' + (icon ? 'menu_files/icons/'+icon : 'menu_files/pixel') + '.gif" align="absmiddle">'), ' &nbsp;', text, '</td>', pos?['<td nowrap>&nbsp;<img src="menu_files/icons/', i, 'rarrow.gif" width=12 height=12 align="absmiddle">&nbsp;</td>'].join(''):'', '</tr></table>'].join('');
	return res;
}

function wrap_root (text) {
	var res = []; 
	for (var i=0; i<3; i++)
		res[i] = ['&nbsp; ', text 
//		,'&nbsp;<img src="menu_files/icons/', i, 'darrow.gif" align="absmiddle">&nbsp;'
		].join('');
	return res;
}