<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>We’ll be right back!</title>
		<meta name="description" content="You have reached this page because the IP address is no longer in used. If you are the owner of this store, please contact EasyStore for assistance.">
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
		<style>
			body{
				font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
			}
			
			p{
				line-height: 1.5;	
			}
			
			a{
				color: -webkit-link;
				cursor: pointer;
			}
			
			button{
				font-size: 1rem;
				min-width: 7rem;
				border: none;
				border-radius: 6px;
				transition: all 0.12s ease-in-out;
				display: inline-block;
				cursor: pointer;
				text-align: center;
				white-space: nowrap;
				padding: 0 2rem;
				line-height: 37px;
				background-position: center center;
				font-weight: bold;
				box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 15%);
			}
			
			.top-right {
				margin-top: 25px;
				position: absolute;
				top: 8px;
				right: 16px;
			}
			
			.container{
				margin-top: 100px;
			}
		
			.notification {
				display: flex;
				flex-wrap: wrap;
				margin: auto;
				justify-content: center;
			}

			.notification [class*="col-"] {
				align-self: center;
				margin: auto;
			}
			
			.notification-msg {
				position: absolute;
				display: flex;
				flex-direction: column;
				text-align: left;
				top: 50%;
				transform: translateY(-60%);
				left: 0;
				z-index: 0;
				max-width: 100%;
				margin: auto 35px;
			}
			
			.notification-container {
				position: relative;
			}

			.notification-board {
				max-width: 350px;
				padding-top: 45px;
				z-index: 1;
			}
			
			.notification-title{
			    margin-bottom: 0;
			}

			@media screen and (max-width:991px) {
				.notification {
					display: flex;
					flex-wrap: wrap-reverse;
					margin: auto;
					justify-content: center;
				}
				
				.notification-msg {
					position: relative;
					top: 0;
					left: 0;
					transform: none;
					text-align: center;
					max-width: 100%;
					margin: auto 20px;
				}
				
				.notification-board{
				   display: none;
				}
				
				.container{
					margin-top: 50px;
				}
				
				.top-right {
					margin-top: 0;
					position: relative;
					text-align:right;
				}
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="notification">
				<div>
					<img id="imgbrb" src="https://s3.ap-southeast-1.amazonaws.com/eesb.public/images/storefront/error/temporary-down-en.png" style="width: 100%;max-width: 480px;">
				</div>
				<div class="notification-container">
					<img src="https://s3.ap-southeast-1.amazonaws.com/eesb.public/images/storefront/error/big-board.png" class="notification-board" alt="">
					<div class="top-right">
						<a onclick="myFunction()" id="language">繁體中文</a>
					</div>
					<div class="notification-msg">
						<h1 class="notification-title" id="language_h1"><strong>We’ll be right back!</strong></h1>
						<p class="notification-p-light" id="language_p">You have reached this page because the IP address is no longer in used. If you are the owner of this store, please contact EasyStore for assistance.</p>
					</div>
				</div>
			</div>
		</div>
		<script>
		function myFunction() {
			var language = document.getElementById("language");
			var language_h1 = document.getElementById("language_h1");
			var language_p = document.getElementById("language_p");
			var img = document.getElementById('imgbrb').src;
			
			if (language.innerHTML === "繁體中文") {
				language.innerHTML = "English";
				language_h1.innerHTML = "我們將很快回來！";
				language_p.innerHTML = "目前該 IP 地址已經失效，因此我們將您引導至此頁面。 如果您是該網店的擁有者，請聯繫 EasyStore 客服以獲得進一步的幫助。";
				document.getElementById('imgbrb').src  = 'https://s3.ap-southeast-1.amazonaws.com/eesb.public/images/storefront/error/temporary-down-cn.png';
			} 
			else {
				language.innerHTML = "繁體中文";
				language_h1.innerHTML = "We’ll be right back!";
				language_p.innerHTML = "You have reached this page because the IP address is no longer in used. If you are the owner of this store, please contact EasyStore for assistance.";
				document.getElementById('imgbrb').src  = 'https://s3.ap-southeast-1.amazonaws.com/eesb.public/images/storefront/error/temporary-down-en.png';
			}
		}
		</script>		
	</body>
</html>


