function Counter( sCounturl, sReferer, iUserid, iTime )
{
	this._eCounter = document.getElementById( "sadieimg" );
	this._sCounturl = sCounturl;
	this._sReferer = sReferer;
	this._iUserid = iUserid;
	this._iTime = iTime;
};

Counter.prototype.count = function( sId )
{
	sId = "tfl."+sId+".view";
	this._eCounter.src = this._sCounturl+'?id='+sId+'&ref='+this._sReferer+'&user='+this._iUserid+'&time='+this._iTime;
	return true;
};

function SadieCount( sId )
{
	if ( typeof oCounter == "object" )
		oCounter.count( sId );
}