I think this depends on what kind of job you have.
I worked at a company that had Friday afternoon beer bashes and it was not the greatest - actually pretending you enjoy socializing on the job is tough.
If you have a job like janitor, you might be able to get away with a good deal of on-the-job drinking.