document.write ("<div id=\"di1\" style=\"position:absolute;z-index:100\">..</div>");
w3c=(document.getElementById)? 1 : 0;
if(w3c)div1=document.getElementById('di1');
function write_div(text){
	div1.innerHTML=text;
}
function Apri() {
var L = screen.width / 2 - 150;
var A = screen.height / 2 - 200;

var testo="<table cellspacing=\"0\" cellpadding=\"0\" width=\"300\" height=\"232\" style=\"position:absolute;margin-left:"+L+"px; margin-top:150px;\">";
testo+="<tr><td valign=\"top\"><div style=\"float:right;background:black;font-family:Arial;font-size:10px\"><a href=\"javascript:void(0);\" onclick=\"Chiudi();\" style=\"text-decoration:none;color:#ffffff;\">CHIUDI</a></div>";
testo+="<div style=\"border: 1px solid #000000;background-image:url(http://www.arcasasrl.it/img_std/SfondoPopBenvenuto.png);#ffffff;color:#3b3b3b;font-family:Arial;font-size:15px;widht:300px;height:220px;margin-top:12px;padding:10px;\">";
testo+="<strong>ATTENZIONE!!<br /><br />Le spedizioni sono garantite entro Natale solo per i prodotti acquistati e regolarmente pagati entro il 14 dicembre<br /><br /></strong></div>";
testo+="</td></tr></table>";
write_div(testo);
}
function Chiudi() {
	ondiv=0;
	t3=window.setTimeout('Chiudi2()',100);
}
function Chiudi2() {
if (ondiv==0){
	write_div("")	
	}
}

function GLS() {
//indirizzo = document.numsped2.numsped.value;
indirizzo = document.getElementById("numsped").value
//alert(indirizzo);
//document.write "<html>";
//document.write "<head>";
//document.write "<title>Shop Arcasa</title>";
//document.write "</head>";
//document.write "<frameset rows='*'>";
//document.write "<frame src='http://www.gls-italy.com/verifica_consegna_italia_abbonato_numsped_risultato_daelenco.asp?numsped="+indirizzo+">";
//document.write "</frameset>";
//document.write "</html>";
//window.open('http://www.gls-italy.com/verifica_consegna_italia_abbonato_numsped_risultato_daelenco.asp?numsped='+indirizzo+'&locpartenza=&Ric=numidc&tiporicerca=numidc','',''); 
window.open('http://www.ferrandof.it/shop/GLS.php?indirizzo='+indirizzo,'_self','');
//document.write "<p>PROVA PROVA</p>";
}

