function openWin(theUrl,title,params)
{
 window.open(theUrl,title,params);
}

function scrollup(){
	for (I=2; I>=1; I--){
		self.scroll(1,I)
	}
}

function tot_comp() {
document.entryform.nb_tot_comp.value = eval(document.entryform.nb_m_comp.value) + eval(document.entryform.nb_w_comp.value);
}

function tot_offic() {
document.entryform.nb_tot_offic.value = eval(document.entryform.nb_m_offic.value) + eval(document.entryform.nb_w_offic.value);
}


function cntdown1(){
today = new Date()

nextEVENT = new Date("May  20, 2002")


msPerDay = 24 * 60 * 60 * 1000 ; // Рассчет миллисекунд
daysLeft = (nextEVENT.getTime() - today.getTime()) / msPerDay;
daysLeft = Math.round(daysLeft);

document.write("<a href=\"/wcup2002/eng/entry/\"><FONT class=\"text-warning\">" + daysLeft + " days left for sending the forms.</font></a>") ;


}

function cntdown1fr(){
today = new Date()

nextEVENT = new Date("May  20, 2002")

msPerDay = 24 * 60 * 60 * 1000 ; // Рассчет миллисекунд
daysLeft = (nextEVENT.getTime() - today.getTime()) / msPerDay;
daysLeft = Math.round(daysLeft);

document.write("<a href=\"/wcup2002/eng/entry/\"><FONT class=\"text-warning\"> Il reste " + daysLeft + " jours pour l'inscription.</font></a>") ;


}

