          //service_value = new Array(0,);
                function HighService(cond_term)
                {
                //alert(cond_term);
                //var itemSelect = myform.cat.selectedIndex;
                //alert(category[itemSelect]);
                var service = document.index_page.sv;
                service.options.length = 0;

                //var cond_term=category[itemSelect];
               //alert(cond_term);


               /// clinic and other facility cateogry
                 if ( (cond_term==14) || (cond_term==4) || (cond_term==5) || (cond_term==10) || (cond_term==27) || (cond_term==36) ||  (cond_term==38)) {
                 // alert("same");
                     if  (cond_term==4) {
                      service.options[service.options.length] = new Option('Clinic Services, by an organised facility or clinic not part of a hospital: Freestanding Ambulatory Surgery Center','4');
                       service.options[0].selected=true;
                       }
                       else    {
                       service.options[service.options.length] = new Option('Clinic Services, by an organised facility or clinic not part of a hospital: Freestanding Ambulatory Surgery Center','4');
                       }

                     if (cond_term==5) {
                          service.options[service.options.length] = new Option('Clinic Services, by an organised facility or clinic not part of a hospital: Public Health and Mental Health','5');
                          service.options[1].selected=true;
                     }
                      else {
                        service.options[service.options.length] = new Option('Clinic Services, by an organised facility or clinic not part of a hospital: Public Health and Mental Health','5');
                     }

                    if (cond_term==10) {
                          service.options[service.options.length] = new Option('Federally Qualified Health Center Services','10');
                          service.options[2].selected=true;
                    }
                    else  {
                         service.options[service.options.length] = new Option('Federally Qualified Health Center Services','10');

                    }

                    if (cond_term==14){
                    service.options[service.options.length] = new Option('Inpatient Hospital Services, other than in an Institution for Mental Diseases','14');
                          service.options[3].selected=true;
                    }

                    else {
                    service.options[service.options.length] = new Option('Inpatient Hospital Services, other than in an Institution for Mental Diseases','14');
                    }
                   if (cond_term==27) {

                   service.options[service.options.length] = new Option('Outpatient Hospital Services','27');
                   service.options[4].selected=true;
                   }
                   else
                   {
                    service.options[service.options.length] = new Option('Outpatient Hospital Services','27');
                   }
                   if (cond_term==36) {

                   service.options[service.options.length] = new Option('Rehabilitation Services: Mental Health and Substance Abuse','36');
                   service.options[4].selected=true;
                   }
                   else {
                   service.options[service.options.length] = new Option('Rehabilitation Services: Mental Health and Substance Abuse','36');

                   }
                   if (cond_term==38) {
                   service.options[service.options.length] = new Option('Rural Health Clinic Services','38');
                   service.options[5].selected=true;
                   }
                   else {
                       service.options[service.options.length] = new Option('Rural Health Clinic Services','38');

                   }

                } // if


// institutional services
              // trnasportation category
                        else  if ((cond_term==1) ||  (cond_term==21)) {
                                        //alert ("inside trans");
                                          if (cond_term==1) {
                                                                  //alert("same");
                                                                   service.options[service.options.length] = new Option('Ambulance Service','1');
                                                                   service.options[0].selected=true;
                                                         }
                                                         else {
                                                         service.options[service.options.length] = new Option('Ambulance Service','1');

                                                         }
                                            if (cond_term==21) {
                                                                  service.options[service.options.length] = new Option('Non-Emergency Medical Transporting Services','21');
                                                                  service.options[1].selected=true;
                                                              }
                                                              else {
                                                                   service.options[service.options.length] = new Option('Non-Emergency Medical Transporting Services','21');

                                                              }


                                } // if

   // physician services and toerh providers
                                   else if ((cond_term==49) ||  (cond_term==6) || (cond_term==2) || (cond_term==3) || (cond_term==20) || (cond_term==22) || (cond_term==23) || (cond_term==26) || (cond_term==30) || (cond_term==31) || (cond_term==35)) {
                                                      //alert("same");
                                                      if (cond_term==2) {
                                                      service.options[service.options.length] = new Option('Certified Registered Nurse Anesthetist Services','2');
                                                      service.options[0].selected=true;
                                                      }
                                                      else {
                                                      service.options[service.options.length] = new Option('Certified Registered Nurse Anesthetist Services','2');
                                                      }
                                                      if (cond_term==3) {
                                                      service.options[service.options.length] = new Option('Chiropractor Services','3');
                                                      service.options[1].selected=true;
                                                      }
                                                       else {
                                                       service.options[service.options.length] = new Option('Chiropractor Services','3');
                                                       }

                                                                       if (cond_term==6) {
                                                                            service.options[service.options.length] = new Option('Dental Services','6');
                                                                            service.options[2].selected=true;
                                                                            }
                                                                            else {
                                                                            service.options[service.options.length] = new Option('Dental Services','6');
                                                                            }
                                                      if (cond_term==20) {
                                                      service.options[service.options.length] = new Option('Medical/Surgical Services of a Dentist','20');
                                                      service.options[3].selected=true;
                                                      }
                                                      else {service.options[service.options.length] = new Option('Medical/Surgical Services of a Dentist','20');}
                                                      /*if (cond_term==49) {
                                                       service.options[service.options.length] = new Option('Medical and Remedial Care - Other Practitioners','49');
                                                       service.options[4].selected=true;
                                                      }
                                                      else {
                                                       service.options[service.options.length] = new Option('Medical and Remedial Care - Other Practitioners','49');
                                                      } */
                                                      if (cond_term==22) {
                                                      service.options[service.options.length] = new Option('Nurse Midwife Services','22');
                                                      service.options[4].selected=true;
                                                      }
                                                      else {service.options[service.options.length] = new Option('Nurse Midwife Services','22');
                                                      }
                                                      if (cond_term==23) {
                                                      service.options[service.options.length] = new Option('Nurse Practitioner Services','23');
                                                      service.options[5].selected=true;
                                                      }
                                                      else {service.options[service.options.length] = new Option('Nurse Practitioner Services','23');}
                                                       if (cond_term==26) {
                                                      service.options[service.options.length] = new Option('Optometrist Serivces','26');
                                                      service.options[6].selected=true;
                                                      }
                                                      else
                                                      {
                                                      service.options[service.options.length] = new Option('Optometrist Serivces','26');}
                                                      if (cond_term==30) {
                                                      service.options[service.options.length] = new Option('Physician Services','30');
                                                      service.options[7].selected=true;
                                                      }
                                                      else {
                                                      service.options[service.options.length] = new Option('Physician Services','30');
                                                      }
                                                      if (cond_term==31) {
                                                      service.options[service.options.length] = new Option('Podiatrist Services','31');
                                                      service.options[8].selected=true;
                                                      }
                                                      else
                                                      {   service.options[service.options.length] = new Option('Podiatrist Services','31');
                                                      }
                                                      if (cond_term==35) {
                                                      service.options[service.options.length] = new Option('Psychologist Services','35');
                                                      service.options[9].selected=true;
                                                      }
                                                      else {
                                                      service.options[service.options.length] = new Option('Psychologist Services','35');
                                                      }
                                                   }


                     // prescription category
                    else if (cond_term==32) {
                                     //alert("same");
                                     service.options[service.options.length] = new Option('Prescription Drugs','32');
                                     service.options[0].selected=true;
                                  }
        // other services
                 else if ( (cond_term==18) || (cond_term==48) || (cond_term==40) || (cond_term==44) || (cond_term==8) || (cond_term==36) || (cond_term==43) || (cond_term==44)) {
                                   //alert("same");
                                if (cond_term==8) {
                                    service.options[service.options.length] = new Option('Diagonistic, Screening and Preventive Services','8');
                                    service.options[0].selected=true;
                                    }
                                    else {
                                    service.options[service.options.length] = new Option('Diagonistic, Screening and Preventive Services','8');
                                    }

                                    /*if (cond_term==43) {
                                    service.options[service.options.length] = new Option('Early and Periodic Screening, Diagonis and Treatment','43');
                                    service.options[1].selected=true;
                                    }
                                    else {
                                    service.options[service.options.length] = new Option('Early and Periodic Screening, Diagonis and Treatment','43');
                                    } */

                                    if (cond_term==36) {
                                    service.options[service.options.length] = new Option('Rehabilitation Services: Mental Health and Substance Abuse','36');
                                    service.options[1].selected=true;
                                    }
                                    else {
                                    service.options[service.options.length] = new Option('Rehabilitation Services: Mental Health and Substance Abuse','36');
                                    }
                                    /*if (cond_term==48) {
                                    service.options[service.options.length] = new Option('Extended Services for Pregnant Women','48');
                                    service.options[3].selected=true;
                                    }
                                    else {
                                    service.options[service.options.length] = new Option('Extended Services for Pregnant Women','48');
                                    }
                                    if (cond_term==44) {
                                    service.options[service.options.length] = new Option('Family Planning Services','44');
                                    service.options[4].selected=true;
                                    }
                                    else
                                    {
                                    service.options[service.options.length] = new Option('Family Planning Services','44');
                                    } */
                                    if (cond_term==18) {
                                       //alert("same");
                                       service.options[service.options.length] = new Option('Laboratory and X-Ray Services, outside Hospital or Clinic','18');
                                       service.options[2].selected=true;
                                    }
                                    else
                                    {
                                          service.options[service.options.length] = new Option('Laboratory and X-Ray Services, outside Hospital or Clinic','18');
                                    }

                                      if (cond_term==40) {
                                   service.options[service.options.length] = new Option('Targeted Case Management','40');
                                   service.options[3].selected=true;
                                   }
                                   else
                                   {
                                   service.options[service.options.length] = new Option('Targeted Case Management','40');
                                   }
                                }



                     else   if ((cond_term==15) || (cond_term==16) || (cond_term==17) || (cond_term==24) || (cond_term==37)) {
                                                          if (cond_term==15) {
                                                                                               service.options[service.options.length] = new Option('Inpatient Psychistric Services, under age 21','15');
                                                                                               service.options[0].selected=true;
                                                                                               }
                                                                                               else {
                                                                                               service.options[service.options.length] = new Option('Inpatient Psychistric Services, under age 21','15');
                                                                                               }


                                                                                              if (cond_term==16) {
                                                                                               service.options[service.options.length] = new Option('Inpatient Hospital, Nursing Facility and Intermediate Care Facility Services In Institutions for Mental Diseases, age 65 and older','16');
                                                                                               service.options[1].selected=true;
                                                                                               }
                                                                                               else {
                                                                                               service.options[service.options.length] = new Option('Inpatient Hospital, Nursing Facility and Intermediate Care Facility Services In Institutions for Mental Diseases, age 65 and older','16');
                                                                                                      }
                                                                                                  if (cond_term==17) {
                                                                                               service.options[service.options.length] = new Option('Intermediate Care Facility Services for the Mentally Retarded','17');
                                                                                               service.options[2].selected=true;
                                                                                               }
                                                                                               else {
                                                                                               service.options[service.options.length] = new Option('Intermediate Care Facility Services for the Mentally Retarded','17');
                                                                                               }
                                                                                               if (cond_term==24) {
                                                                                               service.options[service.options.length] = new Option('Nursing Facility Services, other than in an Institution for Mental Diseases','24');
                                                                                               service.options[3].selected=true;
                                                                                               }
                                                                                               else {
                                                                                               service.options[service.options.length] = new Option('Nursing Facility Services, other than in an Institution for Mental Diseases','24');
                                                                                               }

                   if (cond_term==37) {
                   service.options[service.options.length] = new Option('Religious Non-Medical Health Care Institution and Practitioner Services','37');
                   service.options[4].selected=true;

                   }
                   else {
                   service.options[service.options.length] = new Option('Religious Non-Medical Health Care Institution and Practitioner Services','37');

                   }

             }
// home and community services
                   else if ((cond_term==41)  || (cond_term==12)  || (cond_term==13) ||  (cond_term==28) ||  (cond_term==33) ||  (cond_term==42)) {
                                   //alert("same");
                                   if (cond_term==41) {
                                      service.options[service.options.length]=  new Option('Home and Community Based Waivers','41');
                                      service.options[0].selected=true;
                                      }

                                      else {
                                         service.options[service.options.length]=  new Option('Home and Community Based Waivers','41');
                                         }
                                   if (cond_term==12) {
                                   service.options[service.options.length] = new Option('Home Health Services','12');
                                   service.options[1].selected=true;
                                   }
                                   else {
                                   service.options[service.options.length] = new Option('Home Health Services','12');
                                   }
                                   if (cond_term==13) {
                                   service.options[service.options.length] = new Option('Hospice Care','13');
                                   service.options[2].selected=true;
                                   }
                                   else {
                                   service.options[service.options.length] = new Option('Hospice Care','13');
                                   }
                                   if (cond_term==28) {
                                   service.options[service.options.length] = new Option('Personal Care Services','28');
                                   service.options[3].selected=true;
                                   }
                                   else {
                                   service.options[service.options.length] = new Option('Personal Care Services','28');
                                   }
                                   if (cond_term==33) {
                                   service.options[service.options.length] = new Option('Private Duty Nursing Services','33');
                                   service.options[4].selected=true;
                                   }
                                   else {
                                   service.options[service.options.length] = new Option('Private Duty Nursing Services','33');
                                   }
                                if (cond_term==42) {
                                   service.options[service.options.length]=  new Option('Program of All-Inclusive Care for the Elderly','42');
                                   service.options[5].selected=true;
                                }
                                else {
                                service.options[service.options.length]=  new Option('Program of All-Inclusive Care for the Elderly','42');
                                }
                                }



                                        // dental/vision/hearing services
                   else if ((cond_term==7) ||  (cond_term==9) ||  (cond_term==11) ||  (cond_term==34) || (cond_term==19)) {
                                                                           //alert(cond_term);

                                                                            if (cond_term==7) {
                                                                            service.options[service.options.length] = new Option('Dentures','7');
                                                                            service.options[0].selected=true;
                                                                            }
                                                                            else {
                                                                            service.options[service.options.length] = new Option('Dentures','7');
                                                                            }
                                                                            if (cond_term==9) {
                                                                            service.options[service.options.length] = new Option('Eyeglasses','9');
                                                                            service.options[1].selected=true;
                                                                            }
                                                                            else {
                                                                            service.options[service.options.length] = new Option('Eyeglasses','9');
                                                                            }
                                                                            if (cond_term==11) {
                                                                            service.options[service.options.length] = new Option('Hearing Aids','11');
                                                                            service.options[2].selected=true;
                                                                            }
                                                                            else {
                                                                            service.options[service.options.length] = new Option('Hearing Aids','11');
                                                                            }
                                                                            if (cond_term==34) {

                                                                                service.options[service.options.length] = new Option('Prosthetic and Orthotic Devices','34');
                                                                                service.options[3].selected=true;
                                                                                }
                                                                                else {
                                                                                   service.options[service.options.length] = new Option('Prosthetic and Orthotic Devices','34');
                                                                                }
                                                                           if (cond_term==19) {
                                                                                service.options[service.options.length] = new Option('Medical Equipment and Supplies','19');
                                                                                service.options[4].selected=true;
                                                                                }
                                                                                else {
                                                                                service.options[service.options.length] = new Option('Medical Equipment and Supplies','19');
                                                                                }


                                                                         }                     // if






                    // physical therapy and other services category
                 else if ((cond_term==25) || (cond_term=29) || (cond_term=39))  {
                                   //alert("physical");
                                   if (cond_term==25) {
                                   service.options[service.options.length] = new Option('Occupational Therapy Services','25');
                                   service.options[0].selected=true;
                                   }
                                   else {
                                   service.options[service.options.length] = new Option('Occupational Therapy Services','25');
                                   }

                                   if (cond_term==29) {
                                   service.options[service.options.length] = new Option('Physical Therapy Services','29');
                                   service.options[1].selected=true;
                                   }
                                   else{
                                   service.options[service.options.length] = new Option('Physical Therapy Services','29');
                                   }
                                   if (cond_term==39) {
                                      service.options[service.options.length] = new Option('Serivces for Speech, Hearing and Language Disorders','39');
                                      service.options[2].selected=true;
                                      }
                                      else {
                                        service.options[service.options.length] = new Option('Serivces for Speech, Hearing and Language Disorders','39');
                                      }
              

} // if
              }        // end of function