function loadGoldImage(obj, callback,d) { document.getElementById("gold1").style.color="#000000"; document.getElementById("gold1").style.backgroundColor="#e6f2fa"; document.getElementById("gold2").style.color="#000000"; document.getElementById("gold2").style.backgroundColor="#e6f2fa"; document.getElementById("gold3").style.color="#000000"; document.getElementById("gold3").style.backgroundColor="#e6f2fa"; document.getElementById("gold4").style.color="#000000"; document.getElementById("gold4").style.backgroundColor="#e6f2fa"; document.getElementById("gold5").style.color="#000000"; document.getElementById("gold5").style.backgroundColor="#e6f2fa"; switch (d) { case 1: document.getElementById("gold1").style.backgroundColor="#e0bf00"; document.getElementById("gold1").style.color="#FFFFFF"; break; case 2: document.getElementById("gold2").style.backgroundColor="#e0bf00"; document.getElementById("gold2").style.color="#FFFFFF"; break; case 3: document.getElementById("gold3").style.backgroundColor="#e0bf00"; document.getElementById("gold3").style.color="#FFFFFF"; break; case 4: document.getElementById("gold4").style.backgroundColor="#e0bf00"; document.getElementById("gold4").style.color="#FFFFFF"; break; case 5: document.getElementById("gold5").style.backgroundColor="#e0bf00"; document.getElementById("gold5").style.color="#FFFFFF"; break; default: } var img = new Image();img.src = obj.href;if (img.complete) { callback.call(img);return; } img.onload = function () { callback.call(img); }; }; function imgGoldLoaded(){document.getElementById("goldImg").src = this.src; }var form_content ='
$1958.2 ▲0.20.01%
1m1q6m1y5y
20:14 PM UTC 06.18.2023
'; document.write(form_content);