From: Subject: 130 Bracket Date: Sun, 16 Dec 2007 11:17:54 -0800 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_0032_01C83FD5.4DABD570" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C83FD5.4DABD570 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_0032_01C83FD5.4DABD570 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0035_01C83FD5.4DAE1F60" ------=_NextPart_001_0035_01C83FD5.4DAE1F60 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/Bracket.jsp?TIM=1197832702316&twSessionId=tqwornwctceuxhy&groupId=1222011&bracketWidth=700&bracketHeight=870&bracketFontSize=8&includePages=1,0,2,3&templateId= 130 Bracket
Munoz, Mad
Pin = 1:51
MAELFEYT, Tri
MAELFEYT, Tri
TF = 20-5
olivares, OG
Pin = 2:35
Lanuza, Wat Lanuza, Wat
Pin = 0:00 Amirfar, Cer Amirfar, Cer P1 olivares, OG olivares, OG P2 P51 Munoz, Mad To top=20 of 13 P52 meza, Ali To=20 bottom of 1 To top=20 of 22 To top=20 of 28 Loser=20 of 5 Loser=20 of 11 coehlo, SB
Pin = 1:42 Matsui, Wes Matsui, Wes
Pin = 3:39 coehlo, SB coehlo, SB P3 P53 Williams, Pla To top=20 of 15 To top=20 of 20 Loser=20 of 3 =
Timmy Nevarez, SU, 4-2, = 12
Lanuza, Wat
Lanuza, Wat
Emmanual Lanuza, Wat, = 5-1, 12 1 Dec=20 7-6 17 chris kandell, Mon, 4-4, = 12 kandell, Mon Pin=20 3:01 Lanuza, Wat Cheyenne Wilson, SSF, = 0-2, 9 2 Pin=20 2:42 Matt=20 Galton, TD, 11-4, 11 33 Galton, TD Maj=20 16-8 Chris Williams, Pla, 4-2, = 11 3 Galton, TD Pin=20 1:53 19 Ronnie Delfin, Apt, 4-6, = 10 Qian, AM Maj=20 15-3 53 Lanuza, Wat Brian Qian, AM, 5-3, = 4 Pin=20 1:00 Jesse Stafford, DO, 10-4, = 10 Stafford, DO Stafford, DO Pin=20 3:06 Phillip Munoz, Mad, 4-2, = 5 Maj=20 11-0 21 Aaron Marquez, SC, 2-4, = 10 Potts, Gra Pin=20 1:41 Cathey, Fre 59 Joey=20 Potts, Gra, 1-2, 10 6 Dec=20 9-5 Christop Halcon, NS, 2-3, = 12 36 Halcon, NS Dec=20 8-5 Matthew Lee, Gun, 4-4, = 11 7 Cathey, Fre Pin=20 5:03 23 Jackson Heath, Hom, 0-2, = 10 Cathey, Fre Maj=20 14-5 MAELFEYT, Tri
Maj = 14-4 La=20 Quint Cathey, Fre, 5-1, 12 8 Pin=20 2:38 Long=20 Tran, NM, 10-3, 12 Tran, NM Tran, NM 1ST Kyle=20 Chavez, Kin, 8-7, 9 FF 25 Jeshua Aveno, ST, 2-2, = LamCenteio, JS Dec=20 7-6 Ferris, Cra Koa=20 LamCenteio, JS, 5-3, 12 10 Pin=20 3:48 eddie meza, Ali, 0-2, = 9 39 Ferris, Cra Dec=20 3-1 Nick=20 Ferris, Cra, 6-4, 11 Ferris, Cra Pin=20 1:42 27 CJ=20 Dizney, Lib, 6-6, 10 Rahmil, LG Maj=20 12-3 54 MAELFEYT, Tri Omri=20 Rahmil, LG, 8-5, 10 12 Pin=20 2:31 KEVIN MAELFEYT, Tri, = 11-0, 10 MAELFEYT, Tri MAELFEYT, Tri TF=20 22-7 Ross=20 Perry, Mtg, 9-3, 12 13 Pin=20 2:25 29 Cody=20 Rother, Ent, 8-10, 11 Rother, Ent TF=20 20-5 MAELFEYT, Tri Vince Tam, Agn, 0-4, = 12 14 FF Abe=20 Matsui, Wes, 2-2, 12 42 Matsui, Wes Maj=20 17-5 Nate=20 Faygemholtz, Soq, 2-2, 12 15 Meniketti, Pon Pin=20 0:00 31 Hector Salas, DM, 0-2, = 12 Meniketti, Pon Dec=20 8-4 Ryan=20 Meniketti, Pon, 10-2, 12 16 Pin=20 1:44 Coast=20 Classic 130
Stafford, DO
Ferris, Cra
54 Stafford, DO
Stafford, DO
36 Nevarez, SU
Matsui, Wes
31 Nevarez, SU 1
57
49
34 Nevarez, SU
Dec=20 6-0
Nevarez, SU
45 Maj=20 10-2
18 Wilson, SSF 2
Dec=20 8-2
Stafford, DO
Pin=20 0:44
Dec=20 13-6
Rother, Ent
Rother, Ent
29 coehlo, SB 3
55
35 coehlo, SB
Dec=20 4-1
Galton, TD
Dec=20 9-2
20 Delfin, Apt 4
Galton, TD
Pin=20 1:19
33 Munoz,=20 Mad
Rahmil, LG
27 Munoz,=20 Mad 5
Ferris, Cra
50
37 Munoz,=20 Mad
Dec=20 8-1
Munoz,=20 Mad
46 Maj=20 12-2
22 Marquez, SC 6
Maj=20 12-1
Perry,=20 Mtg
Dec 6-2
Dec=20 9-4
LamCenteio, JS
LamCenteio, JS
25 Lee,=20 Gun 7
38 Lee,=20 Gun
Pin=20 2:05
24 Heath,=20 Hom 8
Cathey, Fre
Dec 8-6
Pin=20 4:28
57
60 58
Perry,=20 Mtg 61
3RD
5TH
Chavez, Kin 9
Aveno,=20 ST
olivares, OG
Aveno,=20 ST
26 Aveno,=20 ST 10
40 Bye
47 Dec=20 5-4
Halcon, NS
23 olivares, OG 11
Meniketti, Pon
olivares, OG
Pin=20 2:48
olivares, OG
28 Dizney, Lib 12
51 Meniketti, Pon
41 Pin=20 4:39
Perry,=20 Mtg
Dec=20 6-3
42 Pin=20 0:29
Potts,=20 Gra
21 Perry,=20 Mtg 13
Perry,=20 Mtg
Perry,=20 Mtg
Perry,=20 Mtg
30 Tam,=20 Agn 14
Cathey, Fre
56
43 FF
58 Dec=20 11-9
48 Pin=20 0:59
Qian,=20 AM
19 Faygemholt, Soq 15
Perry,=20 Mtg
Faygemholt, Soq
Maj=20 17-4
Faygemholt, Soq
32 Salas,=20 DM 16
Dec=20 12-7
Cathey, Fre
52 Tran,=20 NM
44 Maj=20 11-0
53 Dec=20 6-4
39 Dec=20 4-3
kandell, Mon
17
130 ------=_NextPart_001_0035_01C83FD5.4DAE1F60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/MethodCaller.jsp
= ------=_NextPart_001_0035_01C83FD5.4DAE1F60-- ------=_NextPart_000_0032_01C83FD5.4DABD570 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