/******************************************************************************
 ***	2009/03/11	dmagalnick	File created
 ***							frames_ds.js
 ***							JavaScript file to define the samples for:
 ***							Frames
 ******************************************************************************/

/******************************************************************************
 ***	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_fs"; }

function __getSubjects()
{
	var arr_subjects = new Array();
//	begin defining the list of subjects to display
	arr_subjects.push( "Autobiography" );
		arr_subjects.push( "Myths" );
	arr_subjects.push( "Biography" );
	arr_subjects.push( "Docudramas" );
	arr_subjects.push( "Science Concepts" );
//	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 - Autobiography
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Autobiography";
	obj_tmp["title"] = "Katie's Story";
	obj_tmp["desc"] = "Rather than writing straight autobiographies, students can using a digital storytelling approach to communicate the story surrounding important events in their lives. Writing about the events in narrative forms helps students build skills in showing rather than telling a story, improving their writing ability. In this story, Katie shares how she felt about adopting a new baby sister from China!"; 
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/movies/frames/fr_ds_katiestory.flv";
	obj_tmp["url2"] = "/userfiles/image/samples/frames/fr_samples_ds_katiestory.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Autobiography
	 **************************************************************************/
	 
	/**************************************************************************
	 ***	BEGIN - Myths and Legends
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Myths";
	obj_tmp["title"] = "The Fox in the Moon";
	obj_tmp["desc"] = "Storytellers have been sharing myths, legends, fables, and tall tales for millenia. Students can bring their favorite versions to the digital age, by telling the story with pictures, sound effects, and illustrations to support their narration."; 
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/pixie/px_la_foxinthemoon.flv";
	obj_tmp["url2"] = "/userfiles/media/productvideos/samples/pixie/px_la_foxinthemoon.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Myths and Legends
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Biography
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Biography";
	obj_tmp["title"] = "2 Against 24... That Was Villamor!";
	obj_tmp["desc"] = "While many students dread writing biographies, asking them to transform their writing into a compelling digital documentary about a person's life helps motivate them to write. Students select a scientist, politician, inventor, explorer, or other historical figure and develop a biography that answers how their background influenced what they believed and how they acted as well as the personal qualities that helped this person succeed.";
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/movies/frames/fr_ds_villamor.flv";
	obj_tmp["url2"] = "/userfiles/image/samples/frames/fr_samples_ds_villamor.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
		//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Biography";
	obj_tmp["title"] = "Virual Wax Museum - Queen Elizabeth";
	obj_tmp["desc"] = "Students can transform their written biographies into compelling digital documentaries that shows how the person's background influenced what they believed and how they acted as well as the personal qualities that helped this person succeed.";
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/movies/frames/fr_la_bio_queenelizabeth.flv";
	obj_tmp["url2"] = "/userfiles/image/samples/frames/fr_samples_ds_queen_elizabeth.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Biography
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Docudramas
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Docudramas";
	obj_tmp["title"] = "Krakatoa";
	obj_tmp["desc"] = "Developing docudramas requires not only extensive research but asks students to place themselves in a distant time or take on the role and view of a person with very different life experiences than their own. As students role-play what life was like they help history take on a life of its own and connect in a very personal ways to their own experiences.";
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/movies/frames/fr_ds_krakatoa.flv";
	obj_tmp["url2"] = "/userfiles/image/samples/frames/fr_samples_ds_krakatoa.jpg";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Docudramas
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Science Concepts
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Science Concepts";
	obj_tmp["title"] = "Life Cycle of a Bluebird";
	obj_tmp["desc"] = "We often think of science in terms of cold hard facts. While science does indeed deal with large amounts of data and information, transforming a scientific process into a story helps connect the process to the tangible realms of our own lives. In this example, students have developed a rap song (story form) to share the life cycle of a bluebird.  ";
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/movies/frames/fr_ds_bluebird.flv";
	obj_tmp["url2"] = "/userfiles/image/samples/frames/fr_samples_ds_bluebird.jpg";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
		//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Science Concepts";
	obj_tmp["title"] = "Breaking News Stories";
	obj_tmp["desc"] = "After students have studied various science concepts, have them apply what they have learned by writing a creative story that illustrates the concept they have learned. In Magnet Men students apply the basic concepts of how magnets work in a meaningful way. Projects of this nature can be a contribution to knowledge for future classes giving it an enduring quality.";
	obj_tmp["type"] = "movie";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/frames/fr_sci_magnetmen.flv";
	obj_tmp["url2"] = "/userfiles/media/productvideos/samples/frames/fr_sci_magnetmen.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample

	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Science Concepts
	 **************************************************************************/
	
//	end defining the individual samples for each subject
	
	return arr_samples;
}
