g_oTitles = new Object();

//Home
//g_oTitles["Home"] = "";

//Gallery
//g_oTitles["Gallery"] = "";
g_oTitles["Jemma%5FHostetler"] = "Jemma Hostetler";
g_oTitles["Nando%5FCosta"] = "Nando Costa";
g_oTitles["Rick%5FMullarky"] = "Rick Mullarky";
g_oTitles["Speared%5FPeanut"] = "Speared Peanut";
g_oTitles["Ty%5FLettau"] = "Ty Lettau";

//Think Tank
//g_oTitles["Think_Tank"] = "";
g_oTitles["Editors"] = "Think Tank Editors";
g_oTitles["Making%5FDo%5FAnd%5FGetting%5FBy"] = "Making Do and Getting By";
g_oTitles["VJ%5FCulture"] = "VJ Culture";
g_oTitles["All%5FTogether%5FNow"] = "All Together Now";
g_oTitles["The%5FValue%5FOf%5FMultimedia"] = "The Value of Multimedia in Learning";

//Dialog Box
//g_oTitles["Dialog_Box"] = "";
g_oTitles["Motion%5FAnd%5FDigital%5FMedia"] = "Motion and Digital Media";
g_oTitles["Style%5FVersus%5FDesign"] = "Style Versus Design";
g_oTitles["Animators%5FToolkit"] = "Animator's Toolkit";
g_oTitles["Usability%5FAs%5FCommon%5FCourtesy"] = "Usability as Common Courtesy";
g_oTitles["The%5FLean%5FForward%5FExperience"] = "How Interactivity and Storytelling Sell a Movie";

//Tutorials
//g_oTitles["Tutorials"] = "";
g_oTitles["Import%5FPhotoshop%5FFiles%5FInto%5FFlash"] = "Import Photoshop Files into Flash";
g_oTitles["Export%5FA%5FSWF%5FFile%5FFrom%5FImageReady"] = "Export a SWF File from ImageReady";
g_oTitles["Import%5FAdjustment%5FLayers"] = "Import Adjustment Layers & Blend Modes into Flash";
g_oTitles["Off%5FIn%5FA%5FFlash"] = "Get into Character";
g_oTitles["Prep%5FYour%5FIllustrator%5FFiles"] = "Vector Versatility- Illustrating and Animating the Web";
g_oTitles["Creating%5FDynamic%5FFlash%5FWeb%5FBanners"] = "Dynamic Duo";
g_oTitles["Animate%5FYour%5FText"] = "After Effects and Flash- Animate Your Text";
g_oTitles["Embedding%5FAlpha%5FChannels"] = "After Effects and Flash- Embedding Alpha Channels";
g_oTitles["Overlay%5FVideo"] = "After Effects and Flash- Overlay Video";


function setTitle(sSuffix)
{
	var sPage = sSection;
	var sQueryString = getQueryString();
	var nContentIdx = sQueryString.indexOf("sContent");

	if(nContentIdx != -1 && sQueryString.indexOf("bBookmark") != -1)
	{
		sPage = sQueryString.substring(sQueryString.indexOf("=", nContentIdx) + 1, sQueryString.indexOf("&", nContentIdx));
	}
	
	var sSubTitle = g_oTitles[sPage];

	if(sSubTitle)
	{
		sSuffix = sSubTitle;
	}
	document.write("<title>Adobe Motion Design Center- " + sSuffix + "</title>")
}

