function buildMenu() {
	document.write('<CENTER>');
	document.write('<TABLE width=790 frame=void>');
	document.write('<TR>');
	document.write('<TD>');
	document.write('<IMG src=../immagini/logo.jpg>');
	document.write('</TD>');
	document.write('<!-- INTESTAZIONE -->');
	document.write('<TD colspan=2 height=180><CENTER>');
	imm=new Array(6);
	imm[0]="colosseo";
	imm[1]="duomo";
	imm[2]="napoli";
	imm[3]="scala";
	imm[4]="battistero";
	imm[5]="vesuvio";
		num = Math.random()*6;
		ind=5;
		if(num>1)
		{ind=0;}
		if(num>2)
		{ind=1;}
		if(num>3)
		{ind=2;}
		if(num>4)
		{ind=3;}
		if(num>5)
		{ind=4;}
	document.write('<IMG src="../immagini/head_'+imm[ind]+'.jpg" vspace=0 border=0>');
	
	document.write('</CENTER></TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD width=190 valign=top> <!-- MENU -->');
	document.write('<CENTER>');
	document.write('<TABLE width=184 frame=void>');
	document.write('<TR><TD height=25 background=../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	INFORMATION');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=index.htm><FONT face=verdana size=3><B>');
	document.write('Who we are');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=why_choose_nos.htm><FONT face=verdana size=3><B>');
	document.write('Why choose NOS');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<!--<A href=news.htm>--><FONT face=verdana size=3><B>');
	document.write('News');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD><BR></TD></TR>');
	document.write('<TR><TD height=25 background=../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	CONTACTS');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=contact_us.htm><FONT face=verdana size=3><B>');
	document.write('Contact us');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=find_us.htm><FONT face=verdana size=3><B>');
	document.write('Where to find us');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD><BR></TD></TR>');
	document.write('<TR><TD height=25 background=../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	OFFERS');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=preview_visit.htm><FONT face=verdana size=3><B>');
	document.write('Preview visit');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=house.htm><FONT face=verdana size=3><B>');
	document.write('House');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=family.htm><FONT face=verdana size=3><B>');
	document.write('Family');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=work.htm><FONT face=verdana size=3><B>');
	document.write('Work');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=check_out.htm><FONT face=verdana size=3><B>');
	document.write('House check-out');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD><BR></TD></TR>');
	document.write('<TR><TD height=25 background=../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	RESERVED');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=logon.htm><FONT face=verdana size=3><B>');
	document.write('Login');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('</TABLE>');
	document.write('</CENTER>');
	document.write('</TD>');
}

function buildReservedMenu() {
	document.write('<CENTER>');
	document.write('<TABLE width=790 frame=void>');
	document.write('<TR>');
	document.write('<TD>');
	document.write('<IMG src="../immagini/logo.jpg">');
	document.write('</TD>');
	document.write('<!-- INTESTAZIONE -->');
	document.write('<TD colspan=2 height=180><CENTER>');
	imm=new Array(6);
	imm[0]="colosseo";
	imm[1]="duomo";
	imm[2]="napoli";
	imm[3]="scala";
	imm[4]="battistero";
	imm[5]="vesuvio";
		num = Math.random()*6;
		ind=5;
		if(num>1)
		{ind=0;}
		if(num>2)
		{ind=1;}
		if(num>3)
		{ind=2;}
		if(num>4)
		{ind=3;}
		if(num>5)
		{ind=4;}
	document.write('<IMG src="../immagini/head_'+imm[ind]+'.jpg" vspace=0 border=0>');
	
	document.write('</CENTER></TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD width=190 valign=top> <!-- MENU -->');
	document.write('<CENTER>');
	document.write('<TABLE width=184 frame=void>');
	document.write('<TR><TD height=25 background=..../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	INFORMATIONS');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../index.htm><FONT face=verdana size=3><B>');
	document.write('Who we are');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../why_choose_nos.htm><FONT face=verdana size=3><B>');
	document.write('Why choose NOS');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<!--<A href=../news.htm>--><FONT face=verdana size=3><B>');
	document.write('News');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD><BR></TD></TR>');
	document.write('<TR><TD height=25 background=..../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	CONTACTS');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../contact_us.htm><FONT face=verdana size=3><B>');
	document.write('Contact us');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../find_us.htm><FONT face=verdana size=3><B>');
	document.write('Where to find us');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD><BR></TD></TR>');
	document.write('<TR><TD height=25 background=..../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	OFFERS');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../preview_visit.htm><FONT face=verdana size=3><B>');
	document.write('Preview visit');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../house.htm><FONT face=verdana size=3><B>');
	document.write('House');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../family.htm><FONT face=verdana size=3><B>');
	document.write('Family');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../work.htm><FONT face=verdana size=3><B>');
	document.write('Work');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href=../check_out.htm><FONT face=verdana size=3><B>');
	document.write('House check-out');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('<TR><TD><BR></TD></TR>');
	document.write('<TR><TD height=25 background=..../immagini/pad.jpg>');
	document.write('<CENTER><FONT face=verdana size=4><B>');
	document.write('	RESERVED');
	document.write('</B></FONT></CENTER>');
	document.write('</TD></TR>');
	document.write('<TR><TD align=center>');
	document.write('<A href="../logon.htm" onClick="logout ()"><FONT face=verdana size=3><B>');
	document.write('Logout');
	document.write('</B></FONT></A>');
	document.write('</TD></TR>');
	document.write('</TABLE>');
	document.write('</CENTER>');
	document.write('</TD>');
}

function changeLanguage() {
	var tmp = document.location.href;
	if(tmp.substring((tmp.lastIndexOf('/')-2),tmp.lastIndexOf('/'))=='en'){
		window.location.href=tmp.substring(0,(tmp.lastIndexOf('/en/')+1))+'it/'+tmp.substring((tmp.lastIndexOf('/')+1));
	}else{
		window.location.href=tmp.substring(0,(tmp.lastIndexOf('/it/')+1))+'en/'+tmp.substring((tmp.lastIndexOf('/')+1));
	}
}
