
            /* * *****************************************************
               *  time-interval definito nel <body onload=...>
               *  
               *   DalPRA_window=setInterval("DalPRA_presentazione()",4000);'
               *         |
               *         + ----> DalPRA_slide=setInterval("DalPRA_cover_slide()",40)	    SLIDE vs SX
               *         |             |     clearInterval(DalPRA_window)		    STOP init
               *         ^             + --> clearInterval(DalPRA_slide)                    STOP slide SX
               *         |             + --> setTimeout("DalPRA_notice_wait()",3000)	    WAIT notice
               *         |                        |
               *         |                        + --> DalPRA_slide=setInterval("DalPRA_cover_back()",40)   SLIDE vs DX
               *	 |             	          + --> clearInterval(DalPRA_slide)                          STOP slide DX
               *         |                        + --> setTimeout("DalPRA_cover_wait()",3000)               WAIT cover
               *         |                                   |
               *         +---------------------------------- +            <--  return to do SLIDE vs SX

               * ****************************************************
             */


function BOX900_background()
  { 
       var p=document.getElementById("BOX900_frame").style.backgroundPosition;    //  restituisce  "0px 0px"

   var pos=p.split('px'), px=Number(pos[0]), py=Number(pos[1]);   

                          py=py-106;
           
          if(py<-212)  {py=0;}

           p=px+"px "+py+"px";
           
           document.getElementById("BOX900_frame").style.backgroundPosition=p;
  }

function DalPRA_notice_wait()
  {
        DalPRA_slide=setInterval("DalPRA_cover_back()",40);  
  }

function DalPRA_cover_back()
  {
     var p=document.getElementById("DalPRA_presentazione").style.backgroundPosition;    //  restituisce  "0px 0px"

   var pos=p.split('px'), px=Number(pos[0]), py=Number(pos[1]);   

                            px=px+2;
           
          if(px>-1)  {clearInterval(DalPRA_slide);setTimeout("DalPRA_cover_wait()",3000);}
          if(px>-70) {document.getElementById("DalPRA_date_time").style.visibility="hidden"}

           p=px+"px "+py+"px";
           
           document.getElementById("DalPRA_presentazione").style.backgroundPosition=p;

  }

function DalPRA_cover_wait()
  {
        DalPRA_slide=setInterval("DalPRA_cover_slide()",40);  
  }

