function esvtk_void(){ return;};
function esvtk_track(p){try{
var proto=window.location.protocol.toLowerCase();
var burl;
if ('https:'!=proto) burl="http://akatracking.esearchvision.com/esi/";
else burl="https://ssltracking.esearchvision.com/esi/";
if (p["esvtk_v"]=="1"){        
var urlp="esvid="+encodeURI(p["esvtk_esvid"]);
for(k in p){if (k!="esvtk_forcecount" && k!="esvtk_esvid" && k!="esvtk_v" && k!="esvtk_t") urlp=urlp+"&"+k+"="+encodeURI(p[k]);}         
var img=new Image();img.width=1;img.border=0; 
if (p["esvtk_t"]!="p" && p["esvtk_t"]!="c") img.src=burl+"once.gif?"+urlp+(p['esvtk_forcecount']=='1'?"&esvtk_r="+Math.random():"");
else img.src=burl+"pix.gif?"+urlp+"&esvtk_r="+Math.random();
img.onload=function() { esvtk_void(); };
}}catch(e){}};
function _esvtk_getdomain(){
	var l_idx = document.domain.length;
	var i = 0;
	while (l_idx && (i<2)) {
		if (document.domain.charAt(l_idx-1)=='.') 
			{
				i++;
				if ((i==1)&&!isNaN(new Number(document.domain.substring(l_idx)))) return "";
			}
			l_idx--;
		};
	if (i==0) return ""
	else return document.domain.substring(l_idx);
}
function esvtk_pageview(p){
	var stamp='esvtk_s=bgss',send=0;
	var expire = new Date();
	expire.setTime(expire.getTime() + 3600000*24*30);
	if (window.location.href.indexOf(stamp) > -1) {
		   var l_d=_esvtk_getdomain();
		   var l_dstr = "";
		   if (l_d.length > 0) {l_dstr="domain="+l_d+";"};
		   document.cookie = stamp+'; path=/ ;expires='+expire.toGMTString() +';'+l_dstr;
		   send=1;
	}
	var theCookie=""+document.cookie;
	if (theCookie.indexOf(stamp) > -1) send=1;
	if (send>0) esvtk_track(p);
}
