//\\
//\\
//ARAN informatica - AREZZO
//Vietato l'utilizzo anche parziale senza autorizzazione
var xq=0
var btv
var c=getCookie("nym")
if (c!=0) {
ap('/nym.asp',553,568,'NYM')
if (navigator.appName=="Netscape") {
//if (new Date().getHours()<(16+xdst))
ap('/nymf.asp',550,720,'NYMF')
}
else ap('/nymf.asp',550,575,'NYMF')
//else if (new Date().getHours()<(16+xdst))
}
function ap(url,w,h,n) {
var apo="width="+w+",height="+h+",resizable=no,scrollbars=no,status=no,menubar=no,canali=no,location=no,directories=no"
btv = window.open(url,n,apo);
}
function apt(url,w,h,n) {
var apo="width="+w+",height="+h+",scrollbars=yes,status=no,menubar=no,canali=no,location=no,directories=no"
btv = window.open(url,n,apo);
}
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 vai(s) {if (s) location='http://'+s}
function borse(){
var mezza=""
document.write("
")
if (new Date().getHours()==17&&new Date().getMinutes()>29) mezza="b"
if (new Date().getHours()==20&&new Date().getMinutes()>29) mezza="b"
document.write("
")
}
var d=new Date(); fixDate(d); d.setTime(d.getTime()+365*24*3600000)
function dflt() {
c=getCookie("nyse")
if (c) document.A.symb.value=getCookie("nyse")
else document.A.symb.value='csco'
c=getCookie("aff")
//if (c) document.M.nome.value=getCookie("aff")
//document.M2.textfield.value=document.M.nome.value
c=getCookie("nym")
if (c==0) document.A.NYM.checked=false
else document.A.NYM.checked=true
}
function salva() {
setCookie("nyse", document.A.symb.value, d)
//setCookie("aff", document.M.nome.value, d)
//if (document.M.nome.value=="") setCookie("aff", document.M2.textfield.value, d)
}
function nm() {
if (document.A.NYM.checked) {
setCookie("nym",1,d); ap('/nym.asp',553,568,'NYM')
if (new Date().getHours()<(16+xdst)) ap('/nymf.asp',550,575,'NYMF')
}
else { setCookie("nym",0,d); btv.close() }
}
function valute() {ap('http://www.adb.it/Valute/Default2.asp',635,414,'ADB') }
//COOKIES
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);
}