converts string to boolean and returns true|false (useful for XML)
var t = window.dhx.s2b("yes"); // returns true