/* Jackpot Display, Copyright Boss Media 2002 */ var inc_5031 = 0; var jp_5031 = 168686.1758; var separator_5031 = ","; var currency_5031 = "$"; var decimals_5031 = 2; var animrate_5031 = 500; if (document.all) { document.write('Loading...'); }else{ document.write(styleJackpot_5031(roundFloat_5031(jp_5031,decimals_5031),decimals_5031)); } function rotate_5031() { jp_5031 = parseFloat(jp_5031) + parseFloat(inc_5031); displayJackpot_5031(); setTimeout("rotate_5031()",animrate_5031); } function displayJackpot_5031() { out_5031 = styleJackpot_5031(roundFloat_5031(jp_5031,decimals_5031),decimals_5031); if (document.all) { document.all.jackpot_5031.innerHTML = out_5031; } } function styleJackpot_5031 (n,m) { string_5031 = n.toString(); dot_5031 = string_5031.indexOf("."); if (dot_5031 != - 1) { integer_5031 = string_5031.substring(0,dot_5031); fraction_5031 = string_5031.substring(dot_5031,(string_5031.length)); }else{ integer_5031 = string_5031; fraction_5031 = ""; } var styled_5031 = ""; var ending_5031 = ""; for (i=integer_5031.length; i>0; i=i-3) { if (i == integer_5031.length) { styled_5031 = integer_5031.substring(strip_5031(i), i); }else{ styled_5031 = integer_5031.substring(strip_5031(i), i) + separator_5031 + styled_5031; } } ending_5031 = fraction_5031; if (fraction_5031.length < (m + 1)) { if (fraction_5031.length == 0) { fraction_5031 = "."; ending_5031 = fraction_5031; } for (i=1; i <= (m + 1 - fraction_5031.length); i++) { ending_5031 = ending_5031 + "0"; } } styled_5031 = currency_5031 + styled_5031 + ending_5031; return styled_5031; } function strip_5031 (n) { if ((n-3)<=0) { return 0; } else { return (n-3); } } function roundFloat_5031 (a,n) { return parseFloat(Math.round(a * Math.pow(10,n))) / Math.pow(10,n); } function init_5031() { if (document.readyState == "complete") { if (inc_5031 > 0) { if (document.all) rotate_5031(); }else{ displayJackpot_5031(); } }else{ setTimeout("init_5031()",500); } } init_5031(); function refreshJp() { clusterExit = 0; location.reload(); } setTimeout("refreshJp()",600000);