//=======================================================================
// JavaScript TestList auto list                        KJH   08-29-2007
// History:
//  08-29-2007  kjh -copied design from eJournals
//  07-21-2008  kjh -updated to adjust to new testlist changes
//  09-24-2009  kjh -udpated with 2009 Resource guide changes
//  08-02-2011  kjh -updated with 2011 test listing
//-----------------------------------------------------------------------
// Notes:  Always update the EndIdx number when updating the test list.
//=======================================================================
function DisplayTestList(SortOrder) {
	var EndIdx = 90;               // Last index number of TestList objects
	var Sa = new Array(EndIdx);     // Arrays begin at Zero!
	var t="";
	var i;
	var subj="";
	var pub="";
	var tl = new Object();
	
	GetTests(tl);                  // Get test list objects
	
	// Sort Array sa[] elements are created dependent on which field it is sorted on.
	// This allows the use of the sort method to auto-sorting the array.
	// The sa[] array content format: "SortItem1^SortItem2^IndexPointer"
	switch(SortOrder) {         // Case statement
		case 'dept':            // load departments
			for(var i=0;i<(EndIdx+1);i++) {  // check for 'holes' in data
				if (tl[i].testname !="") Sa[i]=tl[i].dept.toLowerCase()   +"^" + tl[i].testname  + "^" + i;
			}
			break;
		case 'testmne':         // load test mnemonic
			for(var i=0;i<(EndIdx+1);i++) {  // check for 'holes' in data
				if (tl[i].testname !="") Sa[i]=tl[i].testmne  + "^"+ tl[i].testname  + "^" + i;
			}
			break;
		default:                // load testname
			SortOrder="testname";
			for(var i=0;i<(EndIdx+1);i++) {  // check for 'holes' in data
				if (tl[i].testname !="") Sa[i]=tl[i].testname  + "^^" + i;
			}
			break;
	}

	/*  Debug display: 
	document.write("<div align='left'>");
	for(i=0;i<(EndIdx+1);i++) {   // Display in sort order
		document.write(i+")   "+Sa[i]+"<br>");
		//document.write(i+")   "+tl[i].testname+"<br>");
	}
	document.write("</div>");
	*/
	
	Sa.sort();                    // Alphabetically sort the array
	var lastDept="";
	if (SortOrder=="testname") DisplayTestNameHeader();
	if (SortOrder=="testmne") DisplayTestMneHeader();
	for(i=0;i<(EndIdx+1);i++) {   // Display in sort order
		var p=new Array(1);
		t=Sa[i];
		if (t!=undefined) {
			p=t.split("^",3);
			if (SortOrder=="testname") DisplayTestName(tl[p[2]]);
			if (SortOrder=="testmne") DisplayTestMne(tl[p[2]]);
			if (SortOrder=="dept") lastDept=DisplayDept(tl[p[2]],lastDept);
		}
	}
}

//=================================================================
//  Display an tlournal by title
//=================================================================
function DisplayTestNameHeader() {
	txt="<table width='500px' border='0' cellspacing='0' cellpadding='0' align='center'>";
	txt=txt + "<tr><td width='400px' align='left' valign='top'>";
	txt=txt + "<p class='ColumnHeader'>Test Name</p></td>";
	txt=txt + "<td width='100px' align='center' valign='top'>";
	txt=txt + "<p class='ColumnHeader'>Mnemonic</p></td>";
	txt=txt+"</tr></table>";
	document.write(txt);
}

function DisplayTestName(test) {
	var txt="";
	
	// General Table
	txt="<table width='500px' border='0' cellspacing='0' cellpadding='0' align='center'><tr>";
	document.write(txt);

	// ... TestName .................................................
	txt="<td width='400px' align='left' valign='top'>";
	txt=txt + "<p class='TestName'>";
	if (test.testurl != "") {
		txt= txt+ " <a href='" + test.testurl + "' class='TestNameLink'>";
	}
	txt=txt + test.testname;
	if (test.testurl != "") txt= txt+ "</a>";
	txt= txt + "</p></td>";
	document.write(txt);
	
	
	//... Test Mnemonic ...............................................
	txt="<td width='100px' align='center' valign='top'>";
	txt=txt+ "<p class='TestMne'>";
	if (test.testmne != "") {
		if (test.testurl != "") txt= txt+ " <a href='" + test.testurl + "' class='TestMneLink'>";
		txt= txt + test.testmne;
		if (test.testurl != "") txt= txt+ "</a>";
	} else {
		txt=txt+"&nbsp;";
	}
	txt= txt + "</p></td>";
	document.write(txt);

	// test name row end
	txt="</tr>";
	document.write(txt);

	//... comment ................................................
	if (test.comment != "") {
		txt="<tr><td align='left' valign='top'>";
		txt=txt+"<p class='Comment'>" + test.comment + "</p></td>";
		txt=txt+"<td>&nbsp;</td></tr>";
		document.write(txt);
	}

	// end table
	txt= "</table>";           // <hr width='300px' size='1'>
	document.write(txt);

}
//=================================================================
//  Display a Test by Mnemonic
//=================================================================
function DisplayTestMneHeader() {
	txt="<table width='500px' border='0' cellspacing='0' cellpadding='0' align='center'>";
	txt=txt + "<tr><td width='100px' align='center' valign='top'>";
	txt=txt + "<p class='ColumnHeader'>Mnemonic</p></td>";
	txt=txt + "<td width='400px' align='left' valign='top'>";
	txt=txt + "<p class='ColumnHeader'>Test Name</p></td>";
	txt=txt+"</tr></table>";
	document.write(txt);
}

function DisplayTestMne(test) {
	var txt="";
	
	// General Table
	txt="<table width='500px' border='0' cellspacing='0' cellpadding='0' align='center'><tr>";
	document.write(txt);
	
	//... Test Mnemonic ...............................................
	txt="<td width='100px' align='center' valign='top'>";
	txt=txt+ "<p class='TestMne'>";
	if (test.testmne != "") {
		if (test.testurl != "") txt= txt+ " <a href='" + test.testurl + "' class='TestMneLink'>";
		txt= txt + test.testmne;
		if (test.testurl != "") txt= txt+ "</a>";
	} else {
		txt=txt+"&nbsp;";
	}
	txt= txt + "</p>";
	txt=txt + "</td>";
	document.write(txt);

	// ... TestName .................................................
	txt="<td width='400px' align='left' valign='top'>";
	txt=txt + "<p class='TestName'>";
	if (test.testurl != "") {
		txt= txt+ " <a href='" + test.testurl + "' class='TestNameLink'>";
	}
	txt=txt + test.testname;
	if (test.testurl != "") txt= txt+ "</a>";
	txt= txt + "</p></td>";
	document.write(txt);
	
	// testmne row end
	txt="</tr>";
	document.write(txt);

	//... comment ................................................
	if (test.comment != "") {
		txt="<tr><td>&nbsp;</td>";
		txt=txt+"<td align='left' valign='top'>";
		txt=txt+"<p class='Comment'>" + test.comment + "</p></td></tr>";
		document.write(txt);
	}

	// end table
	txt= "</table>";           // <hr width='300px' size='1'>
	document.write(txt);

}

//=================================================================
//  Display a test by department
//=================================================================
function DisplayDept(test,lastDept) {
	var txt="";
	
	// Department changed
	if (lastDept != test.dept.toLowerCase() ) {
		var deptName="Not Specified";
		var lcDept=test.dept.toLowerCase();
		
		lastDept=lcDept;
		txt="<a name='" + lcDept + "'></A>";
		document.write(txt);

		if (lcDept == 'mgl') deptName="Molecular Genetics Laboratory";
		if (lcDept == 'psl') deptName="Prenatal Screening Laboratory";
		if (lcDept == 'rdl') deptName="Rheumatic Disease Laboratory";
		
		txt="<table width='500px' border='0' cellspacing='0' cellpadding='0' align='center'>";
		txt=txt+"<tr><td align='left' valign='top'>";
		txt=txt+"<p class='ColumnHeader' style='margin-top: 30px;'>" + deptName + "</p>";
		txt=txt+"</td></tr></table>";
		document.write(txt);
	}

	// General Table
	txt="<table width='500px' border='0' cellspacing='0' cellpadding='0' align='center'>";
	document.write(txt);

	// ... TestName .................................................
	txt="<tr><td width='400px' align='left' valign='top'>";
	txt=txt + "<p class='TestName'>";
	if (test.testurl != "") txt= txt+ " <a href='" + test.testurl + "' class='TestNameLink'>";
	txt=txt + test.testname;
	if (test.testurl != "") txt= txt+ "</a>";
	txt= txt + "</p></td>";
	document.write(txt);
	
	
	//... Test Mnemonic ...............................................
	txt="<td width='100px' align='center' valign='top'>";
	txt=txt+ "<p class='TestMne'>";
	if (test.testmne != "") {
		if (test.testurl != "") txt= txt+ " <a href='" + test.testurl + "' class='TestMneLink'>";
		txt= txt + test.testmne;
		if (test.testurl != "") txt= txt+ "</a>";
	} else {
		txt=txt+"&nbsp;";
	}
	txt= txt + "</p></td>";
	document.write(txt);

	// test name row end
	txt="</tr>";
	document.write(txt);

	//... see other ..............................................
	if (test.seeother != "") {
		txt="<tr><td align='left' valign='top'>";
		txt=txt+"<p class='SeeOther'>" + test.seeother + "</p></td>";
		txt=txt+"<td>&nbsp;</td></tr>";
		document.write(txt);
	}
	//... comment ................................................
	if (test.comment != "") {
		txt="<tr><td align='left' valign='top'>";
		txt=txt+"<p class='Comment'>" + test.comment + "</p></td>";
		txt=txt+"<td>&nbsp;</td></tr>";
		document.write(txt);
	}

	// end table
	txt= "</table>";           // <hr width='300px' size='1'>
	document.write(txt);
	
	
	return lastDept;
}

//=================================================================
//  Get tlournals stored in a set of objects
//=================================================================
function GetTests(tl) {
	//.................................................................
	tl[0] = new Object();
	tl[0].testname = "Acetylcholinesterase, Amniotic Fluid ";
	tl[0].testmne = "ACHE";
	tl[0].testurl = "/publications/resguide/rg-t_ache.html";
	tl[0].dept = "PSL";
	tl[0].seeother = "";
	tl[0].comment = "Includes amniotic fluid AFP and AChE";
	// 
	//.................................................................
	tl[1] = new Object();
	tl[1].testname = "Albumin";
	tl[1].testmne = "ALB";
	tl[1].testurl = "/publications/resguide/rg-t_alb.html";
	tl[1].dept = "RDL";
	tl[1].seeother = "";
	tl[1].comment = "";
	// 
	//.................................................................
	tl[2] = new Object();
	tl[2].testname = "Alpha-1-antitrypsin";
	tl[2].testmne = "A1AT";
	tl[2].testurl = "/publications/resguide/rg-t_a1at.html";
	tl[2].dept = "RDL";
	tl[2].seeother = "";
	tl[2].comment = "";
	// 
	//.................................................................
	tl[3] = new Object();
	tl[3].testname = "Alpha-2-macroglobulin";
	tl[3].testmne = "A2M";
	tl[3].testurl = "/publications/resguide/rg-t_a2m.html";
	tl[3].dept = "RDL";
	tl[3].seeother = "";
	tl[3].comment = "";
	// 
	//.................................................................
	tl[4] = new Object();
	tl[4].testname = "Alpha-Fetoprotein Profile Four";
	tl[4].testmne = "AFP4";
	tl[4].testurl = "/publications/resguide/rg-t_afp4.html";
	tl[4].dept = "PSL";
	tl[4].seeother = "";
	tl[4].comment = "Includes MSAFP, uE3, hCG, and DIA";
	// 
	//.................................................................
	tl[5] = new Object();
	tl[5].testname = "Alpha-fetoprotein, Amniotic Fluid";
	tl[5].testmne = "AFAFP";
	tl[5].testurl = "/publications/resguide/rg-t_afafp.html";
	tl[5].dept = "PSL";
	tl[5].seeother = "";
	tl[5].comment = "";
	// 
	//.................................................................
	tl[6] = new Object();
	tl[6].testname = "Alpha-fetoprotein, Maternal Serum";
	tl[6].testmne = "MSAFP";
	tl[6].testurl = "/publications/resguide/rg-t_msafp.html";
	tl[6].dept = "PSL";
	tl[6].seeother = "";
	tl[6].comment = "";
	// 
	//.................................................................
	tl[7] = new Object();
	tl[7].testname = "Alpha-fetoprotein, Non-pregnancy";
	tl[7].testmne = "NP-AFP";
	tl[7].testurl = "/publications/resguide/rg-t_npafp.html";
	tl[7].dept = "PSL";
	tl[7].seeother = "";
	tl[7].comment = "";
	// 
	//.................................................................
	tl[8] = new Object();
	tl[8].testname = "ANA";
	tl[8].testmne = "ANA";
	tl[8].testurl = "/publications/resguide/rg-t_ana.html";
	tl[8].dept = "RDL";
	tl[8].seeother = "see Anti-Nuclear Antibodies";
	tl[8].comment = "Reflexive titering following positive ANA";
	// 
	//.................................................................
	tl[9] = new Object();
	tl[9].testname = "ANA/DNA Panel";
	tl[9].testmne = "ADNA";
	tl[9].testurl = "/publications/resguide/rg-t_adna.html";
	tl[9].dept = "RDL";
	tl[9].seeother = "";
	tl[9].comment = "";
	// 
	//.................................................................
	tl[10] = new Object();
	tl[10].testname = "Anti-Cardiolipin Antibodies";
	tl[10].testmne = "ACL";
	tl[10].testurl = "/publications/resguide/rg-t_acl.html";
	tl[10].dept = "RDL";
	tl[10].seeother = "";
	tl[10].comment = "Against IgA, IgG, and IgM";
	// 
	//.................................................................
	tl[11] = new Object();
	tl[11].testname = "Anti-Cyclic Citrullinated Peptide";
	tl[11].testmne = "CCP";
	tl[11].testurl = "/publications/resguide/rg-t_ccp.html";
	tl[11].dept = "RDL";
	tl[11].seeother = "";
	tl[11].comment = "";
	// 
	//.................................................................
	tl[12] = new Object();
	tl[12].testname = "Anti-Double Stranded DNA";
	tl[12].testmne = "DNA";
	tl[12].testurl = "/publications/resguide/rg-t_dsdna.html";
	tl[12].dept = "RDL";
	tl[12].seeother = "";
	tl[12].comment = "";
	// 
	//.................................................................
	tl[13] = new Object();
	tl[13].testname = "Anti-Endomysial Antibodies, IgA";
	tl[13].testmne = "EMA";
	tl[13].testurl = "/publications/resguide/rg-t_cdtema.html";
	tl[13].dept = "RDL";
	tl[13].seeother = "";
	tl[13].comment = "";
	// 
	//.................................................................
	tl[14] = new Object();
	tl[14].testname = "Anti-Extractable Nuclear Antigen Panel";
	tl[14].testmne = "ENA";
	tl[14].testurl = "/publications/resguide/rg-t_ena.html";
	tl[14].dept = "RDL";
	tl[14].seeother = "";
	tl[14].comment = "Includes anti SSA, SSB, Sm, RNP, Jo-1, Scl-70, and total Anti-Histone Antibodies";
	// 
	//.................................................................
	tl[15] = new Object();
	tl[15].testname = "Anti-Gliadin Antibodies deamidated, IgA and IgG";
	tl[15].testmne = "AGA";
	tl[15].testurl = "/publications/resguide/rg-t_aga.html";
	tl[15].dept = "RDL";
	tl[15].seeother = "";
	tl[15].comment = "";
	// 
	//.................................................................
	tl[16] = new Object();
	tl[16].testname = "Anti-Glomerular Basement Membrane Antibodies";
	tl[16].testmne = "GBM*";
	tl[16].testurl = "";
	tl[16].dept = "RDL";
	tl[16].seeother = "";
	tl[16].comment = "*Discontinued";
	// 
	//.................................................................
	tl[17] = new Object();
	tl[17].testname = "Anti-Histone Antibodies, Total";
	tl[17].testmne = "THIST";
	tl[17].testurl = "/publications/resguide/rg-t_ena.html";
	tl[17].dept = "RDL";
	tl[17].seeother = "";
	tl[17].comment = "";
	// 
	//.................................................................
	tl[18] = new Object();
	tl[18].testname = "Anti-Jo-1 Antibodies";
	tl[18].testmne = "JO1";
	tl[18].testurl = "/publications/resguide/rg-t_jo1.html";
	tl[18].dept = "RDL";
	tl[18].seeother = "";
	tl[18].comment = "";
	// 
	//.................................................................
	tl[19] = new Object();
	tl[19].testname = "Anti-Keratin Antibodies";
	tl[19].testmne = "KER";
	tl[19].testurl = "/publications/resguide/rg-t_ker.html";
	tl[19].dept = "RDL";
	tl[19].seeother = "";
	tl[19].comment = "";
	// 
	//.................................................................
	tl[20] = new Object();
	tl[20].testname = "Anti-Microsomal Antibodies";
	tl[20].testmne = "AMSA";
	tl[20].testurl = "/publications/resguide/rg-t_amsa.html";
	tl[20].dept = "RDL";
	tl[20].seeother = "";
	tl[20].comment = "";
	// 
	//.................................................................
	tl[21] = new Object();
	tl[21].testname = "Anti-Mitochondrial Antibodies";
	tl[21].testmne = "AMA";
	tl[21].testurl = "/publications/resguide/rg-t_ama.html";
	tl[21].dept = "RDL";
	tl[21].seeother = "";
	tl[21].comment = "";
	// 
	//.................................................................
	tl[22] = new Object();
	tl[22].testname = "Anti-Myeloperoxidase Antibodies";
	tl[22].testmne = "MPO*";
	tl[22].testurl = "";
	tl[22].dept = "RDL";
	tl[22].seeother = "";
	tl[22].comment = "*Discontinued";
	// 
	//.................................................................
	tl[23] = new Object();
	tl[23].testname = "Anti-Neutrophil Cytoplasmic Antibodies";
	tl[23].testmne = "ANCA";
	tl[23].testurl = "/publications/resguide/rg-t_anca.html";
	tl[23].dept = "RDL";
	tl[23].seeother = "";
	tl[23].comment = "Includes C-ANCA; P-ANCA available reflexively";
	// 
	//.................................................................
	tl[24] = new Object();
	tl[24].testname = "Anti-Nuclear Antibodies";
	tl[24].testmne = "ANA";
	tl[24].testurl = "/publications/resguide/rg-t_ana.html";
	tl[24].dept = "RDL";
	tl[24].seeother = "";
	tl[24].comment = "";
	// 
	//.................................................................
	tl[25] = new Object();
	tl[25].testname = "Anti-Parietal Cell Antibodies";
	tl[25].testmne = "APCA";
	tl[25].testurl = "/publications/resguide/rg-t_apca.html";
	tl[25].dept = "RDL";
	tl[25].seeother = "";
	tl[25].comment = "";
	// 
	//.................................................................
	tl[26] = new Object();
	tl[26].testname = "Anti-Phosphatidylserine antibodies";
	tl[26].testmne = "APL";
	tl[26].testurl = "/publications/resguide/rg-t_apl.html";
	tl[26].dept = "PSL";
	tl[26].seeother = "See also Anti-Phospholipid Antibodies";
	tl[26].comment = "Against IgA, IgG, and IgM";
	// 
	//.................................................................
	tl[27] = new Object();
	tl[27].testname = "Anti-Phospholipid Antibodies";
	tl[27].testmne = "APA";
	tl[27].testurl = "/publications/resguide/rg-t_apa.html";
	tl[27].dept = "PSL";
	tl[27].seeother = "";
	tl[27].comment = "Includes ACL and APL";
	// 
	//.................................................................
	tl[28] = new Object();
	tl[28].testname = "Anti-Phospholipid Antibody Syndrome Panel";
	tl[28].testmne = "APS";
	tl[28].testurl = "/publications/resguide/rg-t_aps.html";
	tl[28].dept = "PSL";
	tl[28].seeother = "";
	tl[28].comment = "Includes ACL, APL, and LAC";
	// 
	//.................................................................
	tl[29] = new Object();
	tl[29].testname = "Anti-RNP Antibodies";
	tl[29].testmne = "RNP";
	tl[29].testurl = "/publications/resguide/rg-t_rnp.html";
	tl[29].dept = "RDL";
	tl[29].seeother = "";
	tl[29].comment = "";
	// 
	//.................................................................
	tl[30] = new Object();
	tl[30].testname = "Anti-Scl-70 Antibodies";
	tl[30].testmne = "SCL70";
	tl[30].testurl = "/publications/resguide/rg-t_scl.html";
	tl[30].dept = "RDL";
	tl[30].seeother = "";
	tl[30].comment = "";
	// 
	//.................................................................
	tl[31] = new Object();
	tl[31].testname = "Anti-Sm Antibodies";
	tl[31].testmne = "SM";
	tl[31].testurl = "/publications/resguide/rg-t_sm.html";
	tl[31].dept = "RDL";
	tl[31].seeother = "";
	tl[31].comment = "";
	// 
	//.................................................................
	tl[32] = new Object();
	tl[32].testname = "Anti-Smooth Muscle Antibodies";
	tl[32].testmne = "ASMA";
	tl[32].testurl = "/publications/resguide/rg-t_asma.html";
	tl[32].dept = "RDL";
	tl[32].seeother = "";
	tl[32].comment = "";
	// 
	//.................................................................
	tl[33] = new Object();
	tl[33].testname = "Anti-SSA Antibodies";
	tl[33].testmne = "SSA";
	tl[33].testurl = "/publications/resguide/rg-t_ssa.html";
	tl[33].dept = "RDL";
	tl[33].seeother = "";
	tl[33].comment = "";
	// 
	//.................................................................
	tl[34] = new Object();
	tl[34].testname = "Anti-SSB Antibodies";
	tl[34].testmne = "SSB";
	tl[34].testurl = "/publications/resguide/rg-t_ssb.html";
	tl[34].dept = "RDL";
	tl[34].seeother = "";
	tl[34].comment = "";
	// 
	//.................................................................
	tl[35] = new Object();
	tl[35].testname = "Anti-Thyroglobulin Antibodies";
	tl[35].testmne = "ATGA";
	tl[35].testurl = "/publications/resguide/rg-t_atga.html";
	tl[35].dept = "RDL";
	tl[35].seeother = "";
	tl[35].comment = "";
	// 
	//.................................................................
	tl[36] = new Object();
	tl[36].testname = "Anti-Tissue Transglutaminase Antibodies";
	tl[36].testmne = "TTG";
	tl[36].testurl = "/publications/resguide/rg-t_ttg.html";
	tl[36].dept = "RDL";
	tl[36].seeother = "";
	tl[36].comment = "";
	// 
	//.................................................................
	tl[37] = new Object();
	tl[37].testname = "Apolipoprotein AI";
	tl[37].testmne = "APO AI";
	tl[37].testurl = "/publications/resguide/rg-t_apoa1.html";
	tl[37].dept = "RDL";
	tl[37].seeother = "";
	tl[37].comment = "";
	// 
	//.................................................................
	tl[38] = new Object();
	tl[38].testname = "Apolipoprotein B";
	tl[38].testmne = "APO B";
	tl[38].testurl = "/publications/resguide/rg-t_apob.html";
	tl[38].dept = "RDL";
	tl[38].seeother = "";
	tl[38].comment = "";
	// 
	//.................................................................
	tl[39] = new Object();
	tl[39].testname = "Arthritis/Autoantibody Panel";
	tl[39].testmne = "AAP";
	tl[39].testurl = "/publications/resguide/rg-t_aap.html";
	tl[39].dept = "RDL";
	tl[39].seeother = "";
	tl[39].comment = "Includes C3-C4, ANA, RF, DNA, ENA and CRP";
	// 
	//.................................................................
	tl[40] = new Object();
	tl[40].testname = "Block I ";
	tl[40].testmne = "BLI";
	tl[40].testurl = "/publications/resguide/rg-t_bl1.html";
	tl[40].dept = "RDL";
	tl[40].seeother = "";
	tl[40].comment = "Includes IA, RF and IFEU (IFESR and FLC available reflexively)";
	// 
	//.................................................................
	tl[41] = new Object();
	tl[41].testname = "Block II (Cytoplasmic Antibodies)";
	tl[41].testmne = "BLII";
	tl[41].testurl = "/publications/resguide/rg-t_bl2.html";
	tl[41].dept = "RDL";
	tl[41].seeother = "";
	tl[41].comment = "Includes AMSA, AMA, APCA, ASMA and ATGA";
	// 
	//.................................................................
	tl[42] = new Object();
	tl[42].testname = "Block III (Arthritis/SLE)";
	tl[42].testmne = "BLIII";
	tl[42].testurl = "/publications/resguide/rg-t_bl3.html";
	tl[42].dept = "RDL";
	tl[42].seeother = "";
	tl[42].comment = "Includes IA, ANA, DNA and RF (IFESR and FLC available reflexively)";
	// 
	//.................................................................
	tl[43] = new Object();
	tl[43].testname = "Block V (Demyelinating Disease)";
	tl[43].testmne = "BLV";
	tl[43].testurl = "/publications/resguide/rg-t_bl5.html";
	tl[43].dept = "RDL";
	tl[43].seeother = "";
	tl[43].comment = "Includes ALB, IgG and G/ALB Ratio and IEF/WB on CSF and serum";
	// 
	//.................................................................
	tl[44] = new Object();
	tl[44].testname = "Block VI (Monogammopathy)";
	tl[44].testmne = "BLVI";
	tl[44].testurl = "/publications/resguide/rg-t_bl6.html";
	tl[44].dept = "RDL";
	tl[44].seeother = "";
	tl[44].comment = "Includes IgG, IgA, IgM, SPE, IFE, and FLC";
	// 
	//.................................................................
	tl[45] = new Object();
	tl[45].testname = "Bovine Serum Contamination, Amniotic Fluid";
	tl[45].testmne = "BSA-R";
	tl[45].testurl = "/publications/resguide/rg-t_fbc.html";
	tl[45].dept = "PSL";
	tl[45].seeother = "";
	tl[45].comment = "Available reflexively with postitive AChE/normal AFP";
	// 
	//.................................................................
	tl[46] = new Object();
	tl[46].testname = "Celiac Disease Testing";
	tl[46].testmne = "EMA";
	tl[46].testurl = "/publications/resguide/rg-t_cdtema.html";
	tl[46].dept = "RDL";
	tl[46].seeother = "See Anti-Endomysial, Anti-TTG, and Anti-Gliadin Autoantibodies";
	tl[46].comment = "";
	// 
	//.................................................................
	tl[47] = new Object();
	tl[47].testname = "Complement components C3 and C4";
	tl[47].testmne = "C3C4";
	tl[47].testurl = "/publications/resguide/rg-t_c3c4.html";
	tl[47].dept = "RDL";
	tl[47].seeother = "";
	tl[47].comment = "";
	// 
	//.................................................................
	tl[48] = new Object();
	tl[48].testname = "C-Reactive Protein";
	tl[48].testmne = "CRP";
	tl[48].testurl = "/publications/resguide/rg-t_crp.html";
	tl[48].dept = "RDL";
	tl[48].seeother = "";
	tl[48].comment = "";
	// 
	//.................................................................
	tl[49] = new Object();
	tl[49].testname = "C-Reactive Protein (high-sensitivity)";
	tl[49].testmne = "hsCRP";
	tl[49].testurl = "/publications/resguide/rg-t_hscrp.html";
	tl[49].dept = "RDL";
	tl[49].seeother = "";
	tl[49].comment = "";
	// 
	//.................................................................
	tl[50] = new Object();
	tl[50].testname = "Cryoglobulin and Euglobulin";
	tl[50].testmne = "CRYO";
	tl[50].testurl = "/publications/resguide/rg-t_cryo.html";
	tl[50].dept = "RDL";
	tl[50].seeother = "";
	tl[50].comment = "";
	// 
	//.................................................................
	tl[51] = new Object();
	tl[51].testname = "Cystic Fibrosis Screening";
	tl[51].testmne = "CF";
	tl[51].testurl = "/publications/resguide/rg-t_cf.html";
	tl[51].dept = "MGL";
	tl[51].seeother = "";
	tl[51].comment = "";
	// 
	//.................................................................
	tl[52] = new Object();
	tl[52].testname = "DNA";
	tl[52].testmne = "DNA";
	tl[52].testurl = "/publications/resguide/rg-t_dsdna.html";
	tl[52].dept = "RDL";
	tl[52].seeother = "see Anti-Double Stranded DNA";
	tl[52].comment = "Reflexive titering following positive DNA";
	// 
	//.................................................................
	tl[53] = new Object();
	tl[53].testname = "Electrophoresis, serum";
	tl[53].testmne = "SPE";
	tl[53].testurl = "/publications/resguide/rg-t_spe.html";
	tl[53].dept = "RDL";
	tl[53].seeother = "";
	tl[53].comment = "Performed as part of Blocks I, III, V, VI, and Protein Profile/Immunoassay";
	// 
	//.................................................................
	tl[54] = new Object();
	tl[54].testname = "Electrophoresis, Urine";
	tl[54].testmne = "UPE";
	tl[54].testurl = "/publications/resguide/rg-t_upe.html";
	tl[54].dept = "RDL";
	tl[54].seeother = "";
	tl[54].comment = "";
	// 
	//.................................................................
	tl[55] = new Object();
	tl[55].testname = "ENA";
	tl[55].testmne = "ENA";
	tl[55].testurl = "/publications/resguide/rg-t_ena.html";
	tl[55].dept = "RDL";
	tl[55].seeother = "see Anti-Extractable Nuclear Antigen Panel";
	tl[55].comment = "";
	// 
	//.................................................................
	tl[56] = new Object();
	tl[56].testname = "Ferritin";
	tl[56].testmne = "FER";
	tl[56].testurl = "/publications/resguide/rg-t_fer.html";
	tl[56].dept = "RDL";
	tl[56].seeother = "";
	tl[56].comment = "";
	// 
	//.................................................................
	tl[57] = new Object();
	tl[57].testname = "Fetal Blood Contamination, Amniotic Fluid";
	tl[57].testmne = "FBC-R";
	tl[57].testurl = "/publications/resguide/rg-t_fbc.html";
	tl[57].dept = "PSL";
	tl[57].seeother = "";
	tl[57].comment = "Available only reflexively with elevated AFAFP unless declined on requisition";
	// 
	//.................................................................
	tl[58] = new Object();
	tl[58].testname = "First Trimester Screening";
	tl[58].testmne = "FTS";
	tl[58].testurl = "/publications/resguide/rg-t_fts.html";
	tl[58].dept = "PSL";
	tl[58].seeother = "";
	tl[58].comment = "Includes PAPP-A, hCG, and dimeric inhibin-A";
	// 
	//.................................................................
	tl[59] = new Object();
	tl[59].testname = "Free Light Chain Kappa & Lambda, Serum";
	tl[59].testmne = "FLC";
	tl[59].testurl = "/publications/resguide/rg-t_flc.html";
	tl[59].dept = "RDL";
	tl[59].seeother = "";
	tl[59].comment = "";
	// 
	//.................................................................
	tl[60] = new Object();
	tl[60].testname = "Haptoglobin";
	tl[60].testmne = "HPT";
	tl[60].testurl = "/publications/resguide/rg-t_hpt.html";
	tl[60].dept = "RDL";
	tl[60].seeother = "";
	tl[60].comment = "";
	// 
	//.................................................................
	tl[61] = new Object();
	tl[61].testname = "IGA, IGG, IGM (includes SPE)";
	tl[61].testmne = "GAM";
	tl[61].testurl = "";
	tl[61].dept = "RDL";
	tl[61].seeother = "see Immunoglobulin A, G, and M";
	tl[61].comment = "";
	// 
	//.................................................................
	tl[62] = new Object();
	tl[62].testname = "Immune-mediated Neuropathy Profile";
	tl[62].testmne = "INP";
	tl[62].testurl = "/publications/resguide/rg-t_inp.html";
	tl[62].dept = "RDL";
	tl[62].seeother = "";
	tl[62].comment = "Includes high resolution protein electrophoresis, immunofixation and quantificaton of IgA, IgG and IgM";
	// 
	//.................................................................
	tl[63] = new Object();
	tl[63].testname = "Immunoassay";
	tl[63].testmne = "IA";
	tl[63].testurl = "/publications/resguide/rg-t_ia.html";
	tl[63].dept = "RDL";
	tl[63].seeother = "see Protein Profile/Immunoassay";
	tl[63].comment = "";
	// 
	//.................................................................
	tl[64] = new Object();
	tl[64].testname = "Immunoblotting of CSF and Serum";
	tl[64].testmne = "WB/OB";
	tl[64].testurl = "/publications/resguide/rg-t_bl5.html";
	tl[64].dept = "RDL";
	tl[64].seeother = "";
	tl[64].comment = "Available only with Block V";
	// 
	//.................................................................
	tl[65] = new Object();
	tl[65].testname = "Immunofixation Electrophoresis of Serum";
	tl[65].testmne = "IFES";
	tl[65].testurl = "/publications/resguide/rg-t_ifes.html";
	tl[65].dept = "RDL";
	tl[65].seeother = "";
	tl[65].comment = "";
	// 
	//.................................................................
	tl[66] = new Object();
	tl[66].testname = "Immunofixation Electrophoresis of Urine";
	tl[66].testmne = "IFEU";
	tl[66].testurl = "/publications/resguide/rg-t_ifeu.html";
	tl[66].dept = "RDL";
	tl[66].seeother = "";
	tl[66].comment = "";
	// 
	//.................................................................
	tl[67] = new Object();
	tl[67].testname = "Immunoglobulin A";
	tl[67].testmne = "IGA";
	tl[67].testurl = "/publications/resguide/rg-t_iga.html";
	tl[67].dept = "RDL";
	tl[67].seeother = "";
	tl[67].comment = "";
	// 
	//.................................................................
	tl[68] = new Object();
	tl[68].testname = "Immunoglobulin G";
	tl[68].testmne = "IGG";
	tl[68].testurl = "/publications/resguide/rg-t_igg.html";
	tl[68].dept = "RDL";
	tl[68].seeother = "";
	tl[68].comment = "";
	// 
	//.................................................................
	tl[69] = new Object();
	tl[69].testname = "Immunoglobulin M";
	tl[69].testmne = "IGM";
	tl[69].testurl = "/publications/resguide/rg-t_igm.html";
	tl[69].dept = "RDL";
	tl[69].seeother = "";
	tl[69].comment = "";
	// 
	//.................................................................
	tl[70] = new Object();
	tl[70].testname = "Integrated Screening Test";
	tl[70].testmne = "IST";
	tl[70].testurl = "/publications/resguide/rg-t_ist.html";
	tl[70].dept = "PSL";
	tl[70].seeother = "";
	tl[70].comment = "Requires serum from 1st and 2nd trimesters.  Includes PAPP-A, hCG, uE3, MSAFP, and dimeric inhibin-A";
	// 
	//.................................................................
	tl[71] = new Object();
	tl[71].testname = "Iron";
	tl[71].testmne = "SI";
	tl[71].testurl = "/publications/resguide/rg-t_isp.html";
	tl[71].dept = "RDL";
	tl[71].seeother = "";
	tl[71].comment = "Available only with IA, ISP, and TS";
	// 
	//.................................................................
	tl[72] = new Object();
	tl[72].testname = "Iron Status Profile";
	tl[72].testmne = "ISP";
	tl[72].testurl = "/publications/resguide/rg-t_isp.html";
	tl[72].dept = "RDL";
	tl[72].seeother = "";
	tl[72].comment = "Includes TF, Iron, TS, FER and CRP";
	// 
	//.................................................................
	tl[73] = new Object();
	tl[73].testname = "Isoelectric Focusing of CSF";
	tl[73].testmne = "IEF/OB";
	tl[73].testurl = "/publications/resguide/rg-t_bl5.html";
	tl[73].dept = "RDL";
	tl[73].seeother = "";
	tl[73].comment = "Available only with Block V";
	// 
	//.................................................................
	tl[74] = new Object();
	tl[74].testname = "Lupus Activity Panel";
	tl[74].testmne = "LAP";
	tl[74].testurl = "/publications/resguide/rg-t_lap.html";
	tl[74].dept = "RDL";
	tl[74].seeother = "";
	tl[74].comment = "Includes ANA, DNA and C3-C4";
	// 
	//.................................................................
	tl[75] = new Object();
	tl[75].testname = "Lupus-like Anticoagulant";
	tl[75].testmne = "LAC";
	tl[75].testurl = "/publications/resguide/rg-t_lac.html";
	tl[75].dept = "PSL";
	tl[75].seeother = "";
	tl[75].comment = "Includes Dilute Russell Viper Venom Test (dRVVT)and Activated Partial Thromboplastin Time (aPTT)";
	// 
	//.................................................................
	tl[76] = new Object();
	tl[76].testname = "Lyme Disease Testing (ELISA)";
	tl[76].testmne = "LDT-E";
	tl[76].testurl = "/publications/resguide/rg-t_ldte.html";
	tl[76].dept = "RDL";
	tl[76].seeother = "";
	tl[76].comment = "";
	// 
	//.................................................................
	tl[77] = new Object();
	tl[77].testname = "Lyme Disease Testing (Western blot)";
	tl[77].testmne = "LDT-W";
	tl[77].testurl = "/publications/resguide/rg-t_ldtw.html";
	tl[77].dept = "RDL";
	tl[77].seeother = "";
	tl[77].comment = "";
	// 
	//.................................................................
	tl[78] = new Object();
	tl[78].testname = "Microalbumin";
	tl[78].testmne = "MALB";
	tl[78].testurl = "/publications/resguide/rg-t_malb.html";
	tl[78].dept = "RDL";
	tl[78].seeother = "";
	tl[78].comment = "";
	// 
	//.................................................................
	tl[79] = new Object();
	tl[79].testname = "Orosomucoid";
	tl[79].testmne = "ORO";
	tl[79].testurl = "/publications/resguide/rg-t_oro.html";
	tl[79].dept = "RDL";
	tl[79].seeother = "";
	tl[79].comment = "";
	// 
	//.................................................................
	tl[80] = new Object();
	tl[80].testname = "Prealbumin";
	tl[80].testmne = "PALB";
	tl[80].testurl = "/publications/resguide/rg-t_palb.html";
	tl[80].dept = "RDL";
	tl[80].seeother = "";
	tl[80].comment = "";
	// 
	//.................................................................
	tl[81] = new Object();
	tl[81].testname = "Protease Inhibitor (Pi) Typing";
	tl[81].testmne = "PIT";
	tl[81].testurl = "/publications/resguide/rg-t_pit.html";
	tl[81].dept = "RDL";
	tl[81].seeother = "";
	tl[81].comment = "Includes A1AT concentration and phenotype";
	// 
	//.................................................................
	tl[82] = new Object();
	tl[82].testname = "Protein Profile/Immunoassay";
	tl[82].testmne = "IA";
	tl[82].testurl = "/publications/resguide/rg-t_ia.html";
	tl[82].dept = "RDL";
	tl[82].seeother = "";
	tl[82].comment = "Includes ALB, A2M, A1AT, APO A1, APO B, CRP, C3, C4, HPT, IgA, IgG, IgM, Iron, ORO, PALB, TF, and SPE; plus calculated transferrin saturation; IFES available reflexively";
	// 
	//.................................................................
	tl[83] = new Object();
	tl[83].testname = "Rheumatoid Arthritis Activity Panel";
	tl[83].testmne = "RAAP";
	tl[83].testurl = "/publications/resguide/rg-t_raap.html";
	tl[83].dept = "RDL";
	tl[83].seeother = "";
	tl[83].comment = "Includes CRP, KER, and RF";
	// 
	//.................................................................
	tl[84] = new Object();
	tl[84].testname = "Rheumatoid Factor";
	tl[84].testmne = "RF";
	tl[84].testurl = "/publications/resguide/rg-t_rf.html";
	tl[84].dept = "RDL";
	tl[84].seeother = "";
	tl[84].comment = "";
	// 
	//.................................................................
	tl[85] = new Object();
	tl[85].testname = "Sequential Screening Test (part 1 and 2)";
	tl[85].testmne = "SEQ/SQ1/SQ2";
	tl[85].testurl = "/publications/resguide/rg-t_seq.html";
	tl[85].dept = "PSL";
	tl[85].seeother = "";
	tl[85].comment = "MSAFP, uE3, hCG, and dimeric inhibin A, plus 1st trimester PAPP-A";
	// 
	//.................................................................
	tl[86] = new Object();
	tl[86].testname = "Serum Protein Electrophoresis";
	tl[86].testmne = "SPE";
	tl[86].testurl = "/publications/resguide/rg-t_spe.html";
	tl[86].dept = "RDL";
	tl[86].seeother = "";
	tl[86].comment = "See Electrophoresis, serum";
	// 
	//.................................................................
	tl[87] = new Object();
	tl[87].testname = "Transferrin";
	tl[87].testmne = "TF";
	tl[87].testurl = "/publications/resguide/rg-t_tf.html";
	tl[87].dept = "RDL";
	tl[87].seeother = "";
	tl[87].comment = "";
	// 
	//.................................................................
	tl[88] = new Object();
	tl[88].testname = "Transferrin Receptor";
	tl[88].testmne = "STFR";
	tl[88].testurl = "/publications/resguide/rg-t_stfr.html";
	tl[88].dept = "RDL";
	tl[88].seeother = "";
	tl[88].comment = "";
	// 
	//.................................................................
	tl[89] = new Object();
	tl[89].testname = "Transferrin Saturation";
	tl[89].testmne = "TS";
	tl[89].testurl = "/publications/resguide/rg-t_ts.html";
	tl[89].dept = "RDL";
	tl[89].seeother = "";
	tl[89].comment = "Includes iron and transferrin";
	// 
	//.................................................................
	tl[90] = new Object();
	tl[90].testname = "Urine Protein Electrophoresis";
	tl[90].testmne = "UPE";
	tl[90].testurl = "/publications/resguide/rg-t_upe.html";
	tl[90].dept = "RDL";
	tl[90].seeother = "";
	tl[90].comment = "See Electrophoresis, Urine";
	// 
}

