function esvtk_void(m){ return;};
function esvtk_track(p){try{
var proto=window.location.protocol.toLowerCase();
var burl = (('https:'!=proto)?"http://aka":"https://ssl")+"tracking.esearchvision.com/esi/";
var i=0;
var m=new Image();m.width=1;m.border=0;	
if (p["esvtk_v"]=="1"){	
var urlp="esvid="+encodeURIComponent(p["esvtk_esvid"]);
for(var k in p){if (typeof p[k]=="object"){i++;for (var l in p[k]) urlp+="&"+l+"_"+i+"="+encodeURIComponent(p[k][l]);}else if (typeof p[k]!="function" && k!="esvtk_forcecount" && k!="esvtk_esvid" && k!="esvtk_v" && k!="esvtk_t") urlp+="&"+k+"="+(k=="esvcid"?p[k]:encodeURIComponent(p[k]));}		
if (p["esvtk_t"]!="p") m.src=burl+(i>0?"multi.gif?":"once.gif?")+urlp+(p['esvtk_forcecount']=='1'?"&esvtk_r="+Math.random():"");
else m.src=burl+"pix.gif?"+urlp+"&esvtk_r="+Math.random();
m.onload=function() { esvtk_void(m); };
}}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*1);
	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);
}

