<!--
function openBrW(theURL,winName,features) {
window.open(theURL,winName,features);
}

function LTrim(str)
{
   var whitespace = new String(" \t\n\r");

   var s = new String(str);

   if (whitespace.indexOf(s.charAt(0)) != -1) {
      var j=0, i = s.length;
      while (j < i && whitespace.indexOf(s.charAt(j)) != -1)
         j++;
      s = s.substring(j, i);
   }
   return s;
}

function RTrim(str)
{
   var whitespace = new String(" \t\n\r");
   var s = new String(str);
   if (whitespace.indexOf(s.charAt(s.length-1)) != -1) {
      var i = s.length - 1;
      while (i >= 0 && whitespace.indexOf(s.charAt(i)) != -1)
         i--;
      s = s.substring(0, i+1);
   }

   return s;
}

function Trim(str)
{
   return RTrim(LTrim(str));
}

function CheckModulo(){
var okay = true;

if ((Trim(document.formreq.r_nome.value)=='') && (okay == true)){
 alert ('Richiesto!');
 okay = false;
 document.formreq.r_nome.focus();
}

if ((Trim(document.formreq.r_tel.value)=='') && (okay == true)){
 alert ('Richiesto!');
 okay = false;
 document.formreq.r_tel.focus();
}

if ((Trim(document.formreq.r_citta.value)=='') && (okay == true)){
 alert ('Richiesto!');
 okay = false;
 document.formreq.r_citta.focus();
}

if ((Trim(document.formreq.r_richiesta.value)=='') && (okay == true)){
 alert ('Richiesto!');
 okay = false;
 document.formreq.r_richiesta.focus();
}

return okay;
}

var mainContent = true;
function document_load()
{
	
}

function stampa() {
	if (confirm("Stampare questo documento?")) {
	window.print();
	}
}

function CheckRic(){
var okay = true;

if (((document.form1.cerca.value=='') && (okay == true)) || ((document.form1.cerca.value=='Parola'))){;
 alert ('Inserire una o pił parole !');
 okay = false;
 document.form1.cerca.focus();
}

if (document.form1.cerca.value.length < 3){;
 alert ('Inserire una parola lunga almeno 3 caratteri!');
 okay = false;
 document.form1.cerca.focus();
}

return okay;
}

var bookmarkurl="http://www.siriaonline.com"
var bookmarktitle="Siriaonline.com Sito Web"

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function iniziale() {
if (document.all) { 
document.body.style.behavior = 'URL(#default#homepage)'; 
document.body.setHomePage("http://www.siriaonline.com"); 
} else { 
alert("Funzione abilitata solo per Internet Explorer o superiore.\nPer gli altri browser vedere su Strumenti-Opzioni.") 
} 
} 

//-->