$(document).ready(function(){ find_external_links(); });
function find_external_links() {
//	$('a.offsite').bind( 'click', function(el){ external_link(el); } );
	$("#top_nav").find("a").bind( 'click', function(el){ which_link(el, 'top_nav'); } );
	$("#investor_topics_nav").find("a").bind( 'click', function(el){ which_link(el, 'investor_topics_nav'); } );
	$("#component_1").find("a").bind( 'click', function(el){ which_link(el, 'component_1'); } );
	$("#component_2").find("a").bind( 'click', function(el){ which_link(el, 'component_2'); } );
	$("#component_3").find("a").bind( 'click', function(el){ which_link(el, 'component_3'); } );
	$("#component_4").find("a").bind( 'click', function(el){ which_link(el, 'component_4'); } );
	$("#component_5").find("a").bind( 'click', function(el){ which_link(el, 'component_5'); } );
	$("#component_6").find("a").bind( 'click', function(el){ which_link(el, 'component_6'); } );
	$("#topic_investing_trends").find("a").bind( 'click', function(el){ which_link(el, 'topic_investing_trends'); } );
	$("#topic_global_investing").find("a").bind( 'click', function(el){ which_link(el, 'topic_global_investing'); } );
	$("#topic_tech_and_biotech").find("a").bind( 'click', function(el){ which_link(el, 'topic_tech_and_biotech'); } );
	$("#topic_emerging_markets").find("a").bind( 'click', function(el){ which_link(el, 'topic_emerging_markets'); } );
	$("#topic_retirement").find("a").bind( 'click', function(el){ which_link(el, 'topic_retirement'); } );
	$("#topic_options").find("a").bind( 'click', function(el){ which_link(el, 'topic_options'); } );
	$("#topic_hot_stocks").find("a").bind( 'click', function(el){ which_link(el, 'topic_hot_stocks'); } );
	$("#topic_mutual_funds").find("a").bind( 'click', function(el){ which_link(el, 'topic_mutual_funds'); } );
	$("#topic_income_investing").find("a").bind( 'click', function(el){ which_link(el, 'topic_income_investing'); } );
	$("#topic_traders_tips").find("a").bind( 'click', function(el){ which_link(el, 'topic_traders_tips'); } );
	$("#topic_stocks_to_sell").find("a").bind( 'click', function(el){ which_link(el, 'topic_stocks_to_sell'); } );
	$("#this_months").find("a").bind( 'click', function(el){ which_link(el, 'this_months'); } );
}
function external_link(ev)
{
	// ntptLinkTag(ev.target.href);
	ntptAddPair("href", ev.target.href);
	ntptEventTag("ev=offsite_link");
}
function which_link(ev, zone)
{
	ntptAddPair("href", ev.target.href);
	ntptAddPair("zone", zone);
	ntptEventTag("ev=link");
}
