	var msgTXT = new Array(
		'<center><b><font color="#ff0000"><A target="MAIN" HREF="http://refuge-chats.com/dons.php" >Faire&nbsp;un&nbsp;don</font></b><a href=\'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=10103421\'><input alt=\'PayPal - la solution de paiement en ligne la plus simple et la plus s&eacute;curis&eacute;e !\' name=\'submit\' src=\'https://www.paypal.com/fr_FR/FR/i/btn/btn_donateCC_LG.gif\' type=\'image\' /></a></center>',
		'<center>Adoptions tous<br><b><font color="#ff0000"> les samedis apr&eacute;s midi de 14h00 &agrave; 17h30 </font></b></center>',
		'<center><b><font color="#ff0000"> Aidez nous: devenez famille d&#39;accueil</font></b></center>',
		'<center><a href="http://www.secondechance.org" title="Adoption chien, chat, rongeur en refuges"><img src="http://www.secondechance.org/media/bannieres/secondechance_468x60.gif" border="0" alt="Adoption chien, chat et rongeur" width="460" height="55" /></a></center>',
		'<center>Nous recherchons d&acute;<b>urgence</b> des <b>b&eacute;n&eacute;voles.</b></center>'
	);
	var idmsg=0;
        var varalpha_all=0;
        var varalpha_moz=.0;
        var varalphastop=0;
        var varalphainit_all=90;
        var varalphainit_moz=.9;
	function nextMsg(){
	    Nom = navigator.appName;
		today = new Date()
                document.getElementById("msgDiv").innerHTML = "<font FACE=\"Comic Sans MS, cursive\" style=\"font-size:15pt;\">"+msgTXT[idmsg]+"</font>";
		nbrlines=msgTXT.length;
		if(idmsg<nbrlines-1){
			idmsg++;
		}else{idmsg=0;}
//		setTimeout("nextMsg()",3500);
		msg_disolve();
	}

        function msg_disolve(){
	    Nom = navigator.appName;
            if (Nom == 'Microsoft Internet Explorer') {
                document.getElementById('msgDiv').filters.alpha.opacity=varalpha_all;
                varalpha_all=varalpha_all+10;
                if(varalpha_all > varalphainit_all){varalphastop=1;}
            }
	    if (Nom == 'Netscape') {
                document.getElementById('msgDiv').style.MozOpacity=varalpha_moz;
                varalpha_moz=varalpha_moz+0.1;
                if(varalpha_moz > varalphainit_moz){varalphastop=1;}
            }
            if(varalphastop==0){
               setTimeout("msg_disolve()",100);
            }else{
	         varalpha_all=100;
	         varalpha_moz=1;
	         varalphastop=0;
	         varalphainit_all=10;
	         varalphainit_moz=.1;
		setTimeout("msg_udisolve()",1000);
	    }
        }

        function msg_udisolve(){
	    Nom = navigator.appName;
            if (Nom == 'Microsoft Internet Explorer') {
                document.getElementById('msgDiv').filters.alpha.opacity=varalpha_all;
                varalpha_all=varalpha_all-10;
                if(varalpha_all < varalphainit_all){varalphastop=1;}
            }

	    if (Nom == 'Netscape') {
                document.getElementById('msgDiv').style.MozOpacity=varalpha_moz;
                varalpha_moz=varalpha_moz-0.1;
                if(varalpha_moz < varalphainit_moz){varalphastop=1;}
            }
            if(varalphastop==0){
               setTimeout("msg_udisolve()",100);
            }else{
	         varalpha_all=0;
	         varalpha_moz=.0;
	         varalphastop=0;
	         varalphainit_all=90;
	         varalphainit_moz=.9;
		nextMsg();
	    }
        }
					

//****************************************//
setTimeout("nextMsg()",500);
