/* Jackpot Display, Copyright Boss Media 2002 */ var inc_40584 = 0; var jp_40584 = 26240.3501; var separator_40584 = ","; var currency_40584 = "$"; var decimals_40584 = 2; var animrate_40584 = 500; if (document.all) { document.write('Loading...'); }else{ document.write(styleJackpot_40584(roundFloat_40584(jp_40584,decimals_40584),decimals_40584)); } function rotate_40584() { jp_40584 = parseFloat(jp_40584) + parseFloat(inc_40584); displayJackpot_40584(); setTimeout("rotate_40584()",animrate_40584); } function displayJackpot_40584() { out_40584 = styleJackpot_40584(roundFloat_40584(jp_40584,decimals_40584),decimals_40584); if (document.all) { document.all.jackpot_40584.innerHTML = out_40584; } } function styleJackpot_40584 (n,m) { string_40584 = n.toString(); dot_40584 = string_40584.indexOf("."); if (dot_40584 != - 1) { integer_40584 = string_40584.substring(0,dot_40584); fraction_40584 = string_40584.substring(dot_40584,(string_40584.length)); }else{ integer_40584 = string_40584; fraction_40584 = ""; } var styled_40584 = ""; var ending_40584 = ""; for (i=integer_40584.length; i>0; i=i-3) { if (i == integer_40584.length) { styled_40584 = integer_40584.substring(strip_40584(i), i); }else{ styled_40584 = integer_40584.substring(strip_40584(i), i) + separator_40584 + styled_40584; } } ending_40584 = fraction_40584; if (fraction_40584.length < (m + 1)) { if (fraction_40584.length == 0) { fraction_40584 = "."; ending_40584 = fraction_40584; } for (i=1; i <= (m + 1 - fraction_40584.length); i++) { ending_40584 = ending_40584 + "0"; } } styled_40584 = currency_40584 + styled_40584 + ending_40584; return styled_40584; } function strip_40584 (n) { if ((n-3)<=0) { return 0; } else { return (n-3); } } function roundFloat_40584 (a,n) { return parseFloat(Math.round(a * Math.pow(10,n))) / Math.pow(10,n); } function init_40584() { if (document.readyState == "complete") { if (inc_40584 > 0) { if (document.all) rotate_40584(); }else{ displayJackpot_40584(); } }else{ setTimeout("init_40584()",500); } } init_40584(); function refreshJp() { clusterExit = 0; location.reload(); } setTimeout("refreshJp()",600000);