convert links to static assets to dynamic

http://manage.dimagi.com/default.asp?112464