/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
NavName = navigator.appName.substring(0,3);
NavVersion = navigator.appVersion.substring(0,1);
if (NavName != "Mic" || NavVersion>=4)
	{
	entree = new Date;
	entree = entree.getTime();
	sortIe();
	}
function sortIe()
	{
	if (NavName != "Mic" || NavVersion>=4)
		{
		sortie2 = new Date;
		sortie = sortie2.getTime();
		secondes = Math.floor((sortie-entree)/1000);

		return secondes
		}
	}

// JavaScript Source File -- Created with NetObjects ScriptBuilder
// Category:    Date and Time
// AUTHOR:      Maxim V. Kollegov, All Rights Reserved.
//              http://www.geocities.com/SiliconValley/Lakes/8620
//              Modified with permission by Joe Hage - Team ScriptBuilder
//              Feel free to reuse this code provided you include this
//              AUTHOR section in your pages.
// DESC:        Display a ticking countdown clock on your web page.
// Sample HTML: COUNTDOWN.HTML
// PLATFORMS:   Netscape Navigator 3.0 and higher,
//			    Microsoft Internet Explorer 3.02 and higher
// ======================================================================
//change your event date event here.
var eventdate = new Date("June 8, 2004 05:13:33");

function toSt(n) {
  s=""
  if(n<10) s+="0"
  return s+n.toString();
}
 
function countdown() {
  cl=document.clock;
  count=Math.floor( (eventdate.getTime()-now_server.getTime())/1000 - sortIe() );
  if(count<=0)
    {cl.days.value ="----";
     cl.hours.value="--";
     cl.mins.value="--";
     cl.secs.value="--";
     return;
   }
  cl.secs.value=toSt(count%60);
  count=Math.floor(count/60);
  cl.mins.value=toSt(count%60);
  count=Math.floor(count/60);
  cl.hours.value=toSt(count%24);
  count=Math.floor(count/24);
  cl.days.value=count;    
  
  setTimeout("countdown()",500);
}