<?xml version="1.0" encoding="UTF-8"?>
<conxml version="1.0" xmlns="http://www.zingku.com/conxml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schematicLocation="http://www.zingku.com/conxml http://www.zingku.com/conxml10/conxml.xsd">
	<script><![CDATA[
		var score = 0;
	]]></script>
	<form id="q1">
        <field name="response">
        	<grammar>^\d$</grammar>	        	
			<prompt><![CDATA[
				The 5 question personality test.
				Answer each question and then get your personality type at the end!
			]]></prompt>
			<prompt><![CDATA[
			  	When do you feel your best?<br>
				1. In the morning<br>
				2. During the afternoon and early evening<br>
				3. Late at night
			]]></prompt>
			<filled>
				<if cond="response=='1'">
					<script>score+=2;</script>
					<goto next="#q2"/>
				<elseif cond="response=='2'"/>
					<script>score+=4;</script>
					<goto next="#q2"/>
				<elseif cond="response=='3'"/>
					<script>score+=6;</script>
					<goto next="#q2"/>
				<else/>
					<reprompt/>
				</if>
			</filled>
		</field>
	</form>
	<form id="q2">
        <field name="response">
        	<grammar>^\d$</grammar>	        	
			<prompt><![CDATA[
			 Do you usually walk<br>
				1. Fast, with long steps?<br>
				2. Fast, with quick steps?<br>
				3. Avg, head up looking the world?<br>
				4. Avg, head down?<br>
				5. Slowly?
			]]></prompt>
			<filled>
				<if cond="response=='1'">
					<script>score+=6;</script>
					<goto next="#q3"/>
				<elseif cond="response=='2'"/>
					<script>score+=4;</script>
					<goto next="#q3"/>
				<elseif cond="response=='3'"/>
					<script>score+=7;</script>
					<goto next="#q3"/>
				<elseif cond="response=='4'"/>
					<script>score+=2;</script>
					<goto next="#q3"/>
				<elseif cond="response=='5'"/>
					<script>score+=1;</script>
					<goto next="#q3"/>
				<else/>
					<reprompt/>
				</if>
			</filled>
		</field>
	</form>
	<form id="q3">
        <field name="response">
        	<grammar>^\d$</grammar>	        	
			<prompt><![CDATA[
			 When talking to people you<br>
				1. Stand with arms folded?<br>
				2. Have hands on hips?<br>
				3. Touch who you are talking to?<br>
				4. Play with ear, chin, or hair?
			]]></prompt>
			<filled>
				<if cond="response=='1'">
					<script>score+=4;</script>
					<goto next="#q4"/>
				<elseif cond="response=='2'"/>
					<script>score+=5;</script>
					<goto next="#q4"/>
				<elseif cond="response=='3'"/>
					<script>score+=7;</script>
					<goto next="#q4"/>
				<elseif cond="response=='4'"/>
					<script>score+=6;</script>
					<goto next="#q4"/>
				<else/>
					<reprompt/>
				</if>
			</filled>
		</field>
	</form>
	<form id="q4">
        <field name="response">
        	<grammar>^\d$</grammar>	        	
			<prompt><![CDATA[
			  	When relaxing you sit with<br>
				1. Legs neatly side by side?<br>
				2. Legs crossed?<br>
				3. Legs stretched out?<br>
				4. One lag curled under you?
			]]></prompt>
			<filled>
				<if cond="response=='1'">
					<script>score+=4;</script>
					<goto next="#q5"/>
				<elseif cond="response=='2'"/>
					<script>score+=6;</script>
					<goto next="#q5"/>
				<elseif cond="response=='3'"/>
					<script>score+=2;</script>
					<goto next="#q5"/>
				<elseif cond="response=='4'"/>
					<script>score+=1;</script>
					<goto next="#q5"/>
				<else/>
					<reprompt/>
				</if>
			</filled>
		</field>
	</form>
	<form id="q5">
        <field name="response">
        	<grammar>^\d$</grammar>	        	
			<prompt><![CDATA[
  	 			When something really amuses you you give a<br>
				1. Big loud laugh<br>
				2. Laugh, but not loud<br>
				3. Chuckle<br>
				4. Big smile<br>
				5. Slow smile
			]]></prompt>
			<filled>
				<if cond="response=='1'">
					<script>score+=6;</script>
					<goto next="#result"/>
				<elseif cond="response=='2'"/>
					<script>score+=4;</script>
					<goto next="#result"/>
				<elseif cond="response=='3'"/>
					<script>score+=3;</script>
					<goto next="#result"/>
				<elseif cond="response=='4'"/>
					<script>score+=5;</script>
					<goto next="#result"/>
				<elseif cond="response=='5'"/>
					<script>score+=2;</script>
					<goto next="#result"/>
				<else/>
					<reprompt/>
				</if>
			</filled>
		</field>
	</form>
	<form id="result">
        <block>
			<if cond="score>30">
				<prompt>
					 Others see you as some one they should "handle with care." You are seen as vain, self-centred, and extremely dominant. 
					 Others may admire you and wish they could be more like you, but they don't always trust you and hesitate to become too deeply involved with you.
				</prompt>
			<elseif cond="score>25"/>
				<prompt>
			     	Your friends see you as an exciting, highly volatile, rather impulsive personality; a natural leader, quick to make decisions (though not always the right ones). 
                    They see you as bold and venturesome. Someone who will try anything - well, almost anything - once; someone who takes a chance.
				</prompt>
			<elseif cond="score>20"/>
				<prompt>
				 	Others see you as fresh, lively, charming, amusing, and always interesting; someone who is constantly the centre of attention, but sufficiently well-balanced not to let it go to your head. 
					They see you also as kind, considerate, and understanding; someone who will cheer them up and help them out.					
				</prompt>
			<elseif cond="score>15"/>
				<prompt>
			     	Other people see you as sensible, cautious, careful, and practical. They see you as clever, gifted, or talented, but modest. 
                    Not a person who makes friends too quickly or too easily, but someone who is extremely loyal to the friends you do make and who expects the same loyalty in return. 
                    Those who really get to know you realise that it takes a lot to shake you trust in your friends, but, equally, that it takes you a long time to get over it if that trust is shaken. 
				</prompt>
			<elseif cond="score>10"/>
				<prompt>
					 Your friends see you as painstaking, perhaps a little fussy at times. They see you as very, very cautious and extremely careful: a slow and steady plodder. 
                     It would really surprise them if you ever did something impulsively or on the spur the of moment. They expect you to examine everything carefully from every side, 
                     and then usually decide against it. They think this reaction on your part is caused partly by your careful nature and partly by laziness.
				</prompt>
			<else/>
				<prompt>
			     	 People think you are shy, nervous, and indecisive; someone who needs to be looked after, who always wants someone else to make the decisions 
					 and who doesn't want to get involved with anyone or anything. They see you as a worrier who sees problems that don't exist. Some people think your are boring. 
					 Only the people who know you well know that you aren't. The trouble is that you don't let very many people get close to you.
				</prompt>
			</if>
		</block>
 	</form>
</conxml>
