/******************************************************************************
 ***	2009/05/14	dmagalnick	File created
 ***							twist.js
 ***							JavaScript file to define the samples for:
 ***							Twist
 ******************************************************************************/

/******************************************************************************
 ***	Usage:	There are 3 main parts to this file:
 ***			1) Class Color - Defines the stylesheet class color of this
 ***				product.
 ***			2) Subjects - Defines the main subject blocks that will appear
 ***				when calling the page.
 ***			3) Samples - Defines, per subject, the available samples that
 ***				will be available when expanding the subject block.
 ***			
 ***			*** The samples blocks representing each subject must be
 ***			defined in the same order as the subjects. ***
 ***			
 ***			*** Each subject must have a corresponding samples block with
 ***			at least one sample in it. ***
 ***			
 ***			If either of these steps is not done correctly, the entire
 ***			display will break.
 ***			
 ***	Variable definitions for each sample object:
 ***			subject:	Subject that this sample belongs to, for use in
 ***						the "Featured" display.
 ***			title:	Title of each sample.
 ***			desc:	Description paragraph of each sample.
 ***			type:	Must be one of: image, movie
 ***			url1:	image:	URL of the image to display on the page
 ***					movie:	URL of the movie to play
 ***			url2:	image:	URL of what will open when the image is
 ***							clicked
 ***					movie:	URL of the screenshot image to load on top of
 ***							the movie
 ***			allowInFeatured	Says whether or not the sample will be able to
 ***							display on the "Featured" block. Acceptable
 ***							values: true, false (no quotes)
 ******************************************************************************/

function __getClassColor() { return "t4l_tw"; }

function __getSubjects()
{
	var arr_subjects = new Array();
//	begin defining the list of subjects to display
	arr_subjects.push( "Language Arts" );
	arr_subjects.push( "Math" );
	arr_subjects.push( "Science" );
	arr_subjects.push( "Social Studies" );
//	end defining the list of subjects to display
	
	return arr_subjects;
}

function __getSamples()
{
	var arr_samples = new Array();
	var arr_tmp = null;
	var obj_tmp = null;
//	begin defining the individual samples for each subject
	/**************************************************************************
	 ***	BEGIN - Language Arts
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Language Arts";
	obj_tmp["title"] = "Character Descriptions";
	obj_tmp["desc"] = "Analyzing an author's writing on how they make a character come alive in a story is an important strategy.  It encourages students to examine the text more closely, as well as be a useful aid in strengthening characterization in their own writing.  Students will take what they have learned from the description of a character in a book they are reading and illustrate their interpretation of the description.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_la_character.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_la_character.gif";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Language Arts";
	obj_tmp["title"] = "Conversational Comics";
	obj_tmp["desc"] = "Comics can be used to teach a variety of things - character development, dialogue, sequencing skills, etc.  Students will write original stories and practice using conversational grammar as they create their own comic book or graphic novel. ";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_la_conversation.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_la_conversation.gif";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Language Arts
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Math
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Math";
	obj_tmp["title"] = "Tessellations";
	obj_tmp["desc"] = "A great way to show how math and art are connected is to teach tessellations.  This will strengthen the students concepts about shapes and how they work.  Using their knowledge of shape rotation, translation, and reflection, students will create their own tessellations.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_math_tessellation.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_math_tessellation.gif";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Math";
	obj_tmp["title"] = "New Playground Design";
	obj_tmp["desc"] = "Connecting real world problems with the curriculum is important in the development of 21st-century skills.  Students will use survey and measurement skills to create a new playground design for a local elementary school.  With this lesson students will need to problem solve and collaborate in order to be successful. <br /><br />View a similar <a href=\"http://www.recipes4success.com/index.php?&v=lp&page_ac=view&lpview=public&lptype=lessonplans&lpquery=true&application_query=204&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=6dcjblu5e6s234cv9cg4v8tfusvv40mf&__utma=74247441.556924388923592800.1242319367.1242319367.1242336400.2&__utmc=74247441&__utmz=74247441.1242336400.2.2.utmcsr=tech4learning.com|utmccn=(referral)|utmcmd=referral|utmcct=/twist/integration&__utmb=74247441.16.10.1242336400&start=0&lesson=182\" target=\"_blank\"><strong>Design Your Dream Room</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_math_playground.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_math_playground.gif";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Math
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Science
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Science";
	obj_tmp["title"] = "Plant and Animal Cells";
	obj_tmp["desc"] = "Students can demonstrate their level of understanding by comparing and contrasting plant and animal cells.  Visually representing their findings will engage students and allow them to develop a deeper level of understanding on the content.  Students will research plants and animals cells to create their own drawings depicting the parts of each cell.<br /><br />View the <a href=\"http://www.recipes4success.com/index.php?&v=lp&page_ac=view&lpview=public&lptype=lessonplans&lpquery=true&application_query=204&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=6dcjblu5e6s234cv9cg4v8tfusvv40mf&__utma=74247441.556924388923592800.1242319367.1242319367.1242336400.2&__utmc=74247441&__utmz=74247441.1242336400.2.2.utmcsr=tech4learning.com|utmccn=(referral)|utmcmd=referral|utmcct=/twist/integration&__utmb=74247441.4.10.1242336400&lesson=159\" target=\"_blank\"><strong>Cells</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_sci_cell.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_sci_cell.gif";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Science";
	obj_tmp["title"] = "Periodic Table of the Elements";
	obj_tmp["desc"] = "Illustrating and labeling is a great way to engage visual learners in the curriculum.  By having students create original illustrations on abstract concepts it gives them an opportunity to develop a deeper level of understanding.  Students will illustrate an element from the periodic table, including its atomic weight, atomic number, number of protons, and electrons, and more.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_sci_periodictable.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_sci_periodictable.jpg";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Science
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Social Studies
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Social Studies";
	obj_tmp["title"] = "Design a New Dollar Coin";
	obj_tmp["desc"] = "At the end of a history unit, have students choose a person to memorialize in a custom designed dollar coin.  To further the illustration students can write persuasively about why this person should be honored on a new dollar coin.<br /><br />View the <a href=\"http://www.recipes4success.com/index.php?&v=lp&page_ac=view&lpview=public&lptype=lessonplans&lpquery=true&application_query=204&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=6dcjblu5e6s234cv9cg4v8tfusvv40mf&__utma=74247441.556924388923592800.1242319367.1242319367.1242336400.2&__utmc=74247441&__utmz=74247441.1242336400.2.2.utmcsr=tech4learning.com|utmccn=(referral)|utmcmd=referral|utmcct=/twist/integration&__utmb=74247441.8.10.1242336400&start=0&lesson=176 \" target=\"_blank\"><strong>Design a New Dollar Coin</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_ss_coin.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_ss_coin.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Social Studies";
	obj_tmp["title"] = "What Does That Flag Mean?";
	obj_tmp["desc"] = "Symbolism is a good way to have students show their application of knowledge on a particular content area.  Flags are designed to represent the ideals, history, and culture of a group of people. Students will demonstrate their understanding of the symbolism in flags as they create a new flag design. <br /><br />View the <a href=\"http://www.recipes4success.com/index.php?&v=lp&page_ac=view&lpview=public&lptype=lessonplans&lpquery=true&application_query=204&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=6dcjblu5e6s234cv9cg4v8tfusvv40mf&__utma=74247441.556924388923592800.1242319367.1242319367.1242336400.2&__utmc=74247441&__utmz=74247441.1242336400.2.2.utmcsr=tech target=\"_blank\"><strong>Flag Symbolism</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/twist/twist_ss_flag.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/twist/twist_sample_ss_flag.gif";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Social Studies
	 **************************************************************************/
	
	return arr_samples;
}

