/* wikramaratna 
used in abc-bookshop (nov-2006)
used experimentally in hostellerie de la baie (nov-2006)
used experimentally in yville holly pages (sep-2006) 
jw02a.js contains specifics for atelier13 (may-2006) 
script & functions originally tested in orchids (2005-6)
      - - -
functions ggg2( array ) JW_img1( delay) imgOver( alt-text ) 
    - - - 
*/
var ival2, j2=0, sr2, fRef2;

function ggg2( ar_ ) {
  if ( j2 >= ar_.length ) {clearInterval(ival2);} else { document.img1.src = ar_[j2]; document.img1.alt=''}; 
  j2++;
}

function JW_img1( delay ) { 
  delay = delay * 1000; 
  clearInterval( ival2 );
  j2 = 1;   sr2 = arguments;   fRef2 = 'ggg2( sr2 )' ; 
  ival2 = setInterval( fRef2 , delay ); 
}

var delay1 = 1000;
function imgOver(a) {
  document.img1.alt = a;
  clearInterval( ival2 );
  j2 = 1;   sr2 = arguments;   fRef2 = 'ggg2( sr2 )' ; 
  ival2 = setInterval( fRef2 , delay1 ); 
}