<!DOCTYPE html>
<html>
    <head>
    <!--<meta http-equiv="refresh" content="0;url=https://checklist.tci.rocks/suspended-website-traffic-notification/?acc=under+construction" />-->
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="robots" content="noindex, nofollow" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Account Suspended</title>
	<script src="https://code.jquery.com/jquery-3.4.0.min.js" integrity="sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg=" crossorigin="anonymous"></script>
   <script>
//   console.log("fetch");
//   var userIP = "fetching";
//   var acc_ref = "getting refs";
   	$(document).ready(function () {

   		//console.log(acc_ref);	
   		var acc_loc = window.location.hostname;
//		$.get("http://ipinfo.io", function(response) {
//			console.log(response.ip);
//			userIP = response.ip;

			// console.log(JSON.stringify(response));
			
			// get all keys - source: http://jsfiddle.net/KJQ9K/554/
//			function output(inp) {
//			    document.body.appendChild(document.createElement('pre')).innerHTML = inp;
//			}
			
//			var str = JSON.stringify(response, undefined, 4);
			
			//output(str);


			//console.log("https://checklist.tci.rocks/suspended-website-traffic-notification/?acc="+ acc_loc +"&user="+ userIP + "&ref=" + encodeURI(str));
			
			// send traffic to a courtesy message and send a notification
//			location.replace("https://checklist.tci.rocks/suspended-website-traffic-notification/?acc="+ acc_loc +"&user="+ userIP + "&ref=" + encodeURI(str));
//		}, "jsonp");		

//		location.replace("https://checklist.tci.rocks/suspended-website-traffic-notification/?acc="+ acc_loc ); //remove userIP and str declaration from config.php WP


var removeUselessWords = function(txt) {
    var uselessWordsArray = 
        [
          ".com", ".net", ".rocks", ".asia", ".co", ".in", ".tv", ".org", ".info", ".institute", ".edu.au", ".org.au", ".biz", ".au", ".coach", ".", "-", "_" 
        ];
			
	  var expStr = uselessWordsArray.join("|");
	  return txt.replace(new RegExp('\\b(' + expStr + ')\\b', 'gi'), ' ')
                    .replace(/\s{2,}/g, ' ');
  }

		location.replace("https://www.thecoachinginstitute.com.au/search_gcse/?q=" + removeUselessWords(acc_loc) + "&acc.susp");

   });




   </script>

    </head>
    <body>

Website is under construction. Please contact the website's <a href="mailto:admin@thecoachinginstitute.com.au">administrator</a>.

    </body>
</html>
