Any ideas how?
var finalscore = WM_readCookie("scoreval");
var percentscore = calculatescore (finalscore, totalquestions);
percentscore = eval(percentscore);
var score = percentscore ;
return score ;