function home_page_hit (currentPage) {
	//alert("Home Page hit");

	// the channel value will probably be different for each partner but not different on every page. 
	//channel = 'outliers'; 
	channel = 'airborne'; 
	// the pageName and hier (hierarchy) variables will be different for every page. marketing should provide the values. 
	//pageName = 'nfl:fathers day'; hier = 'nfl:fathers day'; 
	pageName='nfl:airborne:'+currentPage;
	hier='nfl:airborne|'+currentPage;
	// nothing below this line should need to be modified 
	s_analytics.server='nfl.com'; 
	s_analytics.prop22='www.nfl.com'; 
	s_analytics.channel = channel.toLowerCase(); 
	s_analytics.eVar3 = channel.toLowerCase(); 
	s_analytics.pageName = pageName.toLowerCase(); 
	s_analytics.eVar2 = pageName.toLowerCase(); 
	if (hier.indexOf('|') == -1) hier = hier + '|landing'; 
	s_analytics.hier1 = hier.toLowerCase(); 
	s_analytics.prop5 = hier.toLowerCase(); 
	s_analytics.eVar4 = hier.toLowerCase(); 
	var s_code = s_analytics.t(); 
	if (s_code) document.write(s_code); 
}

function dashboard_click () {
	//alert("Dashboard hit");

	// the channel value will probably be different for each partner but not different on every page. 
	//channel = 'outliers'; 
	channel = 'airborne'; 
	// the pageName and hier (hierarchy) variables will be different for every page. marketing should provide the values. 
	//pageName = 'nfl:fathers day'; hier = 'nfl:fathers day'; 
	pageName='nfl:airborne:dashboard';
	hier='nfl:airborne|dashboard';
	// nothing below this line should need to be modified 
	s_analytics.server='nfl.com'; 
	s_analytics.prop22='www.nfl.com'; 
	s_analytics.channel = channel.toLowerCase(); 
	s_analytics.eVar3 = channel.toLowerCase(); 
	s_analytics.pageName = pageName.toLowerCase(); 
	s_analytics.eVar2 = pageName.toLowerCase(); 
	if (hier.indexOf('|') == -1) hier = hier + '|landing'; 
	s_analytics.hier1 = hier.toLowerCase(); 
	s_analytics.prop5 = hier.toLowerCase(); 
	s_analytics.eVar4 = hier.toLowerCase(); 

	s_analytics.events='event11';
	var s_code = s_analytics.t(); 
	if (s_code) document.write(s_code); 
}

function submit_teamalerts_click () {
	var teamcode = document.chooseteam.team_code.value;
	teamalerts_click ("search result|" + teamcode);
}

function teamalerts_click (teamname) {
	//alert("Team Alerts hit " + teamname);
	
	// the channel value will probably be different for each partner but not different on every page. 
	//channel = 'outliers'; 
	channel = 'airborne'; 
	// the pageName and hier (hierarchy) variables will be different for every page. marketing should provide the values. 
	//pageName = 'nfl:fathers day'; hier = 'nfl:fathers day'; 
	pageName='nfl:airborne:team alerts:' + teamname;
	hier='nfl:airborne|team alerts';
	// nothing below this line should need to be modified 
	s_analytics.server='nfl.com'; 
	s_analytics.prop22='www.nfl.com'; 
	s_analytics.channel = channel.toLowerCase(); 
	s_analytics.eVar3 = channel.toLowerCase(); 
	s_analytics.pageName = pageName.toLowerCase(); 
	s_analytics.eVar2 = pageName.toLowerCase(); 
	if (hier.indexOf('|') == -1) hier = hier + '|landing'; 
	s_analytics.hier1 = hier.toLowerCase(); 
	s_analytics.prop5 = hier.toLowerCase(); 
	s_analytics.eVar4 = hier.toLowerCase(); 
	
	s_analytics.events='scAdd';
	var s_code = s_analytics.t(); 
	if (s_code) document.write(s_code); 
}

function submit_rosteralerts_click () {
	var byplayer = document.chooseplayer.byplayer.value;
	var byteam = document.chooseplayer.byteam.value;
	rosteralerts_teamtext_click (byteam, byplayer);
}

function rosteralerts_teamtext_click (teamname, searchtext) {
	//alert("Roster Alerts hit " + teamname + " - " + searchtext);
	
	// the channel value will probably be different for each partner but not different on every page. 
	//channel = 'outliers'; 
	channel = 'airborne'; 
	// the pageName and hier (hierarchy) variables will be different for every page. marketing should provide the values. 
	//pageName = 'nfl:fathers day'; hier = 'nfl:fathers day'; 
	pageName='nfl:airborne:roster alerts:search results by ' + teamname;
	hier='nfl:airborne|roster alerts|search results|' + teamname;
	// nothing below this line should need to be modified 
	s_analytics.server='nfl.com'; 
	s_analytics.prop22='www.nfl.com'; 
	s_analytics.channel = channel.toLowerCase(); 
	s_analytics.eVar3 = channel.toLowerCase(); 
	s_analytics.pageName = pageName.toLowerCase(); 
	s_analytics.eVar2 = pageName.toLowerCase(); 
	if (hier.indexOf('|') == -1) hier = hier + '|landing'; 
	s_analytics.hier1 = hier.toLowerCase(); 
	s_analytics.prop5 = hier.toLowerCase(); 
	s_analytics.eVar4 = hier.toLowerCase(); 
	
	s_analytics.prop6='airborne:roster:' + teamname + ':' + searchtext;
	s_analytics.eVar5=s_analytics.prop6;
	s_analytics.events='event2';
	var s_code = s_analytics.t(); 
	if (s_code) document.write(s_code); 
}

function rosteralerts_alpha_click (alpha) {
	//alert("Roster Alerts Alpha hit " + alpha);
	
	// the channel value will probably be different for each partner but not different on every page. 
	//channel = 'outliers'; 
	channel = 'airborne'; 
	// the pageName and hier (hierarchy) variables will be different for every page. marketing should provide the values. 
	//pageName = 'nfl:fathers day'; hier = 'nfl:fathers day'; 
	pageName='nfl:airborne:roster alerts:search results by alpha sort ' + alpha;
	hier='nfl:airborne|roster alerts|search results|alpha sort ' + alpha;
	// nothing below this line should need to be modified 
	s_analytics.server='nfl.com'; 
	s_analytics.prop22='www.nfl.com'; 
	s_analytics.channel = channel.toLowerCase(); 
	s_analytics.eVar3 = channel.toLowerCase(); 
	s_analytics.pageName = pageName.toLowerCase(); 
	s_analytics.eVar2 = pageName.toLowerCase(); 
	if (hier.indexOf('|') == -1) hier = hier + '|landing'; 
	s_analytics.hier1 = hier.toLowerCase(); 
	s_analytics.prop5 = hier.toLowerCase(); 
	s_analytics.eVar4 = hier.toLowerCase(); 
	
	var s_code = s_analytics.t(); 
	if (s_code) document.write(s_code); 
}

function purchase_click (product_code, product_price) {
	//alert("Purchase hit " + product_code + " - " + product_price);
	//alert("Wrong javascript ", product_code + " - " + product_price);
	// the channel value will probably be different for each partner but not different on every page. 
	//channel = 'outliers'; 
	channel = 'airborne'; 
	// the pageName and hier (hierarchy) variables will be different for every page. marketing should provide the values. 
	//pageName = 'nfl:fathers day'; hier = 'nfl:fathers day'; 
	pageName='nfl:airborne:purchase completed';
	hier='nfl:airborne|purchase completed';
	// nothing below this line should need to be modified 
	s_analytics.server='nfl.com'; 
	s_analytics.prop22='www.nfl.com'; 
	s_analytics.channel = channel.toLowerCase(); 
	s_analytics.eVar3 = channel.toLowerCase(); 
	s_analytics.pageName = pageName.toLowerCase(); 
	s_analytics.eVar2 = pageName.toLowerCase(); 
	if (hier.indexOf('|') == -1) hier = hier + '|landing'; 
	s_analytics.hier1 = hier.toLowerCase(); 
	s_analytics.prop5 = hier.toLowerCase(); 
	s_analytics.eVar4 = hier.toLowerCase(); 
	
	s_analytics.products=';' + product_code + ";1;" + product_price;
	s_analytics.events='purchase';
	var s_code = s_analytics.t(); 
	if (s_code) document.write(s_code);
}
