    Corbiz.prototype.txt2gfx = function(className,font,size,color,bgcolor,hlcolor, hlbgcolor ) {

        this.txt2gfximages = {};

        font = font === undefined ? "Times" : font;
        size = size === undefined ? 12 : size;
        color = color === undefined ? "000000" : color;
        bgcolor = bgcolor === undefined ? "ffffff" : bgcolor;

        hlcolor = hlcolor === undefined ? false : hlcolor;
        hlbgcolor = hlcolor == false ? false : ( hlbgcolor === undefined ? bgcolor : hlbgcolor );

        this.addEventHandler(window, 'load', function() {
            var elements = document.getElementsByTagName('*');
            for ( var c = 0; c < elements.length; c++ ) {
                if ( this.isClass(elements[c],className) ) {
                    var str = this.base64_encode(this.utf8_encode(elements[c].innerHTML));
                    var url =   'http://cloud.corbiz.dk/txt2gfx/txt2gfx.php?' +
                                'font=' + font + '&' +
                                'string=' + str + '&' +
                                'color=' + color + '&' +
                                'bgcolor=' + bgcolor + '&' +
                                'size=' + size;
                    this.txt2gfximages[str+color] = new Image();
                    this.txt2gfximages[str+color].src = url;
                    elements[c].innerHTML = '&nbsp;';
                    elements[c].style.backgroundRepeat = 'no-repeat';
                    elements[c].style.backgroundImage = 'url(' + this.txt2gfximages[str+color].src + ')';

                    elements[c].style.position = "relative";

                    this.txt2gfximages[str+color].style.position = "absolute";
                    this.txt2gfximages[str+color].style.top = elements[c].offsetTop + "px";
                    this.txt2gfximages[str+color].style.left = elements[c].offsetLeft + "px";
                    this.txt2gfximages[str+color].style.zIndex = "-1";
                    elements[c].parentNode.appendChild(this.txt2gfximages[str+color]);

                    if ( hlcolor ) {
                        var hlurl =   'http://cloud.corbiz.dk/txt2gfx/txt2gfx.php?' +
                                    'font=' + font + '&' +
                                    'string=' + str + '&' +
                                    'color=' + hlcolor + '&' +
                                    'bgcolor=' + hlbgcolor + '&' +
                                    'size=' + size;

                        this.txt2gfximages[str+hlcolor] = new Image();
                        this.txt2gfximages[str+hlcolor].src = hlurl;

                        this.addEventHandler(elements[c], 'mouseover', function() {
                            arguments[0].style.backgroundImage = 'url(' + arguments[1] + ')';
                        }.bind(this,elements[c],this.txt2gfximages[str+hlcolor].src));

                        this.addEventHandler(elements[c],'mouseout', function() {
                            arguments[0].style.backgroundImage = 'url(' + arguments[1] + ')';
                        }.bind(this,elements[c],this.txt2gfximages[str+color].src));

                    }//if

                }//if
            }//for
        }.bind(this,className,font,size,color,bgcolor,hlcolor,hlbgcolor));

    }//txt2gfx
