Tempo=3000
imgPath = new Array;
SiClickGoTo = new Array;
if (document.images)
	{
	i0 = new Image;i0.src = 'pub/logocommune.jpg';SiClickGoTo[0] = "";imgPath[0] = i0.src;
	i1 = new Image;i1.src = 'pub/logocgloire.jpg';SiClickGoTo[1] = "";imgPath[1] = i1.src;
	i2 = new Image;i2.src = 'pub/logoregion.jpg';SiClickGoTo[2] = "";imgPath[2] = i2.src;
	i3 = new Image;i3.src = 'pub/logocasino.jpg';SiClickGoTo[3] = "";imgPath[3] = i3.src;
	}
 
CptPub = 0;
function ejs_img_fx(img)
	{
	if(img && img.filters && img.filters[0])
		{
		img.filters[0].apply();
		img.filters[0].play();
		}
	}

function StartPub()
	{
		document.write('<p align="center"><A  HREF="#" onClick="ImgDest();return(false)"><IMG SRC="img1" BORDER=1 ALT=Partenaires NAME=defil style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=100,Duration=1)"></A></p>');
		defilimg()
}
function ImgDest()
	{
	//document.location.href = SiClickGoTo[CptPub-1];
	if ( SiClickGoTo[CptPub-1] != "" ) {
	window.open("http://"+SiClickGoTo[CptPub-1],"Pub","target=_blank")
	}
	}
function defilimg()
	{
	if (CptPub == imgPath.length)
		{
		CptPub = 0;
		}
	if (document.images)
		{
		ejs_img_fx(document.defil)
		document.defil.src = imgPath[CptPub];
		tempo3 = setTimeout("defilimg()",Tempo);
		CptPub++;
		}
	}


if ((screen.width==640)&&(screen.height==480))// PAGE DE REDIRECTION SI RESOLUTION 640x480
{TableauBasWidth='750';TableauBasCol1='165';TableauBasCol2='400';TableauBasCol3='165';Resolution='800x600';}  
else if ((screen.width==800)&&(screen.height==600))// PAGE DE REDIRECTION SI RESOLUTION 800x600
{TableauBasWidth='750';TableauBasCol1='165';TableauBasCol2='400';TableauBasCol3='165';Resolution='800x600';} 
else if ((screen.width==1024)&&(screen.height==768))// PAGE DE REDIRECTION SI RESOLUTION 1024x768
{TableauBasWidth='970';TableauBasCol1='200';TableauBasCol2='570';TableauBasCol3='200';Resolution='1024x768';} 
else if ((screen.width==1152)&&(screen.height==864))// PAGE DE REDIRECTION SI RESOLUTION 1152x864
{TableauBasWidth='970';TableauBasCol1='200';TableauBasCol2='570';TableauBasCol3='200';Resolution='1024x768';}  
else if ((screen.width==1280)&&(screen.height==960))// PAGE DE REDIRECTION SI RESOLUTION 1280x960
{TableauBasWidth='970';TableauBasCol1='200';TableauBasCol2='570';TableauBasCol3='200';Resolution='1024x768';} 
else if ((screen.width==1280)&&(screen.height==1024))// PAGE DE REDIRECTION SI RESOLUTION 1280x1024
{TableauBasWidth='970';TableauBasCol1='200';TableauBasCol2='570';TableauBasCol3='200';Resolution='1024x768';}   
else// PAGE PAR DEFAUT
{TableauBasWidth='970';TableauBasCol1='200';TableauBasCol2='570';TableauBasCol3='200';Resolution='1024x768';}  

function TableauBasGaucheL1() {
  document.write('<div align="center"><table border="0" cellpadding="0" cellspacing="0" width='+TableauBasWidth+'>')
  document.write('<tr>')
  document.write('<td width='+TableauBasCol1+' align="left" valign="top" nowrap>')
}

function TableauBasGaucheL2() {
  document.write('<tr>')
  document.write('   <td width='+TableauBasCol1+' align="center" valign="bottom" nowrap>')
  
                        ParaVerdenaCenter11()
  document.write('        <img align=center src="http://pages.perso.orange.fr/client/php/compteur.php?url=ninapat&df=oulala&dd=B&frgb=black&tr=y&pad=y&comma=n">')
  document.write('        <font style="color:rgb(255,205,0); text-decoration:none;">  visiteurs')
  document.write('        <br>depuis le 15/04/06</font>')
  document.write('      </p>')

                         ParaVerdenaCenter11()
  document.write('         <img src="images/asso.gif" align="middle" width="100" height="67" border="0" hspace="5">')
  document.write('       </p>')
  
                         ParaVerdenaCenter11()
  document.write('          <font style="color:rgb(255,205,0); text-decoration:none;">&copy; 2004 - Oulala l\'Asso</font>')
  document.write('       </p>')
  document.write('   </td>')
  document.write('</tr>')

document.write('</table></div>')
}

function TableauBasDroite() {
  document.write('<td width='+TableauBasCol3+' align="right" valign="top" rowspan="2" nowrap bgcolor="red" bordercolor="black" style="border-style:none; border-right-color:red; border-bottom-color:red; border-right-style:ridge; border-bottom-style:ridge; border-top-color:black; border-left-color:black; border-top-style:solid; border-left-style:solid;">')

  ParaVerdenaLeft18()
  document.write('<img src="images/Coin.gif" align="middle" width="50" height="50" border="0"></p>')

ParaVerdenaCenter12()
  document.write('  <a href="index.htm"')
  document.write('      target="_self" style="color:yellow; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'yellow\';">')
  document.write('    <b>Oulala la Troize<br>Les points clés :')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>') 

ParaVerdenaCenter12()
  document.write('  <a href="progscene2008.htm"')
  document.write('      target="_self" style="color:white; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'white\';">')
  document.write('    <b>La Grande Scène')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>')
  ParaVerdenaCenter12()
  document.write('</script><font color="white"><b>----------</b></font></p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>')  
   
ParaVerdenaCenter12()
  document.write('  <a href="progregionale2008.htm"')
  document.write('      target="_self" style="color:white; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'white\';">')
  document.write('    <b>La Scène Régionale')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')
  ParaVerdenaCenter12()
  document.write('&nbsp;</p>')
  ParaVerdenaCenter12()
  document.write('</script><font color="white"><b>----------</b></font></p>') 
  ParaVerdenaCenter12()
  document.write('&nbsp;</p>') 

 ParaVerdenaCenter12()
  document.write('  <a href="billetterie.htm"')
  document.write('      target="_self" style="color:white; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'white\';">')
  document.write('    <b>La billetterie')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>')
  ParaVerdenaCenter12()
  document.write('</script><font color="white"><b>----------</b></font></p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>') 
 
  ParaVerdenaCenter12()
  document.write('  <a href="accueil.htm"')
  document.write('      target="_self" style="color:white; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'white\';">')
  document.write('    <b>L\'accueil du public')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>')
  ParaVerdenaCenter12()
  document.write('</script><font color="white"><b>----------</b></font></p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>') 
 
  ParaVerdenaCenter12()
  document.write('  <a href="benevole.htm"')
  document.write('      target="_self" style="color:white; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'white\';">')
  document.write('    <b>Bénévolat')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>')
  ParaVerdenaCenter12()
  document.write('</script><font color="white"><b>----------</b></font></p>')
  ParaVerdenaCenter12()
  document.write('</script>&nbsp;</p>') 

  ParaVerdenaCenter12()
  document.write('  <a href="partenaire.htm"')
  document.write('      target="_self" style="color:white; text-decoration:none;" onmouseover="this.style.color=\'black\'; this.style.cursor=\'hand\';"')
  document.write('      onmouseout="this.style.color=\'white\';">')
  document.write('    <b>Les partenaires')
  document.write('    </b>')
  document.write('  </a>')
  document.write('</p>')

  StartPub()
   
  document.write('</td>')
  document.write('</tr>')
}

