treatment "fragebogen_ersterteil_holtlaury_final"{
	background{
		table globals{
		}
		table subjects{
		}
		table summary{
		}
		table contracts{
		}
		table session{
		}
		numsubjects = 4;
		numgroups = 1;
		numpracticeperiods = 0;
		numactualperiods = 1;
		exchangerate = 1;
		startendowment = 0;
		showupfee = 0;
		noAutoscope = FALSE;
		firstBoxesOnTop = FALSE;
		showupfeeawaytext = "Sie haben Verlust gemacht. Wollen Sie das Startgeld einsetzen, um diesen Verlust zu decken?";
		showupfeeawayyestext = "Ja";
		showupfeeawaynotext = "Nein";
		moneyawaytext = "Sie haben Verlust gemacht. Wollen Sie weiterfahren?";
		moneyawayyestext = "Ja";
		moneyawaynotext = "Nein";
		bancruptwaittext = "Bitte warten Sie bis Ihr Computer wieder freigegeben wird.";
		program{
			table = subjects;
			do{
				//Lotterie
				array r[1,10];
				
				
				
				//0=lotterie A; 1= lotterie B
			}
		}
		screen action{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
			headerbox "Header"{
				hasframe = TRUE;
				height = 10%;
				top = 0p;
				cuttop = TRUE;
				showPeriods = FALSE;
				showNumPeriods = FALSE;
				periodtext = "Fragebogen Teil 1";
				practiceperiodprefix = "Probe ";
				showtime = TRUE;
				timestr = "Verbleibende Zeit [sec]:";
				pleasedecidetext = "Bitte entscheiden Sie sich jetzt !";
			}
		}
		screen wait{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
			standardbox "Text"{
				hasframe = TRUE;
				buttonposition = BOTTOMRIGHT;
				buttonsequence = HORIZONTAL;
				item{
					label = "Bitte warten Sie bis es weiter geht.";
				}
			}
		}
	}
	stage "InfoStagePeriode"{
		startwaitforall = FALSE;
		singleentry = FALSE;
		singleentrycontinuation = FALSE;
		timeouttype = ifnoinput;
		timeout = -1;
		program{
			table = subjects;
			do{
				Participate =if(Period>=1,1,0);
				
			}
		}
		screen action{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
			standardbox "Standard2"{
				hasframe = TRUE;
				width = 50%;
				height = 50%;
				left = 10%;
				right = 10%;
				top = 10%;
				bottom = 10%;
				buttonposition = BOTTOMRIGHT;
				buttonsequence = HORIZONTAL;
				item{
				}
				item{
				}
				item{
					label = "{\\rtf \\fs20 \\qc Der erste Teil des Fragebogens wird gestartet sobald jeder Teilnehmer auf Start gedrckt hat.}";
				}
				button "Start"{
					clearinputafterok = FALSE;
					norecordmadeorselected = FALSE;
					terminatestage = FALSE;
					donotterminatestage = FALSE;
					specialbuttoncolor = FALSE;
					buttoncolor = 0;
				}
			}
		}
		screen wait{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
		}
	}
	stage "Lotterie"{
		startwaitforall = TRUE;
		singleentry = FALSE;
		singleentrycontinuation = FALSE;
		timeouttype = ifnoinput;
		timeout = -1;
		screen action{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
			gridbox "Grid"{
				hasframe = FALSE;
				right = 0 p;
				buttonposition = BOTTOMRIGHT;
				buttonsequence = HORIZONTAL;
				numrows = 12;
				numcolumns = 1;
				firstcolumnwidth = 100;
				firstrowheight = 100;
				fieldsinrows = FALSE;
				infieldlabeisallowed = FALSE;
				firstrowislabel = FALSE;
				firstcolumnislabel = FALSE;
				labelseparators = FALSE;
				rowseparators = TRUE;
				columnseparators = FALSE;
				item{
					label = "{\\rtf \\ql \\b Bitte geben Sie in jeder Zeile an, ob Sie sich fr die Lotterie A  ODER fr die Lotterie B entscheiden: }";
				}
				item{
					variable = r[1];
					format = "!radioline: 0=\"1)   Lotterie A: mit 10% Wahrscheinlichkeit 10 und mit 90% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 10% Wahrscheinlichkeit 19,25 und mit 90% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[2];
					format = "!radioline: 0=\"2)   Lotterie A: mit 20% Wahrscheinlichkeit 10 und mit 80% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 20% Wahrscheinlichkeit 19,25 und mit 80% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[3];
					format = "!radioline: 0=\"3)   Lotterie A: mit 30% Wahrscheinlichkeit 10 und mit 70% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 30% Wahrscheinlichkeit 19,25 und mit 70% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[4];
					format = "!radioline: 0=\"4)   Lotterie A: mit 40% Wahrscheinlichkeit 10 und mit 60% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 40% Wahrscheinlichkeit 19,25 und mit 60% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[5];
					format = "!radioline: 0=\"5)   Lotterie A: mit 50% Wahrscheinlichkeit 10 und mit 50% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 50% Wahrscheinlichkeit 19,25 und mit 50% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[6];
					format = "!radioline: 0=\"6)   Lotterie A: mit 60% Wahrscheinlichkeit 10 und mit 40% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 60% Wahrscheinlichkeit 19,25 und mit 40% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[7];
					format = "!radioline: 0=\"7)   Lotterie A: mit 70% Wahrscheinlichkeit 10 und mit 30% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 70% Wahrscheinlichkeit 19,25 und mit 30% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[8];
					format = "!radioline: 0=\"8)   Lotterie A: mit 80% Wahrscheinlichkeit 10 und mit 20% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 80% Wahrscheinlichkeit 19,25 und mit 20% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[9];
					format = "!radioline: 0=\"9)   Lotterie A: mit 90% Wahrscheinlichkeit 10 und mit 10% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 90% Wahrscheinlichkeit 19,25 und mit 10% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				item{
					variable = r[10];
					format = "!radioline: 0=\"10)   Lotterie A: mit 100% Wahrscheinlichkeit 10 und mit 0% Wahrscheinlichkeit 8\"; 1=\"Lotterie B: mit 100% Wahrscheinlichkeit 19,25 und mit 0% Wahrscheinlichkeit 0,50.\"; 2;";
					input = TRUE;
					showdefault = FALSE;
					emptyallowed = FALSE;
					min = 0;
					max = 1;
				}
				button "OK"{
					clearinputafterok = FALSE;
					norecordmadeorselected = FALSE;
					terminatestage = TRUE;
					donotterminatestage = FALSE;
					specialbuttoncolor = FALSE;
					buttoncolor = 0;
				}
			}
		}
		screen wait{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
		}
	}
	stage "ErgebnisStage FINAL"{
		startwaitforall = TRUE;
		singleentry = FALSE;
		singleentrycontinuation = FALSE;
		timeouttype = ifnoinput;
		timeout = -1;
		screen action{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
			standardbox "Standard"{
				hasframe = TRUE;
				width = 50%;
				height = 50%;
				left = 10%;
				right = 10%;
				top = 10%;
				bottom = 10%;
				buttonposition = BOTTOMRIGHT;
				buttonsequence = HORIZONTAL;
				item{
					label = "{\\rtf \\fs20 \\qc Der erste Teil des Fragebogens ist beendet. }";
				}
				item{
				}
				item{
				}
				item{
					label = "{\\rtf \\fs20 \\qc Wir mchten Sie noch bitten, im zweiten Teil des Fragebogens ein paar kurze Fragen zu beantworten.\r\nVielen Dank!}";
				}
				button "Weiter zum Fragebogen"{
					clearinputafterok = FALSE;
					norecordmadeorselected = FALSE;
					terminatestage = FALSE;
					donotterminatestage = FALSE;
					specialbuttoncolor = FALSE;
					buttoncolor = 0;
				}
			}
		}
		screen wait{
			usesbg = TRUE;
			withalertscreen = FALSE;
			noalertscreen = FALSE;
			standardbox "Text"{
				hasframe = TRUE;
				buttonposition = BOTTOMRIGHT;
				buttonsequence = HORIZONTAL;
				item{
					label = "Bitte warten Sie bis der zweite Teil des Fragebogens gestartet wird.";
				}
			}
		}
	}
	roles{
		role "S 1"{
		}
		role "S 2"{
		}
		role "S 3"{
		}
		role "S 4"{
		}
	}
	period "1"{
		subject 1{
			group = 1;
		}
		subject 2{
			group = 1;
		}
		subject 3{
			group = 1;
		}
		subject 4{
			group = 1;
		}
	}
}