<!--


//////////////////////////////////////////////////////
// Submit Event Function
//
// - Reads cookie information and EventDefinitionID 
/////////////////////////////////////////////////////
function SubmitEvent(EventDefinitionID, xmlCustomFields, PrePost, SequenceNumber)
{
	// Cookies 
	// Grab our cookies from the user's machine. They may or may not reside there.

	var UserID = "";
	var SessionID = "";

	// userid cookie
	if ((UserID = readCookie("bugsyuserid")) == false)
	{
		UserID = "";
	}

	// sessionid cookie
	if ((SessionID = readCookie("bugsysessionid")) == false)
	{
		SessionID = "";
	}

 	var qstring = "";
	if ((location.href.substr(0,6)=='https:') || (location.href.substr(0,6)=='HTTPS:'))
	{
		qstring = "https://net-radar.com/eventbugmq.asp?";
	}
	else
	{
		qstring = "http://net-radar.com/eventbugmq.asp?";
	}
 	
 	qstring += "target=" + escape(window.document.URL);
 	qstring += "&UserID=" + UserID;
 	qstring += "&SessionID=" + SessionID;
 	qstring += "&CustomFields=" + xmlCustomFields;
   	qstring += "&EventDefinitionID=" + EventDefinitionID;
   	qstring += "&PrePost=" + PrePost;
   	qstring += "&SequenceNumber=" + SequenceNumber;

	//alert(qstring);		
	var eventimage = new Image();
	eventimage.src = qstring;
	    
}

!-->