//Update these keys to use for specific site
//key = mlc:pageName : new Array(siteSection, pageTitle, contentType)
var _hbxKey = {
"/phineas+and+ferb/about+the+show/backyard:backyard+index":new Array("phf:about","backyard","regular"),
"/phineas+and+ferb/email/phineas:phineas+index":new Array("phf:email","phineas","email"),
"/phineas+and+ferb/email/candace:candace+index":new Array("phf:email","candace","email"),
"/phineas+and+ferb/email/ferb:ferb+index":new Array("phf:email","ferb","email"),
"/phineas+and+ferb/email/isabella:isabella+index":new Array("phf:email","isabella","email"),
"/phineas+and+ferb/email/drdoofenshmirtz:drdoofenshmirtz+index":new Array("phf:email","dr_doofenshmirtz","email"),
"/phineas+and+ferb/email/perry:perry+index":new Array("phf:email","perry","email"),
"/phineas+and+ferb/candace+blog/chat:chat+index":new Array("phf:candaces_blog","chat","activities"),
"/phineas+and+ferb/candace+blog/poll:poll+index":new Array("phf:candaces_blog","poll","activities")
};

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="phf";
		cto.genre="series"; 
		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);
	}
}

function _LinkTrack(lid,lpos,acct){
	cto.trackLink(lid,lpos);
}

hitbox = new function hitboxObj(){
	this.Set_hbPageView = _PageTrack
	this.Set_hbLink = _LinkTrack
} 