now working 100% correctly in firefox 21