// Newsky Group (c) 2007 - Tutti i diritti riservati
// Ultima revisione: 23/12/2006

if ( document.location.search.length > 0 )
{
if ( !( IE = navigator.userAgent.indexOf("MSIE ") != -1 ) && navigator.userAgent.indexOf("Firefox") == -1 )
{ alert("Si è verificato un errore. :-(\nIl Deathclock è stato testato con Internet Explorer e Firefox, e potrebbe non funzionare con altri browser.") }
else if ( confirm("Si è verificato un errore. :-(\nPuoi inviarci una mail per segnalarci questo errore e aiutarci a risolverlo.\nNel messaggio saranno indicate le risposte che hai dato e alcune informazioni sul tuo browser e sistema operativo. Tali informazioni saranno usate *unicamente* per cercare di risalire al motivo del problema. Se vuoi puoi aggiungere altre informazioni che ritieni utili/significative per capire il problema.") )
{ link = "mailto:dideccoavo@libero.it?subject=[Newsky.it] Segnalazione errori&body=Grazie! [ Pagina " + document.location.toString().substring(0,document.location.toString().indexOf('?')) + " ]   Risposte: " + escape(document.location.search) + " - Sys info: " + navigator.userAgent + " // " + navigator.platform + " // " + screen.width + " - Altre informazioni utili:"
IE ? window.open(link) : document.location = link }
location.replace("index.php")
}

function opt(text, value)
{
if ( text == null || value == null ) { text = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" ; value = "|" }
document.write("<option value='" + value + "'>" + text + "</option>")
}

function initialize()
{
now = new Date()
document.modulo.D1a.value = document.modulo.D1b.value = document.modulo.D1c.value = document.modulo.D2.value = document.modulo.D3.value = document.modulo.D4.value = document.modulo.D5.value = document.modulo.D6.value = document.modulo.D7.value = document.modulo.D8.value = document.modulo.D9.value = document.modulo.D10.value = document.modulo.D11.value = document.modulo.D12.value = document.modulo.D13.value = document.modulo.D14.value = document.modulo.D15.value = "|"
done = female = false
y = 0
switchD1a()
switchD1b()
switchD1c()
switchD2()
switchD3()
switchD4()
switchD5()
switchD6()
switchD7()
switchD8()
switchD9()
switchD10()
switchD11()
switchD12()
switchD13()
switchD14()
switchD15()
}

function switchD1a()
{
D1a = document.modulo.D1a.value
switchD1()
}

function switchD1b()
{
D1b = document.modulo.D1b.value
switchD1()
}

function switchD1c()
{
D1c = document.modulo.D1c.value
switchD1()
}

function switchD1()
{
if ( D1a != "|" && D1b != "|" && D1c != "|" )
{
date = new Date(D1c,D1b,D1a)
anni = Math.floor((now-date)/31557600000)
	if (anni > 100) {
		text = "Accidenti hai " + anni + " anni.<br>A cosa ti serve fare calcoli... ormai ci siamo."
		
	}
	else  if (anni > 50) {
		text = "Dunque hai " + anni + " anni.<br>Superati i cinquant'anni buttati a mare con tutti i panni."
	}
	else  {
		text = "Dunque hai " + anni + " anni.<br>La speranza di vita è maggiore per i nati in tempi più recenti."
	}
}
else { text = null }
comment("D1x",text)
}

function switchD2()
{
D2 = document.modulo.D2.value
if ( D2 == 0.97 ) { text = "Bravo! Lo sai che gli uomini vivono mediamente di meno? ;-)" ; female = false }
else if ( D2 == 1.03 ) { text = "Infatti le donne vivono in media di più (chissà poi perché...)." ; female = true }
else { text = null ; female = false }
comment("D2x",text)
}

function switchD3()
{
D3 = document.modulo.D3.value
if ( D3 == 1.00 ) { text = female ? "Beh, non si può voler tutto dalla vita..." : "Bene, bravo, viva la libertà! ;-)" }
else if ( D3 == 0.98 ) { text = female ? "Buon per te! (O no?!)" : "Goditela fin che puoi, vecchio mio..." }
else if ( D3 == 0.96 ) { text = female ? "Bene, brava! E possibilmente è ricco, vecchio e malato... ;-)" : "Oh... Beh, mi dispiace! :-P" }
else if ( D3 == 0.94 ) { text = female ? "L'avrai mica ammazzato te?!? :-/" : "Ehh, d'accordo la libertà ritrovata, ma...<br>non l'avrai mica ammazzata te?!" }
else { text = null }
comment("D3x",text)
}

function switchD4()
{
D4 = document.modulo.D4.value
if ( D4 == 1.00 ) { text = "Davvero? Bene!" }
else if ( D4 == 0.97 ) { text = "Ma non pensare che non lascino il segno!" }
else if ( D4 == 0.94 ) { text = "Ehh, meglio tardi che mai..." }
else if ( D4 == 0.91 ) { text = "Il Comune potrebbe proporre il fumo a giorni alterni..." }
else if ( D4 == 0.88 ) { text = "Peggio di una ciminiera!<br>Ormai hai due cancri al posto dei polmoni!! :-O" }
else if ( D4 == 0.85 ) { text = "E vantati eh! :-D" }
else { text = null }
comment("D4x",text)
}

function switchD5()
{
D5 = document.modulo.D5.value
if ( D5 == 0.98 ) { text = "Ma come, non lo sai che un bicchiere di vino rosso al pasto<br>fa bene? :-)" }
else if ( D5 == 0.96 ) { text = "E perché hai smesso??" }
else if ( D5 == 1.00 ) { text = "Un po' va bene, basta non esagerare!" }
else if ( D5 == 0.94 ) { text = "Ehh, non me la racconti tutta... :-)" }
else if ( D5 == 0.92 ) { text = "Accidenti, hai più alcool che sangue nelle vene!" }
else if ( D5 == 0.90 ) { text = "Cerca di non maneggiare accendini o diventi una torcia umana!<br>Ma ti sei scritt# sulla fronte \"facilmente infiammabile\"? :-P" }
else { text = null }
comment("D5x",text)
}

function switchD6()
{
D6 = document.modulo.D6.value
if ( D6 == 1.00 ) { text = "Ahahah... Ricordati che devi essere <b>sincer#</b>! :-P" }
else if ( D6 == 0.96 ) { text = "Sì sì certo, le solite \"esperienze giovanili\", vero? ;-)" }
else if ( D6 == 0.92 ) { text = "'mammamia, un" + ( female ? "a" : "" ) + " drogat#...<br>Beh, se ne sei uscit# neanche male..." }
else if ( D6 == 0.88 ) { text = "Come no... Ma se hai più buchi te dell'Emmental!" }
else if ( D6 == 0.84 ) { text = "Insomma, sei più spesso di là che di qua...<br>E come riesci a rispondere a questo questionario? :-/" }
else if ( D6 == 0.80 ) { text = "Ehi, ma che ti dice il tuo cervello?! :-O" }
else { text = null }
comment("D6x",text)
}

function switchD7()
{
D7 = document.modulo.D7.value
if ( D7 == 1.00 ) { text = "Per il momento, car" + ( female ? "a mia" : "o mio" ) + ", per il momento..." }
else if ( D7 == 0.97 ) { text = "Bene!" }
else if ( D7 == 0.94 ) { text = "Ti ricordo che ebola, tifo, peste, AIDS e simili<br><b>non</b> sono malattie \"dappoco\"..." }
else if ( D7 == 0.91 ) { text = "'mammamia, tocca ferro... :-/" }
else if ( D7 == 0.88 ) { text = "Ma almeno ti fanno lo sconto abbonati? ;-)" }
else if ( D7 == 0.85 ) { text = "[ Nulla da aggiungere... ] :-(" }
else { text = null }
comment("D7x",text)
}

function switchD8()
{
D8 = document.modulo.D8.value
if ( D8 == 0.99 ) { text = "Va bene lo sport, ma non esagerare,<br>sennò un giorno o l'altro ti scoppia il cuore!" }
else if ( D8 == 1.00 ) { text = "Accidenti, un# sportiv# nat#!" }
else if ( D8 == 0.98 ) { text = "Avanti così, un corpo in forma è la premessa necessaria<br>per una vita lunga!" }
else if ( D8 == 0.96 ) { text = "Bene, un po' di movimento<br>rende il corpo tonico e la mente sveglia! (Boh!?)" }
else if ( D8 == 0.94 ) { text = "Su dalle brande, scansafatiche!<br>E ricorda: \"mens sana in corpore sano\"!" }
else if ( D8 == 0.92 ) { text = "E muoviti, che stai facendo le ragnatele!" }
else { text = null }
comment("D8x",text)
}

function switchD9()
{
D9 = document.modulo.D9.value
if ( D9 == 1.00 ) { text = "Sì sì certo, come no, e io ti credo! Senti, sii seri#,<br>e soprattutto sii sincer#, tanto il questionario è anonimo! :-PPP" }
else if ( D9 == 0.99 ) { text = "Non starai <b>un tantino</b> esagerando? :-P" }
else if ( D9 == 0.98 ) { text = "Uhm... Ma sarà vero?" }
else if ( D9 == 0.97 ) { text = "Un po' più d'impegno, forza,<br>che la media nazionale ha bisogno di te! :-)" }
else if ( D9 == 0.96 ) { text = "Ahiahiahi, a stecchetto, eh? :-P" }
else if ( D9 == 0.95 ) { text = "Spiacente!" }
else { text = null }
comment("D9x",text)
}

function switchD10()
{
D10 = document.modulo.D10.value
if ( D10 == 1.00 ) { text = "Beat# te!" }
else if ( D10 == 0.98 ) { text = "Vuoi dire infestata di zanzare?" }
else if ( D10 == 0.96 ) { text = "E vabbè, oggigiorno dall'inquinamento non si scappa..." }
else if ( D10 == 0.94 ) { text = "Scappa e vai a vivere in campagna, no?" }
else if ( D10 == 0.92 ) { text = "È come fumarsi un pacchetto di sigarette al giorno... :-/" }
else if ( D10 == 0.90 ) { text = "Ma vivi nel petrolchimico di Marghera?!" }
else { text = null }
comment("D10x",text)
}

function switchD11()
{
D11 = document.modulo.D11.value
if ( D11 == 1.00 ) { text = "SCANSAFATICHE! Non lo sai che il lavoro nobilita?<br>(Ma chi l'ha detto??)" }
else if ( D11 == 0.98 ) { text = "Beh, la Società non ti sarà grata,<br>ma di certo sai come goderti la vita! :-)" }
else if ( D11 == 0.96 ) { text = "Giustamente, il lavoro logora,<br>quindi meglio non esagerare... Brav#!" }
else if ( D11 == 0.94 ) { text = "Bene! Ricorda infatti che l'Italia è una repubblica democratica<br>fondata sul lavoro... ma degli altri, possibilmente!" }
else if ( D11 == 0.92 ) { text = "Accidenti, ma chi è che ti schiavizza?<br>Sarai mica un" + ( female ? "a" : "" ) + " cinese in nero??" }
else if ( D11 == 0.90 ) { text = "Ti ricorderemo con affetto... :-(" }
else { text = null }
comment("D11x",text)
}

function switchD12()
{
D12 = document.modulo.D12.value
if ( D12 == 1.00 ) { text = "Ma va là, neanche nelle pubblicità!" }
else if ( D12 == 0.98 ) { text = "Beat# te..." }
else if ( D12 == 0.96 ) { text = "Beh neanche male, dai!" }
else if ( D12 == 0.94 ) { text = "Eheheh... parenti serpenti, eh? ;-)" }
else if ( D12 == 0.92 ) { text = "Sigh, che tristezza... :-(" }
else if ( D12 == 0.90 ) { text = "Sigh sob sob buahh... :'-(&nbsp; Ti sono vicino..." }
else { text = null }
comment("D12x",text)
}

function switchD13()
{
D13 = document.modulo.D13.value
if ( D13 == 1.00 ) { text = "Ahahah, ma a chi vuoi darla a bere? :-D" }
else if ( D13 == 0.99 ) { text = "Vuol dire che sei tu il capo della baracca?<br>Perché sennò non si spiega..." }
else if ( D13 == 0.98 ) { text = "Se la paga è buona, c'è una persona qui<br>che sarebbe interessata... 0:-)" }
else if ( D13 == 0.97 ) { text = "Beh, tipico..." }
else if ( D13 == 0.96 ) { text = "Vuoi una corda per impiccarti in bagno?" }
else if ( D13 == 0.95 ) { text = "Ehh ma che sfiga!" }
else { text = null }
comment("D13x",text)
}

function switchD14()
{
D14 = document.modulo.D14.value
if ( D14 == 1.00 ) { text = "Accidenti, un# salutista!" }
else if ( D14 == 0.98 ) { text = "Fantastico, mi associo... ;-)" }
else if ( D14 == 0.96 ) { text = "E che balle! Ma non ti viene la gobba?" }
else if ( D14 == 0.94 ) { text = "Cool!" }
else if ( D14 == 0.92 ) { text = "Uellà che robbe! :-O" }
else if ( D14 == 0.90 ) { text = "Brav#... Ci vediamo all'Inferno prima di quanto tu pensi... :-P" }
else { text = null }
comment("D14x",text)
}

function switchD15()
{
D15 = document.modulo.D15.value
if ( D15 == 1.20 ) { text = "Illus#..." }
else if ( D15 == 1.00 ) { text = "Ok, ok..." }
else if ( D15 == 0.80 ) { text = "Ma a te Berlusconi non t'ha insegnato proprio niente?!<br>Ottimismo ci vuole, nella vita! E su col morale!" }
else if ( D15 == 0.60 ) { text = "Ihihih, brav# brav#, la mia preferita... }:-)" }
else { text = null }
comment("D15x",text)
}

function comment(id,text)
{
if ( text == null ) { text = "Rispondi alla domanda!" }
if ( text.indexOf("<br>") == -1 ) { text = text + "<br>&nbsp;" }
document.getElementById(id).innerHTML = text.replace("#",( female ? "a" : "o" )).replace("#",( female ? "a" : "o" )).replace("#",( female ? "a" : "o" ))
}

function calculate()
{
if ( D1a == "|" || D1b == "|" || D1c == "|" ) { error(1) }
else if ( D2 == "|" ) { error(2) }
else if ( D3 == "|" ) { error(3) }
else if ( D4 == "|" ) { error(4) }
else if ( D5 == "|" ) { error(5) }
else if ( D6 == "|" ) { error(6) }
else if ( D7 == "|" ) { error(7) }
else if ( D8 == "|" ) { error(8) }
else if ( D9 == "|" ) { error(9) }
else if ( D10 == "|" ) { error(10) }
else if ( D11 == "|" ) { error(11) }
else if ( D12 == "|" ) { error(12) }
else if ( D13 == "|" ) { error(13) }
else if ( D14 == "|" ) { error(14) }
else if ( D15 == "|" ) { error(15) }
else if ( done || confirm("Sei proprio sicur" + ( female ? "a" : "o" ) + " di voler sapere il giorno della tua morte? Guarda che non ci assumiamo responsabilità!") )
{
if ( !done ) { alert("Ok, ma poi non dire che non ti avevamo avvertit" + ( female ? "a" : "o" )) }
scrollTo(0,2000)
done = true
now = new Date()
x = 32000 * Math.sqrt(D1a/365-(-D1b/12)-(-D1c-150))/13 * D2 * Math.sqrt((female ? 1.94-D3 : D3)*D4*D5*D6*D7*D8*D9*D10*D11*D12*D13*D14*D15) * 86400000
death = new Date(date-(-x))
if ( D15 == 1.00 ) { document.cookie = "deathdate=" + death.getTime() + ";path=/" }
ciccio = new Date(date-(-x))
left = (death-now) / 1000
age = Math.floor((death-date)/31557600000)
perc = 1 - left * 1000 / x
if ( perc > 1 ) { perc = 1 }
if ( y != 0 ) { window.clearTimeout(y) }
death = toString(death)
IE ? document.styleSheets(1).addRule("#bar1","background-image: url('"+base+"images/bar-dc.jpg')") : document.styleSheets[1].insertRule("#bar1 { background-image: url('"+base+"images/bar-dc.jpg') }",document.styleSheets[1].cssRules.length)
document.getElementById("bar1").innerHTML = document.getElementById("bar2").innerHTML = "&nbsp;"
if ( left > 0 )
{
document.getElementById("verdict").innerHTML = "L'esclusivo e infallibile Calcolatore di Morte prevede che morirai<br><span id='datex'></span>&nbsp;alle <span id='timex'></span>,<br>ossia tra<br><span id='leftx'>0.000.000.000</span><br>secondi,<br>all'età di <span id='agex'></span>&nbsp;anni,"
document.getElementById("datex").innerHTML = death.substring(0,death.lastIndexOf(" "))
document.getElementById("timex").innerHTML = death.substring(death.lastIndexOf(" ")+1)
document.getElementById("agex").innerHTML = age
k = Math.floor(x%autopsies.length)
if ( screen.width < 1000 && autopsies[k].substring(0,1) == "#" ) { IE ? document.styleSheets(1).addRule("#causex","letter-spacing: -1px") : document.styleSheets[1].insertRule("#causex { letter-spacing: -1px }",document.styleSheets[1].cssRules.length) }
else { IE ? document.styleSheets(1).addRule("#causex","letter-spacing: 0px") : document.styleSheets[1].insertRule("#causex { letter-spacing: 0px }",document.styleSheets[1].cssRules.length) }
cause = autopsies[k].substring(1)
document.getElementById("causex").innerHTML = ( female ? cause.replace("##","il tuo").replace("§§"," tuo").replace("#","a").replace("#","a").replace("#","a").replace("#","a").replace("§","o").replace("§","o") : cause.replace("#","o").replace("##","la tua").replace("§§","la tua").replace("#","o").replace("#","o").replace("#","o").replace("§","a").replace("§","a") ) + "<span style='color: #FFFFFF; font-weight: normal'>.</span>"
tmp = "document.getElementById(perc < 0.25 ? 'bar2' : 'bar1').innerHTML = "
window.setTimeout(tmp + "'&nbsp;Sei al <span id=\"percentage\">" + Math.round(perc*1000)/10 + ( Math.round(perc*1000)%10 == 0 ? ".0" : "" ) + "%</span> della tua vita'",1000)
window.setTimeout(tmp.replace('<','>=')+"'&nbsp'",1000)
switched = false
countdown(left*0.05,false)
window.setTimeout("countdown(" + (left*0.1) + ",false)",50)
window.setTimeout("countdown(" + (left*0.15) + ",false)",100)
window.setTimeout("countdown(" + (left*0.2) + ",false)",150)
window.setTimeout("countdown(" + (left*0.25) + ",false)",200)
window.setTimeout("countdown(" + (left*0.3) + ",false)",250)
window.setTimeout("countdown(" + (left*0.35) + ",false)",300)
window.setTimeout("countdown(" + (left*0.4) + ",false)",350)
window.setTimeout("countdown(" + (left*0.45) + ",false)",400)
window.setTimeout("countdown(" + (left*0.5) + ",false)",450)
window.setTimeout("countdown(" + (left*0.55) + ",false)",500)
window.setTimeout("countdown(" + (left*0.6) + ",false)",550)
window.setTimeout("countdown(" + (left*0.65) + ",false)",600)
window.setTimeout("countdown(" + (left*0.7) + ",false)",650)
window.setTimeout("countdown(" + (left*0.75) + ",false)",700)
window.setTimeout("countdown(" + (left*0.8) + ",false)",750)
window.setTimeout("countdown(" + (left*0.85) + ",false)",800)
window.setTimeout("countdown(" + (left*0.9) + ",false)",850)
window.setTimeout("countdown(" + (left*0.95) + ",false)",900)
window.setTimeout("countdown(" + (left) + ",true);switched=true",950)
}
else
{
document.getElementById("verdict").innerHTML = "&nbsp;<br>L'esclusivo e infallibile Calcolatore di Morte dice che... accidenti, dovresti già essere mort" + ( female ? "a" : "o" ) + "<br><span id='datex'></span>&nbsp;alle <span id='timex'></span>,<br>all'età di <span id='agex'></span>&nbsp;anni...<br><span id='leftx'>&nbsp;</span><br><b>Che diavolo ci fai ancora qui?!?</b>"
document.getElementById("datex").innerHTML = death.substring(0,death.lastIndexOf(" "))
document.getElementById("timex").innerHTML = death.substring(death.lastIndexOf(" ")+1)
document.getElementById("agex").innerHTML = age
document.getElementById("causex").innerHTML = "&nbsp;"
IE ? document.styleSheets(1).addRule("#bar1","width: 700px!important") : document.styleSheets[1].insertRule("#bar1 { width: 700px!important }",document.styleSheets[1].cssRules.length)
document.getElementById("bar1").innerHTML = "&nbsp;Sei al <span id='percentage'>100.0%</span> della tua vita"
document.getElementById("bar2").innerHTML = ""
}
}
}

function error(q)
{
alert("Non hai risposto alla domanda " + q + "!")
}

function toString(date)
{
wday = date.getDay()
day = date.getDate()
month = date.getMonth()
year = date.getFullYear()
hour = date.getHours()
minute = date.getMinutes()
switch ( wday )
{
case 0: wday = "domenica"; break;
case 1: wday = "lunedì"; break;
case 2: wday = "martedì"; break;
case 3: wday = "mercoledì"; break;
case 4: wday = "giovedì"; break;
case 5: wday = "venerdì"; break;
case 6: wday = "sabato"; break;
}
switch ( month )
{
case 0: month = "gennaio"; break;
case 1: month = "febbraio"; break;
case 2: month = "marzo"; break;
case 3: month = "aprile"; break;
case 4: month = "maggio"; break;
case 5: month = "giugno"; break;
case 6: month = "luglio"; break;
case 7: month = "agosto"; break;
case 8: month = "settembre"; break;
case 9: month = "ottobre"; break;
case 10: month = "novembre"; break;
case 11: month = "dicembre"; break;
}
return wday + " " + day + " " + month + " " + year + " " + hour + ":" + ( minute < 10 ? "0" + minute : minute )
}

function countdown(lefter,goOn)
{
lefter = "  " + Math.round(lefter)
l = lefter.length
document.getElementById("leftx").innerHTML = ( l > 11 ? lefter.substring(0,l-9) + "." : "" ) + ( l > 8 ? lefter.substring(l-9,l-6) + "." : "" ) + ( l > 5 ? lefter.substring(l-6,l-3) + "." : "" ) + lefter.substring(l-3)
if ( !switched )
{
percer = perc * lefter / left
IE ? document.styleSheets(1).addRule("#bar1","width: "+Math.round(700*percer)+"px!important") : document.styleSheets[1].insertRule("#bar1 { width: "+Math.round(700*percer)+"px!important }",document.styleSheets[1].cssRules.length)
}
if ( goOn )
{
if ( D15 == 0.60 ) { y = window.setTimeout("countdown(" + (lefter-1) + ",true)",500) }
else { y = window.setTimeout("countdown(" + (lefter-1) + ",true)",1000) }
}
}

function certificate()
{
if ( !done )
{ alert("Devi chiedere il verdetto prima!") }
else if ( D15 != 1.00 )
{ alert("Devi richiedere la previsione realistica per poter ottenere il certificato.") }
else if ( left > 0 )
{
q = ( female ? '1' : '0' ) + '&' + ( date.getDate() < 10 ? '0' + date.getDate() : date.getDate() ) + '/' + ( date.getMonth() < 9 ? '0' + (date.getMonth()+1) : date.getMonth()+1 ) + "/19" + date.getYear() + '&' + ( ciccio.getDate() < 10 ? '0' + ciccio.getDate() : ciccio.getDate() ) + '/' + ( ciccio.getMonth() < 9 ? '0' + (ciccio.getMonth()+1) : ciccio.getMonth()+1 ) + '/' + ( ciccio.getYear() < 1900 ? ciccio.getYear() + 1900 : ciccio.getYear() ) + '&' + death.substring(death.lastIndexOf(" ")+1) + '&' + k
window.open("richiesta.htm?" + q,"richiesta","height=360,width=600,status=no,scrollbars=no,toolbar=no,menubar=no,location=no,resizable=no")
}
else
{ alert("Risulti già mort" + ( female ? "a" : "o" ) + "; spiacente, ma non puoi richiedere il tuo certificato!") }
}
