<!--
function verScroll(dir, spd, loop) {
   loop 		= true;
   direction 	= "up";
   speed 		= 5;
   scrolltimer 	= null;

   if (document.layers) {
	var page = eval(document.elementTexte);
   } else {
	if (document.getElementById) {
		var page= eval("document.getElementById('elementTexte').style");
	} else {
		if (document.all) {
			var page = eval(document.all.elementTexte.style);
      		}
     	}
   }
   
   direction 	= dir;
   speed 	= parseInt(spd);
   var y_pos 	= parseInt(page.top);

   if (loop == true) {
 	if (direction == "dn") {
  		page.top = (y_pos - (speed));
  	} else {   
  		if (direction == "up" && y_pos < speed) {
 			page.top = (y_pos + (speed)); 
  		} else {
   			if (direction == "top") {
   				page.top = speed;
   			}
  		}
	}
   scrolltimer = setTimeout("verScroll(direction,speed)", 1);
   }
}

function stopScroll() {
   loop = false;
   window.montimer = scrolltimer
	if (window.montimer) {
		clearTimeout(scrolltimer);
	} else {
		scrolltimer 	= null;
		clearTimeout(scrolltimer);
	}
}

// Open the windows
function twPopupImage(img, titre) {
  oFenetre = window.open('','Image','width=400,height=400,toolbar=no,scrollbars=yes,resizable=yes');
  oFenetre.document.write("<html><head>");
  oFenetre.document.write("<title>"+titre+"</title>");
  oFenetre.document.write("<style type=\"text/css\">");
  oFenetre.document.write("a {");
  oFenetre.document.write("font-family: Verdana, Arial, Helvetica, sans-serif;");
  oFenetre.document.write("font-size : 12px;");
  oFenetre.document.write("font-weight : bold;");
  oFenetre.document.write("color : #335B97;");
  oFenetre.document.write("text-decoration : underline;");
  oFenetre.document.write("</style>");
  oFenetre.document.write("</head>");
  oFenetre.document.write("<script type=\"text/javascript\">function twAjustePopUp() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+100,document.images[0].height+100); window.focus();} else { setTimeout('twAjustePopUp()',1000) } }</"+"script>");
  oFenetre.document.write("<script type=\"text/javascript\">function Droit(e)  { if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) { alert('COPYRIGHT PROTECTED'); return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert('COPYRIGHT PROTECTED'); return false; } return true; }");
  oFenetre.document.write("document.onmousedown=Droit;");
  oFenetre.document.write("document.onmouseup=Droit;");
  oFenetre.document.write("if (document.layers) window.captureEvents(Event.MOUSEDOWN);");
  oFenetre.document.write("if (document.layers) window.captureEvents(Event.MOUSEUP);");
  oFenetre.document.write("window.onmousedown=Droit;");
  oFenetre.document.write("window.onmouseup=Droit;");
  oFenetre.document.write("</"+"script>");
  oFenetre.document.write("<body onload='twAjustePopUp()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
  oFenetre.document.write("<table width='100%' border='1' cellspacing='0' cellpadding='0' height='100%'><tr><td valign='middle' align='center'>");
  oFenetre.document.write("<a href=\"javascript:window.close();\"><img src='"+img+"' border='0' alt='' title=''></a>");
  oFenetre.document.write("</td></tr></table></body></html>");
  oFenetre.document.close();
}

-->