Try DanBrowns solution. If this doesn't work, please post something we can compile.