/*Barre de défilement*/
size=58;
x = 3*size;
place = 0;
texte = '  Bienvenue au Dr. Delphine Delvaux dans notre équipe médicale ! ';
texteDef = texte;
function defil()
	{
	texteDef = texteDef.substring(1,texteDef.length);
	while(texteDef.length < x)
		{
		texteDef += " - " + texte;
		}
	document.defil.defilbox.value = texteDef;
	tempo2 = setTimeout("defil()", 130)
	}
//texte barre d'état
function monscroll(longueur) 
{ 
 var letexte="  =(^..^)=   ~ Clinique vétérinaire ~   {^.|.^}  "; 
 var texte=" "; 
 var i,j; 

 for(i=0;i<letexte.length;i++) 
 { 
  if (texte.length<200) 
  { 
   for(j=0;j<longueur;j++) 
    texte+=" " 
   texte+=letexte.substring(i,i+1); 
  } 

 } 
 window.status=texte; 
 longueur--; 
 if (longueur==0) 
 { 
  longueur=50; 
  var cmd="monscroll("+longueur+")"; 
  timerTwo=window.setTimeout(cmd,5000); 
 } 
 else 
 { 
  var cmd="monscroll("+longueur+")"; 
  timerTwo=window.setTimeout(cmd,70); 
 } 
}	
/*curseur*/
var x,y
var step=20
var flag=0
var message='02.521.90.64 '
message=message.split("")
var xpos=new Array()
for (i=0;i<=message.length-1;i++) {
	xpos[i]=-50
}
var ypos=new Array()
for (i=0;i<=message.length-1;i++) {
	ypos[i]=-50
}
function handlerMM(e){
	x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
	y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
	flag=1
}
function makesnake() {
	if (flag==1 && document.all) {
    	for (i=message.length-1; i>=1; i--) {
   			xpos[i]=xpos[i-1]+step
			ypos[i]=ypos[i-1]
    	}
		xpos[0]=x+step
		ypos[0]=y

		for (i=0; i<message.length-1; i++) {
    		var thisspan = eval("span"+(i)+".style")
    		thisspan.posLeft=xpos[i]
			thisspan.posTop=ypos[i]
    	}
	}

	else if (flag==1 && document.layers) {
    	for (i=message.length-1; i>=1; i--) {
   			xpos[i]=xpos[i-1]+step
			ypos[i]=ypos[i-1]
    	}
		xpos[0]=x+step
		ypos[0]=y

		for (i=0; i<message.length-1; i++) {
    		var thisspan = eval("document.span"+i)
    		thisspan.left=xpos[i]
			thisspan.top=ypos[i]
    	}
	}
		var timer=setTimeout("makesnake()",30)
}
/*pour le curseur*/
for (i=0;i<=message.length-1;i++) {
    document.write("<span id='span"+i+"' class='spanstyle'>")
	document.write(message[i])
    document.write("</span>")
}

if (document.layers){
	document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
makesnake()

/*ouverture passeport2*/
function open1(){
	window.open('passeport2.html','nom','left=200, top=110, width=720, height=600 ');
}
/*ouverture page maukie*/
function open2(){
	window.open('maukie.html','nom','left=200, top=110, width=720, height=600 ');
}
/*ouverture page rendez-vous*/
function open3(){
	window.open('horaire2.html','nom','left=200, top=110, width=720, height=600 ');
}
/*ouverture page copy*/
function open4(){
	window.open('copy.html','nom','left=200, top=110, width=600, height=450 ');
}

/*ouverture page maukie de la page index*/
function open12(){
	window.open('pages/maukie.html','nom','left=200, top=110, width=720, height=600 ');
}
/*ouverture page copy de la page index*/
function open14(){
	window.open('pages/copy.html','nom','left=200, top=110, width=600, height=450 ');
}
/*ouverture page maukie de la page index*/
function open22(){
	window.open('../pages/maukie.html','nom','left=200, top=110, width=720, height=600 ');
}
/*ouverture page copy de la page index*/
function open24(){
	window.open('../pages/copy.html','nom','left=200, top=110, width=600, height=450 ');
}
//liens
function makeurl(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
/*pour noel il faut rajouter ceci*/

<!-- Script écrit par Altan. Visitez son site! -->
<!-- http://www.altan.hr/snow -->

<!-- Script utiliser à titre d'exemple -->
<!-- http://www.espace-webmaster.com -->

<!-- Begin
/*
var no = 15; // nombre de flocon
var speed = 9; // Vitesse ou tombe les flocons
var snowflake = "1.gif"; // Nom de votre image

var ns4up = (document.layers) ? 1 : 0; // Version de netscape
var ie4up = (document.all) ? 1 : 0; // Version d' Internet Exploreur
var dx, xp, yp; // Coordonnées de positionnement
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) { 
dx[i] = 0; // définition du coordonné
xp[i] = Math.random()*(doc_width-50); // définition de la position
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // définition de l'amplitude
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() { // définition de l'animation pour Netscape
for (i = 0; i < no; ++ i) { // de même pour chaque point
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();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // Définition de l'animation pour Internet Exploreur
for (i = 0; i < no; ++ i) { // de même pour chaque point
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();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
*/
// End -->


