var texthttp=false;

/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
 try {
  texthttp = new ActiveXObject("Msxml2.XMLHTTP");
 } catch (e) {
  try {
   texthttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (E) {
   texthttp = false;
  }
 }
@end @*/
if (!texthttp && typeof XMLHttpRequest!='undefined') {
  texthttp = new XMLHttpRequest();
}

function track_email(consultant_id) {
	var randomNumber = Math.floor(Math.random() * 9999999);
	texthttp.open("GET", "track_email.asp?r=" + randomNumber + "&consultant_id=" + consultant_id, true);
	texthttp.onreadystatechange=function() {
		if (texthttp.readyState==4) {
			var textDocument = texthttp.responseText;
			//Do nothing.
		}
	}
	texthttp.send(null)
}//end function get_listings()
