<!-- hide this script from non-javascript-enabled browsers
function BarraDiStato(messaggio)  { //v3.0
  status=messaggio; document.ritornaValore = true;
}
// stop hiding -->
function Cerca(CercaTesto) {
	var form = document.forms[0]
	for (i=0; i  <	form.radiobutton.length; i++) {
		if (form.radiobutton[i].checked) {
			break
		}
	}
	nuova = window.open("","","height=500,width =600,scrollbars=yes, toolbar= 1,directories= 1,status= 1,menubar= 1,resizable=1,copyhistory= 1");
	nuova.moveTo(110, 100);
	nuova.navigate("http://" + form.radiobutton[i].value + CercaTesto);
}
function Scheda(IdProdotto) {
    var StrScheda= "script/scda.php?idp=" + IdProdotto;
	window.open(StrScheda,"","top=100,left=100,height=450,width =640,scrollbars=yes, toolbar= 0,directories= 0,status= 0,menubar= 0,resizable=0,copyhistory= 0");
}

function MM_check(scheda) {
	if (scheda.elements[2].value =="") {
		alert("Inserire il nome e cognome ")
		return false
	} else if (scheda.elements[3].value =="") {
		alert("Inserire il proprio indirizzo ")
		return false
	} else if (scheda.elements[4].value =="") {
		alert("Inserire il proprio CAP ")
		return false
	} else if (scheda.elements[5].value =="") {
		alert("Inserire la località ")
		return false
	} else if (scheda.elements[6].value =="") {
		alert("Inserire la provincia ")
		return false
	} else if (scheda.elements[9].value =="") {
		alert("Inserire il proprio indirizzo e-mail")
		return false
	}
}
var semaforo;
var req; 
function loadXMLDoc(url) 
{
  req = false;
  if(window.XMLHttpRequest && !(window.ActiveXObject)) {
	try { req = new XMLHttpRequest(); }
	catch(e) {req = false; }
    } else if(window.ActiveXObject) {
	try { req = new ActiveXObject("Msxml2.XMLHTTP"); } 
	catch(e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); }
 		   catch(e) { req = false; }
	         }
    }    
  if(req) {  
    req.onreadystatechange = processReqChange; 
    req.open("GET", url, true); 
    req.send();
  }
}
function processReqChange()
{
 if(req.readyState == 4) 
 { 
  if(req.status == 200) 
  { 
   if (req.responseText == 'ONLINE') { semaforo = true; }	
  } 
 } 
}
function GetStatus() { 
	semaforo = false;
	var Pagina = 'http://eu.ntrsupport.com/Inquiero/Interfaces/Web/data/getbuttonstatus.asp?login=15773&oper=officepoint&cob=1'
//	loadXMLDoc( Pagina );
	var Pagina = 'http://eu.ntrsupport.com/Inquiero/Interfaces/Web/data/getbuttonstatus.asp?login=15773&oper=officepoint1&cob=1'
//	loadXMLDoc( Pagina );
//	if (semaforo == true) { document.images['ImgStatus'].src = "NTR/NTROnLine.gif"; } else { document.images['ImgStatus'].src = "NTR/NTROffLine.gif"; }
}

function openNTRsupport() { 
	if (document.getElementById('Ref').value =="") 
		{
		alert("Inserire il richiedente ") 
	        } 
	   else {
		var LinkAlSito = "http://eu.ntrsupport.com/inquiero/anonymous2.asp?login=15773&lang=it&Ref2=" + document.getElementById('Ref2').value + "&Ref=" + document.getElementById('Ref').value;
		window.open( LinkAlSito ,'WebAnonym','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=476,height=364,top=150,left=200');
		}
}

function openGuida() { 
	window.open( "NTR/GuidaAssistenzaRemota.htm" ,'WebAnonym','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1,width=790,height=398,top=50,left=10');
}


