
/*  File made by maron web aplikacion 
    =================================
    
    INSERT do czquests z database emu  */
   
  USE `quests`;
   
    UPDATE ajquests SET state = '1' WHERE entry = '6541';
    UPDATE ajquests SET state = '1' WHERE entry = '619';
    UPDATE ajquests SET state = '1' WHERE entry = '618';
    UPDATE ajquests SET state = '1' WHERE entry = '615';
    UPDATE ajquests SET state = '1' WHERE entry = '614';
    UPDATE ajquests SET state = '1' WHERE entry = '6781';
    UPDATE ajquests SET state = '1' WHERE entry = '6846';
    UPDATE ajquests SET state = '1' WHERE entry = '9014';
    UPDATE ajquests SET state = '1' WHERE entry = '9013';
    UPDATE ajquests SET state = '1' WHERE entry = '9012';
    UPDATE ajquests SET state = '1' WHERE entry = '9011';
    UPDATE ajquests SET state = '1' WHERE entry = '9010';
    UPDATE ajquests SET state = '1' WHERE entry = '9009';
    UPDATE ajquests SET state = '1' WHERE entry = '9008';
    UPDATE ajquests SET state = '1' WHERE entry = '9007';
    UPDATE ajquests SET state = '1' WHERE entry = '9006';
    UPDATE ajquests SET state = '1' WHERE entry = '9005';
    UPDATE ajquests SET state = '1' WHERE entry = '9004';
    UPDATE ajquests SET state = '1' WHERE entry = '9003';
    UPDATE ajquests SET state = '1' WHERE entry = '9002';
    UPDATE ajquests SET state = '1' WHERE entry = '9001';
    UPDATE ajquests SET state = '1' WHERE entry = '8540';
    UPDATE ajquests SET state = '1' WHERE entry = '8321';
    UPDATE ajquests SET state = '1' WHERE entry = '9106';
    UPDATE ajquests SET state = '1' WHERE entry = '8575';
    UPDATE ajquests SET state = '1' WHERE entry = '8527';
    UPDATE ajquests SET state = '1' WHERE entry = '8521';
    UPDATE ajquests SET state = '1' WHERE entry = '8510';
    UPDATE ajquests SET state = '1' WHERE entry = '8506';
    UPDATE ajquests SET state = '1' WHERE entry = '8504';
    UPDATE ajquests SET state = '1' WHERE entry = '8503';
    UPDATE ajquests SET state = '1' WHERE entry = '8323';
    UPDATE ajquests SET state = '1' WHERE entry = '8001';
    UPDATE ajquests SET state = '1' WHERE entry = '7002';
    UPDATE ajquests SET state = '1' WHERE entry = '7164';
    UPDATE ajquests SET state = '1' WHERE entry = '6548';
    UPDATE ajquests SET state = '1' WHERE entry = '6546';
    UPDATE ajquests SET state = '1' WHERE entry = '6542';
    UPDATE ajquests SET state = '1' WHERE entry = '6521';
    UPDATE ajquests SET state = '1' WHERE entry = '6504';
    UPDATE ajquests SET state = '1' WHERE entry = '6503';
    UPDATE ajquests SET state = '1' WHERE entry = '6502';
    UPDATE ajquests SET state = '1' WHERE entry = '6501';
    UPDATE ajquests SET state = '1' WHERE entry = '5889';
    UPDATE ajquests SET state = '1' WHERE entry = '5632';
    UPDATE ajquests SET state = '1' WHERE entry = '5465';
    UPDATE ajquests SET state = '1' WHERE entry = '5238';
    UPDATE ajquests SET state = '1' WHERE entry = '5237';
    UPDATE ajquests SET state = '1' WHERE entry = '5058';
    UPDATE ajquests SET state = '1' WHERE entry = '4961';
    UPDATE ajquests SET state = '1' WHERE entry = '4941';
    UPDATE ajquests SET state = '1' WHERE entry = '4921';
    UPDATE ajquests SET state = '1' WHERE entry = '4907';
    UPDATE ajquests SET state = '1' WHERE entry = '4906';
    UPDATE ajquests SET state = '1' WHERE entry = '4904';
    UPDATE ajquests SET state = '1' WHERE entry = '4903';
    UPDATE ajquests SET state = '1' WHERE entry = '4902';
    UPDATE ajquests SET state = '1' WHERE entry = '4901';
    UPDATE ajquests SET state = '1' WHERE entry = '4883';
    UPDATE ajquests SET state = '1' WHERE entry = '4882';
    UPDATE ajquests SET state = '1' WHERE entry = '4881';
    UPDATE ajquests SET state = '1' WHERE entry = '4867';
    UPDATE ajquests SET state = '1' WHERE entry = '4810';
    UPDATE ajquests SET state = '1' WHERE entry = '4805';
    UPDATE ajquests SET state = '1' WHERE entry = '996';
    UPDATE ajquests SET state = '1' WHERE entry = '998';
    UPDATE ajquests SET state = '1' WHERE entry = '4402';
    UPDATE ajquests SET state = '1' WHERE entry = '4223';
    UPDATE ajquests SET state = '1' WHERE entry = '4186';
    UPDATE ajquests SET state = '1' WHERE entry = '4041';
    UPDATE ajquests SET state = '1' WHERE entry = '4004';
    UPDATE ajquests SET state = '1' WHERE entry = '3914';
    UPDATE ajquests SET state = '1' WHERE entry = '3913';
    UPDATE ajquests SET state = '1' WHERE entry = '3903';
    UPDATE ajquests SET state = '1' WHERE entry = '3563';
    UPDATE ajquests SET state = '1' WHERE entry = '3562';
    UPDATE ajquests SET state = '1' WHERE entry = '3561';
    UPDATE ajquests SET state = '1' WHERE entry = '3542';
    UPDATE ajquests SET state = '1' WHERE entry = '3541';
    UPDATE ajquests SET state = '1' WHERE entry = '3528';
    UPDATE ajquests SET state = '1' WHERE entry = '3527';
    UPDATE ajquests SET state = '1' WHERE entry = '3526';
    UPDATE ajquests SET state = '1' WHERE entry = '3525';
    UPDATE ajquests SET state = '1' WHERE entry = '3524';
    UPDATE ajquests SET state = '1' WHERE entry = '3523';
    UPDATE ajquests SET state = '1' WHERE entry = '3522';
    UPDATE ajquests SET state = '1' WHERE entry = '3521';
    UPDATE ajquests SET state = '1' WHERE entry = '3507';
    UPDATE ajquests SET state = '1' WHERE entry = '3481';
    UPDATE ajquests SET state = '1' WHERE entry = '3462';
    UPDATE ajquests SET state = '1' WHERE entry = '3454';
    UPDATE ajquests SET state = '1' WHERE entry = '3453';
    UPDATE ajquests SET state = '1' WHERE entry = '3441';
    UPDATE ajquests SET state = '1' WHERE entry = '3377';
    UPDATE ajquests SET state = '1' WHERE entry = '3367';
    UPDATE ajquests SET state = '1' WHERE entry = '3261';
    UPDATE ajquests SET state = '1' WHERE entry = '3221';
    UPDATE ajquests SET state = '1' WHERE entry = '3022';
    UPDATE ajquests SET state = '1' WHERE entry = '3002';
    UPDATE ajquests SET state = '1' WHERE entry = '3001';
    UPDATE ajquests SET state = '1' WHERE entry = '3000';
    UPDATE ajquests SET state = '1' WHERE entry = '2943';
    UPDATE ajquests SET state = '1' WHERE entry = '2942';
    UPDATE ajquests SET state = '1' WHERE entry = '2937';
    UPDATE ajquests SET state = '1' WHERE entry = '2874';
    UPDATE ajquests SET state = '1' WHERE entry = '2801';
    UPDATE ajquests SET state = '1' WHERE entry = '2784';
    UPDATE ajquests SET state = '1' WHERE entry = '2760';
    UPDATE ajquests SET state = '1' WHERE entry = '2759';
    UPDATE ajquests SET state = '1' WHERE entry = '2758';
    UPDATE ajquests SET state = '1' WHERE entry = '2757';
    UPDATE ajquests SET state = '1' WHERE entry = '2756';
    UPDATE ajquests SET state = '1' WHERE entry = '2755';
    UPDATE ajquests SET state = '1' WHERE entry = '2754';
    UPDATE ajquests SET state = '1' WHERE entry = '2753';
    UPDATE ajquests SET state = '1' WHERE entry = '2752';
    UPDATE ajquests SET state = '1' WHERE entry = '2751';
    UPDATE ajquests SET state = '1' WHERE entry = '2662';
    UPDATE ajquests SET state = '1' WHERE entry = '2661';
    UPDATE ajquests SET state = '1' WHERE entry = '2161';
    UPDATE ajquests SET state = '1' WHERE entry = '1958';
    UPDATE ajquests SET state = '1' WHERE entry = '1952';
    UPDATE ajquests SET state = '1' WHERE entry = '1943';
    UPDATE ajquests SET state = '1' WHERE entry = '1941';
    UPDATE ajquests SET state = '1' WHERE entry = '1798';
    UPDATE ajquests SET state = '1' WHERE entry = '1781';
    UPDATE ajquests SET state = '1' WHERE entry = '1778';
    UPDATE ajquests SET state = '1' WHERE entry = '1692';
    UPDATE ajquests SET state = '1' WHERE entry = '1691';
    UPDATE ajquests SET state = '1' WHERE entry = '1640';
    UPDATE ajquests SET state = '1' WHERE entry = '1639';
    UPDATE ajquests SET state = '1' WHERE entry = '1638';
    UPDATE ajquests SET state = '1' WHERE entry = '1618';
    UPDATE ajquests SET state = '1' WHERE entry = '1599';
    UPDATE ajquests SET state = '1' WHERE entry = '1598';
    UPDATE ajquests SET state = '1' WHERE entry = '1582';
    UPDATE ajquests SET state = '1' WHERE entry = '1581';
    UPDATE ajquests SET state = '1' WHERE entry = '1580';
    UPDATE ajquests SET state = '1' WHERE entry = '1579';
    UPDATE ajquests SET state = '1' WHERE entry = '1578';
    UPDATE ajquests SET state = '1' WHERE entry = '1560';
    UPDATE ajquests SET state = '1' WHERE entry = '1558';
    UPDATE ajquests SET state = '1' WHERE entry = '1530';
    UPDATE ajquests SET state = '1' WHERE entry = '1529';
    UPDATE ajquests SET state = '1' WHERE entry = '1528';
    UPDATE ajquests SET state = '1' WHERE entry = '1524';
    UPDATE ajquests SET state = '1' WHERE entry = '1523';
    UPDATE ajquests SET state = '1' WHERE entry = '1522';
    UPDATE ajquests SET state = '1' WHERE entry = '1521';
    UPDATE ajquests SET state = '1' WHERE entry = '1508';
    UPDATE ajquests SET state = '1' WHERE entry = '1506';
    UPDATE ajquests SET state = '1' WHERE entry = '1289';
    UPDATE ajquests SET state = '1' WHERE entry = '1259';
    UPDATE ajquests SET state = '1' WHERE entry = '1077';
    UPDATE ajquests SET state = '1' WHERE entry = '1076';
    UPDATE ajquests SET state = '1' WHERE entry = '1075';
    UPDATE ajquests SET state = '1' WHERE entry = '1074';
    UPDATE ajquests SET state = '1' WHERE entry = '1073';
    UPDATE ajquests SET state = '1' WHERE entry = '1072';
    UPDATE ajquests SET state = '1' WHERE entry = '1071';
    UPDATE ajquests SET state = '1' WHERE entry = '1063';
    UPDATE ajquests SET state = '1' WHERE entry = '1062';
    UPDATE ajquests SET state = '1' WHERE entry = '1061';
    UPDATE ajquests SET state = '1' WHERE entry = '1060';
    UPDATE ajquests SET state = '1' WHERE entry = '1059';
    UPDATE ajquests SET state = '1' WHERE entry = '1058';
    UPDATE ajquests SET state = '1' WHERE entry = '1057';
    UPDATE ajquests SET state = '1' WHERE entry = '1056';
    UPDATE ajquests SET state = '1' WHERE entry = '1055';
    UPDATE ajquests SET state = '1' WHERE entry = '1054';
    UPDATE ajquests SET state = '1' WHERE entry = '1053';
    UPDATE ajquests SET state = '1' WHERE entry = '1052';
    UPDATE ajquests SET state = '1' WHERE entry = '1051';
    UPDATE ajquests SET state = '1' WHERE entry = '1047';
    UPDATE ajquests SET state = '1' WHERE entry = '1046';
    UPDATE ajquests SET state = '1' WHERE entry = '1045';
    UPDATE ajquests SET state = '1' WHERE entry = '1044';
    UPDATE ajquests SET state = '1' WHERE entry = '1043';
    UPDATE ajquests SET state = '1' WHERE entry = '1042';
    UPDATE ajquests SET state = '1' WHERE entry = '1041';
    UPDATE ajquests SET state = '1' WHERE entry = '1040';
    UPDATE ajquests SET state = '1' WHERE entry = '1039';
    UPDATE ajquests SET state = '1' WHERE entry = '1038';
    UPDATE ajquests SET state = '1' WHERE entry = '1037';
    UPDATE ajquests SET state = '1' WHERE entry = '1036';
    UPDATE ajquests SET state = '1' WHERE entry = '1035';
    UPDATE ajquests SET state = '1' WHERE entry = '1034';
    UPDATE ajquests SET state = '1' WHERE entry = '1033';
    UPDATE ajquests SET state = '1' WHERE entry = '1032';
    UPDATE ajquests SET state = '1' WHERE entry = '1031';
    UPDATE ajquests SET state = '1' WHERE entry = '1025';
    UPDATE ajquests SET state = '1' WHERE entry = '1024';
    UPDATE ajquests SET state = '1' WHERE entry = '1023';
    UPDATE ajquests SET state = '1' WHERE entry = '1022';
    UPDATE ajquests SET state = '1' WHERE entry = '1021';
    UPDATE ajquests SET state = '1' WHERE entry = '1020';
    UPDATE ajquests SET state = '1' WHERE entry = '1019';
    UPDATE ajquests SET state = '1' WHERE entry = '1018';
    UPDATE ajquests SET state = '1' WHERE entry = '1017';
    UPDATE ajquests SET state = '1' WHERE entry = '1016';
    UPDATE ajquests SET state = '1' WHERE entry = '1014';
    UPDATE ajquests SET state = '1' WHERE entry = '1013';
    UPDATE ajquests SET state = '1' WHERE entry = '1012';
    UPDATE ajquests SET state = '1' WHERE entry = '1011';
    UPDATE ajquests SET state = '1' WHERE entry = '1010';
    UPDATE ajquests SET state = '1' WHERE entry = '1009';
    UPDATE ajquests SET state = '1' WHERE entry = '1008';
    UPDATE ajquests SET state = '1' WHERE entry = '1007';
    UPDATE ajquests SET state = '1' WHERE entry = '1003';
    UPDATE ajquests SET state = '1' WHERE entry = '1002';
    UPDATE ajquests SET state = '1' WHERE entry = '1001';
    UPDATE ajquests SET state = '1' WHERE entry = '1000';
    UPDATE ajquests SET state = '1' WHERE entry = '997';
    UPDATE ajquests SET state = '1' WHERE entry = '994';
    UPDATE ajquests SET state = '1' WHERE entry = '992';
    UPDATE ajquests SET state = '1' WHERE entry = '991';
    UPDATE ajquests SET state = '1' WHERE entry = '990';
    UPDATE ajquests SET state = '1' WHERE entry = '981';
    UPDATE ajquests SET state = '1' WHERE entry = '980';
    UPDATE ajquests SET state = '1' WHERE entry = '979';
    UPDATE ajquests SET state = '1' WHERE entry = '976';
    UPDATE ajquests SET state = '1' WHERE entry = '975';
    UPDATE ajquests SET state = '1' WHERE entry = '973';
    UPDATE ajquests SET state = '1' WHERE entry = '971';
    UPDATE ajquests SET state = '1' WHERE entry = '963';
    UPDATE ajquests SET state = '1' WHERE entry = '962';
    UPDATE ajquests SET state = '1' WHERE entry = '961';
    UPDATE ajquests SET state = '1' WHERE entry = '960';
    UPDATE ajquests SET state = '1' WHERE entry = '959';
    UPDATE ajquests SET state = '1' WHERE entry = '958';
    UPDATE ajquests SET state = '1' WHERE entry = '957';
    UPDATE ajquests SET state = '1' WHERE entry = '956';
    UPDATE ajquests SET state = '1' WHERE entry = '955';
    UPDATE ajquests SET state = '1' WHERE entry = '954';
    UPDATE ajquests SET state = '1' WHERE entry = '953';
    UPDATE ajquests SET state = '1' WHERE entry = '952';
    UPDATE ajquests SET state = '1' WHERE entry = '951';
    UPDATE ajquests SET state = '1' WHERE entry = '950';
    UPDATE ajquests SET state = '1' WHERE entry = '949';
    UPDATE ajquests SET state = '1' WHERE entry = '948';
    UPDATE ajquests SET state = '1' WHERE entry = '947';
    UPDATE ajquests SET state = '1' WHERE entry = '945';
    UPDATE ajquests SET state = '1' WHERE entry = '944';
    UPDATE ajquests SET state = '1' WHERE entry = '943';
    UPDATE ajquests SET state = '1' WHERE entry = '942';
    UPDATE ajquests SET state = '1' WHERE entry = '941';
    UPDATE ajquests SET state = '1' WHERE entry = '931';
    UPDATE ajquests SET state = '1' WHERE entry = '930';
    UPDATE ajquests SET state = '1' WHERE entry = '920';
    UPDATE ajquests SET state = '1' WHERE entry = '913';
    UPDATE ajquests SET state = '1' WHERE entry = '905';
    UPDATE ajquests SET state = '1' WHERE entry = '901';
    UPDATE ajquests SET state = '1' WHERE entry = '900';
    UPDATE ajquests SET state = '1' WHERE entry = '897';
    UPDATE ajquests SET state = '1' WHERE entry = '895';
    UPDATE ajquests SET state = '1' WHERE entry = '889';
    UPDATE ajquests SET state = '1' WHERE entry = '885';
    UPDATE ajquests SET state = '1' WHERE entry = '884';
    UPDATE ajquests SET state = '1' WHERE entry = '883';
    UPDATE ajquests SET state = '1' WHERE entry = '866';
    UPDATE ajquests SET state = '1' WHERE entry = '863';
    UPDATE ajquests SET state = '1' WHERE entry = '858';
    UPDATE ajquests SET state = '1' WHERE entry = '857';
    UPDATE ajquests SET state = '1' WHERE entry = '855';
    UPDATE ajquests SET state = '1' WHERE entry = '854';
    UPDATE ajquests SET state = '1' WHERE entry = '853';
    UPDATE ajquests SET state = '1' WHERE entry = '852';
    UPDATE ajquests SET state = '1' WHERE entry = '851';
    UPDATE ajquests SET state = '1' WHERE entry = '850';
    UPDATE ajquests SET state = '1' WHERE entry = '847';
    UPDATE ajquests SET state = '1' WHERE entry = '845';
    UPDATE ajquests SET state = '1' WHERE entry = '844';
    UPDATE ajquests SET state = '1' WHERE entry = '842';
    UPDATE ajquests SET state = '1' WHERE entry = '837';
    UPDATE ajquests SET state = '1' WHERE entry = '835';
    UPDATE ajquests SET state = '1' WHERE entry = '834';
    UPDATE ajquests SET state = '1' WHERE entry = '833';
    UPDATE ajquests SET state = '1' WHERE entry = '832';
    UPDATE ajquests SET state = '1' WHERE entry = '831';
    UPDATE ajquests SET state = '1' WHERE entry = '830';
    UPDATE ajquests SET state = '1' WHERE entry = '829';
    UPDATE ajquests SET state = '1' WHERE entry = '828';
    UPDATE ajquests SET state = '1' WHERE entry = '827';
    UPDATE ajquests SET state = '1' WHERE entry = '826';
    UPDATE ajquests SET state = '1' WHERE entry = '825';
    UPDATE ajquests SET state = '1' WHERE entry = '824';
    UPDATE ajquests SET state = '1' WHERE entry = '823';
    UPDATE ajquests SET state = '1' WHERE entry = '822';
    UPDATE ajquests SET state = '1' WHERE entry = '821';
    UPDATE ajquests SET state = '1' WHERE entry = '819';
    UPDATE ajquests SET state = '1' WHERE entry = '818';
    UPDATE ajquests SET state = '1' WHERE entry = '817';
    UPDATE ajquests SET state = '1' WHERE entry = '816';
    UPDATE ajquests SET state = '1' WHERE entry = '815';
    UPDATE ajquests SET state = '1' WHERE entry = '813';
    UPDATE ajquests SET state = '1' WHERE entry = '812';
    UPDATE ajquests SET state = '1' WHERE entry = '809';
    UPDATE ajquests SET state = '1' WHERE entry = '808';
    UPDATE ajquests SET state = '1' WHERE entry = '806';
    UPDATE ajquests SET state = '1' WHERE entry = '805';
    UPDATE ajquests SET state = '1' WHERE entry = '804';
    UPDATE ajquests SET state = '1' WHERE entry = '795';
    UPDATE ajquests SET state = '1' WHERE entry = '794';
    UPDATE ajquests SET state = '1' WHERE entry = '793';
    UPDATE ajquests SET state = '1' WHERE entry = '792';
    UPDATE ajquests SET state = '1' WHERE entry = '791';
    UPDATE ajquests SET state = '1' WHERE entry = '790';
    UPDATE ajquests SET state = '1' WHERE entry = '789';
    UPDATE ajquests SET state = '1' WHERE entry = '788';
    UPDATE ajquests SET state = '1' WHERE entry = '787';
    UPDATE ajquests SET state = '1' WHERE entry = '784';
    UPDATE ajquests SET state = '1' WHERE entry = '783';
    UPDATE ajquests SET state = '1' WHERE entry = '782';
    UPDATE ajquests SET state = '1' WHERE entry = '781';
    UPDATE ajquests SET state = '1' WHERE entry = '780';
    UPDATE ajquests SET state = '1' WHERE entry = '779';
    UPDATE ajquests SET state = '1' WHERE entry = '778';
    UPDATE ajquests SET state = '1' WHERE entry = '777';
    UPDATE ajquests SET state = '1' WHERE entry = '776';
    UPDATE ajquests SET state = '1' WHERE entry = '775';
    UPDATE ajquests SET state = '1' WHERE entry = '773';
    UPDATE ajquests SET state = '1' WHERE entry = '772';
    UPDATE ajquests SET state = '1' WHERE entry = '771';
    UPDATE ajquests SET state = '1' WHERE entry = '770';
    UPDATE ajquests SET state = '1' WHERE entry = '769';
    UPDATE ajquests SET state = '1' WHERE entry = '768';
    UPDATE ajquests SET state = '1' WHERE entry = '767';
    UPDATE ajquests SET state = '1' WHERE entry = '766';
    UPDATE ajquests SET state = '1' WHERE entry = '765';
    UPDATE ajquests SET state = '1' WHERE entry = '764';
    UPDATE ajquests SET state = '1' WHERE entry = '763';
    UPDATE ajquests SET state = '1' WHERE entry = '762';
    UPDATE ajquests SET state = '1' WHERE entry = '761';
    UPDATE ajquests SET state = '1' WHERE entry = '760';
    UPDATE ajquests SET state = '1' WHERE entry = '759';
    UPDATE ajquests SET state = '1' WHERE entry = '758';
    UPDATE ajquests SET state = '1' WHERE entry = '757';
    UPDATE ajquests SET state = '1' WHERE entry = '756';
    UPDATE ajquests SET state = '1' WHERE entry = '755';
    UPDATE ajquests SET state = '1' WHERE entry = '754';
    UPDATE ajquests SET state = '1' WHERE entry = '753';
    UPDATE ajquests SET state = '1' WHERE entry = '752';
    UPDATE ajquests SET state = '1' WHERE entry = '751';
    UPDATE ajquests SET state = '1' WHERE entry = '750';
    UPDATE ajquests SET state = '1' WHERE entry = '749';
    UPDATE ajquests SET state = '1' WHERE entry = '748';
    UPDATE ajquests SET state = '1' WHERE entry = '747';
    UPDATE ajquests SET state = '1' WHERE entry = '746';
    UPDATE ajquests SET state = '1' WHERE entry = '745';
    UPDATE ajquests SET state = '1' WHERE entry = '744';
    UPDATE ajquests SET state = '1' WHERE entry = '743';
    UPDATE ajquests SET state = '1' WHERE entry = '742';
    UPDATE ajquests SET state = '1' WHERE entry = '741';
    UPDATE ajquests SET state = '1' WHERE entry = '739';
    UPDATE ajquests SET state = '1' WHERE entry = '738';
    UPDATE ajquests SET state = '1' WHERE entry = '737';
    UPDATE ajquests SET state = '1' WHERE entry = '736';
    UPDATE ajquests SET state = '1' WHERE entry = '735';
    UPDATE ajquests SET state = '1' WHERE entry = '734';
    UPDATE ajquests SET state = '1' WHERE entry = '733';
    UPDATE ajquests SET state = '1' WHERE entry = '732';
    UPDATE ajquests SET state = '1' WHERE entry = '731';
    UPDATE ajquests SET state = '1' WHERE entry = '730';
    UPDATE ajquests SET state = '1' WHERE entry = '729';
    UPDATE ajquests SET state = '1' WHERE entry = '728';
    UPDATE ajquests SET state = '1' WHERE entry = '727';
    UPDATE ajquests SET state = '1' WHERE entry = '726';
    UPDATE ajquests SET state = '1' WHERE entry = '725';
    UPDATE ajquests SET state = '1' WHERE entry = '724';
    UPDATE ajquests SET state = '1' WHERE entry = '723';
    UPDATE ajquests SET state = '1' WHERE entry = '722';
    UPDATE ajquests SET state = '1' WHERE entry = '721';
    UPDATE ajquests SET state = '1' WHERE entry = '720';
    UPDATE ajquests SET state = '1' WHERE entry = '719';
    UPDATE ajquests SET state = '1' WHERE entry = '718';
    UPDATE ajquests SET state = '1' WHERE entry = '717';
    UPDATE ajquests SET state = '1' WHERE entry = '716';
    UPDATE ajquests SET state = '1' WHERE entry = '715';
    UPDATE ajquests SET state = '1' WHERE entry = '714';
    UPDATE ajquests SET state = '1' WHERE entry = '713';
    UPDATE ajquests SET state = '1' WHERE entry = '712';
    UPDATE ajquests SET state = '1' WHERE entry = '711';
    UPDATE ajquests SET state = '1' WHERE entry = '710';
    UPDATE ajquests SET state = '1' WHERE entry = '709';
    UPDATE ajquests SET state = '1' WHERE entry = '708';
    UPDATE ajquests SET state = '1' WHERE entry = '707';
    UPDATE ajquests SET state = '1' WHERE entry = '706';
    UPDATE ajquests SET state = '1' WHERE entry = '705';
    UPDATE ajquests SET state = '1' WHERE entry = '704';
    UPDATE ajquests SET state = '1' WHERE entry = '703';
    UPDATE ajquests SET state = '1' WHERE entry = '702';
    UPDATE ajquests SET state = '1' WHERE entry = '701';
    UPDATE ajquests SET state = '1' WHERE entry = '700';
    UPDATE ajquests SET state = '1' WHERE entry = '699';
    UPDATE ajquests SET state = '1' WHERE entry = '698';
    UPDATE ajquests SET state = '1' WHERE entry = '697';
    UPDATE ajquests SET state = '1' WHERE entry = '696';
    UPDATE ajquests SET state = '1' WHERE entry = '695';
    UPDATE ajquests SET state = '1' WHERE entry = '694';
    UPDATE ajquests SET state = '1' WHERE entry = '693';
    UPDATE ajquests SET state = '1' WHERE entry = '692';
    UPDATE ajquests SET state = '1' WHERE entry = '691';
    UPDATE ajquests SET state = '1' WHERE entry = '690';
    UPDATE ajquests SET state = '1' WHERE entry = '689';
    UPDATE ajquests SET state = '1' WHERE entry = '688';
    UPDATE ajquests SET state = '1' WHERE entry = '687';
    UPDATE ajquests SET state = '1' WHERE entry = '686';
    UPDATE ajquests SET state = '1' WHERE entry = '685';
    UPDATE ajquests SET state = '1' WHERE entry = '684';
    UPDATE ajquests SET state = '1' WHERE entry = '683';
    UPDATE ajquests SET state = '1' WHERE entry = '682';
    UPDATE ajquests SET state = '1' WHERE entry = '681';
    UPDATE ajquests SET state = '1' WHERE entry = '680';
    UPDATE ajquests SET state = '1' WHERE entry = '679';
    UPDATE ajquests SET state = '1' WHERE entry = '678';
    UPDATE ajquests SET state = '1' WHERE entry = '677';
    UPDATE ajquests SET state = '1' WHERE entry = '676';
    UPDATE ajquests SET state = '1' WHERE entry = '675';
    UPDATE ajquests SET state = '1' WHERE entry = '674';
    UPDATE ajquests SET state = '1' WHERE entry = '673';
    UPDATE ajquests SET state = '1' WHERE entry = '672';
    UPDATE ajquests SET state = '1' WHERE entry = '671';
    UPDATE ajquests SET state = '1' WHERE entry = '670';
    UPDATE ajquests SET state = '1' WHERE entry = '669';
    UPDATE ajquests SET state = '1' WHERE entry = '668';
    UPDATE ajquests SET state = '1' WHERE entry = '667';
    UPDATE ajquests SET state = '1' WHERE entry = '666';
    UPDATE ajquests SET state = '1' WHERE entry = '665';
    UPDATE ajquests SET state = '1' WHERE entry = '664';
    UPDATE ajquests SET state = '1' WHERE entry = '663';
    UPDATE ajquests SET state = '1' WHERE entry = '662';
    UPDATE ajquests SET state = '1' WHERE entry = '661';
    UPDATE ajquests SET state = '1' WHERE entry = '660';
    UPDATE ajquests SET state = '1' WHERE entry = '659';
    UPDATE ajquests SET state = '1' WHERE entry = '658';
    UPDATE ajquests SET state = '1' WHERE entry = '657';
    UPDATE ajquests SET state = '1' WHERE entry = '656';
    UPDATE ajquests SET state = '1' WHERE entry = '655';
    UPDATE ajquests SET state = '1' WHERE entry = '654';
    UPDATE ajquests SET state = '1' WHERE entry = '653';
    UPDATE ajquests SET state = '1' WHERE entry = '652';
    UPDATE ajquests SET state = '1' WHERE entry = '651';
    UPDATE ajquests SET state = '1' WHERE entry = '650';
    UPDATE ajquests SET state = '1' WHERE entry = '649';
    UPDATE ajquests SET state = '1' WHERE entry = '648';
    UPDATE ajquests SET state = '1' WHERE entry = '647';
    UPDATE ajquests SET state = '1' WHERE entry = '646';
    UPDATE ajquests SET state = '1' WHERE entry = '645';
    UPDATE ajquests SET state = '1' WHERE entry = '644';
    UPDATE ajquests SET state = '1' WHERE entry = '643';
    UPDATE ajquests SET state = '1' WHERE entry = '642';
    UPDATE ajquests SET state = '1' WHERE entry = '641';
    UPDATE ajquests SET state = '1' WHERE entry = '640';
    UPDATE ajquests SET state = '1' WHERE entry = '639';
    UPDATE ajquests SET state = '1' WHERE entry = '638';
    UPDATE ajquests SET state = '1' WHERE entry = '637';
    UPDATE ajquests SET state = '1' WHERE entry = '636';
    UPDATE ajquests SET state = '1' WHERE entry = '635';
    UPDATE ajquests SET state = '1' WHERE entry = '634';
    UPDATE ajquests SET state = '1' WHERE entry = '633';
    UPDATE ajquests SET state = '1' WHERE entry = '632';
    UPDATE ajquests SET state = '1' WHERE entry = '631';
    UPDATE ajquests SET state = '1' WHERE entry = '630';
    UPDATE ajquests SET state = '1' WHERE entry = '629';
    UPDATE ajquests SET state = '1' WHERE entry = '628';
    UPDATE ajquests SET state = '1' WHERE entry = '627';
    UPDATE ajquests SET state = '1' WHERE entry = '626';
    UPDATE ajquests SET state = '1' WHERE entry = '625';
    UPDATE ajquests SET state = '1' WHERE entry = '624';
    UPDATE ajquests SET state = '1' WHERE entry = '623';
    UPDATE ajquests SET state = '1' WHERE entry = '622';
    UPDATE ajquests SET state = '1' WHERE entry = '621';
    UPDATE ajquests SET state = '1' WHERE entry = '617';
    UPDATE ajquests SET state = '1' WHERE entry = '616';
    UPDATE ajquests SET state = '1' WHERE entry = '613';
    UPDATE ajquests SET state = '1' WHERE entry = '611';
    UPDATE ajquests SET state = '1' WHERE entry = '610';
    UPDATE ajquests SET state = '1' WHERE entry = '609';
    UPDATE ajquests SET state = '1' WHERE entry = '608';
    UPDATE ajquests SET state = '1' WHERE entry = '607';
    UPDATE ajquests SET state = '1' WHERE entry = '606';
    UPDATE ajquests SET state = '1' WHERE entry = '605';
    UPDATE ajquests SET state = '1' WHERE entry = '604';
    UPDATE ajquests SET state = '1' WHERE entry = '603';
    UPDATE ajquests SET state = '1' WHERE entry = '602';
    UPDATE ajquests SET state = '1' WHERE entry = '601';
    UPDATE ajquests SET state = '1' WHERE entry = '600';
    UPDATE ajquests SET state = '1' WHERE entry = '599';
    UPDATE ajquests SET state = '1' WHERE entry = '598';
    UPDATE ajquests SET state = '1' WHERE entry = '597';
    UPDATE ajquests SET state = '1' WHERE entry = '596';
    UPDATE ajquests SET state = '1' WHERE entry = '595';
    UPDATE ajquests SET state = '1' WHERE entry = '594';
    UPDATE ajquests SET state = '1' WHERE entry = '592';
    UPDATE ajquests SET state = '1' WHERE entry = '591';
    UPDATE ajquests SET state = '1' WHERE entry = '581';
    UPDATE ajquests SET state = '1' WHERE entry = '571';
    UPDATE ajquests SET state = '1' WHERE entry = '570';
    UPDATE ajquests SET state = '1' WHERE entry = '569';
    UPDATE ajquests SET state = '1' WHERE entry = '568';
    UPDATE ajquests SET state = '1' WHERE entry = '567';
    UPDATE ajquests SET state = '1' WHERE entry = '566';
    UPDATE ajquests SET state = '1' WHERE entry = '565';
    UPDATE ajquests SET state = '1' WHERE entry = '564';
    UPDATE ajquests SET state = '1' WHERE entry = '563';
    UPDATE ajquests SET state = '1' WHERE entry = '562';
    UPDATE ajquests SET state = '1' WHERE entry = '561';
    UPDATE ajquests SET state = '1' WHERE entry = '560';
    UPDATE ajquests SET state = '1' WHERE entry = '559';
    UPDATE ajquests SET state = '1' WHERE entry = '558';
    UPDATE ajquests SET state = '1' WHERE entry = '557';
    UPDATE ajquests SET state = '1' WHERE entry = '556';
    UPDATE ajquests SET state = '1' WHERE entry = '555';
    UPDATE ajquests SET state = '1' WHERE entry = '554';
    UPDATE ajquests SET state = '1' WHERE entry = '553';
    UPDATE ajquests SET state = '1' WHERE entry = '552';
    UPDATE ajquests SET state = '1' WHERE entry = '551';
    UPDATE ajquests SET state = '1' WHERE entry = '550';
    UPDATE ajquests SET state = '1' WHERE entry = '549';
    UPDATE ajquests SET state = '1' WHERE entry = '545';
    UPDATE ajquests SET state = '1' WHERE entry = '543';
    UPDATE ajquests SET state = '1' WHERE entry = '542';
    UPDATE ajquests SET state = '1' WHERE entry = '541';
    UPDATE ajquests SET state = '1' WHERE entry = '535';
    UPDATE ajquests SET state = '1' WHERE entry = '533';
    UPDATE ajquests SET state = '1' WHERE entry = '532';
    UPDATE ajquests SET state = '1' WHERE entry = '531';
    UPDATE ajquests SET state = '1' WHERE entry = '530';
    UPDATE ajquests SET state = '1' WHERE entry = '529';
    UPDATE ajquests SET state = '1' WHERE entry = '528';
    UPDATE ajquests SET state = '1' WHERE entry = '527';
    UPDATE ajquests SET state = '1' WHERE entry = '526';
    UPDATE ajquests SET state = '1' WHERE entry = '525';
    UPDATE ajquests SET state = '1' WHERE entry = '524';
    UPDATE ajquests SET state = '1' WHERE entry = '523';
    UPDATE ajquests SET state = '1' WHERE entry = '522';
    UPDATE ajquests SET state = '1' WHERE entry = '521';
    UPDATE ajquests SET state = '1' WHERE entry = '520';
    UPDATE ajquests SET state = '1' WHERE entry = '519';
    UPDATE ajquests SET state = '1' WHERE entry = '518';
    UPDATE ajquests SET state = '1' WHERE entry = '517';
    UPDATE ajquests SET state = '1' WHERE entry = '516';
    UPDATE ajquests SET state = '1' WHERE entry = '515';
    UPDATE ajquests SET state = '1' WHERE entry = '514';
    UPDATE ajquests SET state = '1' WHERE entry = '513';
    UPDATE ajquests SET state = '1' WHERE entry = '512';
    UPDATE ajquests SET state = '1' WHERE entry = '511';
    UPDATE ajquests SET state = '1' WHERE entry = '505';
    UPDATE ajquests SET state = '1' WHERE entry = '504';
    UPDATE ajquests SET state = '1' WHERE entry = '503';
    UPDATE ajquests SET state = '1' WHERE entry = '502';
    UPDATE ajquests SET state = '1' WHERE entry = '501';
    UPDATE ajquests SET state = '1' WHERE entry = '500';
    UPDATE ajquests SET state = '1' WHERE entry = '499';
    UPDATE ajquests SET state = '1' WHERE entry = '498';
    UPDATE ajquests SET state = '1' WHERE entry = '496';
    UPDATE ajquests SET state = '1' WHERE entry = '495';
    UPDATE ajquests SET state = '1' WHERE entry = '494';
    UPDATE ajquests SET state = '1' WHERE entry = '493';
    UPDATE ajquests SET state = '1' WHERE entry = '492';
    UPDATE ajquests SET state = '1' WHERE entry = '491';
    UPDATE ajquests SET state = '1' WHERE entry = '489';
    UPDATE ajquests SET state = '1' WHERE entry = '488';
    UPDATE ajquests SET state = '1' WHERE entry = '487';
    UPDATE ajquests SET state = '1' WHERE entry = '486';
    UPDATE ajquests SET state = '1' WHERE entry = '485';
    UPDATE ajquests SET state = '1' WHERE entry = '484';
    UPDATE ajquests SET state = '1' WHERE entry = '483';
    UPDATE ajquests SET state = '1' WHERE entry = '482';
    UPDATE ajquests SET state = '1' WHERE entry = '481';
    UPDATE ajquests SET state = '1' WHERE entry = '477';
    UPDATE ajquests SET state = '1' WHERE entry = '476';
    UPDATE ajquests SET state = '1' WHERE entry = '475';
    UPDATE ajquests SET state = '1' WHERE entry = '474';
    UPDATE ajquests SET state = '1' WHERE entry = '473';
    UPDATE ajquests SET state = '1' WHERE entry = '471';
    UPDATE ajquests SET state = '1' WHERE entry = '470';
    UPDATE ajquests SET state = '1' WHERE entry = '469';
    UPDATE ajquests SET state = '1' WHERE entry = '468';
    UPDATE ajquests SET state = '1' WHERE entry = '467';
    UPDATE ajquests SET state = '1' WHERE entry = '466';
    UPDATE ajquests SET state = '1' WHERE entry = '465';
    UPDATE ajquests SET state = '1' WHERE entry = '464';
    UPDATE ajquests SET state = '1' WHERE entry = '463';
    UPDATE ajquests SET state = '1' WHERE entry = '461';
    UPDATE ajquests SET state = '1' WHERE entry = '455';
    UPDATE ajquests SET state = '1' WHERE entry = '454';
    UPDATE ajquests SET state = '1' WHERE entry = '453';
    UPDATE ajquests SET state = '1' WHERE entry = '452';
    UPDATE ajquests SET state = '1' WHERE entry = '451';
    UPDATE ajquests SET state = '1' WHERE entry = '450';
    UPDATE ajquests SET state = '1' WHERE entry = '449';
    UPDATE ajquests SET state = '1' WHERE entry = '448';
    UPDATE ajquests SET state = '1' WHERE entry = '447';
    UPDATE ajquests SET state = '1' WHERE entry = '446';
    UPDATE ajquests SET state = '1' WHERE entry = '445';
    UPDATE ajquests SET state = '1' WHERE entry = '444';
    UPDATE ajquests SET state = '1' WHERE entry = '443';
    UPDATE ajquests SET state = '1' WHERE entry = '442';
    UPDATE ajquests SET state = '1' WHERE entry = '441';
    UPDATE ajquests SET state = '1' WHERE entry = '440';
    UPDATE ajquests SET state = '1' WHERE entry = '439';
    UPDATE ajquests SET state = '1' WHERE entry = '438';
    UPDATE ajquests SET state = '1' WHERE entry = '437';
    UPDATE ajquests SET state = '1' WHERE entry = '436';
    UPDATE ajquests SET state = '1' WHERE entry = '435';
    UPDATE ajquests SET state = '1' WHERE entry = '434';
    UPDATE ajquests SET state = '1' WHERE entry = '433';
    UPDATE ajquests SET state = '1' WHERE entry = '432';
    UPDATE ajquests SET state = '1' WHERE entry = '430';
    UPDATE ajquests SET state = '1' WHERE entry = '429';
    UPDATE ajquests SET state = '1' WHERE entry = '428';
    UPDATE ajquests SET state = '1' WHERE entry = '422';
    UPDATE ajquests SET state = '1' WHERE entry = '421';
    UPDATE ajquests SET state = '1' WHERE entry = '420';
    UPDATE ajquests SET state = '1' WHERE entry = '419';
    UPDATE ajquests SET state = '1' WHERE entry = '418';
    UPDATE ajquests SET state = '1' WHERE entry = '417';
    UPDATE ajquests SET state = '1' WHERE entry = '416';
    UPDATE ajquests SET state = '1' WHERE entry = '415';
    UPDATE ajquests SET state = '1' WHERE entry = '414';
    UPDATE ajquests SET state = '1' WHERE entry = '413';
    UPDATE ajquests SET state = '1' WHERE entry = '412';
    UPDATE ajquests SET state = '1' WHERE entry = '411';
    UPDATE ajquests SET state = '1' WHERE entry = '410';
    UPDATE ajquests SET state = '1' WHERE entry = '409';
    UPDATE ajquests SET state = '1' WHERE entry = '408';
    UPDATE ajquests SET state = '1' WHERE entry = '407';
    UPDATE ajquests SET state = '1' WHERE entry = '405';
    UPDATE ajquests SET state = '1' WHERE entry = '404';
    UPDATE ajquests SET state = '1' WHERE entry = '401';
    UPDATE ajquests SET state = '1' WHERE entry = '399';
    UPDATE ajquests SET state = '1' WHERE entry = '398';
    UPDATE ajquests SET state = '1' WHERE entry = '397';
    UPDATE ajquests SET state = '1' WHERE entry = '396';
    UPDATE ajquests SET state = '1' WHERE entry = '395';
    UPDATE ajquests SET state = '1' WHERE entry = '394';
    UPDATE ajquests SET state = '1' WHERE entry = '393';
    UPDATE ajquests SET state = '1' WHERE entry = '392';
    UPDATE ajquests SET state = '1' WHERE entry = '391';
    UPDATE ajquests SET state = '1' WHERE entry = '389';
    UPDATE ajquests SET state = '1' WHERE entry = '388';
    UPDATE ajquests SET state = '1' WHERE entry = '387';
    UPDATE ajquests SET state = '1' WHERE entry = '385';
    UPDATE ajquests SET state = '1' WHERE entry = '384';
    UPDATE ajquests SET state = '1' WHERE entry = '383';
    UPDATE ajquests SET state = '1' WHERE entry = '382';
    UPDATE ajquests SET state = '1' WHERE entry = '381';
    UPDATE ajquests SET state = '1' WHERE entry = '380';
    UPDATE ajquests SET state = '1' WHERE entry = '379';
    UPDATE ajquests SET state = '1' WHERE entry = '378';
    UPDATE ajquests SET state = '1' WHERE entry = '377';
    UPDATE ajquests SET state = '1' WHERE entry = '376';
    UPDATE ajquests SET state = '1' WHERE entry = '375';
    UPDATE ajquests SET state = '1' WHERE entry = '374';
    UPDATE ajquests SET state = '1' WHERE entry = '373';
    UPDATE ajquests SET state = '1' WHERE entry = '372';
    UPDATE ajquests SET state = '1' WHERE entry = '371';
    UPDATE ajquests SET state = '1' WHERE entry = '370';
    UPDATE ajquests SET state = '1' WHERE entry = '369';
    UPDATE ajquests SET state = '1' WHERE entry = '368';
    UPDATE ajquests SET state = '1' WHERE entry = '367';
    UPDATE ajquests SET state = '1' WHERE entry = '366';
    UPDATE ajquests SET state = '1' WHERE entry = '365';
    UPDATE ajquests SET state = '1' WHERE entry = '364';
    UPDATE ajquests SET state = '1' WHERE entry = '363';
    UPDATE ajquests SET state = '1' WHERE entry = '362';
    UPDATE ajquests SET state = '1' WHERE entry = '361';
    UPDATE ajquests SET state = '1' WHERE entry = '360';
    UPDATE ajquests SET state = '1' WHERE entry = '359';
    UPDATE ajquests SET state = '1' WHERE entry = '358';
    UPDATE ajquests SET state = '1' WHERE entry = '357';
    UPDATE ajquests SET state = '1' WHERE entry = '356';
    UPDATE ajquests SET state = '1' WHERE entry = '355';
    UPDATE ajquests SET state = '1' WHERE entry = '354';
    UPDATE ajquests SET state = '1' WHERE entry = '353';
    UPDATE ajquests SET state = '1' WHERE entry = '351';
    UPDATE ajquests SET state = '1' WHERE entry = '350';
    UPDATE ajquests SET state = '1' WHERE entry = '349';
    UPDATE ajquests SET state = '1' WHERE entry = '348';
    UPDATE ajquests SET state = '1' WHERE entry = '347';
    UPDATE ajquests SET state = '1' WHERE entry = '346';
    UPDATE ajquests SET state = '1' WHERE entry = '345';
    UPDATE ajquests SET state = '1' WHERE entry = '344';
    UPDATE ajquests SET state = '1' WHERE entry = '343';
    UPDATE ajquests SET state = '1' WHERE entry = '342';
    UPDATE ajquests SET state = '1' WHERE entry = '341';
    UPDATE ajquests SET state = '1' WHERE entry = '340';
    UPDATE ajquests SET state = '1' WHERE entry = '339';
    UPDATE ajquests SET state = '1' WHERE entry = '338';
    UPDATE ajquests SET state = '1' WHERE entry = '337';
    UPDATE ajquests SET state = '1' WHERE entry = '336';
    UPDATE ajquests SET state = '1' WHERE entry = '335';
    UPDATE ajquests SET state = '1' WHERE entry = '334';
    UPDATE ajquests SET state = '1' WHERE entry = '333';
    UPDATE ajquests SET state = '1' WHERE entry = '332';
    UPDATE ajquests SET state = '1' WHERE entry = '331';
    UPDATE ajquests SET state = '1' WHERE entry = '330';
    UPDATE ajquests SET state = '1' WHERE entry = '329';
    UPDATE ajquests SET state = '1' WHERE entry = '328';
    UPDATE ajquests SET state = '1' WHERE entry = '325';
    UPDATE ajquests SET state = '1' WHERE entry = '324';
    UPDATE ajquests SET state = '1' WHERE entry = '323';
    UPDATE ajquests SET state = '1' WHERE entry = '322';
    UPDATE ajquests SET state = '1' WHERE entry = '321';
    UPDATE ajquests SET state = '1' WHERE entry = '320';
    UPDATE ajquests SET state = '1' WHERE entry = '319';
    UPDATE ajquests SET state = '1' WHERE entry = '318';
    UPDATE ajquests SET state = '1' WHERE entry = '317';
    UPDATE ajquests SET state = '1' WHERE entry = '315';
    UPDATE ajquests SET state = '1' WHERE entry = '314';
    UPDATE ajquests SET state = '1' WHERE entry = '313';
    UPDATE ajquests SET state = '1' WHERE entry = '312';
    UPDATE ajquests SET state = '1' WHERE entry = '311';
    UPDATE ajquests SET state = '1' WHERE entry = '310';
    UPDATE ajquests SET state = '1' WHERE entry = '309';
    UPDATE ajquests SET state = '1' WHERE entry = '308';
    UPDATE ajquests SET state = '1' WHERE entry = '306';
    UPDATE ajquests SET state = '1' WHERE entry = '305';
    UPDATE ajquests SET state = '1' WHERE entry = '304';
    UPDATE ajquests SET state = '1' WHERE entry = '303';
    UPDATE ajquests SET state = '1' WHERE entry = '302';
    UPDATE ajquests SET state = '1' WHERE entry = '301';
    UPDATE ajquests SET state = '1' WHERE entry = '299';
    UPDATE ajquests SET state = '1' WHERE entry = '298';
    UPDATE ajquests SET state = '1' WHERE entry = '297';
    UPDATE ajquests SET state = '1' WHERE entry = '296';
    UPDATE ajquests SET state = '1' WHERE entry = '295';
    UPDATE ajquests SET state = '1' WHERE entry = '294';
    UPDATE ajquests SET state = '1' WHERE entry = '293';
    UPDATE ajquests SET state = '1' WHERE entry = '292';
    UPDATE ajquests SET state = '1' WHERE entry = '291';
    UPDATE ajquests SET state = '1' WHERE entry = '289';
    UPDATE ajquests SET state = '1' WHERE entry = '288';
    UPDATE ajquests SET state = '1' WHERE entry = '287';
    UPDATE ajquests SET state = '1' WHERE entry = '286';
    UPDATE ajquests SET state = '1' WHERE entry = '285';
    UPDATE ajquests SET state = '1' WHERE entry = '284';
    UPDATE ajquests SET state = '1' WHERE entry = '283';
    UPDATE ajquests SET state = '1' WHERE entry = '282';
    UPDATE ajquests SET state = '1' WHERE entry = '281';
    UPDATE ajquests SET state = '1' WHERE entry = '280';
    UPDATE ajquests SET state = '1' WHERE entry = '279';
    UPDATE ajquests SET state = '1' WHERE entry = '278';
    UPDATE ajquests SET state = '1' WHERE entry = '277';
    UPDATE ajquests SET state = '1' WHERE entry = '276';
    UPDATE ajquests SET state = '1' WHERE entry = '275';
    UPDATE ajquests SET state = '1' WHERE entry = '274';
    UPDATE ajquests SET state = '1' WHERE entry = '273';
    UPDATE ajquests SET state = '1' WHERE entry = '272';
    UPDATE ajquests SET state = '1' WHERE entry = '271';
    UPDATE ajquests SET state = '1' WHERE entry = '270';
    UPDATE ajquests SET state = '1' WHERE entry = '269';
    UPDATE ajquests SET state = '1' WHERE entry = '268';
    UPDATE ajquests SET state = '1' WHERE entry = '267';
    UPDATE ajquests SET state = '1' WHERE entry = '266';
    UPDATE ajquests SET state = '1' WHERE entry = '265';
    UPDATE ajquests SET state = '1' WHERE entry = '264';
    UPDATE ajquests SET state = '1' WHERE entry = '263';
    UPDATE ajquests SET state = '1' WHERE entry = '262';
    UPDATE ajquests SET state = '1' WHERE entry = '261';
    UPDATE ajquests SET state = '1' WHERE entry = '256';
    UPDATE ajquests SET state = '1' WHERE entry = '255';
    UPDATE ajquests SET state = '1' WHERE entry = '253';
    UPDATE ajquests SET state = '1' WHERE entry = '252';
    UPDATE ajquests SET state = '1' WHERE entry = '251';
    UPDATE ajquests SET state = '1' WHERE entry = '250';
    UPDATE ajquests SET state = '1' WHERE entry = '249';
    UPDATE ajquests SET state = '1' WHERE entry = '247';
    UPDATE ajquests SET state = '1' WHERE entry = '246';
    UPDATE ajquests SET state = '1' WHERE entry = '245';
    UPDATE ajquests SET state = '1' WHERE entry = '244';
    UPDATE ajquests SET state = '1' WHERE entry = '243';
    UPDATE ajquests SET state = '1' WHERE entry = '240';
    UPDATE ajquests SET state = '1' WHERE entry = '239';
    UPDATE ajquests SET state = '1' WHERE entry = '238';
    UPDATE ajquests SET state = '1' WHERE entry = '237';
    UPDATE ajquests SET state = '1' WHERE entry = '236';
    UPDATE ajquests SET state = '1' WHERE entry = '235';
    UPDATE ajquests SET state = '1' WHERE entry = '234';
    UPDATE ajquests SET state = '1' WHERE entry = '233';
    UPDATE ajquests SET state = '1' WHERE entry = '232';
    UPDATE ajquests SET state = '1' WHERE entry = '231';
    UPDATE ajquests SET state = '1' WHERE entry = '230';
    UPDATE ajquests SET state = '1' WHERE entry = '229';
    UPDATE ajquests SET state = '1' WHERE entry = '228';
    UPDATE ajquests SET state = '1' WHERE entry = '227';
    UPDATE ajquests SET state = '1' WHERE entry = '226';
    UPDATE ajquests SET state = '1' WHERE entry = '225';
    UPDATE ajquests SET state = '1' WHERE entry = '224';
    UPDATE ajquests SET state = '1' WHERE entry = '223';
    UPDATE ajquests SET state = '1' WHERE entry = '222';
    UPDATE ajquests SET state = '1' WHERE entry = '221';
    UPDATE ajquests SET state = '1' WHERE entry = '220';
    UPDATE ajquests SET state = '1' WHERE entry = '219';
    UPDATE ajquests SET state = '1' WHERE entry = '218';
    UPDATE ajquests SET state = '1' WHERE entry = '217';
    UPDATE ajquests SET state = '1' WHERE entry = '216';
    UPDATE ajquests SET state = '1' WHERE entry = '215';
    UPDATE ajquests SET state = '1' WHERE entry = '214';
    UPDATE ajquests SET state = '1' WHERE entry = '213';
    UPDATE ajquests SET state = '1' WHERE entry = '212';
    UPDATE ajquests SET state = '1' WHERE entry = '211';
    UPDATE ajquests SET state = '1' WHERE entry = '210';
    UPDATE ajquests SET state = '1' WHERE entry = '209';
    UPDATE ajquests SET state = '1' WHERE entry = '208';
    UPDATE ajquests SET state = '1' WHERE entry = '207';
    UPDATE ajquests SET state = '1' WHERE entry = '206';
    UPDATE ajquests SET state = '1' WHERE entry = '205';
    UPDATE ajquests SET state = '1' WHERE entry = '204';
    UPDATE ajquests SET state = '1' WHERE entry = '203';
    UPDATE ajquests SET state = '1' WHERE entry = '202';
    UPDATE ajquests SET state = '1' WHERE entry = '201';
    UPDATE ajquests SET state = '1' WHERE entry = '200';
    UPDATE ajquests SET state = '1' WHERE entry = '199';
    UPDATE ajquests SET state = '1' WHERE entry = '198';
    UPDATE ajquests SET state = '1' WHERE entry = '197';
    UPDATE ajquests SET state = '1' WHERE entry = '196';
    UPDATE ajquests SET state = '1' WHERE entry = '195';
    UPDATE ajquests SET state = '1' WHERE entry = '194';
    UPDATE ajquests SET state = '1' WHERE entry = '193';
    UPDATE ajquests SET state = '1' WHERE entry = '192';
    UPDATE ajquests SET state = '1' WHERE entry = '191';
    UPDATE ajquests SET state = '1' WHERE entry = '190';
    UPDATE ajquests SET state = '1' WHERE entry = '189';
    UPDATE ajquests SET state = '1' WHERE entry = '188';
    UPDATE ajquests SET state = '1' WHERE entry = '187';
    UPDATE ajquests SET state = '1' WHERE entry = '186';
    UPDATE ajquests SET state = '1' WHERE entry = '185';
    UPDATE ajquests SET state = '1' WHERE entry = '184';
    UPDATE ajquests SET state = '1' WHERE entry = '183';
    UPDATE ajquests SET state = '1' WHERE entry = '182';
    UPDATE ajquests SET state = '1' WHERE entry = '181';
    UPDATE ajquests SET state = '1' WHERE entry = '180';
    UPDATE ajquests SET state = '1' WHERE entry = '179';
    UPDATE ajquests SET state = '1' WHERE entry = '178';
    UPDATE ajquests SET state = '1' WHERE entry = '177';
    UPDATE ajquests SET state = '1' WHERE entry = '176';
    UPDATE ajquests SET state = '1' WHERE entry = '175';
    UPDATE ajquests SET state = '1' WHERE entry = '174';
    UPDATE ajquests SET state = '1' WHERE entry = '173';
    UPDATE ajquests SET state = '1' WHERE entry = '172';
    UPDATE ajquests SET state = '1' WHERE entry = '171';
    UPDATE ajquests SET state = '1' WHERE entry = '170';
    UPDATE ajquests SET state = '1' WHERE entry = '169';
    UPDATE ajquests SET state = '1' WHERE entry = '168';
    UPDATE ajquests SET state = '1' WHERE entry = '167';
    UPDATE ajquests SET state = '1' WHERE entry = '166';
    UPDATE ajquests SET state = '1' WHERE entry = '165';
    UPDATE ajquests SET state = '1' WHERE entry = '164';
    UPDATE ajquests SET state = '1' WHERE entry = '163';
    UPDATE ajquests SET state = '1' WHERE entry = '162';
    UPDATE ajquests SET state = '1' WHERE entry = '161';
    UPDATE ajquests SET state = '1' WHERE entry = '160';
    UPDATE ajquests SET state = '1' WHERE entry = '159';
    UPDATE ajquests SET state = '1' WHERE entry = '158';
    UPDATE ajquests SET state = '1' WHERE entry = '157';
    UPDATE ajquests SET state = '1' WHERE entry = '156';
    UPDATE ajquests SET state = '1' WHERE entry = '155';
    UPDATE ajquests SET state = '1' WHERE entry = '154';
    UPDATE ajquests SET state = '1' WHERE entry = '153';
    UPDATE ajquests SET state = '1' WHERE entry = '152';
    UPDATE ajquests SET state = '1' WHERE entry = '151';
    UPDATE ajquests SET state = '1' WHERE entry = '150';
    UPDATE ajquests SET state = '1' WHERE entry = '149';
    UPDATE ajquests SET state = '1' WHERE entry = '148';
    UPDATE ajquests SET state = '1' WHERE entry = '147';
    UPDATE ajquests SET state = '1' WHERE entry = '146';
    UPDATE ajquests SET state = '1' WHERE entry = '145';
    UPDATE ajquests SET state = '1' WHERE entry = '144';
    UPDATE ajquests SET state = '1' WHERE entry = '143';
    UPDATE ajquests SET state = '1' WHERE entry = '142';
    UPDATE ajquests SET state = '1' WHERE entry = '141';
    UPDATE ajquests SET state = '1' WHERE entry = '140';
    UPDATE ajquests SET state = '1' WHERE entry = '139';
    UPDATE ajquests SET state = '1' WHERE entry = '138';
    UPDATE ajquests SET state = '1' WHERE entry = '136';
    UPDATE ajquests SET state = '1' WHERE entry = '135';
    UPDATE ajquests SET state = '1' WHERE entry = '134';
    UPDATE ajquests SET state = '1' WHERE entry = '133';
    UPDATE ajquests SET state = '1' WHERE entry = '132';
    UPDATE ajquests SET state = '1' WHERE entry = '131';
    UPDATE ajquests SET state = '1' WHERE entry = '130';
    UPDATE ajquests SET state = '1' WHERE entry = '129';
    UPDATE ajquests SET state = '1' WHERE entry = '128';
    UPDATE ajquests SET state = '1' WHERE entry = '127';
    UPDATE ajquests SET state = '1' WHERE entry = '126';
    UPDATE ajquests SET state = '1' WHERE entry = '125';
    UPDATE ajquests SET state = '1' WHERE entry = '124';
    UPDATE ajquests SET state = '1' WHERE entry = '123';
    UPDATE ajquests SET state = '1' WHERE entry = '122';
    UPDATE ajquests SET state = '1' WHERE entry = '121';
    UPDATE ajquests SET state = '1' WHERE entry = '120';
    UPDATE ajquests SET state = '1' WHERE entry = '119';
    UPDATE ajquests SET state = '1' WHERE entry = '118';
    UPDATE ajquests SET state = '1' WHERE entry = '117';
    UPDATE ajquests SET state = '1' WHERE entry = '116';
    UPDATE ajquests SET state = '1' WHERE entry = '115';
    UPDATE ajquests SET state = '1' WHERE entry = '114';
    UPDATE ajquests SET state = '1' WHERE entry = '113';
    UPDATE ajquests SET state = '1' WHERE entry = '112';
    UPDATE ajquests SET state = '1' WHERE entry = '111';
    UPDATE ajquests SET state = '1' WHERE entry = '110';
    UPDATE ajquests SET state = '1' WHERE entry = '109';
    UPDATE ajquests SET state = '1' WHERE entry = '107';
    UPDATE ajquests SET state = '1' WHERE entry = '106';
    UPDATE ajquests SET state = '1' WHERE entry = '105';
    UPDATE ajquests SET state = '1' WHERE entry = '104';
    UPDATE ajquests SET state = '1' WHERE entry = '103';
    UPDATE ajquests SET state = '1' WHERE entry = '102';
    UPDATE ajquests SET state = '1' WHERE entry = '101';
    UPDATE ajquests SET state = '1' WHERE entry = '99';
    UPDATE ajquests SET state = '1' WHERE entry = '98';
    UPDATE ajquests SET state = '1' WHERE entry = '97';
    UPDATE ajquests SET state = '1' WHERE entry = '96';
    UPDATE ajquests SET state = '1' WHERE entry = '95';
    UPDATE ajquests SET state = '1' WHERE entry = '94';
    UPDATE ajquests SET state = '1' WHERE entry = '93';
    UPDATE ajquests SET state = '1' WHERE entry = '92';
    UPDATE ajquests SET state = '1' WHERE entry = '91';
    UPDATE ajquests SET state = '1' WHERE entry = '90';
    UPDATE ajquests SET state = '1' WHERE entry = '89';
    UPDATE ajquests SET state = '1' WHERE entry = '88';
    UPDATE ajquests SET state = '1' WHERE entry = '87';
    UPDATE ajquests SET state = '1' WHERE entry = '86';
    UPDATE ajquests SET state = '1' WHERE entry = '85';
    UPDATE ajquests SET state = '1' WHERE entry = '84';
    UPDATE ajquests SET state = '1' WHERE entry = '83';
    UPDATE ajquests SET state = '1' WHERE entry = '82';
    UPDATE ajquests SET state = '1' WHERE entry = '81';
    UPDATE ajquests SET state = '1' WHERE entry = '80';
    UPDATE ajquests SET state = '1' WHERE entry = '79';
    UPDATE ajquests SET state = '1' WHERE entry = '78';
    UPDATE ajquests SET state = '1' WHERE entry = '77';
    UPDATE ajquests SET state = '1' WHERE entry = '76';
    UPDATE ajquests SET state = '1' WHERE entry = '75';
    UPDATE ajquests SET state = '1' WHERE entry = '74';
    UPDATE ajquests SET state = '1' WHERE entry = '72';
    UPDATE ajquests SET state = '1' WHERE entry = '71';
    UPDATE ajquests SET state = '1' WHERE entry = '70';
    UPDATE ajquests SET state = '1' WHERE entry = '69';
    UPDATE ajquests SET state = '1' WHERE entry = '68';
    UPDATE ajquests SET state = '1' WHERE entry = '67';
    UPDATE ajquests SET state = '1' WHERE entry = '66';
    UPDATE ajquests SET state = '1' WHERE entry = '65';
    UPDATE ajquests SET state = '1' WHERE entry = '64';
    UPDATE ajquests SET state = '1' WHERE entry = '63';
    UPDATE ajquests SET state = '1' WHERE entry = '62';
    UPDATE ajquests SET state = '1' WHERE entry = '61';
    UPDATE ajquests SET state = '1' WHERE entry = '60';
    UPDATE ajquests SET state = '1' WHERE entry = '59';
    UPDATE ajquests SET state = '1' WHERE entry = '58';
    UPDATE ajquests SET state = '1' WHERE entry = '57';
    UPDATE ajquests SET state = '1' WHERE entry = '56';
    UPDATE ajquests SET state = '1' WHERE entry = '55';
    UPDATE ajquests SET state = '1' WHERE entry = '54';
    UPDATE ajquests SET state = '1' WHERE entry = '53';
    UPDATE ajquests SET state = '1' WHERE entry = '52';
    UPDATE ajquests SET state = '1' WHERE entry = '51';
    UPDATE ajquests SET state = '1' WHERE entry = '50';
    UPDATE ajquests SET state = '1' WHERE entry = '49';
    UPDATE ajquests SET state = '1' WHERE entry = '48';
    UPDATE ajquests SET state = '1' WHERE entry = '47';
    UPDATE ajquests SET state = '1' WHERE entry = '46';
    UPDATE ajquests SET state = '1' WHERE entry = '45';
    UPDATE ajquests SET state = '1' WHERE entry = '40';
    UPDATE ajquests SET state = '1' WHERE entry = '39';
    UPDATE ajquests SET state = '1' WHERE entry = '38';
    UPDATE ajquests SET state = '1' WHERE entry = '37';
    UPDATE ajquests SET state = '1' WHERE entry = '36';
    UPDATE ajquests SET state = '1' WHERE entry = '35';
    UPDATE ajquests SET state = '1' WHERE entry = '34';
    UPDATE ajquests SET state = '1' WHERE entry = '33';
    UPDATE ajquests SET state = '1' WHERE entry = '32';
    UPDATE ajquests SET state = '1' WHERE entry = '31';
    UPDATE ajquests SET state = '1' WHERE entry = '30';
    UPDATE ajquests SET state = '1' WHERE entry = '29';
    UPDATE ajquests SET state = '1' WHERE entry = '28';
    UPDATE ajquests SET state = '1' WHERE entry = '27';
    UPDATE ajquests SET state = '1' WHERE entry = '26';
    UPDATE ajquests SET state = '1' WHERE entry = '25';
    UPDATE ajquests SET state = '1' WHERE entry = '24';
    UPDATE ajquests SET state = '1' WHERE entry = '23';
    UPDATE ajquests SET state = '1' WHERE entry = '22';
    UPDATE ajquests SET state = '1' WHERE entry = '21';
    UPDATE ajquests SET state = '1' WHERE entry = '20';
    UPDATE ajquests SET state = '1' WHERE entry = '19';
    UPDATE ajquests SET state = '1' WHERE entry = '18';
    UPDATE ajquests SET state = '1' WHERE entry = '17';
    UPDATE ajquests SET state = '1' WHERE entry = '16';
    UPDATE ajquests SET state = '1' WHERE entry = '15';
    UPDATE ajquests SET state = '1' WHERE entry = '14';
    UPDATE ajquests SET state = '1' WHERE entry = '13';
    UPDATE ajquests SET state = '1' WHERE entry = '12';
    UPDATE ajquests SET state = '1' WHERE entry = '11';
    UPDATE ajquests SET state = '1' WHERE entry = '10';
    UPDATE ajquests SET state = '1' WHERE entry = '9';
    UPDATE ajquests SET state = '1' WHERE entry = '8';
    UPDATE ajquests SET state = '1' WHERE entry = '7';
    UPDATE ajquests SET state = '1' WHERE entry = '6';
    UPDATE ajquests SET state = '1' WHERE entry = '5';
    UPDATE ajquests SET state = '1' WHERE entry = '2';
    UPDATE ajquests SET state = '1' WHERE entry = '9990';
    UPDATE ajquests SET state = '1' WHERE entry = '8327';
    UPDATE ajquests SET state = '1' WHERE entry = '9954';
    UPDATE ajquests SET state = '1' WHERE entry = '9993';
    UPDATE ajquests SET state = '1' WHERE entry = '9995';
    UPDATE ajquests SET state = '1' WHERE entry = '9953';
    UPDATE ajquests SET state = '1' WHERE entry = '9959';
    UPDATE ajquests SET state = '1' WHERE entry = '9964';
    UPDATE ajquests SET state = '1' WHERE entry = '9966';
    UPDATE ajquests SET state = '1' WHERE entry = '9974';
    UPDATE ajquests SET state = '1' WHERE entry = '9981';
    UPDATE ajquests SET state = '1' WHERE entry = '9955';
    UPDATE ajquests SET state = '1' WHERE entry = '9961';
    UPDATE ajquests SET state = '1' WHERE entry = '9987';
    UPDATE ajquests SET state = '1' WHERE entry = '786';
    UPDATE ajquests SET state = '1' WHERE entry = '9752';
    UPDATE ajquests SET state = '1' WHERE entry = '9771';
    UPDATE ajquests SET state = '1' WHERE entry = '9772';
    UPDATE ajquests SET state = '1' WHERE entry = '9784';
    UPDATE ajquests SET state = '1' WHERE entry = '9789';
    UPDATE ajquests SET state = '1' WHERE entry = '9913';
    UPDATE ajquests SET state = '1' WHERE entry = '9920';
    UPDATE ajquests SET state = '1' WHERE entry = '9921';
    UPDATE ajquests SET state = '1' WHERE entry = '9923';
    UPDATE ajquests SET state = '1' WHERE entry = '9924';
    UPDATE ajquests SET state = '1' WHERE entry = '9925';
    UPDATE ajquests SET state = '1' WHERE entry = '9931';
    UPDATE ajquests SET state = '1' WHERE entry = '9932';
    UPDATE ajquests SET state = '1' WHERE entry = '9933';
    UPDATE ajquests SET state = '1' WHERE entry = '9934';
    UPDATE ajquests SET state = '1' WHERE entry = '9935';
    UPDATE ajquests SET state = '1' WHERE entry = '9945';
    UPDATE ajquests SET state = '1' WHERE entry = '9956';
    UPDATE ajquests SET state = '1' WHERE entry = '9957';
    UPDATE ajquests SET state = '1' WHERE entry = '9962';
    UPDATE ajquests SET state = '1' WHERE entry = '9967';
    UPDATE ajquests SET state = '1' WHERE entry = '9970';
    UPDATE ajquests SET state = '1' WHERE entry = '9972';
    UPDATE ajquests SET state = '1' WHERE entry = '9973';
    UPDATE ajquests SET state = '1' WHERE entry = '9983';
    UPDATE ajquests SET state = '1' WHERE entry = '9991';
    UPDATE ajquests SET state = '1' WHERE entry = '9999';
    UPDATE ajquests SET state = '1' WHERE entry = '9968';
    UPDATE ajquests SET state = '1' WHERE entry = '9919';
    