United Softball Association Scoreboard
function refreshSheet() {
const iframeA = document.getElementById("2025Gobbler-PoolA");
const baseUrlA = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQSv-J37uqW2pQWP8U_Irz-VcnvVQYvoABPb3_3YNrquJmWbuOuaP9-M_PtCnUR4-kEJHJ05RZqSh6s/pubhtml?widget=true&headers=false";
const timestamp = new Date().getTime();
iframeA.src = baseUrlA + "&ts=" + timestamp;
const iframeB = document.getElementById("2025Gobbler-PoolB");
const baseUrlB = "https://docs.google.com/spreadsheets/d/e/2PACX-1vRoMfZZXqdiQ8hmdx8FmWMoGeF-PySwSSbOBZs4MUL7WhzCn32uop7S4c-QI5Ns2gnqgcbV2QOluci8/pubhtml?widget=true&headers=false";
const timestamp = new Date().getTime();
iframeB.src = baseUrlB + "&ts=" + timestamp;
const iframeC = document.getElementById("2025Gobbler-PoolC");
const baseUrlC = "https://docs.google.com/spreadsheets/d/e/2PACX-1vRFFNnQKtQY6kJo-JU-k5NeZOMAbvPJsoza5qR6U3ppuvmPJs8hsHP7jbRkEiYzD5zvdFlPtVOj9wi-/pubhtml?widget=true&headers=false";
const timestamp = new Date().getTime();
iframeC.src = baseUrlC + "&ts=" + timestamp;
const iframeW = document.getElementById("2025Gobbler-Womens");
const baseUrlW = "https://docs.google.com/spreadsheets/d/e/2PACX-1vSzF44PUQmZqdnEan5zCwY_YmZsdsY9c4r8uN8YXQVoGCC6VFKu1DitbiGay88fmIwq5A_sGSJA_7ar/pubhtml?widget=true&headers=false";
const timestamp = new Date().getTime();
iframeW.src = baseUrlW + "&ts=" + timestamp;
}
// Initial load
refreshSheet();
// Auto-refresh every 30 seconds
setInterval(refreshSheet, 30000);