{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf270
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural

\f0\fs24 \cf0 \
\
/******************************************\
* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)\
* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code\
* Traduction fran\'e7aise par Prof TNJ\
******************************************/\
\
// Indiquer l'URL de l'image du flocon :\
var urlflocon="http://www.remorques-online.com/catalog/images/flocon.gif"\
// Ecrire le nombre de flocons :\
var nombreflocons = 10;\
// Indiquer si la neige doit dispara\'eetre apr\'e8s x secondes (0=jamais) :\
var cacherflocons = 0;\
// Indiquer si la neige doit \'eatre vue sur la fen\'eatre ou toute la page avant de dispara\'eetre ("windowheight"=la fen\'eatre, "pageheight"=toute la page)\
var voirflocons = "pageheight";\
\
/////////// FIN DE LA PARTIE CONFIGURATION //////////////////////////////////\
\
var ie4up = (document.all) ? 1 : 0;\
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;\
\
function testIEcompatible()\{\
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body\
\}\
\
var dx, xp, yp; // Variables de coordonn\'e9es et de position\
var am, stx, sty; // Variables d'amplitude\
var i, doc_width = 1024, doc_height = 768; // Taille de l'\'e9cran\
\
if (ns6up) \{\
doc_width = self.innerWidth;\
doc_height = self.innerHeight;\
\} else if (ie4up) \{\
doc_width = testIEcompatible().clientWidth;\
doc_height = testIEcompatible().clientHeight;\
\}\
\
dx = new Array();\
xp = new Array();\
yp = new Array();\
am = new Array();\
stx = new Array();\
sty = new Array();\
\
for (i = 0; i < nombreflocons; ++ i) \{\
dx[i] = 0; // Variables de coordonn\'e9es\
xp[i] = Math.random()*(doc_width-50); // Variables de position\
yp[i] = Math.random()*doc_height;\
am[i] = Math.random()*20; // Variables d'amplitude\
stx[i] = 0.02 + Math.random()/10; // Variables de pas\
sty[i] = 0.7 + Math.random(); // Variables de pas\
if (ie4up||ns6up) \{\
if (i == 0) \{\
document.write("<div id=\\"dot"+ i +"\\" style=\\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\\"><img src='"+urlflocon+"' border=\\"0\\"><\\/div>");\
\} else \{\
document.write("<div id=\\"dot"+ i +"\\" style=\\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\\"><img src='"+urlflocon+"' border=\\"0\\"><\\/div>");\
\}\
\}\
\}\
\
function neigeIE_NS6() \{ // IE et NS6 : fonctions principales d'animation\
doc_width = ns6up?window.innerWidth-10 : testIEcompatible().clientWidth-10;\
doc_height=(window.innerHeight && voirflocons=="windowheight")? window.innerHeight : (ie4up && voirflocons=="windowheight")? testIEcompatible().clientHeight : (ie4up && !window.opera && voirflocons=="pageheight")? testIEcompatible().scrollHeight : testIEcompatible().offsetHeight;\
for (i = 0; i < nombreflocons; ++ i) \{ // d\'e9placement pour chaque point ("dot")\
yp[i] += sty[i];\
if (yp[i] > doc_height-50) \{\
xp[i] = Math.random()*(doc_width-am[i]-30);\
yp[i] = 0;\
stx[i] = 0.02 + Math.random()/10;\
sty[i] = 0.7 + Math.random();\
\}\
dx[i] += stx[i];\
document.getElementById("dot"+i).style.top=yp[i]+"px";\
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";\
\}\
snowtimer=setTimeout("neigeIE_NS6()", 10);\
\}\
\
function cacherneige()\{\
if (window.snowtimer) clearTimeout(snowtimer)\
for (i=0; i<nombreflocons; i++) document.getElementById("dot"+i).style.visibility="hidden"\
\}\
\
if (ie4up||ns6up)\{\
neigeIE_NS6();\
if (cacherflocons>0)\
setTimeout("cacherneige()", cacherflocons*1000)\
\}\
\
}