﻿
function fFotoL(indT){
var strT ="" 
var i = 0
	if ( indT >= (fotoL.length-1) ){ indT = 1 }
	var strT='url(../public/info'+Pre+'/m/na'+ fotoL[ indT ] + '.jpg)'
	if ( indT != "0" ){ 
		if(navigator.appName.indexOf("Microsoft Internet Explorer")>=0){
			document.getElementById('FotoL').filters[0].apply();
			document.getElementById('FotoL').style.backgroundImage = strT;
			document.getElementById('FotoL').filters[0].play();	
		}
		else {	
			document.getElementById('FotoL').style.backgroundImage = strT;
		};
		setTimeout("fFotoL(" + ( indT + 1) + ")",5000);
	};
};

function fFotoR(indT){
var strT ="" 
var i = 0
	if ( indT >= (fotoR.length-1)){ indT = 1 }
	var strT='url(../public/info'+Pre+'/m/na'+ fotoR[ indT ] + '.jpg)'
	if ( indT != "0" ){ 
		if(navigator.appName.indexOf("Microsoft Internet Explorer")>=0){
			document.getElementById('FotoR').filters[0].apply();
			document.getElementById('FotoR').style.backgroundImage = strT;
			document.getElementById('FotoR').filters[0].play();	
		}
		else {	
			document.getElementById('FotoR').style.backgroundImage = strT;
		};
		setTimeout("fFotoR(" + ( indT + 1) + ")",5000);
	};
};

function fFotoP(indT){
var strT ="" 
var i = 0
	if ( indT >= (fotoP.length-1)){ indT = 1 }
	var strT='../public/info'+Pre+'/m/na'+ fotoP[ indT ] + '.jpg'
	if ( indT != "0" ){ 
		if(navigator.appName.indexOf("Microsoft Internet Explorer")>=0){
			document.getElementById('FotoP').filters[0].apply();
			document.getElementById('FotoP').src = strT;
			document.getElementById('FotoP').filters[0].play();	
		}
		else {	
			document.getElementById('FotoP').src = strT;
		};
		setTimeout("fFotoP(" + ( indT + 1) + ")",3000);
	};
};
