after some debugging i found the reason for the js-error ie reported all the time ...

here is a simple solution ... ignore the Statement 'Don't change anything past this point ----------------- ' in the script-part and replace


function s(a,b,i,x){
if(a>b){
var m=(a-b)/Math.log(x),v=a-Math.floor(Math.log(i)*m)
}
else{
var m=(b-a)/Math.log(x),v=Math.floor(Math.log(i)*m+a)
}
return v
}

with

function s(a,b,i,x){
var m = 1;
var v = 1;

if(a>b){
if (Math.log(x) > 0) {
m = (a-b)/Math.log(x);
} else {
m = 1;
}
var v=a-Math.floor(Math.log(i)*m)
} else {
if (Math.log(x) > 0) {
m = (b-a)/Math.log(x);
} else {
m = 1;
}
v=Math.floor(Math.log(i)*m+a)
}

return v;
}

now you shouldn't have any problems ...

Related Posts by Categories



Widget by Hoctro | Jack Book