//tonidat2.js
//John Maidment 2000

var arraysize=20
var answer=0
sound=1
sentence=2
number=3
var elements=3

//set up 2 dimensional arrays

var stimulus=new Array(arraysize)
for (i=0; i<arraysize; i++)
stimulus[i] =new Array(elements)

var f=new Array(8)
for (j=1; j<8; j++)
f[j]=new Array(8)

for (i=1; i<8; i++)
for (j=1; j<8; j++)
f[i][j]=0


//the data

stimulus[0][answer]="<font color='#800080'>Rise-Fall</font>"
stimulus[0][sound]="tell2.wav"
stimulus[0][sentence]="Yes, but did you re<font color='red'><em>mem</em></font>ber to tell them?"
stimulus[0][number]=6

stimulus[1][answer]="<font color='#800000'>Low Fall</font>"
stimulus[1][sound]="tell.wav"
stimulus[1][sentence]="Yes, but <font color='red'><em>did</em></font> you remember to tell them?"
stimulus[1][number]=2

stimulus[2][answer]="<font color='#008000'>Fall-Rise</font>"
stimulus[2][sound]="inter.wav"
stimulus[2][sentence]="I <font color='red'><em>thought</em></font> he was interested."
stimulus[2][number]=5

stimulus[3][answer]="<font color='#FF0000'>High Fall</font>"
stimulus[3][sound]="int2.wav"
stimulus[3][sentence]="I thought he was <font color='red'><em>in</em></font>terested."
stimulus[3][number]=1

stimulus[4][answer]="<font color='#FF0000'>High Fall</font>"
stimulus[4][sound]="three.wav"
stimulus[4][sentence]="I think it's about half <font color='red'><em>past</em></font> three."
stimulus[4][number]=1

stimulus[5][answer]="<font color='#800080'>Rise-Fall</font>"
stimulus[5][sound]="three2.wav"
stimulus[5][sentence]="I think it's about <font color='red'><em>half</em></font> past three."
stimulus[5][number]=6

stimulus[6][answer]="<font color='#008000'>Fall-Rise</font>"
stimulus[6][sound]="three3.wav"
stimulus[6][sentence]="I <font color='red'><em>think</em></font> it's about half past three."
stimulus[6][number]=5

stimulus[7][answer]="<font color='#800000'>Low Fall</font>"
stimulus[7][sound]="who.wav"
stimulus[7][sentence]="Who <font color='red'><em>was</em></font> that man?"
stimulus[7][number]=2

stimulus[8][answer]="<font color='#0000FF'>Low Rise</font>"
stimulus[8][sound]="who2.wav"
stimulus[8][sentence]="<font color='red'><em>Who</em></font> was that man?"
stimulus[8][number]=4

stimulus[9][answer]="<font color='#008000'>Fall-Rise</font>"
stimulus[9][sound]="tea.wav"
stimulus[9][sentence]="I wouldn't <font color='red'><em>mind</em></font> a cup of tea."
stimulus[9][number]=5

stimulus[10][answer]="<font color='#008000F'>Fall-Rise</font>"
stimulus[10][sound]="tea2.wav"
stimulus[10][sentence]="I wouldn't mind a cup of <font color='red'><em>tea</em></font>."
stimulus[10][number]=5

stimulus[11][answer]="<font color='#800000'>Fall-Rise</font>"
stimulus[11][sound]="tea3.wav"
stimulus[11][sentence]="<font color='red'><em>I</em></font> wouldn't mind a cup of tea."
stimulus[11][number]=5

stimulus[12][answer]="<font color='#0000FF'>Low Rise</font>"
stimulus[12][sound]="milk.wav"
stimulus[12][sentence]="I've just bought some <font color='red'><em>milk</em></font>."
stimulus[12][number]=4

stimulus[13][answer]="<font color='#FF0000'> High Fall</font>"
stimulus[13][sound]="milk2.wav"
stimulus[13][sentence]="I've just <font color='red'><em>bought</em></font> some milk."
stimulus[13][number]=1

stimulus[14][answer]="<font color='#800000'>Low Fall</font>"
stimulus[14][sound]="news.wav"
stimulus[14][sentence]=" Where have you put the <font color='red'><em>news</em></font>paper?"
stimulus[14][number]=2

stimulus[15][answer]="<font color='#800000'>Low Fall</font>"
stimulus[15][sound]="news2.wav"
stimulus[15][sentence]="Where <font color='red'><em>have</em></font> you put the newspaper?"
stimulus[15][number]=2

stimulus[16][answer]="<font color='#0000FF'>Low Rise</font>"
stimulus[16][sound]="news3.wav"
stimulus[16][sentence]="Where have you <font color='red'><em>put</em></font> the newspaper?"
stimulus[16][number]=4

stimulus[17][answer]="<font color='#0000A0'>Low Rise</font>"
stimulus[17][sound]="suggest2.wav"
stimulus[17][sentence]="I <font color='red'><em>did</em></font>n't suggest going on Monday."
stimulus[17][number]=4

stimulus[18][answer]="<font color='#008000'>Fall-Rise</font>"
stimulus[18][sound]="suggest.wav"
stimulus[18][sentence]="I didn't suggest going on <font color='red'><em>Mon</em></font>day."
stimulus[18][number]=5

stimulus[19][answer]="<font color='#0000A0'>High Rise</font>"
stimulus[19][sound]="suggest3.wav"
stimulus[19][sentence]="I didn't suggest <font color='red'><em>go</em></font>ing on Monday."
stimulus[19][number]=3






