//Update these keys to use for specific site
//key = mlc:pageName : new Array(siteSection, pageTitle, contentType)
var _hbxKey = {
"/originalmovies/jump+in/index:jump+in+index":new Array("jmp","home","regular"),
"/originalmovies/jump+in/photos:jump+in+photos":new Array("jmp","photos","photos"),
"/originalmovies/jump+in/videos:jump+in+videos":new Array("jmp","videos","videos"),
"/originalmovies/jump+in/about:jump+in+about":new Array("jmp","about","regular"),
"/originalmovies/jump+in/quiz:jump+in+quiz":new Array("jmp","quiz","activities"),
"/originalmovies/jump+in/jab+and+gab:jump+in+jab+and+gab":new Array("jmp:games","jump_jab","activities"),
"/originalmovies/jump+in/downloads:jump+in+downloads":new Array("jmp:downloads","home","downloads"),
"/originalmovies/jump+in/downloads:print+downloads+index":new Array("jmp:downloads","movie_poster","downloads"),
"/originalmovies/jump+in/downloads:flip+book+index":new Array("jmp:downloads","flip_book","downloads"),
"/originalmovies/jump+in/background:jump+in+background":new Array("jmp","background","downloads"),
"/originalmovies/jump+in/email:jump+in+email":new Array("jmp","email","email")
};


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="jmp";
		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
} 