function MenuBuild()   
{

is = new BrowserCheck()
TE=new TreeItem(0,0,"items2","","");
if(!W)W=1024;
TE.xpos=(W-890)/2;
TE.ypos=85;
TE.align="hor";
TE.bckColor="#000099";
TE.selBckColor="#0066cc";
TE.fntColor="#0066cc";
TE.selFntColor="#ffffff";
TE.width=120;
TE.fntSize=2;TE.i=false;TE.b=true;
TE.iHeight=20;
TE.imWidth=20;
TE.bSize=1;
TE.face="Comic Sans MS";                             
TE.bColor="#000000";
//TE.bckImage="h73cover_thumb.jpg";
//TE.arrIm="list-img1.gif";

//alert("after adding"+ns);

TE.A(1,0,"Home","uscita.htm","","","",120,20);
TE.A(2,0,"The City","origini.htm","","","",120,20);
TE.A(3,0,"The Cathedral","cattedrale.htm","","","",120,20);
TE.A(4,0,"The Castle","Castello_1.htm","","","",120,20);
TE.A(5,0,"His history","","","","",120,20);
TE.A(6,0,"Credits","crediti.htm","","","",120,20);
TE.A(7,0,"Test","../otranto/test/Test_Otranto.htm","","")
TE.A(8,4,"The Citadel","cittadella.htm","","");
TE.A(9,8,"The Castle and its History","il_castello_nella_storia.htm","","","",220,20);
TE.A(10,9,"Tales and legends","storie_e_leggende.htm","","","",170,20);
TE.A(11,3,"Inside","cattedrale_2.htm","","","",120,20);
TE.A(12,11,"The floor mosaic","il_mosaico.htm","","","",120,20);
TE.A(13,2,"The origin","origini.htm","","","",120,20);
TE.A(14,13,"The historical center","centro_storico.htm","","","",140,20);
TE.A(15,14,"Otranto and the sea","../otranto/otranto_e_il_mare.htm","","","",176,20);
TE.A(16,15,"Panoramic photo","../otranto/immagini/panoramica.htm","","","",150,20);
TE.A(17,16,"Link of Otranto","frameotrantolink.htm","","","",150,20);

TE.Get(1).bckColor="#b9cad2";TE.Get(1).selBckColor="#cc0033";
TE.Get(2).bckColor="#b9cad2";TE.Get(2).selBckColor="#cc0033";
TE.Get(3).bckColor="#b9cad2";TE.Get(3).selBckColor="#cc0033";
TE.Get(4).bckColor="#b9cad2";TE.Get(4).selBckColor="#cc0033";
TE.Get(5).bckColor="#b9cad2";TE.Get(5).selBckColor="#cc0033";
TE.Get(6).bckColor="#b9cad2";TE.Get(6).selBckColor="#cc0033";
TE.Get(7).bckColor="#b9cad2";TE.Get(7).selBckColor="#cc0033";



TE.bSize=0;
TE.width=120;
TE.arrIm="";
TE.WriteCSS();
TE.WriteDiv();



}
function MenuInit()
{
window.onresize= function(){window.history.go(0)};
TE.EventInit();
}
function Reset()
{
TE.Reset();
}