User Internet Speed Detection

Is there a way I can get information on how fast the person viewing my sites internet speed is, so that i can only run certain javascript, jquery, or ajax functions if there are at a certain speed? Ideally with one of the aforementioned languages rather than a server-side language.

Preface
This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…