var pad_id = '31299029';
var limit = 2;
var begunBanners;

function begun_get_bgcolor() { return '#FFFFE1'; }
function begun_get_width() { return 222; }

function begun_autocontext() {
	var w = window;

	var url = 'https://web.archive.org/web/20070812092730/http://autocontext.begun.ru/sense.php?'
		+ 'url=' + escape(document.location)
		+ '&pad_id=' + escape(pad_id)
		+ '&n=' + escape(limit);

	if (document.defaultCharset)
	    url += '&oe=' + document.defaultCharset;

	var lmt = Date.parse(document.lastModified) / 1000;
	var ref = document.referrer;

	if (lmt) url += '&lmt=' + escape(lmt);
	if (ref) url += '&ref=' + escape(ref);

	url = url.substring(0, 1524);
	url = url.replace(/%[0-9a-fA-F]?$/, '');

	url += '&rnd=' + escape(Math.random());

	document.write('<scr' + 'ipt type="text/javascript" src="' + url +'"></scr' + 'ipt>');
}

function begun_get_html() {
    if (!begunBanners) { return ''; }

    var html = '';
    if (begunBanners.length > 0) {
	for (var i = 0; i < Math.min(begunBanners.length, 3); i++) {
		var cur = begunBanners[i];
		var name = cur[0];
		var desc = cur[1];
		var link = cur[2];
		var site = cur[4];
		if (desc.length >= 100) desc = desc.substr(0, 99) + '...';

		begun_link = link;

		var padding = '0px';
		if (i > 0) padding = '8px';

		html += '<div style="padding-top:' + padding + ' !important;line-height:125% !important;text-align:left !important;">';
		html += '<div><a href="'+ link +'" style="color:blue !important;font:bold normal 11px sans-serif !important;text-decoration:underline;">' + name + '</a></div>';
		html += '<div style="padding: 3px 0 2px 0;"><a href="'+ link +'" style="color:gray !important;font:normal normal 11px sans-serif !important;text-decoration:none !important;">' + desc + '</a></div>';
		html += '<a href="'+ link +'" style="color: red !important;font:normal normal 11px sans-serif !important;text-decoration:none !important;">' + site + '</a>';
		html += '</div>';
	}
    }

    return html;
}


begun_autocontext();

/*
     FILE ARCHIVED ON 09:27:30 Aug 12, 2007 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 03:09:53 Jun 02, 2018.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  LoadShardBlock: 1157.881 (3)
  esindex: 0.01
  captures_list: 1233.182
  CDXLines.iter: 10.72 (3)
  PetaboxLoader3.datanode: 121.23 (4)
  exclusion.robots: 0.292
  exclusion.robots.policy: 0.263
  RedisCDXSource: 59.649
  PetaboxLoader3.resolve: 1248.095 (2)
  load_resource: 231.523
*/