Just to clear this up, only 0, null and "false" are false? all else is true?(eg 42 or "moo" would be true)
Is the text "null" a false? or only an empty string?

And to clarify the section of script in question was a section ripped from others and not my own to begin with.