var gImages=new Array;
var gIndex=0;

function statsTag(uri) {
  var P = window.location.href.substring(0, window.location.href.indexOf("/", 8)) + uri;
	if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){
		P=P.substring(0,2040);
	}
	dcsCreateImage(P);
}

function dcsCreateImage(dcsSrc){
	if (document.images){
		gImages[gIndex]=new Image;
		gImages[gIndex].src=dcsSrc;
		gIndex++;
	}	else {
		document.write('<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">');
	}
}