function activateConfirm(quiz_id) {
	isok = confirm("Are you sure your quiz is totally done and working correctly?");
	if (isok) {
		self.location = "quiz.asp?action=activate&quiz_id=" + quiz_id;
	}
}

function delQuiz(quiz_id,from) {
			is_ok = confirm("Are you sure you want to delete this quiz?");
			if (is_ok) {
				self.location="quiz.asp?from="+from+"&action=delete&quiz_id="+quiz_id;
			}
		}

function quizVote(quiz_id,vote) {
	url = "/quiz_scripts/quiz_rec_vote.asp?quiz_id="+quiz_id+"&vote="+vote
	frames['ifexec'].location.href = url;
}