" + document.getElementById("objT"+frase).value + "
"; } function selectNazioneC1B(val) { var nazBase = "1"; if (document.getElementById("indirizzoC1B") != undefined){ document.getElementById("indirizzoC1B").style.display = "block"; } if (document.getElementById("provinciaC1") != undefined){ if (val == nazBase) { document.getElementById("provinciaC1").style.display = "block"; } else { document.getElementById("provinciaC1").style.display = "none"; } } //getPointC1(); } function getPointC1() { var nomepag = "getPoint"; var nomediv = "pointC1B"; document.getElementById(nomediv).innerHTML=""; } function sendAddressC1B(){ var chkAll = ""; if ((document.getElementById("Citta") != undefined)&&(chkAll == "")) { if (document.getElementById("Citta").value == "") { chkAll = "NO"; alert("Introducir la localidad por la dirección"); document.getElementById("Citta").focus(); } } if ((document.getElementById("Telefono") != undefined)&&(chkAll == "")) { if (document.getElementById("Telefono").value == "") { chkAll = "NO"; alert("Inserte el número de teléfono de la dirección de envío"); document.getElementById("Telefono").focus(); } } if ((document.getElementById("SpedireA") != undefined)&&(chkAll == "")) { if (document.getElementById("SpedireA").value == "") { chkAll = "NO"; alert("Introducir le nombre por la dirección de envìo"); document.getElementById("SpedireA").focus(); } } if ((document.getElementById("Indirizzo") != undefined)&&(chkAll == "")) { if (document.getElementById("Indirizzo").value == "") { chkAll = "NO"; alert("Introducir la dirección de envìo"); document.getElementById("Indirizzo").focus(); } } if ((document.getElementById("Provincia") != undefined)&&(chkAll == "")) { if (document.getElementById("Provincia").value == "") { chkAll = "NO"; alert("Seleccionar la provincia de envìo"); document.getElementById("Provincia").focus(); } } if ((document.getElementById("CAP") != undefined)&&(chkAll == "")) { if (document.getElementById("CAP").value == "") { chkAll = "NO"; alert(""); document.getElementById("CAP").focus(); } } if ((document.getElementById("AttenzioneDi") != undefined)&&(chkAll == "")) { if (document.getElementById("AttenzioneDi").value == "") { chkAll = "NO"; alert("El referente es obligatorio"); document.getElementById("AttenzioneDi").focus(); } } if (document.getElementById("Provincia").value == "35") { chkAll = "NO"; alert("¡Los artículos sólo pueden enviarse a la península (territorio español) y Baleares!"); document.getElementById("Provincia").focus(); } if (document.getElementById("Provincia").value == "43") { chkAll = "NO"; alert("¡Los artículos sólo pueden enviarse a la península (territorio español) y Baleares!"); document.getElementById("Provincia").focus(); } if (chkAll == ""){ document.getElementById("frmIndirizzo").submit(); } } function VisualizzaInfoC2(frase) { var inf = document.getElementById("objT"+frase).value; if (inf != "") { document.getElementById("infoC2").innerHTML = "" + inf + "
"; } else { document.getElementById("infoC2").innerHTML = ""; } } function VisualizzaInfoC4(frase,opt) { var inf = document.getElementById("objT"+frase).value; if ((inf != "") && (opt == 1)) { document.getElementById("infoC4").style.display = "inline"; if (document.getElementById("i-"+frase).offsetTop!=0) { document.getElementById("infoC4").style.top = ""+document.getElementById("i-"+frase).offsetTop+"px"; } else { //Explorer 6-7 rimane fisso document.getElementById("infoC4").style.top = document.all["i-"+frase].style.top; } document.getElementById("infoC4").innerHTML = "" + inf + "
"; } else { document.getElementById("infoC4").innerHTML = ""; document.getElementById("infoC4").style.display = "none"; } } function MsgImportoMinTDC5(){ alert(""); } function MsgAttivoC5(){ alert("Su cuenta no está más activa."); } function mkBox_gal(cp, isgal){ if (document.getElementById("GalleryBox")){ document.getElementById("GalleryBox").style.display = "block"; document.getElementById("GalleryBox").innerHTML = ""; if (navigator.appName == "Microsoft Internet Explorer" ){ var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.open( "GET", "services/gallery.asp?sid=" + Math.random()); } else { var xmlhttp=new XMLHttpRequest(); xmlhttp.open( "POST", "services/gallery.asp"); } xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) { document.getElementById("GalleryBox").innerHTML = xmlhttp.responseText; } } xmlhttp.send("CodProdotto=" + escape(cp) + "&gal=" + escape(isgal)); } } function cng_gal(zoom){ if (document.getElementById("gal_main")){ document.getElementById("gal_main").innerHTML = "