// template:	InvokeInsertLabLinkClick.js
// purpose:		to invoke the module to count a LabLink click from an onClick event
// history: 	001 060202 3242 ak created file

function CountLabLinkClick(LabLinkID,CatID) { 
	// Mozilla version
	if (window.XMLHttpRequest) {
		xhr = new XMLHttpRequest();
	}
	// IE version
	else if (window.ActiveXObject) {
		xhr = new ActiveXObject("Microsoft.XMLHTTP");
	}
	xhr.open("POST","/v2/incl/fnCallInsertLabLinkClickFunction.cfm");
	xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
	var sendClick = "&LabLinkID="+LabLinkID+"&CatID="+CatID;
	xhr.send(sendClick);
}
