-- 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 `HFCS04_Immobilien_script`
--

DROP TABLE IF EXISTS `HFCS04_Immobilien_script`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `HFCS04_Immobilien_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 `HFCS04_Immobilien_script`
--

LOCK TABLES `HFCS04_Immobilien_script` WRITE;
/*!40000 ALTER TABLE `HFCS04_Immobilien_script` DISABLE KEYS */;
INSERT INTO `HFCS04_Immobilien_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,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,2,'getQuestData();'),(20,2,'\ngetQuestData();\necho \"TEST\";\n'),(51,1,'if(!isProxy()) {\n    saveVar(\"refPers_1=\'\".reset(getVar(\"AHL0130_opn\")).\"\'\");\n}\n\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);'),(259,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(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'),(14,1,'saveId();\nsaveVar(\"dtxtvars_2=\'<img src=\\\"../../webIfesProjects/60011047/sos.jpg\\\" alt=\\\"Roter Knopf\\\" style=\\\"width:40px;\\\">\'\");\n\n'),(226,1,'getQuestData(\"hfcs01xdummy\");'),(138,2,'getQuestData();\n'),(137,2,'getQuestData();'),(139,2,'getQuestData();\n'),(140,2,'getQuestData();'),(141,2,'getQuestData();'),(142,2,'getQuestData();'),(143,2,'getQuestData();'),(144,2,'getQuestData();'),(145,2,'getQuestData();'),(146,2,'getQuestData();'),(148,2,'getQuestData();'),(149,2,'getQuestData();'),(150,2,'getQuestData();'),(151,2,'getQuestData();'),(152,2,'getQuestData();'),(227,2,'getQuestData();'),(153,2,'getQuestData();'),(145,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(146,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(151,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(152,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(227,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(229,1,'getQuestData(\"hfcs02xdummy\");'),(233,2,'getQuestData();\n'),(158,2,'getQuestData();'),(235,2,'getQuestData();'),(161,2,'getQuestData();\n'),(162,2,'getQuestData();'),(163,2,'getQuestData();\n'),(222,2,'getQuestData();\n'),(223,2,'getQuestData();'),(164,2,'getQuestData();'),(221,2,'getQuestData();\n'),(259,2,'getQuestData();'),(166,2,'getQuestData();'),(167,2,'getQuestData();'),(168,2,'getQuestData();'),(172,2,'getQuestData();'),(173,2,'getQuestData();'),(167,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(169,2,'getQuestData();\n'),(169,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(173,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(174,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(174,2,'getQuestData();\n'),(175,2,'getQuestData();'),(176,2,'getQuestData();\n'),(177,2,'getQuestData();'),(179,2,'getQuestData();'),(181,2,'getQuestData();'),(241,2,'getQuestData();'),(242,2,'getQuestData();'),(183,2,'getQuestData();\nsaveVar(\"hbroute1=1\");'),(184,2,'getQuestData();'),(241,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(258,2,'getQuestData();'),(251,2,'getQuestData();\n'),(252,2,'getQuestData();\n'),(254,2,'getQuestData();'),(255,2,'getQuestData();'),(257,2,'getQuestData();'),(224,2,'getQuestData();\n'),(186,2,'getQuestData();'),(187,2,'getQuestData();'),(245,1,'\n'),(189,2,'getQuestData();'),(190,2,'getQuestData();'),(191,2,'getQuestData();'),(192,1,'\n'),(193,2,'getQuestData();'),(194,2,'getQuestData();'),(195,2,'getQuestData();'),(225,1,'\n'),(196,2,'getQuestData();'),(197,2,'getQuestData();'),(198,2,'getQuestData();'),(199,2,'getQuestData();'),(200,2,'getQuestData();'),(201,2,'getQuestData();'),(202,2,'getQuestData();'),(203,2,'getQuestData();'),(204,2,'getQuestData();'),(207,2,'getQuestData();'),(208,2,'getQuestData();'),(209,2,'getQuestData();'),(210,2,'getQuestData();'),(211,2,'getQuestData();'),(212,2,'getQuestData();'),(213,2,'getQuestData();'),(214,2,'getQuestData();'),(215,2,'getQuestData();'),(216,2,'getQuestData();'),(217,2,'getQuestData();'),(218,2,'getQuestData();'),(219,2,'getQuestData();'),(191,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(192,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);'),(165,2,'getQuestData();'),(175,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(176,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);'),(181,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);\n'),(260,2,'getQuestData();'),(261,2,'getQuestData();\n'),(261,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(264,2,'getQuestData();'),(265,2,'getQuestData();'),(265,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(266,2,'getQuestData();\n'),(267,2,'getQuestData();\n'),(269,2,'getQuestData();'),(270,2,'getQuestData();'),(272,2,'getQuestData();'),(273,2,'getQuestData();'),(274,2,'getQuestData();'),(274,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(275,2,'getQuestData();'),(276,2,'getQuestData();\n'),(276,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(279,2,'getQuestData();'),(280,2,'getQuestData();'),(280,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(283,2,'getQuestData();\n'),(285,2,'getQuestData();'),(286,2,'getQuestData();'),(288,1,'\n'),(289,2,'getQuestData();'),(290,2,'getQuestData();'),(291,2,'getQuestData();'),(291,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(292,1,'\n'),(292,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(293,2,'getQuestData();\n'),(295,2,'getQuestData();'),(296,2,'getQuestData();'),(298,1,'\n'),(299,2,'getQuestData();'),(300,2,'getQuestData();'),(301,2,'getQuestData();'),(301,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(302,1,'\n'),(302,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(302,2,'getQuestData();'),(225,2,'getQuestData();'),(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);'),(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);'),(210,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(213,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(215,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(217,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(219,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(192,2,'getQuestData();'),(292,2,'getQuestData();'),(307,1,'\n'),(307,2,'getQuestData();'),(308,2,'getQuestData();'),(310,2,'getQuestData();'),(311,2,'getQuestData();'),(312,2,'getQuestData();'),(314,2,'getQuestData();'),(315,2,'getQuestData();'),(316,2,'getQuestData();'),(316,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(317,2,'getQuestData();'),(318,2,'getQuestData();'),(318,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(321,2,'getQuestData();'),(322,2,'getQuestData();'),(322,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(323,1,'\n'),(323,2,'getQuestData();'),(324,2,'getQuestData();'),(326,2,'getQuestData();'),(327,2,'getQuestData();'),(328,2,'getQuestData();'),(330,2,'getQuestData();'),(331,2,'getQuestData();'),(332,2,'getQuestData();'),(332,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(333,2,'getQuestData();'),(334,2,'getQuestData();'),(334,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(337,2,'getQuestData();'),(338,2,'getQuestData();'),(338,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(339,1,'\n'),(339,2,'getQuestData();'),(340,2,'getQuestData();'),(342,2,'getQuestData();'),(343,2,'getQuestData();'),(344,2,'getQuestData();'),(346,2,'getQuestData();'),(347,2,'getQuestData();'),(348,2,'getQuestData();'),(348,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(349,2,'getQuestData();'),(350,2,'getQuestData();'),(350,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(353,2,'getQuestData();'),(354,2,'getQuestData();'),(354,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(355,1,'\n'),(355,2,'getQuestData();'),(356,2,'getQuestData();'),(358,2,'getQuestData();'),(359,2,'getQuestData();'),(360,2,'getQuestData();'),(362,2,'getQuestData();'),(363,2,'getQuestData();'),(364,2,'getQuestData();'),(364,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(365,2,'getQuestData();'),(366,2,'getQuestData();'),(366,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(369,2,'getQuestData();'),(370,2,'getQuestData();'),(370,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(245,2,'getQuestData();'),(288,2,'getQuestData();'),(298,2,'getQuestData();'),(16,1,'saveVar(\"ENDIV=1\");'),(16,2,'getQuestData(\"ENDIV\");'),(0,3,'setCustomDesignerText(\'custTitle\', \'HFCS 2020 - Immobilien\');'),(372,2,'getQuestData();'),(373,2,'getQuestData();'),(374,2,'getQuestData();'),(375,2,'getQuestData();'),(376,2,'getQuestData();'),(377,2,'getQuestData();'),(378,2,'getQuestData();'),(379,2,'getQuestData();'),(380,2,'getQuestData();'),(381,2,'getQuestData();'),(382,2,'getQuestData();'),(383,2,'getQuestData();'),(384,2,'getQuestData();'),(385,2,'getQuestData();'),(386,2,'getQuestData();'),(387,2,'getQuestData();'),(388,2,'getQuestData();'),(389,2,'getQuestData();'),(390,2,'getQuestData();'),(391,2,'getQuestData();'),(392,2,'getQuestData();'),(393,2,'getQuestData();'),(394,2,'getQuestData();'),(395,2,'getQuestData();'),(396,2,'getQuestData();'),(397,2,'getQuestData();'),(398,2,'getQuestData();'),(399,2,'getQuestData();'),(400,2,'getQuestData();'),(401,2,'getQuestData();'),(402,2,'getQuestData();'),(403,2,'getQuestData();'),(404,2,'getQuestData();'),(405,2,'getQuestData();'),(406,2,'getQuestData();'),(407,2,'getQuestData();'),(408,2,'getQuestData();'),(409,2,'getQuestData();'),(410,2,'getQuestData();'),(411,2,'getQuestData();'),(412,2,'getQuestData();'),(413,2,'getQuestData();'),(414,2,'getQuestData();'),(415,2,'getQuestData();'),(416,2,'getQuestData();'),(417,2,'getQuestData();'),(418,2,'getQuestData();'),(419,2,'getQuestData();'),(420,2,'getQuestData();'),(421,2,'getQuestData();'),(422,2,'getQuestData();'),(423,2,'getQuestData();'),(424,2,'getQuestData();'),(425,2,'getQuestData();'),(426,2,'getQuestData();'),(427,2,'getQuestData();'),(428,2,'getQuestData();'),(429,2,'getQuestData();'),(430,2,'getQuestData();'),(431,2,'getQuestData();'),(432,2,'getQuestData();'),(433,2,'getQuestData();'),(434,2,'getQuestData();'),(435,2,'getQuestData();'),(436,2,'getQuestData();'),(437,2,'getQuestData();'),(438,2,'getQuestData();'),(439,2,'getQuestData();'),(440,2,'getQuestData();'),(441,2,'getQuestData();'),(442,2,'getQuestData();'),(443,2,'getQuestData();'),(444,2,'getQuestData();'),(445,2,'getQuestData();'),(446,2,'getQuestData();'),(447,2,'getQuestData();'),(448,2,'getQuestData();'),(449,2,'getQuestData();'),(450,2,'getQuestData();'),(451,2,'getQuestData();'),(452,2,'getQuestData();'),(453,2,'getQuestData();'),(454,2,'getQuestData();'),(455,2,'getQuestData();'),(456,2,'getQuestData();'),(457,2,'getQuestData();'),(458,2,'getQuestData();'),(459,2,'getQuestData();'),(460,2,'getQuestData();'),(461,2,'getQuestData();'),(462,2,'getQuestData();'),(463,2,'getQuestData();'),(464,2,'getQuestData();'),(465,2,'getQuestData();'),(466,2,'getQuestData();'),(467,2,'getQuestData();'),(468,2,'getQuestData();'),(469,2,'getQuestData();'),(470,2,'getQuestData();'),(471,2,'getQuestData();'),(472,2,'getQuestData();'),(473,2,'getQuestData();'),(474,2,'getQuestData();'),(475,2,'getQuestData();'),(476,2,'getQuestData();'),(477,2,'getQuestData();'),(478,2,'getQuestData();'),(479,2,'getQuestData();'),(480,2,'getQuestData();'),(481,2,'getQuestData();'),(482,2,'getQuestData();'),(483,2,'getQuestData();'),(484,2,'getQuestData();'),(485,2,'getQuestData();'),(486,2,'getQuestData();'),(487,2,'getQuestData();'),(488,2,'getQuestData();'),(489,2,'getQuestData();'),(490,2,'getQuestData();'),(491,2,'getQuestData();'),(492,2,'getQuestData();'),(493,2,'getQuestData();'),(494,2,'getQuestData();'),(495,2,'getQuestData();'),(496,2,'getQuestData();'),(497,2,'getQuestData();'),(498,2,'getQuestData();'),(499,2,'getQuestData();'),(500,2,'getQuestData();'),(501,2,'getQuestData();'),(502,2,'getQuestData();'),(503,2,'getQuestData();'),(504,2,'getQuestData();'),(505,2,'getQuestData();'),(506,2,'getQuestData();'),(507,2,'getQuestData();'),(508,2,'getQuestData();'),(509,2,'getQuestData();'),(510,2,'getQuestData();'),(511,2,'getQuestData();'),(512,2,'getQuestData();'),(513,2,'getQuestData();'),(514,2,'getQuestData();'),(515,2,'getQuestData();'),(516,2,'getQuestData();'),(517,2,'getQuestData();'),(518,2,'getQuestData();'),(519,2,'getQuestData();'),(520,2,'getQuestData();'),(521,2,'getQuestData();'),(522,2,'getQuestData();'),(523,2,'getQuestData();'),(524,2,'getQuestData();'),(525,2,'getQuestData();'),(526,2,'getQuestData();'),(527,2,'getQuestData();'),(528,2,'getQuestData();'),(529,2,'getQuestData();'),(530,2,'getQuestData();'),(531,2,'getQuestData();'),(532,2,'getQuestData();'),(533,2,'getQuestData();'),(534,2,'getQuestData();'),(535,2,'getQuestData();'),(536,2,'getQuestData();'),(537,2,'getQuestData();'),(538,2,'getQuestData();'),(539,2,'getQuestData();'),(161,3,'for (var inp=1;inp<=5;inp++) {\n\n    const div1 = document.getElementById(\"op_HBZ010_\"+inp);\n    const div2 = document.getElementById(\"op_HBZ010_\"+inp).parentNode.firstChild.firstChild.firstChild.firstChild.firstChild;\n    document.getElementById(\"ct_HBZ010_\"+inp).style.display=\"none\";\n    div1.after(div2);\n}\n$( document ).ready(function() {\n    console.log( \"ready!\" );\n    var summe = 0;\n    for (var inp=1;inp<=5;inp++) {\n        var posvalue=0;\n        if (isNaN(parseInt($(\"#op_HBZ010_\"+inp).val()))) { \n        } else {\n            posvalue = parseInt($(\"#op_HBZ010_\"+inp).val());\n        }\n        summe = summe +posvalue;\n    }\n    var rest = 10-summe;\n    $(\"#rest\").html(rest);\n    $(\"#rest\").css(\"color\", \"black\");\n    if (rest<0) $(\"#rest\").css(\"color\", \"red\");\n});\n\n$( \"input\" ).on(\n    \"change\", // Bind handlers for multiple events\n    function() {\n        var summe = 0;\n        for (var inp=1;inp<=5;inp++) {\n            var posvalue=0;\n            if (isNaN(parseInt($(\"#op_HBZ010_\"+inp).val()))) { \n                $(\"#op_HBZ010_\"+inp).val(\"\");\n            } else {\n                $(\"#op_HBZ010_\"+inp).val(parseInt($(\"#op_HBZ010_\"+inp).val()));\n                posvalue = parseInt($(\"#op_HBZ010_\"+inp).val());\n            }\n            summe = summe +posvalue;\n        }\n        var rest = 10-summe;\n        $(\"#rest\").html(rest);\n        $(\"#rest\").css(\"color\", \"black\");\n    if (rest<0) {\n        $(\"#rest\").css(\"color\", \"red\");\n        alert(\"Es sollen (maximal) 10 Punkte verteilt werden!\");\n    }\n    }\n);'),(543,2,'if (reset(getVar(\"hbroute1\"))!=1)\nsaveVar(\"hbroute1=2\");'),(543,3,'let value = $(\"#ct_hbroute1_2\").val();\nconsole.log(value);\n/*        setTimeout(function() { \n            $(\'[name=\"questSubmit\"]\').removeAttr(\'disabled\');  \n        },5000);   // move after 5 seconds \n*/\nif($(\"#ct_hbroute1_2\").is(\':checked\')) {\n    setTimeout(function() { \n            $(\'[name=\"questSubmit\"]\').trigger(\'click\'); \n    },0);   // enable after 1 seconds \n}'),(439,1,'saveVar(\"hbroute1=2\");'),(544,2,'getQuestData();'),(545,2,'getQuestData();'),(546,2,'getQuestData();'),(547,2,'getQuestData();');
/*!40000 ALTER TABLE `HFCS04_Immobilien_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:10
