﻿function isLive() {//validate live host
	if (window.location.href.indexOf(location.hostname) != -1) return true; else return false;
}

function isAuth() {//validate authorized domain
	if ((isLive()) && location.hostname.indexOf(String.fromCharCode(119,119,119,46,99)) != -1) return true; else return false;
}

