/****************************************************************************************
  This file produces/containes :
	- A div with a table - which holds the tabs (according to TabArr)  -->  function createTabtable()
	- A div for every tab(in the TabArr) which holds clips(in ClipArr) --> function createDivs()
	- A function that changes the visibility and style of each div according to the user's clicks --> function TabChange(num)

// ***************************************************************************************/

function Tab(Name, Title)
//This functions creates tab index
{
	this.Name = Name;
} 
var TabArr = new Array(
//This is a tab array - containes Tabs 
					new Tab("Widgets"),
					new Tab("Mix")
					);
function clip(tab,details,movielink,thumb)
// This function creates clip item.
{
	this.tab = tab;
	this.details = details;
	this.movielink = movielink;
	this.thumb = thumb;
} 
var ClipArr = new Array(
						//new clip("Widgets", "Downloading Yahoo Widgets Engine 4", "http://www.youtube.com/v/6zNM1zwPDIY&autoplay=1","0_0.jpg"),
						new clip("Widgets", "How to use the Dock Panel","http://www.youtube.com/v/cObVfAjUPUE&autoplay=1","0_1.jpg"),
						new clip("Widgets", "GirlSense Boutique Fast Facts Widget","http://www.youtube.com/v/a0KKhjZ6E3c&autoplay=1","0_2.jpg"),
						new clip("Widgets", "GirlSense Radio Widget","http://www.youtube.com/v/9l1xj8hjAsQ&autoplay=1","0_3.jpg"),
						new clip("Widgets", "GirlSense Tune Player Widget","http://www.youtube.com/v/Od7Jq5ekHK0&autoplay=1","0_4.jpg"),
						new clip("Widgets", "GirlSense Horscope Widget","http://www.youtube.com/v/eGG9GTi9H6Y&autoplay=1","0_5.jpg"),
						new clip("Mix", "GirlSense Community First Cool Video Clip","http://www.youtube.com/v/PNGSJRyLHik&autoplay=1","1_0.jpg"),
						//new clip("Mix", "Quickshop tutorial","http://www.youtube.com/v/GgXyfIufsWQ&autoplay=1","1_1.jpg"),
						new clip("Mix", "GirlSense E-boutique Creator","http://www.youtube.com/v/P8OoLwxRUt0&autoplay=1","1_2.jpg"),
						new clip("Mix", "GirlSense Fashion Slideshow Tutorial","http://www.youtube.com/v/R2EU7CEefBs&autoplay=1","1_3.jpg"),
						new clip("Mix", "GirlSense Fashion slideshow","http://www.youtube.com/v/0sKgkI69NXI&autoplay=1","1_4.jpg")
						); 
