From: Subject: 135 Bracket Date: Sun, 16 Dec 2007 11:18:05 -0800 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_003C_01C83FD5.54711460" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 This is a multi-part message in MIME format. ------=_NextPart_000_003C_01C83FD5.54711460 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_003C_01C83FD5.54711460 Content-Type: multipart/alternative; boundary="----=_NextPart_001_003F_01C83FD5.54711460" ------=_NextPart_001_003F_01C83FD5.54711460 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/Bracket.jsp?TIM=1197832711776&twSessionId=tqwornwctceuxhy&groupId=1223011&bracketWidth=700&bracketHeight=870&bracketFontSize=8&includePages=1,0,2,3&templateId= 135 Bracket
Gorman, Gun
Pin = 1:50
Tanada, SSF
Tanada, SSF
Pin = 6:00
mendez, Ali
Pin = 0:20
Richard, Sar Richard, Sar
Pin = 3:31 Gorman, Gun Gorman, Gun P1 mendez, Ali mendez, Ali P2 P51 Healy, Hom To=20 bottom of 6 P52 Melendez, Apt To=20 bottom of 13 To top=20 of 28 To top=20 of 18 Loser=20 of 11 Loser=20 of 1 Hall, Mtg
TF 24-6 Phan, Sea solorio, OG
Pin = 1:28 Topete, KA
Dec = 6-4 Dihn, Wes Cushman, Gra
Dec = 6-4 Phan, Sea solorio, OG P3 Dihn, Wes Cushman, Gra P4 P53 Hall, Mtg To top=20 of 4 P54 Topete, KA To=20 bottom of 9 To=20 bottom of 32 To top=20 of 24 Loser=20 of 16 Loser=20 of 7 JOHNSON, Tri
FF JOHNSON, Tri flores, Mon
Pin = 1:32 fields, PA
Maj = 11-0 Silva-Thwa, TD De=20 Gracia, SC
TF 15-0 JOHNSON, Tri flores, Mon P5 Silva-Thwa, TD De=20 Gracia, SC P6 P55 Gebpart, SM To=20 bottom of 3 P56 fields, PA To=20 bottom of 15 To=20 bottom of 28 To top=20 of 22 Loser=20 of 12 Loser=20 of 5 =
Calvin Hawkes, LG, 14-0, = 12
Hawkes, LG
Hawkes, LG
Ben=20 Melendez, Apt, 0-4, 12 1 Pin=20 1:17 17 edgar ortega, SB, 1-2, = 10 ortega, SB Pin=20 3:52 Hawkes, LG Dio=20 Cerda, Sal, 2-3, 11 2 FF Brian Johnson, NS, 2-2, = 33 flores, Mon Pin=20 1:07 paul=20 flores, Mon, 3-2, 11 3 solorio, OG Pin=20 3:48 19 lucas solorio, OG, 4-2, = solorio, OG Pin=20 0:50 53 Hawkes, LG Carl=20 Carlson, PG, 4-3, 4 Pin=20 3:19 James Looney, Pla, 9-3, = 12 Looney, Pla Looney, Pla Pin=20 2:55 kasey fields, PA, 4-2, = 11 5 Pin=20 4:45 21 Martin Espinosa, Gil, = 0-2, Tanada, SSF Pin=20 3:30 Hughes, DO 59 Rey=20 Tanada, SSF, 10-3, 12 6 Pin=20 1:46 Nick=20 Hughes, DO, 8-5, 12 36 Hughes, DO Maj=20 15-6 Josh=20 Topete, KA, 2-2, 11 7 Hughes, DO TF=20 18-1 23 Edgar Flores, DM, 0-2, = 11 Gaxiola, AM Maj=20 15-2 Hawkes, LG
Dec = 8-1 Albert Gaxiola, AM, 8-3, = 11 8 Pin=20 2:38 Garrett Doss, Lib, 12-3, = 10 Doss, Lib Marinelli, Pon 1ST Clay=20 Cushman, Gra, 4-4, 11 9 Pin=20 1:55 25 Mason Pieters, NM, 4-6, = 11 Marinelli, Pon Dec=20 5-2 McFall, SV Gaareet Marinelli, Pon, = 8-3,=20 10 10 TF=20 19-4 Manny Herrera, EA, 1-2, = 10 39 Herrera, EA Dec=20 7-0 Matt=20 Healy, Hom, 0-2, 10 11 McFall, SV Pin=20 1:37 27 Marcus Gebpart, SM, 0-2, = McFall, SV Pin=20 5:20 54 McFall, SV Paddy McFall, SV, 6-3, = 12 12 FF Tony=20 Ferris, Cra, 5-3, Ferris, Cra Ferris, Cra Dec=20 9-6 Macklin Richard, Sar, = 7-2, 11 13 Dec=20 6-2 29 Cody=20 Hiere, Kin, 8-7, 10 Cruz, KC Maj=20 11-0 Masuta, Mad Jovanny Cruz, KC, 5-6, = 12 14 Dec=20 6-5 Jatinder Singh, Cer, 0-2, = 12 42 De=20 Gracia, SC Pin=20 2:26 Dominick De Gracia, SC, = 5-4,=20 11 15 Masuta, Mad Pin=20 1:36 31 Jahlyn Hall, Mtg, 5-2, = 11 Masuta, Mad Maj=20 14-3 Armajit Masuta, Mad, = 16-2, 16 Dec=20 13-8 Coast=20 Classic 135
Masuta, Mad
Masuta, Mad
54 Looney, Pla
Looney, Pla
36 De=20 Gracia, SC
De=20 Gracia, SC
31 mendez, Ali 1
57
49
34 mendez, Ali
Pin=20 1:53
Carlson, PG
45 Pin=20 3:26
18 Cerda,=20 Sal 2
Dec=20 7-0
Looney, Pla
I-D
Dec=20 5-1
Carlson, PG
Cruz,=20 KC
29 Johnson, NS 3
55
35 Carlson, PG
Pin=20 2:47
solorio, OG
Dec=20 4-2
20 Carlson, PG 4
solorio, OG
Dec=20 6-0
33 fields, PA
Herrera, EA
27 fields, PA 5
Looney, Pla
50
37 fields, PA
Pin=20 0:53
fields, PA
46 Dec=20 9-7
22 Espinosa, Gil 6
Dec=20 7-2
Tanada, SSF
Dec 5-2
Maj=20 16-4
Doss,=20 Lib
Doss,=20 Lib
25 Topete, KA 7
38 Topete, KA
Dec=20 14-10
24 Flores, DM 8
Masuta, Mad
Pin = 2:00
Pin=20 3:46
57
60 58
Tanada, SSF 61
3RD
5TH
Cushman, Gra 9
Cushman, Gra
Tanada, SSF
Gaxiola, AM
26 Pieters, NM 10
40 Dec=20 6-4
47 Maj=20 18-4
Gaxiola, AM
23 Gorman, Gun 11
Tanada, SSF
Gorman, Gun
Dec=20 9-2
Tanada, SSF
28 JOHNSON, Tri 12
51 Ferris, Cra
41 Pin=20 3:40
Tanada, SSF
Dec=20 4-1
42 Dec=20 9-4
Tanada, SSF
21 Richard, Sar 13
Richard, Sar
Hall,=20 Mtg
Richard, Sar
30 Hiere,=20 Kin 14
Hughes, DO
56
43 Maj=20 9-0
58 Dec=20 10-4
48 Pin=20 3:58
flores, Mon
19 Singh,=20 Cer 15
Hall,=20 Mtg
Hall,=20 Mtg
Dec=20 6-2
Hall,=20 Mtg
32 Hall,=20 Mtg 16
Dec=20 3-1
Hughes, DO
52 Marinelli, Pon
44 Pin=20 0:44
53 Maj=20 13-3
39 Pin=20 3:32
ortega, SB
17
135 ------=_NextPart_001_003F_01C83FD5.54711460 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.twnode4.com/predefinedtournaments/MethodCaller.jsp
= ------=_NextPart_001_003F_01C83FD5.54711460-- ------=_NextPart_000_003C_01C83FD5.54711460 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