CHECKING FOR FLASH REDIRECTING TO HTML IF REQUIRED