// Author : Chris Tolley
// Date   : 3/5/2007
// Desc   : A function to use when doing clicktracking via ajax

var sClickTrackUrl = '/clicktracking_ajax.html/';

// The function to be called when a user clicks a link with clicktracking built in
function onClickTrackLinkClick( qryStr )
{
	// If the query string isn't set, return
	if( ! qryStr || qryStr.length == 0 )
		return false;
		
	// Build the ajax request to send to the server
	var req = new ajaxRequest();
	req.setCallBackFunc( function(){} );
	
	// Send the request
	req.doPost( sClickTrackUrl + '?' + qryStr, '', false );
	
	return true;
}// End function onClickTrackLinkClick
