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

/******************************************************************************
 ***	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_ib"; }

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" );
	arr_subjects.push( "Art" );
//	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"] = "Book Cover Design";
	obj_tmp["desc"] = "After reading \"The Magicians Newphew\", students  chose to summarize the story using the key elements from the story to create a new book cover.  The students used a picture of themselves to represent the main character Digory Kirke and place themselves into the story.  The students also used the paint tools and stickers  to re-create the magical world of the Wood between the Worlds. <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=27&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=mjgh16rdfad9thnt8mugboj960memi6u&__utma=74247441.783762504588134500.1242405272.1242405272.1242405272.1&__utmb=74247441.2.10.1242405272&__utmc=74247441&__utmz=74247441.1242405272.1.1.utmcsr=tech4learning.com|utmccn=(referral)|utmcmd=referral|utmcct=/frames&lesson=185\" target=\"_blank\"><strong>Design and New Book Cover</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_la_bookcover.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_la_bookcover.jpg";
	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"] = "Developing Supporting Images";
	obj_tmp["desc"] = "Students use digital imagery to illustrate and provide meaning and context to a story they are reading.  The students created this image as part of choose your own adventure story. The students determined how the character was feeling and based on those feelings, the students chose a path for the story.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_la_pathways.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_la_pathways.png";
	obj_tmp["allowInFeatured"] = false;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Language Arts";
	obj_tmp["title"] = "Visual Vocabulary";
	obj_tmp["desc"] = "A Picture is Worth a Thousand Words! Using a digital camera and Pics4Learning students found pictures which represented current classroom vocabulary to make an electronic dictionary. The students wrote definitions for each of the words and published the dictionary to share with others. This classroom activity extended across various curriculum areas and provided visual clues for each of the vocabulary words, giving each word context and meaning.<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=27&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=mjgh16rdfad9thnt8mugboj960memi6u&__utma=74247441.783762504588134500.1242405272.1242405272.1242405272.1&__utmb=74247441.6.10.1242405272&__utmc=74247441&__utmz=74247441.1242405272.1.1.utmcsr=tech4learning.com|utmccn=(referral)|utmcmd=referral|utmcct=/frames&start=0&lesson=149\" target=\"_blank\"><strong>Cool Word Vocabulary</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_la_vocabulary.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_la_vocabulary.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"] = "Angles";
	obj_tmp["desc"] = "Students went on a hunt for angles. Using a digital camera the students were broken up into groups and were assigned a type of angle to look for.  Each group of students took pictures and then as a class exchanged pictures and used the paint tools in ImageBlender to locate the angle found in the picture.  The students published a completed book of angles found around their school to share with others.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_math_angle.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_math_angle.jpg";
	obj_tmp["allowInFeatured"] = true;
	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"] = "Biome Postcards";
	obj_tmp["desc"] = "As part of unit of study about the Biomes, students created informational postcards about each of the biomes. Using layering techniques, the students included important visual examples of plants and animals that were found in the biome. The students also included items which currently are found in everyday life which are bi-products of the particular biome.  The postcard was used as a summative assessment project at the end of the biomes unit.<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=27&gradelevel_query=&lessontype_query=&str_query=&PHPSESSID=mjgh16rdfad9thnt8mugboj960memi6u&__utma=74247441.783762504588134500.1242405272.1242405272.1242405272.1&__utmb=74247441.11.10.1242405272&__utmc=74247441&__utmz=74247441.1242405272.1.1.utmcsr=tech4learning.com|utmccn=(referral)|utmcmd=referral|utmcct=/frames&start=5&lesson=167\" target=\"_blank\"><strong>Send Me a Postcard from the Rainforest</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_sci_rainforest.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_sci_rainforest.jpg";
	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"] = "Schoolyard Species";
	obj_tmp["desc"] = "Do you know what plants and animals are found at your school? The Schoolyard is great place to find plant and animal species which you are currently studying and investigating and part of the science curriculum.  As part of the science fair project, students from a 5th grade classroom created an animal and plant species guide for their school. The guide was shared with parents and students and remains a publication the school media center.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_sci_species.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_sci_species.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"] = "State Poster";
	obj_tmp["desc"] = "Student designed unique posters about their state for the 4th grade state poster contest . The posters included pertinent information about the state, including flower, bird, tree and other interesting facts.  Students found that creating this poster was beneficial for their long term memory using digital pictures as a visual way to represent their state.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_ss_state.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_ss_state.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"] = "Famous People";
	obj_tmp["desc"] = "As part of student's musical history unit, students were asked to create poster or trading card about a musician whose music remains with us today.  The poster included pertinent information about the musician and the music which he/she composed.  This project may cascade through various curriculum areas and be applied inventors, mathematicians, scientists and more!";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_ss_famous.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_ss_famous.jpg";
	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
	 **************************************************************************/
	
	/**************************************************************************
	 ***	BEGIN - Art
	 **************************************************************************/
	arr_tmp = new Array();
	
	//	begin sample
	obj_tmp = new Object();
	obj_tmp["subject"] = "Art";
	obj_tmp["title"] = "Pop Art Prints";
	obj_tmp["desc"] = "Introduce students to Pop Art. Using images of common objects from the integrated Pics4Learning resource, have student use ImageBlender's layers and effects to create their own Warhol style art Student may choose interesting images or self portraits to create their very own Pop Art posters.<br /><br />View the <a href=\"http://www.thecreativeeducator.com/v06/lessons/Presenting_Pop_Art\" target=\"_blank\"><strong>Presenting Pop Art</strong></a> lesson plan here.";
	obj_tmp["type"] = "image";
	obj_tmp["url1"] = "/userfiles/media/productvideos/samples/imageblender/ib_art_warhol.jpg";
	obj_tmp["url2"] = "/userfiles/image/samples/imageblender/ib_samples_art_warhol.jpg";
	obj_tmp["allowInFeatured"] = true;
	arr_tmp.push( obj_tmp );
	obj_tmp = null;
	//	end sample
	
	arr_samples.push( arr_tmp );
	arr_tmp = null;
	/**************************************************************************
	 ***	END - Art
	 **************************************************************************/
//	end defining the individual samples for each subject
	
	return arr_samples;
}

