﻿// JScript File

function ExamAuthentication(userID,passCode,examID,servicePassword){
	//alert(passCode+' '+userID + ' ' + examID + ' ' + servicePassword);
    //examID = 14823;
	//RxA.WS.Exam.ExamAuthentication(userID,passCode,examID,servicePassword,1);
	return true;
}

function ExamAuthentication_Manual(userID, passCode, examID, servicePassword) {
    RxA.WS.Exam.ExamAuthentication(userID, passCode, examID, servicePassword, 1);
    return true;
}

function SaveOutput(examID,userID,score,timeOutput,xmlOutput,pass,servicePassword){
    //pass='1';
	//alert(examID+' '+userID + ' ' + score + ' ' + timeOutput + ' ' + xmlOutput  + ' '+ pass + ' ' + servicePassword);
	RxA.WS.Exam.SaveOutput(examID,userID,score,pass,xmlOutput,servicePassword);
	//window.location.href='../RxA/onlinelearning.aspx';
    //return true;
}
