function inputLengthCheck(fieldNum) {
26 if( document.captureEvents ) {
27 if( Event.KEYUP ) {
28 document.captureEvents( Event.KEYUP );
29 }
30 }
31 document.onkeyup = alertkey;
32 function alertkey(e) {
33 if( !e ) {
34 if( window.event ) {
35 e = window.event;
36 } else {
37 return;
38 }
39 }
40 if( typeof( e.which ) == 'number' ) {
41 e = e.which;
42 } else if( typeof( e.keyCode ) == 'number' ) {
43 e = e.keyCode;
44 } else if( typeof( e.charCode ) == 'number' ) {
45 e = e.charCode;
46 } else {
47 return;
48 }
49 if (fieldNum == 1) {
50 var boxString = document.form1.section1.value;
51 if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
52 if (boxString.length == 6 && fieldNum < 5) {
53 document.form1.section2.focus();
54 }
55 }
56 }
57 if (fieldNum == 2) {
58 var boxString = document.form1.section2.value;
59 if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
60 if (boxString.length == 4 && fieldNum < 5) {
61 document.form1.section3.focus();
62 }
63 }
64 }
65 if (fieldNum == 3) {
66 var boxString = document.form1.section3.value;
67 if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
68 if (boxString.length == 6 && fieldNum < 5) {
69 document.form1.section4.focus();
70 }
71 }
72 }
73 if (fieldNum == 4) {
74 var boxString = document.form1.section4.value;
75 if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
76 if (boxString.length == 4 && fieldNum < 5) {
77 document.form1.section5.focus();
78 }
79 }
80 }
81 if (fieldNum == 5) {
82 var boxString = document.form1.section5.value;
83 if (e==13) {
84 document.form1.submit();
So does anyone have a used beta key, or what it would look like so i can get an idea about this beta key gen, and plus this came right from the beta.worldofwarcraft.com where you upgrade your account, with Firebug a firefox addon