﻿function ___WBECheckSession() {
	
	var httpReq;
	
	if (window.XMLHttpRequest) { // Mozilla, Safari,...
		httpReq = new XMLHttpRequest();
	} else if (window.ActiveXObject) { // IE
		try {
			httpReq = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				httpReq = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {}
		}
	}

	if (httpReq) {
		httpReq.open("POST", "session_check.aspx");
		httpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
		httpReq.send("");
	}
	
	setTimeout('___WBECheckSession()', 300000);
}

___WBECheckSession();

