function MenuBuild()
{
is = new BrowserCheck()
TE=new TreeItem(0,0,"items2","","");
TE.xpos=0;TE.ypos=93;
TE.align="horizontal";
TE.bckColor="#CCCCCC";
TE.selBckColor="#E4E4E4";
TE.fntColor="#000066";
TE.selFntColor="#A2A2A2";
TE.width=90;
TE.fntSize=1.9;
TE.face="arial";
TE.iHeight=20;
TE.imWidth=2;
TE.bSize=1;
TE.bColor="#000066";

//level 1
TE.A(1,0,"Toys","/acatalog/traditional_toys.html","","blank.gif");
TE.A(2,0,"Party Bags & Toys","/acatalog/Party_bags.html","","blank.gif");
TE.A(3,0,"collectables","/acatalog/Anamalz.html","","blank.gif");
TE.A(4,0,"Games","/acatalog/traditional_games.html","","blank.gif");
TE.A(5,0,"Juggling","/acatalog/Juggling_Equipment.html","","blank.gif");
TE.A(6,0,"Magic","/acatalog/Magic.html","","blank.gif");
TE.A(7,0,"Tin Toys","/acatalog/tin_toys.html","","blank.gif");
TE.A(8,0,"Antique Games","/acatalog/antique_games.html","","blank.gif");

// Toys Roll Out
TE.A(100,1,"Toys Front Page","/acatalog/traditional_toys.html","","blank.gif");
TE.A(101,1,"Wooden Toys","/acatalog/wooden_toys.html","","blank.gif");
TE.A(102,1,"Wooden Railways","/acatalog/Wooden_Train_Sets.html","","blank.gif");
TE.A(103,1,"Children's Games","/acatalog/childrens_boxed_games.html","","blank.gif");
TE.A(104,1,"Marbles & accessories","/acatalog/Marbles.html","","blank.gif");
TE.A(105,1,"Pocket Money Toys","/acatalog/pocket_money_toys.html","","blank.gif");
TE.A(106,1,"Party Bags","/acatalog/Party_bags.html","","blank.gif");
TE.A(107,1,"Crafts / Activities","/acatalog/crafts_activities.html","","blank.gif");
TE.A(108,1,"Science Toys","/acatalog/science_toys.html","","blank.gif");
TE.A(109,1,"Educational Toys","/acatalog/educational_toys.html","","blank.gif");
TE.A(110,1,"Musical Instruments","/acatalog/musical_toys.html","","blank.gif");
TE.A(111,1,"Role Play / Acting","/acatalog/role_play_acting.html","","blank.gif");
TE.A(112,1,"Baby / Nursery","/acatalog/Baby_Nursery.html","","blank.gif");
TE.A(113,1,"Pre-School","/acatalog/Pre_school_toys.html","","blank.gif");
TE.A(114,1,"Childrens Puzzles","/acatalog/Childrens_Puzzles.html","","blank.gif");

// Toys/Railway Roll Out
TE.A(150,102,"Train Sets","/acatalog/Train_Sets.html","","blank.gif");
TE.A(151,102,"Track","/acatalog/Wooden_railway_Track.html","","blank.gif");
TE.A(152,102,"Trains & Vehicles","/acatalog/Wooden_Trains_Vehicles.html","","blank.gif");
TE.A(153,102,"Bridges / Tunnels","/acatalog/Train_Bridges_Tunnels.html","","blank.gif");
TE.A(154,102,"Buildings / Scenery","/acatalog/Train_Buildings_Scenery.html","","blank.gif");

// Toys/Marbles Roll Out
TE.A(161,104,"Accessories & Games","/acatalog/Marbles.html","","blank.gif");
TE.A(161,104,"Small Marbles","/acatalog/Small_Marbles.html","","blank.gif");
TE.A(162,104,"Large Marbles","/acatalog/Large_Marbles.html","","blank.gif");
TE.A(163,104,"Giant Marbles","/acatalog/Giant_Marbles.html","","blank.gif");
TE.A(164,104,"Handmade Marbles","/acatalog/Handmade_Marbles.html","","blank.gif");

// Party Roll Out
TE.A(170,2,"Party Bags","/acatalog/Party_bags.html","","blank.gif");
TE.A(171,2,"Girls Party Bag Toys","/acatalog/Girls_Party_Toys.html","","blank.gif");
TE.A(172,2,"Boys Party Bag Toys","/acatalog/Boys_Party_Toys.html","","blank.gif");
TE.A(172,2,"All Party Bag Toys","/acatalog/Unisex_Party_Toys.html","","blank.gif");

// Toys/Roll Play Roll Out
TE.A(181,111,"Role play / Acting","/acatalog/role_play_acting.html","","blank.gif");
TE.A(181,111,"Play Kitchens","/acatalog/Play_Kitchens.html","","blank.gif");
TE.A(183,111,"Play Shops","/acatalog/Shops_Kitchens.html","","blank.gif");
TE.A(183,111,"Robin Hood","/acatalog/Robin_Hood.html","","blank.gif");
TE.A(182,111,"Theatre & Puppets","/acatalog/Theatre_Puppets.html","","blank.gif");
TE.A(183,111,"Pirates & Knights","/acatalog/Pirates_Knights.html","","blank.gif");

// collectables Roll Out
TE.A(201,3,"Anamalz","/acatalog/Anamalz.html","","blank.gif");

// Games Roll Out
TE.A(301,4,"Traditional Games","/acatalog/traditional_games.html","","blank.gif");
TE.A(302,4,"Wooden Games","/acatalog/Wooden_Games.html","","blank.gif");
TE.A(303,4,"Pub Games","/acatalog/pub_games.html","","blank.gif");
TE.A(304,4,"Dominoes / Cribbage","/acatalog/dominoes_cribbage.html","","blank.gif");
TE.A(305,4,"Cribbage Pegs","/acatalog/Cribbage_Pegs.html","","blank.gif");
TE.A(306,4,"Puzzles & Teasers","/acatalog/one_player_games.html","","blank.gif");
TE.A(307,4,"Playing Cards","/acatalog/playing_cards.html","","blank.gif");
TE.A(308,4,"Boxed Games","/acatalog/boxed_games.html","","blank.gif");
TE.A(309,4,"Oriental Games","/acatalog/Oriental_games.html","","blank.gif");
TE.A(310,4,"Compendiums","/acatalog/compendiums.html","","blank.gif");
TE.A(311,4,"Backgammon","/acatalog/backgammon.html","","blank.gif");
TE.A(312,4,"Gambling / Casino","/acatalog/gambling.html","","blank.gif");
TE.A(313,4,"After Dinner Games","/acatalog/after_dinner_games.html","","blank.gif");
TE.A(314,4,"Chess","/acatalog/chess.html","","blank.gif");
TE.A(315,4,"Snooker / Pool","/acatalog/Snooker_Pool.html","","blank.gif");
TE.A(316,4,"Games Tables","/acatalog/Games_Tables.html","","blank.gif");
TE.A(317,4,"Games Components","/acatalog/games_components.html","","blank.gif");


// Juggling Roll Out
TE.A(401,5,"Juggling Front Page","/acatalog/Juggling_Equipment.html","","blank.gif");
TE.A(402,5,"Beginners Equipment","/acatalog/Beginners.html","","blank.gif");
TE.A(403,5,"Juggling Balls","/acatalog/Juggling_balls.html","","blank.gif");
TE.A(404,5,"Juggling Clubs","/acatalog/Juggling_Clubs.html","","blank.gif");
TE.A(405,5,"Diabolos","/acatalog/Diabolos.html","","blank.gif");
TE.A(406,5,"Fire / Knives","/acatalog/Fire_Knives.html","","blank.gif");
TE.A(407,5,"Swinging Poi","/acatalog/Spinning_Poi.html","","blank.gif");
TE.A(408,5,"Juggling Books","/acatalog/Juggling_Books.html","","blank.gif");
TE.A(409,5,"Stage Props","/acatalog/Stage_Props.html","","blank.gif");
TE.A(410,5,"Unicycles","/acatalog/Unicycles.html","","blank.gif");

// Magic Roll Out
TE.A(501,6,"Magic Front Page","/acatalog/Magic.html","","blank.gif");
TE.A(502,6,"Magic Sets","/acatalog/Magic_Sets.html","","blank.gif");
TE.A(503,6,"Childrens Magic","/acatalog/Childrens_Magic.html","","blank.gif");
TE.A(504,6,"Intermediate Magic","/acatalog/Beginners_Magic.html","","blank.gif");
TE.A(505,6,"Professional Magic","/acatalog/Professional_Magic.html","","blank.gif");

// Tin Toys Roll Out
TE.A(601,7,"Tin Toys Front Page","/acatalog/tin_toys.html","","blank.gif");
TE.A(602,7,"Tin Farm Equipment","/acatalog/Tin_Farm_vehicles.html","","blank.gif");
TE.A(603,7,"Tin Animals","/acatalog/Tin_Animals.html","","blank.gif");
TE.A(604,7,"Tin Boats","/acatalog/Tin_toy_boats.html","","blank.gif");
TE.A(605,7,"Tin Vehicles","/acatalog/Tin_vehicles.html","","blank.gif");
TE.A(606,7,"Tin Robots","/acatalog/Tin_Robots.html","","blank.gif");
TE.A(607,7,"Fairground Toys","/acatalog/Fairground_Tin_Toys.html","","blank.gif");

// Antique Games Roll Out
TE.A(701,8,"General Antique Games","/acatalog/antique_games.html","","blank.gif");
TE.A(701,8,"Antique Cribbage","/acatalog/antique_cribbage.html","","blank.gif");
TE.A(701,8,"Antique Dominoes","/acatalog/Dominos.html","","blank.gif");
TE.A(701,8,"Antique Boxed Games","/acatalog/antique_boxed_games.html","","blank.gif");
TE.A(701,8,"Antique Chess","/acatalog/Antique_Chess.html","","blank.gif");
TE.A(701,8,"Antique Gambling / Casino","/acatalog/Gambling_Casino.html","","blank.gif");
TE.A(701,8,"Antique Bridge","/acatalog/Antique_Bridge_sets.html","","blank.gif");
TE.A(701,8,"Antique Parlour Games","/acatalog/Parlour_Games.html","","blank.gif");
TE.A(701,8,"Antique Trump Markers","/acatalog/trump_markers.html","","blank.gif");
TE.A(701,8,"Antique Card Boxes","/acatalog/Card_Boxes.html","","blank.gif");
TE.A(701,8,"Antique Playing Cards","/acatalog/Antique_Cards.html","","blank.gif");

//
TE.WriteCSS();
TE.WriteDiv();
}
function MenuInit()
{
window.onresize= function(){window.history.go(0)};
TE.EventInit();
//loop1();
}
function Reset()
{
TE.Reset();
}
lcnt=1;dr=1;
lcnt1=1;
var cols=new Array("#000022","#202080","#3030a0","#303086","#202090");
var cls=new Array("#ffffff","#fff8f8","#fff0f0","#ffe5e5","#ffe0e0");
function loop1()
{
if(lcnt+dr<1||lcnt+dr>5)dr=-dr;
lcnt+=dr;
lcnt1++;if(lcnt1>5)lcnt1=1;
t3move(lcnt1);
status="loop"+lcnt;
temove(lcnt);TEmove(lcnt);
setTimeout("loop1()",300);
}
function temove(ind)
{
oldind=ind-dr;//if(ind==1)oldind=5;
var it=TE.Get(ind);
var ito=TE.Get(oldind);
ito.bckColor="#404040";ito.fntColor="#ffffff";
it.bckColor="#907080";it.fntColor="#aaaaff";
ito.Toggle(ito.Opened);
it.Toggle(it.Opened);
}
function TEmove(ind)
{
T1.MoveTo(70,150+ind);
for(i=1;i<6;i++)
{
var it=T1.Get(i);
it.bckColor=cls[ind-1];
it.Toggle(it.Opened);
}
}
function t3move(ind)
{
nd=ind-1;
for(i=1;i<6;i++)
{
var it3=T3.Get(i);
if(i+nd-1>4)nd=1-i;
it3.bckColor=cols[i+nd-1];
it3.Toggle(it3.Opened);
}
}
