<!--
//- Vari
window.onerror=null;

if(self!=top)
top.location=self.location;

//- OnMouseOverTable
var ns6=document.getElementById&&!document.all;
var ie=document.all;
function changeto(e,highlightcolor){
	source=ie?event.srcElement:e.target;
	if(source.tagName=="TR"||source.tagName=="TABLE"||source.tagName=="TBODY")
	return;
	while(source.tagName!="TD"&&source.tagName!="HTML")
	source=ns6? source.parentNode:source.parentElement;
	if(source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
	source.style.backgroundColor=highlightcolor;
}
function contains_ns6(master,slave){
	while(slave.parentNode)
	if((slave=slave.parentNode)==master)
	return true;
	return false;
}
function changeback(e,originalcolor){
    if(ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TR"||source.tagName=="TABLE"||source.tagName=="TBODY")
	return;
	else if(ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
	return;
	if(ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
	source.style.backgroundColor=originalcolor;
}

//- Data
function writeDateToday()
{
var days=new Array(8);days[1]="Domingo";days[2]="Lunes";days[3]="Martes";days[4]="Miércoles";days[5]="Jueves";days[6]="Viernes";days[7]="Sábado";var months=new Array(13);months[1]="Enero";months[2]="Febrero";months[3]="Marzo";months[4]="Abril";months[5]="Mayo";months[6]="Junio";months[7]="Julio";months[8]="Agosto";months[9]="Septiembre";months[10]="Octubre";months[11]="Noviembre";months[12]="Diciembre";var dateObj=new Date();var wday=days[dateObj.getDay()+1];var lmonth=months[dateObj.getMonth()+1];var date=dateObj.getDate();var anno=dateObj.getYear();{if(navigator.appName=="Microsoft Internet Explorer"){if(anno>99){return (wday+", "+date+"&nbsp;"+lmonth+"&nbsp;"+anno);}else{return (wday+", "+date+"&nbsp;"+lmonth+"&nbsp;19" +anno);}}else{if(anno>99){return (wday+", "+date+"&nbsp;"+lmonth+"&nbsp;"+(anno+1900));}else{return (wday+", "+date+"&nbsp;"+lmonth+"&nbsp;19"+anno);}}}
}

var ico_menu="<img src=\"/all-lang/img/ico_menu.gif\" width=5 height=7 border=0>";
var bg_menu="background=\"/all-lang/img/bgmenu3.gif\"";

//- Menu alto1
function writeMenu1(lev,id)
{
var m1="<TABLE cellSpacing=1 cellPadding=1 width=750 border=0 onMouseover=\"changeto(event,'#0F26F3')\" onMouseout=\"changeback(event,'#071593')\"><TBODY><TR>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/esp/index.php\" class=text8w><B>Home Page</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/forum/forum.php?LANG=esp\" class=text8w><B>Forum</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/chat/chat_start.php?LANG=esp\" class=text8w><B>Chat</B></A></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/guestbook/guestbook_esp.htm\" class=text8w><B>GuestBook</B></A></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/email/email.php?LANG=esp\" class=text8w><B>E-mail</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/download/download.php?LANG=esp\" class=text8w><B>Download</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/cartoline/cartoline.php?LANG=esp\" class=text8w><B>Postales</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/eventi/eventi.php?LANG=esp\" class=text8w><B>Eventos</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/search/search.php?LANG=esp\" class=text8w><B>Busca</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/accountuser/accountuser.php?LANG=esp\" class=text8w><B>ACCOUNT</B></A></TD>";
m1+="</TR></TBODY></TABLE>";

document.write(m1);
}
//- Menu alto2
function writeMenu2(lev,id)
{
var today="<font color=#FFFF00>"+writeDateToday()+"</font>";
var m2="<TABLE cellSpacing=0 cellPadding=2 width=750 border=0><TBODY>";
m2+="<TR><TD noWrap align=left valign=middle background=\"/all-lang/img/bgmenu1.gif\" bgColor=#0063FF height=15 class=text8w>&nbsp;"+today+"&nbsp;| <a href=\"/all-lang/search/search.php?LANG=esp\" class=text8w><B>Busca</B></A> | <a href=\"/all-lang/cartoline/cartoline.php?LANG=esp\" class=text8w><B>Postales</B></A> | <a href=\"/all-lang/email/email.php?LANG=esp\" class=text8w><B>E-mail</B></A> | <a href=\"/all-lang/guestbook/guestbook_esp.htm\" class=text8w><B>GuestBook</B></A></TD><TD noWrap align=right valign=middle background=\"/all-lang/img/bgmenu1.gif\" bgColor=#0063FF height=15 class=text8w><a href=\"/esp/index.php\" text=\"English version\"><img src=\"/all-lang/img/flag_eur.gif\" width=19 height=13 border=0 align=middle alt=\"English version\"></a> <a href=\"/index.php\" text=\"Versione italiana\"><img src=\"/all-lang/img/flag_ita.gif\" width=19 height=13 border=0 align=middle alt=\"Versione italiana\"></a> <a href=\"/eng/index.php\" text=\"English version\"><img src=\"/all-lang/img/flag_eng.gif\" width=19 height=13 border=0 align=middle alt=\"English version\"></a> <a href=\"/esp/index.php\" text=\"Versión español\"><img src=\"/all-lang/img/flag_esp_sel.gif\" width=19 height=13 border=0 align=middle alt=\"Versión español\"></a> <a href=\"/ger/index.php\" text=\"Deutsche version\"><img src=\"/all-lang/img/flag_ger.gif\" width=19 height=13 border=0 align=middle alt=\"Deutsche version\"></a> <a href=\"/fra/index.php\" text=\"Version française\"><img src=\"/all-lang/img/flag_fra.gif\" width=19 height=13 border=0 align=middle alt=\"Version française\"></a> <a href=\"/chn/index.php\" text=\"Chinese version\"><img src=\"/all-lang/img/flag_chn.gif\" width=19 height=13 border=0 align=middle alt=\"Chinese version\"></a> <a href=\"/ara/index.php\" text=\"Arabic version\"><img src=\"/all-lang/img/flag_ara.gif\" width=19 height=13 border=0 align=middle alt=\"Arabic version\"></a> <a href=\"/rus/index.php\" text=\"Russian version\"><img src=\"/all-lang/img/flag_rus.gif\" width=19 height=13 border=0 align=middle alt=\"Russian version\"></a> <a href=\"/sar/index.php\"><img src=\"/all-lang/img/flag_sar.gif\" width=19 height=13 border=0 align=middle alt=\"Limba sarda\"></a> <a href=\"javascript:void(addbookmark())\"><img src=\"/all-lang/img/ico_preferiti.gif\" height=13 border=0 align=middle alt=\"www.mondosardegna.net\"></a> <A href=\"#\" onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.mondosardegna.net');\"><img src=\"/all-lang/img/ico_home.gif\" height=13 border=0 align=middle alt=\"Home Page\"></a>&nbsp;</TD></TR>";
m2+="</TBODY></TABLE>";
document.write(m2);
}
//- Banner long
function writeBannerLong(lev,id){
 var ban=getBannerLong(lev,id);
 document.write(ban);
}
//- Banner short
function writeBannerShort(lev,id){
 var ban=getBannerShort(lev,id);
 return "<center>"+ban+"</center>";
}
//- Menu left
function writeMenuLeft(lev,id){
var ml="";

//HOME
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td width=130 height=20 valign=middle class=text8b><a href=\"/esp/index.php\" class=text8b><B>Home Page</B></a></td></tr>\n";
ml+="</table>\n";

//NATURA
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>NATURALEZA</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_NATURA.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/mare/mare.htm\" class=text8w>Mar</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/montagna/montagna.htm\" class=text8w>Montaña</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/grotte/grotte.htm\" class=text8w>Grutas</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=tramonto\" class=text8w>Atardeceres</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=flora\" class=text8w>Flora</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=fauna\" class=text8w>Fauna</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=fondalimarini\" class=text8w>Fondos marinos</a></TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";

ml+="<br class=text7b />\n";

//STORIA
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>HISTORIA</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_STORIA.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/storia/storiaantica.htm\" class=text8w>Historia antigua</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/storia/cronologia.htm\" class=text8w>Cronología</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/archeologia/archeologia.php?LANG=esp\" class=text8w>Arqueología</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/nuraghi/nuraghi.htm\" class=text8w>Nuraghi</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=miniere\" class=text8w>Minas</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/bronzetti/bronzetti.htm\" class=text8w>Bronces</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=monumenti\" class=text8w>Monumentos</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=castelli\" class=text8w>Castles</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=torri\" class=text8w>Torres</a></TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";

ml+="<br class=text7b />\n";

//ANTICHITA'
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>ANTIQUITY</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_ANTICHITA.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=antichita\" class=text8w>Antigüedad</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=monete\" class=text8w>Monedas</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/cartestoriche/cartestoriche.htm\" class=text8w>Mapas históricas</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=foto_antiche\" class=text8w>Fotos antiguas</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=fossili\" class=text8w>Fósiles</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=minerali\" class=text8w>Minerales</a></TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";

ml+="<br class=text7b />\n";

//IN VIAGGIO
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>EL RECORRIDO</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_IN_VIAGGIO.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
//ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"http://res.rent.it/sites/IT/Default.aspx?l=IT&siteid=50-115AC64E\" class=text8w target=_blank>Alquiler coche</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/traghetti/traghetti.php?LANG=esp\" class=text8w>Reserva balsear</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/numeriutili/numeriutili.php?LANG=esp\" class=text8w>Números útiles</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/numeriutili/numeriutili.php?LANG=esp&cat=MUSEI\" class=text8w>Museos</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/distanze/distanze.htm\" class=text8w>Distancias Km</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/escursioni_tours/escursioni_tours.php?LANG=esp\" class=text8w>Excursiones</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/cartina/cartina.htm\" class=text8w>Mapa carreteras</a></TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";

ml+="<br class=text7b />\n";

//FORM NEWSLETTER
ml+="<FORM action=\"javascript:void(0)\" method=POST name=iscrNewsletter>\n";
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>SERVICIOS</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_ISCRIZIONI.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF class=text8w>\n";
ml+="<TABLE cellspacing=0 cellpadding=0 width=105 border=0><TR><TD colspan=2 align=center width=110 class=text7w bgcolor=#0063FF>NEWSLETTER<br><a href=\"/all-lang/newsletter/newsletter.php?LANG=esp\" class=text8w>Info</a><br><input type=text name=email value=\"Tu e-mail\" onclick=\"value=''\" size=12 maxlength=50 class=txt8></TD></TR><TR><TD colspan=2 width=110 valign=middle align=center class=text7w bgcolor=#0063FF><br><input type=image src=\"/all-lang/img/ok.gif\" border=0 name=conferma value=OK alt=OK onclick=\"javascript:execServices(document.iscrNewsletter); return false;\" class=text7w></TD></TR></TABLE>";
ml+="</TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";
ml+="</FORM>\n";


//SPONSOR
ml+=writeBannerShort(levelDir,0);

ml+="<br class=text7b />\n";

//VARI
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>VARIOS</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_VARI.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/curiosita/curiosita.htm\" class=text8w>Curiosidades</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=foto_curiose\" class=text8w>Fotos Curios.</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/almanacco/almanacco.php?LANG=esp\" class=text8w>Almanac</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/download/download.php?LANG=esp\" class=text8w>Download</a></TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";

ml+="<br class=text7b />\n";


//SERVIZI
ml+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
ml+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>SERVICES</b></font></td></tr>\n";
ml+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_SERVIZI.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
ml+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
ml+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/newsletter/newsletter.php?LANG=esp\" class=text8w>Newsletter</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/linkexchange/linkex.php?LANG=ESP\" class=text8w>Intercambio links</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/webmaster/webmaster.htm\" class=text8w>Webmaster</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/vari/rubriche.htm\" class=text8w>Firmas</a></TD></TR>\n";
ml+="</table>\n";
ml+="</td></tr>\n";
ml+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
ml+="</table>\n";

ml+="<br class=text7b />\n";

//SPONSOR
ml+=writeBannerShort(levelDir,1);

document.write(ml);
}
//- Menu Right
function writeMenuRight(lev,id){
	
var mr="";

mr+="<br class=text7b />\n";

//L'ISOLA SARDA
mr+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
mr+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>LA ISLA</b></font></td></tr>\n";
mr+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_ISOLA_SARDA.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
mr+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
mr+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/geografia/geografia.htm\" class=text8w>Geografía</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/comuni/comuni.htm\" class=text8w>Municipios</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/itinerari/itinerari.php?LANG=esp\" class=text8w>Itinerarios</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/mappe/mappe.php?LANG=esp\" class=text8w>Mapas</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/mappe/mappe.php?LANG=esp&cat=satellite\" class=text8w>Vista satélite</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/meteo/meteo.htm\" class=text8w>Meteorología</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/fiumi/fiumi.php?LANG=esp\" class=text8w>Ríos</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/venti/venti.htm\" class=text8w>Vientos</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=murales\" class=text8w>Murales</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/video/video.php?LANG=esp\" class=text8w>Video-Films</a></TD></TR>\n";
mr+="</table>\n";
mr+="</td></tr>\n";
mr+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
mr+="</table>\n";

mr+="<br class=text7b />\n";

//TRADIZIONI
mr+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
mr+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>TRADICIONES</b></font></td></tr>\n";
mr+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_TRADIZIONI.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
mr+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
mr+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/cucina/cucina.htm\" class=text8w>Cocina</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/artigianato/artigianato.htm\" class=text8w>Artesanía</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/costumi/costumi.htm\" class=text8w>Trajes típicos</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/sagre/sagre.htm\" class=text8w>Festividades</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/festivita/festivita.php?LANG=esp\" class=text8w>Cal. festividades</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/musica/musica.php?LANG=esp\" class=text8w>Música sarda</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/linguasarda/linguasarda.htm\" class=text8w>Lengua sarda</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/foto/foto.php?LANG=esp&cat=simboli\" class=text8w>Símbolos</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/cognomi/cognomi.php?LANG=esp\" class=text8w>Apellidos</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/proverbi/proverbi.php?LANG=esp\" class=text8w>Proverbios</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/souvenir/souvenir_esp.htm\" class=text8w>Souvenir</a></TD></TR>\n";
mr+="</table>\n";
mr+="</td></tr>\n";
mr+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
mr+="</table>\n";

mr+="<br class=text7b />\n";

//STRUTTURE
mr+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
mr+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>STRUCTURES</b></font></td></tr>\n";
mr+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_STRUTTURE.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
mr+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
mr+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/struttureturistiche/struttureturistiche.php?LANG=esp&t=H\" class=text8w>Hotel</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/struttureturistiche/struttureturistiche.php?LANG=esp&t=B\" class=text8w>Bed & Breakfast</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/struttureturistiche/struttureturistiche.php?LANG=esp&t=A\" class=text8w>Agroturismo</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/struttureturistiche/struttureturistiche.php?LANG=esp&t=R\" class=text8w>Restaurantes</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/struttureturistiche/struttureturistiche.php?LANG=esp&t=P\" class=text8w>Camping</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/struttureturistiche/struttureturistiche.php?LANG=esp&t=C\" class=text8w>Casa</a></TD></TR>\n";
mr+="</table>\n";
mr+="</td></tr>\n";
mr+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
mr+="</table>\n";

mr+="<br class=text7b />\n";

//SPONSOR
mr+=writeBannerShort(levelDir,2);

mr+="<br class=text7b /><br class=text7b />\n";

//COMUNICAZIONI
mr+="<table width=130 border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>\n";
mr+="<tr><td colspan=2 align=center width=130 height=18 class=text8b background=\"/all-lang/img/bgTabMenu1.png\"><font color=#ffff00><b>SALUDOS</b></font></td></tr>\n";
mr+="<tr><td align=left valign=top width=15 class=text8b background=\"/all-lang/img/logos_COMUNICAZIONI.png\"><img src=\"/all-lang/img/null.gif\" width=15 border=0></td>";
mr+="<td align=left width=115 bgcolor=#FFFFFF class=text8b>\n";
mr+="<table width=115 border=0 cellpadding=2 cellspacing=1 bgcolor=#FFFFFF onMouseover=\"changeto(event,'#4D93FD')\" onMouseout=\"changeback(event,'#0063FF')\">\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/forum/forum.php?LANG=esp\" class=text8w>Forum</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/chat/chat_start.php?LANG=esp\" class=text8w>Chat</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/guestbook/guestbook_esp.htm\" class=text8w>GuestBook</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/email/email.php?LANG=esp\" class=text8w>E-mail</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/circoli/circoli.php?LANG=esp\" class=text8w>Asociaciones</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/cartoline/cartoline.php?LANG=esp\" class=text8w>Postales</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/realcards/realcards.php?LANG=esp\" class=text8w>Post. auténticas</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/consiglia/consiglia.php?LANG=esp&tp=page\" class=text8w>A un amigo</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/eventi/eventi.php?LANG=esp\" class=text8w>Noticias Eventos</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/vari/segnalato_da.htm\" class=text8w>Recomendado...</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/esp/vari/ringraziamenti.htm\" class=text8w>Agradecimientos</a></TD></TR>\n";
mr+="</table>\n";
mr+="</td></tr>\n";
mr+="<tr><td colspan=2 align=left width=130 class=text8b><img src=\"/all-lang/img/bottomTab.png\" width=130 height=9></td></tr>\n";
mr+="</table>\n";

mr+="<br class=text7b />\n";

//SPONSOR
mr+=writeBannerShort(levelDir,3);

document.write(mr);
}
//- Footer
function writeFooter(lev,id){
var cons="<table cellSpacing=0 cellPadding=2 width=750 border=0><tr><td align=center class=text8b><a href=\"javascript:openWinUtil(320,300,200,200,'no','"+escape("/all-lang/consiglia/consiglia.php?LANG=esp&page="+escape(location.href))+"');\" class=text8b><img src=\"/all-lang/img/invia_pag_amico.gif\" border=0 align=middle> Enviar esta página a un amigo</a></td></tr></table>";
var f="<TABLE cellSpacing=0 cellPadding=2 width=750 border=0><TR><TD align=right bgColor=#071593 background=\"/all-lang/img/bgmenu2.gif\" height=15 class=text8w>Cerdeña - Italy </TD></TR>\n<TR><TD align=center><font face=verdana color=#000000 size=1><b>Web Site Designed and Created by M. M.</b><br>Copyright © 2000-2007 <b>mondosardegna.net</b> - Todos los derechos reservados.</font></TD></TR></TABLE>";
document.write(cons+f);
}
function execWhenIn(id){
spRandHRules();
}
function execWhenOut(id){
}
function openWinUtil(orizz,vert,left,top,resizable,pathContent)
{
  window.open(pathContent,'','width='+orizz+',height='+vert+',scrollbars=yes,resizable='+resizable+',status=no,location=no,toolbar=no,menuBar=no,directories=no,left='+left+',top='+top);
}
function emailVerify(em){Filtro=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;if(Filtro.test(em)){return true;}else{return false;}}
function execServices(frm){
	if(emailVerify(frm.email.value)==false){alert('Escribe correctamente tu e-mail!');return false;}
	openWinUtil(200,230,150,150,'no',"/all-lang/newsletter/newsletter.php?LANG=esp&from=js&a=ins&email="+escape(frm.email.value));

 return false;
}
//Inizio tasto destro
function right(e){
 if(navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))return false;
 else if(navigator.appName=='Microsoft Internet Explorer' && (event.button==2 || event.button==3)){
   alert("Bienvenido in Cerdeña.\n\nWelcome to SARDINIA");
   return false;
 }
 return true;
}
//if(pgWhere!='index' && pgWhere!='webmaster' && pgWhere!='segnalato_da'){
//document.onmousedown=right;
//if(document.layers)window.captureEvents(Event.MOUSEDOWN);
//window.onmousedown=right;
//}
//fine tasto destro

function addbookmark(){
  if((navigator.appVersion.indexOf("MSIE")>0) && (parseInt(navigator.appVersion)>=4)){
    window.external.AddFavorite('http://www.mondosardegna.net','Cerdeña - Italia');
  }
}

function once(command,id,interval){
	var mul = interval.substring(0,interval.indexOf(" "));
	mul = parseInt(mul);
	interval = interval.substring(interval.lastIndexOf(" ")+1,interval.length);
	if (interval == "sec"){ e = 1000; }
	else if(interval == "ore"){ e = 3600000; }
	e = e * mul;
	var now = new Date();
	var ex = new Date();
	ex.setTime(now.getTime() + e);
	if (!getCookie(id)){
		eval(command);
		setCookie(id,"1",ex);
	}
}

function setCookie(name, value, expire){
   var path = "/";
   var domain = null;  
   document.cookie = name + "=" + escape(value) + ((expire ==null) ? "" : ("; expires=" + expire.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain));
}
function getCookie(Name){
	var search = Name + "=";
	if (document.cookie.length > 0){
		offset = document.cookie.indexOf(search);
		if (offset != -1){
			offset += search.length;
			end = document.cookie.indexOf(";", offset);
			if (end == -1) {
				end = document.cookie.length;
			}
			return unescape(document.cookie.substring(offset, end));
		} else {
			return "";
		}
	} else {
		return "";
	}
}

function isCookieEnabled()
{
  if(navigator.cookieEnabled==true)
           return true;
  else if(navigator.cookieEnabled==false)
           return false;
  else
     {
       var id="msnet_enCookie"; var ex=new Date(); var now=new Date(); var e=60*60*24*1000; ex.setTime(now.getTime()+e);
       setCookie(id,"1",ex);
       if(getCookie(id)) return true;
       else return false;
     }
  return false;
}

function popupPic(sPicURL,isDownl){
var isDown=(isDownl==1)?"ISD&":"";
window.open("/all-lang/vari/view_img.htm?"+isDown+sPicURL,"","scrollbars=1,resizable=1,height=200,width=200,status=no,location=no,toolbar=no,menuBar=no,directories=no,left=10,top=10");
} 
function popupViewImg(orizz,vert,left,top,titolo,img,commento){
var html='<HTML><HEAD><TITLE>'+titolo+'</TITLE></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n';
html=html+'<CENTER><img src="'+img+'" BORDER=0 oncontextmenu="return false;"><BR>'+commento+'</CENTER></BODY></HTML>';
ref=window.open('','','width='+orizz+',height='+vert+',scrollbars=yes,resizable=yes,status=no,location=no,toolbar=no,menuBar=no,directories=no,left='+left+',top='+top+'');
ref.document.write(html);
ref.document.close(); 
}
//---------------------------------- Utility
var isCE=isCookieEnabled();
var msnetStatist = "<script language=javascript>\\n<!--\\nvar from = escape(document.referrer);\\nvar width = screen.width;\\nvar height = screen.height;\\ndocument.write('<img src=\\\"/all-lang/vari/report_user.php?LANG=esp&from='+from+'&width='+width+'&height='+height+'&cookie="+escape(isCE)+"\\\" border=0 width=1 height=1><BR>');\\n// -->\\n</script>\\n";
once("document.write(\""+msnetStatist+"\")","msnet_stat", "24 ore");
var msnetView = "<script language=javascript>\\n<!--\\nvar from = escape(document.referrer); var urlNow=escape(location.href); document.write('<img src=\\\"/all-lang/vari/report_view.php?LANG=esp&urlnow='+urlNow+'&from='+from+'\\\" border=0 width=1 height=1><BR>');\\n// -->\\n</script>\\n";
eval("document.write(\""+msnetView+"\")");

// -->

