
var copyright = "copyright ©Dan Welchman Productions 2007"; 

var layouts = [ 	[1],
					[2],
					[3],
					[4],
					[3,2],
					[3,3],
					[4,3],
					[4,4],
					[3,3,3],
					[3,4,3],
					[4,3,4],
					[4,4,4],
					[4,5,4],
					[5,4,5],
					[5,5,5],
					[5,6,5],
					[6,5,6],
					[6,6,6],
					[6,7,6],
					[7,6,7],
					[7,7,7],
					[6,5,6,5],
					[6,6,6,5],
					[6,6,6,6],
					[7,6,6,6],
					[7,6,7,6],
					[7,7,7,6],
					[7,7,7,7]	];
					

						
var features	=	[	["clickon_sw_wheels.mp3",		"still_bike.gif",		"audio=nice_bike_wheels.mp3&video=movie_bike.gif"],
						["clickon_sw_crown.mp3",		"still_queen.gif",		"audio=nice_queen_crown.mp3&video=movie_queen.gif"],
						["clickon_sw_blade.mp3",		"still_knife.gif",		"audio=nice_knife_blade.mp3&video=movie_knife.gif"],
						["clickon_sw_trunk.mp3",		"still_elephant.gif",	"audio=nice_elephant_trunk.mp3&video=movie_elephant.gif"],
						["clickon_sw_strings.mp3",		"still_violin.gif",		"audio=nice_violin_strings.mp3&video=movie_violin.gif"],
						["clickon_sw_feathers.mp3",		"still_bird.gif",		"audio=nice_bird_feathers.mp3&video=movie_bird.gif"],
						["clickon_sw_whiskers.mp3",		"still_cat.gif",		"audio=nice_cat_whiskers.mp3&video=movie_cat.gif"],
						["clickon_sw_stripes.mp3",		"still_zebra.gif",		"audio=nice_zebra_stripes.mp3&video=movie_zebra.gif"],
						["clickon_sw_pips.mp3",			"still_apple.gif",		"audio=nice_apple_pips.mp3&video=movie_apple.gif"],
						["clickon_sw_laces.mp3",		"still_shoes.gif",		"audio=nice_shoes_laces.mp3&video=movie_shoes.gif"],
						["clickon_sw_wool.mp3",			"still_sheep.gif",		"audio=nice_sheep_wool.mp3&video=movie_sheep.gif"],
						["clickon_sw_pages.mp3",		"still_book.gif",		"audio=nice_book_pages.mp3&video=movie_book.gif"],
						["clickon_sw_long_neck.mp3",	"still_giraffe.gif",	"audio=nice_giraffe_long_neck.mp3&video=movie_giraffe.gif"],
						["clickon_sw_8_legs.mp3",		"still_spider.gif",		"audio=nice_spider_8_legs.mp3&video=movie_spider.gif"],
						["clickon_sw_shell.mp3",		"still_tortoise.gif",	"audio=nice_tortoise_shell.mp3&video=movie_tortoise.gif"],
						["clickon_sw_fins.mp3",			"still_fish.gif",		"audio=nice_fish_fins.mp3&video=movie_fish.gif"]	];
						
var functions	=	[	["clickon_sy_ride.mp3",				"still_bike.gif",		"audio=nice_ride_bike.mp3&video=movie_bike.gif"],
						["clickon_sy_eat.mp3",				"still_apple.gif",		"audio=nice_apple_sy_eat.mp3&video=movie_apple.gif"],
						["clickon_sy_wear_on_head.mp3",		"still_hat.gif",		"audio=nice_wear_hat_on_head.mp3&video=movie_hat.gif"],
						["clickon_sy_hear_with.mp3",		"still_ear.gif",		"audio=nice_hear_with_ear.mp3&video=movie_ears.gif"],
						["clickon_sy_wear_on_feet.mp3",		"still_sock.gif",		"audio=nice_wear_socks_on_feet.mp3&video=movie_sock.gif"],
						["clickon_sy_stroke.mp3",			"still_cat.gif",		"audio=nice_stroke_cat.mp3&video=movie_cat.gif"],
						["clickon_sy_smell_with.mp3",		"still_nose.gif",		"audio=nice_smell_with_nose.mp3&video=movie_nose.gif"],
						["clickon_sy_drink.mp3",			"still_tea.gif",		"audio=nice_tea_sy_drink.mp3&video=movie_tea.gif"],
						["clickon_sy_read.mp3",				"still_book.gif",		"audio=nice_read_book.mp3&video=movie_book.gif"],
						["clickon_sy_see_with.mp3",			"still_eye.gif",		"audio=nice_see_with_eye.mp3&video=movie_eyes.gif"],
						["clickon_sy_wear_on_hands.mp3",	"still_glove.gif",		"audio=nice_wear_gloves_on_hands.mp3&video=movie_gloves.gif"],
						["clickon_sy_dig_with.mp3",			"still_spade.gif",		"audio=nice_dig_with_spade.mp3&video=movie_spade.gif"],
						["clickon_sy_cut_with.mp3",			"still_knife.gif",		"audio=nice_cut_with_knife.mp3&video=movie_knife.gif"],
						["clickon_sy_sit_on.mp3",			"still_chair.gif",		"audio=nice_sit_on_chair.mp3&video=movie_chair.gif"],
						["clickon_sy_sleep_in.mp3",			"still_bed.gif",		"audio=nice_sleep_in_bed.mp3&video=movie_bed.gif"],
						["clickon_sy_kick.mp3",				"still_ball.gif",		"audio=nice_kick_ball.mp3&video=movie_ball.gif"],
						["clickon_sf_making_music.mp3",		"still_violin.gif",		"audio=nice_make_music_violin.mp3&video=movie_violin.gif"]	];
						
var categories	=	[	["clickon_a_pet.mp3",				"still_cat.gif",		"audio=nice_cat_pet.mp3&video=movie_cat.gif"],
						["clickon_a_drink.mp3",				"still_tea.gif",		"audio=nice_tea_a_drink.mp3&video=movie_tea.gif"],
						["clickon_a_vegetable.mp3",			"still_carrot.gif",		"audio=nice_carrot_vegetable.mp3&video=movie_carrot.gif"],
						["clickon_some_fruit.mp3",			"still_apple.gif",		"audio=nice_apple_fruit.mp3&video=movie_apple.gif"],
						["clickon_an_insect.mp3",			"still_fly.gif",		"audio=nice_fly_insect.mp3&video=movie_fly.gif"],
						["clickon_a_letter.mp3",			"still_p.gif",			"audio=nice_p_for_pie_letter.mp3&video=movie_p.gif"],
						["clickon_a_number.mp3",			"still_seven.gif",		"audio=nice_seven_number.mp3&video=movie_seven.gif"],
						["clickon_a_shape.mp3",				"still_triangle.gif",	"audio=nice_triangle_shape.mp3&video=movie_triangle.gif"],
						["clickon_a_tool.mp3",				"still_spade.gif",		"audio=nice_spade_tool.mp3&video=movie_spade.gif"],
						["clickon_a_toy.mp3",				"still_ball.gif",		"audio=nice_ball_toy.mp3&video=movie_ball.gif"],
						["clickon_a_person.mp3",			"still_queen.gif",		"audio=nice_queen_person.mp3&video=movie_queen.gif"],
						["clickon_furniture.mp3",			"still_chair.gif",		"audio=nice_chair_furniture.mp3&video=movie_chair.gif"],
						["clickon_part_of_body.mp3",		"still_nose.gif",		"audio=nice_nose_part_of_body.mp3&video=movie_nose.gif"],
						["clickon_clothes.mp3",				"still_sock.gif",		"audio=nice_socks_clothes.mp3&video=movie_sock.gif"],
						["clickon_musical_instrument.mp3",	"still_violin.gif",		"audio=nice_violin_instrument.mp3&video=movie_violin.gif"],
						["clickon_a_farm_animal.mp3",		"still_sheep.gif",		"audio=nice_sheep_farm_animal.mp3&video=movie_sheep.gif"]	];
						
var alltogether	=	[	["clickon_sw_wheels.mp3",			"still_bike.gif",		"audio=nice_bike_wheels.mp3&video=movie_bike.gif"],
						["clickon_sy_hear_with.mp3",		"still_ear.gif",		"audio=nice_hear_with_ear.mp3&video=movie_ears.gif"],
						["clickon_sy_wear_on_head.mp3",		"still_hat.gif",		"audio=nice_wear_hat_on_head.mp3&video=movie_hat.gif"],
						["clickon_some_food.mp3",			"still_banana.gif",		"audio=nice_banana_food.mp3&video=movie_banana.gif"],
						["clickon_st_swims.mp3",			"still_fish.gif",		"audio=nice_fish_swims.mp3&video=movie_fish.gif"],
						["clickon_furniture.mp3",			"still_chair.gif",		"audio=nice_chair_furniture.mp3&video=movie_chair.gif"],
						["clickon_sw_trunk.mp3",			"still_elephant.gif",	"audio=nice_elephant_trunk.mp3&video=movie_elephant.gif"],
						["clickon_a_drink.mp3",				"still_tea.gif",		"audio=nice_tea_a_drink.mp3&video=movie_tea.gif"],
						["clickon_sy_read.mp3",				"still_book.gif",		"audio=nice_read_book.mp3&video=movie_book.gif"],
						["clickon_sw_stripes.mp3",			"still_zebra.gif",		"audio=nice_zebra_stripes.mp3&video=movie_zebra.gif"],
						["clickon_sy_smell_with.mp3",		"still_nose.gif",		"audio=nice_smell_with_nose.mp3&video=movie_nose.gif"],
						["clickon_a_letter.mp3",			"still_p.gif",			"audio=nice_p_for_pie_letter.mp3&video=movie_p.gif"],
						["clickon_musical_instrument.mp3",	"still_violin.gif",		"audio=nice_violin_instrument.mp3&video=movie_violin.gif"],
						["clickon_sy_cut_with.mp3",			"still_knife.gif",		"audio=nice_cut_with_knife.mp3&video=movie_knife.gif"],
						["clickon_sy_wear_on_hands.mp3",	"still_glove.gif",		"audio=nice_wear_gloves_on_hands.mp3&video=movie_gloves.gif"],
						["clickon_sy_see_with.mp3",			"still_eye.gif",		"audio=nice_see_with_eye.mp3&video=movie_eyes.gif"],
						["clickon_sy_dig_with.mp3",			"still_spade.gif",		"audio=nice_dig_with_spade.mp3&video=movie_spade.gif"],
						["clickon_sw_shell.mp3",			"still_tortoise.gif",	"audio=nice_tortoise_shell.mp3&video=movie_tortoise.gif"],
						["clickon_sy_wear_on_feet.mp3",		"still_sock.gif",		"audio=nice_wear_socks_on_feet.mp3&video=movie_sock.gif"],
						["clickon_a_number.mp3",			"still_seven.gif",		"audio=nice_seven_number.mp3&video=movie_seven.gif"],
						["clickon_a_woman.mp3",				"still_queen.gif",		"audio=nice_queen_woman.mp3&video=movie_queen.gif"],
						["clickon_st_goes_miaow.mp3",		"still_cat.gif",		"audio=nice_cat_goes_miaow.mp3&video=movie_cat.gif"],
						["clickon_a_shape.mp3",				"still_triangle.gif",	"audio=nice_triangle_shape.mp3&video=movie_triangle.gif"],
						["clickon_sw_long_neck.mp3",		"still_giraffe.gif",	"audio=nice_giraffe_long_neck.mp3&video=movie_giraffe.gif"],
						["clickon_sw_8_legs.mp3",			"still_spider.gif",		"audio=nice_spider_8_legs.mp3&video=movie_spider.gif"],
						["clickon_st_flies.mp3",			"still_bird.gif",		"audio=nice_bird_flies.mp3&video=movie_bird.gif"]	];
						
var allsmall	=	[	["clickon_sw_wheels.mp3",			"still__bike_.gif",		"audio=nice_bike_wheels.mp3&video=movie_bike.gif"],
						["clickon_sy_hear_with.mp3",		"still__ear_.gif",		"audio=nice_hear_with_ear.mp3&video=movie_ears.gif"],
						["clickon_sy_wear_on_head.mp3",		"still__hat_.gif",		"audio=nice_wear_hat_on_head.mp3&video=movie_hat.gif"],
						["clickon_some_food.mp3",			"still__banana_.gif",	"audio=nice_banana_food.mp3&video=movie_banana.gif"],
						["clickon_st_swims.mp3",			"still__fish_.gif",		"audio=nice_fish_swims.mp3&video=movie_fish.gif"],
						["clickon_furniture.mp3",			"still__chair_.gif",	"audio=nice_chair_furniture.mp3&video=movie_chair.gif"],
						["clickon_sw_trunk.mp3",			"still__elephant_.gif",	"audio=nice_elephant_trunk.mp3&video=movie_elephant.gif"],
						["clickon_a_drink.mp3",				"still__tea_.gif",		"audio=nice_tea_a_drink.mp3&video=movie_tea.gif"],
						["clickon_sy_read.mp3",				"still__book_.gif",		"audio=nice_read_book.mp3&video=movie_book.gif"],
						["clickon_sw_stripes.mp3",			"still__zebra_.gif",	"audio=nice_zebra_stripes.mp3&video=movie_zebra.gif"],
						["clickon_sy_smell_with.mp3",		"still__nose_.gif",		"audio=nice_smell_with_nose.mp3&video=movie_nose.gif"],
						["clickon_a_letter.mp3",			"still__p_.gif",		"audio=nice_p_for_pie_letter.mp3&video=movie_p.gif"],
						["clickon_musical_instrument.mp3",	"still__violin_.gif",	"audio=nice_violin_instrument.mp3&video=movie_violin.gif"],
						["clickon_sy_cut_with.mp3",			"still__knife_.gif",	"audio=nice_cut_with_knife.mp3&video=movie_knife.gif"],
						["clickon_sy_wear_on_hands.mp3",	"still__glove_.gif",	"audio=nice_wear_gloves_on_hands.mp3&video=movie_gloves.gif"],
						["clickon_sy_see_with.mp3",			"still__eye_.gif",		"audio=nice_see_with_eye.mp3&video=movie_eyes.gif"],
						["clickon_sy_dig_with.mp3",			"still__spade_.gif",	"audio=nice_dig_with_spade.mp3&video=movie_spade.gif"],
						["clickon_sw_shell.mp3",			"still__tortoise_.gif",	"audio=nice_tortoise_shell.mp3&video=movie_tortoise.gif"],
						["clickon_sy_wear_on_feet.mp3",		"still__sock_.gif",		"audio=nice_wear_socks_on_feet.mp3&video=movie_sock.gif"],
						["clickon_a_number.mp3",			"still__seven_.gif",	"audio=nice_seven_number.mp3&video=movie_seven.gif"],
						["clickon_a_woman.mp3",				"still__queen_.gif",	"audio=nice_queen_woman.mp3&video=movie_queen.gif"],
						["clickon_st_goes_miaow.mp3",		"still__cat_.gif",		"audio=nice_cat_goes_miaow.mp3&video=movie_cat.gif"],
						["clickon_a_shape.mp3",				"still__triangle_.gif",	"audio=nice_triangle_shape.mp3&video=movie_triangle.gif"],
						["clickon_sw_long_neck.mp3",		"still__giraffe_.gif",	"audio=nice_giraffe_long_neck.mp3&video=movie_giraffe.gif"],
						["clickon_sw_8_legs.mp3",			"still__spider_.gif",	"audio=nice_spider_8_legs.mp3&video=movie_spider.gif"],
						["clickon_st_flies.mp3",			"still__bird_.gif",		"audio=nice_bird_flies.mp3&video=movie_bird.gif"]	];



						














						




						
						
						
						

	




var moduleNo = 7;

var moduleTitle	=	"Feature, Function & Category";

var moduleBlurb =	"5 different submodules where items have to be picked not by name, but by what category they belong to " +
					"or what features they possess, or what they're used for.";

					
var submodules = new Array();



submodules[0] = {	name: "click_the_object_by_feature",
					text: "Features",
					imod: 0,
					ipos: 0,
					icon: "icon_feature.gif",
					defs: { arraySize: 4 },
					list: features,
					trial: "RandomTrialFromElements(arraySize,features,bits);",
					blurb:	"A trial to click on the item which has a particular feature. " +
							"you can use the [options] page to leave out some of the harder items initially, or alter the array size."	};
							
submodules[1] = {	name: "click_the_object_by_function",
					text: "Function",
					imod: 1,
					ipos: 1,
					icon: "icon_function.gif",
					defs: { arraySize: 4 },
					list: functions,
					trial: "RandomTrialFromElements(arraySize,functions,bits);",
					blurb:	"A trial to click on the item which has a particular function. " +
							"you can use the [options] page to leave out some of the harder items initially, or alter the array size."	};
							
submodules[2] = {	name: "click_the_object_by_category",
					text: "Categories",
					imod: 2,
					ipos: 2,
					icon: "icon_category.gif",
					defs: { arraySize: 4 },
					list: categories,
					trial: "RandomTrialFromElements(arraySize,categories,bits);",
					blurb:	"A trial to click on the item which belongs to the requested category. " +
							"you can use the [options] page to leave out some of the harder items initially, or alter the array size."	};
							
submodules[3] = {	name: "click_the_object_by_category",
					text: "Features, Functions and Categories",
					imod: 3,
					ipos: 3,
					icon: "icon_alltogether.gif",
					defs: { arraySize: 8 },
					list: alltogether,
					trial: "RandomTrialFromElements(arraySize,alltogether,bits);",
					blurb:	"A trial to click on the item using a random mixture of feature, function and category. " +
							"you can use the [options] page to leave out some of the harder items initially, or alter the array size."	};
							
submodules[4] = {	name: "click_the_object_by_category",
					text: "Features, Functions and Categories (small icons)",
					imod: 4,
					ipos: 4,
					icon: "icon_allsmall.gif",
					defs: { arraySize: 18 },
					list: allsmall,
					trial: "RandomTrialFromElements(arraySize,allsmall,bits);",
					blurb:	"A trial to click on the item using a random mixture of feature, function and category. " +
							"This version uses small icons so that you can fit a really big array of items on the screen."	};
							
							
							



							
