Try something like:

onMouseover="window.status='Delete Directory [$dir]';return true"

I'm not quite sure what you mean by [$dir], however.