
function callStreamTrackServlet(eventHost,eventid,sessionid,loc,action,eventuserid,contentname,mediaurlid,displayelementid,stat1,stat2,stat3,xmlpost){
	
	alertx()
	
	var trackURL ="http://"+eventHost+"/utilApp/StreamTrackServlet"
	var trackParams="eventid="+eventid
					+"&sessionid="+sessionid
					+"&mode=log"
					+"&logdetails=true"
					+(eventuserid?"&eventuserid="+eventuserid:"")
					+(contentname?"&contentname="+escape(contentname):"")
					+(mediaurlid?"&mediaurlid="+mediaurlid:"")
					+(displayelementid?"&displayelementid="+displayelementid:"")
					+(loc?"&location="+loc:"")
					+(action?"&action="+action:"")
					+(stat1?"&stat1="+stat1:"")
					+(stat2?"&stat2="+stat2:"")
					+(stat3?"&stat3="+stat3:"");
	
	var getXMLHTTPLocation=null;
	if(typeof window.getXMLHTTP=="function") getXMLHTTPLocation=window;
	else if(typeof window.parent.getXMLHTTP=="function") getXMLHTTPLocation=window.parent;
	if(xmlpost && getXMLHTTPLocation){
		try{
			var xmlhttp = getXMLHTTPLocation.getXMLHTTP();
			if(xmlhttp){
				xmlhttp.open("POST",trackURL,true);
				xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
				xmlhttp.send(trackParams);
			}
		} catch (ex){
			//alert(ex.description);
			xmlpost=false;
		}
	} else xmlpost=false;
	
	if(!xmlpost){
		var trackImg=new Image();
		trackImg.src=trackURL+"?"+trackParams;
	}
}

function alertx(){}