
function getCookie(name) {
	var cookie = " " + document.cookie;
	var search = " " + name + "=";
	var setStr = null;
	var offset = 0;
	var end = 0;
	if (cookie.length > 0) {
		offset = cookie.indexOf(search);
		if (offset != -1) {
			offset += search.length;
			end = cookie.indexOf(";", offset)
			if (end == -1) {
				end = cookie.length;
			}
			setStr = unescape(cookie.substring(offset, end));
		}
	}
	return(setStr);
}

path = window.location;
title = document.title;



document.write('<div style="display: none; "><img src="/?mode=stater_hit&path=' + path + '&title=' + title + '&cid=' + getCookie("PHPSESSID") + '" /></div>');

