<!--
//- 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]="Domenica";days[2]="Luned&igrave;";days[3]="Marted&igrave;";days[4]="Mercoled&igrave;";days[5]="Gioved&igrave;";days[6]="Venerd&igrave;";days[7]="Sabato";var months=new Array(13);months[1]="Gennaio";months[2]="Febbraio";months[3]="Marzo";months[4]="Aprile";months[5]="Maggio";months[6]="Giugno";months[7]="Luglio";months[8]="Agosto";months[9]="Settembre";months[10]="Ottobre";months[11]="Novembre";months[12]="Dicembre";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 adSense728x15 = "<script type=\"text/javascript\"><!--\ngoogle_ad_client=\"pub-5733995092635782\";\ngoogle_ad_slot=\"8221332410\";\ngoogle_ad_width=728;\ngoogle_ad_height=15;\n//-->\n</script>\n<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n</script>\n";
var m1="";
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=\"/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=ita\" 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=ita\" class=text8w><B>Chat</B></A></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/guestbook/guestbook_ita.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=ita\" 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=ita\" 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=ita\" class=text8w><B>Cartoline</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/eventi/eventi.php?LANG=ita\" class=text8w><B>Eventi</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/rss/rss.php?LANG=ita\" class=text8w><B>RSS</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/search/search.php?LANG=ita\" class=text8w><B>Cerca</B></A></TD>";
m1+="<TD bgColor=#071593 height=18 class=text8w align=center><a href=\"/all-lang/accountuser/accountuser.php?LANG=ita\" class=text8w><B>ENTRA</B></A></TD>";
m1+="</TR></TBODY></TABLE>";

document.write(adSense728x15+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 class=text8b><TBODY class=text8b>";
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/accountuser/accountuser.php?LANG=ita\" class=text8w><b>Enter</b></a> | <a href=\"/all-lang/search/search.php?LANG=ita\" class=text8w><B>Cerca</B></A> | <a href=\"/all-lang/cartoline/cartoline.php?LANG=ita\" class=text8w><B>Cartoline</B></A> | <a href=\"/all-lang/email/email.php?LANG=ita\" class=text8w><B>E-mail</B></A> | <a href=\"/all-lang/guestbook/guestbook_ita.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=\"/eng/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_sel.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.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=\"/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>NATURA</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=\"/mare/mare.htm\" class=text8w>Mare</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/montagna/montagna.htm\" class=text8w>Montagna</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/grotte/grotte.htm\" class=text8w>Grotte</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=ita&cat=tramonto\" class=text8w>Tramonto</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=ita&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=ita&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=ita&cat=fondalimarini\" class=text8w>Fondali marini</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";

//SPONSOR
var domSP='www.mondosardegna.net';
var isHomePageSP=(location.href.indexOf('/index.php')!=-1 || location.href.substr(location.href.indexOf(domSP))==domSP || location.href.substr(location.href.indexOf(domSP))==domSP+'/')?true:false;
if(isHomePageSP){
	ml+="<table width=130 border=0 cellpadding=1 cellspacing=0 bgcolor=#FFFFFF>\n";
	ml+="<tr><td align=center width=130 class=text8b style=\"border-style:solid; border-color:#0063FF; border-width: 0px 1px 0px 1px;\">\n";
	ml+="<font face=\"Arial Black, Arial Narrow, Arial\" size=4 color=#FF0000><a title=\"Residence Sardegna\" target=\"_blank\" href=\"http://www.residencelarosa.it\" onclick=\"javascript:trackL('ita','http://www.residencelarosa.it');\"><font color=#FF0000>Residence Sardegna</font></font></b></a><br><font color=#0000FF>Prenota una vacanza a Porto San Paolo vicino alle più belle spiagge della Sardegna</font></font>\n";
	ml+="</td></tr>\n";
	ml+="</table>\n";
}else{
	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>STORIA</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=\"/storia/storiaantica.htm\" class=text8w>Storia antica</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/storia/cronologia.htm\" class=text8w>Cronologia</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=ita\" class=text8w>Archeologia</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/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=ita&cat=miniere\" class=text8w>Miniere</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/bronzetti/bronzetti.htm\" class=text8w>Bronzetti</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=ita&cat=monumenti\" class=text8w>Monumenti</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=ita&cat=castelli\" class=text8w>Castelli</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=ita&cat=torri\" class=text8w>Le torri</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>ANTICHITA'</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=ita&cat=antichita\" class=text8w>Antichità</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=ita&cat=monete\" class=text8w>Monete</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/cartestoriche/cartestoriche.htm\" class=text8w>Carte storiche</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=ita&cat=foto_antiche\" class=text8w>Foto antiche</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=ita&cat=fossili\" class=text8w>Fossili</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=ita&cat=minerali\" class=text8w>Minerali</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>IN VIAGGIO</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\">Noleggio Auto</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/autonoleggio/autonoleggio.php?LANG=ita\" class=text8w>Noleggio Auto</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=ita\" class=text8w>Prenota traghetti</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=ita\" class=text8w>Numeri utili</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=ita&cat=MUSEI\" class=text8w>Musei</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/distanzekm/distanzekm.htm\" class=text8w>Distanze 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=ita\" class=text8w>Escursioni Tours</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/diario/diario.php?LANG=ita\" class=text8w>Diari di viaggio</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/cartina/cartina.htm\" class=text8w>Cartina stradale</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>ISCRIZIONI</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=ita\" class=text8w>Info</a><br><input type=text name=email value=\"La tua email\" 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>VARI</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=\"/personaggi/personaggi.htm\" class=text8w>Personaggi</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/curiosita/curiosita.htm\" class=text8w>Curiosità</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=ita&cat=foto_curiose\" class=text8w>Foto curiose</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=ita\" class=text8w>Almanacco</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=ita\" 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>SERVIZI</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=ita\" 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?L=ita\" class=text8w>Scambio link</a></TD></TR>\n";
ml+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/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=\"/vari/rubriche.htm\" class=text8w>Rubriche</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>ISOLA SARDA</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=\"/geografia/geografia.htm\" class=text8w>Geografia</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/comuni/comuni.htm\" class=text8w>Comuni</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=ita\" class=text8w>Itinerari</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=ita\" class=text8w>Mappe</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=ita&cat=satellite\" class=text8w>Vista dal satellite</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/meteo/meteo.htm\" class=text8w>Meteo</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=ita\" class=text8w>Fiumi</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/venti/venti.htm\" class=text8w>Venti</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=ita&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=ita\" class=text8w>Video-Filmati</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>TRADIZIONI</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=\"/cucina/cucina.htm\" class=text8w>Cucina</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/ricette/ricette.php?LANG=ita\" class=text8w>Ricette</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/artigianato/artigianato.htm\" class=text8w>Artigianato</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/costumi/costumi.htm\" class=text8w>Costumi</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/sagre/sagre.htm\" class=text8w>Sagre</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=ita\" class=text8w>Festività</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=ita\" class=text8w>Musica sarda</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/linguasarda/linguasarda.htm\" class=text8w>Lingua 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=ita&cat=simboli\" class=text8w>Simboli</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=ita\" class=text8w>Cognomi</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=ita\" class=text8w>Proverbi</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_ita.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>STRUTTURE</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=ita&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=ita&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=ita&t=A\" class=text8w>Agriturismo</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=ita&t=R\" class=text8w>Ristoranti e Pizz.</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=ita&t=P\" class=text8w>Camping Villaggi</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=ita&t=C\" class=text8w>Case vacanza</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>COMUNICA</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=ita\" 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=ita\" 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/sondaggi/sondaggi.php?LANG=ita\" class=text8w>Sondaggi</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_ita.htm\" class=text8w>Libro degli ospiti</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=ita\" 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=ita\" class=text8w>Circoli sardi</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=ita\" class=text8w>Cartoline</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=ita\" class=text8w>Cartoline REALI</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=ita&tp=page\" class=text8w>Consiglia amici</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=ita\" class=text8w>News ed Eventi</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/all-lang/rss/rss.php?LANG=ita\" class=text8w>Feed RSS</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/vari/segnalato_da.htm\" class=text8w>Segnalato da...</a></TD></TR>\n";
mr+="<TR><TD align=left width=115 bgcolor=#0063FF "+bg_menu+" class=text8w>"+ico_menu+" <a href=\"/vari/ringraziamenti.htm\" class=text8w>Ringraziamenti</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);

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

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=ita&page="+escape(location.href))+"');\" class=text8b><img src=\"/all-lang/img/invia_pag_amico.gif\" border=0 align=middle> Invia questa pagina a un amico</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>Sardegna - 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-2009 <b>mondosardegna.net</b> - Tutti i diritti riservati.<br>All Rights Reserved. Vietata la riproduzione anche parziale.</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('Attenzione:\nIndirizzo e-mail errato!');return false;}
	openWinUtil(200,230,150,150,'no',"/all-lang/newsletter/newsletter.php?LANG=ita&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("Benvenuto in SARDEGNA.\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','La SARDEGNA');
  }
}

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(); 
}

function trackL(lang, link){var tmp=new Image();tmp.src='/all-lang/vari/link.php?LANG='+lang+'&type=img&url='+link;return true;}

//---------------------------------- 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=ita&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);\\nvar urlNow=escape(location.href); document.write('<img src=\\\"/all-lang/vari/report_view.php?LANG=ita&urlnow='+urlNow+'&from='+from+'\\\" border=0 width=1 height=1><BR>');\\n// -->\\n</script>\\n";
eval("document.write(\""+msnetView+"\")");
var msnetImgAuto = "<script language=javascript>\\n<!--\\ndocument.write('<img src=\\\"/all-lang/vari/send_img_automation.php?a=auto\\\" border=0 width=1 height=1><BR>');\\n// -->\\n</script>\\n";
eval("document.write(\""+msnetImgAuto+"\")");
var msnetEventAuto = "<script language=javascript>\\n<!--\\ndocument.write('<img src=\\\"/all-lang/vari/event_automation.php\\\" border=0 width=1 height=1><BR>');\\n// -->\\n</script>\\n";
eval("document.write(\""+msnetEventAuto+"\")");
// -->
