function make_fcount_img_element(log, mode, digit, visible) {
	/* efStat from YugenKoubou (http://yugen.main.jp/) */
	/* modified by SieS (http://www.maplia.jp/sie/) */
	var out = "";
	var ref = "";

	var buf = escape(parent.document.referrer);
	var i, char;
	for (i = 0; i < buf.length; i++) {
		char = buf.charAt(i);
		ref += ((char == "+") ? "%2B" : char);
	}
	var scr = screen.width + "," + screen.height + "," + screen.colorDepth;

	out += "<img src=\"http://www.maplia.jp/fstat/fcount.cgi";
	out += "?LOG=" + log;
	out += "&amp;MODE=" + mode;
	out += "&amp;DIGIT=" + digit;
	out += "&amp;REF=" + ref;
	out += "&amp;SCR=" + scr;
	out += "\" "
	if (visible == 0) {
		out += "width=\"1\" height=\"1\ ";
	}
	out += "alt=\"&ndash;\">";

	return out;
}
