From: Subject: 215 Bracket Date: Sun, 16 Dec 2007 11:19:21 -0800 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_0082_01C83FD5.81DCBC10" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 This is a multi-part message in MIME format. ------=_NextPart_000_0082_01C83FD5.81DCBC10 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_0082_01C83FD5.81DCBC10 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0085_01C83FD5.81DCBC10" ------=_NextPart_001_0085_01C83FD5.81DCBC10 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/Bracket.jsp?TIM=1197832788902&twSessionId=tqwornwctceuxhy&groupId=1230011&bracketWidth=700&bracketHeight=870&bracketFontSize=8&includePages=1,0,2,3&templateId= 215 Bracket
Jesse Rogers, Gil, 12-0, = 12
Rogers, Gil
Rogers, Gil
Stephen Salazar, Gun, = 2-4, 12 1 Pin=20 3:04 17 Ronnie Ozuna, KC, 0-2, = 10 O`Connor, NM Pin=20 3:35 Rogers, Gil Greig O`Connor, NM, 10-3, = 11 2 Pin=20 2:30 Nick=20 Browning, Gra, 9-4, 12 33 Browning, Gra Dec=20 6-0 Albert Alvarez, TD, 6-4, = 12 3 Browning, Gra Pin=20 2:53 19 Eric=20 Wegener, AM, 8-2, 12 Wegener, AM DQ 53 Rogers, Gil Bye 4 Bye Jesus Luna, Mad, 2-2, = Luna, Mad Johnson, KA Pin=20 4:40 Huziel Perez, SSF, 0-2, = 5 FF 21 Michael Arnold, PG, 5-3, = 12 Johnson, KA Pin=20 1:57 Johnson, KA 59 Travis Johnson, KA, 4-2, = 11 6 Maj=20 15-2 Ryan=20 Scarr, Pon, 12-2, 12 36 Scarr, Pon Pin=20 2:41 Abraham Guttierz, Har, = 0-2, 12 7 Scarr, Pon Maj=20 14-0 23 Nick=20 Kalpin, LG, 1-2, 12 Kalpin, LG Dec=20 13-6 Rogers, Gil
Dec = 7-1 buddy barraza, SB, 14-2, = 12 8 Dec=20 6-3 Wade=20 Jackson, Kin, 17-2, 11 Jackson, Kin Jackson, Kin 1ST Charles Klag, Tam, 3-2, = 12 9 Dec=20 5-3 25 Eric=20 Blakeman, Sal, 0-2, 12 Fausto, EA Pin=20 3:06 dunlap, Soq Isaac Fausto, EA, 1-2, = 11 10 Dec=20 9-4 Vincent Martinez, NS, = 2-2, 39 Martinez, NS Dec=20 6-5 marcell ventura, OG, 1-2, = 11 dunlap, Soq Dec=20 14-8 27 Ivo=20 Miskic, Wes, 0-2, 10 dunlap, Soq Dec=20 15-9 54 Duerr, Mtg george dunlap, Soq, 3-3, = 11 12 Pin=20 2:43 javier licea, ST, 4-3, = Guerrero, Fre Mobley, Cra Dec=20 5-2 Jesse Guerrero, Fre, 1-2, = 13 Maj=20 18-6 29 Austen Harbert, DO, 0-2, = 10 Mobley, Cra TF=20 20-4 Duerr, Mtg Darrio Mobley, Cra, 8-2, = 14 Pin=20 3:44 Austin Morehead, SU, 6-2, = 10 42 hall, PA Dec=20 4-3 kevin hall, PA, 7-2, = 12 15 Duerr, Mtg Pin=20 2:33 31 Drew=20 Johnson, SC, 3-4, 11 Duerr, Mtg Pin=20 1:48 Freddy Duerr, Mtg, 8-1, = 12 16 Pin=20 2:00 Coast=20 Classic 215
Scarr,=20 Pon
dunlap, Soq
54 Scarr,=20 Pon
Scarr,=20 Pon
36 hall,=20 PA
hall,=20 PA
31 Salazar, Gun 1
57
49
34 Salazar, Gun
Dec=20 6-2
hall,=20 PA
45 Pin=20 2:04
18 Ozuna,=20 KC 2
Pin=20 2:15
Scarr,=20 Pon
Dec=20 3-1
Pin=20 3:37
Alvarez, TD
Guerrero, Fre
29 Alvarez, TD 3
55
35 Alvarez, TD
Dec=20 5-4
Browning, Gra
Pin=20 5:17
20 Bye 4
barraza, SB
Bye
33 Martinez, NS
Martinez, NS
27 Perez,=20 SSF 5
dunlap, Soq
50
37 Arnold, PG
Dec=20 1-0
barraza, SB
46 Dec=20 4-2
22 Arnold, PG 6
FF
Mobley, Cra
Dec 9-6
Maj=20 12-1
barraza, SB
Fausto, EA
25 Guttierz, Har 7
38 barraza, SB
Pin=20 0:29
24 barraza, SB 8
Scarr,=20 Pon
Pin 2:41
Pin=20 3:52
57
60 58
Mobley, Cra 61
3RD
5TH
Klag,=20 Tam 9
Klag,=20 Tam
Klag,=20 Tam
Klag,=20 Tam
26 Blakeman, Sal 10
40 Pin=20 0:35
47 I-D
Kalpin, LG
23 ventura, OG 11
Mobley, Cra
ventura, OG
Dec=20 4-1
Luna,=20 Mad
28 Miskic, Wes 12
51 Mobley, Cra
41 FF
Mobley, Cra
Dec=20 7-4
42 Dec=20 8-4
Luna,=20 Mad
21 licea,=20 ST 13
licea,=20 ST
O`Connor, NM
licea,=20 ST
30 Harbert, DO 14
Johnson, KA
56
43 Pin=20 0:39
58 Dec=20 7-5
48 FF
Wegener, AM
19 Morehead, SU 15
Jackson, Kin
Morehead, SU
TF=20 17-2
O`Connor, NM
32 Johnson, SC 16
Pin=20 4:28
Johnson, KA
52 Jackson, Kin
44 Pin=20 1:59
53 Pin=20 3:32
39 Dec=20 11-4
O`Connor, NM
17
215 ------=_NextPart_001_0085_01C83FD5.81DCBC10 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/MethodCaller.jsp
= ------=_NextPart_001_0085_01C83FD5.81DCBC10-- ------=_NextPart_000_0082_01C83FD5.81DCBC10 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