+
+ if (!maxLengthExceeded)
+ {
+ return enclose ? "<html>" + ttext + "</html>" : ttext;
+ }
+
+ return (enclose ? "<html>" : "")
+ + "<style> p.ttip {width: 350; text-align: justify; word-wrap: break-word;}</style><p class=\"ttip\">"
+ + ttext + "</p>" + ((enclose ? "</html>" : ""));
+