All I want is the functionality of the browser detection code for an example page, to key off of, to choose if I should run code block {A} or {B}. Is it considered good form to use something like this?
var my_ua = new _UserAgent(); I ask, because the underscore at the beginning usually indicates something is intended to be private or something, and since there's no real encapsulation enforcement in JavaScript, it'd technically let me do it wether it was intended by design or not. :) Leif ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/