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=190;                                //X position
TE.ypos=108;                                             //Y position
TE.align="hor";                                    //hor -horisontal vert - vertical alignment
TE.bckColor="#f5f5f5";                     //Back Color
TE.selBckColor="#9C0000";               //Selected back color
TE.fntColor="#9C0000";                      // 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,"<img src=images/skin/produkte.gif>","produkte.html","","","",85,23);

TE.A(10,1,"Trickfilm","produkte.html#anim","","","",130,23);
TE.A(101,10,"Stop Motion Pro","stopmotion.html","","","",165,23);
TE.A(102,10,"Lip Sync Pro","lipsyncpro.html","","","",165,23);
TE.A(103,10,"Crater Software","ctp.html","","","",165,23);
TE.A(104,10,"Toon Boom","toon_boom.html","","","",165,23);
TE.A(105,10,"TVP Animation","tvp_animation.html","","","",165,23);

TE.A(11,1,"Video und Broadcast","produkte.html#video","","","",130,23);
TE.A(112,11,"Doremi Labs","doremi.html","","","",165,23);

TE.A(12,1,"Audio und Studiotechnik","produkte.html#audio","","","",70,23);
TE.A(120,12,"Lynx Studio Technology","http://www.lynxstudio.de","","","",165,23);
TE.A(121,12,"Diamond Cut Productions","http://www.diamondcut.de","","","",165,23);
TE.A(122,12,"Drumagog","drumagog.html","","","",165,23);
TE.A(123,12,"Steven Slate Drums","stevenslate.html","","","",165,23);
TE.A(124,12,"Supersonic Samples","supersonic.html","","","",165,23);
TE.A(125,12,"FabFilter","fabfilter.html","","","",165,23);
TE.A(126,12,"Redmatica","redmatica.html","","","",165,23);
TE.A(127,12,"ESI / Audiotrak","http://www.dbsys.de/webshop/index.php?cPath=21_52","","","",165,23);
TE.A(128,12,"USB ASIO Treiber","http://www.dbsys.de/webshop/product_info.php?products_id=103","","","",165,23);

TE.A(2,0,"<img src=images/skin/news.gif>","news.html","","","",70,23);
TE.A(21,2,"Aktuelle Meldungen","news.html","","","",165,23);
TE.A(22,2,"Messen und Events","news_messe.html","","","",165,23);
TE.A(23,2,"Pressespiegel","news_presse.html","","","",165,23);

TE.A(3,0,"<img src=images/skin/ueber_uns.gif>","about.html","","","",90,23);
TE.A(30,3,"Unser Profil","about.html","","","",165,23);
TE.A(31,3,"Unsere Partner","about.html#partner","","","",165,23);

TE.A(4,0,"<img src=images/skin/kontakt.gif>","kontakt.html","","","",80,23);
TE.A(40,4,"Kontaktadresse","kontakt.html","","","",165,23);
TE.A(41,4,"Informationen anfordern","kontakt_info.html","","","",165,23);
TE.A(42,4,"Impressum / Copyright / Haftung","impressum.html","","","",165,23);
TE.A(43,4,"Datenschutzinformationen","datenschutz.html","","","",165,23);

TE.A(5,0,"<img src=images/skin/webshop.gif>","http://www.dbsys.de/webshop/index.php?language=de","","","",100,23);
TE.A(50,5,"Neue Produkte","http://www.dbsys.de/webshop/index.php","","","",165,23);
TE.A(51,5,"Educational Software","http://www.dbsys.de/webshop/index.php?cPath=77","","","",165,23);
TE.A(52,5,"Specials","http://www.dbsys.de/webshop/specials.php","","","",165,23);
TE.A(53,5,"Unsere AGB","http://www.dbsys.de/webshop/conditions.php","","","",165,23);
TE.A(54,5,"Widerrufsbelehrung","http://www.dbsys.de/webshop/conditions3.php","","","",165,23);
TE.A(55,5,"Liefer- und Versandkosten","http://www.dbsys.de/webshop/shipping.php","","","",165,23);
TE.A(56,5,"Datenschutzinformationen","http://www.dbsys.de/webshop/privacy.php","","","",165,23);

//Here you can specify individual menu item properties
TE.Get(1).bckColor="";TE.Get(1).selBckColor="transparent";TE.Get(1).selFntColor="#C00000";TE.Get(1).fntColor="#000000";TE.Get(1).bColor="#000000";
TE.Get(2).bckColor="";TE.Get(2).selBckColor="transparent";TE.Get(2).selFntColor="#C00000";TE.Get(2).fntColor="#000000";TE.Get(2).bColor="#000000";
TE.Get(3).bckColor="";TE.Get(3).selBckColor="transparent";TE.Get(3).selFntColor="#C00000";TE.Get(3).fntColor="#000000";TE.Get(3).bColor="#000000";
TE.Get(4).bckColor="";TE.Get(4).selBckColor="transparent";TE.Get(4).selFntColor="#C00000";TE.Get(4).fntColor="#000000";TE.Get(4).bColor="#000000";
TE.Get(5).bckColor="";TE.Get(5).selBckColor="transparent";TE.Get(5).selFntColor="#C00000";TE.Get(5).fntColor="#000000";TE.Get(5).bColor="#000000";

TE.Get(10).bColor="#000000";
TE.Get(11).bColor="#000000";
TE.Get(12).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
}
