Chrome version

this version works well on chrome and IE, but not on safari. It skips multiple frames on safari