var imglist324 = new Array();
var txtlist324 = new Array();
var delaylist324 = new Array();
var timer324;


imglist324[0] = new Image(); imglist324[0].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_01.jpg'; txtlist324[0] = ""; delaylist324[0] = ""; 
imglist324[1] = new Image(); imglist324[1].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_02.jpg'; txtlist324[1] = ""; delaylist324[1] = ""; 
imglist324[2] = new Image(); imglist324[2].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_03.jpg'; txtlist324[2] = ""; delaylist324[2] = ""; 
imglist324[3] = new Image(); imglist324[3].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_04.jpg'; txtlist324[3] = ""; delaylist324[3] = ""; 
imglist324[4] = new Image(); imglist324[4].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_05.jpg'; txtlist324[4] = ""; delaylist324[4] = ""; 
imglist324[5] = new Image(); imglist324[5].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_06.jpg'; txtlist324[5] = ""; delaylist324[5] = ""; 
imglist324[6] = new Image(); imglist324[6].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_07.jpg'; txtlist324[6] = ""; delaylist324[6] = ""; 
imglist324[7] = new Image(); imglist324[7].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_08.jpg'; txtlist324[7] = ""; delaylist324[7] = ""; 
imglist324[8] = new Image(); imglist324[8].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_09.jpg'; txtlist324[8] = ""; delaylist324[8] = ""; 
imglist324[9] = new Image(); imglist324[9].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_10.jpg'; txtlist324[9] = ""; delaylist324[9] = ""; 
imglist324[10] = new Image(); imglist324[10].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_11.jpg'; txtlist324[10] = ""; delaylist324[10] = ""; 
imglist324[11] = new Image(); imglist324[11].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_12.jpg'; txtlist324[11] = ""; delaylist324[11] = ""; 
imglist324[12] = new Image(); imglist324[12].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_13.jpg'; txtlist324[12] = ""; delaylist324[12] = ""; 
imglist324[13] = new Image(); imglist324[13].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_14.jpg'; txtlist324[13] = ""; delaylist324[13] = ""; 
imglist324[14] = new Image(); imglist324[14].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_15.jpg'; txtlist324[14] = ""; delaylist324[14] = ""; 
imglist324[15] = new Image(); imglist324[15].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_16.jpg'; txtlist324[15] = ""; delaylist324[15] = ""; 
imglist324[16] = new Image(); imglist324[16].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_17.jpg'; txtlist324[16] = ""; delaylist324[16] = ""; 
imglist324[17] = new Image(); imglist324[17].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_18.jpg'; txtlist324[17] = ""; delaylist324[17] = ""; 
imglist324[18] = new Image(); imglist324[18].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_19.jpg'; txtlist324[18] = ""; delaylist324[18] = ""; 
imglist324[19] = new Image(); imglist324[19].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_20.jpg'; txtlist324[19] = ""; delaylist324[19] = ""; 
imglist324[20] = new Image(); imglist324[20].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_21.jpg'; txtlist324[20] = ""; delaylist324[20] = ""; 
imglist324[21] = new Image(); imglist324[21].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_22.jpg'; txtlist324[21] = ""; delaylist324[21] = ""; 
imglist324[22] = new Image(); imglist324[22].src = 'http://www.agal-gz.org/images/articles/2007/dezembro/20071205_pgl_aglp_23.jpg'; txtlist324[22] = ""; delaylist324[22] = ""; 

function changepic324( x )
{
   self.clearTimeout(timer324);

   document.getElementById('link324-'+photosel324).className = '';
   photosel324 = x;
   document.getElementById('link324-'+photosel324).className = 'selected';

   document.getElementById('photo324').src = imglist324[x].src;
   
}

function rotate324( x )
{
   i = photosel324 + x;
   if( i >= photonum324 ) { i = 0; }
   if( i < 0 ) { i = photonum324-1; }
   changepic324(i);
}

function autorotate324()
{
   rotate324(1);
   
   if( delaylist324[photosel324] > 0 ) { delay = delaylist324[i]; } else { delay = 5; }
   timer324 = self.setTimeout("autorotate324()", delay*1000);
   
}

