function printQuickSearch(printTable, showHeader, tableStyle, wrapLink){
        printTable = printTable?printTable:false;
        showHeader = showHeader?showHeader:false;
        tableStyle = tableStyle?tableStyle:'def';
        wrapLink = wrapLink?wrapLink:false;

        var sLink = SMOMAbsoluteRootURL + "/" + "suche.htm";

        var cntHeader = tableStyle!=''?' class="cnt-' + tableStyle + '-header"':'';
        var cntBody = tableStyle!=''?' class="cnt-' + tableStyle + '-body"':'';
        var sHtml = '<div id="quicksearch">';

        if(printTable){
                sHtml += '<table class="cnt-' + tableStyle + '" border="0" cellspacing="0" cellpadding="0" width="100%">';
                if(showHeader) sHtml += '<tr><td' + cntHeader + '>Schnellsuche</td></tr>';
                sHtml += '<tr><td' + cntBody + '>';
        };
        sHtml += '<form action="#" onsubmit="return(doQuickSearch(this))">'
                + '<input name="dosearch" type="hidden" value="1"><input class="quicksearch-term" style="color:#78756D" '
                + 'name="searchterm" type="text" value="Suchbegriff eingeben" '
                + 'onfocus="setDefaultSearchTerm(this)" onblur="setDefaultSearchTerm(this)"><input type="image" class="quicksearch-submit" '
                + 'src="' + SMOMAbsoluteRootURL + '/' + 'images/button_go.gif" style="width:25;height:23"></form>'

        sHtml += wrapLink||printTable?'<br>':'&nbsp;';
        sHtml += '<a href="' + sLink + '">Erweiterte Suche &#0187;</a>';

        if(printTable) sHtml += '</td></tr></table>';
        sHtml += '</div>';
        document.write(sHtml);
};

