var pageName = "_365Gay"+location.pathname;

if (location.pathname.match(/\/$/) && location.pathname.length==1)
	pageName = pageName.substr(0,pageName.length-1);

com.mtvi.reporting.Account={
	name:'via365Gay,vialogoonline',
	dynamicAccountSelection:'true',
	dynamicAccountList:'vialogoonlinedev=inhouse,mtvi.com',
	linkInternalFilters:'javascript:,365gay.com,mtvi.com',
	registerLinks: true
};
// match everything after the http://www.365gay.com/ (or whatever) and before a # or a ?
currentLocation = document.location.toString().match(/^http:\/\/[^\/]+\/(.*?)\/?(#.*)?(\?.*)?$/)[1];
if (currentLocation == '') currentLocation = '_hp'
mtvn.btg.config.AdSettings.DoubleClick.sections = '_365gay/' + currentLocation

com.mtvi.reporting.Controller.initialize();

com.mtvi.reporting.Controller.sendCall(
	{
			pageName:	pageName,		
			hier2:		pageName,
			channel:	"365Gay",
			prop17:		"365Gay",
			eVar2:     	searchTerm,
			eVar3:     	searchType,
			eVar4:     	searchFail,
			prop20:     authorName
	}
);



// QuantCast
com.mtvi.reporting.QuantCast.sendQuantCastCall({ labels:"MTVN Global Digital Network,MTVN Global Digital Proper,MTVN Music and Logo Global Network,MTVN Music and Logo Global Proper,MTVN Music and Logo Domestic,Logo Online Network,365Gay Site" });


//ComScore
com.mtvi.reporting.ComScore.sendComScoreCall({ c2:"6088793" });





























