	var myfont_face4 = "Arial";
	var myfont_size4 = "10";
	var myfont_color4 = "#6390A7";
	var myback_color4 = "#FFFFFF";
	var mywidth4 = 65;
	var my12_hour4 = 1;

	var dn4 = ""; var old4 = "";

	if (document.all||document.getElementById) { document.write('<span id="LiveClockIE4" style="width:'+mywidth4+'px; background-color:'+myback_color4+'"></span>'); }
	else if (document.layers) { document.write('<ilayer bgColor="'+myback_color4+'" id="ClockPosNS4"><layer width="'+mywidth4+'" id="LiveClockNS4"></layer></ilayer>'); }
	else { old4 = "true"; show_clock4(); }

	function show_clock4() {
		//show clock in NS 4
		if (document.layers)
                document.ClockPosNS4.visibility="show"
		if (old4 == "die") { return; }

		var Digital4 = new Date();
		var hours4 = Digital4.getUTCHours() +8;
		var minutes4 = Digital4.getUTCMinutes();
		var seconds4 = Digital4.getUTCSeconds();
		var jours4 = '0' + Digital4.getUTCDate();		
		jours4 = jours4.substr(jours4.length -2, 2);
		var mois4 = '0' + (Digital4.getUTCMonth() + 1);
		mois4 = mois4.substr(mois4.length -2, 2);		
		var annees4 = Digital4.getUTCFullYear();
		var ladate4 = annees4+mois4+jours4;
		
		/* heure d'ete */
		var bModif4 = false;
		if (ladate4 < '20021027') {
			hours4 = hours4;
		}
		if (ladate4 == '20021027' && hours4 < 3) {
			bModif4 = true;
			hours4 = hours4;
		}
		/* heure d'hiver */
		if ((ladate4 >= '20021027') && (ladate4 < '20030330') && !bModif4) {
				hours4 = hours4 - 1;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20030330' && hours4 < 2) {
				bModif4 = true;
				hours4 = hours4 - 1;
		}
		
		/* heure d'ete */
		if ((ladate4 >= '20030330') && (ladate4 < '20031026') && !bModif4) {
				hours4 = hours4;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20031026' && hours4 < 3) {
				bModif4 = true;
				hours4 = hours4 ;
		}
		/* heure d'hiver */
		if ((ladate4 >= '20031026') && (ladate4 < '20040328') && !bModif4) {
				hours4 = hours4 - 1;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20040328' && hours4 < 2) {
				bModif4 = true;
				hours4 = hours4 - 1;
		}	
		/* heure d'ete */
		if ((ladate4 >= '20040328') && (ladate4 < '20041031') && !bModif4) {
				hours4 = hours4;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20041031' && hours4 < 3) {
				bModif4 = true;
				hours4 = hours4 ;
		}
		/* heure d'hiver */
		if ((ladate4 >= '20041031') && (ladate4 < '20050327') && !bModif4) {
				hours4 = hours4 - 1;
		} 
		
		bModif4 = false;
		
		if (ladate4 == '20050327' && hours4 < 2) {
				bModif4 = true;
				hours4 = hours4 - 1;
		}
		/* heure d'ete */
		if ((ladate4 >= '20050327') && (ladate4 < '20041031') && !bModif4) {
				hours4 = hours4;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20041031' && hours4 < 3) {
				bModif4 = true;
				hours4 = hours4 ;
		}	
		
			
		/* heure d'ete 2005 */
		if ((ladate4 >= '20051031') && (ladate4 < '20060327') && !bModif4) {
				hours4 = hours4 - 1;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20060327' && hours4 < 3) {
				bModif4 = true;
				hours4 = hours4 ;
		}
		
		
		/* heure d'ete 2006 */
		if ((ladate4 >= '20060328') && (ladate4 < '20061031') && !bModif4) {
				hours4 = hours4;
		}
		
		bModif4 = false;
		
		if (ladate4 == '20061031' && hours4 < 3) {
				bModif4 = true;
				hours4 = hours4 ;
		}
		/* heure d'hiver 2007 */
		if ((ladate4 >= '20061031') && (ladate4 < '20070327') && !bModif4) {
				hours4 = hours4 - 1;
		} 
		
		bModif4 = false;
		
		if (ladate4 == '20070327' && hours4 < 2) {
				bModif4 = true;
				hours4 = hours4 - 1;
		}
		
		if (my12_hour4) {
			dn4 = "am";
			if (hours4 == 12) {dn4 = "pm"; }
			if (hours4 == 0) { hours4 = 12; }
			if (hours4 == 24) { hours4 = 0; }
			if (hours4 > 12) { dn4 = "pm"; hours4 = hours4 - 12; }
		} else {
			dn4 = "";
		}
		if (minutes4 <= 9) { minutes4 = "0"+minutes4; }
		if (seconds4 <= 9) { seconds4 = "0"+seconds4; }

		myclock4 = '';
		myclock4 += '<font color="'+myfont_color4+'" face="'+myfont_face4+'" size="0">' + hours4+':'+minutes4+':'+seconds4+'&nbsp;'+dn4;
		myclock4 += '</font>';
		
		if (old4 == "true") {		
			document.write(myclock4);
			old4 = "die"; return;	
		}
		
		if (document.layers) {
			clockpos4 = document.ClockPosNS4;
			liveclock4 = clockpos4.document.LiveClockNS4;
			liveclock4.document.write(myclock4);
			liveclock4.document.close();
		} else if (document.all) {
			LiveClockIE4.innerHTML = myclock4;
		} else if (document.getElementById) {
			document.getElementById("LiveClockIE4").innerHTML = myclock4;
		}

		setTimeout("show_clock4()",1000);
}

