function InOut( elem )
{
 elem.delay()
     .fadeIn(5000)
     .delay(12000)
     .fadeOut(
          function(){
             if(elem.next().length > 0) // if there is a next element
               {InOut( elem.next() );} // use it
             else
               {InOut( elem.siblings(':first'));} // if not, then use go back to the first sibling

           }
         );
}




