
//function sendData(u,c,sf)
//{
//	
//	if(sf == 0)
//		window.document.write("<img src=\"http://www.lativio.com/applications/feeder_report/catch.php?site_id="+site_id+"&u="+u+"&c="+c+" width=0 height=0>");
////		http.open('get', 'http://www.lativio.com/applications/feeder_report/catch.php?site_id='+site_id+'&u='+u+'&c='+c);
//	else
//	window.document.write("<img src=\"http://www.lativio.com/applications/feeder_report/catch.php?site_id="+site_id+"&u="+u+"&c="+c+"&sf="+sf+" width=0 height=0>");
////	window.document.write('<img src="http://www.lativio.com/applications/feeder_report/catch.php?site_id='+site_id+'&u='+u+'&c='+c+'&sf='+sf'" width="0" height="0">');
////		http.open('get', 'http://www.lativio.com/applications/feeder_report/catch.php?site_id='+site_id+'&u='+u+'&c='+c+'&sf='+sf);
//	
////	http.send(null);
//}
//
//
// function nameDefined(ckie,nme)
//{
//   var splitValues
//   var i
//   for (i=0;i<ckie.length;++i)
//   {
//      splitValues=ckie[i].split("=")
//      if (splitValues[0]==nme) return true
//   }
//   return false
//}
//
//function delBlanks(strng)
//{
//   var result=""
//   var i
//   var chrn
//   for (i=0;i<strng.length;++i) {
//      chrn=strng.charAt(i)
//      if (chrn!=" ") result += chrn
//   }
//   return result
//}
//
//function getCookieValue(ckie,nme)
//{
//   var splitValues
//   var i
//   for(i=0;i<ckie.length;++i) {
//      splitValues=ckie[i].split("=")
//      if(splitValues[0]==nme) return splitValues[1]
//   }
//   return ""
//}
//
//function insertCounter() {
// readCookie()
//}
//
//// function displayCounter() {
//// document.write('<H3 ALIGN="CENTER">')
//// document.write("You've visited this page ")
//// if(counter==1) document.write("the first time.")
//// else document.write(counter+" times.")
//// document.writeln('</H3>')
//// }
// 
//function readCookie() {
// var cookie=document.cookie
// counter=0
// var chkdCookie=delBlanks(cookie)  //are on the client computer
// var nvpair=chkdCookie.split(";")
// if(nameDefined(nvpair,"pageCount") && parseInt(getCookieValue(nvpair,"pageCount")) == site_id)
// {
// 	 u = 0;
// 	 counter=parseInt(getCookieValue(nvpair,"pageCount"))
// }
// else
// {
// 	u = 1;
// }
//	 ++counter
//	 var futdate = new Date()
//	 var expdate = futdate.getTime()
//	 expdate += 3600000 * 24 *30  //expires in 1 hour
//	 futdate.setTime(expdate)
// 
// if(u == 1)
// {
// 	sendData(u=1,c=1,sf=parseInt(getCookieValue(nvpair,"pageCount")));
// }
// else
// {
// 	sendData(u=0,c=0,sf=0);
// }
// 
// var newCookie="pageCount="+site_id
// newCookie += "; domain=.lativio.com; expires=" + futdate.toGMTString()
// window.document.cookie=newCookie
//}

function insertCounter()
{
	document.write('<img src="http://www.lativio.com/applications/feeder_report/clients/catch.php?site_id='+site_id+'&visit=1" width=2 height=2>');
}