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=107;                                             //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/products.gif>","http://www.dbsys.de/webshop/index.php?language=en","","","",85,23);

TE.A(10,1,"Animation","http://www.dbsys.de/webshop/index.php?cPath=28&language=en","","","",130,23);

TE.A(11,1,"Broadcast","http://www.dbsys.de/webshop/index.php?cPath=66&language=en","","","",130,23);

TE.A(12,1,"Audio","http://www.dbsys.de/webshop/index.php?cPath=21&language=en","","","",70,23);

TE.A(3,0,"<img src=../images/skin/about_us.gif>","http://www.dbsys.de/webshop/company_profile.php?language=en","","","",90,23);
TE.A(30,3,"Company profile","http://www.dbsys.de/webshop/company_profile.php?language=en","","","",165,23);

TE.A(4,0,"<img src=../images/skin/contact.gif>","http://www.dbsys.de/webshop/contact_us.php?language=en","","","",80,23);
TE.A(40,4,"Contact us","http://www.dbsys.de/webshop/contact_us.php?language=en","","","",165,23);
TE.A(41,4,"Request information","http://www.dbsys.de/webshop/contact_us.php?language=en","","","",165,23);

TE.A(5,0,"<img src=../images/skin/webshop.gif>","http://www.dbsys.de/webshop/index.php?language=en","","","",100,23);
TE.A(50,5,"New Products","http://www.dbsys.de/webshop/index.php?language=en","","","",165,23);
TE.A(51,5,"Special Offers","http://www.dbsys.de/webshop/specials.php?language=en","","","",165,23);
TE.A(52,5,"Terms and Conditions (ger)","http://www.dbsys.de/webshop/conditions.php?language=en","","","",165,23);
TE.A(54,5,"Payment and Shipping","http://www.dbsys.de/webshop/shipping.php?language=en","","","",165,23);
TE.A(55,5,"Privacy Notice","http://www.dbsys.de/webshop/privacy.php?language=en","","","",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
}