Function HTMLENCODE (TEXT) {Return TEXT.REPLACE (/ & / g, '&'). Replace (/ '/ g,' "). Replace (/ <'). Replace (/> / g,'> ' );
}