﻿<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/html">
<head>
	<meta charset="utf-8"/>
	<title>Идет поиск доступных зеркал сайта VipNetgame. Ожидайте.</title>
	<link rel="stylesheet" type="text/css" href="/css/main.css"/>
</head>

<body>
<script type="text/javascript" src="/js/jquery-1.12.3.min.js"></script>
<style type="text/css">
	body {
		background: #171d23;
	}
</style>
<canvas id="bubbles"></canvas>
<script type="text/javascript" src="/js/bubbles.js"></script>
<script>
	var _background = "#171d23";
	var _background_dark = "#07080A";
	var _current = "netgame";
</script>
<div class="content_wrapper">
			<img src="/images/netgame.png" alt="VipNetgame">
		<div class="text">Подождите пару секунду...<br/><br/>Перенаправляем Вас на сайт: <u>VipNetgame</u>	</div>
	<img class="loader" src="/images/_loader.png"/>
</div>

<script>
	var _mirrors = $.parseJSON('["http:\/\/bit.netgameclub8.com","https:\/\/bit.netgameclub8.com","http:\/\/feeling.netgameclub8.com","https:\/\/feeling.netgameclub8.com","http:\/\/heat.netgameclub8.com","https:\/\/heat.netgameclub8.com","http:\/\/iron.netgameclub8.com","https:\/\/iron.netgameclub8.com","http:\/\/light.netgameclub8.com","https:\/\/light.netgameclub8.com","http:\/\/profit.netgameclub8.com","https:\/\/profit.netgameclub8.com","http:\/\/relation.netgameclub8.com","https:\/\/relation.netgameclub8.com","http:\/\/self.netgameclub10.com","https:\/\/self.netgameclub10.com","http:\/\/stage.netgameclub10.com","https:\/\/stage.netgameclub10.com","http:\/\/touch.netgameclub10.com","https:\/\/touch.netgameclub10.com","http:\/\/wood.netgameclub10.com","https:\/\/wood.netgameclub10.com","http:\/\/wax.netgameclub10.com","https:\/\/wax.netgameclub10.com","http:\/\/turn.netgameclub10.com","https:\/\/turn.netgameclub10.com","http:\/\/machine.netgameclub10.com","https:\/\/machine.netgameclub10.com","http:\/\/rhythm.netgameclub10.com"]');

	var get = function (url, f) {
		var xhr = new XMLHttpRequest();
		xhr.timeout = 5000;
		xhr.open('GET', url, true);
		xhr.send();
		xhr.onreadystatechange = function () {
			if (xhr.readyState == 4) {
				try {
					f && f.call(null, xhr.responseText);
				} catch (e) {}
			}
		};
		return false;
	};

	$(document).ready(function () {
		var _checked_mirrors = [];
		var mfound=false;
		$.each(_mirrors, function (index, mirror) {
			get(mirror + '/ping/?'+Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 5)+'='+Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 4), function (res) {
				try {
					var json = JSON.parse(res);
					if (json.ping == 'ok') {
						if (mfound == false)
						{
							var url = mirror+'/?refcode=k29jIoYO0A';
							location.assign(url);
							document.location = url;
							mfound = true;
						}				
					}
				} catch (e) { }
			});
		});


	});
</script>

</body>
</html>