var vcc=new Array(7);var ex=new Date();ex.setTime(ex.getTime()+(24*60*60*1000*365));pi=0;var idut,nv,bt,bl,so,ris;
function crms(){
ref="&ref="+escape(document.referrer);
//stc('idut','');
//stc('nv',0);
idut=gc('idut');
if(idut==null || idut=='undefined'){d=new Date();t=d.getTime();r=Math.floor(10000*Math.random());idut="id"+t+r;nv=1;gud();stc('idut',idut);stc('nv',nv);stc('bt',bt);stc('bl',bl);stc('so',so);stc('ris',ris);vnav='&bt='+escape(bt)+'&bl='+escape(bl)+'&so='+escape(so)+'&ris='+escape(ris);for (i=1;i<7;i++) stc('vc'+i,500);}
else{nv=parseInt(gc('nv'))+1;stc('nv',nv);vnav='';}
vcrm="";
//for (i=1;i<7;i++) vcc[i]=parseInt(gc('vc'+i));
//vcrm=vcc.join('');
//if (pi==1) vcrm='&crm='+gcrm();
document.images['fi'].src='/crm/fi.asp?idut='+idut+'&nv='+nv+vnav+vcrm+ref;}

function gcrm(){str="";for (i=0;i<arrcrm.length;i++) str=str+(arrcrm[i]*100).toString}
function gud(){if(rua('AOL 5')!=-1) bt="America Online 5.0";else if(rua('AOL 4')!=-1) bt="America Online 4.0";else if(rua('AOL 3')!=-1) bt="America Online 3.0";else if(rua('MSIE 6')!=-1) bt="Internet Explorer 6.0";else if(rua('MSIE 5.5')!=-1) bt="Internet Explorer 5.5";else if(rua('MSIE 5.01')!=-1) bt="Internet Explorer 5.01";else if(rua('MSIE 5')!=-1) bt="Internet Explorer 5.0";else if(rua('MSIE 4')!=-1) bt="Internet Explorer 4.0";else if(rua('MSIE 3')!=-1) bt="Internet Explorer 3.0";else if(rua("Mozilla/6.0")!=-1) bt="Netscape 6.0";else if(rua("Mozilla/4.7")!=-1) bt="Netscape 4.7";else if(rua("Mozilla/4.61")!=-1) bt="Netscape 4.61";else if(rua("Mozilla/4.5")!=-1) bt="Netscape 4.5";else if(rua("Mozilla/4")!=-1) bt="Netscape 4.0";else if(rua("Mozilla/3")!=-1) bt="Netscape 3.0";else if(rua("Mozilla/2")!=-1) bt="Netscape 2";else if(rua("MSIE 4.5")!=-1) bt="Microsoft Internet Explorer 4.5 for Macintosh";else if(navigator.appName=="WebTV Internet Terminal") bt="WebTV Browser";else if(navigator.appName!="Microsoft Internet Explorer" && navigator.appName!="Netscape") bt="Sconosciuto";btt=navigator.appName;if(btt!="Netscape") bl=navigator.browserLanguage;else bl=navigator.language;scrx=screen.width;scry=screen.height;if(btt!="Netscape") scrctemp=screen.colorDepth;else scrctemp=screen.pixelDepth;scrc="0";if(scrctemp==4) scrc="16";else if(scrctemp==8) scrc="256";else if(scrctemp==16) scrc="65K";else if(scrctemp==32) scrc="64M";else if(scrctemp==64) scrc="64M(32 bit)";ris=scrx+"x"+scry+"x"+scrc;if(rua('IRIX')!=-1) so="Irix";else if((rua('Win')!=-1) && (rua('2000')!=-1)) so="Windows 2000";else if((rua('Win')!=-1) && (rua('98')!=-1)) so="Windows 98";else if((rua('Win')!=-1) && (rua('95')!=-1)) so="Windows 95";else if(rav("16")!=-1) so="Windows 3.1";else if(rav("NT")!=-1) so= "Windows NT";else if(rav("SunOS")!=-1) so="SunOS";else if(rav("Linux")!=-1) so="Linux";else if(rua('Mac')!=-1) so="Macintosh";else if(navigator.appName=="WebTV Internet Terminal") so="WebTV";else if(rav("HP")!=-1) so="HP-UX";else so="other";}
function gcv(offset){var endstr=document.cookie.indexOf (";",offset); if (endstr==-1) endstr=document.cookie.length; return unescape(document.cookie.substring(offset,endstr));}
function gc(name){var arg=name+"="; var alen=arg.length; var clen=document.cookie.length; var i=0; while (i < clen) { var j=i+alen; if (document.cookie.substring(i,j)==arg) return gcv (j); i=document.cookie.indexOf(" ",i)+1; if (i==0) break;} return null;}
function stc(n,v){sc(n,v,ex,"/",null,false);}
function sc(name,value){var argv=sc.arguments; var argc=sc.arguments.length; var expires=(2 < argc) ? argv[2] : null; var path=(3 < argc) ? argv[3] : null; var domain=(4 < argc) ? argv[4] : null; var secure=(5 < argc) ? argv[5] : false; document.cookie=name+"="+escape (value)+((expires==null) ? "" : ("; expires="+expires.toGMTString()))+((path==null) ? "" : ("; path="+path))+((domain==null) ? "" : ("; domain="+domain))+((secure==true) ? "; secure" : "");}
function rua(sot){return navigator.userAgent.indexOf(sot);}
function rav(sot){return navigator.appVersion.indexOf(sot);}