//Browser Support Code
/*
var c=190;
var t;

function timedCount() {
	c=c-1;
	t=setTimeout('timedCount()', 1000);
	if (c==-1) {
		c=190;
		;
		timedCount();
	}
}
*/
function timedCount() {
	var t = 3;
	var tme = 1000 * 60 * t;
	setInterval ("ajaxLogin()", tme);
}

window.onload=timedCount;

function ajaxLogin(){
	var ajaxRequestLogin;  // The variable that makes Ajax possible!
	
	try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequestLogin = new XMLHttpRequest();
	} catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequestLogin = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequestLogin = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				// Something went wrong
				// it is probably just a good idea 
				// to let them disappear from here
				// the alternative is to show them a message
				// alert("Your Session has timed out. Refresh this page to stay logged in.");
				// return false;
			}
		}
	}
	ajaxRequestLogin.open("GET", "http://www.talentcircles.com/files/ajax/ajax_login.php", true);
	ajaxRequestLogin.send(null); 
}

