-- MySQL dump 10.16  Distrib 10.1.44-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: Warpit_Webcati
-- ------------------------------------------------------
-- Server version	10.1.44-MariaDB-0+deb9u1

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `HFCS08_Erwerb_script`
--

DROP TABLE IF EXISTS `HFCS08_Erwerb_script`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `HFCS08_Erwerb_script` (
  `id_question` int(11) NOT NULL,
  `id_event` int(11) NOT NULL,
  `script` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id_question`,`id_event`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `HFCS08_Erwerb_script`
--

LOCK TABLES `HFCS08_Erwerb_script` WRITE;
/*!40000 ALTER TABLE `HFCS08_Erwerb_script` DISABLE KEYS */;
INSERT INTO `HFCS08_Erwerb_script` VALUES (7,1,'$AHL0110 = reset(getVar(\"AHL0110\"));\n\n$address =  getAddress(\"HFCS_Base\");\n$questTxt = \"Können Sie mir bestätigen, dass \";\n$questTxt .= \"<b>\".$address[\"street\"].\", \".$address[\"plz\"].\" \".$address[\"ort\"].\"</b>\";\n$questTxt .= \" die korrekte Adresse des Haushalts ist?\";\n\nsaveVar(\"questtxt_1 = \'\".$questTxt.\"\'\");\n\n$instxt = \"\";\nif ($AHL0110 == 2) {\n    $instxt = \"Abweichung klären und gegebenenfalls Feldleitung informieren!\";\n}\nsetInstruction($instxt);\n'),(9,1,'\n'),(9,2,'$AHL0121 = reset(getVar(\"AHL0121\"));\n\n$instxt = \"Interviewer: Bitte bestätigen Sie, das jener Haushalt ausgewählt wurde, dem die Person angehört, \n    die das Infromationsschreiben erhalten hat (Interviewer führt eine Kopie mit sich).\";\nif ($AHL0121 == 2) {\n    $instxt .= \"<br><br>Interviewer: Suchen Sie den Haushalt auf, dem die Person angehört die das Infromationsschreiben erhalten hat.\";\n}\nsetInstruction($instxt);'),(19,1,'\n'),(19,2,'getQuestData();'),(20,2,'\ngetQuestData();\necho \"TEST\";\n'),(51,2,'\n'),(51,1,'if(!isProxy()) {\n    saveVar(\"refPers_1=\'\".reset(getVar(\"AHL0130_opn\")).\"\'\");\n}\n\n'),(38,2,'\n'),(130,1,'makePersList();'),(28,2,'        $anzPers = anzPers();\n        $questtxt = \"Sie haben folgende Haushaltsmitglieder angegeben. Ist dieser Auflistung korrekt?<br><br>\";\n        for ($pers=1;$pers<=$anzPers;$pers++) {\n            $questtxt .= reset(getVar(\"dumPers_\".$pers)).\"<br>\";\n        }\n        $questtxt .= \"<br>\";\nsetQuestion($questtxt);'),(131,1,'\n'),(131,2,'getQuestData();'),(38,3,'\nvar anzpers = document.getElementById(\"anzpers\").value;\nvar start = parseInt(anzpers)+1;\n//alert(start);\n\nvar it;\n    document.getElementById(\"ct_RA010x1\").disabled = true;\n    document.getElementById(\"ct_ARA091x1\").disabled = true;\n         \n\nfor (it=1;it<=15;it=it+1) {\n        //alert(\"ct_RA000x\"+it+\"_1\");\n    document.getElementById(\"ct_ARA092x\"+it+\"\")\n         .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"none\";\n    \n    document.getElementById(\"ct_ARA091x\"+it+\"\").addEventListener(\n         \'change\',\n        function(){\n            if(this.value==2) {\n                var res = this.id.substring(10, 12);\n            //alert(\"Wert: \"+this.value+\"<br>it: \"+res);\n                document.getElementById(\"ct_ARA092x\"+res+\"\")\n                 .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"block\";\n                }\n            if(this.value==1) {\n                var res = this.id.substring(10, 12);\n            //alert(\"Wert: \"+this.value+\"<br>it: \"+res);\n                document.getElementById(\"ct_ARA092x\"+res+\"\")\n                 .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"none\";\n                }\n        },\n         false\n    );\n}\n\nfor (it=start;it<=15;it=it+1) {\n        //alert(\"ct_RA000x\"+it+\"_1\");\n document.getElementById(\"ct_RA000x\"+it+\"_1\")\n     .parentNode.parentNode.parentNode.parentNode.parentNode\n     .parentNode.parentNode.parentNode.parentNode.parentNode\n     .parentNode.parentNode.parentNode.parentNode.parentNode\n     .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"none\";\n    }\n\n'),(38,1,'$anzpers = reset(getVar(\"AHL0210_1\"));\nsaveVar(\"RA010x1=1\");\necho \'<input id=projname type=\"hidden\" name=\"for Ajax1\" value=\"\'.$_SESSION[\'projname\'].\'\">\';\necho \'<input id=idrecord type=\"hidden\" name=\"for Ajax2\" value=\"\'.$_SESSION[\'id_record\'].\'\">\';\necho \'<input id=anzpers type=\"hidden\" name=\"for Ajax3\" value=\"\'.$anzpers.\'\">\';\n\n'),(16,3,'/*\nbutton = document.getElementById(\"submitCallStatus\");\n\n\nbutton.onclick = function() {\n    window.close();\n}\n*/\n\n'),(165,1,'makePersList();'),(165,2,'\n'),(134,2,'getQuestData();'),(166,1,'getQuestData(\"hfcs01xdummy\");'),(15,1,'$id_resp = reset(getVar(\"EV_id_resp\"));\n\n if ($id_resp != Null && $id_resp != \'\') {\n       saveVar(\"dtxtvars_1=\".$id_resp);\n    }'),(14,1,'\nsaveId(reset(getVar(\"EV_id_resp\")));'),(135,2,'getQuestData();'),(137,2,'getQuestData();'),(136,2,'getQuestData();'),(138,2,'getQuestData();'),(143,2,'getQuestData();'),(139,2,'getQuestData();\n'),(142,2,'getQuestData();\n'),(144,2,'getQuestData();\n'),(136,1,'    $txtchck = sprintf(\'APE0100_1,APE0100_2,APE0100_3,APE0100_4,APE0100_5,APE0100_6,APE0100_7,APE0100_8,APE0100_9,APE0100_10,APE0100_11,APE0100_12,APE0100_13\');\n    $checkvar = getVar($txtchck);\n    $allvars = $txtchck;\n    $iter = 0;\n    $count = 0;\n        foreach (explode(\",\",$allvars) as $itemvar) {\n            $iter++;\n           $$itemvar = $checkvar[$itemvar] ;\n           if ($checkvar[$itemvar] == $iter) {\n               $count++; \n                $setIfSr =  $checkvar[$itemvar];\n               }\n        }\nif ($count == 1) {\n           saveVar(\'APE0100sr=\'.$setIfSr);\n}\n    \n'),(148,2,'getQuestData();'),(149,2,'getQuestData();\n'),(150,2,'getQuestData();\n'),(138,1,'    $txtchck = sprintf(\'APE0200_1,APE0200_2,APE0200_3,APE0200_4,APE0200_5,APE0200_6,APE0200_7,APE0200_8,APE0200_9,APE0200_10,APE0200_11,APE0200_12,APE0200_13,APE0200_14,APE0200_15\');\n    $checkvar = getVar($txtchck);\n    $allvars = $txtchck;\n    $iter = 0;\n    $count = 0;\n        foreach (explode(\",\",$allvars) as $itemvar) {\n            $iter++;\n           $$itemvar = $checkvar[$itemvar] ;\n           if ($checkvar[$itemvar] == $iter) {\n               $count++;\n                $setIfSr =  $checkvar[$itemvar];\n               }\n        }\nif ($count == 1) {\n           saveVar(\'APE0200sr=\'.$setIfSr);\n}\n    \n'),(145,2,'getQuestData();'),(146,2,'getQuestData();'),(147,2,'getQuestData();'),(168,2,'getQuestData();'),(150,1,'    $txtchck = sprintf(\'APE0250_1,APE0250_2,APE0250_3,APE0250_4,APE0250_5,APE0250_6,APE0250_7,APE0250_8,APE0250_9,APE0250_10,APE0250_11,APE0250_12,APE0250_13,APE0250_14,APE0250_15\');\n    $checkvar = getVar($txtchck);\n    $allvars = $txtchck;\n    $iter = 0;\n    $count = 0;\n        foreach (explode(\",\",$allvars) as $itemvar) {\n            $iter++;\n           $$itemvar = $checkvar[$itemvar] ;\n           if ($checkvar[$itemvar] == $iter) {\n               $count++;\n                $setIfSr =  $checkvar[$itemvar];\n               }\n        }\nif ($count == 1) {\n           saveVar(\'APE0250sr=\'.$setIfSr);\n}\n    '),(152,2,'getQuestData();'),(151,2,'getQuestData();'),(153,2,'getQuestData();'),(154,2,'getQuestData();'),(154,1,'echo \"TEST\";    \n$txtchck = sprintf(\'APE0270_1,APE0270_2,APE0270_3,APE0270_4,APE0270_5,APE0270_6,APE0270_7,APE0270_8,APE0270_9,APE0270_10,APE0270_11,APE0270_12,APE0270_13,APE0270_14,APE0270_15\');\n\n$checkvar = getVar($txtchck);\n    $allvars = $txtchck;\n    $iter = 0;\n    $count = 0;\n        foreach (explode(\",\",$allvars) as $itemvar) {\n            $iter++;\n           $$itemvar = $checkvar[$itemvar] ;\n           if ($checkvar[$itemvar] == $iter) {\n               $count++;\n                $setIfSr =  $checkvar[$itemvar];\n               }\n        }\n\nif ($count == 1) {\n           saveVar(\'APE0270sr=\'.$setIfSr);\n}\n'),(155,2,'getQuestData();\n'),(156,2,'getQuestData();\n'),(157,2,'getQuestData();'),(158,2,'getQuestData();\n'),(159,2,'getQuestData();'),(160,2,'getQuestData();\n'),(161,2,'getQuestData();'),(162,2,'getQuestData();'),(172,2,'getQuestData();\n'),(173,2,'getQuestData();'),(174,2,'getQuestData();'),(175,2,'getQuestData();'),(176,2,'getQuestData();'),(179,2,'getQuestData();'),(182,2,'getQuestData();'),(185,2,'getQuestData();'),(188,2,'getQuestData();'),(191,2,'getQuestData();'),(192,2,'getQuestData();'),(195,2,'getQuestData();'),(196,2,'getQuestData();'),(199,2,'getQuestData();'),(201,2,'getQuestData();'),(203,2,'getQuestData();'),(205,2,'getQuestData();'),(207,2,'getQuestData();'),(210,2,'getQuestData();'),(212,2,'getQuestData();'),(215,2,'getQuestData();'),(216,2,'getQuestData();'),(241,2,'getQuestData();'),(221,2,'getQuestData();'),(222,2,'getQuestData();'),(223,2,'getQuestData();'),(224,2,'getQuestData();'),(225,2,'getQuestData();'),(226,2,'getQuestData();'),(227,2,'getQuestData();'),(228,2,'getQuestData();'),(240,2,'getQuestData();'),(232,2,'getQuestData();'),(233,2,'getQuestData();'),(235,2,'getQuestData();'),(236,2,'getQuestData();'),(174,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(175,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(177,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(178,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(180,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(181,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(183,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(184,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(186,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(187,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(189,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(190,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(193,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(194,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(197,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(200,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(202,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(204,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(206,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(208,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(209,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(211,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(214,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(226,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);\n'),(180,2,'getQuestData();'),(183,2,'getQuestData();'),(184,1,'\n'),(186,2,'getQuestData();'),(187,2,'getQuestData();'),(231,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(235,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(236,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(177,2,'getQuestData();'),(178,2,'getQuestData();'),(189,2,'getQuestData();'),(190,2,'getQuestData();'),(193,2,'getQuestData();'),(194,2,'getQuestData();'),(197,2,'getQuestData();'),(200,2,'getQuestData();'),(202,2,'getQuestData();'),(204,2,'getQuestData();'),(206,2,'getQuestData();'),(184,2,'getQuestData();'),(208,2,'getQuestData();\n'),(211,2,'getQuestData();\n'),(214,2,'getQuestData();'),(231,2,'getQuestData();\n'),(234,2,'getQuestData();'),(234,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);\n'),(16,1,'saveVar(\"ENDIV=1\");'),(16,2,'getQuestData(\"ENDIV\");'),(0,3,'$label = idToName($_SESSION[\'nextQuestion\'][0][\"id\"]);\n\n$fbTeil = \"Erwerb\";\nif (substr($label,0,2)==\"PG\" || substr($label,0,3)==\"APG\" || substr($label,5,2)==\"PG\" || substr($label,5,3)==\"APG\") $fbTeil = \"Einkommen\";\nif (substr($label,0,2)==\"HG\" || substr($label,0,3)==\"AHG\" || substr($label,5,2)==\"HG\" || substr($label,5,3)==\"AHG\") $fbTeil = \"Einkommen\";\nif (substr($label,0,2)==\"PF\" || substr($label,0,3)==\"APF\" || substr($label,5,2)==\"PF\" || substr($label,5,3)==\"APF\") $fbTeil = \"Pension\";\nif (substr($label,0,2)==\"PA\" || substr($label,0,3)==\"APA\" || substr($label,5,2)==\"PA\" || substr($label,5,3)==\"APA\") $fbTeil = \"Lebenszufriedenheit\";\n\nsetCustomDesignerText(\'custTitle\', \'HFCS 2020 - \'.$fbTeil);'),(249,2,'getQuestData();'),(250,2,'getQuestData();'),(251,2,'getQuestData();'),(252,2,'getQuestData();'),(253,2,'getQuestData();'),(248,2,'getQuestData();'),(243,2,'getQuestData(\"HGxRef\");'),(238,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(238,2,'getQuestData();'),(255,2,'getQuestData();'),(256,2,'getQuestData();'),(257,2,'getQuestData();'),(258,2,'getQuestData();'),(259,2,'getQuestData();'),(260,2,'getQuestData();'),(261,2,'getQuestData();'),(262,2,'getQuestData();'),(263,2,'getQuestData();'),(264,2,'getQuestData();'),(265,2,'getQuestData();'),(266,2,'getQuestData();'),(267,2,'getQuestData();'),(268,2,'getQuestData();'),(269,2,'getQuestData();'),(270,2,'getQuestData();'),(271,2,'getQuestData();'),(272,2,'getQuestData();'),(273,2,'getQuestData();'),(274,2,'getQuestData();'),(275,2,'getQuestData();'),(276,2,'getQuestData();'),(277,2,'getQuestData();'),(278,2,'getQuestData();'),(279,2,'getQuestData();'),(280,2,'getQuestData();'),(281,2,'getQuestData();'),(282,2,'getQuestData();'),(283,2,'getQuestData();'),(284,2,'getQuestData();'),(285,2,'getQuestData();'),(286,2,'getQuestData();'),(231,1,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(181,2,'getQuestData();'),(134,1,'//makePersList();'),(171,1,'getQuestData(\"PGein\");'),(242,2,'getQuestData();'),(288,3,'document.getElementById(\"ct_PE0300_1\").parentNode.parentNode.style.display=\"none\";\n$(\'#ct_PE0300_2\').css(\'width\',800);\n//document.getElementById(\"ct_isconew_1\").style.display=\"none\"; // Antwort wird ausgeblendet\n//document.getElementById(\"op_isconew_1\").style.display=\"none\"; // Freitextfeld muss zusätzlich ausgeblendet werden\n \n//autocomlete FUnktion, mit externem php Skirpt zur Aufbereitung der Datensätze aus externer Datenquelle\n$(function() {\n    var tbID = $(\"#ct_PE0300_1\"),\n        tbLabel = $(\"#ct_PE0300_2\"),\n        ebene = \'3\'; //Verwendetet Ebenen der ISCO Codierung BSp: \'3\',\'2\',\'34\' für Ebenen 3 und 4\n        //frage = $(\"#frageID\");\n    tbLabel.autocomplete({\n        minLength: 3, // Suche startet ab 3 Zeichen\n        \n        source: function(request, response) {\n            $.ajax({\n                url: \"../../../webIfesProjects/CustomSkripts/lookups/lookup_oeisco08.php\", // relativer Pfad zum Skript\n                dataType: \"json\",\n                data: {\n                    query: request.term,\n                 },\n                success: function(data) {\n                    response(data);\n                }\n            });\n        },\n        focus: function(event, ui) {\n            tbID.val(ui.item.value);\n            return false;\n        },\n        select: function(event, ui) {\n            tbID.val(ui.item.value);\n            tbLabel.val(ui.item.label_ret);\n            console.log(\"UI: \"+ui.item.value);\n            return false;\n        }\n    });\n     \n    var found = $.grep(data, function(element) {\n        return (element.value == tbID.val());\n    });\n});'),(287,3,'document.getElementById(\"ct_PE0400_1\").parentNode.parentNode.style.display=\"none\";\n$(\'#ct_PE0400_2\').css(\'width\',800);\n//document.getElementById(\"ct_isconew_1\").style.display=\"none\"; // Antwort wird ausgeblendet\n//document.getElementById(\"op_isconew_1\").style.display=\"none\"; // Freitextfeld muss zusätzlich ausgeblendet werden\n \n//autocomlete FUnktion, mit externem php Skirpt zur Aufbereitung der Datensätze aus externer Datenquelle\n$(function() {\n    var tbID = $(\"#ct_PE0400_1\"),\n        tbLabel = $(\"#ct_PE0400_2\"),\n        ebene = \'45\'; //Verwendetet Ebenen der ISCO Codierung BSp: \'3\',\'2\',\'34\' für Ebenen 3 und 4\n        //frage = $(\"#frageID\");\n    tbLabel.autocomplete({\n        minLength: 3, // Suche startet ab 3 Zeichen\n        \n        source: function(request, response) {\n            $.ajax({\n                url: \"../../../webIfesProjects/CustomSkripts/lookups/lookup_oenace2008.php\", // relativer Pfad zum Skript\n                dataType: \"json\",\n                data: {\n                    query: request.term,\n                 },\n                success: function(data) {\n                    response(data);\n                }\n            });\n        },\n        focus: function(event, ui) {\n            tbID.val(ui.item.value);\n            return false;\n        },\n        select: function(event, ui) {\n            tbID.val(ui.item.value);\n            tbLabel.val(ui.item.label_ret);\n            return false;\n        }\n    });\n     \n    var found = $.grep(data, function(element) {\n        return (element.value == tbID.val());\n    });\n});');
/*!40000 ALTER TABLE `HFCS08_Erwerb_script` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2020-05-28 17:23:12
