function mnu_property(color,name,aliase ,url){
     this.color  = color;
     this.name = name;
     this.aliase= aliase;
     this.url       =url; 
}
function mnu_ch_property(parent_id,color,aliase ,url){
     this. parent_id= parent_id;
     this.color  = color;
     this.aliase= aliase;
     this.url       =url; 
}
function mnu_smp_property(color,img,aliase ,url){
     this.color = color;
     this.img   = img;
     this.aliase= aliase;
     this.url   = url; 
}
 
function mnu_smp(color,img,aliase ,url){
     this.color = color;
     this.img   = img;
     this.aliase= aliase;
     this.url   = url; 
}

function append_mnu(color,name ,url){
var clm1s="C8D9F3"
var clm2s="769EC9"
var clm1p="#D9EEFF"
var clm2p="#FFEBE4"
//var clm2p="#E1F5FE"
var clm1c="#EBF4FE"
var clm2c="#FFF6F3"
//var clm2c="#EEF4FE"

//Array.prototype.push2 = push2

//sample

//mnu_smp.push2(new  mnu_smp_property(clm1s,"i/arrow.gif","Наши новости" ,"a1_1.htm?allnews"));
mnu_smp.push2(new  mnu_smp_property(clm2s,"i/arrow.gif","Расписание" ,"shed.htm"));

//parent
     mnu.push2(new  mnu_property(clm1p,"elhistory","Об аэропорте","a1_1.htm?history:2"));
     mnu.push2(new  mnu_property(clm2p,"elpass","Нашим клиентам","a1_1.htm?forpass"));
     
     mnu.push2(new  mnu_property(clm1p,"elwork","Заинтересованным лицам","a1_1.htm?avia"));
	 mnu.push2(new  mnu_property(clm2p,"elcustom","Наши партнеры","a1_1.htm?partners"));
     mnu.push2(new  mnu_property(clm1p,"elpress","Пресс-центр" ,"a1_1.htm?allnews"));
 // child
     mnu_ch.push2(new  mnu_ch_property(1,clm1c,"Наша история" ,"a1_1.htm?history:2"));
     mnu_ch.push2(new  mnu_ch_property(1,clm1c,"Аэропорт сегодня" ,"a1_1.htm?now:5"));
     mnu_ch.push2(new  mnu_ch_property(2,clm2c,"Пассажирские перевозки" ,"a1_1.htm?passdep"));
     mnu_ch.push2(new  mnu_ch_property(2,clm2c,"Грузовые перевозки" ,"a1_1.htm?cargo"));
     mnu_ch.push2(new  mnu_ch_property(2,clm2c,"VIP сервис" ,"a1_1.htm?vip:1"));
     mnu_ch.push2(new  mnu_ch_property(2,clm2c,"Схема аэропорта" ,"chart.htm"));
     mnu_ch.push2(new  mnu_ch_property(2,clm2c,"Транспорт" ,"a1_1.htm?transport"));
     mnu_ch.push2(new  mnu_ch_property(2,clm2c,"Информация для пассажиров" ,"a1_1.htm?forpass"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Службы аэропорта" ,"a1_1.htm?parts"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Паспорт предприятия" ,"about.htm"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Ставки сборов и тарифы на обслуживание" ,"a1_1.htm?pricedt"));
     //mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Ставки сборов" ,"a1_1.htm?pricedt:3"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Обеспечение бортовым питанием" ,"a1_1.htm?bopit:3"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Заправка воздушных судов" ,"a1_1.htm?tzk"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Для акционеров" ,"a1_1.htm?akc"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Размещение рекламы " ,"a1_1.htm?rekl"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Вакансии" ,"a1_1.htm?vak"));
     mnu_ch.push2(new  mnu_ch_property(3,clm1c,"Контакты" ,"a1_1.htm?person"));
     mnu_ch.push2(new  mnu_ch_property(4,clm2c,"ТЗК ЗАО «Сочи-АВИА-Инвест»" ,"a1_1.htm?tzk"));
     mnu_ch.push2(new  mnu_ch_property(4,clm2c,"ООО «Авиапит-Сочи»" ,"a1_1.htm?bopit:3"));
     mnu_ch.push2(new  mnu_ch_property(4,clm2c,"ЗАО «Сочи-ТАВС»" ,"a1_1.htm?tavs"));
     mnu_ch.push2(new  mnu_ch_property(4,clm2c,"ЗАО Аэро Маркетинг Сервис Групп" ,"a1_1.htm?rekl"));
     mnu_ch.push2(new  mnu_ch_property(4,clm2c,"Информационный центр воздушного транспорта","http://www.polets.ru/sc/naprav.shtml"));
     mnu_ch.push2(new  mnu_ch_property(5,clm1c,"Наши новости" ,"a1_1.htm?allnews"));
     mnu_ch.push2(new  mnu_ch_property(5,clm1c,"Для СМИ" ,"a1_1.htm?forsmi"));
 
}