function laden_ajaxsuche(url_prefix) {
    $('.ajaxsuche').qtip({
        content: 'Laden ...',
        position: {
            corner: {
                target: 'topMiddle',
                tooltip: 'bottomMiddle'
            }
        },
        show: {
            delay: 500,
            effect: {
                length: 0,
            },
        },
        hide: {
            effect: {
                length: 0,
            },
        },
        style: {
            width: {
                min: 200,
                max: 400,
            },
            padding: 1,
            background: '#9ACD32',
            fontSize: '12px',
            color: 'black',
            textAlign: 'left',
            border: {
                width: 7,
                radius: 7,
                color: '#9ACD32',
            },
            name: 'dark' // Inherit the rest of the attributes from the preset dark style
        },
        api: {
            onRender: function() {
                this.loadContent(url_prefix + $.URLEncode(this.elements.target.text()));
            },
        },
    });
}

function laden_hilfe(url_prefix) {
    $('.hilfe').each(function() {
    //$('a[id_hilfe]').each(function() {
        $(this).qtip({
            content: 'Laden ...',
            position: {
                corner: {
                    target: 'bottomMiddle',
                    tooltip: 'topMiddle',
                }
            },
            show: {
                effect: {
                    //type: 'fade',
                    //length: 75,
                    length: 0,
                },
            },
            hide: {
                effect: {
                    //type: 'fade',
                    //length: 25,
                    length: 0,
                },
            },
            style: {
                width: {
                    min: 400,
                    max: 450,
                },
                padding: 1,
                background: '#87CEFA',
                fontSize: '13px',
                color: 'black',
                textAlign: 'left',
                border: {
                    width: 7,
                    radius: 7,
                    color: '#87CEFA',
                },
                name: 'dark' // Inherit the rest of the attributes from the preset dark style
            },
            api: {
                onRender: function() {
                    this.loadContent(url_prefix + $.URLEncode(this.elements.target.attr('id_hilfe')));
                    //this.loadContent(url_prefix + $('.hilfe').attr('id_hilfe'));
                    //this.loadContent(url_prefix + $.URLEncode(this.elements.target.text()));
                    //this.loadContent(url_prefix + 'Alive3' + $(this).attr('style'));
                },
            },
        });
    });
}

