<!--
     var hex;

     function MakeArray()
     {
          this.length = 16;
          return this;
     }

     function Populate()
     {
          hex = new MakeArray();
          hex[1] = "0";
          hex[2] = "1";
          hex[3] = "2";
          hex[4] = "3";
          hex[5] = "4";
          hex[6] = "5";
          hex[7] = "6";
          hex[8] = "7";
          hex[9] = "8";
          hex[10] = "9";
          hex[11] = "a";
          hex[12] = "b";
          hex[13] = "c";
          hex[14] = "d";
          hex[15] = "e";
          hex[16] = "f";
     }

     function get_hex(N)
     {
          s = "";
          A = N;
          while (A >= 16) {
               B = A % 16;
               A = Math.floor(A / 16);
               s = s + hex[B+1];
          }
          s += hex[A+1];

          return transpose(s);
     }

     function transpose(s)
     {
          N = s.length;
          t = "";
          for (i = 0; i < N; i++) {
               t = t + s.substring(N-i-1, N-i);
          }

          //   zero-pad
          s = t;
          for (i = 0; i < (5 - t.length); i++) {
               s = "0" + s;
          }

          return s;
     }

     function show_data(form, data_type)
     {
          var URL;

          if (data_type == 1)
			   URL = "plan/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 2)
			   URL = "atn/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 3)
			   URL = "marks/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 4)
			   URL = "fees/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 5)
			   URL = "gpa/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 6)
			   URL = "guidance/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 7)
			   URL = "trans/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 8)
			   URL = "sched/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 9)
			   URL = "tests/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 10)
			   URL = "vacc/" + get_hex(form.input_text.value) + form.pw.value + ".htm";
          else if (data_type == 11)
			   URL = "calendar.htm";
          else if (data_type == 12)
			   URL = "smmess.htm";

          parent.sm_viewer.location = URL;
          return;
     }

// comment to end hiding -->

