// JavaScript Document diaporama.js

// ajout url aux favoris

function addFav()
{
	if (document.all)
	{
		window.external.AddFavorite(location.href, document.title);
	}
	else
	{
		alert('Maintenez CTRL + D pour ajouter cette page à vos favoris.')
	}
}

function ap(text)
	{ // diaporama
		slidebutton.value=(text == "Stop") ? "Diaporama" : "Stop";
		rotate();
	}

// DEFILEMENT MESSAGE

function defilement() 
{ 

window.status = texte.substring(compteur++, 
texte.length); 
if (compteur == texte.length) 
compteur = 0; 
setTimeout("defilement()", delai); 
} 

function popup(page, titre) {window.open(page, titre, 'resizable=no, top= 200, left=300, location=no, width=500, height=450, menubar=no, status=no, scrollbars=no, menubar=no');}






