In most cases, you want to include scripts at the bottom of the body section. The main reason is to ensure that the page (and therefore the DOM) is fully loaded before any javascript is executed on it.
In addition, since loading scripts prevents the browser from loading anything else at the same time, the page will load faster if the page elements are loaded before the script. However, unless you are a huge website that receives a lot of traffic, such as Yahoo or Google, you probably don't need to consider this.
Matthew jones
source share