// detectamos javascript habilitado. Clase usada en la CSS segun la que usaremos unos u otros estilos
document.documentElement.className = 'js-enabled';

window.addEvent('domready', function(){
	// para navegadores chungos
	$$('li:first-child').addClass('first-child');
	$$('li:last-child').addClass('last-child');
	$$('.fotos li:nth-child(2n)').addClass('par');		
});


