function sendLinkEvent(linkEventText) {
	//s.linkTrackVars='prop20,eVar20';
	//s.prop20=linkEventText;
	//s.eVar20=linkEventText;
	eval("var linkCall = {linkName:'"+linkEventText+"', linkType:'o'}");
		
	mtvn.btg.Controller.sendLinkEvent(linkCall);
}

function sendPromoLinkEvent(promoID) {
	sendLinkEvent(pageName+'/Promo_Button_'+promoID);
}

function siteSearchReport(){
	var isSearch = false;
	if ((document.location+"").indexOf("?") >= 0) {
		try {
			var firstParam = (document.location+"").split("?")[1].split("&")[0].split("=")[0];
			if (firstParam == "keywords" || firstParam == "dateSearch") {
			isSearch = true;
			}
		} catch (e) {
			isSearch = false;
		}
	} else {
		var url_parts=(document.location+"").split("/");
		for (var i in url_parts) {
			if (url_parts[i] == "tag") {
				isSearch = true;
			}
		}
	}
	
	if (isSearch) {
		mtvn.btg.reporting.Search.setConversion();
	}
}
