// JavaScript Document
function flux(){
window.location.href = "rss.xml";
}
<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}

<!--
window.onload=montra;
function montra(id) {
var d2 = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('emenu'+i)) {document.getElementById('emenu'+i).style.display='none';}
	}
if (d2) {d2.style.display='block';}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//LOG-->
function log(){
var login=prompt("Veuillez introduire votre code d'accès");

document.Login.log.value = login;
        
document.Login.submit();
        return false;

}
//LISTE PROD POP UP__________________________________________________________________________________________________________
function listeprod(){

message2=window.open("POPUP/liste_produits.php?form=formulaire&elem=about","fenetre","toolbar=no,directories=no,scrollbars=yes,menubar=no,width=400,height=500,left=600,top=200")
}
//YOUTUBE________________________________________________________________
function youtubeAlima()
{
message3=window.open ("YT.html", "alimaYT", "height=400, width=500, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no")
}
//YOUTUBE________________________________________________________________
function youtubeCamera()
{
message3=window.open ("YT_camera_move.html", "cameraYT", "height=600, width=700, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no")
}
//YOUTUBE________________________________________________________________
function youtubeFanion()
{
message3=window.open ("YT_FanionTVpart01.html", "FanionYT", "height=400, width=500, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no")
}
//YOUTUBE________________________________________________________________
function youtubeFanion2()
{
message3=window.open ("YT_FanionTVpart02.html", "FanionYT", "height=400, width=500, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no")
}
//ACCES MICHELIN__________________________________________________________________________________________________________
function acces(){

michelin=window.open("http://www.viamichelin.fr/viamichelin/fra/dyn/controller/Itineraires?strStartLocid=34MTE1MWozcmMwMDMzNzcxMDUzdjFmZ2NOVEF1TmpJNE56VT1jTlM0NE9ESTFPQT09Y05UQXVOak15T0RZPWNOUzQ0T0RZM053PT1jTlRBdU5qSTROelU9Y05TNDRPREkxT0E9PTBlUnVlIGR1IFByb2dyw6hz&from=MAP","acces","toolbar=no,directories=no,scrollbars=yes,menubar=no,width=800,height=700,left=50,top=200")
}
//load time_______________________________
var speed=0;
var picsize=52520;//picture file size (bites)
var t0 = new Date();t0 = t0.getTime();
function loading_test() {
       var t1 = new Date(); t1 = t1.getTime();
       var ms = (t1-t0);
       speed=parseInt(1000*picsize/ms);
       }
function get_delay(zfile,zsize) {

        with (Math) {
        var time = (zsize/speed);
        var hh = floor(time/3600);
        var mm = floor((time%3600)/60);
        var ss = floor((time%3600)%60);
        if (ss<1) {ss=1;}
        alert(zfile.toUpperCase()+' ('+(zsize/1000)+' kb)'+'\ntemps de téléchargement estimé :'+'\n'+hh+' h: '+mm+' mn: '+ss+' sec');}
        }
