/* AUTEUR: Sebastien GILBERT */
/* DATE DE CREATION: 29/10/2009 */



function menubas()
{
document.write(
'<a href="bas-1.htm"><img style="border: 0px solid ; width: 168px; height: 22px;" alt="" src="images/menubas-1-nor.gif" srcover="images/menubas-1-sur.gif" srcdown="images/menubas-1-enf.gif"></a>'+
'<br>'+
'<a href="bas-2.htm"><img style="border: 0px solid ; width: 168px; height: 22px;" alt="" src="images/menubas-2-nor.gif" srcover="images/menubas-2-sur.gif" srcdown="images/menubas-2-enf.gif"></a>'+
'<br>'+
'<a href="bas-3.htm"><img style="border: 0px solid ; width: 168px; height: 22px;" alt="" src="images/menubas-3-nor.gif" srcover="images/menubas-3-sur.gif" srcdown="images/menubas-3-enf.gif"></a>'+
'<br>'+
'<a href="http://www.livre-dor.net/livre.php?livredor=111517" target="_blank"><img style="border: 0px solid ; width: 168px; height: 22px;" alt="" src="images/menubas-4-nor.gif" srcover="images/menubas-4-sur.gif" srcdown="images/menubas-4-enf.gif"></a>'+'<br>'
);}




function menuprincipal()
{
document.write(
'<a href="index.htm">'+'<img style="border: 0px solid ; width: 168px; height: 31px;" alt="" src="images/menu-1-nor.gif" srcover="images/menu-1-sur.gif" srcdown="images/menu-1-enf.gif">'+'</a>'+
'<br>'+
'<a href="2.htm">'+'<img style="border: 0px solid ; width: 168px; height: 31px;" alt="" src="images/menu-2-nor.gif" srcover="images/menu-2-sur.gif" srcdown="images/menu-2-enf.gif">'+'</a>'+
'<br>'+
'<a href="3.htm">'+'<img style="border: 0px solid ; width: 168px; height: 31px;" alt="" src="images/menu-3-nor.gif" srcover="images/menu-3-sur.gif" srcdown="images/menu-3-enf.gif">'+'</a>'+
'<br>'+
'<a href="4.htm" onmouseover="showmenu(event,linkset[0])" onmouseout="delayhidemenu()"><img style="border: 0px solid ; width: 169px; height: 31px;" alt="" src="images/menu-4-nor.gif" srcover="images/menu-4-sur.gif" srcdown="images/menu-4-enf.gif">'+'</a>'+
'<br>'+
'<a href="5.htm">'+'<img style="border: 0px solid ; width: 170px; height: 31px;" alt="" src="images/menu-5-nor.gif" srcover="images/menu-5-sur.gif" srcdown="images/menu-5-enf.gif">'+'</a>'+
'<br>'+
'<a href="6.htm">'+'<img style="border: 0px solid ; width: 170px; height: 31px;" alt="" src="images/menu-6-nor.gif" srcover="images/menu-6-sur.gif" srcdown="images/menu-6-enf.gif">'+'</a>'+
'<br>'+
'<a href="http://www.ot-carnac.fr/" target="_blank">'+'<img style="border: 0px solid ; width: 170px; height: 31px;" alt="" src="images/menu-7-nor.gif" srcover="images/menu-7-sur.gif" srcdown="images/menu-7-enf.gif">'+'</a>'+
'<br>'+
'<a href="8.htm">'+'<img style="border: 0px solid ; width: 170px; height: 31px;" alt="" src="images/menu-8-nor.gif" srcover="images/menu-8-sur.gif" srcdown="images/menu-8-enf.gif">'+'</a>'+
'<br>'+
'<a href="10.htm">'+'<img style="border: 0px solid ; width: 170px; height: 31px;" alt="" src="images/menu-10-nor.gif" srcover="images/menu-10-sur.gif" srcdown="images/menu-10-enf.gif">'+'</a>'+
'<br>'+
'<a href="/UK/index.htm">'+'<img style="border: 0px solid ; width: 150px; height: 31px;" alt="" src="/UK/images/menu-langue-nor.gif" srcover="/UK/images/menu-langue-sur.gif" srcdown="/UK/images/menu-langue-enf.gif">'+'</a>'+
'&nbsp;&nbsp;<a href="/UK/index.htm">'+'<img style="border: 0px solid ; width: 22px; height: 22px;" alt="Version Anglaise" src="/UK/images/uk-drapeau.gif">'+'</a>'+
'<br>'+
'<a href="/DE/index.htm">'+'<img style="border: 0px solid ; width: 150px; height: 31px;" alt="" src="/DE/images/menu-langue-nor.gif" srcover="/DE/images/menu-langue-sur.gif" srcdown="/DE/images/menu-langue-enf.gif">'+'</a>'+
'&nbsp;&nbsp;<a href="/DE/index.htm">'+'<img style="border: 0px solid ; width: 22px; height: 22px;" alt="Version Allemande" src="/DE/images/de-drapeau.gif">'+'</a>'+
'<br>'+
'<br>'+
'<br>'+
'<br>'+
'<a href="http://www.irm-sa.fr/" target="_blank">'+'<img style="border: 0px solid ; width: 80px; height: 33px;" alt="mobil-home irm" src="images/logo-irm-nor.gif" srcover="images/logo-irm-sur.gif" srcdown="images/logo-irm-enf.gif">'+'</a>'+
'&nbsp;&nbsp;<a href="http://www.louisiane-fmi.com" target="_blank">'+'<img style="border: 0px solid ; width: 80px; height: 33px;" alt="mobil-home louisiane" src="images/logo-louisiane-nor.gif" srcover="images/logo-louisiane-sur.gif" srcdown="images/logo-louisiane-enf.gif">'+'</a>'+
'<br>'+
'<br>'+
'<a href="13.htm">'+'<img style="border: 0px solid ; width: 170px; height: 31px;" alt="" src="images/menu-13-nor.gif" srcover="images/menu-13-sur.gif" srcdown="images/menu-13-enf.gif">'+'</a>'+
'<br>'+
'<br>'+
'<br>'+
'<a href="http://pv.viewsurf.com/?id=231" target="_blank">'+'<img style="border: 0px solid ; width: 180px; height: 60px;" alt="" src="images/webcam.gif" srcover="images/webcam.gif" srcdown="images/webcam.gif"></a>'+
'<br>'+
'<br>'+
'<a href="http://www.irm-sa.fr/particuliers/vente-charte-confiance-mobile-home-irm.php" target="_blank">'+'<img style="border: 0px solid ; width: 141px; height: 83px;" alt="" src="images/charte-irm-nor.gif" srcover="images/charte-irm-sur.gif" srcdown="images/charte-irm-enf.gif"></a>'+
'<br>'
);}


function envoi() 
{
'if(document.infocom.04-1_Nom.value.length == 0){'+
'									 alert("Le nom est obligatoire ");'+
'									 return false;}'+
'else if(document.infocom.01-4_TYPE_de_SEJOUR.value.length == 0){'+
'									 alert("Le type de sejour est obligatoire ");	'+						 
'									 return false;}'+
'else if(document.infocom.04-5_Telephone.value.length == 0){'+
'									 alert("Le numéro de téléphone est obligatoire ");'+									 
'									 return false;}'+
'else if(document.infocom.04-6_Email.value.length == 0){'+
'									 alert("E-mail est obligatoire ");		'+							 
'									 return false;}'+
'else'+
'									 return true;			'					 										 
}  



function checkBlank(input,msg)
{  if (input.value == null || 
	input.value.length == 0) {    
		alert ("Il faut remplir les champs Nom, telephone et Email");    return false;  }  return true;}

function checkForm(form){  if (      !checkBlank(form.Nom) || !checkBlank(form.Telephone) || 	 !checkBlank(form.Email)) {    return false;  }  
form.submit();      
return true;}






function reservation()
{
document.write(
'<small style="font-family: Arial; color: #3d3e3f; font-weight: bold;">Date arrivée<br>'+
'<select size="1" name="jour_arrivee" style="font-size: 8pt;">'+
'                    <option>---</option>'+
'                    <option> 1</option>'+
'                    <option> 2</option>'+
'                    <option> 3</option>'+
'                    <option> 4</option>'+
'                    <option> 5</option>'+
'                    <option> 6</option>'+
'                    <option> 7</option>'+
'                    <option> 8</option>'+
'                    <option> 9</option>'+
'                    <option>10</option>'+
'                    <option>11</option>'+
'                    <option>12</option>'+
'                    <option>13</option>'+
'                    <option>14</option>'+
'                    <option>15</option>'+
'                    <option>16</option>'+
'                    <option>17</option>'+
'                    <option>18</option>'+
'                    <option>19</option>'+
'                    <option>20</option>'+
'                    <option>21</option>'+
'                    <option>22</option>'+
'                    <option>23</option>'+
'                    <option>24</option>'+
'                    <option>25</option>'+
'                    <option>26</option>'+
'                    <option>27</option>'+
'                    <option>28</option>'+
'                    <option>29</option>'+
'                    <option>30</option>'+
'                    <option>31</option>'+
'                    </select>'+
'                    <select size="1" name="mois_arrivee" style="font-size: 8pt;">'+
'                    <option>-------</option>'+
'                    <option>Avril</option>'+
'                    <option>Mai</option>'+
'                    <option>Juin</option>'+
'                    <option>Juillet</option>'+
'                    <option>Aout</option>'+
'                    <option>Septembre</option>'+
'                    <option>Octobre</option>'+
'                    </select>'+
'                    <br>'+
'Durée du séjour<br>'+
'                    <select size="1" name="Duree_du_Sejour" style="font-size: 8pt;">'+
'                    <option>----------</option>'+
'                    <option>1 semaine</option>'+
'                    <option>2 semaines</option>'+
'                    <option>3 semaines</option>'+
'                    <option>4 semaines</option>'+
'                    <option>5 semaines</option>'+
'                    <option>----------</option>'+
'                    <option>1 week-end</option>'+
'                    <option>----------</option>'+
'                    <option>1 nuit</option>'+
'                    <option>2 nuits</option>'+
'                    <option>3 nuits</option>'+
'                    <option>autres (préciser)</option>'+
'                    </select>'+
'                    <br>'+
'Type de réservation<br>'+
'                    <select size="1" name="TYPE_de_SEJOUR" style="font-size: 8pt;">'+
'                    <option>----------</option>'+
'                    <option>MOBIL-HOME</option>'+
'                    <option>EMPLACEMENT (avec electricite)</option>'+
'                    <option>EMPLACEMENT (sans electricite)</option>'+
'                    <option>CAMPING-CAR (avec electricite)</option>'+
'                    <option>CAMPING-CAR (sans electricite)</option>'+
'                    </select>'+
'                    <br>'+
'-------------------------- </small> <br>'+
'                    <table style="text-align: left; width: 181px; height: 60px;" border="0" cellpadding="0" cellspacing="0">'+
'                      <tbody>'+
'                        <tr>'+
'                          <td><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;">Adultes</small></td>'+
'                          <td><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;">Enfants</small></td>'+
'                        </tr>'+
'                        <tr>'+
'                          <td><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;"><input name="Nombre_Adultes" size="1" style="font-size: 8pt;" type="text"></small></td>'+
'                          <td><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;"><input name="Nombre_Enfants_-7ans" size="1" style="font-size: 8pt;" type="text"> &nbsp;</small><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;">'+
'                          </small><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;">'+
'                          <small>(-7ans)</small></small></td>'+
'                        </tr>'+
'                        <tr>'+
'                          <td><br>'+
'                          </td>'+
'                          <td><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;"><input name="Nombre_Enfants_+7ans" size="1" style="font-size: 8pt;" type="text"></small><span style="font-family: Arial;"><span style="font-weight: bold;"> &nbsp; </span></span><small style="font-family: Arial; color: #3d3e3f; font-weight: bold;"><small>(+7ans)'+
'                          </small></small></td>'+
'                        </tr>'+
'                      </tbody>'+
'                    </table>'+
'                    <br>'+
'                    <small style="font-family: Arial; color: #3d3e3f; font-weight: bold;">Animaux'+
'&nbsp;&nbsp;&nbsp; <input value="Oui" name="Animaux" type="radio"><font face="Verdana"><small>Oui</small></font> <input value="Non" checked="checked" name="Animaux" type="radio"><font face="Verdana"><small>Non</small></font><br>'+
'-------------------------- <br>'+
'Nom / Prénom <br style="font-family: Arial; font-size: 8pt; color: #3d3e3f;">'+
'                    <input NAME="Nom" size="25" style="font-size: 8pt;" type="text"><br>'+
'Adresse <br>'+
'                    <input name="Adresse" size="25" style="font-size: 8pt;" type="text"><br>'+
'Code Postal <br>'+
'                    <input name="Code_Postal" size="5" style="font-size: 8pt;" type="text"><br>'+
'Ville<br>'+
'                    <input name="Ville" size="25" style="font-size: 8pt;" type="text"><br>'+
'Téléphone <br>'+
'                    <input name="Telephone" size="15" style="font-size: 8pt;" type="text"><br>'+
'Adresse Email <br>'+
'                    <input name="Email" size="25" style="font-size: 8pt;" type="text"><br>'+
'-------------------------- <br>'+
'Votre Message <br>'+
'                    <textarea rows="4" cols="20" name="message" style="font-size: 8pt;"></textarea><br>'+
'-------------------------- <br>'+
'			<input type="button" value="Envoyer" onClick="checkForm(form)">'+
'			</form>'+
'                    <br>'+
'<br>'+
'<small style="font-family: Arial; color: #3d3e3f; font-weight: bold;"><I>  Camping équipé en </I>'+
'<img src="images/wifi.gif" class="magnify" data-magnifyby="2.4" style="width: 50px; height: 35px;" alt="">'
);}




