adated to IE and FF