// fonction de generation
function genecss(){
 document.write('<style type="text/css"><!-- ');
 document.write('.txtb8 {color: #2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:08px; font-weight:normal;}');
 document.write('.txtn10 {color: #000000; font-family:Verdana,Arial; font-style: normal; font-size:10px; font-weight:normal;}');
 document.write('.txtb10 {color: #FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:10px; font-weight:normal;}');
 document.write('.txtbl10 {color: #2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:10px; font-weight:normal;}');
 document.write('.txtn12 {color: #000000; font-family:Verdana,Arial; font-style: normal; font-size:12px; font-weight:normal;}');
 document.write('.txtb12 {color: #FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:12px; font-weight:normal;}');
 document.write('.txtbl12 {color: #2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:12px; font-weight:normal;}');
 document.write('.txtn14 {color: #000000; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('.txtb14 {color: #FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('.txtbl14 {color: #2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('.txtn16 {color: #000000; font-family:Verdana,Arial; font-style: normal; font-size:16px; font-weight:normal;}');
 document.write('.txtb16 {color: #FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:16px; font-weight:normal;}');
 document.write('.txtbl16 {color: #2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:16px; font-weight:normal;}');
 document.write('.txtn18 {color: #000000; font-family:Verdana,Arial; font-style: normal; font-size:18px; font-weight:normal;}');
 document.write('.txtb18 {color: #FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:18px; font-weight:normal;}');
 document.write('.txtbl18 {color: #2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:18px; font-weight:normal;}');
 document.write('a{text-decoration:none;}');
 document.write('a:hoover{text-decoration:underline;}');
 document.write('.LNKA {color:#FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('A:hover.LNKA {color:#2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('.LNKB {color:#2A4C74; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('A:hover.LNKB {color:#FFFFFF; font-family:Verdana,Arial; font-style: normal; font-size:14px; font-weight:normal;}');
 document.write('--></style>');
}
function geneHeader(){
 document.write('<table width=780 border=0 cellpadding=0 cellspacing=0 align=center bgcolor=#DEEDD6>');
 document.write(' <tr><td><img src="img/ph.gif" width=20 height=1></td><td><img src="img/ph.gif" width=100 height=1></td><td><img src="img/ph.gif" width=100 height=1></td><td><img src="img/ph.gif" width=100 height=1></td><td><img src="img/ph.gif" width=100 height=1></td><td><img src="img/ph.gif" width=100 height=1></td><td><img src="img/ph.gif" width=100 height=1></td><td><img src="img/ph.gif" width=20 height=1></td></tr>');
 document.write(' <tr>');
 document.write('  <td colspan=8 align=center><a href="index.php"><img src="img/MegalitikFly04_Titre.jpg" width=504 height=97 alt="Megalitik" title="Megalitik" border=O></a></td>');
 document.write(' </tr>');
 document.write(' <tr bgcolor=grey height=30>');
 document.write(' <td></td>');
 document.write('  <td><b><a href="presentation.php">Presentation</b></a></td>');
 document.write('  <td colspan=2 align=center><a href="2006/index.php"><b>2006</b></a> - <a href="2007/index.php"><b>2007</b></a> - <a href="2008/index.php"><b>2008</b></a></td>');
 document.write('  <td><a href="contact.php"><b>Contact</b></a></td>');
 document.write('  <td><a href= "http://skyforum.ayzo.net/s,trancegoa,24,,20488,1,0.html" target=_blank><b>Forum</b></a></td>');
 document.write('  <td><a href= "http://www.myspace.com/megalitikfestival" target=_blank><b>Myspace</b></a></td>');
 document.write(' <td></td>');
  
 document.write(' </tr>');
 document.write(' <tr bgcolor=CCCCCC>');
 document.write('  <td colspan=8 align=center>Prochain evenement : <a href=2008/index.php>Megalitik II 30/05/08 to 01/06/08</a></td>');
 document.write(' </tr>');
 document.write(' <tr>');
 document.write('  <td><img src="img/ph.gif" width=1 height=350></td>');
 document.write('  <td colspan=6 valign=top><img src="img/ph.gif" width=1 height=10><br>');
}
function geneFooter(){
 document.write('</td>');
 document.write('  <td><img src="img/ph.gif" width=1 height=20></td>');
 document.write(' </tr>');
    document.write(' <tr>');
 document.write('  <td colspan=8><img src="img/ph.gif" width=1 height=20></td>');
 document.write(' </tr>');
  document.write(' <tr>');
 document.write('  <td colspan=8 align=center><img src="img/anim_MegalitikFond03.gif" width=123></td>');
 document.write(' </tr>');
 document.write(' <tr>');
 document.write('  <td colspan=8><img src="img/ph.gif" width=1 height=20></td>');
 document.write(' </tr>');
 document.write('</table>');
}