Use sp_detach_db to detach the mdb file if still attached, then use sp_attach_single_file_db [ @dbname = ] 'dbname'
, [ @physname = ] 'physical_name' to reattach and it will build a new ldf. See SQL BOL for details.
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)