From: Subject: 152 Bracket Date: Sun, 16 Dec 2007 11:18:41 -0800 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_005A_01C83FD5.699EAE10" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 This is a multi-part message in MIME format. ------=_NextPart_000_005A_01C83FD5.699EAE10 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/stylesheet.css TABLE.mainFrame { BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; = BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid } TR.mainFrameHdr { BACKGROUND-POSITION: right center; FONT-SIZE: 30pt; BACKGROUND-IMAGE: = url(images/tw_bg_dark.png); COLOR: #ffffff; FONT-FAMILY: arial; = TEXT-ALIGN: center } TD.mainFrameTD { BACKGROUND-POSITION: left center; FONT-SIZE: 30pt; BACKGROUND-IMAGE: = url(images/tw_bg_dark.png); COLOR: #ffffff; FONT-FAMILY: arial; = TEXT-ALIGN: center } TABLE.leftMenu { BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 8pt; = BORDER-BOTTOM-WIDTH: 0px; WIDTH: 100%; COLOR: white; FONT-FAMILY: arial; = TEXT-ALIGN: center; BORDER-RIGHT-WIDTH: 0px } BODY { BACKGROUND-POSITION: left top; FONT-SIZE: 12pt; MARGIN: 0px; = FONT-FAMILY: arial } DIV.loading { FONT-SIZE: 16pt; COLOR: blue; FONT-FAMILY: arial; BACKGROUND-COLOR: = white } DIV.pageBreak { PAGE-BREAK-AFTER: always; HEIGHT: 1px } TD.leftMenuItem { PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; CURSOR: = hand; COLOR: #000080; PADDING-TOP: 1px } TD.leftMenuHdr { PADDING-RIGHT: 1px; BORDER-TOP: #000080 1px solid; PADDING-LEFT: 1px; = FONT-WEIGHT: bold; FONT-SIZE: 9pt; PADDING-BOTTOM: 1px; COLOR: #000080; = PADDING-TOP: 1px; BORDER-BOTTOM: #000080 1px solid } DIV.displayFrame { LEFT: 0px; VISIBILITY: hidden; WIDTH: 100%; POSITION: absolute; TOP: = 0px; TEXT-ALIGN: center } TABLE { FONT-SIZE: 10pt; FONT-FAMILY: arial } TABLE.displayTable { BACKGROUND-COLOR: silver } TR.displayHdr { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 12pt; PADDING-BOTTOM: = 2px; COLOR: white; PADDING-TOP: 2px; BACKGROUND-COLOR: blue; TEXT-ALIGN: = center } TR.displayButtons { TEXT-ALIGN: center } TR.hdr1 { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 18pt; PADDING-BOTTOM: = 2px; COLOR: #000080; PADDING-TOP: 2px; TEXT-ALIGN: center } TR.subHdr { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 12pt; PADDING-BOTTOM: = 2px; COLOR: white; PADDING-TOP: 2px; BACKGROUND-COLOR: blue; TEXT-ALIGN: = center } TR.colHdr { FONT-WEIGHT: bold; COLOR: #000080 } TR.oddRow { =09 } TR.evenRow { BACKGROUND-COLOR: #cfcfff } TR.evenRow TEXTAREA { BACKGROUND-COLOR: #cfcfff } TR.codes { FONT-SIZE: 10pt; FONT-FAMILY: courier; TEXT-ALIGN: center } TR.orange { BACKGROUND-COLOR: orange } TR.yellow { BACKGROUND-COLOR: yellow } TR.topLinks { FONT-SIZE: 12pt; COLOR: black; TEXT-ALIGN: center } A { COLOR: blue } A.topLink { COLOR: red } A.deleteLink { COLOR: red; BACKGROUND-COLOR: white } A.plain { COLOR: blue; TEXT-DECORATION: none } A.plain8 { FONT-SIZE: 8pt; COLOR: blue; TEXT-DECORATION: none } A.plain8:hover { COLOR: black } A.plain10 { FONT-SIZE: 10pt; COLOR: blue; TEXT-DECORATION: none } A.plain10:hover { COLOR: black } A.plain12 { FONT-SIZE: 12pt; COLOR: blue; TEXT-DECORATION: none } A.plain12:hover { COLOR: black } A.plain14 { FONT-SIZE: 14pt; COLOR: blue; TEXT-DECORATION: none } A.plain14:hover { COLOR: black } TD.t { BORDER-TOP: #000000 1px solid } TD.r { BORDER-RIGHT: #000000 1px solid } TD.b { BORDER-BOTTOM: #000000 1px solid } TD.l { BORDER-LEFT: #000000 1px solid } TD.tr { BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid } TD.tb { BORDER-TOP: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid } TD.tl { BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid } TD.rb { BORDER-RIGHT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid } TD.rl { BORDER-RIGHT: #000000 1px solid; BORDER-LEFT: #000000 1px solid } TD.bl { BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid } TD.rbl { BORDER-RIGHT: #000000 1px solid; BORDER-LEFT: #000000 1px solid; = BORDER-BOTTOM: #000000 1px solid } TD.tbl { BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; = BORDER-BOTTOM: #000000 1px solid } TD.trl { BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; = BORDER-LEFT: #000000 1px solid } TD.trb { BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; = BORDER-BOTTOM: #000000 1px solid } TD.trbl { BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; = BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid } TD.redBox { BORDER-RIGHT: #ff0000 1px solid; BORDER-TOP: #ff0000 1px solid; = BORDER-LEFT: #ff0000 1px solid; BORDER-BOTTOM: #ff0000 1px solid } A.tournamentInGroup { FONT-SIZE: 16pt; COLOR: #ffffff } ------=_NextPart_000_005A_01C83FD5.699EAE10 Content-Type: multipart/alternative; boundary="----=_NextPart_001_005D_01C83FD5.69A11F10" ------=_NextPart_001_005D_01C83FD5.69A11F10 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/Bracket.jsp?TIM=1197832748184&twSessionId=tqwornwctceuxhy&groupId=1226011&bracketWidth=700&bracketHeight=870&bracketFontSize=8&includePages=1,0,2,3&templateId= 152 Bracket
Clark, Wes
Pin = 3:59
Clark, Wes
Feldstein, PA
Pin = 4:00
Valle, Wat
Maj = 14-4
Valle, Wat Thalin, KA
Pin = 3:49 Clark, Wes Feldstein, PA P1 Valle, Wat Thalin, KA P2 P51 Singh, Cer To top=20 of 8 P52 mello jr., ST To=20 bottom of 10 To=20 bottom of 30 To top=20 of 20 Loser=20 of 14 Loser=20 of 3 Guzinski, NM
Dec = 8-7 Klabunde, Tam Klabunde, Tam
Dec = 6-0 thach, OG thach, OG P3 P53 Guzinski, NM To top=20 of 2 To top=20 of 32 Loser=20 of 15 =
Geoff Doss, LG, 15-0, = 12
Doss, LG
Doss, LG
Steve Avila, Lib, 0-2, = 12 1 Pin=20 3:16 17 Lucas Klabunde, Tam, 2-2, = 12 Touba, JS Pin=20 2:44 Doss, LG Steven Touba, JS, 5-4, = 11 2 Maj=20 14-5 frank mello jr., ST, 4-2, = 33 Molina, EA Pin=20 2:20 Joe=20 Molina, EA, 7-3, 12 3 Molina, EA Pin=20 2:11 19 Ramy=20 Mogannam, SSF, 1-2, Mogannam, SSF Pin=20 1:02 53 Doss, LG Hunter Anthony, Sea, 3-4, = 11 4 Dec=20 10-8 Eric=20 Tilbury, DM, 5-1, 12 Tilbury, DM Tilbury, DM Pin=20 3:50 Devin Skiver, SU, 6-2, = 11 5 Dec=20 19-12 21 John=20 Salisbury, SV, 3-2, 12 Salisbury, SV Dec=20 6-4 Tilbury, DM 59 Dwight Miller, SC, 3-4, = 12 6 Pin=20 3:59 Mike=20 Combs, NS, 2-2, 36 Combs, NS Dec=20 4-3 roy=20 matsuyama, Mon, 5-4, 11 7 Caspary, Gil Pin=20 5:20 23 Noah=20 Feldstein, PA, 7-4, 10 Caspary, Gil Dec=20 9-8 Doss, LG
Dec 3-1 Tim=20 Caspary, Gil, 3-2, 12 8 Pin=20 5:20 Jeremy Moreno, Ent, 11-2, = 12 Moreno, Ent Moreno, Ent 1ST Catalino Herrera, Mad, = 0-2, 9 Pin=20 0:27 25 Brian Taylor, Gun, 1-4, = 12 Thalin, KA Pin=20 0:35 Moreno, Ent Matthew Thalin, KA, 7-2, = 11 10 Pin=20 4:42 Zach=20 Zufelt, DO, 5-6, 12 39 Zufelt, DO Pin=20 3:40 Kenny La, Fre, 1-2, 11 Banke, Gra Dec=20 16-13 27 Dexter Nelson, Mtg, 0-2, = 11 Banke, Gra Pin=20 3:59 54 Gutches, Cra John=20 Banke, Gra, 13-4, 12 12 TF=20 17-2 Loren Jasper, Sar, 5-3, = 11 Jasper, Sar Jasper, Sar Pin=20 3:18 austin casey, Soq, 2-2, = 12 13 Pin=20 2:58 29 Iqbal Singh, Cer, 0-2, = 12 Peterson, Kin Maj=20 12-1 Gutches, Cra Jonathon Peterson, Kin, = 9-7,=20 10 14 Pin=20 1:32 Cody=20 Guzinski, NM, 4-5, 10 42 Ochoa, KC Pin=20 1:27 Eric=20 Ochoa, KC, 9-4, 10 15 Gutches, Cra Dec=20 6-4 31 Josh=20 Barnaby, PG, 5-5, Gutches, Cra Pin=20 1:39 Brock Gutches, Cra, 12-1, = 16 TF=20 24-9 Coast=20 Classic 152
Thalin, KA
Moreno, Ent
54 Caspary, Gil
Caspary, Gil
36 Ochoa,=20 KC
Ochoa,=20 KC
31 Avila,=20 Lib 1
57
49
34 Klabunde, Tam
Maj=20 10-0
Ochoa,=20 KC
45 Dec=20 11-4
18 Klabunde, Tam 2
Dec=20 6-4
Thalin, KA
Pin=20 4:37
Dec=20 7-6
Valle,=20 Wat
Peterson, Kin
29 Valle,=20 Wat 3
55
35 Valle,=20 Wat
Dec=20 8-4
Molina, EA
Pin=20 3:23
20 Anthony, Sea 4
Thalin, KA
Pin=20 3:28
33 Zufelt, DO
Zufelt, DO
27 Skiver, SU 5
Moreno, Ent
50
37 Skiver, SU
Dec=20 10-4
Thalin, KA
46 Dec=20 9-7
22 Miller, SC 6
Pin=20 1:30
Moreno, Ent
Dec 3-2
Dec=20 6-3
Thalin, KA
Thalin, KA
25 matsuyama, Mon 7
38 matsuyama, Mon
Maj=20 14-3
24 Feldstein, PA 8
Tilbury, DM
Maj = 13-4
Pin=20 3:18
57
60 58
Banke,=20 Gra 61
3RD
5TH
Herrera, Mad 9
Taylor, Gun
Salisbury, SV
Combs,=20 NS
26 Taylor, Gun 10
40 Dec=20 9-4
47 Pin=20 2:06
Combs,=20 NS
23 La,=20 Fre 11
Jasper, Sar
La,=20 Fre
Dec=20 3-2
Salisbury, SV
28 Nelson, Mtg 12
51 Jasper, Sar
41 Dec=20 17-10
Banke,=20 Gra
Dec=20 14-7
42 Pin=20 0:54
Salisbury, SV
21 casey,=20 Soq 13
casey,=20 Soq
Touba,=20 JS
casey,=20 Soq
30 Clark,=20 Wes 14
Tilbury, DM
56
43 Pin=20 1:23
58 Dec=20 6-3
48 Pin=20 2:45
Mogannam, SSF
19 Guzinski, NM 15
Banke,=20 Gra
Barnaby, PG
Dec=20 12-5
Touba,=20 JS
32 Barnaby, PG 16
Dec=20 6-5
Tilbury, DM
52 Banke,=20 Gra
44 Dec=20 7-6
53 Pin=20 4:24
39 Maj=20 9-1
Touba,=20 JS
17
152 ------=_NextPart_001_005D_01C83FD5.69A11F10 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/MethodCaller.jsp
= ------=_NextPart_001_005D_01C83FD5.69A11F10-- ------=_NextPart_000_005A_01C83FD5.699EAE10 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/Essentials.js var dbTop =3D 0;=0A= var dbProceed =3D "true";=0A= var beanNames =3D new Array();=0A= var methodNames =3D new Array();=0A= var methodParms =3D new Array();=0A= var errorMessages =3D new Array();=0A= var formName =3D "";=0A= var executeSubmit =3D "false";=0A= var executeLocationChange =3D "false";=0A= var locationPage =3D "";=0A= var executePageOpening =3D "false";=0A= var pageToOpen =3D "";=0A= var pageHeight =3D 1;=0A= var pageWidth =3D 1;=0A= var pageParms =3D "";=0A= var windowName =3D "";=0A= var essentialsId =3D ""+Math.random();=0A= =0A= function callMethod(b,m,p,em){=0A= try{=0A= if( m=3D=3D"runUpdate" || m=3D=3D"runUpdate2" ){=0A= p =3D dashEncode(p);=0A= }=0A= if(dbProceed =3D=3D "true"){=0A= continueDBProcess(b,m,p,em);=0A= }else{=0A= for(var i=3DdbTop;i>0;i--){=0A= beanNames[i] =3D beanNames[i-1];=0A= methodNames[i] =3D methodNames[i-1];=0A= methodParms[i] =3D methodParms[i-1];=0A= errorMessages[i] =3D errorMessages[i-1];=0A= }=0A= beanNames[0] =3D b;=0A= methodNames[0] =3D m;=0A= methodParms[0] =3D p;=0A= errorMessages[0] =3D em;=0A= dbTop++;=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function continueDBProcess(b,m,p,em){=0A= try{=0A= dbProceed =3D "false";=0A= with(frames["MethodCallerFrame"].document.methodCallerForm){=0A= beanName.value =3D b;=0A= methodName.value =3D m;=0A= parameters.value =3D p;=0A= errorMessage.value =3D em;=0A= forwardToPage.value =3D = "MethodCaller.jsp?essentialsId=3D"+essentialsId;=0A= action =3D "CallMethodAndForward.jsp";=0A= submit();=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function dbDone(id){=0A= if(essentialsId !=3D id){=0A= return false;=0A= }else{=0A= try{=0A= if(dbTop =3D=3D 0){=0A= dbProceed =3D "true";=0A= if(executePageOpening =3D=3D "true"){=0A= openPage(pageToOpen,pageHeight,pageWidth,pageParms,windowName);=0A= }=0A= if(executeSubmit =3D=3D "true"){=0A= mySubmit(formName);=0A= }=0A= if(executeLocationChange =3D=3D "true"){=0A= goTo(locationPage);=0A= }=0A= }else{=0A= var b =3D beanNames[dbTop-1];=0A= var m =3D methodNames[dbTop-1];=0A= var p =3D methodParms[dbTop-1];=0A= var em =3D errorMessages[dbTop-1];=0A= dbTop--;=0A= continueDBProcess(b,m,p,em);=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= return true;=0A= }=0A= }=0A= =0A= function mySubmit(fn){=0A= try{=0A= if(dbProceed =3D=3D "true"){=0A= with(fn){=0A= submit();=0A= }=0A= }else{=0A= formName =3D fn;=0A= executeSubmit =3D "true";=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function openPage(page, h, w, parms,winName) {=0A= try{=0A= if(dbProceed =3D=3D "true"){=0A= if (h <=3D 1) { h =3D Math.floor(screen.height * h); }=0A= if (w <=3D 1) { w =3D Math.floor(screen.width * w); }=0A= var left =3D Math.floor( (screen.width - w) / 2);=0A= var top =3D Math.floor( (screen.height - h) / 2);=0A= var winParms =3D "top=3D" + top + ",left=3D" + left + ",height=3D" = + h + ",width=3D" + w;=0A= if (parms !=3D "") { winParms +=3D "," + parms; }=0A= var win =3D window.open(page,winName,winParms); =0A= win.focus();=0A= }else{=0A= pageToOpen =3D page;=0A= pageHeight =3D h;=0A= pageWidth =3D w;=0A= pageParms =3D parms;=0A= windowName =3D winName;=0A= executePageOpening =3D "true";=0A= }=0A= }catch(error){=0A= alert("An error occurred when attempting to open a new window. Most = likely you have a popup blocker blocking the window from opening. = Either disable the popup blocker or have it allow popups from this site. = You can also hold down the ctrl key, then click while holding the ctrl = key, and that usually overrides the popup blocker.");=0A= }=0A= }=0A= =0A= function submitTo(page,formName){=0A= try{=0A= with(formName){=0A= action =3D page;=0A= mySubmit(formName);=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function goTo(page){=0A= try{=0A= if(dbProceed =3D=3D "true"){=0A= location.href =3D page;=0A= }else{=0A= locationPage =3D page;=0A= executeLocationChange =3D "true";=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function replace(str,s1,s2){=0A= try{=0A= if(str=3D=3Dnull || str=3D=3D""){return str;}=0A= var i =3D str.indexOf(s1);=0A= while(i > -1 && i < str.length-s1.length){=0A= str =3D str.substring(0,i) + s2 + = str.substring(i+s1.length,str.length);=0A= i =3D str.indexOf(s1,i+s2.length);=0A= }=0A= if(i>=3Dstr.length-s1.length){=0A= str =3D str.substring(0,str.length-1) + s2;=0A= }=0A= return str;=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function removeBadChars(str){=0A= try{=0A= return replace(replace(replace(str,"'","`"),"\"","`"),"~","-");=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function containsBadChars(str){=0A= try{=0A= var arr =3D str.split("'");=0A= if(arr.length > 1){=0A= return true;=0A= }=0A= arr =3D str.split("\"");=0A= if(arr.length > 1){=0A= return true;=0A= }=0A= arr =3D str.split("~");=0A= if(arr.length > 1){=0A= return true;=0A= }=0A= return false;=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function checkLength(component,length){=0A= try{=0A= if(component.value.length > length){=0A= alert("You are only allowed to enter " + length + " characters");=0A= component.value =3D component.value.substring(0,length);=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function setFocus(component,val){=0A= try{=0A= component.focus();=0A= if(val !=3D ""){=0A= component.value =3D val;=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function isValidDouble(value,left,right){=0A= try{=0A= var exp;=0A= if(value=3D=3Dnull){=0A= return false;=0A= }else if(left=3D=3D"0" && right=3D=3D"0"){=0A= return value=3D=3D"";=0A= }else if(left=3D=3D"0"){=0A= exp =3D new RegExp("^\\.\\d{1," + right + "}$");=0A= }else if(right=3D=3D"0"){=0A= exp =3D new RegExp("^\\d{0," + left + "}$");=0A= }else{=0A= exp =3D new RegExp("^\\d{0," + left + "}$|^\\d{0," + left + = "}\\.\\d{1," + right + "}$");=0A= }=0A= return value.search(exp) >=3D 0;=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function compareNumbers(n1,n2){=0A= try{=0A= if(parseFloat(n1) < parseFloat(n2)){=0A= return -1;=0A= }else if(parseFloat(n1)=3D=3DparseFloat(n2)){=0A= return 0;=0A= }else{=0A= return 1;=0A= }=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function getCurrentDateTimeString(){=0A= var calendar =3D new Date();=0A= var currentMonth =3D ""+(calendar.getMonth()+1);=0A= var currentDay =3D ""+calendar.getDate();=0A= var currentYear =3D ""+calendar.getFullYear();=0A= var currentHour =3D ""+calendar.getHours();=0A= var currentMinute =3D ""+calendar.getMinutes();=0A= while(currentMonth.length < 2){ currentMonth =3D "0" + currentMonth; }=0A= while(currentDay.length < 2){ currentDay =3D "0" + currentDay; }=0A= while(currentYear.length < 4){ currentYear =3D "0" + currentYear; }=0A= while(currentHour.length < 2){ currentHour =3D "0" + currentHour; }=0A= while(currentMinute.length < 2){ currentMinute =3D "0" + currentMinute; = }=0A= return currentYear + "" + currentMonth + "" + currentDay + "" + = currentHour + "" + currentMinute;=0A= }=0A= =0A= function rearrangeDate(dt){=0A= try{=0A= var arr =3D dt.split("/");=0A= return arr[2]+"/"+arr[0]+"/"+arr[1];=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function displayLoadingMessage(){=0A= try{=0A= document.getElementById("loadingMessage").innerHTML =3D "FINDING PAGE...";=0A= document.getElementById("loadingMessage").style.visibility =3D = "visible";=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function lookup(val,arr,delim){=0A= return lookupWithNdx(val,arr,delim,1);=0A= }=0A= =0A= function lookupWithNdx(val,arr,delim,ndx){=0A= try{=0A= for(var i=3D0;i" + message + "";=0A= document.getElementById(divName).style.visibility =3D "visible";=0A= }catch(error){=0A= alert("An error occured and below is the error message.\n\n" + = error.message);=0A= }=0A= }=0A= =0A= function getElement(fName,elementName){=0A= var i =3D 0;=0A= while(i < 3){=0A= i++;=0A= try{=0A= if(i=3D=3D1 && fName.length > 0){=0A= window.document.forms[fName].elements[elementName].value;=0A= return window.document.forms[fName].elements[elementName];=0A= }else if(i=3D=3D2){=0A= document.getElementById(elementName).value;=0A= return document.getElementById(elementName);=0A= }else if(i=3D=3D3){=0A= document.all[elementName].value;=0A= return document.all[elementName];=0A= }=0A= }catch(error){}=0A= }=0A= }=0A= =0A= function changeSelectBoxValue(selectBox,value){=0A= for(var i=3D0;i=3D 0){ // if the user entered a comma.=0A= var boutArr =3D boutBox.value.split(/\s*,\s*/); // split the users = entry using commas.=0A= for(var i=3D0;i=3D 0){ // if it contains a '-'=0A= var boutRange =3D boutArr[i].split(/\s*\-\s*/); // split it using a = dash.=0A= if(parseInt(boutRange[0]) > parseInt(boutRange[1])){ // make sure = the left bout number is not greater than the right one=0A= alert("You have entered a range where the left value is larger = than the right one.");=0A= boutBox.focus();=0A= return false;=0A= }=0A= }=0A= }=0A= }else if(boutBox.value.search(/\-/) >=3D 0){ // if the users entry did = not contain commas but contains a dash.=0A= var boutRange =3D boutBox.value.split(/\s*\-\s*/); // split it using = a dash=0A= if(parseInt(boutRange[0]) > parseInt(boutRange[1])){ // make sure the = left bout number is not greater than the right one.=0A= alert("You have entered a range where the left value is larger than = the right one.");=0A= boutBox.focus();=0A= return false;=0A= }=0A= }=0A= }=0A= return true;=0A= }=0A= =0A= function isValidBoutString2(boutStr){=0A= boutStr =3D replace(boutStr," ","");=0A= =0A= var boutNoRegExp =3D = /^\s*\d{1,5}\s*$|^\s*\d{1,5}\s*\-\s*\d{1,5}\s*$|^((\s*\d{1,5}\s*)|(\s*\d{= 1,5}\s*\-\s*\d{1,5}\s*))(,((\s*\d{1,5}\s*)|(\s*\d{1,5}\s*\-\s*\d{1,5}\s*)= ))*,((\s*\d{1,5}\s*)|(\s*\d{1,5}\s*\-\s*\d{1,5}\s*))$/;=0A= if(boutStr=3D=3D""){ // if the user did not enter any bouts.=0A= // ok=0A= }else if(boutStr.search(boutNoRegExp)=3D=3D-1){ // if the user did not = enter a valid bout number string=0A= return "You have entered invalid syntax.\nPlease try again.\nFor = Example: 1-12 or 1,3,5... or 1-12,18,19,24-26 are all valid.";=0A= }else{=0A= if(boutStr.search(/,/) >=3D 0){ // if the user entered a comma.=0A= var boutArr =3D boutStr.split(/\s*,\s*/); // split the users entry = using commas.=0A= for(var i=3D0;i=3D 0){ // if it contains a '-'=0A= var boutRange =3D boutArr[i].split(/\s*\-\s*/); // split it using a = dash.=0A= if(parseInt(boutRange[0]) > parseInt(boutRange[1])){ // make sure = the left bout number is not greater than the right one=0A= return "You have entered a range where the left value is larger = than the right one.";=0A= }=0A= }=0A= }=0A= }else if(boutStr.search(/\-/) >=3D 0){ // if the users entry did not = contain commas but contains a dash.=0A= var boutRange =3D boutStr.split(/\s*\-\s*/); // split it using a dash=0A= if(parseInt(boutRange[0]) > parseInt(boutRange[1])){ // make sure the = left bout number is not greater than the right one.=0A= return "You have entered a range where the left value is larger than = the right one.";=0A= }=0A= }=0A= }=0A= return "";=0A= }=0A= =0A= function expandBoutString(str){=0A= var bouts =3D "";=0A= var arr =3D str.split(",");=0A= for(var a=3D0;a 0){=0A= return bouts.substring(0,bouts.length-1);=0A= }else{=0A= return "";=0A= }=0A= }=0A= =0A= function mouseOverLeftMenuItem(item){=0A= item.style.backgroundColor =3D "black";=0A= item.style.color =3D "white";=0A= }=0A= =0A= function mouseOffLeftMenuItem(item){=0A= item.style.backgroundColor =3D "";=0A= item.style.color =3D "#000080";=0A= }=0A= =0A= function getMatchedCharCount(s1,s2){=0A= if(s1=3D=3Dnull || s2=3D=3Dnull || s1.length=3D=3D0 || = s2.length=3D=3D0){=0A= return 0;=0A= }=0A= return getMatchedCharCount2(s1.toLowerCase(),s2.toLowerCase());=0A= }=0A= function getMatchedCharCount2(s1,s2){=0A= if(s1=3D=3Dnull || s2=3D=3Dnull || s1.length=3D=3D0 || = s2.length=3D=3D0){=0A= return 0;=0A= }else if(s1.substring(0,1)=3D=3Ds2.substring(0,1)){=0A= return 1 + getMatchedCharCount( s1.substring(1,s1.length) , = s2.substring(1,s2.length) );=0A= }=0A= if(s1.length > s2.length){=0A= return getMatchedCharCount( s1.substring(1,s1.length) , s2 );=0A= }else{=0A= return getMatchedCharCount( s1 , s2.substring(1,s2.length) );=0A= }=0A= }=0A= =0A= function getWindowInnerHeight(){=0A= var h =3D -1;=0A= try{=0A= h =3D document.body.clientHeight;=0A= }catch(e1){=0A= try{=0A= h =3D window.innerHeight;=0A= }catch(e2){=0A= try{=0A= h =3D screen.availHeight;=0A= }catch(e3){=0A= h =3D 300;=0A= }=0A= }=0A= }=0A= return h;=0A= }=0A= =0A= function getMultipleSelectedValues(boxId){=0A= try{=0A= var result =3D "";=0A= var box =3D document.getElementById(boxId);=0A= for(var i=3D0;i=3D 0;=0A= }=0A= =0A= function parseWeight(theBox){=0A= try{=0A= var v =3D theBox.value;=0A= var s =3D -1;=0A= var e =3D -1;=0A= var isInt =3D false;=0A= for(var i=3D0;i -1 && e > -1){=0A= theBox.value =3D v.substring(s,e+1);=0A= }=0A= }catch(e){}=0A= }=0A= =0A= function dashEncode(s1){=0A= if(s1=3D=3Dnull){=0A= return null;=0A= }=0A= var s2 =3D "";=0A= for( var i=3D0; i