var Tempo=3000;
var imagajouer=0;
function PlayGif(){
	var StyleIEfade=false;
	if(document.all && document.getElementById && !window.opera){	
		document['gifanime_src'].style.filter="progid:DXImageTransform.Microsoft.Fade(Overlap=1.00);";
		StyleIEfade=true;
	}

	if(StyleIEfade) {
		try{
			document['gifanime_src'].filters[0].apply();
			
		}
		catch (e) {
			status = "";
		}
	}
	//FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00)
		if(imagajouer<tabImg.length){
			if(tabImg[imagajouer].complete){
				document['gifanime_src'].src=tabImg[imagajouer].src;
				if(StyleIEfade) {
					try{
						document['gifanime_src'].filters[0].play();
						
					}
					catch (e) {
						status = "";
					}
				}
				imagajouer++;
				setTimeout("PlayGif()", Tempo);
			}else{
				setTimeout("PlayGif()", 10);
			}
		}else{
		imagajouer=1;
		document['gifanime_src'].src=tabImg[0].src;
		if(StyleIEfade) {
			try{
				document['gifanime_src'].filters[0].play();
				
			}
			catch (e) {
				status = "";
			}
		}
		setTimeout("PlayGif()", Tempo);
}}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	if(init==true) with (navigator)
	{ if((appName=="Netscape")&&(parseInt(appVersion)==4))
	  { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }
	}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
	  location.reload();
}

MM_reloadPage(true);

