Fixed the problem with firefox. I still need to test internet explorer and safari.