// JavaScript Document

var question,str1=' ';
var opfname,oplname,opaffili;
var date = new Date();
var hours,minutes,seconds;
var tot_attempt=0;
var tot_correct=0;
hours=date.getHours();
minutes=date.getMinutes();
seconds=date.getSeconds();



question = new Array();
question[0] = new Array();
question[0][0]='The reviewer has several unsuccessful attempts to retrieve the material. What could be the likely cause of the problem?';
question[0][1] = new Array();
question[0][1][0] = new Array();
question[0][1][0][0]='List of authors improperly formatted.';
question[0][1][0][1] = 0;
question[0][1][1] = new Array();
question[0][1][1][0]='Journal poorly identified.';
question[0][1][1][1] = 0;
question[0][1][2] = new Array();
question[0][1][2][0]='Date of publication omitted.';
question[0][1][2][1] = 0;
question[0][1][3] = new Array();
question[0][1][3][0]='URL link outdated.';
question[0][1][3][1] = 1;
question[0][2] = 0;  // question attempted
question[0][3] = 0;  // question answered correctly
question[0][4] = -1;  // response number 0-3
question[0][5] = 'Citation of an Online Source'; //mistake title
question[0][6] = 4;  // numbe rof options for question


question[1] = new Array();
question[1][0]='Which perspective has a preponderance of support?';
question[1][1] = new Array();
question[1][1][0] = new Array();
question[1][1][0][0]='Author\'s perspective.';
question[1][1][0][1] = 0;
question[1][1][1] = new Array();
question[1][1][1][0]='Reviewer\'s  perspective.';
question[1][1][1][1] = 1;
question[1][2] = 0;  // question attempted
question[1][3] = 0;  // question answered correctly
question[1][4] = -1;  // response number 0-3
question[1][5] = 'Unclear Subject Recruitment'; //mistake title
question[1][6] = 2;  // number of options for question


question[2] = new Array();
question[2][0]='Which perspective has a preponderance of support?';
question[2][1] = new Array();
question[2][1][0] = new Array();
question[2][1][0][0]='Reviewer\'s perspective.';
question[2][1][0][1] = 1;
question[2][1][1] = new Array();
question[2][1][1][0]='Professor\'s perspective.';
question[2][1][1][1] = 0;
question[2][2] = 0;  // question attempted
question[2][3] = 0;  // question answered correctly
question[2][4] = -1;  // response number 0-3
question[2][5] = 'Sample Size'; //mistake title
question[2][6] = 2;  // number of options for question

question[3] = new Array();
question[3][0]='Which perspective has a preponderance of support?';
question[3][1] = new Array();
question[3][1][0] = new Array();
question[3][1][0][0]='Assistant professors\' perspective.';
question[3][1][0][1] = 0;
question[3][1][1] = new Array();
question[3][1][1][0]='Consulting statistician\'s perspective.';
question[3][1][1][1] = 1;
question[3][2] = 0;  // question attempted
question[3][3] = 0;  // question answered correctly
question[3][4] = -1;  // response number 0-3
question[3][5] = 'Reviewer Competency Manuscript with Substantial Statistical Content'; //mistake title
question[3][6] = 2;  // number of options for question

question[4] = new Array();
question[4][0]='Has the author provided adequate proof of this assertion?';
question[4][1] = new Array();
question[4][1][0] = new Array();
question[4][1][0][0]='Yes, the author has provided adequate proof of this assertion.';
question[4][1][0][1] = 0;
question[4][1][1] = new Array();
question[4][1][1][0]='No, the author has failed to provide adequate proof of this assertion.';
question[4][1][1][1] = 1;
question[4][2] = 0;  // question attempted
question[4][3] = 0;  // question answered correctly
question[4][4] = -1;  // response number 0-3
question[4][5] = 'Information about Group Comparison'; //mistake title
question[4][6] = 2;  // number of options for question

question[5] = new Array();
question[5][0]='Has the reviewer responded in a responsible manner?';
question[5][1] = new Array();
question[5][1][0] = new Array();
question[5][1][0][0]='Yes, since he has every intention of providing a comprehensive review.';
question[5][1][0][1] = 0;
question[5][1][1] = new Array();
question[5][1][1][0]='No, despite his intention to provide a comprehensive review, he knows he will not do it within the agreed time frame.';
question[5][1][1][1] = 1;
question[5][2] = 0;  // question attempted
question[5][3] = 0;  // question answered correctly
question[5][4] = -1;  // response number 0-3
question[5][5] = 'Responsiveness'; //mistake title
question[5][6] = 2;  // number of options for question

question[6] = new Array();
question[6][0]='How should the chemistry professor proceed?';
question[6][1] = new Array();
question[6][1][0] = new Array();
question[6][1][0][0]='Agree to review the manuscript, then decide whether she can remain impartial after reading the complete document.';
question[6][1][0][1] = 0;
question[6][1][1] = new Array();
question[6][1][1][0]='Notify the editor about her concerns about impartiality before reading the complete document.';
question[6][1][1][1] = 1;
question[6][2] = 0;  // question attempted
question[6][3] = 0;  // question answered correctly
question[6][4] = -1;  // response number 0-3
question[6][5] = 'Impartiality'; //mistake title
question[6][6] = 2;  // number of options for question

question[7] = new Array();
question[7][0]='Has the reviewer acted responsibly?';
question[7][1] = new Array();
question[7][1][0] = new Array();
question[7][1][0][0]='No, this represents a violation of confidentiality.';
question[7][1][0][1] = 1;
question[7][1][1] = new Array();
question[7][1][1][0]='Yes, since the reviewer has already submitted the review form with comments.';
question[7][1][1][1] = 0;
question[7][2] = 0;  // question attempted
question[7][3] = 0;  // question answered correctly
question[7][4] = -1;  // response number 0-3
question[7][5] = 'Confidentiality'; //mistake title
question[7][6] = 2;  // number of options for question


question[8] = new Array();
question[8][0]='How should the researcher proceed?';
question[8][1] = new Array();
question[8][1][0] = new Array();
question[8][1][0][0]='Engage in a self-reflection regarding her ability to impartially review this proposal.';
question[8][1][0][1] = 0;
question[8][1][1] = new Array();
question[8][1][1][0]='Decide to review the proposal without any self-reflection.';
question[8][1][1][1] = 0;
question[8][1][2] = new Array();
question[8][1][2][0]='Decide to recuse herself from reviewing this proposal without any self-reflection.';
question[8][1][2][1] = 0;
question[8][1][3] = new Array();
question[8][1][3][0]='After engaging in self-reflection, decide that her bias impacts objectivity and ask to recuse herself from reviewing the proposal.';
question[8][1][3][1] = 1;
question[8][2] = 0;  // question attempted
question[8][3] = 0;  // question answered correctly
question[8][4] = -1;  // response number 0-3
question[8][5] = 'Objectivity'; //mistake title
question[8][6] = 4;  // numbe rof options for question


question[9] = new Array();
question[9][0]='How should the reviewer proceed with this proposal?';
question[9][1] = new Array();
question[9][1][0] = new Array();
question[9][1][0][0]='Say nothing to the program officer and submit the review without any mention of a possible COI.';
question[9][1][0][1] = 0;
question[9][1][1] = new Array();
question[9][1][1][0]='Say nothing to the program officer until submitting the review that includes a disclosure of possible COI.';
question[9][1][1][1] = 0;
question[9][1][2] = new Array();
question[9][1][2][0]='Decides to say nothing unless it is brought up by the program officer.';
question[9][1][2][1] = 0;
question[9][1][3] = new Array();
question[9][1][3][0]='Reveal this conflict of interest immediately and let the program officer determine how to proceed.';
question[9][1][3][1] = 1;
question[9][2] = 0;  // question attempted
question[9][3] = 0;  // question answered correctly
question[9][4] = -1;  // response number 0-3
question[9][5] = 'Disclosure of Conflict of Interest (COI)'; //mistake title
question[9][6] = 4;  // numbe rof options for question

question[10] = new Array();
question[10][0]='How should the researcher proceed?';
question[10][1] = new Array();
question[10][1][0] = new Array();
question[10][1][0][0]='Decide to review proposals despite her reservations.';
question[10][1][0][1] = 0;
question[10][1][1] = new Array();
question[10][1][1][0]='Immediately decline to review proposals, but provide an explanation to the program officer.';
question[10][1][1][1] = 1;
question[10][1][2] = new Array();
question[10][1][2][0]='Wait several weeks before deciding not to review proposals, providing an explanation to the review committee for her inability to participate and the delayed response.';
question[10][1][2][1] = 0;
question[10][1][3] = new Array();
question[10][1][3][0]='Wait several weeks before deciding not to review the proposals, and provides no explanation to the review committee for either his unavailability to participate or his delayed response.';
question[10][1][3][1] = 0;
question[10][2] = 0;  // question attempted
question[10][3] = 0;  // question answered correctly
question[10][4] = -1;  // response number 0-3
question[10][5] = 'Review Quality'; //mistake title
question[10][6] = 4;  // numbe rof options for question

question[11] = new Array();
question[11][0]='Has the reviewer provided useful information to the author?';
question[11][1] = new Array();
question[11][1][0] = new Array();
question[11][1][0][0]='Yes, the reviewer\'s comment provide useful information on how to address the problem.';
question[11][1][0][1] = 0;
question[11][1][1] = new Array();
question[11][1][1][0]='No, the reviewer\'s comment did not provide useful information on how to address the problem.';
question[11][1][1][1] = 1;
question[11][2] = 0;  // question attempted
question[11][3] = 0;  // question answered correctly
question[11][4] = -1;  // response number 0-3
question[11][5] = 'Constructive Criticism'; //mistake title
question[11][6] = 2;  // number of options for question

question[12] = new Array();
question[12][0]='How should the analysis be conducted and reported?';
question[12][1] = new Array();
question[12][1][0] = new Array();
question[12][1][0][0]='Analyze and report all the data (140 cases).';
question[12][1][0][1] = 0;
question[12][1][1] = new Array();
question[12][1][1][0]='Analyze and report the 91 cases verifying the theory .';
question[12][1][1][1] = 0;
question[12][1][2] = new Array();
question[12][1][2][0]='Report neither.';
question[12][1][2][1] = 0;
question[12][1][3] = new Array();
question[12][1][3][0]='Analyze and report both analysis, full and trimmed data set.';
question[12][1][3][1] = 1;
question[12][2] = 0;  // question attempted
question[12][3] = 0;  // question answered correctly
question[12][4] = -1;  // response number 0-3
question[12][5] = 'Unclear Research Methods – Trimming and Cooking Data'; //mistake title
question[12][6] = 4;  // numbe rof options for question

question[13] = new Array();
question[13][0]='What additional statistic(s) should the author include to make his case more compelling?';
question[13][1] = new Array();
question[13][1][0] = new Array();
question[13][1][0][0]='The standard error of the estimate or confidence intervals.';
question[13][1][0][1] = 1;
question[13][1][1] = new Array();
question[13][1][1][0]='Chi-square statistic.';
question[13][1][1][1] = 0;
question[13][1][2] = new Array();
question[13][1][2][0]='Nothing more is recommended.';
question[13][1][2][1] = 0;
question[13][1][3] = new Array();
question[13][1][3][0]='Degrees of freedom.';
question[13][1][3][1] = 0;
question[13][2] = 0;  // question attempted
question[13][3] = 0;  // question answered correctly
question[13][4] = -1;  // response number 0-3
question[13][5] = 'Reporting Statistical Significance'; //mistake title
question[13][6] = 4;  // numbe rof options for question

question[14] = new Array();
question[14][0]='Which perspective has a preponderance of support? ';
question[14][1] = new Array();
question[14][1][0] = new Array();
question[14][1][0][0]='The researcher\'s perspective.';
question[14][1][0][1] = 0;
question[14][1][1] = new Array();
question[14][1][1][0]='The reviewer\'s perspective  .';
question[14][1][1][1] = 1;
question[14][2] = 0;  // question attempted
question[14][3] = 0;  // question answered correctly
question[14][4] = -1;  // response number 0-3
question[14][5] = 'Justification for Research'; //mistake title
question[14][6] = 2;  // number of options for question


question[15] = new Array();
question[15][0]='Which is the more appropriate statistics test?';
question[15][1] = new Array();
question[15][1][0] = new Array();
question[15][1][0][0]='Paired t-test.';
question[15][1][0][1] = 1;
question[15][1][1] = new Array();
question[15][1][1][0]='Pooled t-test.';
question[15][1][1][1] = 0;
question[15][2] = 0;  // question attempted
question[15][3] = 0;  // question answered correctly
question[15][4] = -1;  // response number 0-3
question[15][5] = 'Appropriate Statistical Methodology to Compare pre- and post-study Results'; //mistake title
question[15][6] = 2;  // number of options for question

question[16] = new Array();
question[16][0]='Which perspective has a preponderance of support?';
question[16][1] = new Array();
question[16][1][0] = new Array();
question[16][1][0][0]='Authors\'.';
question[16][1][0][1] = 0;
question[16][1][1] = new Array();
question[16][1][1][0]='Reviewer\'s.';
question[16][1][1][1] = 1;
question[16][2] = 0;  // question attempted
question[16][3] = 0;  // question answered correctly
question[16][4] = -1;  // response number 0-3
question[16][5] = 'Distribution of a variable'; //mistake title
question[16][6] = 2;  // number of options for question


question[17] = new Array();
question[17][0]='What is the reviewer\'s concern?';
question[17][1] = new Array();
question[17][1][0] = new Array();
question[17][1][0][0]='The reviewer feels a power calculation is unnecessary.';
question[17][1][0][1] = 0;
question[17][1][1] = new Array();
question[17][1][1][0]='The reviewer feels that drawing from dissimilar populations could pose an ethical problem.';
question[17][1][1][1] = 1;
question[17][1][2] = new Array();
question[17][1][2][0]='The reviewer feels the power calculation underestimates the size of the sample needed.';
question[17][1][2][1] = 0;
question[17][1][3] = new Array();
question[17][1][3][0]='The reviewer feels the power calculation cannot accurately estimate the size of the sample needed.';
question[17][1][3][1] = 0;
question[17][2] = 0;  // question attempted
question[17][3] = 0;  // question answered correctly
question[17][4] = -1;  // response number 0-3
question[17][5] = 'Using Power Analysis to Determine the Appropriate Number of Subjects'; //mistake title
question[17][6] = 4;  // numbe rof options for question


function updateParScoremain(mistnum,response,correctanswer)
{
    //document.write(correctanswer);
	mistnum-=1;
	tot_attempt += 1;
	question[mistnum][2]=1;
	if(correctanswer == 1)
	  {
		   question[mistnum][3]=1;
		   tot_correct += 1;		   
	  }
		 question[mistnum][4]=response;
}

function viewperformancemain(fname,lname,affili)
{

opfname=fname;
oplname=lname;
opaffili=affili;
window.open('perfreport.htm','','scrollbars=yes,resizable=yes,width=700,height=500');
//window.open('../perfreport.htm','','scrollbars=yes,resizable=yes,width=700,height=500');

}

function perfreportinfomain()
{
window.open('../perfreportinfo.htm','','scrollbars=yes,resizable=yes,width=700,height=500');
//window.open('../perfreportinfo.htm','','scrollbars=yes,resizable=yes,width=700,height=500');
}





