// JavaScript Document
var j = 1;
function getHost() {
	var file_name = document.location.href;
	var strUrlPathArray=file_name.split("/");
	var page_name = strUrlPathArray[strUrlPathArray.length - 1];
	var parent_folder = strUrlPathArray[strUrlPathArray.length - 2];
	document.getElementById(page_name).style.color='#000000';//changes the color of the current page link
	document.getElementById(parent_folder).style.color='#000000';//changes the color of the current folder link
}

function true_correct(){
	for(j = 1; j<10; j++){
	document.getElementById('t/fanswer-'+j).style.color='#ff0000';
	}
}

function color_correct(){
	for(i = 1; i<11; i++){
	document.getElementById('answer-'+i).style.color='#ff0000';
	}
}

function problem_correct(q_no){
            document.getElementById(q_no).style.display='block';//changes the display state of the correct answer to visible
}
