BLANK_IMAGE = '/images/b.gif';
var nocolor = {"border":"", "shadow":"", "bgON":"","bgOVER":""};
var host = "http://saga:8080";
var STYLE_BOTTOM = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#013567",		// background color for the items
		bgOVER:"#ffffff"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var STYLE_MAIN = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#013567",		// background color for the items
		bgOVER:"#ffffff"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOnb",		// CSS class for items
		OVER:"clsCMOverb"	// CSS class  for item which is under mouse
	}
};

var STYLE_PAS = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		bgON:"#013567",		// background color for the items
		bgOVER:"#013567"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOnb",		// CSS class for items
		OVER:"clsCMOnb"	// CSS class  for item which is under mouse
	}
};

var STYLE_DOWN = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	borders:[0,0,0,0],
	color:nocolor,
	css:{
		ON:"",		// CSS class for items
		OVER:""	// CSS class  for item which is under mouse
	}
	
};

var MENU_ITEMS = [
	{pos:[8,0], itemoff:[0,99], leveloff:[25,0], style:STYLE_MAIN, size:[25,100]},
	
	{code:"<img valign='top' src='/images/left_corn.gif'>",ocode:"<img valign='top' src='/images/left_corn.gif'>","format":{"size":[25,6], "style": STYLE_PAS}},
	
	{code:"НА ГЛАВНУЮ", url:host + '/', "format":{"size":[25,100], "itemoff":[0,5]}},
	
	{code:'||', "format":{"size":[25,23], "style":STYLE_PAS}},
	
	{code:"НАШИ ТУРЫ", format:{"itemoff":[0,22],"size":[25,120], leveloff:[25,-20]},
		sub:[
			{itemoff:[21,0], style:STYLE_BOTTOM, size:[22,160]},
			{code:"Горящие предложения" , url:host + '/2.html'},
			{code:"Экскурсионные туры", url:host + '/3_turns_showturns_1.html'},
			{code:"Отдых: моря и курорты", url:host + '/4_turns_showturns_2.html'},
			{code:"Активный отдых", url:host + '/50_turns_showturns_8.html'},
			{code:"Туры по Украине", url:host + '/6_turns_showturns_4.html'},
			{code:"Обучение", url:host + '/7_turns_showturns_5.html'},
			{code:"Эксклюзив", url:host + '/8_turns_showturns_6.html'},
			{code:"Лечение", url:host + '/48_turns_showturns_9.html'},
			{code:"Путешествие 'под ключ'", url:host + '/9.html'},
			{code:"Где купить тур", url:host + '/10.html'},
			{code:"Заказать тур", url:host + '/11.html'},
			{code:"Быстрый поиск туров", url:host + '/42.html'},
			{code:"<img src='/images/down_165.gif'width=160 height=6>", ocode:"<img src='/images/down_165.gif' width=160 height=6>", "format":{"size":[6,160], "style":STYLE_DOWN}}
		]
	},
	
	{code:'||', "format":{"size":[25,23], "style":STYLE_PAS, "itemoff":[0,120]}},
	
	{code:"ИНФОРМАЦИЯ", "format":{"size":[25,140],"itemoff":[0,22]},
		sub:[
			{itemoff:[21,0], style:STYLE_BOTTOM, size:[22,200], leveloff:[25,-32]},
			{code:"Статьи", url:host + '/43.html'},
                        {code:"Новости туризма", url:host + '/45.html'},
                        {code:"Архив новостей", url:host + '/44.html'},
			{code:"Часто задаваемые вопросы", url:host + '/12.html'},
			{code:"О групповых турах", url:host + '/13.html'},
			{code:"Об индивидуальных турах", url:host + '/14.html'},
			{code:"Туристическая терминология", url:host + '/15.html'},
			{code:"Туристическая документация", url:host + '/16.html'},
			{code:"Общие условия", url:host + '/17.html'},
			{code:"Страхование договора", url:host + '/18.html'},
			{code:"Бонусная программа", url:host + '/19.html'},
			{code:"Акции и конкурсы", url:host + '/20.html'},
			{code:"Заказать каталог", url:host + '/21.html'},
			{code:"<img src='/images/down_165.gif'width=200 height=6>", ocode:"<img src='/images/down_165.gif' width=200 height=6>", "format":{"size":[6,200], "style":STYLE_DOWN}}
		]
	},
	
	{code:'||', "format":{"size":[25,23],"itemoff":[0,140], "style":STYLE_PAS}},
	
	{code:"О НАС", format:{"itemoff":[0,22], "size":[25,88	]},
		sub:[
			{itemoff:[21,0], style:STYLE_BOTTOM, size:[22,160], leveloff:[25,-35]},
			{code:"Наши координаты", url:host + '/22.html'},
			{code:"Почему 'Сага'?", url:host + '/23.html'},
			{code:"Миссия компании", url:host + '/24.html'},
			{code:"Новости компании", url:host + '/25.html'},
			{code:"СМИ о нас", url:host + '/26.html'},
			{code:"Сотрудники", url:host + '/27.html'},
			{code:"Вакансии", url:host + '/28.html'},
			{code:"Инвесторам", url:host + '/29.html'},
			{code:"<img src='/images/down_165.gif'width=160 height=6>", ocode:"<img src='/images/down_165.gif' width=160 height=6>", "format":{"size":[6,160], "style":STYLE_DOWN}}
		]
	},
	
	{code:'||', "format":{"size":[25,23], "style":STYLE_PAS, "itemoff":[0,88]}},
	
	{code:"АГЕНТАМ", format:{"itemoff":[0,22]},
		sub:[
			{itemoff:[21,0], style:STYLE_BOTTOM, size:[22,180], leveloff:[25,-40]},
			{code:"Заказать пакет предложений", url:host + '/30.html'},
			{code:"Агентский договор", url:host + '/31.html'},
			{code:"Частые вопросы", url:host + '/32.html'},
			{code:"Заявка на тур", url:host + '/33.html'},
			{code:"<img src='/images/down_165.gif'width=180 height=6>", ocode:"<img src='/images/down_165.gif' width=180 height=6>", "format":{"size":[6,180], "style":STYLE_DOWN}}
		]
	},
	
	{code:'||', "format":{"size":[25,23], "style":STYLE_PAS}},
	
	{code:"ПУТЕВОДИТЕЛЬ", "format":{"size":[25,150],"itemoff":[0,22]},
		sub:[
			{itemoff:[21,0], style:STYLE_BOTTOM},
			{code:"Фотогалерея", url:host + '/34.html'},
			{code:"Досье туров", url:host + '/35.html'},
			{code:"Информация о странах", url:host + '/36.html'},
			{code:"<img src='/images/down_200.gif'width=150 height=6>", ocode:"<img src='/images/down_200.gif' width=150 height=6>", "format":{"size":[6,150], "style":STYLE_DOWN}}
		]
	},
	
	{code:'||', "format":{"size":[25,23],"itemoff":[0,150], "style":STYLE_PAS}},
	
	{code:"ОБРАТНАЯ СВЯЗЬ", "format":{"size":[25,150],"itemoff":[0,22]},
		sub:[
			{itemoff:[21,0], style:STYLE_BOTTOM},
			{code:"Вопросы и ответы", url:host + '/37.html'},
			{code:"Форум", url:"javascript:window.open('"+ host + "/forumsaga'); void(0);"},
			{code:"Письмо директору", url:host + '/39.html'},
			{code:"Оставить отзыв о туре", url:host + '/40.html'},
			{code:"<img src='/images/down_200.gif'width=150 height=6>",ocode:"<img src='/images/down_200.gif' width=150 height=6>", "format":{"size":[6,150], "style":STYLE_DOWN}}
		]
	},
	
	{code:"<img src='/images/right_corn.gif'>",ocode:"<img valign='top' src='/images/right_corn.gif'>", "format":{"size":[25,6],"itemoff":[0,149], "style":STYLE_PAS}}
];