/* CLUB.JS START */ function W3C_css () {window.location = 'http://jigsaw.w3.org/css-validator/validator/?uri=https://communitychessclub.com/css/screen-min.css';} function topFunction() { document.body.scrollTop = 0; // For Safari document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera } function geek_1 (event) { if (event.shiftKey) { W3C_css(); } if (event.ctrlKey) { W3C_html(); } else { topFunction();} } function topper() {window.scrollTo(0, 0);} function wasteland() {window.scrollTo(0, document.body.scrollHeight);} function goGone() {location.href="https://www.youtube.com/embed/8_vmg4CrNSI";} function goChessable() {location.href="https://www.chessable.com/";} function goNews() {location.href="news.php";} function goHome(){location.href="index.php";} function goAppeal(){location.href="appeal.php";} function goIGgallery(){location.href="IG-gallery.php";} function goINgallery(){location.href="IN-gallery.php";} function goINgambit(){location.href="Nikolayev_Gambit.php";} function goINrecord(){location.href="IN-events.php";} function IGgames(){location.href="examineGRID.php?player=golyak";} function INgames(){location.href="examineGRID.php?player=nikolayev";} function SCgames(){location.href="examineGRID.php?player=capp";} function MPgames(){location.href="examineGRID.php?player=parry";} function MPtrip(){location.href="mparry.php";} function openALERT(){document.getElementById("appoach").showModal();} function closeALERT(){document.getElementById("alert_me").close();} /* BF CACHE */ /* BF CACHE END */ function getCurrentURL () {return window.location.href} const Xurl = getCurrentURL(); check_url = 'https://validator.w3.org/nu/?showsource=yes&doc=' + Xurl; function W3C_validator() {window.location=check_url;} HTMLDialogElement.prototype.triggerShow = HTMLDialogElement.prototype.showModal; HTMLDialogElement.prototype.showModal = function() { this.triggerShow(); this.onclick = event => { let rect = this.getBoundingClientRect(); if(event.clientY < rect.top || event.clientY > rect.bottom) return this.close(); if(event.clientX < rect.left || event.clientX > rect.right) return this.close(); } } function open_WISE() {document.getElementById("WISE_approach").showModal();} function close_WISE() {document.getElementById("WISE_approach").close();} function open_CAPP() {document.getElementById("CAPP_approach").showModal();} function close_CAPP() {document.getElementById("CAPP_approach").close();} function open_GOLYAK() {document.getElementById("GOLYAK_approach").showModal();} function close_GOLYAK() {document.getElementById("GOLYAK_approach").close();} function open_NIKOLAYEV() {document.getElementById("NIKOLAYEV_approach").showModal();} function close_NIKOLAYEV() {document.getElementById("NIKOLAYEV_approach").close();} function open_ABOUT() {document.getElementById("ABOUT_site").showModal();} function close_ABOUT() {document.getElementById("ABOUT_site").close();} function W3C_html() {window.location=check_url;} function W3C_css () {window.location = 'http://jigsaw.w3.org/css-validator/validator/?uri=https://chesstao.com/css/tao.css';} function test () {temp = 'reCAP.php'; window.location = temp;} function GO_mailTo() { var encEmail = "dmRhdmVza3Vsb3ZAZ21haWwuY29t"; // address = atob(encEmail); document.getElementById( "contact_man" ).innerHTML = address; open_EMAIL(); } function paste_Clip() { navigator.clipboard.writeText(""); navigator.clipboard.writeText(address).then(() => {alert('copied to clipboard'); close_EMAIL();}); } /* CLUB.JS END */
scroll up