//\\ //\\ //ar@n informatica - AREZZO //Vietato l'utilizzo anche parziale senza autorizzazione var fuso=-(mydate.getTimezoneOffset()/60) if (rx!="pwd") location.replace("http://www.portale.it") var ord=mydate.getTime() var T=getCookie("Hin") if (!T) { var d=new Date(); fixDate(d); d.setTime(d.getTime()+3*3600000) setCookie("Hin",mydate.getHours(),d) setCookie("Min",mydate.getMinutes(),d) setCookie("Sec",mydate.getSeconds(),d) } var d2=new Date(); fixDate(d2); d2.setTime(d2.getTime()+365*24*3600000) var euro=1936.27 var newWin=null var hr="" var i4=0 function iniz() { T=getCookie("comune") //if (T) document.I.L.value=T //T=getCookie("TAT") //if (T==0) document.PAR.RTAT.checked=false //T=getCookie("TAR") //if (T) document.PAR.TT[T].checked=true //if (document.PAR.RTAT.checked) ap('tat.htm',486,265,'C') //topr() T=getCookie("zod") if (T) OROS.S.selectedIndex=T T=getCookie("ext") if (T) FRM.url.value=T T=getCookie("extm") if (T) document.FRM.M[T].checked=true } function vai(s) {if (s) top.location='http://'+s} function tat() { //if (document.PAR.RTAT.checked) {setCookie("TAT",1,d2); ap('tat.htm',486,265,'C') } //else { setCookie("TAT",0,d2); newWin.close() } } function trf() { //if (document.PAR.TT[0].checked) setCookie("TAR",0,d2) //else setCookie("TAR",1,d2) } function topr() { var s=Math.floor(Math.random()*100) var nf='mrdriver' hr='mrdriver.com' if (s>=25 && s<50) {nf='cellita';hr='www.cellularitalia.com'} if (s>=50 && s<70) {nf='ilmeteo';hr='www.ilmeteo.it'} if (s>=70 && s<85) {nf='nasdy';hr='paolocerni.supereva.it'} if (s>=85 && s<90) {nf='freeonline2';hr='www.freeonline.it'} if (s>=90) {nf='velisti';hr='www.velisti.it'} //nf='fasturl';hr='fasturl.it/cgi-bin/a.pl?os=portale'} document.images.topref.src=nf+'.gif' } function tref() { w=window.open('http://'+hr,'tr','') } function oros() { //w=window.open('http://www.oroscopi.com/or'+OROS.S.options[OROS.S.selectedIndex].text.toLowerCase()+'.shtml','tr','') w=window.open('http://www.oroscopi.com/oroscopogiorno.php?segno='+OROS.S.options[OROS.S.selectedIndex].text.toUpperCase(),'tr','') setCookie('zod',OROS.S.selectedIndex,d2) } function frm() { setCookie('ext',document.FRM.url.value,d2) if (document.FRM.M[0].checked) setCookie("extm",0,d2) else setCookie("extm",1,d2) location=('/split.htm') } function CMaild(F) { if(F.email_reg.value.length==0 || F.email_reg.value.indexOf('@')==-1 || F.email_reg.value.indexOf('.')==-1) { alert('Inserire una email valida'); F.email_reg.focus(); return false; } } function CMail(F) { if(F.email.value.length==0 || F.email.value.indexOf('@')==-1 || F.email.value.indexOf('.')==-1) { alert('Inserire una email valida'); F.email.focus(); return false; } } function l2e() {document.C.E.value=(Math.round(document.C.L.value/euro*100.0))/100} function e2l() {document.C.L.value=Math.round(document.C.E.value*euro)} function luogo() { if (document.L.M.value==1) window.open("http://www.informadove.it/public/dovesiamo.asp?COMUNE="+document.L.C.value.toUpperCase()+"&INDIRIZZO="+document.L.V.value.toUpperCase()+"&CIVICO="+document.L.N.value) if (document.L.M.value==2) window.open("http://mappe.virgilio.it/mappe/mappage.asp?tipoform=1&loccivbutton=cerca&loccivcitta="+document.L.C.value.toUpperCase()+"&loccivvia="+document.L.V.value.toUpperCase()+"&loccivnum="+document.L.N.value) if (document.L.M.value==3) window.open("http://mappe3.iol.it/SCRIPTS/hsrun.exe/MappeWS/MappeAP/StateId/BAyFsQ6VX7Ki2qccZ-_WpfgCzS/HAHTpage/HS_SearchPage?srcTipoVia=&srcVia="+document.L.V.value.toUpperCase()+"&srcProvincia="+document.L.C.value.toUpperCase()+"&srcNumero="+document.L.N.value+"&btnTrovaVia=Trova%21&hiddTrova=true") if (document.L.M.value==4) window.open("http://mappe.supereva.it/cgi-bin/mqinterconnect?screen=eva_map&search=^"+document.L.V.value.toUpperCase()+" "+document.L.N.value+"^"+document.L.C.value.toUpperCase()+"^^^Italia^0") if (document.L.M.value==5) window.open("http://www.nonsolocap.it/cerca/indirizzo?citta="+document.L.C.value.toLowerCase()+"&parola=on&via="+document.L.V.value.toUpperCase()) } function ap(url,w,h,n) { var apo="width="+w+",height="+h+",resizable=yes,scrollbars=no,status=no,menubar=no,canali=no,location=no,directories=no" newWin=window.open(url,n,apo); } function gcalc() { var val1=parseInt(document.C2.G.value, 10) var val2=parseInt(document.C2.M.value, 10) var val2x=val2 var val3=parseInt(document.C2.A.value, 10) if (val3<100) { if (val3>30) {val3=val3+1900 } else {val3=val3+2000} } if (val2==1) { val2x=13; val3=val3-1 } if (val2==2) { val2x=14; val3=val3-1 } var val4=parseInt(((val2x+1)*3)/5,10) var val5=parseInt(val3/4, 10) var val6=parseInt(val3/100, 10) var val7=parseInt(val3/400, 10) var val8=val1+(val2x*2)+val4+val3+val5-val6+val7+2 var val9=parseInt(val8/7, 10) var val0=val8-(val9*7) if (val0==0) {document.C2.D.value="Sab"} if (val0==1) {document.C2.D.value="Dom"} if (val0==2) {document.C2.D.value="Lun"} if (val0==3) {document.C2.D.value="Mar"} if (val0==4) {document.C2.D.value="Mer"} if (val0==5) {document.C2.D.value="Gio"} if (val0==6) {document.C2.D.value="Ven"} } mymonth=mymonth+1 var F="" function tari() { // 18:30-22 U1="Infostrada"; U2="Wind1088"; U3="Telecom" N1="Tele2"; N2="PlugIt"; N3="Digitel" CE1="Wind1088"; CE2="Tele2"; CE3="AlbacomEasy" I1="Digitel"; I2="Plug-it"; I3="ePlanet" //if (document.PAR.TT[0].checked) { // U1="Wind1088"; U2="AlbacomEasy"; U3="Telecom" // CE3="Infostrada" //} var ora=new Date() var fascia=(ora.getHours()+fuso+((ora.getMinutes()+1)/60)) var giorno=ora.getDay() // Sabato mattina if (giorno==6 && fascia>=8 && fascia<=13) { N3="ePlanet" CE1="Wind1088";CE2="Tiscali";CE3="ePlanet" U1="Infostrada"; U2="Wind1088"; U3="PlugIt" // if (document.PAR.TT[0].checked) { // CE1="Wind1088";CE2="AlbacomEasy";CE3="Tiscali" // U1="Wind1088"; U2="AlbacomEasy"; U3="ePlanet" // } } // Feriali 8-18:30 if (giorno<6 && fascia>=8 && fascia<=18.5) { U1="PlugIt"; U2="Infostrada"; U3="Openline" N1="Tele2"; N2="Digitel"; N3="PlugIt" CE1="PlugIt";CE2="Openline";CE3="Digitel" // if (document.PAR.TT[0].checked) { // CE1="Infostrada Af."; CE2="PlugIt"; CE3="Openline" // } } //if (fascia>18.5 && fascia<22) //if (giorno<6 && fascia>=18.5 && fascia<20.5) } function iquadro(url,w,h,b,s){ if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)<5) { btv=window.open(url,xq,"width="+w+",height="+h+",resizable=no,scrollbars="+s+",status=no,menubar=no,canali=no,location=no,directories=no"); xq=xq+1; document.write("Occorre NETSCAPE 6 per avere il testo qui.") } else document.write("") } function setCookie(name,value,expires,path,domain,secure) { var curCookie=name+"="+escape(value)+((expires)?"; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "") document.cookie=curCookie } function getCookie(name) { var dc=document.cookie var px=name+"=" var begin=dc.indexOf("; "+px) if (begin==-1) {begin=dc.indexOf(px); if (begin!=0) return null;} else begin+=2 var end=document.cookie.indexOf(";",begin) if (end==-1) end=dc.length return unescape(dc.substring(begin+px.length,end)) } function fixDate(date) { var skew=new Date(0).getTime() if (skew>0) date.setTime(date.getTime()-skew) } function whoisdomain4() { var domain=document.who1.hostname.value var lang=document.who1.la.value var ineg=document.who1.tld.selectedIndex var url="http://www.register.it/index.html?chglng=" + lang +"&domain[hostname]=" + domain + "&domain[tld]=" + document.who1.tld.options[ineg].text + "&af=RI1-REGI" var aw=screen.availWidth; var ah=screen.availHeight; ah=ah-150; aw=aw-9; newwindow=window.open(url,"NewWindow","width="+aw+",height="+ah+",left=0,top=0,screenX=0,screenY=0,location=yes,resizable=yes,menubar=yes,scrollbars=yes,toolbar=yes,directory=yes,status=yes") newwindow.focus() }