function testResults() {
	var calc = yourScoreNum = yourScoreNum / maxNum;
	maxNumber = 230;
	var percentage = calc = calc * maxNumber;
	var yourScoreWidth = "width:" + percentage + "px";
	var yourScore = document.createElement('div');
	yourScore.setAttribute("id","yourPerson");
	yourScore.style.cssText = yourScoreWidth;
	var yourScoreP = document.createElement('p');
	yourScoreP.setAttribute("id","score");
	var yourScorePText = document.createTextNode(Math.ceil(yourScoreNum *100) + "%" + " Complete" );
	yourScore.appendChild(yourScoreP);
	yourScoreP.appendChild(yourScorePText);
	var hook = document.getElementById("hook");
	hook.appendChild(yourScore);
}
function testResults2(originalpercentage, testname) 
{
    var totalWidth = 230;
    percentage = (originalpercentage / 100) * totalWidth;
	var yourScoreWidth = "width:" + percentage + "px";
	var yourScore = document.createElement('div');
	yourScore.setAttribute("id","yourPerson");
	yourScore.style.cssText = yourScoreWidth;
	var yourScoreP = document.createElement('p');
	yourScoreP.setAttribute("id","score");
	var yourScorePText = document.createTextNode(testname + " " + originalpercentage + "%" + " Complete" );
	yourScore.appendChild(yourScoreP);
	yourScoreP.appendChild(yourScorePText);
	var hook = document.getElementById("hook");
	hook.appendChild(yourScore);
}
function testResults3(originalpercentage, testname) 
{
    var totalWidth = 230;
    percentage = (originalpercentage / 100) * totalWidth;
	var yourScoreWidth = "width:" + percentage + "px";
	var yourScore = document.createElement('div');
	yourScore.setAttribute("id","yourPerson2");
	yourScore.style.cssText = yourScoreWidth;
	var yourScoreP = document.createElement('p');
	yourScoreP.setAttribute("id","progressBlue2");
	var yourScorePText = document.createTextNode(testname + " " + originalpercentage + "%" + " Complete" );
	yourScore.appendChild(yourScoreP);
	yourScoreP.appendChild(yourScorePText);
	var hook = document.getElementById("hook2");
	hook.appendChild(yourScore);
}

function progress(originalpercentage, testname) 
{
    var totalWidth = 230;
    percentage = (originalpercentage / 100) * totalWidth;
	var yourScoreWidth = "width:" + percentage + "px";
	var yourScore = document.createElement('div');
	yourScore.setAttribute("id","yourPerson");
	yourScore.style.cssText = yourScoreWidth;
	var yourScoreP = document.createElement('p');
	yourScoreP.setAttribute("id","progressBlue");
	var yourScorePText = document.createTextNode(testname + " " + originalpercentage + "%" + " Complete" );
	yourScore.appendChild(yourScoreP);
	yourScoreP.appendChild(yourScorePText);
	var hook = document.getElementById("hook");
	hook.appendChild(yourScore);
}
