function getXMLHttp() {	var xmlhttp=null;	if (window.XMLHttpRequest) {// code for Firefox, Opera, IE7, etc.		xmlhttp=new XMLHttpRequest();	} else if (window.ActiveXObject) {// code for IE6, IE5		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");	}	return xmlhttp;}function IMNotifier(agentURL, title, dbId, docId, targetURL, refererURL, sendTo) {	var args = "&title=" + encodeURIComponent(title) + 				"&dbId=" + dbId + 				"&docId=" + docId +				"&url=" + targetURL +				"&referer=" + refererURL +				"&sendTo=" + sendTo + 				"&ts=" + new Date().getTime();	oHttp = getXMLHttp();	try {	if (oHttp != null) {		oHttp.onreadystatechange = function(){ handleIMNotifyReply(oHttp) };				oHttp.open("post", agentURL, true);		oHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');		oHttp.send(args);	}	} catch (e) {		}}function handleIMNotifyReply(oHttp) {	if (oHttp.readyState==4) {		if (oHttp.status==200) {			oHttp = null;		} else {			oHttp = null;		}	}}