************************************************
Intro
************************************************

<item intro>
/ 1 = "Now you will make a series of appraisals or judgments about different individuals.

Altogether you will appraise 30 individuals."
</item>

<text intro>
/ items = intro
/ hjustify = center
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
/ resetinterval = 20
/ txbgcolor = (transparent)
</text>

<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>

<trial intro>
/ stimulustimes = [1=intro, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>

*******************************************************
Pictures
*******************************************************

<item targetlabel>
/1 = "person"
</item>

<item targetB>
/1 = "BM11.jpg"
/2 = "BM12.jpg"
/3 = "BM14.jpg"
/4 = "BM20.jpg"
/5 = "BM29.jpg"
/6 = "BM30.jpg"
/7 = "BM37.jpg"
/8 = "BM63.jpg"
/9 = "BM68.jpg"
/10 = "BM69.jpg"
/11 = "BM73.jpg"
/12 = "BM74.jpg"
/13 = "BM75.jpg"
/14 = "BM81.jpg"
/15 = "BM115.jpg"
/16 = "BM120.jpg"
/17 = "BM123.jpg"
/18 = "BM126.jpg"
/19 = "BM127.jpg"
/20 = "BM128.jpg"
/21 = "BM129.jpg"
/22 = "BM135.jpg"
/23 = "BM136.jpg"
/24 = "BM137.jpg"
/25 = "BM139.jpg"
/26 = "BM140.jpg"
/27 = "BM141.jpg"
/28 = "BM145.jpg"
/29 = "BM147.jpg"
/30 = "BM150.jpg"
/31 = "BM155.jpg"
/32 = "BM156.jpg"
/33 = "BM158.jpg"
</item>

<item targetW>
/1 = "WM1.jpg"
/2 = "WM2.jpg"
/3 = "WM11.jpg"
/4 = "WM30.jpg"
/5 = "WM31.jpg"
/6 = "WM37.jpg"
/7 = "WM52.jpg"
/8 = "WM53.jpg"
/9 = "WM59.jpg"
/10 = "WM63.jpg"
/11 = "WM72.jpg"
/12 = "WM89.jpg"
/13 = "WM104.jpg"
/14 = "WM105.jpg"
/15 = "WM107.jpg"
/16 = "WM110.jpg"
/17 = "WM134.jpg"
/18 = "WM138.jpg"
/19 = "WM145.jpg"
/20 = "WM155.jpg"
/21 = "WM157.jpg"
/22 = "WM158.jpg"
/23 = "WM165.jpg"
/24 = "WM175.jpg"
/25 = "WM178.jpg"
/26 = "WM183.jpg"
/27 = "WM186.jpg"
/28 = "WM187.jpg"
/29 = "WM189.jpg"
/30 = "WM191.jpg"
/31 = "WM193.jpg"
/32 = "WM195.jpg"
/33 = "WM196.jpg"
/34 = "WM199.jpg"
/35 = "WM200.jpg"
</item>

*******************************************************
Sliders
*******************************************************

<slider attractive>
/ caption = "             Attractiveness"
/ fontstyle = ("face name", 20, false, false, true)
/ labels = ("1", "10")
/ responsefontstyle = ("face name", 15, false)
/ range = (1,10)
/ increment = 1
/ slidersize = (25, 10)
</slider>

<slider competent>
/ caption = "                 Competent"
/ fontstyle = ("face name", 20, false, false, true)
/ labels = ("1", "10")
/ responsefontstyle = ("face name", 15, false)
/ range = (1,10)
/ increment = 1
/ slidersize = (25, 10)
</slider>

<slider warmcold>
/ caption = "                     Warmth"
/ fontstyle = ("face name", 20, false, false, true)
/ labels = ("1", "10")
/ responsefontstyle = ("face name", 15, false)
/ range = (1,10)
/ increment = 1
/ slidersize = (25, 10)
</slider>

<slider polaffil>
/ caption = "                      Political Orientation"
/ fontstyle = ("face name", 20, false, false, true)
/ labels = ("CONSERVATIVE", "LIBERAL")
/ responsefontstyle = ("face name", 15, false)
/ range = (1,10)
/ increment = 1
/ slidersize = (30, 20)
</slider>

*********** ********************************************************
Income Multiple choice
********************************************************************

<radiobuttons averageincome>
/ caption = "What do you think the yearly income of this person?"
/ fontstyle = ("face name", 30)
/ options = (
"$0-$19,999", 
"$20,000-$39,999", 
"$40,000-$59,999", 
"$60,000-$79,999", 
"$80,000-$99,999", 
"$100,000-$119,999", 
"$120,000-$139,999", 
"$140,000-$159,999", 
"$160,000-$179,999", 
"$180,000-$199,999", 
"Over $$200,000"
)
/ responsefontstyle = ("face name", 20)
/ required = false
/ orientation = vertical
</radiobuttons>

*************************************************
Setting
*************************************************

<defaults>
/ fontstyle = ("Arial", 30)
/ screencolor = (255,255,255)
/ txbgcolor = (255,255,255)
/ txcolor = (0, 0, 0)
/ minimumversion = "4.0.0.0"
/ canvasaspectratio = (4, 3)
</defaults>

**************************************************
Select 15 from each group
**************************************************
<values>
/picBWItemNumber = 0
/picnum = 0
</values>

<picture picB>
/ items = targetB
/ size = (70%, 60%)
/ position = (70%, 50%)
/ select = values.picnum
</picture>

<picture picW>
/ items = targetW
/ size = (70%, 60%)
/ position = (70%, 50%)
/ select = values.picnum
</picture>

<list picBW>
/items = (picture.picB, picture.picW)
/select = values.picBWItemNumber
</list>

<list picBWItemNumbers>
/ items = (1, 2)
/ poolsize = 30
</list>

<list Bitemnumbers>
/ poolsize = 15
</list>

<list Witemnumbers>
/ poolsize = 15
</list>

**************************************************
Select 30 from combined group
**************************************************
<picture picC> 
/ items = targetComb
/ select = values.piccItemNumber
/ size = (70%, 70%)
/ position = (70%, 60%)
</picture>

<values>
/piccItemNumber = 1
</values>

<list piccItemNumbers>
/ poolsize = 30
</list>

**************************************************

<picture background>
/items = ("background.jpg")
/size = (50%, 50%)
/position = (50%,50%)
/transparentcolor = (255, 255, 255)
</picture>

****************************************************************************************
Blocks
****************************************************************************************

<surveypage slider>
/ caption = "What appraisals or judgments would you make about the individual below if you encountered them in public?"
/ fontstyle = ("face name", 20)
/ subcaption= "(1 = The least & 10 = The most)"
/ subcaptionfontstyle = ("face name", 20, false)
/ ontrialbegin = [values.picBWItemNumber = list.picBWItemNumbers.nextvalue;]
/ ontrialbegin = [
	if (values.picBWItemNumber == 1) values.picnum = list.Bitemnumbers.nextindex;
   	 if (values.picBWItemNumber == 2) values.picnum = list.Witemnumbers.nextindex;]
/ stimulusframes = [1= list.picBW]
/ questions = [1 = attractive, competent, warmcold, polaffil]
/ showbackbutton = true-
/ showquestionnumbers = false
/ itemspacing = 30px
/ recorddata = true
</surveypage>

<surveypage radio>
/ questions = [1 = averageincome]
/ stimulusframes = [1= list.picBW]
/ showbackbutton = true
/ showquestionnumbers = false
/ recorddata = true
</surveypage>

<survey survey>
/ pages = [1=slider; 2=radio]
/ showpagenumbers = false
/ recorddata = true
</survey>

<block intro>
/bgstim = (background)
/trials = [1 = intro]
/recorddata = false
</block>

************************************************************************************
Summary data
************************************************************************************
date, time, subject:						date and time script was run with the current subjectnumber 
script.elapsedtime:							time it took to run script (in ms)
/completed:									0 = script was not completed (script prematurely aborted); 1 = script was completed (all conditions run)

<values>
/completed = 0
</values>

<data>
/file = "sliders_data.iqdat"
/columns = [date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency, values.picnum ]
/separatefiles = true 
</data>

<trial summary>
/recorddata = true
/trialduration = 0
/ontrialend = [values.completed = 1]
</trial>

<block summary>
/trials = [1 = summary]
</block>

********************************************************************************
<expt experiment>
/ blocks = [1 = intro; 2-31= survey; 32 = summary]
</expt>
****************************************************************************************