// JavaScript Document
function getPage(){
	var sPath = window.location.pathname;
	var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
	if(sPage=="contact.php")
	sPage="Contact Us (" + sPage +")";
	
	if(sPage=="index.html")
	sPage="Home Page (" + sPage +")";
	
	if(sPage=="cab-members.html")
	sPage="Who We Are - Read more (" + sPage +")";
	
	if(sPage=="learn-more.html")
	sPage="Learn More (" + sPage +")";
	
	if(sPage=="theneedinthecurrentenvironment.html")
	sPage="The Need in the Current Environment (" + sPage +")";
	
	if(sPage=="whatwedo.html")
	sPage="What We Do (" + sPage +")";
	
	if(sPage=="whatwedo-more.html")
	sPage="What We Do - Read More (" + sPage +")";
	
	if(sPage=="whoweare.html")
	sPage="Who We Are (" + sPage +")";
	
	if(sPage=="genhealth-demo.html")
	sPage="Website Tour Preview (" + sPage +")";
	
	if(sPage=="")
	sPage="Home Page (index.html)";

	return sPage;
}
function getIP(){
	var page=getPage();
	$.ajax({
		type:"POST",
		url: "counter/ajax/counter.php",
		data: 'page='+page,
		success: function($data){
		}
	});
}
window.onload=function(){getIP()};