[CSS] background replacement problems

So, I was using a background replacement script in CSS and It was working, fine and dandy for a while. It did it all right, until now. I finally figured out how to use height: 100% and it’s pretty freakin sweet, cept now this happens:

Any ideas why?

The CSS, HTML, and picture is attached, as well as the javascript script.