
			var jour;
			var jour2;
			var periode;
			var dpt = 47;

			var carte = new Array();

			$(function()
			{
				$('#container-1 > ul').tabs({ fx: { height: 'toggle' } });

				$("#jour-0").fadeIn("slow");$("#jour-1").fadeIn("slow");$("#jour-2").fadeIn("slow");$("#jour-3").fadeIn("slow");				fadeout(dpt,0,1);

			});


			carte[33] = new Array();
carte[33][0] = new Array();
carte[33][0][1]="http://cartes.contenu-meteo.com/1895290838/33_j0_mat.png";
carte[33][0][2]="http://cartes.contenu-meteo.com/1895290838/33_j0_apm.png";
carte[33][0][3]="http://cartes.contenu-meteo.com/1895290838/33_j0_soir.png";
carte[33][1] = new Array();
carte[33][1][1]="http://cartes.contenu-meteo.com/1895290838/33_j1_mat.png";
carte[33][1][2]="http://cartes.contenu-meteo.com/1895290838/33_j1_apm.png";
carte[33][1][3]="http://cartes.contenu-meteo.com/1895290838/33_j1_soir.png";
carte[33][2] = new Array();
carte[33][2][1]="http://cartes.contenu-meteo.com/1895290838/33_j2_mat.png";
carte[33][2][2]="http://cartes.contenu-meteo.com/1895290838/33_j2_apm.png";
carte[33][2][3]="http://cartes.contenu-meteo.com/1895290838/33_j2_soir.png";
carte[33][3] = new Array();
carte[33][3][1]="http://cartes.contenu-meteo.com/1895290838/33_j3_mat.png";
carte[33][3][2]="http://cartes.contenu-meteo.com/1895290838/33_j3_apm.png";
carte[33][3][3]="http://cartes.contenu-meteo.com/1895290838/33_j3_soir.png";
carte[47] = new Array();
carte[47][0] = new Array();
carte[47][0][1]="http://cartes.contenu-meteo.com/1895290838/47_j0_mat.png";
carte[47][0][2]="http://cartes.contenu-meteo.com/1895290838/47_j0_apm.png";
carte[47][0][3]="http://cartes.contenu-meteo.com/1895290838/47_j0_soir.png";
carte[47][1] = new Array();
carte[47][1][1]="http://cartes.contenu-meteo.com/1895290838/47_j1_mat.png";
carte[47][1][2]="http://cartes.contenu-meteo.com/1895290838/47_j1_apm.png";
carte[47][1][3]="http://cartes.contenu-meteo.com/1895290838/47_j1_soir.png";
carte[47][2] = new Array();
carte[47][2][1]="http://cartes.contenu-meteo.com/1895290838/47_j2_mat.png";
carte[47][2][2]="http://cartes.contenu-meteo.com/1895290838/47_j2_apm.png";
carte[47][2][3]="http://cartes.contenu-meteo.com/1895290838/47_j2_soir.png";
carte[47][3] = new Array();
carte[47][3][1]="http://cartes.contenu-meteo.com/1895290838/47_j3_mat.png";
carte[47][3][2]="http://cartes.contenu-meteo.com/1895290838/47_j3_apm.png";
carte[47][3][3]="http://cartes.contenu-meteo.com/1895290838/47_j3_soir.png";

			<!--------------------------------------------- -->
			<!-- 	Début du code Javascript - Fonctions	-->
			<!--------------------------------------------- -->

			document.write("<style type='text/css' media='screen'>");
			document.write("@media projection, screen{.ui-tabs-hide {display: none;}}");
			document.write("@media print{.ui-tabs-nav {display: none;}}");
			document.write(".ui-tabs-nav, .ui-tabs-panel {font-family: Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif;font-size: 10px;}");
			document.write(".ui-tabs-nav {list-style: none;margin: 0; padding: 0 0 0 3px;}");
			document.write(".ui-tabs-nav:after {display: block;clear: both;content: '';}");
			document.write(".ui-tabs-nav li {float: left;margin: 0 0 0 2px;font-weight: bold;}");
			document.write(".ui-tabs-nav a, .ui-tabs-nav a span {float: left;padding: 0 5px;background: url("+dossier_image+"tabs.png) no-repeat;}");
			document.write(".ui-tabs-nav a { margin: 3px 0 0;padding-left: 0;background-position: 80% 0;text-decoration: none;white-space: nowrap;outline: 0;}");
			document.write(".ui-tabs-nav a:link, .ui-tabs-nav a:visited {color: "+couleur_date+";}");
			document.write(".ui-tabs-nav .ui-tabs-selected a {position: relative;top: 1px;z-index: 2;margin-top: 0;background-position: 100% -23px;}");
			document.write(".ui-tabs-nav a span {padding-top: 1px;padding-right: 0;height: 20px;background-position: 0 0;line-height: 20px;}");
			document.write(".ui-tabs-nav .ui-tabs-selected a span {padding-top: 0;height: 27px;background-position: 0 -23px;line-height: 27px;}");
			document.write(".ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {cursor: text;}");
			document.write(".ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active {cursor: pointer;}");
			document.write(".ui-tabs-disabled {opacity: .4;filter: alpha(opacity=40);}");
			document.write(".ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {color: #000;}");
			document.write(".ui-tabs-panel {border-top: 2px solid "+couleur_de_bordure+";border-left: 2px solid "+couleur_de_bordure+";border-right: 2px solid "+couleur_de_bordure+";padding: 5px;width : 325px;height : 375px;background: "+couleur_de_fond+";}");
			document.write("* html .ui-tabs-nav {display: inline-block;}");
			document.write("*:first-child+html .ui-tabs-nav  {display: inline-block;}");

			document.write(".menu_periode{font-family: Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif;font-size: 10px;margin-left: 3px;display: block;float: left;padding: 0 12px;background-color: #59AFEF;background-position: 100% 0;text-decoration: none;white-space: nowrap;outline: 0;color: "+couleur_periode_active+";}");
			document.write(".menu_periode:active{position: relative;top: 1px;z-index: 2; margin-top: 0; background-position: 100% -23px;}");
			document.write(".menu_periode:hover {color : #fff;background-color: #0089EF;}");
			document.write("#menu_jour_3{margin-top : 3px;height : 15px;width : 230px;text-align : center;padding-left :50px;float : left;}");
			document.write("#menu_jour_2{margin-top : 3px;height : 15px;width : 212px;text-align : center;padding-left :72px;float : left;}");
			document.write("#menu_jour_1{margin-top : 5px;height : 15px;width : 195px;text-align : center;padding-left :85px;float : left;}");
			document.write("#suivant{height : 20px;width : 20px;float : left;}");
			document.write("#precedent{height : 20px;width : 20px;float : left;}");
			document.write("#conteneur{border-bottom: 2px solid "+couleur_de_bordure+";border-left: 2px solid "+couleur_de_bordure+";border-right: 2px solid "+couleur_de_bordure+";padding: 5px;width : 325px;height : 25px;margin-bottom :5px;background: "+couleur_de_fond+";}");
			document.write("#liste_dpt{float:left;text-align : right;font-family: 'Trebuchet MS', Trebuchet, Verdana, Helvetica, Arial, sans-serif;font-size: 11px;color : #fff;}");
			document.write("#detail{float:left;text-align : right;font-family: 'Trebuchet MS', Trebuchet, Verdana, Helvetica, Arial, sans-serif;font-size: 11px;color : #fff;margin-top : 2px;margin-right : 20px;}");
			document.write("#pub{font-family: 'Trebuchet MS', Trebuchet, Verdana, Helvetica, Arial, sans-serif;font-size: 11px;color : #fff;text-align : right;float:right;margin-top : 3px;}");
			document.write("#pub a{font-family: 'Trebuchet MS', Trebuchet, Verdana, Helvetica, Arial, sans-serif;font-size: 11px;color : #fff;}");
			document.write("#module{width : 350px;}");

			document.write("</style>");


			function fadeout(dpt,jour,periode)
			{
				
					$("#jour-"+jour).fadeOut(1000);
					setTimeout("changer_carte('"+dpt+"','"+jour+"','"+periode+"');",1000);

							}

			function changer_carte(dpt,jour,periode)
			{
				jour2 = jour;
				periode2 = periode;
									$("#jour-"+jour).fadeIn(1000);
				

				<!-- alert("Dpt:"+dpt+" Periode :"+periode+" Jour:"+jour+" Jour2 :"+jour2); // -->
				if(periode == 1)
				{
					document.images["carte"+jour].src = carte[dpt][jour][periode];
					document.getElementById("menu-1-"+jour).style.backgroundColor=couleur_fond_periode_active;document.getElementById("menu-1-"+jour).style.color=couleur_periode_active;document.getElementById("menu-2-"+jour).style.backgroundColor=couleur_fond_periode_desactive;document.getElementById("menu-2-"+jour).style.color=couleur_periode_desactive;document.getElementById("menu-3-"+jour).style.backgroundColor=couleur_fond_periode_desactive;document.getElementById("menu-3-"+jour).style.color=couleur_periode_desactive;				}
				if(periode == 2)
				{
					document.images["carte"+jour].src = carte[dpt][jour][periode];
					document.getElementById("menu-1-"+jour).style.backgroundColor=couleur_fond_periode_desactive;document.getElementById("menu-1-"+jour).style.color=couleur_periode_desactive;document.getElementById("menu-2-"+jour).style.backgroundColor=couleur_fond_periode_active;document.getElementById("menu-2-"+jour).style.color=couleur_periode_active;document.getElementById("menu-3-"+jour).style.backgroundColor=couleur_fond_periode_desactive;document.getElementById("menu-3-"+jour).style.color=couleur_periode_desactive;				}
				if(periode == 3)
				{
					document.images["carte"+jour].src = carte[dpt][jour][periode];
					document.getElementById("menu-1-"+jour).style.backgroundColor=couleur_fond_periode_desactive;document.getElementById("menu-1-"+jour).style.color=couleur_periode_desactive;document.getElementById("menu-2-"+jour).style.backgroundColor=couleur_fond_periode_desactive;document.getElementById("menu-2-"+jour).style.color=couleur_periode_desactive;document.getElementById("menu-3-"+jour).style.backgroundColor=couleur_fond_periode_active;document.getElementById("menu-3-"+jour).style.color=couleur_periode_active;				}

			}

			function changer_dpt (jour,periode)
			{
				dpt=window.document.getElementById('liste').value;
				$("#jour-"+jour).fadeOut(1000,function(){changer_carte(dpt,jour,periode);});
			}

			function changer_jour (jour)
			{
				$('#container-1 > ul').tabs('select', jour);
			     changer_carte(dpt,jour,1);
			}





			document.write('<div id="module">');document.write('<div id="container-1">');document.write('<ul>');document.write('<li><a href="#fragment-0" onclick="changer_carte(dpt,0,1);"><span>Mardi 07</span></a></li>');document.write('<li><a href="#fragment-1" onclick="changer_carte(dpt,1,1);"><span>Mercredi 08</span></a></li>');document.write('<li><a href="#fragment-2" onclick="changer_carte(dpt,2,1);"><span>Jeudi 09</span></a></li>');document.write('<li><a href="#fragment-3" onclick="changer_carte(dpt,3,1);"><span>Vendredi 10</span></a></li>');document.write('</ul>');document.write('<div id="fragment-0">');document.write('<div id="container-0">');document.write('<div id="jour-0" style="display: none;"><img src="'+carte[dpt][0][3]+'" name="carte0"></div>');document.write('<div id="pub-0" style="display: none;"><a href="http://www.previmeteo.com" target="_blank"><img src="http://cartes.contenu-meteo.com/pub.png" name="pub-0" border="0"></a></div>');document.write('<div id="precedent">');document.write('</div>');document.write('<div id="menu_jour_3">');document.write('<a href="#jour-0" onclick="fadeout(dpt,0,1)" id="menu-1-0" class="menu_periode">Matin</a>');document.write('<a href="#jour-0" onclick="fadeout(dpt,0,2)" id="menu-2-0" class="menu_periode">Apr&egrave;s-Midi</a>');document.write('<a href="#jour-0" onclick="fadeout(dpt,0,3)" id="menu-3-0" class="menu_periode">Soir</a>');document.write('</div>');document.write('<div id="suivant">');document.write('<a href="#fragment-1" onclick="changer_jour(1);"><img src="'+dossier_image+'suivant.png" border="0" alt="Jour Suivant" title="Jour Suivant" width="21" height="20" /></a>');document.write('</div>');document.write('</div>');document.write('</div>');document.write('<div id="fragment-1">');document.write('<div id="container-1">');document.write('<div id="jour-1" style="display: none;"><img src="'+carte[dpt][1][3]+'" name="carte1"></div>');document.write('<div id="pub-1" style="display: none;"><a href="http://www.previmeteo.com" target="_blank"><img src="http://cartes.contenu-meteo.com/pub.png" name="pub-1" border="0"></a></div>');document.write('<div id="precedent">');document.write('<a title="Jour precedent" href="#fragment-1" onclick="changer_jour(0);"><img src="'+dossier_image+'precedent.png" border="0" alt="Jour pr&eautes;c&eacute;dent" title="Jour precedent" width="21" height="20" /></a>');document.write('</div>');document.write('<div id="menu_jour_3">');document.write('<a href="#jour-1" onclick="fadeout(dpt,1,1)" id="menu-1-1" class="menu_periode">Matin</a>');document.write('<a href="#jour-1" onclick="fadeout(dpt,1,2)" id="menu-2-1" class="menu_periode">Apr&egrave;s-Midi</a>');document.write('<a href="#jour-1" onclick="fadeout(dpt,1,3)" id="menu-3-1" class="menu_periode">Soir</a>');document.write('</div>');document.write('<div id="suivant">');document.write('<a href="#fragment-1" onclick="changer_jour(2);"><img src="'+dossier_image+'suivant.png" border="0" alt="Jour Suivant" title="Jour Suivant" width="21" height="20" /></a>');document.write('</div>');document.write('</div>');document.write('</div>');document.write('<div id="fragment-2">');document.write('<div id="container-2">');document.write('<div id="jour-2" style="display: none;"><img src="'+carte[dpt][2][3]+'" name="carte2"></div>');document.write('<div id="pub-2" style="display: none;"><a href="http://www.previmeteo.com" target="_blank"><img src="http://cartes.contenu-meteo.com/pub.png" name="pub-2" border="0"></a></div>');document.write('<div id="precedent">');document.write('<a title="Jour precedent" href="#fragment-1" onclick="changer_jour(1);"><img src="'+dossier_image+'precedent.png" border="0" alt="Jour pr&eautes;c&eacute;dent" title="Jour precedent" width="21" height="20" /></a>');document.write('</div>');document.write('<div id="menu_jour_3">');document.write('<a href="#jour-2" onclick="fadeout(dpt,2,1)" id="menu-1-2" class="menu_periode">Matin</a>');document.write('<a href="#jour-2" onclick="fadeout(dpt,2,2)" id="menu-2-2" class="menu_periode">Apr&egrave;s-Midi</a>');document.write('<a href="#jour-2" onclick="fadeout(dpt,2,3)" id="menu-3-2" class="menu_periode">Soir</a>');document.write('</div>');document.write('<div id="suivant">');document.write('<a href="#fragment-1" onclick="changer_jour(3);"><img src="'+dossier_image+'suivant.png" border="0" alt="Jour Suivant" title="Jour Suivant" width="21" height="20" /></a>');document.write('</div>');document.write('</div>');document.write('</div>');document.write('<div id="fragment-3">');document.write('<div id="container-3">');document.write('<div id="jour-3" style="display: none;"><img src="'+carte[dpt][3][3]+'" name="carte3"></div>');document.write('<div id="pub-3" style="display: none;"><a href="http://www.previmeteo.com" target="_blank"><img src="http://cartes.contenu-meteo.com/pub.png" name="pub-3" border="0"></a></div>');document.write('<div id="precedent">');document.write('<a title="Jour precedent" href="#fragment-1" onclick="changer_jour(2);"><img src="'+dossier_image+'precedent.png" border="0" alt="Jour pr&eautes;c&eacute;dent" title="Jour precedent" width="21" height="20" /></a>');document.write('</div>');document.write('<div id="menu_jour_3">');document.write('<a href="#jour-3" onclick="fadeout(dpt,3,1)" id="menu-1-3" class="menu_periode">Matin</a>');document.write('<a href="#jour-3" onclick="fadeout(dpt,3,2)" id="menu-2-3" class="menu_periode">Apr&egrave;s-Midi</a>');document.write('<a href="#jour-3" onclick="fadeout(dpt,3,3)" id="menu-3-3" class="menu_periode">Soir</a>');document.write('</div>');document.write('</div>');document.write('</div>');document.write('</div>');document.write('<div id="conteneur">');document.write('<div id="liste_dpt"><select id="liste" onChange="changer_dpt(jour2,periode2);"><option value="33">33 Gironde</option><option value="47" selected="selected">47 Lot-et-Garonne</option></select></div>');document.write('<div id="pub">Source : <a href="http://www.previmeteo.com" target="_blank" title="Previsions Meteo en France et en Europe">Previmeteo.com</a></div>');document.write('</div>');document.write('</div>');