I have some java code that is pulling from SQL some data, which is filling a groupbox with Medicare ICD-9-CM billable codes. The user can click the Category, then select the codeset then the third box fills in the sub codes and description for them to make the final selection for a form. It is working, but it is EXTREMELY SLOW, so I did a view source and pasted it as a static page, well it isnt the SQL, but the sheer volume of the entries causing the slow down. So I looked on other websites with mass amounts of data, it seems they wrote the code to not look up the data until you click each section, where my code is pulling it all first before displaying it. I am hoping someone can tell me how to make it only pull data once the item in the box is clicked and set a variable I can use to pull the next set of data to fill the other boxes to speed it up OR any ideas how to make this faster would be great. I am not sure the maximum number of allowed lines, but here is the code. The attachment is a screen shot of what is currently output once it processes all the data into the boxed (takes almost 2 minutes to bring up the page right now)
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-us">
<title>ICD-9-CM Billable Code Selector</title>
</head>
<body>
<form method="post" name="driver_search" action="/support/downloads/welcome.asp?action=next" onSubmit="return fnChkSelection(this)">
<div align="center">
<table border="0" width="543" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><b>Diagnosis Category</b></td>
<td align="center"><b>Code Set</b></td>
<td align="center"><b>ICD-9-CM Code</b></td>
</tr>
<tr>
<td align="center" valign="top">
<select name="State" class="threepane" style="width: 329; overflow: hidden; height:356" size="2" onChange="populateFamilies(driver_search.State.options[driver_search.State.selectedIndex].value,driver_search);" ID="Select4"></font></select></td>
<td align="center">
<select name="CountyCBSA" class="threepane" style="width: 70; overflow: hidden; height:355" size="12" onChange="populateProducts(driver_search.State.options[driver_search.State.selectedIndex].value, driver_search.CountyCBSA.options[driver_search.CountyCBSA.selectedIndex].value);" ID="Select5"></select></td>
<td align="center" valign="top">
<select name="Product_ID" class="threepane" style="width: 450; overflow: hidden; height:356" size="2" onClick="try {(this.form.Product_Name.value=this.options[this.options.selectedIndex].text)} catch(e) {};" ID="Select1"></select></td>
</tr>
<%
DiagCatCount = 0
DIM DiagCatsID(500)
DIM DiagCatsName(500)
DIM CodeSetID(1000)
SQL = "SELECT * FROM [PPS Diagnosis Categories] order by id"
fFirstPass = True
Set DiagCAT = Server.CreateObject("ADODB.Connection")
DiagCAT.ConnectionTimeout = Session("DiagCAT_ConnectionTimeout")
DiagCAT.CommandTimeout = Session("DiagCAT_CommandTimeout")
DiagCAT.Open "Driver={SQL Server};Server=DBServer;Database=CodeSet;Uid=webguy;Pwd=filler;"
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set DataRangeHdr1 = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = SQL
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = DiagCAT
DataRangeHdr1.Open cmdTemp, , 0, 1
'on error resume next
Do
If fEmptyRecordset Then Exit Do
If Not fFirstPass Then
DataRangeHdr1.MoveNext
Else
fFirstPass = False
If DataRangeHdr1.EOF Then Exit Do
End If
If DataRangeHdr1.EOF Then Exit Do
DiagCatCount = DiagCatCount + 1
DiagCatsID(DiagCatCount) = DataRangeHdr1("id")
DiagCatsName(DiagCatCount) = DataRangeHdr1("Name")
Loop
%>
<input type="hidden" name="Product_Name" value="" ID="Hidden2">
<script LANGUAGE="JavaScript">
<!--
try {
var ThirdPane668=new Array;
var ThirdPane669=new Array;
var ThirdPane600=new Array;
}
catch(e)
{;}
categoryList();
displaysubcat(0);
function displaysubcat(nCatID)
{
if ( nCatID !='')
{
familyList(0);
}
}
function familyList(catID) {
clearBox(document.driver_search.CountyCBSA);
clearBox(document.driver_search.Product_ID);
switch(parseInt(catID)) {
<%
For T = 1 to DiagCatCount
SQL = "SELECT * FROM [PPS Diagnosis View] WHERE category = " & DiagCatsID(T) & " order by id"
fFirstPass = True
Set DiagCAT = Server.CreateObject("ADODB.Connection")
DiagCAT.ConnectionTimeout = Session("DiagCAT_ConnectionTimeout")
DiagCAT.CommandTimeout = Session("DiagCAT_CommandTimeout")
DiagCAT.Open "Driver={SQL Server};Server=DBServer;Database=CodeSet;Uid=webguy;Pwd=filler;"
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set DataRangeHdr1 = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = SQL
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = DiagCAT
DataRangeHdr1.Open cmdTemp, , 0, 1
'on error resume next
Do
If fEmptyRecordset Then
NoRecords = 1
Exit Do
End If
If Not fFirstPass Then
DataRangeHdr1.MoveNext
Else
fFirstPass = False
If DataRangeHdr1.EOF Then
NoRecords = 1
Exit Do
End If
%>
case <%=DiagCatsID(T)%> :
<%
End If
If DataRangeHdr1.EOF Then Exit Do
id = DataRangeHdr1("id")
code = Trim(DataRangeHdr1("code"))
DiagnosisName = DataRangeHdr1("DiagnosisName")
DiagnosisName = (Replace(DiagnosisName,"'"," "))
CodeMark = InStr(code,".")
If (CodeMark -1) > 0 then
CodeMark = CodeMark - 1
CodeSet= LEFT(code,CodeMark)
end if
If CodeTemp <> CodeSet then
CodeCount = CodeCount + 1
CodeSetID(CodeCount) = CodeSet
%>
addBoxItem(document.driver_search.CountyCBSA, '<%=CodeSet%>', '<%=CodeSet%>');
<%
CodeTemp = CodeSet
End If
Loop
If NORECORDS = 0 then
%>
break;
<%
else
NORECORDS = 0
end if
next
%>
}
}
function categoryList()
{
//SQL Here to pull Categories
<%
For O = 1 to DiagCatCount
%>
addBoxItem(document.driver_search.State, '<%=DiagCatsName(O)%>', '<%=DiagCatsID(O)%>');
<%
Next
%>
//SQL End
}
function productList(catID,WageIndex) {
/**/
clearBox(document.driver_search.Product_ID);
switch(parseInt(catID)) {
<%
For T = 1 to DiagCatCount
%>
//--------------------Category Loop-----------------------------------------------
case <%=DiagCatsID(T)%> :
switch(parseInt(WageIndex)) {
<%
CodeCount = 3
For Y = 1 to CodeCount
SQL = "SELECT * FROM [PPS Diagnosis View] WHERE code LIKE '" & CodeSetID(Y) & ".%'"
fFirstPass = True
Set DiagCAT = Server.CreateObject("ADODB.Connection")
DiagCAT.ConnectionTimeout = Session("DiagCAT_ConnectionTimeout")
DiagCAT.CommandTimeout = Session("DiagCAT_CommandTimeout")
DiagCAT.Open "Driver={SQL Server};Server=DBServer;Database=CodeSet;Uid=webguy;Pwd=filler;"
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set DataRangeHdr1 = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = SQL
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = DiagCAT
DataRangeHdr1.Open cmdTemp, , 0, 1
'on error resume next
Do
If fEmptyRecordset Then
NoRecords = 1
Exit Do
End If
If Not fFirstPass Then
DataRangeHdr1.MoveNext
Else
fFirstPass = False
If DataRangeHdr1.EOF Then
NoRecords = 1
Exit Do
End If
%>
case <%=CodeSetID(Y)%> :
<%
End If
If DataRangeHdr1.EOF Then Exit Do
id = DataRangeHdr1("id")
code = Trim(DataRangeHdr1("code"))
DiagnosisName = DataRangeHdr1("DiagnosisName")
DiagnosisName = (Replace(DiagnosisName,"'"," "))
%>
addBoxItem(document.driver_search.Product_ID, '<%=code%> - <%=DiagnosisName%>', '<%=code%>');
<%
Loop
%>
break;
<%
next
%>
}
break;
<%
next
%>
//-------------AFTER LOOP------------------------------------------------------
}
}
function populateFamilies(catID,thisForm) {
if (catID != '') {
familyList(catID);
}
if (document.driver_search.CountyCBSA.length == 1) {
document.driver_search.CountyCBSA.selectedIndex = 0;
productList(catID, document.driver_search.CountyCBSA.options[document.driver_search.CountyCBSA.selectedIndex].value);
}
}
function populateProducts(catID, WageIndex) {
if (catID != '' ) {
if (WageIndex != '' ) {
productList(catID, WageIndex);
}
}
}
function clearBox(formItem) {
for(i = formItem.length ; i > -1 ; i--) {
formItem.options[i] = null;
}
}
function addBoxItem(formItem, valText, valValue) {
try{
newoption = new Option(valText, valValue, false, false);
formItem.options[formItem.length] = newoption;
if (valText.indexOf("==") == 0) {
newoption.style.background="#FFA90D"
newoption.style.color="#ffffff"
}
}
catch(e){;}
// formItem.style.bgcolor="#ff9900"
}
// -->
</script>
</table>
</body>
</html>
Here is a shortened view source sample showing what the client sees (keep in mind this one is quick because it doesnt contain the amount of data involved)
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-us">
<title>ICD-9-CM Billable Code Selection</title>
</head>
<body>
<form method="post" name="driver_search" action="/support/downloads/welcome.asp?action=next" onSubmit="return fnChkSelection(this)">
<div align="center">
<table border="0" width="543" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><b>Diagnosis Category</b></td>
<td align="center"><b>Code Set</b></td>
<td align="center"><b>ICD-9-CM Code</b></td>
</tr>
<tr>
<td align="center" valign="top">
<select name="State" class="threepane" style="width: 329; overflow: hidden; height:356" size="2" onChange="populateFamilies(driver_search.State.options[driver_search.State.selectedIndex].value,driver_search);" ID="Select4"></font></select></td>
<td align="center">
<select name="CountyCBSA" class="threepane" style="width: 70; overflow: hidden; height:355" size="12" onChange="populateProducts(driver_search.State.options[driver_search.State.selectedIndex].value, driver_search.CountyCBSA.options[driver_search.CountyCBSA.selectedIndex].value);" ID="Select5"></select></td>
<td align="center" valign="top">
<select name="Product_ID" class="threepane" style="width: 450; overflow: hidden; height:356" size="2" onClick="try {(this.form.Product_Name.value=this.options[this.options.selectedIndex].text)} catch(e) {};" ID="Select1"></select></td>
</tr>
<input type="hidden" name="Product_Name" value="" ID="Hidden2">
<script LANGUAGE="JavaScript">
<!--
try {
var ThirdPane668=new Array;
var ThirdPane669=new Array;
var ThirdPane600=new Array;
}
catch(e)
{;}
categoryList();
displaysubcat(0);
function displaysubcat(nCatID)
{
if ( nCatID !='')
{
familyList(0);
}
}
function familyList(catID) {
clearBox(document.driver_search.CountyCBSA);
clearBox(document.driver_search.Product_ID);
switch(parseInt(catID)) {
case 1 :
addBoxItem(document.driver_search.CountyCBSA, '369', '369');
break;
case 2 :
addBoxItem(document.driver_search.CountyCBSA, '281', '281');
addBoxItem(document.driver_search.CountyCBSA, '282', '282');
addBoxItem(document.driver_search.CountyCBSA, '283', '283');
addBoxItem(document.driver_search.CountyCBSA, '284', '284');
addBoxItem(document.driver_search.CountyCBSA, '285', '285');
addBoxItem(document.driver_search.CountyCBSA, '286', '286');
addBoxItem(document.driver_search.CountyCBSA, '287', '287');
addBoxItem(document.driver_search.CountyCBSA, '288', '288');
addBoxItem(document.driver_search.CountyCBSA, '289', '289');
break;
case 3 :
addBoxItem(document.driver_search.CountyCBSA, '140', '140');
addBoxItem(document.driver_search.CountyCBSA, '141', '141');
addBoxItem(document.driver_search.CountyCBSA, '142', '142');
addBoxItem(document.driver_search.CountyCBSA, '143', '143');
addBoxItem(document.driver_search.CountyCBSA, '144', '144');
addBoxItem(document.driver_search.CountyCBSA, '145', '145');
addBoxItem(document.driver_search.CountyCBSA, '146', '146');
addBoxItem(document.driver_search.CountyCBSA, '147', '147');
addBoxItem(document.driver_search.CountyCBSA, '148', '148');
addBoxItem(document.driver_search.CountyCBSA, '149', '149');
addBoxItem(document.driver_search.CountyCBSA, '150', '150');
addBoxItem(document.driver_search.CountyCBSA, '151', '151');
addBoxItem(document.driver_search.CountyCBSA, '152', '152');
addBoxItem(document.driver_search.CountyCBSA, '153', '153');
addBoxItem(document.driver_search.CountyCBSA, '154', '154');
addBoxItem(document.driver_search.CountyCBSA, '155', '155');
addBoxItem(document.driver_search.CountyCBSA, '156', '156');
addBoxItem(document.driver_search.CountyCBSA, '157', '157');
addBoxItem(document.driver_search.CountyCBSA, '158', '158');
addBoxItem(document.driver_search.CountyCBSA, '159', '159');
addBoxItem(document.driver_search.CountyCBSA, '160', '160');
addBoxItem(document.driver_search.CountyCBSA, '161', '161');
addBoxItem(document.driver_search.CountyCBSA, '162', '162');
addBoxItem(document.driver_search.CountyCBSA, '163', '163');
addBoxItem(document.driver_search.CountyCBSA, '164', '164');
addBoxItem(document.driver_search.CountyCBSA, '165', '165');
addBoxItem(document.driver_search.CountyCBSA, '170', '170');
addBoxItem(document.driver_search.CountyCBSA, '171', '171');
addBoxItem(document.driver_search.CountyCBSA, '172', '172');
addBoxItem(document.driver_search.CountyCBSA, '173', '173');
addBoxItem(document.driver_search.CountyCBSA, '174', '174');
addBoxItem(document.driver_search.CountyCBSA, '175', '175');
addBoxItem(document.driver_search.CountyCBSA, '176', '176');
addBoxItem(document.driver_search.CountyCBSA, '180', '180');
addBoxItem(document.driver_search.CountyCBSA, '182', '182');
addBoxItem(document.driver_search.CountyCBSA, '183', '183');
addBoxItem(document.driver_search.CountyCBSA, '184', '184');
addBoxItem(document.driver_search.CountyCBSA, '186', '186');
addBoxItem(document.driver_search.CountyCBSA, '187', '187');
addBoxItem(document.driver_search.CountyCBSA, '188', '188');
addBoxItem(document.driver_search.CountyCBSA, '189', '189');
addBoxItem(document.driver_search.CountyCBSA, '190', '190');
addBoxItem(document.driver_search.CountyCBSA, '192', '192');
addBoxItem(document.driver_search.CountyCBSA, '194', '194');
addBoxItem(document.driver_search.CountyCBSA, '195', '195');
addBoxItem(document.driver_search.CountyCBSA, '196', '196');
addBoxItem(document.driver_search.CountyCBSA, '197', '197');
addBoxItem(document.driver_search.CountyCBSA, '198', '198');
addBoxItem(document.driver_search.CountyCBSA, '199', '199');
addBoxItem(document.driver_search.CountyCBSA, '200', '200');
addBoxItem(document.driver_search.CountyCBSA, '201', '201');
addBoxItem(document.driver_search.CountyCBSA, '202', '202');
addBoxItem(document.driver_search.CountyCBSA, '203', '203');
addBoxItem(document.driver_search.CountyCBSA, '204', '204');
addBoxItem(document.driver_search.CountyCBSA, '205', '205');
addBoxItem(document.driver_search.CountyCBSA, '206', '206');
addBoxItem(document.driver_search.CountyCBSA, '207', '207');
addBoxItem(document.driver_search.CountyCBSA, '208', '208');
addBoxItem(document.driver_search.CountyCBSA, '213', '213');
addBoxItem(document.driver_search.CountyCBSA, '225', '225');
addBoxItem(document.driver_search.CountyCBSA, '230', '230');
addBoxItem(document.driver_search.CountyCBSA, '231', '231');
addBoxItem(document.driver_search.CountyCBSA, '232', '232');
addBoxItem(document.driver_search.CountyCBSA, '233', '233');
addBoxItem(document.driver_search.CountyCBSA, '234', '234');
break;
case 4 :
addBoxItem(document.driver_search.CountyCBSA, '250', '250');
addBoxItem(document.driver_search.CountyCBSA, '357', '357');
addBoxItem(document.driver_search.CountyCBSA, '362', '362');
addBoxItem(document.driver_search.CountyCBSA, '366', '366');
break;
case 5 :
addBoxItem(document.driver_search.CountyCBSA, '787', '787');
break;
case 6 :
addBoxItem(document.driver_search.CountyCBSA, '781', '781');
break;
case 7 :
addBoxItem(document.driver_search.CountyCBSA, '002', '002');
addBoxItem(document.driver_search.CountyCBSA, '003', '003');
addBoxItem(document.driver_search.CountyCBSA, '004', '004');
addBoxItem(document.driver_search.CountyCBSA, '005', '005');
addBoxItem(document.driver_search.CountyCBSA, '006', '006');
addBoxItem(document.driver_search.CountyCBSA, '007', '007');
addBoxItem(document.driver_search.CountyCBSA, '008', '008');
addBoxItem(document.driver_search.CountyCBSA, '009', '009');
addBoxItem(document.driver_search.CountyCBSA, '530', '530');
addBoxItem(document.driver_search.CountyCBSA, '531', '531');
addBoxItem(document.driver_search.CountyCBSA, '532', '532');
addBoxItem(document.driver_search.CountyCBSA, '533', '533');
addBoxItem(document.driver_search.CountyCBSA, '534', '534');
addBoxItem(document.driver_search.CountyCBSA, '535', '535');
addBoxItem(document.driver_search.CountyCBSA, '536', '536');
addBoxItem(document.driver_search.CountyCBSA, '537', '537');
addBoxItem(document.driver_search.CountyCBSA, '540', '540');
addBoxItem(document.driver_search.CountyCBSA, '543', '543');
addBoxItem(document.driver_search.CountyCBSA, '555', '555');
addBoxItem(document.driver_search.CountyCBSA, '556', '556');
addBoxItem(document.driver_search.CountyCBSA, '557', '557');
addBoxItem(document.driver_search.CountyCBSA, '558', '558');
addBoxItem(document.driver_search.CountyCBSA, '560', '560');
addBoxItem(document.driver_search.CountyCBSA, '562', '562');
addBoxItem(document.driver_search.CountyCBSA, '564', '564');
addBoxItem(document.driver_search.CountyCBSA, '567', '567');
addBoxItem(document.driver_search.CountyCBSA, '568', '568');
addBoxItem(document.driver_search.CountyCBSA, '569', '569');
addBoxItem(document.driver_search.CountyCBSA, '571', '571');
addBoxItem(document.driver_search.CountyCBSA, '572', '572');
addBoxItem(document.driver_search.CountyCBSA, '573', '573');
addBoxItem(document.driver_search.CountyCBSA, '574', '574');
addBoxItem(document.driver_search.CountyCBSA, '575', '575');
addBoxItem(document.driver_search.CountyCBSA, '576', '576');
addBoxItem(document.driver_search.CountyCBSA, '577', '577');
addBoxItem(document.driver_search.CountyCBSA, '578', '578');
addBoxItem(document.driver_search.CountyCBSA, '579', '579');
addBoxItem(document.driver_search.CountyCBSA, '783', '783');
break;
case 8 :
addBoxItem(document.driver_search.CountyCBSA, '410', '410');
addBoxItem(document.driver_search.CountyCBSA, '411', '411');
addBoxItem(document.driver_search.CountyCBSA, '428', '428');
break;
case 9 :
addBoxItem(document.driver_search.CountyCBSA, '401', '401');
addBoxItem(document.driver_search.CountyCBSA, '402', '402');
addBoxItem(document.driver_search.CountyCBSA, '403', '403');
addBoxItem(document.driver_search.CountyCBSA, '404', '404');
addBoxItem(document.driver_search.CountyCBSA, '405', '405');
break;
case 10 :
addBoxItem(document.driver_search.CountyCBSA, '013', '013');
addBoxItem(document.driver_search.CountyCBSA, '046', '046');
addBoxItem(document.driver_search.CountyCBSA, '047', '047');
addBoxItem(document.driver_search.CountyCBSA, '049', '049');
addBoxItem(document.driver_search.CountyCBSA, '192', '192');
addBoxItem(document.driver_search.CountyCBSA, '225', '225');
addBoxItem(document.driver_search.CountyCBSA, '320', '320');
addBoxItem(document.driver_search.CountyCBSA, '321', '321');
addBoxItem(document.driver_search.CountyCBSA, '322', '322');
addBoxItem(document.driver_search.CountyCBSA, '323', '323');
addBoxItem(document.driver_search.CountyCBSA, '324', '324');
addBoxItem(document.driver_search.CountyCBSA, '330', '330');
addBoxItem(document.driver_search.CountyCBSA, '334', '334');
addBoxItem(document.driver_search.CountyCBSA, '335', '335');
addBoxItem(document.driver_search.CountyCBSA, '336', '336');
addBoxItem(document.driver_search.CountyCBSA, '337', '337');
addBoxItem(document.driver_search.CountyCBSA, '344', '344');
addBoxItem(document.driver_search.CountyCBSA, '348', '348');
addBoxItem(document.driver_search.CountyCBSA, '349', '349');
addBoxItem(document.driver_search.CountyCBSA, '336', '336');
addBoxItem(document.driver_search.CountyCBSA, '344', '344');
addBoxItem(document.driver_search.CountyCBSA, '741', '741');
addBoxItem(document.driver_search.CountyCBSA, '780', '780');
addBoxItem(document.driver_search.CountyCBSA, '806', '806');
addBoxItem(document.driver_search.CountyCBSA, '851', '851');
addBoxItem(document.driver_search.CountyCBSA, '852', '852');
addBoxItem(document.driver_search.CountyCBSA, '853', '853');
addBoxItem(document.driver_search.CountyCBSA, '854', '854');
addBoxItem(document.driver_search.CountyCBSA, '907', '907');
addBoxItem(document.driver_search.CountyCBSA, '952', '952');
break;
case 11 :
addBoxItem(document.driver_search.CountyCBSA, '045', '045');
addBoxItem(document.driver_search.CountyCBSA, '332', '332');
addBoxItem(document.driver_search.CountyCBSA, '333', '333');
addBoxItem(document.driver_search.CountyCBSA, '334', '334');
addBoxItem(document.driver_search.CountyCBSA, '337', '337');
addBoxItem(document.driver_search.CountyCBSA, '343', '343');
addBoxItem(document.driver_search.CountyCBSA, '344', '344');
addBoxItem(document.driver_search.CountyCBSA, '352', '352');
addBoxItem(document.driver_search.CountyCBSA, '353', '353');
addBoxItem(document.driver_search.CountyCBSA, '354', '354');
addBoxItem(document.driver_search.CountyCBSA, '355', '355');
addBoxItem(document.driver_search.CountyCBSA, '356', '356');
addBoxItem(document.driver_search.CountyCBSA, '357', '357');
addBoxItem(document.driver_search.CountyCBSA, '358', '358');
addBoxItem(document.driver_search.CountyCBSA, '359', '359');
addBoxItem(document.driver_search.CountyCBSA, '386', '386');
addBoxItem(document.driver_search.CountyCBSA, '392', '392');
addBoxItem(document.driver_search.CountyCBSA, '953', '953');
addBoxItem(document.driver_search.CountyCBSA, '954', '954');
addBoxItem(document.driver_search.CountyCBSA, '955', '955');
addBoxItem(document.driver_search.CountyCBSA, '956', '956');
break;
}
}
function categoryList()
{
//SQL Here to pull Categories
addBoxItem(document.driver_search.State, 'Blindness and low vision', '1');
addBoxItem(document.driver_search.State, 'Blood disorders', '2');
addBoxItem(document.driver_search.State, 'Cancer and selected benign neoplasms', '3');
addBoxItem(document.driver_search.State, 'Diabetes', '4');
addBoxItem(document.driver_search.State, 'Dysphagia', '5');
addBoxItem(document.driver_search.State, 'Gait Abnormality', '6');
addBoxItem(document.driver_search.State, 'Gastrointestinal disorders', '7');
addBoxItem(document.driver_search.State, 'Heart Disease', '8');
addBoxItem(document.driver_search.State, 'Hypertension', '9');
addBoxItem(document.driver_search.State, 'Neuro 1 - Brain disorders and paralysis', '10');
addBoxItem(document.driver_search.State, 'Neuro 2 - Peripheral neurological disorders', '11');
addBoxItem(document.driver_search.State, 'Neuro 3 - Stroke', '12');
addBoxItem(document.driver_search.State, 'Neuro 4 - Multiple Sclerosis', '13');
addBoxItem(document.driver_search.State, 'Ortho 1 - Leg Disorders', '14');
addBoxItem(document.driver_search.State, 'Ortho 2 - Other Orthopedic disorders', '15');
addBoxItem(document.driver_search.State, 'Psych 1 - Affective and other psychoses, depression', '16');
addBoxItem(document.driver_search.State, 'Psych 2 - Degenerative and other organic psychiatric disorders', '17');
addBoxItem(document.driver_search.State, 'Pulmonary disorders', '18');
addBoxItem(document.driver_search.State, 'Skin 1 - Traumatic wounds, burns and post-operative complications', '19');
addBoxItem(document.driver_search.State, 'Skin 2 - Ulcers and other skin conditions', '20');
//SQL End
}
function productList(catID,WageIndex) {
/**/
clearBox(document.driver_search.Product_ID);
switch(parseInt(catID)) {
//--------------------Category Loop-----------------------------------------------
case 1 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 2 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 3 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 4 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 5 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 6 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 7 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 8 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 9 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 10 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 11 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 12 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;
case 281 :
addBoxItem(document.driver_search.Product_ID, '281.0 - PERNICIOUS ANEMIA', '281.0');
addBoxItem(document.driver_search.Product_ID, '281.1 - B12 DEFIC ANEMIA NEC', '281.1');
addBoxItem(document.driver_search.Product_ID, '281.2 - FOLATE-DEFICIENCY ANEMIA', '281.2');
addBoxItem(document.driver_search.Product_ID, '281.3 - MEGALOBLASTIC ANEMIA NEC', '281.3');
addBoxItem(document.driver_search.Product_ID, '281.4 - PROTEIN DEFIC ANEMIA', '281.4');
addBoxItem(document.driver_search.Product_ID, '281.8 - NUTRITIONAL ANEMIA NEC', '281.8');
addBoxItem(document.driver_search.Product_ID, '281.9 - DEFICIENCY ANEMIA NOS', '281.9');
break;
case 282 :
addBoxItem(document.driver_search.Product_ID, '282.0 - HEREDITARY SPHEROCYTOSIS', '282.0');
addBoxItem(document.driver_search.Product_ID, '282.1 - HEREDIT ELLIPTOCYTOSIS', '282.1');
addBoxItem(document.driver_search.Product_ID, '282.2 - GLUTATHIONE DIS ANEMIA', '282.2');
addBoxItem(document.driver_search.Product_ID, '282.3 - ENZYME DEFIC ANEMIA NEC', '282.3');
addBoxItem(document.driver_search.Product_ID, '282.4 - THALASSEMIAS', '282.4');
addBoxItem(document.driver_search.Product_ID, '282.5 - SICKLE-CELL TRAIT', '282.5');
addBoxItem(document.driver_search.Product_ID, '282.60 - SICKLE CELL DISEASE NOS', '282.60');
addBoxItem(document.driver_search.Product_ID, '282.61 - HB-SS DISEASE W/O CRISIS', '282.61');
addBoxItem(document.driver_search.Product_ID, '282.62 - HB-SS DISEASE W CRISIS', '282.62');
addBoxItem(document.driver_search.Product_ID, '282.63 - HB-SS/HB-C DIS W/O CRSIS', '282.63');
addBoxItem(document.driver_search.Product_ID, '282.69 - HB-SS DIS NEC W CRISIS', '282.69');
addBoxItem(document.driver_search.Product_ID, '282.7 - HEMOGLOBINOPATHIES NEC', '282.7');
addBoxItem(document.driver_search.Product_ID, '282.8 - HERED HEMOLYTIC ANEM NEC', '282.8');
addBoxItem(document.driver_search.Product_ID, '282.9 - HERED HEMOLYTIC ANEM NOS', '282.9');
addBoxItem(document.driver_search.Product_ID, '282.41 - THLASEMA HB-S W/O CRISIS', '282.41');
addBoxItem(document.driver_search.Product_ID, '282.42 - THLASSEMIA HB-S W CRISIS', '282.42');
addBoxItem(document.driver_search.Product_ID, '282.49 - THALASSEMIA NEC', '282.49');
addBoxItem(document.driver_search.Product_ID, '282.64 - HB-S/HB-C DIS W CRISIS', '282.64');
addBoxItem(document.driver_search.Product_ID, '282.68 - HB-S DIS W/O CRISIS NEC', '282.68');
break;
}
break;
//--------------------Category Loop-----------------------------------------------
case 13 :
switch(parseInt(WageIndex)) {
case 369 :
addBoxItem(document.driver_search.Product_ID, '369.00 - BOTH EYES BLIND-WHO DEF', '369.00');
addBoxItem(document.driver_search.Product_ID, '369.3 - BLINDNESS NOS, BOTH EYES', '369.3');
addBoxItem(document.driver_search.Product_ID, '369.4 - LEGAL BLINDNESS-USA DEF', '369.4');
break;