//Update these keys to use for specific site
//key = mlc:pageName : new Array(siteSection, pageTitle, contentType)
var _hbxKey = {
"/originalmovies/twitches+too/about+the+movie:about+the+movie+index":new Array("twi_2:about","home","regular"),
"/originalmovies/twitches+too/about+the+movie/alex:alex+index":new Array("twi_2:about","alex","regular"),
"/originalmovies/twitches+too/about+the+movie/camryn:camryn+index":new Array("twi_2:about","camryn","regular"),
"/originalmovies/twitches+too/about+the+movie/coventry:coventry+index":new Array("twi_2:about","conventry","regular"),
"/originalmovies/twitches+too/about+the+movie/shadowlands:shadowlands+index":new Array("twi_2:about","shadowlands","regular"),
"/originalmovies/twitches+too/about+the+movie/amulets:amulets+index":new Array("twi_2:about","amulets","regular"),

"/originalmovies/twitches+too/behind+the+scenes/twin+witches:twin+witches+index":new Array("twi_2:behind_scenes","twin_witches","videos"),
"/originalmovies/twitches+too/behind+the+scenes/on+the+set:on+the+set+index":new Array("twi_2:behind_scenes","on_the_set","regular"),
"/originalmovies/twitches+too/behind+the+scenes/the+castle:the+castle+index":new Array("twi_2:behind_scenes","the_castle","videos"),
"/originalmovies/twitches+too/behind+the+scenes/movie+magic:movie+magic+index":new Array("twi_2:behind_scenes","movie_magic","videos"),
"/originalmovies/twitches+too/behind+the+scenes/magic+stairs:magic+stairs+index":new Array("twi_2:behind_scenes","magic_stairs","videos"),
"/originalmovies/twitches+too/behind+the+scenes/details:details+index":new Array("twi_2:behind_scenes","details","regular"),
"/originalmovies/twitches+too/behind+the+scenes/more+magic:more+magic+index":new Array("twi_2:behind_scenes","more_magic","videos"),
"/originalmovies/twitches+too/behind+the+scenes/the+people:the+people+index":new Array("twi_2:behind_scenes","the_people","regular"),

"/originalmovies/twitches+too/games/quiz:quiz+index":new Array("twi_2","quiz","activities"),
"/originalmovies/twitches+too/shout-out:shout-out+index":new Array("twi_2","shout_out","email"),

"originalmovies/twitches+too/downloads:key+art800+index":new Array("twi_2:downloads","wallpaper_key_art_sm","downloads"),
"originalmovies/twitches+too/downloads:key+art1024+index":new Array("twi_2:downloads","wallpaper_key_art_lg","downloads"),
"originalmovies/twitches+too/downloads:alex800+index":new Array("twi_2:downloads","wallpaper_alex_sm","downloads"),
"originalmovies/twitches+too/downloads:alex1024+index":new Array("twi_2:downloads","wallpaper_alex_lg","downloads"),
"originalmovies/twitches+too/downloads:camryn800+index":new Array("twi_2:downloads","wallpaper_camryn_sm","downloads"),
"originalmovies/twitches+too/downloads:camryn1024+index":new Array("twi_2:downloads","wallpaper_camryn_lg","downloads"),
"originalmovies/twitches+too/downloads:both800+index":new Array("twi_2:downloads","wallpaper_both_sm","downloads"),
"originalmovies/twitches+too/downloads:both1024+index":new Array("twi_2:downloads","wallpaper_both_lg","downloads"),

"originalmovies/twitches+too/downloads:icons+logo":new Array("twi_2:downloads","icons_logo","downloads"),
"originalmovies/twitches+too/downloads:icons+alex":new Array("twi_2:downloads","icons_alex","downloads"),
"originalmovies/twitches+too/downloads:icons+camryn":new Array("twi_2:downloads","icons_camryn","downloads"),
"originalmovies/twitches+too/downloads:icons+both":new Array("twi_2:downloads","icons_both","downloads")
};

function pageTrack(pn,mlc,account){
	try{
		var omnivalue = _hbxKey[mlc+":"+pn];
		cto.h.mlc=mlc;
		cto.h.pageName=pn;
		cto.account="dcndisneychannel";
		cto.category="dtv";
		cto.site="dch";
		cto.siteSection=omnivalue[0];
		cto.pageName=omnivalue[1];
		cto.contentType=omnivalue[2];
		cto.property="twi";
		cto.genre="movies"; 
		cto.track();
	}
	catch(err)
	{
		/* Use these while developing, comment it out when finish
		   Viwer don't need to see these stuff */

		//alert("Please update _hbxKey");
		//document.write(mlc + ":" + pn);
	}
}
hitbox = new function hitboxObj(){
	this.Set_hbPageView = pageTrack
	this.Set_hbLink = pageTrack
} 