<!-- HIDE FROM OLD BROWSERS
<!-- Created by Nikola Olic, olic@uta.edu on 3.8.99
<!-- University of Texas at Arlington
<!-- http://www.uta.edu

<!-- This script maintains two one-dimensional arrays for
<!-- a Department-to-Po.Box lookup. Both arrays have to
<!-- have the same number of entries and no numbers can be skipped,
<!-- since this file is used by create_list.js to make a list of
<!-- departments that will show up in your page...

<!-- NOTICE!!! When ever you edit this file, open and re-save the html
<!-- file in which this file is used.


var dpobox = new Object()
dpobox[0] = " "
dpobox[1]="19108"
dpobox[2]="19377"
dpobox[3]="19468"
dpobox[4]="19479"
dpobox[5]="19449"
dpobox[6]="19437"
dpobox[7]="19467"
dpobox[8]="19469"
dpobox[9]="19227"
dpobox[10]="19259"
dpobox[11]="19019"
dpobox[12]="19138"
dpobox[13]="19308"
dpobox[14]="19015"
dpobox[15]="19016"
dpobox[16]="19017"
dpobox[17]="19031"
dpobox[18]="19023"
dpobox[19]="19167"
dpobox[20]="19222"
dpobox[21]="19617"
dpobox[22]="19089"
dpobox[23]="19160"
dpobox[24]="19595"
dpobox[25]="19035"
dpobox[26]="19529"
dpobox[27]="19559"
dpobox[28]="19557"
dpobox[29]="19105"
dpobox[30]="19527"
dpobox[31]="19539"
dpobox[32]="19599"
dpobox[33]="19103"
dpobox[34]="19407"
dpobox[35]="19047"
dpobox[36]="19498"
dpobox[37]="19065"
dpobox[38]="19049"
dpobox[39]="19408"
dpobox[40]="19059"
dpobox[41]="19528"
dpobox[42]="19129"
dpobox[43]="19240"
dpobox[44]="19588"

var ddept = new Object()
ddept[0] = "- - - - - - -"
ddept[1]="ARCHITECTURE, SCHOOL OF"
ddept[2]="BUSINESS, COLLEGE OF"
ddept[3]="Accounting"
ddept[4]="Economics"
ddept[5]="Finance & Real Estate"
ddept[6]="Information Systems & Operations Management"
ddept[7]="Management"
ddept[8]="Marketing"
ddept[9]="EDUCATION & HEALTH PROFESSIONS, COLLEGE OF"
ddept[10]="Kinesiology"
ddept[11]="ENGINEERING, COLLEGE OF"
ddept[12]="Bioengineering"
ddept[13]="Civil Engineering"
ddept[14]="Computer Science & Engingeering"
ddept[15]="Electrical Engineering"
ddept[16]="Industrial Engineering"
ddept[17]="Materials Science & Engineering"
ddept[18]="Mechanical & Aerospace Engineering"
ddept[19]="GRADUATE SCHOOL"
ddept[20]="HONORS COLLEGE"
ddept[21]="LIBERAL ARTS, COLLEGE OF"
ddept[22]="Art & Art History"
ddept[23]="Communication"
ddept[24]="Criminology & Criminal Justice"
ddept[25]="English"
ddept[26]="History"
ddept[27]="Linguistics"
ddept[28]="Modern Languages"
ddept[29]="Music"
ddept[30]="Philosophy & Humanities"
ddept[31]="Political Science"
ddept[32]="Sociology & Anthropology"
ddept[33]="Theatre Arts"
ddept[34]="NURSING, COLLEGE OF"
ddept[35]="SCIENCE, COLLEGE OF"
ddept[36]="Biology"
ddept[37]="Chemistry & Biochemistry"
ddept[38]="Earth & Environmental Sciences"
ddept[39]="Mathematics"
ddept[40]="Physics"
ddept[41]="Psychology"
ddept[42]="SOCIAL WORK, SCHOOL OF"
ddept[43]="UNIVERSITY COLLEGE"
ddept[44]="URBAN & PUBLIC AFFAIRS, SCHOOL OF"

var dphone = new Object()
dphone[0] = " "
dphone[1]="2801"
dphone[2]="2881"
dphone[3]="3481"
dphone[4]="3061"
dphone[5]="3705"
dphone[6]="3502"
dphone[7]="3166"
dphone[8]="2876"
dphone[9]="2591"
dphone[10]="3288"
dphone[11]="2571"
dphone[12]="2249"
dphone[13]="5055"
dphone[14]="3785"
dphone[15]="2672"
dphone[16]="3092"
dphone[17]="2559"
dphone[18]="2561"
dphone[19]="2688"
dphone[20]="7216"
dphone[21]="3291"
dphone[22]="2891"
dphone[23]="2163"
dphone[24]="3318"
dphone[25]="2692"
dphone[26]="2861"
dphone[27]="3133"
dphone[28]="3161"
dphone[29]="3471"
dphone[30]="2774"
dphone[31]="2991"
dphone[32]="2661"
dphone[33]="2650"
dphone[34]="2776"
dphone[35]="3491"
dphone[36]="2871"
dphone[37]="3171"
dphone[38]="2987"
dphone[39]="3262"
dphone[40]="2266"
dphone[41]="2281"
dphone[42]="3181"
dphone[43]="0777"
dphone[44]="3071"


<!-- THE VALUE FOR num_of_depts (bellow) MUST MATCH the total number of array elements.

  var d_array = 44

  function d_get_pobox(num)
   {
    var location = num
    var box = dpobox[location]
    return box
   }

  function d_get_phone(num)
   {
    var location = num
    var box = dphone[location]
    return box
   }

  function d_display(selector)
   {
    if ((selector.options[selector.selectedIndex].index)==0)
      {
       selector.form.field.value="  "
      }
    else
      {
      selector.form.field.value=d_get_pobox(selector.options[(selector.selectedIndex)-1].index)
      }
   }

  function d_display_phone(selector)
   {
    if ((selector.options[selector.selectedIndex].index)==0)
     {
       selector.form.phone_field.value="  "
     }
    else
     {
   selector.form.phone_field.value=d_get_phone(selector.options[(selector.selectedIndex)-1].index)
     }
   }

// STOP HIDING -->

