function MenuBuild()
{
is = new BrowserCheck();                    //Cheking browser version
TE=new TreeItem(0,0,"items2","","");//Creating menu object
if(!W)W=800;                                         //defining default browser width
TE.xpos=17;                                //X position
TE.ypos=115;                                             //Y position
TE.align="hor";                                    //hor -horisontal vert - vertical alignment
TE.bckColor="#f5f5f5";                     //Back Color
TE.selBckColor="#c0c0c0";               //Selected back color
TE.fntColor="#000000";                      // Font Color
TE.selFntColor="#ffffff";                // Selected font color
TE.width=200;                                       //Menu column width
TE.fntSize=2;                                        // Font Size
TE.i=false;                                              //font italic
TE.b=false;                                             //font bold
TE.face="Arial";                             //Font Face
TE.u=false;                                             //font underlined
TE.iHeight=25;                                     //Menu item height
TE.imWidth=25;                                   // Icon width
TE.bSize=1;                                           //Border size
TE.bColor="";                         // Border color
TE.d=0;                                                   // delimeter size

//Creating menu structure

//TE.A(ID, ParentID, Text, Link, Target, Icon, iconR, ItemWidth,ItemHeight);
where:
//ID- identifier (any unical string)
//ParentID  - identifier of parent item
//Text - menu item text
//Link - menu item URL
//Target - frame or reserved word : _top _self ....
//Icon - menu icon
//iconR - rollover icon
//ItemWidth - individual menu item width
//ItemHeight - individual menu item height

TE.A(1,0,"&nbsp;Produkte","de/produkte.html","","","",85,23);
TE.A(10,1,"Aurora Wandler","de/produkte_aurora_info.html","","","",130,23);

TE.A(100,10,"Aurora 8/16","de/produkte_aurora_info.html","","","",130,23);
TE.A(101,10,"Aurora 16-VT","de/produkte_aurora_vt_info.html","","","",130,23);
TE.A(102,10,"Aurora Vented Panel","de/produkte_aurora_vented_panel.html","","","",130,23);
TE.A(103,10,"LT-ADAT","de/produkte_lt-adat_info.html","","","",130,23);
TE.A(104,10,"LT-FW","de/produkte_lt-fw_info.html","","","",130,23);
TE.A(105,10,"LT-HD","de/produkte_lt-hd_info.html","","","",130,23);
TE.A(106,10,"LT-MADI","de/produkte_lt-madi_info.html","","","",130,23);
TE.A(107,10,"LSlot Interface Aurora","de/produkte_interface_kit_info.html","","","",130,23);
TE.A(108,10,"Aurora Audiokabel","de/produkte_kabel.html","","","",130,23);

TE.A(11,1,"PCI Karten","de/produkte_lynxl22_info.html","","","",130,23);
TE.A(110,11,"Lynx L22","de/produkte_lynxl22_info.html","","","",130,23);
TE.A(111,11,"LynxTWO","de/produkte_lynxtwo_info.html","","","",130,23);
TE.A(112,11,"Lynx AES16","de/produkte_lynxaes16_info.html","","","",130,23);
TE.A(113,11,"LS-ADAT","de/produkte_ls-adat_info.html","","","",130,23);
TE.A(114,11,"LS-AES","de/produkte_ls-aes_info.html","","","",130,23);
TE.A(115,11,"PCI Audiokabel","de/produkte_kabel.html","","","",130,23);

TE.A(12,1,"PCI Express Karten","de/produkte_lynxaes16e_info.html","","","",70,23);
TE.A(120,12,"Lynx AES16e","de/produkte_lynxaes16e_info.html","","","",130,23);
TE.A(121,12,"PCI Audiokabel","de/produkte_kabel.html","","","",130,23);

TE.A(13,1,"Zubehör","de/produkte_kabel.html","","","",70,23);
TE.A(130,13,"Lynx Audiokabel","de/produkte_kabel.html","","","",130,23);

TE.A(2,0,"&nbsp;Lynx Produkte kaufen","de/kaufen.html","","","",170,23);

TE.A(3,0, "&nbsp;Support","de/support.html","","","",85,23);
TE.A(30,3,"Treiber Download","de/support_treiber.html","","","",165,23);
TE.A(31,3,"Firmware Download","de/support_firmware.html","","","",165,23);
TE.A(32,3,"Installationsanleitungen","de/support_manual.html","","","",165,23);
TE.A(33,3,"Dokumentation","de/support_doku.html","","","",165,23);
TE.A(34,3,"FAQ","de/support_faq.html","","","",165,23);
TE.A(35,3,"Supportformular","de/support_form.html","","","",165,23);
TE.A(36,3,"Lynx User Forum","http://www.lynxstudio.com/forum/default.asp","","","",165,23);

TE.A(4,0,"&nbsp;Kontakt","de/kontakt.html","","","",80,23);
TE.A(33,4,"Kontaktadresse","de/kontakt.html","","","",165,23);
TE.A(34,4,"Informationen anfordern","de/kontakt_form.html","","","",165,23);
TE.A(35,4,"Impressum","de/impressum.html","","","",165,23);

TE.A(5,0,"&nbsp;News","de/news.html","","","",100,23);
TE.A(50,5,"Aktuelles","de/news.html","","","",165,23);
TE.A(51,5,"Lynx in der Presse","de/news_press.html","","","",165,23);

//Here you can specify individual menu item properties
TE.Get(1).bckColor="";TE.Get(1).selBckColor="transparent";TE.Get(1).selFntColor="#000000";TE.Get(1).fntColor="#4D6370";TE.Get(1).fntSize=2;TE.Get(1).b=true;TE.Get(1).bColor="#000000";
TE.Get(2).bckColor="";TE.Get(2).selBckColor="transparent";TE.Get(2).selFntColor="#000000";TE.Get(2).fntColor="#4D6370";TE.Get(2).fntSize=2;TE.Get(2).b=true;TE.Get(2).bColor="#000000";
TE.Get(3).bckColor="";TE.Get(3).selBckColor="transparent";TE.Get(3).selFntColor="#000000";TE.Get(3).fntColor="#4D6370";TE.Get(3).fntSize=2;TE.Get(3).b=true;TE.Get(3).bColor="#000000";
TE.Get(4).bckColor="";TE.Get(4).selBckColor="transparent";TE.Get(4).selFntColor="#000000";TE.Get(4).fntColor="#4D6370";TE.Get(4).fntSize=2;TE.Get(4).b=true;TE.Get(4).bColor="#000000";
TE.Get(5).bckColor="";TE.Get(5).selBckColor="transparent";TE.Get(5).selFntColor="#000000";TE.Get(5).fntColor="#4D6370";TE.Get(5).fntSize=2;TE.Get(5).b=true;TE.Get(5).bColor="#000000";
TE.Get(10).bColor="#000000";
TE.Get(11).bColor="#000000";
TE.Get(12).bColor="#000000";
TE.Get(13).bColor="#000000";

TE.bSize=0;
TE.width=80;
TE.arrIm="";

//writing menu into page
TE.WriteCSS();
TE.WriteDiv();
}
function MenuInit()
{
window.onresize= function(){window.history.go(0)};
TE.EventInit();//Initialising events
}
function Reset()
{
TE.Reset();//reseting menu
}