/* Jackpot Display, Copyright Boss Media 2002 */ var inc_57688 = 0; var jp_57688 = 30120.0499; var separator_57688 = ","; var currency_57688 = "$"; var decimals_57688 = 2; var animrate_57688 = 500; if (document.all) { document.write('Loading...'); }else{ document.write(styleJackpot_57688(roundFloat_57688(jp_57688,decimals_57688),decimals_57688)); } function rotate_57688() { jp_57688 = parseFloat(jp_57688) + parseFloat(inc_57688); displayJackpot_57688(); setTimeout("rotate_57688()",animrate_57688); } function displayJackpot_57688() { out_57688 = styleJackpot_57688(roundFloat_57688(jp_57688,decimals_57688),decimals_57688); if (document.all) { document.all.jackpot_57688.innerHTML = out_57688; } } function styleJackpot_57688 (n,m) { string_57688 = n.toString(); dot_57688 = string_57688.indexOf("."); if (dot_57688 != - 1) { integer_57688 = string_57688.substring(0,dot_57688); fraction_57688 = string_57688.substring(dot_57688,(string_57688.length)); }else{ integer_57688 = string_57688; fraction_57688 = ""; } var styled_57688 = ""; var ending_57688 = ""; for (i=integer_57688.length; i>0; i=i-3) { if (i == integer_57688.length) { styled_57688 = integer_57688.substring(strip_57688(i), i); }else{ styled_57688 = integer_57688.substring(strip_57688(i), i) + separator_57688 + styled_57688; } } ending_57688 = fraction_57688; if (fraction_57688.length < (m + 1)) { if (fraction_57688.length == 0) { fraction_57688 = "."; ending_57688 = fraction_57688; } for (i=1; i <= (m + 1 - fraction_57688.length); i++) { ending_57688 = ending_57688 + "0"; } } styled_57688 = currency_57688 + styled_57688 + ending_57688; return styled_57688; } function strip_57688 (n) { if ((n-3)<=0) { return 0; } else { return (n-3); } } function roundFloat_57688 (a,n) { return parseFloat(Math.round(a * Math.pow(10,n))) / Math.pow(10,n); } function init_57688() { if (document.readyState == "complete") { if (inc_57688 > 0) { if (document.all) rotate_57688(); }else{ displayJackpot_57688(); } }else{ setTimeout("init_57688()",500); } } init_57688(); function refreshJp() { clusterExit = 0; location.reload(); } setTimeout("refreshJp()",600000);