el problema está en que se han creado unos espacios
  Cita:  if(contenedor.addEventListener) {
contenedor.addEventListener('mouseover', function() {
creaIntervalo(document.defaultView.getComputedStyl e(document.getElementById('capa2'), null).getPropertyValue('width'), document.defaultView.getComputedStyle(document.get ElementById('capa2'), null).getPropertyValue('height'), 0)},false);
 
contenedor.addEventListener('mouseout', function() {
creaIntervalo(document.defaultView.getComputedStyl e(document.getElementById('capa2'), null).getPropertyValue('width'), document.defaultView.getComputedStyle(document.get ElementById('capa2'), null).getPropertyValue('height'), 1)},false);
} else { ie8-
    necesitas una consola de errores, ya!! 
si persiste el problema, busca mas espacios que se hayan creado