function changeImages(id,imagenes,sufijo,next){
	var img = Array();
	img = imagenes.split(",");
	if(next>=img.length){
		next =1;
	}
	if(next>0){
		$(id).src = '/images/media/' + img[next] + sufijo + '.jpg';
	}
	next = parseInt(next) +1;
	if(img.length>1){
		setTimeout("changeImages('" + id + "','" + imagenes + "','" + sufijo + "','" + next + "');", 5000);
	}
}

function tratarError(){ 
   return true; 
} 
//window.onerror = tratarError;