var myTimer = false;
var xChain = false;

function initPhoto() {
}

function hideImage(id, id2) {
	
	$('tx_axtactors_listimg_' + id2 + '_' + id).set('tween', {duration: '150'});
	$('tx_axtactors_listimg_' + id2 + '_' + id).tween('opacity', '0');
	$('tx_axtactors_listele_' + id2 + '_' + id).className = '';
}

function showImage(id, id2) {
	var i = parseInt($('lastPhoto_' + id2).value);
	
//	$clear(periodical);

	// NEU:
//	$('tx_axtactors_listimg_' + id2 + '_' + i).setStyle('opacity',0); //; e.style.display = 'none';
//	$('tx_axtactors_listele_' + id2 + '_'  + i).className = '';

	$('tx_axtactors_listimg_' + id2 + '_' + id).set('tween', {duration: '80'});
	$('tx_axtactors_listimg_' + id2 + '_' + id).tween('opacity', '1');

	$('tx_axtactors_listele_' + id2 + '_' + id).className = 'active';

	$('lastPhoto_' + id2).value = id;
}

