var adjust=0;var zone=" London(GMT)";gmtOffset=360;var LD=-120;function checkParis(){clearTimeout(checkDateTime);gmtOffset=LD+adjust;zone=" London(GMT)";checkDateTime()}function checkDateTime(){adjust=0;var today=new Date();var year=today.getFullYear();var month=today.getMonth()+1;var date=today.getDate();var day=today.getDay();var hour=today.getHours();var minute=today.getMinutes();var second=today.getSeconds();var lastSat;lastSat=date-(day+1);while(lastSat<32){lastSat+=7}if(lastSat>31){lastSat+=-7}var firstSat;firstSat=date-(day+1);while(firstSat>0){firstSat+=-7}if(firstSat<1){firstSat+=7}if((((month==4)&&(date>=firstSat))||month>4)&&(month<11||((month==10)&&day<=lastSat))){adjust+=60}yourOffset=(new Date()).getTimezoneOffset();yourOffset=yourOffset+adjust;ourDifference=eval(gmtOffset-yourOffset);var half=eval(ourDifference%60);ourDifference=Math.round(ourDifference/60);hour=eval(hour-ourDifference);var m=new Array("mm","Jan.","Feb.","Mar.","Avr.","Mai","Juin","Jul.","Aout","Sept.","Oct.","Nov.","Dec.");var leap=eval(year%4);if((half==-30)||(half==30)){minute+=30}if(minute>59){minute-=60,hour++}if(minute<0){minute+=60,hour--}if(hour>23){hour-=24,date+=1}if(((month==4)||(month==6)||(month==9)||(month==11))&&(date==31)){date=1,month+=1}if(((month==2)&&(date>28))&&(leap!=0)){date=1,month+=1}if((month==2)&&(date>29)){date=1,month+=1}if(hour<0){hour+=24,date-=1}if((date==32)&&(month==12)){month=m[1],date=1,year+=1}if(date==32){date=1,month+=1}if((date<1)&&(month==1)){month=m[12],date=31,year-=1}if(date<1){date=31,month-=1}if(((month==4)||(month==6)||(month==9)||(month==11))&&(date==31)){date=30}if((month==2)&&(date>28)){date=29}if(((month==2)&&(date>28))&&(leap!=0)){date=28}for(i=1;i<13;i++){if(month==i){month=m[i];break}}var dateTime=hour;dateTime=((dateTime<10)?"0":"")+dateTime;dateTime=" "+dateTime;dateTime+=((minute<10)?":0":":")+minute;dateTime+=((second<10)?":0":":")+second;dateTime+=" - "+date+" "+month+" "+year;document.getElementById("time").innerHTML=dateTime;setTimeout("checkDateTime()",900)};
