base id on element id not time. set name attribute for firefox and i.e. flash implementation.