﻿var shmsg		= "0"		
var shimg_1		= "1"	
var shimg_2		= "0"	
var shzone_1	= "1"
var shzone_2	= "1"
var shflasher	= "1"
var shviewer		= "0"	
var shborder		= "5AA49C"
var shscroller   	= "0"
var shmarquee  = "1"

document.write('<!--div id="rightbar"--><table cellpadding="5" cellspacing="0" width="100%" border="0"><tbody><tr><td valign="top" align="center">');

// First zone
 if (shzone_1 == "1") {
  if (shimg_1 == "1") {document.write('<img src="picts/rightbar.jpg" class="border" width="180" hspace="5">');}
  if (shimg_2 == "1") {document.write('<br><br><img src="picts/rightbar-'+ parseInt(Math.random()*3) +'.jpg" hspace="5" class="border">'); } }
// msg viewer
 if (shmsg == "1") {document.write('<br><object type="application/x-shockwave-flash" data="themes.swf" width="170" height="120" align="">');
document.write('<param name="movie" value="themes.swf" /><img src="picts/noflash.jpg" alt="Macromedia Flash Player">');
document.write('<param name="bgcolor" value="white"><param name="wmode" value="transparent"></object>'); }
// Second zone
 if (shzone_2 == "1") {document.write('<br><fieldset style="border: #'+shborder+' 1px solid; text-align:left; width:170px; padding: 5px;"><legend><span class="subtitle">&nbsp;Evènements :&nbsp;</span></legend>');
document.write('Portes ouvertes sur le tourisme en Bourgogne du Sud...<br><br>');
document.write('<center><a onclick="window.open(\'./win_actualites.htm\',null,\'scrollbars=yes,width=600,height=650\');" href="javascript:void(0)"><img src="picts/suiteoff.gif" onmouseover="this.src=\'picts/suiteon.gif\'" onmouseout="this.src=\'picts/suiteoff.gif\'" border="0"></a></center>');
document.write('</fieldset>');}
 // Flash viewer
 if (shflasher == "1") {document.write('<br><br><object type="application/x-shockwave-flash" data="imager.swf" width="185" height="122" align="">');
document.write('<param name="movie" value="imager.swf"><img src="picts/noflash.jpg" alt="Macromedia Flash Player">');
document.write('<param name="bgcolor" value="white"><param name="wmode" value="transparent"></object>'); }
 // Page viewer
 if (shviewer == "1") {document.write('<br><br><img src="picts/rightbar2.jpg" border="0" class="border"><br><br>');
document.write('<a href="#"> Galerie </a><a href="#"><b> [1] <b></a><a href="#"><b> [2] <b></a> '); }
// Marquee zone
 if (shmarquee == "1") {document.write('<br /><br />');
document.write('<fieldset style="border: #'+shborder+' 1px solid; text-align:left; width:175px; padding: 5px;"><legend><span class="subtitle">&nbsp;Communiqués :&nbsp;</span></legend>');
document.write('<marquee onmouseover=this.stop() onmouseout=this.start() scrollamount=1 direction=up width=175 height=60><font color=green><b>La Bourgogne en vert :</b></font><br>');
document.write('<br><a onclick="window.open(\'win_actualites.htm\',null,\'width=600,height=650, scrollbars=yes\');" href="javascript:void(0)"><font color="blue">Vivre en Bourgogne du sud </font></a><br>');
document.write('<br><font color="darkgreen"><em>Portes ouvertes sur le tourisme à la campagne...</em></font><br>');
document.write('<br><a onclick="window.open(\'./win_actualites.htm\',null,\'scrollbars=yes,width=600,height=650\');" href="javascript:void(0)"><font color="blue">[+] en savoir plus</font></a>');
document.write('</marquee></fieldset>'); }
// Scroll zone
 if (shscroller == "1") {document.write('<br><br>');
 document.write('<fieldset style="border: #'+shborder+' 1px solid; text-align:left; width:150px; padding: 1px;"><legend><span class="subtitle">&nbsp;News :&nbsp;</span></legend>');
document.write('<iframe id="NewsWindow" src="win_scroll.htm" width="150" height="232" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="border: #000000 0px solid;"></iframe>');
document.write('</fieldset>'); }

document.write('</td></tr></tbody></table><!--/div-->');
