    function lmatch1() {

     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4', hersteller:$F('lcode1')},
         onComplete: function() {
             Ajax.activeRequestCount++;
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase3'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase3', lcode3:''},
         onComplete:function(){
             document.druckerverwaltung.lcode3.focus();
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function case4update() {

     new Ajax.Updater({ success: 'lcase6'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase61'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4neu', hersteller:$F('lcode6')},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcode3Clear() {

     new Ajax.Updater({ success: 'lcase1'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase1'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase3'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase3', lcode:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4', hersteller:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lmatch2() {

     new Ajax.Updater({ success: 'lcase3'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase3', zahl:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4', hersteller:$F('lcode1')},
         onComplete:function(){
             document.druckerverwaltung.lcode3.focus();
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lmatch3() {

     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4', hersteller:$F('lcode1'), zahl:$F('lcode3')},
         onComplete:function(){
             document.druckerverwaltung.lcode3.focus();
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lmatch4(daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Updater({ success: 'lcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase5', what:ratx, string:rat},
         onComplete:function(){
             document.druckerverwaltung.lcode3.focus();
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lmatch5() {

     new Ajax.Updater({ success: 'lcase3'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase3', zahl:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4', hersteller:$F('lcode1')},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcase6save(herst) {

     new Ajax.Updater({ success: 'lcase1'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase6hinzu', hersteller:herst},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4neu', hersteller:herst},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcaseopen() {

     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4neu', hersteller:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase3'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase6'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase6'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase61'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase1a'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase1a', hersteller:''},
         onComplete:function(){
             document.druckerverwaltung.lcode3.focus();
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcase1zruck() {


     new Ajax.Updater({ success: 'lcase1a'} ,'./../admin/sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase1b'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase3'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase3'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase6'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase3a'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4',hersteller:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase1'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase1'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }
    
    function d5mitl5voll(herst,daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Updater({ success: 'dcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase5vonl5', herstellery:herst, what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function l5mitd5voll(herst,daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Updater({ success: 'lcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase5vond5', herstellerz:herst, what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function verheiraten(herst,lcode,druck) {

     var lat;
     var latx;

     var rat;
     var ratx;

     for(var j = 0; j < lcode.length; j++)
     {
         if (j == 0) {
             lat  = lcode[j].value;
             latx = lcode[j].selected;
         }
         if (j > 0) {
             lat  = lat + ',' + lcode[j].value;
             latx = latx + ',' + lcode[j].selected;
         }
     }

     for(var j = 0; j < druck.length; j++)
     {
         if (j == 0) {
             rat  = druck[j].value;
             ratx = druck[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + druck[j].value;
             ratx = ratx + ',' + druck[j].selected;
         }
     }
     new Ajax.Request('sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'verheiraten', herstellu:herst, what:ratx, string:rat, lhat:latx, ltring:lat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'heiratanzeige'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'heirat', herstellerz:herst, what:'Verheiratet'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'lcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase5leer'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase5leer'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'heiratanzeige'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'heirat', what:''},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcode5mit4voll(daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Updater({ success: 'lcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase5', what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcodeloeschen(herst,daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Request('sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcodeloeschen', zahly:herst, what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'bestaetigung'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'bestaet', what:'Geloescht'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function druckerloeschen(herst,daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Request('sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'druckerloeschen', zahly:herst, what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'bestaetigung'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'bestaet', what:'Geloescht'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function druck5mit4voll(datex) {

     var rat;
     var ratx;

     for(var j = 0; j < datex.length; j++)
     {
         if (j == 0) {
             rat  = datex[j].value;
             ratx = datex[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + datex[j].value;
             ratx = ratx + ',' + datex[j].selected;
         }
     }

     new Ajax.Updater({ success: 'dcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase5', what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcode5mit4volldemakiert(daten) {

     var rat;
     var ratx;

     for(var j = 0; j < daten.length; j++)
     {
         if (j == 0) {
             rat  = daten[j].value;
             ratx = daten[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + daten[j].value;
             ratx = ratx + ',' + daten[j].selected;
         }
     }

     new Ajax.Updater({ success: 'lcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase5ohne', what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function druck5mit4volldemakiert(datex) {

     var rat;
     var ratx;

     for(var j = 0; j < datex.length; j++)
     {
         if (j == 0) {
             rat  = datex[j].value;
             ratx = datex[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + datex[j].value;
             ratx = ratx + ',' + datex[j].selected;
         }
     }

     new Ajax.Updater({ success: 'dcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase5ohne', what:ratx, string:rat},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcode4Makier(herst,drucker) {

     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4mit', hersteller:herst, zahl:drucker},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcode45leer() {

     new Ajax.Updater({ success: 'lcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase5leer'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase5leer'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function lcode4Demakier(herst,drucker) {

     new Ajax.Updater({ success: 'lcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'lcase4', hersteller:herst, zahl:drucker},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function druck4makier(herst,drucker) {

     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4mit', herstellerx:herst, zahlx:drucker},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function druck4demakier(herst,drucker) {

     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4', herstellerx:herst, zahlx:drucker},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch6() {

     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4', herstellerx:$F('druck1')},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch6neu() {

     new Ajax.Updater({ success: 'dcase2'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase2neu'},
         onComplete:function(){
             document.druckerverwaltung.druck2.focus();
         },
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch7() {

     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4', herstellerx:$F('druck1'), zahlx:$F('druck2')},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch7neu() {

     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase2neu', drucker:$F('druck2')},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch8() {

     new Ajax.Updater({ success: 'dcase5'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase5neudruck', herstellere:$F('druck1'), zahle:$F('druck2')},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch80() {

     new Ajax.Updater({ success: 'dcase2'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'leer'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase1'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase1y'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4neu'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase1a'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase1a'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase6a'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase6a'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch8back() {

     new Ajax.Updater({ success: 'dcase2'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase2'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase1'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase1'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase1a'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase1x'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase6a'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase6'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'schickding'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'schickdingzruck'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dmatch8clear() {

     new Ajax.Updater({ success: 'dcase1'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase1'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase2'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase2'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4leer'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }

    function dcode2hinzu(arr,dcode2) {

     var rat;
     var ratx;

     for(var j = 0; j < arr.length; j++)
     {
         if (j == 0) {
             rat  = arr[j].value;
             ratx = arr[j].selected;
         }
         if (j > 0) {
             rat  = rat + ',' + arr[j].value;
             ratx = ratx + ',' + arr[j].selected;
         }
     }

     if (datx[0] == "")
     {
         datx = 0;
     }
     new Ajax.Updater({ success: 'dcase4'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'dcase4neu', zahl:dcode2, string:rat, what:ratx},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
     new Ajax.Updater({ success: 'schickding'} ,'sucherpc_post.php',{
         method:'post',
         parameters:{aktion:'schickding'},
         onerror:function(){
             alert('DAT FEHLER...');
         }
     }
     );
    }








