$(document).ready(function(){
	$('.container').each(function() {
		var pageCode = $('.pageCode', $(this)).text();
		var rowNum = $('.rowNum', $(this)).text();
		var containerNum = $('.containerNum', $(this)).text();
		$('a',  $(this)).click(function() {
			sendContainerClickedOmniture(pageCode, rowNum, containerNum);
			return true;
		});
	});
})

function sendContainerClickedOmniture(pageCode, rowNum, containerNum) {
	//As we are loading third party libraries after dom load
	//It might be case when before Omniture gets loaded, this event get fired
	//causing javascript error, just exiting silently in that case
	var s;
	try{
		s=s_gi(s_account);
	} catch(err){
		return;
	}
    s.linkTrackVars='eVar38';
    s.eVar38 = pageCode + ":" + rowNum + ":" + containerNum;
	s.tl(this, 'o', 'Container Link');
    return true;
}

