/*
  --- menu items --- 
  note that this structure has changed its format since previous version.
  additional third parameter is added for item scope settings.
  Now this structure is compatible with Tigra Menu GOLD.
  Format description can be found in product documentation.
*/

var states = ['mout', 'mover', 'mdown'];
var bgcolors = ['#ffffff', '#ffffff', '#ffffff'];
var textcolors = ['#df6c00', '#f4b479', '#004557']

/* [wrap_parent('deutsch'), '../DE/kontakt.htm', [700, null, null]
*/
var MENU_ITEMS = [
	[wrap_parent(''), '../EN/home.htm', [null, null, null]
	]
];

function wrap_parent (text, pos, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table cellpadding="0" cellspacing="0" border="0" width="100%" height="20" bgcolor="' + bgcolors[i] + '"><tr><td  align="center" width="100%">' + (icon != null ? '<img src="img/'  + icon + '" height="16">&nbsp;' : '') + '<font face="arial, helvetica, sans-serif" color="' + textcolors[i] + '"><span style="font-size: 10px; font-weight: bold;">' + text + '</span></font></td></tr></table>';
	return res;
}
function wrap_child (text, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table cellpadding="0" cellspacing="0" border="0" width="100%" height="20"><tr><td bgcolor="' + bgcolors[i+3] + '" style="padding: 0px;" valign="middle">&nbsp;&nbsp;' + (icon != null ? '<img src="img/'  + icon + '" height="16" align="absmiddle">&nbsp;' : '') + '<font face="arial, helvetica, sans-serif" color="white"><span style="font-size: 9px; font-weight: bold;">' + text + '</span></font></td></tr></table>';
	return res;
}
