No, not all links are weighted the same. Search engines like Google value links on a given page differently. Apart from the context of the website that is linked from, the quality and authority of the link is generally determined by the number of links on the page that is linked from.