 

    function schlagwortkatalog()    {
        var schlagwort    = document.formschlagwort.schlagworttitle.value;
        WinURL    = "/sixcms/list.php"
            + "?page=skb_prd_schlagworte"
            + "&sv[title]=" + schlagwort + "*"
            + "&sv[status]=online"
            + "&sort=title"
            + "&order=asc";
        WinOpt = "width=400,height=600,innerWidth=400,innerHeight=600,left=0,top=0,screenX=0,screenY=0,dependent=yes,location=no,menubar=no,resizable=yes,scrollbars=auto,status=no,toolbar=no";
        WinSWS = window.open(WinURL, 'WinSWS', WinOpt);
        WinSWS.focus();
    }

    function schlagwortsuche()    {
        var schlagwort    = document.formschlagwort.schlagwortid.value;
            if ((parseInt(schlagwort) != "0") && (schlagwort != ""))    {schlagwort = "&schlagwortid=" + schlagwort + "&schlagworttitle=" + document.formschlagwort.schlagworttitle.value;}
            else    {schlagwort = "";}
        if (schlagwort == "")    {
            schlagwortkatalog();
        }
        else    {
            urlvar    = "/skb/skb_suchergebnis"
                + "?do=schlagwort"
                + schlagwort;
            document.location.href = urlvar;
        }
    } 
 
    function checkInput(my_field, my_form) {

       my_value=document.forms[my_form].elements[my_field].value;
       if (my_value == "") {
         alert("Bitte geben Sie einen Suchbegriff ein!");
         document.location.href = document.URL;
         return false;
       } else {
         document.forms[my_form].submit();
         return true;
       } 
    }

