/* Jackpot Display, Copyright Boss Media 2002 */ var inc_63199 = 0; var jp_63199 = 39793.237; var separator_63199 = ","; var currency_63199 = "$"; var decimals_63199 = 2; var animrate_63199 = 500; if (document.all) { document.write('Loading...'); }else{ document.write(styleJackpot_63199(roundFloat_63199(jp_63199,decimals_63199),decimals_63199)); } function rotate_63199() { jp_63199 = parseFloat(jp_63199) + parseFloat(inc_63199); displayJackpot_63199(); setTimeout("rotate_63199()",animrate_63199); } function displayJackpot_63199() { out_63199 = styleJackpot_63199(roundFloat_63199(jp_63199,decimals_63199),decimals_63199); if (document.all) { document.all.jackpot_63199.innerHTML = out_63199; } } function styleJackpot_63199 (n,m) { string_63199 = n.toString(); dot_63199 = string_63199.indexOf("."); if (dot_63199 != - 1) { integer_63199 = string_63199.substring(0,dot_63199); fraction_63199 = string_63199.substring(dot_63199,(string_63199.length)); }else{ integer_63199 = string_63199; fraction_63199 = ""; } var styled_63199 = ""; var ending_63199 = ""; for (i=integer_63199.length; i>0; i=i-3) { if (i == integer_63199.length) { styled_63199 = integer_63199.substring(strip_63199(i), i); }else{ styled_63199 = integer_63199.substring(strip_63199(i), i) + separator_63199 + styled_63199; } } ending_63199 = fraction_63199; if (fraction_63199.length < (m + 1)) { if (fraction_63199.length == 0) { fraction_63199 = "."; ending_63199 = fraction_63199; } for (i=1; i <= (m + 1 - fraction_63199.length); i++) { ending_63199 = ending_63199 + "0"; } } styled_63199 = currency_63199 + styled_63199 + ending_63199; return styled_63199; } function strip_63199 (n) { if ((n-3)<=0) { return 0; } else { return (n-3); } } function roundFloat_63199 (a,n) { return parseFloat(Math.round(a * Math.pow(10,n))) / Math.pow(10,n); } function init_63199() { if (document.readyState == "complete") { if (inc_63199 > 0) { if (document.all) rotate_63199(); }else{ displayJackpot_63199(); } }else{ setTimeout("init_63199()",500); } } init_63199(); function refreshJp() { clusterExit = 0; location.reload(); } setTimeout("refreshJp()",600000);