// if (a=="Netscape") {
//  livello=document.getElementById("comic").style 
//  speak6=document.getElementById("speak").style 
//  }


function handler(e) {
 var mes="Errore"
if (a!="Microsoft Internet Explorer") {
  livello.left=e.pageX
  speak6.left=e.pageX+48 
  livello.top=e.pageY-100
  speak6.top=e.pageY-80
  viso="visible"
  stringaME=e.target;stringaMEX=stringaME.parentNode;stringaMEX=stringaMEX.toString();
  if( stringaME==url+'doc/faq.htm'  ) {
    x=1;
    mes="Le domande piu'<br> frequenti su Dylan<br>Dog"
    }
  else
    if( stringaME==url+'albi/index.htm') {
         x=2;mes="Informazioni sulle<br>pubblicazioni e<br>gadgets dylaniati"
   } 
  else
    if( stringaME==url+'groucho/index.htm') {
        x=3;mes="Le migliori,forse <br>tutte, battute di<br> Groucho"
   }
  else
    if( stringaME==url+'curiosita/index.htm') {
      x=4;mes="Curiosita',donne,<br>statistiche, citazioni<br>personaggi"
   }
 else
   if( stringaME==url+'scene/index.htm') {
       x=5;mes="Biografia ed<br>opere degli<br>sceneggiatori"
   }
  else
     if( stringaME==url+'dise/index.htm') {
         x=6;mes="Biografia ed<br>opere dei<br>disegnatori"
   }
 else
  if( stringaME==url+'para/index.htm') {
 x=7;mes="Parapsicologia,<br>occulto,UFO,<br>eventi inspiegabili"
}
 else
  if( stringaME==url+'scritti/index.htm') {
    x=8;mes="Le vostre storie<br>scritte con il<br>sangue..."
}
else
 if( stringaME==url+'letteratura/index.htm') {
 x=9;mes="Letteratura da<br>paura:recensione<br>libri e autori"
}
else
 if( stringaME==url+'rubriche/index.htm') {
 x=10;mes="Valutazione albi<br>eventi speciali<br>dylaniati"
}
else
 if( stringaME==url+'cinema/index.htm') {
  x=11;mes="Le novita' del<br> cinema e tv horror e<br> thriller"
}
else
 if( stringaME==url+'links/holinks.htm') {
  x=12;mes="I migliori links di<br> siti riguardanti<br>Dylan,fumetti,horror"
}
else
 if( stringaME==url+'links/credits.htm') {
   x=14;mes="Un ringraziamento<br>speciale  a..."
}
else
 if( stringaME==url+'download/index.htm') {
  x=15;mes="Scarica materiale<br>dylaniato..."
}
else
 if( stringaME==url+'articoli/index.htm') {
  x=16;mes="Articoli,documenti,<br>libri dedicati a<br>Dyd e il suo mondo"
}
else
 if( stringaME==url+'sociale/index.htm') {
  x=17;mes=" Tutto cio' che<br> riguarda l'impegno<br> sociale"
}
else
 if( stringaME=='javascript:scelta(18)') {
  x=18;mes=" <br>Scrivi al webmaster"
}  
else
 if( stringaME==url+'webcomic/index.php') {
  x=19;mes=" Web Comic<br> inediti d'autore<br> fan-art"
} 

}else {
 e=window.event
livello=document.all.comic.style
viso="visible"
stringaME=e.srcElement
 document.all.comic.style.top=e.clientY-100+document.body.scrollTop;
document.all.speak.style.top=e.clientY-80+document.body.scrollTop
document.all.comic.style.left=e.clientX
document.all.speak.style.left=e.clientX+48
e.cancelBubble=true 
stringaMEX=stringaME.toString();
switch(stringaMEX) {
 case url+'doc/faq.htm':x=1;mes="Le domande piu'<br> frequenti su Dylan<br>Dog";break
 case url+'albi/index.htm':x=2;mes="Informazioni sulle<br>pubblicazioni e<br>gadgets dylaniati";break
case  url+'groucho/index.htm':x=3;mes="Le migliori,forse <br>tutte, battute di<br> Groucho";break
case url+'curiosita/index.htm':x=4;mes="Curiosita',donne,<br>statistiche, citazioni<br>personaggi";break
case  url+'scene/index.htm':x=5;mes="Biografia ed<br>opere degli<br>sceneggiatori";break
case url+'dise/index.htm':x=6;mes="Biografia ed<br>opere dei<br>disegnatori";break
case url+'para/index.htm':x=7;mes="Parapsicologia,<br>occulto,UFO,<br>eventi inspiegabili";break
case  url+'scritti/index.htm':x=8;mes="Le vostre storie<br>scritte con il<br>sangue...";break
case  url+'letteratura/index.htm':x=9;mes="Letteratura da<br>paura:recensione<br>libri e autori";break
case  url+'rubriche/index.htm':x=10;mes="Valutazione albi<br>eventi speciali<br>dylaniati";break
case  url+'cinema/index.htm':x=11;mes="Le novita' del<br> cinema e tv horror e<br> thriller";break
case  url+'links/holinks.htm':x=12;mes="I migliori links di<br> siti riguardanti<br>Dylan,fumetti,horror";break
case  url+'links/credits.htm':x=14;mes="Un ringraziamento<br>speciale  a...";break
case  url+'download/index.htm':x=15;mes="Scarica materiale<br>dylaniato...";break
case  url+'articoli/index.htm':x=16;mes="Articoli,documenti,<br>libri dedicati a<br>Dyd e il suo mondo";break
case  url+'sociale/index.htm':x=17;mes=" Tutto cio' che<br> riguarda l'impegno<br> sociale";break
case 'javascript:scelta()':x=18;mes=" <br>Scrivi al webmostro";break
case url+'webcomic/index.php':x=19;mes=" Web Comic<br> inediti d'autore<br> fan-art";break
  }
}
 livello.visibility=viso;
if(a!="Microsoft Internet Explorer") {
testo="<div align='left' class='noti'><font color='#000000'>"+mes+"</font></div>";
         document.getElementById("speak").innerHTML=testo; speak6.visibility="visible"	 
					}
 else  if(a=="Microsoft Internet Explorer")
   { speak.innerHTML="<div align='left' class='noti'><font color='#000000'>"+mes+"</font></div>";
     document.all.speak.style.visibility="visible"}
 
   if (a=="Opera")
   { }
} //fine handler

function addh(o) {
o.onmouseover=handler;
o.onmousemove=handler;
}


function patch(){
sp1=110

  if (window.screen.width==1024)
   { if (a=="Microsoft Internet Explorer") {
          if (document.body.offsetWidth==1024) 
                   sp1=0
          if (document.body.offsetWidth<800)
                 sp1=110
          if ((document.body.offsetWidth<1024)&&(document.body.offsetWidth>800))
             sp1=110-((document.body.offsetWidth-800)/2)
         }
  else
  // if((a=="Netscape")||(a=="Opera"))
    if (a!="Microsoft Internet Explorer") 
       {
      if(self.innerWidth<800) sp1=110
        else sp1=110-((self.innerWidth-800)/2) 
       } 
            
    }

 if ((a=="Microsoft Internet Explorer")||(a=="Opera")) {
       vet = new Array()
       vet=document.all.tags("div"); 
       for(conta=0;conta<vet.length;conta++) 
         { nl=vet[conta].id;
            if (nl!="") 
             { ap=vet[conta];
               ap.style.left=ap.style.left.slice(0,-2)-sp1
             }
         }
    } else  if(a=="Nerrrrrtscape")
        {
          x11=document.layers.length;
         for(conta=0;conta<x11;conta++)
            document.layers[conta].left-=sp1;    
         } // fine if netscape

// associa gli eventi ai link
 if(a=="Microsoft Internet Explorer")
 for(var d=0;d<document.links.length;d++)
 {  astronga=document.links[d].href
  if   ((astronga==url+'doc/faq.htm')||(astronga==url+'albi/index.htm')||(astronga==url+'groucho/index.htm')||(astronga==url+'curiosita/index.htm') 
||(astronga==url+'articoli/index.htm')||(astronga==url+'dise/index.htm')||(astronga==url+'scene/index.htm')||(astronga==url+'rubriche/index.htm')
||(astronga==url+'para/index.htm'||(astronga==url+'scritti/index.htm')||(astronga==url+'sociale/index.htm')||(astronga==url+'letteratura/index.htm')
||(astronga==url+'cinema/index.htm')||(astronga==url+'download/index.htm')||(astronga==url+'webcomic/index.php')||(astronga==url+'links/holinks.htm')
||(astronga==url+'links/credits.htm')||(astronga=='javascript:scelta()') 
)) addh(document.links[d]); 
 }  
} // fine patch 800x600 e ridimensionamento finestra

function ric()
{
 location.reload()
}

function menu(x){
 
if(( navigator.userAgent.indexOf('Linux') != -1)&&(a=="Netscape"))
    { if((x>=7)&&(x<=9)) disp=48;
        if (x>=10) disp=55;    }
 
  }
