From: Subject: Amador County QuickFacts from the US Census Bureau Date: Sat, 8 Mar 2008 09:10:01 -0800 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_004B_01C880FC.30722500" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 This is a multi-part message in MIME format. ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://quickfacts.census.gov/qfd/states/06/06005.html =EF=BB=BF Amador County = QuickFacts from the US Census Bureau 3D"US
State & County QuickFacts


California=20 counties - select= ion=20 map
California=20 cities - pl= ace=20 search
=20
3D""=20 More = California data sets

Amador County, California

3D"Info Further=20 information Want more? Browse = data=20 sets for Amador County
    People=20 QuickFacts Amador=20 County California
Population, 2006 estimate 38,941 36,457,549
Population, percent change, April 1, 2000 = to July 1,=20 2006 10.9% 7.6%
Population, 2000 35,100 33,871,648
Persons under 5 years old, percent, 2006 = 3.6% 7.3%
Persons under 18 years old, percent, 2006 = 16.9% 26.1%
Persons 65 years old and over, percent, = 2006 18.1% 10.8%
Female persons, percent, 2006 45.5% 50.0%
White persons, percent, 2006 (a)=20 90.6% 76.9%
Black persons, percent, 2006 (a)=20 3.9% 6.7%
American Indian and Alaska Native = persons, percent,=20 2006 (a) 1.8% 1.2%
Asian persons, percent, 2006 (a)=20 1.4% 12.4%
Native Hawaiian and Other Pacific = Islander,=20 percent, 2006 (a) 0.1% 0.4%
Persons reporting two or more races, = percent, 2006 2.2% 2.4%
Persons of Hispanic or Latino origin, = percent, 2006=20 (b) 9.7% 35.9%
White persons not Hispanic, percent, 2006 = 81.5% 43.1%
Living in same house in 1995 and 2000, = pct 5 yrs=20 old & over 53.4% 50.2%
Foreign born persons, percent, 2000 3.4% 26.2%
Language other than English spoken at = home, pct age=20 5+, 2000 7.6% 39.5%
High school graduates, percent of persons = age 25+,=20 2000 84.0% 76.8%
Bachelor's degree or higher, pct of = persons age=20 25+, 2000 16.6% 26.6%
Persons with a disability, age 5+, 2000 = 6,591 5,923,361
Mean travel time to work (minutes), = workers age=20 16+, 2000 29.1 27.7
 
Housing units, 2006 17,116 13,174,378
Homeownership rate, 2000 75.5% 56.9%
Housing units in multi-unit structures, = percent,=20 2000 6.4% 31.4%
Median value of owner-occupied housing = units, 2000 $153,600 $211,500
 
Households, 2000 12,759 11,502,870
Persons per household, 2000 2.39 2.87
Median household income, 2004 $47,459 $49,894
Per capita money income, 1999 $22,412 $22,711
Persons below poverty, percent, 2004 8.8% 13.2%
    Business=20 QuickFacts Amador=20 County California
Private nonfarm establishments, 2005 909 860,8661
Private nonfarm employment, 2005=20 9,283 13,382,4701
Private nonfarm employment, percent change = 2000-2005=20 25.8% 3.9%1
Nonemployer establishments, 2005=20 2,925 2,609,258
Total number of firms, 2002 3,396 2,908,758
Black-owned firms, percent, 2002=20 F 3.9%
American Indian and Alaska Native owned = firms,=20 percent, 2002 F 1.3%
Asian-owned firms, percent, 2002=20 F 12.8%
Native Hawaiian and Other Pacific Islander = owned=20 firms, percent, 2002 F 0.2%
Hispanic-owned firms, percent, 2002 F 14.7%
Women-owned firms, percent, 2002=20 S 29.9%
 
Manufacturers shipments, 2002 ($1000) = 90,089 378,661,414
Wholesale trade sales, 2002 ($1000) D 655,954,708
Retail sales, 2002 ($1000) 1,641,687 359,120,365
Retail sales per capita, 2002 $44,592 $10,264
Accommodation and foodservices sales, = 2002 ($1000) 42,480 55,559,669
Building permits, 2006 235 160,502
Federal spending, 2004 ($1000)=20 208,393 232,387,1681
    Geography=20 QuickFacts Amador=20 County California
Land area, 2000 (square miles) 592.97 155,959.34
Persons per square mile, 2000 59.2 217.2
3D"Persons FIPS Code 005 06
3D"Persons Metropolitan or Micropolitan Statistical = Area None  

1: Includes data not distributed by county. =

Download = these=20 tables - delimited | Downl= oad these=20 tables - Excel | Download = the full=20 data set

(a) Includes persons reporting only one = race.
(b)=20 Hispanics may be of any race, so also are included in applicable race=20 categories.

D: Suppressed to avoid disclosure of confidential=20 information
F: Fewer than 100 firms
FN: Footnote on this item = for this=20 area in place of data
NA: Not available
S: Suppressed; does not = meet=20 publication standards
X: Not applicable
Z: Value greater than = zero but=20 less than half unit of measure shown

What=20 do you think of QuickFacts?


Source U.S.=20 Census Bureau: State and County QuickFacts. Data derived from Population = Estimates, Census of Population and Housing, Small Area Income and = Poverty=20 Estimates, State and County Housing Unit Estimates, County Business = Patterns,=20 Nonemployer Statistics, Economic Census, Survey of Business Owners, = Building=20 Permits, Consolidated Federal Funds Report
Last=20 Revised: Wednesday, 02-Jan-2008 15:09:05 EST 3D"Skip
------=_NextPart_000_004B_01C880FC.30722500 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://quickfacts.census.gov/qfd/img/cb_head.gif R0lGODlhhQIZAPcAAAApWoWevCdbjcjm5I1+lQBAar3O1lp5lcOmunuOru7//3yatiJRe9fN1ayq v4qktWmDnkhlje/l5ry/zgAqadLc3rnV4babrglKdJCutjFUfL3E1u7x9o+MncuntcSltYOVraKn uk9slAAoY72ltWuOpN/e5gA6bLPD0Fp8okFkjOnj58TO2I2ftaSMpM7X4Pfx9SlEYiBKcty9zMXH 1qaltQoqY9TW4sK0wzpde2yNrFJznP//9hE5bKu2yp21zylTe9a8x/Hv8AFBcQksVO3g57WVrZSr vWJ8nURqjpyEnOXu9wAxc62Vq6rP6s3Z53mNpfj4/wg6a8Wqud/k6M6tvnSSrKadrjJjjFmEpilT g561x3uVtjhghN/H1CFLe////+jS3+fd3gg5ZEprlMXO3aSTpaKWqgYsavf3946EnMTV5VN0k52L o+fw71pxnQAxU+7499e/zfDn7DBahJSmvt3m77W8zr6qtmqDq+bP1xBCc56UrBhKe6y1xgAzZgkw WXOLrVV5m7XF1dW2xb7O3vXv8Q5DY3KMpc60v0NlkgA6ckNqk5Wtxc69x9Ln+N/t8BlBcktxlbWc sVp1k/f//zhcjJ2eskNmhqW8zo2lvQc6c7Sms3qUrWSDn6S1x5yuxMXW3jlchK6rtgAzZubg5Acx Y//395O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aXAz dmCHBmzAoZuEDeTASTC6C6izECSBpRtBEsQzqIs6vOozQiiiqosZJYJBJTKsm8mZMLBBG4wi/vA6 oTkQBEEaSqM0tUu7gAAAOw== ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://quickfacts.census.gov/qfd/img/arrow.gif R0lGODlhEAANAMYAAP///9PT4Pv7+/f39/Dw8N7e3tXV4P39/aenpP///vz8/HJyqd3d3WNjdDo6 aG9vl+vr8lBQjrS0s+Tk4lhYmenp50dHa42Nj9fX4z8/bWVlePj4+IWFifv7+UlJhfv7+EBAbVtb k8LCwv7++nd3rkhId/Ly8k5OiF5enH9/qczM221tqHBwqby8y11dnL29zKampFdXlzs7YsjI2mBg l3FxqsPDwWZmoLS0wlFRkXNzq3Z2rbS0x3Z2rEhIitzc3Pj49/Hx8NTU001Ng2dno5ycntfX5Dw8 ZkZGeO7u7oSEiUFBbufn5pGRuebm5kJCcElJZk5OeWFhn4GBn/r699vb2oODrYiImsPDwv////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////ywA AAAAEAANAAAHgIAAgoOEhYQQM0FUCYaFRgtNL0wfjYMYOyw3Vi1OI4yGBj06KBQxKTwVHQeFATUk UjkRPicPOEkChAErCyFIT0sZIFdVA7lENCVHMlANFxIMxYMBLkMOFg0cCCIFJgqEKh5RGkoIWAUE uIUGU0UwNgwE3o1AE0I/6JWCBxsD6Y2BADs= ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://quickfacts.census.gov/qfd/img/infoicon.gif R0lGODlhDQANANUAAEFcc46kt9Pa4Vp5lJ2yxfL09kxsiGB4jHGGmMzV3Etqhebm5lJ0knKRrJKo u8HM1lqAoGOGpHGPqURherK6wf///1R4llBxjoGVppevw9Hb42CAnOzs7GOMpXWMn1p8mlBthlJ7 nIecrkdkfZuwwtbf50Jjc22KouTp7patwODg4HmLmwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEUAAUALAAAAAANAA0AQAZqwIKw kIlAIqkhEcK0oAoTwERhCGSYzI/ldDFcGAFlYGAArZRLbKOAslgcBSxEW3goRl7L8rMRHqQKIkNX WAQRH3BCcnMkGwwMekZYEkIGVBcbkhAhYR4TUxcfcVkFAgiAF4NaAyCfIxhCQQA7 ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.census.gov/main/www/img/1pixel.gif R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.census.gov/main/www/img/wordmarktl.gif R0lGODlh2QAjAKUAAP///5S9xpy9xmO1zmu1zjGt1gCl3jmt1gil3nu1zkqt1iGl3hil3lKt1oS1 zq29xpylrYSUpVJrhAgxWrW9xpScpSFCaxg5Y0pjhGt7lGNzjDlSezFKcwAhWoSMnDlKc3uEnBgp WmtzjGNrhCExYwgYUgAQSlJahEpSezE5a7W1vaWlra2ttZycrZSUpXt7lHtzlHNrjGtjhDkpYzEh WkIxaykQUlpKc1JCa2NSe5yUpYyElP///////////////yH+Dk1hZGUgd2l0aCBHSU1QACH5BAEA AD8ALAAAAADZACMAAAb+wJ9wSCwaj8ikcslsOp/QqHRKrSYfgQCFqeuqrNRVF0xUuSIssppMEaxZ pvhrKIqjjgfE4GBQIFU5NjcxMjM0O0YKBggFjQUGRiEmH0WSJmlFLDg1MTg2iEUMBn1DAqMMRyIl JyclIUYqNTYzOIY3X0Uoca9DJXGYQwQIBgwFDAwDSIE0OM2eSg0GW0i6JrxCvpdFESYaRSMpRwMI D0IOBUcqNDQrRDkxRwboQ/NFcS72+EabQzLwRvKKBIBkxIUJD0JUmDiiw8a/HTZyHEmxMN+RR0MU OUBiAw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/ABCJjRtifkLAXXiIFkyhAvv5wpBJYJgg80Fp5fuIA3NOBDOYJS r3uM48/+O8chfBS9sZViMpv6T5nGdKZUkSOJE6LDD4+orGu85Ixj5uAWD8ECSGzJilNYV87+eIhr MGEH5QgCpzbSAxzwxl1BIEGADriCLUgjB6BshA7go5y2FeYSy3nh2rbQobL8pX/NecMms6CRmOmA AJPZAhoC1K025W1ATSzQNNTZtU7WgAc6AOWKAmO7DcxAGgH9Zg0U0oIRyGQGfpZOgPZSBXq+8jkp zUSSNTRSqX1NgwlTS1mQfmADVAGBNyYthAwQ1httJYKqeQLKDyQmkbZlYgRAjahSO5EFk00iVc76 T4we2tEQaCEElOrQNYZzbLz+Zxomq0dQjzoNvw72EP773wjQ5tpr5AAG5kBZxZJY1c5uqW3H5moP 8FOL39ujE9AghAsgT356nZ++YZpgJkSxkx5s3wpjuG8wBAEAOw== ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://quickfacts.census.gov/qfd/style.css BODY { MARGIN-TOP: 0px; FONT-SIZE: 90%; COLOR: #000; FONT-FAMILY: Arial, = Helvetica, sans-serif; BACKGROUND-COLOR: #fff } H2 { FONT-SIZE: 110% } H3 { FONT-SIZE: 110% } .wrap { WHITE-SPACE: nowrap } A:hover { COLOR: #933 } HR { COLOR: #036 } IMG { BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: = 0px; BORDER-RIGHT-WIDTH: 0px } TH { BORDER-TOP: #000 1px solid; FONT-SIZE: 80%; FONT-FAMILY: Arial, = Helvetica, sans-serif } TD { FONT-SIZE: 90%; VERTICAL-ALIGN: top; FONT-FAMILY: Arial, Helvetica, = sans-serif } TD.qfnav { PADDING-RIGHT: 3px; BORDER-TOP: #000066 1px solid; PADDING-LEFT: 3px; = FONT-WEIGHT: bold; FONT-SIZE: 90%; BACKGROUND: #fff; PADDING-BOTTOM: = 3px; PADDING-TOP: 3px; TEXT-DECORATION: none } TD.qfnav BR { DISPLAY: none } TD.qfnav A { PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: = 80%; PADDING-BOTTOM: 0px; PADDING-TOP: 2px; TEXT-DECORATION: none } TD.qfnav A:hover { COLOR: #933; TEXT-DECORATION: underline } .smaller { FONT-SIZE: 90% } .state2 { PADDING-TOP: 10px; TEXT-DECORATION: none } .state2 A { TEXT-DECORATION: none } .state2 A:hover { TEXT-DECORATION: none } .state2 A:visited { TEXT-DECORATION: none } .state2 A { COLOR: #00f } .state2 A:visited { COLOR: #909 } .state2 A:hover { COLOR: #933 } .title { PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: = 90%; PADDING-BOTTOM: 5px; PADDING-TOP: 5px } .topline { BORDER-TOP: #006 1px solid; PADDING-TOP: 2px } .up { MARGIN-TOP: 0px } .home_footer { FONT-SIZE: 8pt; PADDING-TOP: 10px; FONT-FAMILY: Helvetica, Arial, = sans-serif } .home_footer A:link { COLOR: #05b; TEXT-DECORATION: underline } .home_footer A:visited { COLOR: #909; TEXT-DECORATION: underline } .home_footer A:hover { COLOR: #900; BACKGROUND-COLOR: #ffffcc } .footnote { FONT-SIZE: 70% } .more { FONT-WEIGHT: bold; BACKGROUND: #ffff99 } .shaded { FONT-WEIGHT: bold; BACKGROUND-COLOR: #e0ecfb } .shaded1 { BACKGROUND-COLOR: #fff } .shaded2 { BACKGROUND-COLOR: #ddd } .spacer { LINE-HEIGHT: 10%; BORDER-BOTTOM: #000 1px dashed; BACKGROUND-COLOR: = #fff } .flush { MARGIN-LEFT: -0.6em } .header { FONT-WEIGHT: bold } .hidden { DISPLAY: none; VISIBILITY: hidden } .indent { MARGIN-LEFT: 1.5em } .loc { FONT-SIZE: 70%; MARGIN-LEFT: 0em } .mybody { FONT-SIZE: 80%; MARGIN-LEFT: 0.6em; BACKGROUND-COLOR: #fff } .outline { BORDER-LEFT-COLOR: #00c; BORDER-BOTTOM-COLOR: #00c; BORDER-TOP-STYLE: = solid; BORDER-TOP-COLOR: #00c; BORDER-RIGHT-STYLE: solid; = BORDER-LEFT-STYLE: solid; BORDER-RIGHT-COLOR: #00c; BORDER-BOTTOM-STYLE: = solid } P.half { LINE-HEIGHT: 60% } .project { BORDER-BOTTOM: #006 2px solid } .project { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: = 80%; BACKGROUND: #e0ecfb; PADDING-BOTTOM: 3px; PADDING-TOP: 3px; = TEXT-DECORATION: none } .project A:link { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: = 80%; BACKGROUND: #e0ecfb; PADDING-BOTTOM: 3px; PADDING-TOP: 3px; = TEXT-DECORATION: none } .project A:visited { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: = 80%; BACKGROUND: #e0ecfb; PADDING-BOTTOM: 3px; PADDING-TOP: 3px; = TEXT-DECORATION: none } .project A:link { COLOR: #000 } .project A:visited { COLOR: #000 } .state { FONT-WEIGHT: bold; FONT-SIZE: 90%; BACKGROUND: #fff; PADDING-TOP: 10px; = TEXT-DECORATION: none } .tagline { COLOR: #933; PADDING-TOP: 5pt; FONT-STYLE: italic } TD.home { FONT-SIZE: 90%; FONT-FAMILY: Arial, Helvetica, sans-serif } TD.indent1 { TEXT-INDENT: 20px } TD.indent2 { TEXT-INDENT: 40px } .ql_header { BORDER-RIGHT: #000 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #000 1px = solid; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 90%; = PADDING-BOTTOM: 4px; BORDER-LEFT: #000 1px solid; WIDTH: 70%; = PADDING-TOP: 4px; BORDER-BOTTOM: #000 1px solid; LETTER-SPACING: 2px; = BACKGROUND-COLOR: #e0ecfb } #masthead { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: = url(img/masthead.jpg) #d2daf4 no-repeat right center; PADDING-BOTTOM: = 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: #036 2px solid; = HEIGHT: 35px } .qf { PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; FONT: bold = 100% Verdana, Helvetica, sans-serif; VERTICAL-ALIGN: middle; = PADDING-TOP: 10px; TEXT-ALIGN: left; TEXT-DECORATION: none } #nav { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: = 0px; MARGIN: 1px 0px 0px; VERTICAL-ALIGN: baseline; WIDTH: 100%; = PADDING-TOP: 1px; HEIGHT: 15px } #nav UL { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: = 0px; BORDER-TOP-STYLE: none; PADDING-TOP: 0px; BORDER-RIGHT-STYLE: none; = BORDER-LEFT-STYLE: none; LIST-STYLE-TYPE: none; BORDER-BOTTOM-STYLE: = none } #nav LI { PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FONT-WEIGHT: = bold; FONT-SIZE: 75%; FLOAT: right; PADDING-BOTTOM: 0px; MARGIN: 0px; = WIDTH: auto; COLOR: #fff; PADDING-TOP: 0px; FONT-FAMILY: Verdana, Arial, = Helvetica, sans-serif; LETTER-SPACING: 0.04em } #nav A { PADDING-RIGHT: 10px; DISPLAY: inline; PADDING-LEFT: 10px; = PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: #036 1px solid; WIDTH: = auto; COLOR: #036; PADDING-TOP: 0px; TEXT-DECORATION: none } #nav A:hover { PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; = BORDER-LEFT: #036 1px solid; COLOR: #933; PADDING-TOP: 0px; = TEXT-DECORATION: underline } #nav LI#first A { FONT-WEIGHT: bold; BORDER-LEFT: #fff 1px solid; COLOR: #036 } #nav LI#first A:hover { BORDER-LEFT: #fff 1px solid; COLOR: #933; TEXT-DECORATION: underline } #nav SPAN { PADDING-RIGHT: 10px; DISPLAY: inline; PADDING-LEFT: 10px; = PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: #036 1px solid; WIDTH: = auto; COLOR: #ccc; PADDING-TOP: 0px; TEXT-DECORATION: none } #nav LI#first SPAN { FONT-WEIGHT: bold; BORDER-LEFT: #fff 1px solid; COLOR: #ccc } DIV#wrapper { BORDER-RIGHT: #194a73 1px dotted; PADDING-RIGHT: 5px; BORDER-TOP: = #194a73 1px dotted; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; MARGIN: 0px = auto 1em; BORDER-LEFT: #194a73 1px dotted; PADDING-TOP: 5px; = BORDER-BOTTOM: #194a73 1px dotted } TABLE.wrapper { FONT-SIZE: 85%; VERTICAL-ALIGN: top; WIDTH: 95%; FONT-FAMILY: Arial, = Helvetica, sans-serif } TD.wrapper { VERTICAL-ALIGN: top; TEXT-ALIGN: left } DIV.shortLayerHide { DISPLAY: none } DIV.boxShow { =09 } DIV.shortLayerDiv { Z-INDEX: 25; BACKGROUND: url(short/popout5.gif) no-repeat; WIDTH: = 235px; POSITION: absolute; HEIGHT: 250px } DIV.pad { PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; = PADDING-TOP: 10px } A.info { Z-INDEX: 29 } DIV.textCan { OVERFLOW-Y: auto; LEFT: 25px; WIDTH: 190px; POSITION: relative; TOP: = 15px; HEIGHT: 210px; TEXT-ALIGN: left } IMG.closeButton { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; Z-INDEX: 28; LEFT: 200px; = PADDING-BOTTOM: 0px; PADDING-TOP: 0px; POSITION: relative; TOP: 10px } DIV { SCROLLBAR-FACE-COLOR: #fff; SCROLLBAR-HIGHLIGHT-COLOR: #fff; = SCROLLBAR-SHADOW-COLOR: #fff; SCROLLBAR-3DLIGHT-COLOR: #fff; = SCROLLBAR-ARROW-COLOR: #fff; SCROLLBAR-DARKSHADOW-COLOR: #000; = SCROLLBAR-BASE-COLOR: #000; scrollbarTrackColor: #FFF } ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://quickfacts.census.gov/qfd/style_print.css BODY { FONT: 10pt Arial, Helvetica, sans-serif; WIDTH: 650px } A { DISPLAY: none } A.yprint { DISPLAY: inline } HR { COLOR: #000 } IMG { DISPLAY: none } IMG.yprint { DISPLAY: inline } .locator { DISPLAY: inline } .noprint { DISPLAY: none } TABLE { FONT-FAMILY: Arial, Helvetica, sans-serif } TH { FONT-SIZE: 10pt } TD { FONT-SIZE: 10pt } TD { BORDER-BOTTOM: #ddd 1px solid } .qfnav { DISPLAY: none } TD.qfnav { DISPLAY: none } TD.qfnav BR { DISPLAY: none } TD.qfnav A { DISPLAY: none } TD.qfnav A:hover { DISPLAY: none } .smaller { DISPLAY: none } .state2 { DISPLAY: none } .state2 A { DISPLAY: none } .state2 A:hover { DISPLAY: none } .state2 A:visited { DISPLAY: none } .title { PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: = 16pt; PADDING-BOTTOM: 5px; PADDING-TOP: 5px } .up { MARGIN-TOP: -7px } .footnote { FONT-SIZE: 8pt } .more { FONT-WEIGHT: bold; BACKGROUND: #ffff99 } .shaded { BORDER-BOTTOM: #000 2px solid } .shaded1 { BACKGROUND-COLOR: transparent } .shaded2 { BACKGROUND-COLOR: transparent } .spacer { LINE-HEIGHT: 10%; BORDER-BOTTOM: #000 1px dashed; BACKGROUND-COLOR: = #fff } DIV#cb_footer { DISPLAY: none } .textCan { DISPLAY: none } .shortLayerDiv { DISPLAY: none } .header { FONT-WEIGHT: bold } .hidden { DISPLAY: none; VISIBILITY: hidden } .indent { MARGIN-LEFT: 1.5em } .loc { FONT-SIZE: 8pt; MARGIN-LEFT: 0em } .mybody { MARGIN-LEFT: 0.6em } .state { DISPLAY: none } .tagline { COLOR: #000 } .ten { FONT-SIZE: 10pt } TD.home { FONT-SIZE: 9pt; FONT-FAMILY: Arial, Helvetica, sans-serif } TD.indent1 { TEXT-INDENT: 20px } TD.indent2 { TEXT-INDENT: 40px } TD.noprint { DISPLAY: none } ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://quickfacts.census.gov/qfd/scripts/prototype.js /* Prototype JavaScript framework, version 1.5.1.1=0A= * (c) 2005-2007 Sam Stephenson=0A= *=0A= * Prototype is freely distributable under the terms of an MIT-style = license.=0A= * For details, see the Prototype web site: http://www.prototypejs.org/=0A= *=0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= var Prototype =3D {=0A= Version: '1.5.1.1',=0A= =0A= Browser: {=0A= IE: !!(window.attachEvent && !window.opera),=0A= Opera: !!window.opera,=0A= WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,=0A= Gecko: navigator.userAgent.indexOf('Gecko') > -1 && = navigator.userAgent.indexOf('KHTML') =3D=3D -1=0A= },=0A= =0A= BrowserFeatures: {=0A= XPath: !!document.evaluate,=0A= ElementExtensions: !!window.HTMLElement,=0A= SpecificElementExtensions:=0A= (document.createElement('div').__proto__ !=3D=3D=0A= document.createElement('form').__proto__)=0A= },=0A= =0A= ScriptFragment: ']*>([\\S\\s]*?)<\/script>',=0A= JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/,=0A= =0A= emptyFunction: function() { },=0A= K: function(x) { return x }=0A= }=0A= =0A= var Class =3D {=0A= create: function() {=0A= return function() {=0A= this.initialize.apply(this, arguments);=0A= }=0A= }=0A= }=0A= =0A= var Abstract =3D new Object();=0A= =0A= Object.extend =3D function(destination, source) {=0A= for (var property in source) {=0A= destination[property] =3D source[property];=0A= }=0A= return destination;=0A= }=0A= =0A= Object.extend(Object, {=0A= inspect: function(object) {=0A= try {=0A= if (object =3D=3D=3D undefined) return 'undefined';=0A= if (object =3D=3D=3D null) return 'null';=0A= return object.inspect ? object.inspect() : object.toString();=0A= } catch (e) {=0A= if (e instanceof RangeError) return '...';=0A= throw e;=0A= }=0A= },=0A= =0A= toJSON: function(object) {=0A= var type =3D typeof object;=0A= switch(type) {=0A= case 'undefined':=0A= case 'function':=0A= case 'unknown': return;=0A= case 'boolean': return object.toString();=0A= }=0A= if (object =3D=3D=3D null) return 'null';=0A= if (object.toJSON) return object.toJSON();=0A= if (object.ownerDocument =3D=3D=3D document) return;=0A= var results =3D [];=0A= for (var property in object) {=0A= var value =3D Object.toJSON(object[property]);=0A= if (value !=3D=3D undefined)=0A= results.push(property.toJSON() + ': ' + value);=0A= }=0A= return '{' + results.join(', ') + '}';=0A= },=0A= =0A= keys: function(object) {=0A= var keys =3D [];=0A= for (var property in object)=0A= keys.push(property);=0A= return keys;=0A= },=0A= =0A= values: function(object) {=0A= var values =3D [];=0A= for (var property in object)=0A= values.push(object[property]);=0A= return values;=0A= },=0A= =0A= clone: function(object) {=0A= return Object.extend({}, object);=0A= }=0A= });=0A= =0A= Function.prototype.bind =3D function() {=0A= var __method =3D this, args =3D $A(arguments), object =3D args.shift();=0A= return function() {=0A= return __method.apply(object, args.concat($A(arguments)));=0A= }=0A= }=0A= =0A= Function.prototype.bindAsEventListener =3D function(object) {=0A= var __method =3D this, args =3D $A(arguments), object =3D args.shift();=0A= return function(event) {=0A= return __method.apply(object, [event || window.event].concat(args));=0A= }=0A= }=0A= =0A= Object.extend(Number.prototype, {=0A= toColorPart: function() {=0A= return this.toPaddedString(2, 16);=0A= },=0A= =0A= succ: function() {=0A= return this + 1;=0A= },=0A= =0A= times: function(iterator) {=0A= $R(0, this, true).each(iterator);=0A= return this;=0A= },=0A= =0A= toPaddedString: function(length, radix) {=0A= var string =3D this.toString(radix || 10);=0A= return '0'.times(length - string.length) + string;=0A= },=0A= =0A= toJSON: function() {=0A= return isFinite(this) ? this.toString() : 'null';=0A= }=0A= });=0A= =0A= Date.prototype.toJSON =3D function() {=0A= return '"' + this.getFullYear() + '-' +=0A= (this.getMonth() + 1).toPaddedString(2) + '-' +=0A= this.getDate().toPaddedString(2) + 'T' +=0A= this.getHours().toPaddedString(2) + ':' +=0A= this.getMinutes().toPaddedString(2) + ':' +=0A= this.getSeconds().toPaddedString(2) + '"';=0A= };=0A= =0A= var Try =3D {=0A= these: function() {=0A= var returnValue;=0A= =0A= for (var i =3D 0, length =3D arguments.length; i < length; i++) {=0A= var lambda =3D arguments[i];=0A= try {=0A= returnValue =3D lambda();=0A= break;=0A= } catch (e) {}=0A= }=0A= =0A= return returnValue;=0A= }=0A= }=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= var PeriodicalExecuter =3D Class.create();=0A= PeriodicalExecuter.prototype =3D {=0A= initialize: function(callback, frequency) {=0A= this.callback =3D callback;=0A= this.frequency =3D frequency;=0A= this.currentlyExecuting =3D false;=0A= =0A= this.registerCallback();=0A= },=0A= =0A= registerCallback: function() {=0A= this.timer =3D setInterval(this.onTimerEvent.bind(this), = this.frequency * 1000);=0A= },=0A= =0A= stop: function() {=0A= if (!this.timer) return;=0A= clearInterval(this.timer);=0A= this.timer =3D null;=0A= },=0A= =0A= onTimerEvent: function() {=0A= if (!this.currentlyExecuting) {=0A= try {=0A= this.currentlyExecuting =3D true;=0A= this.callback(this);=0A= } finally {=0A= this.currentlyExecuting =3D false;=0A= }=0A= }=0A= }=0A= }=0A= Object.extend(String, {=0A= interpret: function(value) {=0A= return value =3D=3D null ? '' : String(value);=0A= },=0A= specialChar: {=0A= '\b': '\\b',=0A= '\t': '\\t',=0A= '\n': '\\n',=0A= '\f': '\\f',=0A= '\r': '\\r',=0A= '\\': '\\\\'=0A= }=0A= });=0A= =0A= Object.extend(String.prototype, {=0A= gsub: function(pattern, replacement) {=0A= var result =3D '', source =3D this, match;=0A= replacement =3D arguments.callee.prepareReplacement(replacement);=0A= =0A= while (source.length > 0) {=0A= if (match =3D source.match(pattern)) {=0A= result +=3D source.slice(0, match.index);=0A= result +=3D String.interpret(replacement(match));=0A= source =3D source.slice(match.index + match[0].length);=0A= } else {=0A= result +=3D source, source =3D '';=0A= }=0A= }=0A= return result;=0A= },=0A= =0A= sub: function(pattern, replacement, count) {=0A= replacement =3D this.gsub.prepareReplacement(replacement);=0A= count =3D count =3D=3D=3D undefined ? 1 : count;=0A= =0A= return this.gsub(pattern, function(match) {=0A= if (--count < 0) return match[0];=0A= return replacement(match);=0A= });=0A= },=0A= =0A= scan: function(pattern, iterator) {=0A= this.gsub(pattern, iterator);=0A= return this;=0A= },=0A= =0A= truncate: function(length, truncation) {=0A= length =3D length || 30;=0A= truncation =3D truncation =3D=3D=3D undefined ? '...' : truncation;=0A= return this.length > length ?=0A= this.slice(0, length - truncation.length) + truncation : this;=0A= },=0A= =0A= strip: function() {=0A= return this.replace(/^\s+/, '').replace(/\s+$/, '');=0A= },=0A= =0A= stripTags: function() {=0A= return this.replace(/<\/?[^>]+>/gi, '');=0A= },=0A= =0A= stripScripts: function() {=0A= return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');=0A= },=0A= =0A= extractScripts: function() {=0A= var matchAll =3D new RegExp(Prototype.ScriptFragment, 'img');=0A= var matchOne =3D new RegExp(Prototype.ScriptFragment, 'im');=0A= return (this.match(matchAll) || []).map(function(scriptTag) {=0A= return (scriptTag.match(matchOne) || ['', ''])[1];=0A= });=0A= },=0A= =0A= evalScripts: function() {=0A= return this.extractScripts().map(function(script) { return = eval(script) });=0A= },=0A= =0A= escapeHTML: function() {=0A= var self =3D arguments.callee;=0A= self.text.data =3D this;=0A= return self.div.innerHTML;=0A= },=0A= =0A= unescapeHTML: function() {=0A= var div =3D document.createElement('div');=0A= div.innerHTML =3D this.stripTags();=0A= return div.childNodes[0] ? (div.childNodes.length > 1 ?=0A= $A(div.childNodes).inject('', function(memo, node) { return = memo+node.nodeValue }) :=0A= div.childNodes[0].nodeValue) : '';=0A= },=0A= =0A= toQueryParams: function(separator) {=0A= var match =3D this.strip().match(/([^?#]*)(#.*)?$/);=0A= if (!match) return {};=0A= =0A= return match[1].split(separator || '&').inject({}, function(hash, = pair) {=0A= if ((pair =3D pair.split('=3D'))[0]) {=0A= var key =3D decodeURIComponent(pair.shift());=0A= var value =3D pair.length > 1 ? pair.join('=3D') : pair[0];=0A= if (value !=3D undefined) value =3D decodeURIComponent(value);=0A= =0A= if (key in hash) {=0A= if (hash[key].constructor !=3D Array) hash[key] =3D = [hash[key]];=0A= hash[key].push(value);=0A= }=0A= else hash[key] =3D value;=0A= }=0A= return hash;=0A= });=0A= },=0A= =0A= toArray: function() {=0A= return this.split('');=0A= },=0A= =0A= succ: function() {=0A= return this.slice(0, this.length - 1) +=0A= String.fromCharCode(this.charCodeAt(this.length - 1) + 1);=0A= },=0A= =0A= times: function(count) {=0A= var result =3D '';=0A= for (var i =3D 0; i < count; i++) result +=3D this;=0A= return result;=0A= },=0A= =0A= camelize: function() {=0A= var parts =3D this.split('-'), len =3D parts.length;=0A= if (len =3D=3D 1) return parts[0];=0A= =0A= var camelized =3D this.charAt(0) =3D=3D '-'=0A= ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)=0A= : parts[0];=0A= =0A= for (var i =3D 1; i < len; i++)=0A= camelized +=3D parts[i].charAt(0).toUpperCase() + = parts[i].substring(1);=0A= =0A= return camelized;=0A= },=0A= =0A= capitalize: function() {=0A= return this.charAt(0).toUpperCase() + = this.substring(1).toLowerCase();=0A= },=0A= =0A= underscore: function() {=0A= return this.gsub(/::/, = '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{= 1}_#{2}').gsub(/-/,'_').toLowerCase();=0A= },=0A= =0A= dasherize: function() {=0A= return this.gsub(/_/,'-');=0A= },=0A= =0A= inspect: function(useDoubleQuotes) {=0A= var escapedString =3D this.gsub(/[\x00-\x1f\\]/, function(match) {=0A= var character =3D String.specialChar[match[0]];=0A= return character ? character : '\\u00' + = match[0].charCodeAt().toPaddedString(2, 16);=0A= });=0A= if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') = + '"';=0A= return "'" + escapedString.replace(/'/g, '\\\'') + "'";=0A= },=0A= =0A= toJSON: function() {=0A= return this.inspect(true);=0A= },=0A= =0A= unfilterJSON: function(filter) {=0A= return this.sub(filter || Prototype.JSONFilter, '#{1}');=0A= },=0A= =0A= isJSON: function() {=0A= var str =3D this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');=0A= return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);=0A= },=0A= =0A= evalJSON: function(sanitize) {=0A= var json =3D this.unfilterJSON();=0A= try {=0A= if (!sanitize || json.isJSON()) return eval('(' + json + ')');=0A= } catch (e) { }=0A= throw new SyntaxError('Badly formed JSON string: ' + this.inspect());=0A= },=0A= =0A= include: function(pattern) {=0A= return this.indexOf(pattern) > -1;=0A= },=0A= =0A= startsWith: function(pattern) {=0A= return this.indexOf(pattern) =3D=3D=3D 0;=0A= },=0A= =0A= endsWith: function(pattern) {=0A= var d =3D this.length - pattern.length;=0A= return d >=3D 0 && this.lastIndexOf(pattern) =3D=3D=3D d;=0A= },=0A= =0A= empty: function() {=0A= return this =3D=3D '';=0A= },=0A= =0A= blank: function() {=0A= return /^\s*$/.test(this);=0A= }=0A= });=0A= =0A= if (Prototype.Browser.WebKit || Prototype.Browser.IE) = Object.extend(String.prototype, {=0A= escapeHTML: function() {=0A= return = this.replace(/&/g,'&').replace(//g,'>');=0A= },=0A= unescapeHTML: function() {=0A= return = this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');=0A= }=0A= });=0A= =0A= String.prototype.gsub.prepareReplacement =3D function(replacement) {=0A= if (typeof replacement =3D=3D 'function') return replacement;=0A= var template =3D new Template(replacement);=0A= return function(match) { return template.evaluate(match) };=0A= }=0A= =0A= String.prototype.parseQuery =3D String.prototype.toQueryParams;=0A= =0A= Object.extend(String.prototype.escapeHTML, {=0A= div: document.createElement('div'),=0A= text: document.createTextNode('')=0A= });=0A= =0A= with (String.prototype.escapeHTML) div.appendChild(text);=0A= =0A= var Template =3D Class.create();=0A= Template.Pattern =3D /(^|.|\r|\n)(#\{(.*?)\})/;=0A= Template.prototype =3D {=0A= initialize: function(template, pattern) {=0A= this.template =3D template.toString();=0A= this.pattern =3D pattern || Template.Pattern;=0A= },=0A= =0A= evaluate: function(object) {=0A= return this.template.gsub(this.pattern, function(match) {=0A= var before =3D match[1];=0A= if (before =3D=3D '\\') return match[2];=0A= return before + String.interpret(object[match[3]]);=0A= });=0A= }=0A= }=0A= =0A= var $break =3D {}, $continue =3D new Error('"throw $continue" is = deprecated, use "return" instead');=0A= =0A= var Enumerable =3D {=0A= each: function(iterator) {=0A= var index =3D 0;=0A= try {=0A= this._each(function(value) {=0A= iterator(value, index++);=0A= });=0A= } catch (e) {=0A= if (e !=3D $break) throw e;=0A= }=0A= return this;=0A= },=0A= =0A= eachSlice: function(number, iterator) {=0A= var index =3D -number, slices =3D [], array =3D this.toArray();=0A= while ((index +=3D number) < array.length)=0A= slices.push(array.slice(index, index+number));=0A= return slices.map(iterator);=0A= },=0A= =0A= all: function(iterator) {=0A= var result =3D true;=0A= this.each(function(value, index) {=0A= result =3D result && !!(iterator || Prototype.K)(value, index);=0A= if (!result) throw $break;=0A= });=0A= return result;=0A= },=0A= =0A= any: function(iterator) {=0A= var result =3D false;=0A= this.each(function(value, index) {=0A= if (result =3D !!(iterator || Prototype.K)(value, index))=0A= throw $break;=0A= });=0A= return result;=0A= },=0A= =0A= collect: function(iterator) {=0A= var results =3D [];=0A= this.each(function(value, index) {=0A= results.push((iterator || Prototype.K)(value, index));=0A= });=0A= return results;=0A= },=0A= =0A= detect: function(iterator) {=0A= var result;=0A= this.each(function(value, index) {=0A= if (iterator(value, index)) {=0A= result =3D value;=0A= throw $break;=0A= }=0A= });=0A= return result;=0A= },=0A= =0A= findAll: function(iterator) {=0A= var results =3D [];=0A= this.each(function(value, index) {=0A= if (iterator(value, index))=0A= results.push(value);=0A= });=0A= return results;=0A= },=0A= =0A= grep: function(pattern, iterator) {=0A= var results =3D [];=0A= this.each(function(value, index) {=0A= var stringValue =3D value.toString();=0A= if (stringValue.match(pattern))=0A= results.push((iterator || Prototype.K)(value, index));=0A= })=0A= return results;=0A= },=0A= =0A= include: function(object) {=0A= var found =3D false;=0A= this.each(function(value) {=0A= if (value =3D=3D object) {=0A= found =3D true;=0A= throw $break;=0A= }=0A= });=0A= return found;=0A= },=0A= =0A= inGroupsOf: function(number, fillWith) {=0A= fillWith =3D fillWith =3D=3D=3D undefined ? null : fillWith;=0A= return this.eachSlice(number, function(slice) {=0A= while(slice.length < number) slice.push(fillWith);=0A= return slice;=0A= });=0A= },=0A= =0A= inject: function(memo, iterator) {=0A= this.each(function(value, index) {=0A= memo =3D iterator(memo, value, index);=0A= });=0A= return memo;=0A= },=0A= =0A= invoke: function(method) {=0A= var args =3D $A(arguments).slice(1);=0A= return this.map(function(value) {=0A= return value[method].apply(value, args);=0A= });=0A= },=0A= =0A= max: function(iterator) {=0A= var result;=0A= this.each(function(value, index) {=0A= value =3D (iterator || Prototype.K)(value, index);=0A= if (result =3D=3D undefined || value >=3D result)=0A= result =3D value;=0A= });=0A= return result;=0A= },=0A= =0A= min: function(iterator) {=0A= var result;=0A= this.each(function(value, index) {=0A= value =3D (iterator || Prototype.K)(value, index);=0A= if (result =3D=3D undefined || value < result)=0A= result =3D value;=0A= });=0A= return result;=0A= },=0A= =0A= partition: function(iterator) {=0A= var trues =3D [], falses =3D [];=0A= this.each(function(value, index) {=0A= ((iterator || Prototype.K)(value, index) ?=0A= trues : falses).push(value);=0A= });=0A= return [trues, falses];=0A= },=0A= =0A= pluck: function(property) {=0A= var results =3D [];=0A= this.each(function(value, index) {=0A= results.push(value[property]);=0A= });=0A= return results;=0A= },=0A= =0A= reject: function(iterator) {=0A= var results =3D [];=0A= this.each(function(value, index) {=0A= if (!iterator(value, index))=0A= results.push(value);=0A= });=0A= return results;=0A= },=0A= =0A= sortBy: function(iterator) {=0A= return this.map(function(value, index) {=0A= return {value: value, criteria: iterator(value, index)};=0A= }).sort(function(left, right) {=0A= var a =3D left.criteria, b =3D right.criteria;=0A= return a < b ? -1 : a > b ? 1 : 0;=0A= }).pluck('value');=0A= },=0A= =0A= toArray: function() {=0A= return this.map();=0A= },=0A= =0A= zip: function() {=0A= var iterator =3D Prototype.K, args =3D $A(arguments);=0A= if (typeof args.last() =3D=3D 'function')=0A= iterator =3D args.pop();=0A= =0A= var collections =3D [this].concat(args).map($A);=0A= return this.map(function(value, index) {=0A= return iterator(collections.pluck(index));=0A= });=0A= },=0A= =0A= size: function() {=0A= return this.toArray().length;=0A= },=0A= =0A= inspect: function() {=0A= return '#';=0A= }=0A= }=0A= =0A= Object.extend(Enumerable, {=0A= map: Enumerable.collect,=0A= find: Enumerable.detect,=0A= select: Enumerable.findAll,=0A= member: Enumerable.include,=0A= entries: Enumerable.toArray=0A= });=0A= var $A =3D Array.from =3D function(iterable) {=0A= if (!iterable) return [];=0A= if (iterable.toArray) {=0A= return iterable.toArray();=0A= } else {=0A= var results =3D [];=0A= for (var i =3D 0, length =3D iterable.length; i < length; i++)=0A= results.push(iterable[i]);=0A= return results;=0A= }=0A= }=0A= =0A= if (Prototype.Browser.WebKit) {=0A= $A =3D Array.from =3D function(iterable) {=0A= if (!iterable) return [];=0A= if (!(typeof iterable =3D=3D 'function' && iterable =3D=3D '[object = NodeList]') &&=0A= iterable.toArray) {=0A= return iterable.toArray();=0A= } else {=0A= var results =3D [];=0A= for (var i =3D 0, length =3D iterable.length; i < length; i++)=0A= results.push(iterable[i]);=0A= return results;=0A= }=0A= }=0A= }=0A= =0A= Object.extend(Array.prototype, Enumerable);=0A= =0A= if (!Array.prototype._reverse)=0A= Array.prototype._reverse =3D Array.prototype.reverse;=0A= =0A= Object.extend(Array.prototype, {=0A= _each: function(iterator) {=0A= for (var i =3D 0, length =3D this.length; i < length; i++)=0A= iterator(this[i]);=0A= },=0A= =0A= clear: function() {=0A= this.length =3D 0;=0A= return this;=0A= },=0A= =0A= first: function() {=0A= return this[0];=0A= },=0A= =0A= last: function() {=0A= return this[this.length - 1];=0A= },=0A= =0A= compact: function() {=0A= return this.select(function(value) {=0A= return value !=3D null;=0A= });=0A= },=0A= =0A= flatten: function() {=0A= return this.inject([], function(array, value) {=0A= return array.concat(value && value.constructor =3D=3D Array ?=0A= value.flatten() : [value]);=0A= });=0A= },=0A= =0A= without: function() {=0A= var values =3D $A(arguments);=0A= return this.select(function(value) {=0A= return !values.include(value);=0A= });=0A= },=0A= =0A= indexOf: function(object) {=0A= for (var i =3D 0, length =3D this.length; i < length; i++)=0A= if (this[i] =3D=3D object) return i;=0A= return -1;=0A= },=0A= =0A= reverse: function(inline) {=0A= return (inline !=3D=3D false ? this : this.toArray())._reverse();=0A= },=0A= =0A= reduce: function() {=0A= return this.length > 1 ? this : this[0];=0A= },=0A= =0A= uniq: function(sorted) {=0A= return this.inject([], function(array, value, index) {=0A= if (0 =3D=3D index || (sorted ? array.last() !=3D value : = !array.include(value)))=0A= array.push(value);=0A= return array;=0A= });=0A= },=0A= =0A= clone: function() {=0A= return [].concat(this);=0A= },=0A= =0A= size: function() {=0A= return this.length;=0A= },=0A= =0A= inspect: function() {=0A= return '[' + this.map(Object.inspect).join(', ') + ']';=0A= },=0A= =0A= toJSON: function() {=0A= var results =3D [];=0A= this.each(function(object) {=0A= var value =3D Object.toJSON(object);=0A= if (value !=3D=3D undefined) results.push(value);=0A= });=0A= return '[' + results.join(', ') + ']';=0A= }=0A= });=0A= =0A= Array.prototype.toArray =3D Array.prototype.clone;=0A= =0A= function $w(string) {=0A= string =3D string.strip();=0A= return string ? string.split(/\s+/) : [];=0A= }=0A= =0A= if (Prototype.Browser.Opera){=0A= Array.prototype.concat =3D function() {=0A= var array =3D [];=0A= for (var i =3D 0, length =3D this.length; i < length; i++) = array.push(this[i]);=0A= for (var i =3D 0, length =3D arguments.length; i < length; i++) {=0A= if (arguments[i].constructor =3D=3D Array) {=0A= for (var j =3D 0, arrayLength =3D arguments[i].length; j < = arrayLength; j++)=0A= array.push(arguments[i][j]);=0A= } else {=0A= array.push(arguments[i]);=0A= }=0A= }=0A= return array;=0A= }=0A= }=0A= var Hash =3D function(object) {=0A= if (object instanceof Hash) this.merge(object);=0A= else Object.extend(this, object || {});=0A= };=0A= =0A= Object.extend(Hash, {=0A= toQueryString: function(obj) {=0A= var parts =3D [];=0A= parts.add =3D arguments.callee.addPair;=0A= =0A= this.prototype._each.call(obj, function(pair) {=0A= if (!pair.key) return;=0A= var value =3D pair.value;=0A= =0A= if (value && typeof value =3D=3D 'object') {=0A= if (value.constructor =3D=3D Array) value.each(function(value) {=0A= parts.add(pair.key, value);=0A= });=0A= return;=0A= }=0A= parts.add(pair.key, value);=0A= });=0A= =0A= return parts.join('&');=0A= },=0A= =0A= toJSON: function(object) {=0A= var results =3D [];=0A= this.prototype._each.call(object, function(pair) {=0A= var value =3D Object.toJSON(pair.value);=0A= if (value !=3D=3D undefined) results.push(pair.key.toJSON() + ': ' = + value);=0A= });=0A= return '{' + results.join(', ') + '}';=0A= }=0A= });=0A= =0A= Hash.toQueryString.addPair =3D function(key, value, prefix) {=0A= key =3D encodeURIComponent(key);=0A= if (value =3D=3D=3D undefined) this.push(key);=0A= else this.push(key + '=3D' + (value =3D=3D null ? '' : = encodeURIComponent(value)));=0A= }=0A= =0A= Object.extend(Hash.prototype, Enumerable);=0A= Object.extend(Hash.prototype, {=0A= _each: function(iterator) {=0A= for (var key in this) {=0A= var value =3D this[key];=0A= if (value && value =3D=3D Hash.prototype[key]) continue;=0A= =0A= var pair =3D [key, value];=0A= pair.key =3D key;=0A= pair.value =3D value;=0A= iterator(pair);=0A= }=0A= },=0A= =0A= keys: function() {=0A= return this.pluck('key');=0A= },=0A= =0A= values: function() {=0A= return this.pluck('value');=0A= },=0A= =0A= merge: function(hash) {=0A= return $H(hash).inject(this, function(mergedHash, pair) {=0A= mergedHash[pair.key] =3D pair.value;=0A= return mergedHash;=0A= });=0A= },=0A= =0A= remove: function() {=0A= var result;=0A= for(var i =3D 0, length =3D arguments.length; i < length; i++) {=0A= var value =3D this[arguments[i]];=0A= if (value !=3D=3D undefined){=0A= if (result =3D=3D=3D undefined) result =3D value;=0A= else {=0A= if (result.constructor !=3D Array) result =3D [result];=0A= result.push(value)=0A= }=0A= }=0A= delete this[arguments[i]];=0A= }=0A= return result;=0A= },=0A= =0A= toQueryString: function() {=0A= return Hash.toQueryString(this);=0A= },=0A= =0A= inspect: function() {=0A= return '#';=0A= },=0A= =0A= toJSON: function() {=0A= return Hash.toJSON(this);=0A= }=0A= });=0A= =0A= function $H(object) {=0A= if (object instanceof Hash) return object;=0A= return new Hash(object);=0A= };=0A= =0A= // Safari iterates over shadowed properties=0A= if (function() {=0A= var i =3D 0, Test =3D function(value) { this.key =3D value };=0A= Test.prototype.key =3D 'foo';=0A= for (var property in new Test('bar')) i++;=0A= return i > 1;=0A= }()) Hash.prototype._each =3D function(iterator) {=0A= var cache =3D [];=0A= for (var key in this) {=0A= var value =3D this[key];=0A= if ((value && value =3D=3D Hash.prototype[key]) || = cache.include(key)) continue;=0A= cache.push(key);=0A= var pair =3D [key, value];=0A= pair.key =3D key;=0A= pair.value =3D value;=0A= iterator(pair);=0A= }=0A= };=0A= ObjectRange =3D Class.create();=0A= Object.extend(ObjectRange.prototype, Enumerable);=0A= Object.extend(ObjectRange.prototype, {=0A= initialize: function(start, end, exclusive) {=0A= this.start =3D start;=0A= this.end =3D end;=0A= this.exclusive =3D exclusive;=0A= },=0A= =0A= _each: function(iterator) {=0A= var value =3D this.start;=0A= while (this.include(value)) {=0A= iterator(value);=0A= value =3D value.succ();=0A= }=0A= },=0A= =0A= include: function(value) {=0A= if (value < this.start)=0A= return false;=0A= if (this.exclusive)=0A= return value < this.end;=0A= return value <=3D this.end;=0A= }=0A= });=0A= =0A= var $R =3D function(start, end, exclusive) {=0A= return new ObjectRange(start, end, exclusive);=0A= }=0A= =0A= var Ajax =3D {=0A= getTransport: function() {=0A= return Try.these(=0A= function() {return new XMLHttpRequest()},=0A= function() {return new ActiveXObject('Msxml2.XMLHTTP')},=0A= function() {return new ActiveXObject('Microsoft.XMLHTTP')}=0A= ) || false;=0A= },=0A= =0A= activeRequestCount: 0=0A= }=0A= =0A= Ajax.Responders =3D {=0A= responders: [],=0A= =0A= _each: function(iterator) {=0A= this.responders._each(iterator);=0A= },=0A= =0A= register: function(responder) {=0A= if (!this.include(responder))=0A= this.responders.push(responder);=0A= },=0A= =0A= unregister: function(responder) {=0A= this.responders =3D this.responders.without(responder);=0A= },=0A= =0A= dispatch: function(callback, request, transport, json) {=0A= this.each(function(responder) {=0A= if (typeof responder[callback] =3D=3D 'function') {=0A= try {=0A= responder[callback].apply(responder, [request, transport, = json]);=0A= } catch (e) {}=0A= }=0A= });=0A= }=0A= };=0A= =0A= Object.extend(Ajax.Responders, Enumerable);=0A= =0A= Ajax.Responders.register({=0A= onCreate: function() {=0A= Ajax.activeRequestCount++;=0A= },=0A= onComplete: function() {=0A= Ajax.activeRequestCount--;=0A= }=0A= });=0A= =0A= Ajax.Base =3D function() {};=0A= Ajax.Base.prototype =3D {=0A= setOptions: function(options) {=0A= this.options =3D {=0A= method: 'post',=0A= asynchronous: true,=0A= contentType: 'application/x-www-form-urlencoded',=0A= encoding: 'UTF-8',=0A= parameters: ''=0A= }=0A= Object.extend(this.options, options || {});=0A= =0A= this.options.method =3D this.options.method.toLowerCase();=0A= if (typeof this.options.parameters =3D=3D 'string')=0A= this.options.parameters =3D = this.options.parameters.toQueryParams();=0A= }=0A= }=0A= =0A= Ajax.Request =3D Class.create();=0A= Ajax.Request.Events =3D=0A= ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];=0A= =0A= Ajax.Request.prototype =3D Object.extend(new Ajax.Base(), {=0A= _complete: false,=0A= =0A= initialize: function(url, options) {=0A= this.transport =3D Ajax.getTransport();=0A= this.setOptions(options);=0A= this.request(url);=0A= },=0A= =0A= request: function(url) {=0A= this.url =3D url;=0A= this.method =3D this.options.method;=0A= var params =3D Object.clone(this.options.parameters);=0A= =0A= if (!['get', 'post'].include(this.method)) {=0A= // simulate other verbs over post=0A= params['_method'] =3D this.method;=0A= this.method =3D 'post';=0A= }=0A= =0A= this.parameters =3D params;=0A= =0A= if (params =3D Hash.toQueryString(params)) {=0A= // when GET, append parameters to URL=0A= if (this.method =3D=3D 'get')=0A= this.url +=3D (this.url.include('?') ? '&' : '?') + params;=0A= else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))=0A= params +=3D '&_=3D';=0A= }=0A= =0A= try {=0A= if (this.options.onCreate) this.options.onCreate(this.transport);=0A= Ajax.Responders.dispatch('onCreate', this, this.transport);=0A= =0A= this.transport.open(this.method.toUpperCase(), this.url,=0A= this.options.asynchronous);=0A= =0A= if (this.options.asynchronous)=0A= setTimeout(function() { this.respondToReadyState(1) = }.bind(this), 10);=0A= =0A= this.transport.onreadystatechange =3D = this.onStateChange.bind(this);=0A= this.setRequestHeaders();=0A= =0A= this.body =3D this.method =3D=3D 'post' ? (this.options.postBody = || params) : null;=0A= this.transport.send(this.body);=0A= =0A= /* Force Firefox to handle ready state 4 for synchronous requests = */=0A= if (!this.options.asynchronous && this.transport.overrideMimeType)=0A= this.onStateChange();=0A= =0A= }=0A= catch (e) {=0A= this.dispatchException(e);=0A= }=0A= },=0A= =0A= onStateChange: function() {=0A= var readyState =3D this.transport.readyState;=0A= if (readyState > 1 && !((readyState =3D=3D 4) && this._complete))=0A= this.respondToReadyState(this.transport.readyState);=0A= },=0A= =0A= setRequestHeaders: function() {=0A= var headers =3D {=0A= 'X-Requested-With': 'XMLHttpRequest',=0A= 'X-Prototype-Version': Prototype.Version,=0A= 'Accept': 'text/javascript, text/html, application/xml, text/xml, = */*'=0A= };=0A= =0A= if (this.method =3D=3D 'post') {=0A= headers['Content-type'] =3D this.options.contentType +=0A= (this.options.encoding ? '; charset=3D' + this.options.encoding = : '');=0A= =0A= /* Force "Connection: close" for older Mozilla browsers to work=0A= * around a bug where XMLHttpRequest sends an incorrect=0A= * Content-length header. See Mozilla Bugzilla #246651.=0A= */=0A= if (this.transport.overrideMimeType &&=0A= (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < = 2005)=0A= headers['Connection'] =3D 'close';=0A= }=0A= =0A= // user-defined headers=0A= if (typeof this.options.requestHeaders =3D=3D 'object') {=0A= var extras =3D this.options.requestHeaders;=0A= =0A= if (typeof extras.push =3D=3D 'function')=0A= for (var i =3D 0, length =3D extras.length; i < length; i +=3D 2)=0A= headers[extras[i]] =3D extras[i+1];=0A= else=0A= $H(extras).each(function(pair) { headers[pair.key] =3D = pair.value });=0A= }=0A= =0A= for (var name in headers)=0A= this.transport.setRequestHeader(name, headers[name]);=0A= },=0A= =0A= success: function() {=0A= return !this.transport.status=0A= || (this.transport.status >=3D 200 && this.transport.status < = 300);=0A= },=0A= =0A= respondToReadyState: function(readyState) {=0A= var state =3D Ajax.Request.Events[readyState];=0A= var transport =3D this.transport, json =3D this.evalJSON();=0A= =0A= if (state =3D=3D 'Complete') {=0A= try {=0A= this._complete =3D true;=0A= (this.options['on' + this.transport.status]=0A= || this.options['on' + (this.success() ? 'Success' : 'Failure')]=0A= || Prototype.emptyFunction)(transport, json);=0A= } catch (e) {=0A= this.dispatchException(e);=0A= }=0A= =0A= var contentType =3D this.getHeader('Content-type');=0A= if (contentType && contentType.strip().=0A= match(/^(text|application)\/(x-)?(java|ecma)script(;.*)?$/i))=0A= this.evalResponse();=0A= }=0A= =0A= try {=0A= (this.options['on' + state] || Prototype.emptyFunction)(transport, = json);=0A= Ajax.Responders.dispatch('on' + state, this, transport, json);=0A= } catch (e) {=0A= this.dispatchException(e);=0A= }=0A= =0A= if (state =3D=3D 'Complete') {=0A= // avoid memory leak in MSIE: clean up=0A= this.transport.onreadystatechange =3D Prototype.emptyFunction;=0A= }=0A= },=0A= =0A= getHeader: function(name) {=0A= try {=0A= return this.transport.getResponseHeader(name);=0A= } catch (e) { return null }=0A= },=0A= =0A= evalJSON: function() {=0A= try {=0A= var json =3D this.getHeader('X-JSON');=0A= return json ? json.evalJSON() : null;=0A= } catch (e) { return null }=0A= },=0A= =0A= evalResponse: function() {=0A= try {=0A= return eval((this.transport.responseText || '').unfilterJSON());=0A= } catch (e) {=0A= this.dispatchException(e);=0A= }=0A= },=0A= =0A= dispatchException: function(exception) {=0A= (this.options.onException || Prototype.emptyFunction)(this, = exception);=0A= Ajax.Responders.dispatch('onException', this, exception);=0A= }=0A= });=0A= =0A= Ajax.Updater =3D Class.create();=0A= =0A= Object.extend(Object.extend(Ajax.Updater.prototype, = Ajax.Request.prototype), {=0A= initialize: function(container, url, options) {=0A= this.container =3D {=0A= success: (container.success || container),=0A= failure: (container.failure || (container.success ? null : = container))=0A= }=0A= =0A= this.transport =3D Ajax.getTransport();=0A= this.setOptions(options);=0A= =0A= var onComplete =3D this.options.onComplete || = Prototype.emptyFunction;=0A= this.options.onComplete =3D (function(transport, param) {=0A= this.updateContent();=0A= onComplete(transport, param);=0A= }).bind(this);=0A= =0A= this.request(url);=0A= },=0A= =0A= updateContent: function() {=0A= var receiver =3D this.container[this.success() ? 'success' : = 'failure'];=0A= var response =3D this.transport.responseText;=0A= =0A= if (!this.options.evalScripts) response =3D response.stripScripts();=0A= =0A= if (receiver =3D $(receiver)) {=0A= if (this.options.insertion)=0A= new this.options.insertion(receiver, response);=0A= else=0A= receiver.update(response);=0A= }=0A= =0A= if (this.success()) {=0A= if (this.onComplete)=0A= setTimeout(this.onComplete.bind(this), 10);=0A= }=0A= }=0A= });=0A= =0A= Ajax.PeriodicalUpdater =3D Class.create();=0A= Ajax.PeriodicalUpdater.prototype =3D Object.extend(new Ajax.Base(), {=0A= initialize: function(container, url, options) {=0A= this.setOptions(options);=0A= this.onComplete =3D this.options.onComplete;=0A= =0A= this.frequency =3D (this.options.frequency || 2);=0A= this.decay =3D (this.options.decay || 1);=0A= =0A= this.updater =3D {};=0A= this.container =3D container;=0A= this.url =3D url;=0A= =0A= this.start();=0A= },=0A= =0A= start: function() {=0A= this.options.onComplete =3D this.updateComplete.bind(this);=0A= this.onTimerEvent();=0A= },=0A= =0A= stop: function() {=0A= this.updater.options.onComplete =3D undefined;=0A= clearTimeout(this.timer);=0A= (this.onComplete || Prototype.emptyFunction).apply(this, arguments);=0A= },=0A= =0A= updateComplete: function(request) {=0A= if (this.options.decay) {=0A= this.decay =3D (request.responseText =3D=3D this.lastText ?=0A= this.decay * this.options.decay : 1);=0A= =0A= this.lastText =3D request.responseText;=0A= }=0A= this.timer =3D setTimeout(this.onTimerEvent.bind(this),=0A= this.decay * this.frequency * 1000);=0A= },=0A= =0A= onTimerEvent: function() {=0A= this.updater =3D new Ajax.Updater(this.container, this.url, = this.options);=0A= }=0A= });=0A= function $(element) {=0A= if (arguments.length > 1) {=0A= for (var i =3D 0, elements =3D [], length =3D arguments.length; i < = length; i++)=0A= elements.push($(arguments[i]));=0A= return elements;=0A= }=0A= if (typeof element =3D=3D 'string')=0A= element =3D document.getElementById(element);=0A= return Element.extend(element);=0A= }=0A= =0A= if (Prototype.BrowserFeatures.XPath) {=0A= document._getElementsByXPath =3D function(expression, parentElement) {=0A= var results =3D [];=0A= var query =3D document.evaluate(expression, $(parentElement) || = document,=0A= null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);=0A= for (var i =3D 0, length =3D query.snapshotLength; i < length; i++)=0A= results.push(query.snapshotItem(i));=0A= return results;=0A= };=0A= =0A= document.getElementsByClassName =3D function(className, parentElement) = {=0A= var q =3D ".//*[contains(concat(' ', @class, ' '), ' " + className + = " ')]";=0A= return document._getElementsByXPath(q, parentElement);=0A= }=0A= =0A= } else document.getElementsByClassName =3D function(className, = parentElement) {=0A= var children =3D ($(parentElement) || = document.body).getElementsByTagName('*');=0A= var elements =3D [], child, pattern =3D new RegExp("(^|\\s)" + = className + "(\\s|$)");=0A= for (var i =3D 0, length =3D children.length; i < length; i++) {=0A= child =3D children[i];=0A= var elementClassName =3D child.className;=0A= if (elementClassName.length =3D=3D 0) continue;=0A= if (elementClassName =3D=3D className || = elementClassName.match(pattern))=0A= elements.push(Element.extend(child));=0A= }=0A= return elements;=0A= };=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= if (!window.Element) var Element =3D {};=0A= =0A= Element.extend =3D function(element) {=0A= var F =3D Prototype.BrowserFeatures;=0A= if (!element || !element.tagName || element.nodeType =3D=3D 3 ||=0A= element._extended || F.SpecificElementExtensions || element =3D=3D = window)=0A= return element;=0A= =0A= var methods =3D {}, tagName =3D element.tagName, cache =3D = Element.extend.cache,=0A= T =3D Element.Methods.ByTag;=0A= =0A= // extend methods for all tags (Safari doesn't need this)=0A= if (!F.ElementExtensions) {=0A= Object.extend(methods, Element.Methods),=0A= Object.extend(methods, Element.Methods.Simulated);=0A= }=0A= =0A= // extend methods for specific tags=0A= if (T[tagName]) Object.extend(methods, T[tagName]);=0A= =0A= for (var property in methods) {=0A= var value =3D methods[property];=0A= if (typeof value =3D=3D 'function' && !(property in element))=0A= element[property] =3D cache.findOrStore(value);=0A= }=0A= =0A= element._extended =3D Prototype.emptyFunction;=0A= return element;=0A= };=0A= =0A= Element.extend.cache =3D {=0A= findOrStore: function(value) {=0A= return this[value] =3D this[value] || function() {=0A= return value.apply(null, [this].concat($A(arguments)));=0A= }=0A= }=0A= };=0A= =0A= Element.Methods =3D {=0A= visible: function(element) {=0A= return $(element).style.display !=3D 'none';=0A= },=0A= =0A= toggle: function(element) {=0A= element =3D $(element);=0A= Element[Element.visible(element) ? 'hide' : 'show'](element);=0A= return element;=0A= },=0A= =0A= hide: function(element) {=0A= $(element).style.display =3D 'none';=0A= return element;=0A= },=0A= =0A= show: function(element) {=0A= $(element).style.display =3D '';=0A= return element;=0A= },=0A= =0A= remove: function(element) {=0A= element =3D $(element);=0A= element.parentNode.removeChild(element);=0A= return element;=0A= },=0A= =0A= update: function(element, html) {=0A= html =3D typeof html =3D=3D 'undefined' ? '' : html.toString();=0A= $(element).innerHTML =3D html.stripScripts();=0A= setTimeout(function() {html.evalScripts()}, 10);=0A= return element;=0A= },=0A= =0A= replace: function(element, html) {=0A= element =3D $(element);=0A= html =3D typeof html =3D=3D 'undefined' ? '' : html.toString();=0A= if (element.outerHTML) {=0A= element.outerHTML =3D html.stripScripts();=0A= } else {=0A= var range =3D element.ownerDocument.createRange();=0A= range.selectNodeContents(element);=0A= element.parentNode.replaceChild(=0A= range.createContextualFragment(html.stripScripts()), element);=0A= }=0A= setTimeout(function() {html.evalScripts()}, 10);=0A= return element;=0A= },=0A= =0A= inspect: function(element) {=0A= element =3D $(element);=0A= var result =3D '<' + element.tagName.toLowerCase();=0A= $H({'id': 'id', 'className': 'class'}).each(function(pair) {=0A= var property =3D pair.first(), attribute =3D pair.last();=0A= var value =3D (element[property] || '').toString();=0A= if (value) result +=3D ' ' + attribute + '=3D' + = value.inspect(true);=0A= });=0A= return result + '>';=0A= },=0A= =0A= recursivelyCollect: function(element, property) {=0A= element =3D $(element);=0A= var elements =3D [];=0A= while (element =3D element[property])=0A= if (element.nodeType =3D=3D 1)=0A= elements.push(Element.extend(element));=0A= return elements;=0A= },=0A= =0A= ancestors: function(element) {=0A= return $(element).recursivelyCollect('parentNode');=0A= },=0A= =0A= descendants: function(element) {=0A= return $A($(element).getElementsByTagName('*')).each(Element.extend);=0A= },=0A= =0A= firstDescendant: function(element) {=0A= element =3D $(element).firstChild;=0A= while (element && element.nodeType !=3D 1) element =3D = element.nextSibling;=0A= return $(element);=0A= },=0A= =0A= immediateDescendants: function(element) {=0A= if (!(element =3D $(element).firstChild)) return [];=0A= while (element && element.nodeType !=3D 1) element =3D = element.nextSibling;=0A= if (element) return [element].concat($(element).nextSiblings());=0A= return [];=0A= },=0A= =0A= previousSiblings: function(element) {=0A= return $(element).recursivelyCollect('previousSibling');=0A= },=0A= =0A= nextSiblings: function(element) {=0A= return $(element).recursivelyCollect('nextSibling');=0A= },=0A= =0A= siblings: function(element) {=0A= element =3D $(element);=0A= return = element.previousSiblings().reverse().concat(element.nextSiblings());=0A= },=0A= =0A= match: function(element, selector) {=0A= if (typeof selector =3D=3D 'string')=0A= selector =3D new Selector(selector);=0A= return selector.match($(element));=0A= },=0A= =0A= up: function(element, expression, index) {=0A= element =3D $(element);=0A= if (arguments.length =3D=3D 1) return $(element.parentNode);=0A= var ancestors =3D element.ancestors();=0A= return expression ? Selector.findElement(ancestors, expression, = index) :=0A= ancestors[index || 0];=0A= },=0A= =0A= down: function(element, expression, index) {=0A= element =3D $(element);=0A= if (arguments.length =3D=3D 1) return element.firstDescendant();=0A= var descendants =3D element.descendants();=0A= return expression ? Selector.findElement(descendants, expression, = index) :=0A= descendants[index || 0];=0A= },=0A= =0A= previous: function(element, expression, index) {=0A= element =3D $(element);=0A= if (arguments.length =3D=3D 1) return = $(Selector.handlers.previousElementSibling(element));=0A= var previousSiblings =3D element.previousSiblings();=0A= return expression ? Selector.findElement(previousSiblings, = expression, index) :=0A= previousSiblings[index || 0];=0A= },=0A= =0A= next: function(element, expression, index) {=0A= element =3D $(element);=0A= if (arguments.length =3D=3D 1) return = $(Selector.handlers.nextElementSibling(element));=0A= var nextSiblings =3D element.nextSiblings();=0A= return expression ? Selector.findElement(nextSiblings, expression, = index) :=0A= nextSiblings[index || 0];=0A= },=0A= =0A= getElementsBySelector: function() {=0A= var args =3D $A(arguments), element =3D $(args.shift());=0A= return Selector.findChildElements(element, args);=0A= },=0A= =0A= getElementsByClassName: function(element, className) {=0A= return document.getElementsByClassName(className, element);=0A= },=0A= =0A= readAttribute: function(element, name) {=0A= element =3D $(element);=0A= if (Prototype.Browser.IE) {=0A= if (!element.attributes) return null;=0A= var t =3D Element._attributeTranslations;=0A= if (t.values[name]) return t.values[name](element, name);=0A= if (t.names[name]) name =3D t.names[name];=0A= var attribute =3D element.attributes[name];=0A= return attribute ? attribute.nodeValue : null;=0A= }=0A= return element.getAttribute(name);=0A= },=0A= =0A= getHeight: function(element) {=0A= return $(element).getDimensions().height;=0A= },=0A= =0A= getWidth: function(element) {=0A= return $(element).getDimensions().width;=0A= },=0A= =0A= classNames: function(element) {=0A= return new Element.ClassNames(element);=0A= },=0A= =0A= hasClassName: function(element, className) {=0A= if (!(element =3D $(element))) return;=0A= var elementClassName =3D element.className;=0A= if (elementClassName.length =3D=3D 0) return false;=0A= if (elementClassName =3D=3D className ||=0A= elementClassName.match(new RegExp("(^|\\s)" + className + = "(\\s|$)")))=0A= return true;=0A= return false;=0A= },=0A= =0A= addClassName: function(element, className) {=0A= if (!(element =3D $(element))) return;=0A= Element.classNames(element).add(className);=0A= return element;=0A= },=0A= =0A= removeClassName: function(element, className) {=0A= if (!(element =3D $(element))) return;=0A= Element.classNames(element).remove(className);=0A= return element;=0A= },=0A= =0A= toggleClassName: function(element, className) {=0A= if (!(element =3D $(element))) return;=0A= Element.classNames(element)[element.hasClassName(className) ? = 'remove' : 'add'](className);=0A= return element;=0A= },=0A= =0A= observe: function() {=0A= Event.observe.apply(Event, arguments);=0A= return $A(arguments).first();=0A= },=0A= =0A= stopObserving: function() {=0A= Event.stopObserving.apply(Event, arguments);=0A= return $A(arguments).first();=0A= },=0A= =0A= // removes whitespace-only text node children=0A= cleanWhitespace: function(element) {=0A= element =3D $(element);=0A= var node =3D element.firstChild;=0A= while (node) {=0A= var nextNode =3D node.nextSibling;=0A= if (node.nodeType =3D=3D 3 && !/\S/.test(node.nodeValue))=0A= element.removeChild(node);=0A= node =3D nextNode;=0A= }=0A= return element;=0A= },=0A= =0A= empty: function(element) {=0A= return $(element).innerHTML.blank();=0A= },=0A= =0A= descendantOf: function(element, ancestor) {=0A= element =3D $(element), ancestor =3D $(ancestor);=0A= while (element =3D element.parentNode)=0A= if (element =3D=3D ancestor) return true;=0A= return false;=0A= },=0A= =0A= scrollTo: function(element) {=0A= element =3D $(element);=0A= var pos =3D Position.cumulativeOffset(element);=0A= window.scrollTo(pos[0], pos[1]);=0A= return element;=0A= },=0A= =0A= getStyle: function(element, style) {=0A= element =3D $(element);=0A= style =3D style =3D=3D 'float' ? 'cssFloat' : style.camelize();=0A= var value =3D element.style[style];=0A= if (!value) {=0A= var css =3D document.defaultView.getComputedStyle(element, null);=0A= value =3D css ? css[style] : null;=0A= }=0A= if (style =3D=3D 'opacity') return value ? parseFloat(value) : 1.0;=0A= return value =3D=3D 'auto' ? null : value;=0A= },=0A= =0A= getOpacity: function(element) {=0A= return $(element).getStyle('opacity');=0A= },=0A= =0A= setStyle: function(element, styles, camelized) {=0A= element =3D $(element);=0A= var elementStyle =3D element.style;=0A= =0A= for (var property in styles)=0A= if (property =3D=3D 'opacity') element.setOpacity(styles[property])=0A= else=0A= elementStyle[(property =3D=3D 'float' || property =3D=3D = 'cssFloat') ?=0A= (elementStyle.styleFloat =3D=3D=3D undefined ? 'cssFloat' : = 'styleFloat') :=0A= (camelized ? property : property.camelize())] =3D = styles[property];=0A= =0A= return element;=0A= },=0A= =0A= setOpacity: function(element, value) {=0A= element =3D $(element);=0A= element.style.opacity =3D (value =3D=3D 1 || value =3D=3D=3D '') ? = '' :=0A= (value < 0.00001) ? 0 : value;=0A= return element;=0A= },=0A= =0A= getDimensions: function(element) {=0A= element =3D $(element);=0A= var display =3D $(element).getStyle('display');=0A= if (display !=3D 'none' && display !=3D null) // Safari bug=0A= return {width: element.offsetWidth, height: element.offsetHeight};=0A= =0A= // All *Width and *Height properties give 0 on elements with display = none,=0A= // so enable the element temporarily=0A= var els =3D element.style;=0A= var originalVisibility =3D els.visibility;=0A= var originalPosition =3D els.position;=0A= var originalDisplay =3D els.display;=0A= els.visibility =3D 'hidden';=0A= els.position =3D 'absolute';=0A= els.display =3D 'block';=0A= var originalWidth =3D element.clientWidth;=0A= var originalHeight =3D element.clientHeight;=0A= els.display =3D originalDisplay;=0A= els.position =3D originalPosition;=0A= els.visibility =3D originalVisibility;=0A= return {width: originalWidth, height: originalHeight};=0A= },=0A= =0A= makePositioned: function(element) {=0A= element =3D $(element);=0A= var pos =3D Element.getStyle(element, 'position');=0A= if (pos =3D=3D 'static' || !pos) {=0A= element._madePositioned =3D true;=0A= element.style.position =3D 'relative';=0A= // Opera returns the offset relative to the positioning context, = when an=0A= // element is position relative but top and left have not been = defined=0A= if (window.opera) {=0A= element.style.top =3D 0;=0A= element.style.left =3D 0;=0A= }=0A= }=0A= return element;=0A= },=0A= =0A= undoPositioned: function(element) {=0A= element =3D $(element);=0A= if (element._madePositioned) {=0A= element._madePositioned =3D undefined;=0A= element.style.position =3D=0A= element.style.top =3D=0A= element.style.left =3D=0A= element.style.bottom =3D=0A= element.style.right =3D '';=0A= }=0A= return element;=0A= },=0A= =0A= makeClipping: function(element) {=0A= element =3D $(element);=0A= if (element._overflow) return element;=0A= element._overflow =3D element.style.overflow || 'auto';=0A= if ((Element.getStyle(element, 'overflow') || 'visible') !=3D = 'hidden')=0A= element.style.overflow =3D 'hidden';=0A= return element;=0A= },=0A= =0A= undoClipping: function(element) {=0A= element =3D $(element);=0A= if (!element._overflow) return element;=0A= element.style.overflow =3D element._overflow =3D=3D 'auto' ? '' : = element._overflow;=0A= element._overflow =3D null;=0A= return element;=0A= }=0A= };=0A= =0A= Object.extend(Element.Methods, {=0A= childOf: Element.Methods.descendantOf,=0A= childElements: Element.Methods.immediateDescendants=0A= });=0A= =0A= if (Prototype.Browser.Opera) {=0A= Element.Methods._getStyle =3D Element.Methods.getStyle;=0A= Element.Methods.getStyle =3D function(element, style) {=0A= switch(style) {=0A= case 'left':=0A= case 'top':=0A= case 'right':=0A= case 'bottom':=0A= if (Element._getStyle(element, 'position') =3D=3D 'static') = return null;=0A= default: return Element._getStyle(element, style);=0A= }=0A= };=0A= }=0A= else if (Prototype.Browser.IE) {=0A= Element.Methods.getStyle =3D function(element, style) {=0A= element =3D $(element);=0A= style =3D (style =3D=3D 'float' || style =3D=3D 'cssFloat') ? = 'styleFloat' : style.camelize();=0A= var value =3D element.style[style];=0A= if (!value && element.currentStyle) value =3D = element.currentStyle[style];=0A= =0A= if (style =3D=3D 'opacity') {=0A= if (value =3D (element.getStyle('filter') || = '').match(/alpha\(opacity=3D(.*)\)/))=0A= if (value[1]) return parseFloat(value[1]) / 100;=0A= return 1.0;=0A= }=0A= =0A= if (value =3D=3D 'auto') {=0A= if ((style =3D=3D 'width' || style =3D=3D 'height') && = (element.getStyle('display') !=3D 'none'))=0A= return element['offset'+style.capitalize()] + 'px';=0A= return null;=0A= }=0A= return value;=0A= };=0A= =0A= Element.Methods.setOpacity =3D function(element, value) {=0A= element =3D $(element);=0A= var filter =3D element.getStyle('filter'), style =3D element.style;=0A= if (value =3D=3D 1 || value =3D=3D=3D '') {=0A= style.filter =3D filter.replace(/alpha\([^\)]*\)/gi,'');=0A= return element;=0A= } else if (value < 0.00001) value =3D 0;=0A= style.filter =3D filter.replace(/alpha\([^\)]*\)/gi, '') +=0A= 'alpha(opacity=3D' + (value * 100) + ')';=0A= return element;=0A= };=0A= =0A= // IE is missing .innerHTML support for TABLE-related elements=0A= Element.Methods.update =3D function(element, html) {=0A= element =3D $(element);=0A= html =3D typeof html =3D=3D 'undefined' ? '' : html.toString();=0A= var tagName =3D element.tagName.toUpperCase();=0A= if (['THEAD','TBODY','TR','TD'].include(tagName)) {=0A= var div =3D document.createElement('div');=0A= switch (tagName) {=0A= case 'THEAD':=0A= case 'TBODY':=0A= div.innerHTML =3D '' + html.stripScripts() + = '
';=0A= depth =3D 2;=0A= break;=0A= case 'TR':=0A= div.innerHTML =3D '' + html.stripScripts() = + '
';=0A= depth =3D 3;=0A= break;=0A= case 'TD':=0A= div.innerHTML =3D '
' + = html.stripScripts() + '
';=0A= depth =3D 4;=0A= }=0A= $A(element.childNodes).each(function(node) { = element.removeChild(node) });=0A= depth.times(function() { div =3D div.firstChild });=0A= $A(div.childNodes).each(function(node) { element.appendChild(node) = });=0A= } else {=0A= element.innerHTML =3D html.stripScripts();=0A= }=0A= setTimeout(function() { html.evalScripts() }, 10);=0A= return element;=0A= }=0A= }=0A= else if (Prototype.Browser.Gecko) {=0A= Element.Methods.setOpacity =3D function(element, value) {=0A= element =3D $(element);=0A= element.style.opacity =3D (value =3D=3D 1) ? 0.999999 :=0A= (value =3D=3D=3D '') ? '' : (value < 0.00001) ? 0 : value;=0A= return element;=0A= };=0A= }=0A= =0A= Element._attributeTranslations =3D {=0A= names: {=0A= colspan: "colSpan",=0A= rowspan: "rowSpan",=0A= valign: "vAlign",=0A= datetime: "dateTime",=0A= accesskey: "accessKey",=0A= tabindex: "tabIndex",=0A= enctype: "encType",=0A= maxlength: "maxLength",=0A= readonly: "readOnly",=0A= longdesc: "longDesc"=0A= },=0A= values: {=0A= _getAttr: function(element, attribute) {=0A= return element.getAttribute(attribute, 2);=0A= },=0A= _flag: function(element, attribute) {=0A= return $(element).hasAttribute(attribute) ? attribute : null;=0A= },=0A= style: function(element) {=0A= return element.style.cssText.toLowerCase();=0A= },=0A= title: function(element) {=0A= var node =3D element.getAttributeNode('title');=0A= return node.specified ? node.nodeValue : null;=0A= }=0A= }=0A= };=0A= =0A= (function() {=0A= Object.extend(this, {=0A= href: this._getAttr,=0A= src: this._getAttr,=0A= type: this._getAttr,=0A= disabled: this._flag,=0A= checked: this._flag,=0A= readonly: this._flag,=0A= multiple: this._flag=0A= });=0A= }).call(Element._attributeTranslations.values);=0A= =0A= Element.Methods.Simulated =3D {=0A= hasAttribute: function(element, attribute) {=0A= var t =3D Element._attributeTranslations, node;=0A= attribute =3D t.names[attribute] || attribute;=0A= node =3D $(element).getAttributeNode(attribute);=0A= return node && node.specified;=0A= }=0A= };=0A= =0A= Element.Methods.ByTag =3D {};=0A= =0A= Object.extend(Element, Element.Methods);=0A= =0A= if (!Prototype.BrowserFeatures.ElementExtensions &&=0A= document.createElement('div').__proto__) {=0A= window.HTMLElement =3D {};=0A= window.HTMLElement.prototype =3D = document.createElement('div').__proto__;=0A= Prototype.BrowserFeatures.ElementExtensions =3D true;=0A= }=0A= =0A= Element.hasAttribute =3D function(element, attribute) {=0A= if (element.hasAttribute) return element.hasAttribute(attribute);=0A= return Element.Methods.Simulated.hasAttribute(element, attribute);=0A= };=0A= =0A= Element.addMethods =3D function(methods) {=0A= var F =3D Prototype.BrowserFeatures, T =3D Element.Methods.ByTag;=0A= =0A= if (!methods) {=0A= Object.extend(Form, Form.Methods);=0A= Object.extend(Form.Element, Form.Element.Methods);=0A= Object.extend(Element.Methods.ByTag, {=0A= "FORM": Object.clone(Form.Methods),=0A= "INPUT": Object.clone(Form.Element.Methods),=0A= "SELECT": Object.clone(Form.Element.Methods),=0A= "TEXTAREA": Object.clone(Form.Element.Methods)=0A= });=0A= }=0A= =0A= if (arguments.length =3D=3D 2) {=0A= var tagName =3D methods;=0A= methods =3D arguments[1];=0A= }=0A= =0A= if (!tagName) Object.extend(Element.Methods, methods || {});=0A= else {=0A= if (tagName.constructor =3D=3D Array) tagName.each(extend);=0A= else extend(tagName);=0A= }=0A= =0A= function extend(tagName) {=0A= tagName =3D tagName.toUpperCase();=0A= if (!Element.Methods.ByTag[tagName])=0A= Element.Methods.ByTag[tagName] =3D {};=0A= Object.extend(Element.Methods.ByTag[tagName], methods);=0A= }=0A= =0A= function copy(methods, destination, onlyIfAbsent) {=0A= onlyIfAbsent =3D onlyIfAbsent || false;=0A= var cache =3D Element.extend.cache;=0A= for (var property in methods) {=0A= var value =3D methods[property];=0A= if (!onlyIfAbsent || !(property in destination))=0A= destination[property] =3D cache.findOrStore(value);=0A= }=0A= }=0A= =0A= function findDOMClass(tagName) {=0A= var klass;=0A= var trans =3D {=0A= "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph",=0A= "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": = "DList",=0A= "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": = "Heading",=0A= "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote",=0A= "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", = "CAPTION":=0A= "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD":=0A= "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", = "TR":=0A= "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET":=0A= "FrameSet", "IFRAME": "IFrame"=0A= };=0A= if (trans[tagName]) klass =3D 'HTML' + trans[tagName] + 'Element';=0A= if (window[klass]) return window[klass];=0A= klass =3D 'HTML' + tagName + 'Element';=0A= if (window[klass]) return window[klass];=0A= klass =3D 'HTML' + tagName.capitalize() + 'Element';=0A= if (window[klass]) return window[klass];=0A= =0A= window[klass] =3D {};=0A= window[klass].prototype =3D = document.createElement(tagName).__proto__;=0A= return window[klass];=0A= }=0A= =0A= if (F.ElementExtensions) {=0A= copy(Element.Methods, HTMLElement.prototype);=0A= copy(Element.Methods.Simulated, HTMLElement.prototype, true);=0A= }=0A= =0A= if (F.SpecificElementExtensions) {=0A= for (var tag in Element.Methods.ByTag) {=0A= var klass =3D findDOMClass(tag);=0A= if (typeof klass =3D=3D "undefined") continue;=0A= copy(T[tag], klass.prototype);=0A= }=0A= }=0A= =0A= Object.extend(Element, Element.Methods);=0A= delete Element.ByTag;=0A= };=0A= =0A= var Toggle =3D { display: Element.toggle };=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= Abstract.Insertion =3D function(adjacency) {=0A= this.adjacency =3D adjacency;=0A= }=0A= =0A= Abstract.Insertion.prototype =3D {=0A= initialize: function(element, content) {=0A= this.element =3D $(element);=0A= this.content =3D content.stripScripts();=0A= =0A= if (this.adjacency && this.element.insertAdjacentHTML) {=0A= try {=0A= this.element.insertAdjacentHTML(this.adjacency, this.content);=0A= } catch (e) {=0A= var tagName =3D this.element.tagName.toUpperCase();=0A= if (['TBODY', 'TR'].include(tagName)) {=0A= this.insertContent(this.contentFromAnonymousTable());=0A= } else {=0A= throw e;=0A= }=0A= }=0A= } else {=0A= this.range =3D this.element.ownerDocument.createRange();=0A= if (this.initializeRange) this.initializeRange();=0A= = this.insertContent([this.range.createContextualFragment(this.content)]);=0A= }=0A= =0A= setTimeout(function() {content.evalScripts()}, 10);=0A= },=0A= =0A= contentFromAnonymousTable: function() {=0A= var div =3D document.createElement('div');=0A= div.innerHTML =3D '' + this.content + = '
';=0A= return $A(div.childNodes[0].childNodes[0].childNodes);=0A= }=0A= }=0A= =0A= var Insertion =3D new Object();=0A= =0A= Insertion.Before =3D Class.create();=0A= Insertion.Before.prototype =3D Object.extend(new = Abstract.Insertion('beforeBegin'), {=0A= initializeRange: function() {=0A= this.range.setStartBefore(this.element);=0A= },=0A= =0A= insertContent: function(fragments) {=0A= fragments.each((function(fragment) {=0A= this.element.parentNode.insertBefore(fragment, this.element);=0A= }).bind(this));=0A= }=0A= });=0A= =0A= Insertion.Top =3D Class.create();=0A= Insertion.Top.prototype =3D Object.extend(new = Abstract.Insertion('afterBegin'), {=0A= initializeRange: function() {=0A= this.range.selectNodeContents(this.element);=0A= this.range.collapse(true);=0A= },=0A= =0A= insertContent: function(fragments) {=0A= fragments.reverse(false).each((function(fragment) {=0A= this.element.insertBefore(fragment, this.element.firstChild);=0A= }).bind(this));=0A= }=0A= });=0A= =0A= Insertion.Bottom =3D Class.create();=0A= Insertion.Bottom.prototype =3D Object.extend(new = Abstract.Insertion('beforeEnd'), {=0A= initializeRange: function() {=0A= this.range.selectNodeContents(this.element);=0A= this.range.collapse(this.element);=0A= },=0A= =0A= insertContent: function(fragments) {=0A= fragments.each((function(fragment) {=0A= this.element.appendChild(fragment);=0A= }).bind(this));=0A= }=0A= });=0A= =0A= Insertion.After =3D Class.create();=0A= Insertion.After.prototype =3D Object.extend(new = Abstract.Insertion('afterEnd'), {=0A= initializeRange: function() {=0A= this.range.setStartAfter(this.element);=0A= },=0A= =0A= insertContent: function(fragments) {=0A= fragments.each((function(fragment) {=0A= this.element.parentNode.insertBefore(fragment,=0A= this.element.nextSibling);=0A= }).bind(this));=0A= }=0A= });=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= Element.ClassNames =3D Class.create();=0A= Element.ClassNames.prototype =3D {=0A= initialize: function(element) {=0A= this.element =3D $(element);=0A= },=0A= =0A= _each: function(iterator) {=0A= this.element.className.split(/\s+/).select(function(name) {=0A= return name.length > 0;=0A= })._each(iterator);=0A= },=0A= =0A= set: function(className) {=0A= this.element.className =3D className;=0A= },=0A= =0A= add: function(classNameToAdd) {=0A= if (this.include(classNameToAdd)) return;=0A= this.set($A(this).concat(classNameToAdd).join(' '));=0A= },=0A= =0A= remove: function(classNameToRemove) {=0A= if (!this.include(classNameToRemove)) return;=0A= this.set($A(this).without(classNameToRemove).join(' '));=0A= },=0A= =0A= toString: function() {=0A= return $A(this).join(' ');=0A= }=0A= };=0A= =0A= Object.extend(Element.ClassNames.prototype, Enumerable);=0A= /* Portions of the Selector class are derived from Jack Slocum=E2=80=99s = DomQuery,=0A= * part of YUI-Ext version 0.40, distributed under the terms of an = MIT-style=0A= * license. Please see http://www.yui-ext.com/ for more information. */=0A= =0A= var Selector =3D Class.create();=0A= =0A= Selector.prototype =3D {=0A= initialize: function(expression) {=0A= this.expression =3D expression.strip();=0A= this.compileMatcher();=0A= },=0A= =0A= compileMatcher: function() {=0A= // Selectors with namespaced attributes can't use the XPath version=0A= if (Prototype.BrowserFeatures.XPath && = !(/\[[\w-]*?:/).test(this.expression))=0A= return this.compileXPathMatcher();=0A= =0A= var e =3D this.expression, ps =3D Selector.patterns, h =3D = Selector.handlers,=0A= c =3D Selector.criteria, le, p, m;=0A= =0A= if (Selector._cache[e]) {=0A= this.matcher =3D Selector._cache[e]; return;=0A= }=0A= this.matcher =3D ["this.matcher =3D function(root) {",=0A= "var r =3D root, h =3D Selector.handlers, c =3D = false, n;"];=0A= =0A= while (e && le !=3D e && (/\S/).test(e)) {=0A= le =3D e;=0A= for (var i in ps) {=0A= p =3D ps[i];=0A= if (m =3D e.match(p)) {=0A= this.matcher.push(typeof c[i] =3D=3D 'function' ? c[i](m) :=0A= new Template(c[i]).evaluate(m));=0A= e =3D e.replace(m[0], '');=0A= break;=0A= }=0A= }=0A= }=0A= =0A= this.matcher.push("return h.unique(n);\n}");=0A= eval(this.matcher.join('\n'));=0A= Selector._cache[this.expression] =3D this.matcher;=0A= },=0A= =0A= compileXPathMatcher: function() {=0A= var e =3D this.expression, ps =3D Selector.patterns,=0A= x =3D Selector.xpath, le, m;=0A= =0A= if (Selector._cache[e]) {=0A= this.xpath =3D Selector._cache[e]; return;=0A= }=0A= =0A= this.matcher =3D ['.//*'];=0A= while (e && le !=3D e && (/\S/).test(e)) {=0A= le =3D e;=0A= for (var i in ps) {=0A= if (m =3D e.match(ps[i])) {=0A= this.matcher.push(typeof x[i] =3D=3D 'function' ? x[i](m) :=0A= new Template(x[i]).evaluate(m));=0A= e =3D e.replace(m[0], '');=0A= break;=0A= }=0A= }=0A= }=0A= =0A= this.xpath =3D this.matcher.join('');=0A= Selector._cache[this.expression] =3D this.xpath;=0A= },=0A= =0A= findElements: function(root) {=0A= root =3D root || document;=0A= if (this.xpath) return document._getElementsByXPath(this.xpath, = root);=0A= return this.matcher(root);=0A= },=0A= =0A= match: function(element) {=0A= return this.findElements(document).include(element);=0A= },=0A= =0A= toString: function() {=0A= return this.expression;=0A= },=0A= =0A= inspect: function() {=0A= return "#";=0A= }=0A= };=0A= =0A= Object.extend(Selector, {=0A= _cache: {},=0A= =0A= xpath: {=0A= descendant: "//*",=0A= child: "/*",=0A= adjacent: "/following-sibling::*[1]",=0A= laterSibling: '/following-sibling::*',=0A= tagName: function(m) {=0A= if (m[1] =3D=3D '*') return '';=0A= return "[local-name()=3D'" + m[1].toLowerCase() +=0A= "' or local-name()=3D'" + m[1].toUpperCase() + "']";=0A= },=0A= className: "[contains(concat(' ', @class, ' '), ' #{1} ')]",=0A= id: "[@id=3D'#{1}']",=0A= attrPresence: "[@#{1}]",=0A= attr: function(m) {=0A= m[3] =3D m[5] || m[6];=0A= return new Template(Selector.xpath.operators[m[2]]).evaluate(m);=0A= },=0A= pseudo: function(m) {=0A= var h =3D Selector.xpath.pseudos[m[1]];=0A= if (!h) return '';=0A= if (typeof h =3D=3D=3D 'function') return h(m);=0A= return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);=0A= },=0A= operators: {=0A= '=3D': "[@#{1}=3D'#{3}']",=0A= '!=3D': "[@#{1}!=3D'#{3}']",=0A= '^=3D': "[starts-with(@#{1}, '#{3}')]",=0A= '$=3D': "[substring(@#{1}, (string-length(@#{1}) - = string-length('#{3}') + 1))=3D'#{3}']",=0A= '*=3D': "[contains(@#{1}, '#{3}')]",=0A= '~=3D': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",=0A= '|=3D': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]"=0A= },=0A= pseudos: {=0A= 'first-child': '[not(preceding-sibling::*)]',=0A= 'last-child': '[not(following-sibling::*)]',=0A= 'only-child': '[not(preceding-sibling::* or = following-sibling::*)]',=0A= 'empty': "[count(*) =3D 0 and (count(text()) =3D 0 or = translate(text(), ' \t\r\n', '') =3D '')]",=0A= 'checked': "[@checked]",=0A= 'disabled': "[@disabled]",=0A= 'enabled': "[not(@disabled)]",=0A= 'not': function(m) {=0A= var e =3D m[6], p =3D Selector.patterns,=0A= x =3D Selector.xpath, le, m, v;=0A= =0A= var exclusion =3D [];=0A= while (e && le !=3D e && (/\S/).test(e)) {=0A= le =3D e;=0A= for (var i in p) {=0A= if (m =3D e.match(p[i])) {=0A= v =3D typeof x[i] =3D=3D 'function' ? x[i](m) : new = Template(x[i]).evaluate(m);=0A= exclusion.push("(" + v.substring(1, v.length - 1) + ")");=0A= e =3D e.replace(m[0], '');=0A= break;=0A= }=0A= }=0A= }=0A= return "[not(" + exclusion.join(" and ") + ")]";=0A= },=0A= 'nth-child': function(m) {=0A= return = Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m);=0A= },=0A= 'nth-last-child': function(m) {=0A= return = Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m);=0A= },=0A= 'nth-of-type': function(m) {=0A= return Selector.xpath.pseudos.nth("position() ", m);=0A= },=0A= 'nth-last-of-type': function(m) {=0A= return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", = m);=0A= },=0A= 'first-of-type': function(m) {=0A= m[6] =3D "1"; return Selector.xpath.pseudos['nth-of-type'](m);=0A= },=0A= 'last-of-type': function(m) {=0A= m[6] =3D "1"; return = Selector.xpath.pseudos['nth-last-of-type'](m);=0A= },=0A= 'only-of-type': function(m) {=0A= var p =3D Selector.xpath.pseudos; return p['first-of-type'](m) + = p['last-of-type'](m);=0A= },=0A= nth: function(fragment, m) {=0A= var mm, formula =3D m[6], predicate;=0A= if (formula =3D=3D 'even') formula =3D '2n+0';=0A= if (formula =3D=3D 'odd') formula =3D '2n+1';=0A= if (mm =3D formula.match(/^(\d+)$/)) // digit only=0A= return '[' + fragment + "=3D " + mm[1] + ']';=0A= if (mm =3D formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b=0A= if (mm[1] =3D=3D "-") mm[1] =3D -1;=0A= var a =3D mm[1] ? Number(mm[1]) : 1;=0A= var b =3D mm[2] ? Number(mm[2]) : 0;=0A= predicate =3D "[((#{fragment} - #{b}) mod #{a} =3D 0) and " +=0A= "((#{fragment} - #{b}) div #{a} >=3D 0)]";=0A= return new Template(predicate).evaluate({=0A= fragment: fragment, a: a, b: b });=0A= }=0A= }=0A= }=0A= },=0A= =0A= criteria: {=0A= tagName: 'n =3D h.tagName(n, r, "#{1}", c); c =3D false;',=0A= className: 'n =3D h.className(n, r, "#{1}", c); c =3D false;',=0A= id: 'n =3D h.id(n, r, "#{1}", c); c =3D false;',=0A= attrPresence: 'n =3D h.attrPresence(n, r, "#{1}"); c =3D false;',=0A= attr: function(m) {=0A= m[3] =3D (m[5] || m[6]);=0A= return new Template('n =3D h.attr(n, r, "#{1}", "#{3}", "#{2}"); c = =3D false;').evaluate(m);=0A= },=0A= pseudo: function(m) {=0A= if (m[6]) m[6] =3D m[6].replace(/"/g, '\\"');=0A= return new Template('n =3D h.pseudo(n, "#{1}", "#{6}", r, c); c = =3D false;').evaluate(m);=0A= },=0A= descendant: 'c =3D "descendant";',=0A= child: 'c =3D "child";',=0A= adjacent: 'c =3D "adjacent";',=0A= laterSibling: 'c =3D "laterSibling";'=0A= },=0A= =0A= patterns: {=0A= // combinators must be listed first=0A= // (and descendant needs to be last combinator)=0A= laterSibling: /^\s*~\s*/,=0A= child: /^\s*>\s*/,=0A= adjacent: /^\s*\+\s*/,=0A= descendant: /^\s/,=0A= =0A= // selectors follow=0A= tagName: /^\s*(\*|[\w\-]+)(\b|$)?/,=0A= id: /^#([\w\-\*]+)(\b|$)/,=0A= className: /^\.([\w\-\*]+)(\b|$)/,=0A= pseudo: = /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis= )abled|not)(\((.*?)\))?(\b|$|\s|(?=3D:))/,=0A= attrPresence: /^\[([\w]+)\]/,=0A= attr: = /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=3D)\s*((['"])([^\]]*?)\4|([^'"][^= \]]*?)))?\]/=0A= },=0A= =0A= handlers: {=0A= // UTILITY FUNCTIONS=0A= // joins two collections=0A= concat: function(a, b) {=0A= for (var i =3D 0, node; node =3D b[i]; i++)=0A= a.push(node);=0A= return a;=0A= },=0A= =0A= // marks an array of nodes for counting=0A= mark: function(nodes) {=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= node._counted =3D true;=0A= return nodes;=0A= },=0A= =0A= unmark: function(nodes) {=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= node._counted =3D undefined;=0A= return nodes;=0A= },=0A= =0A= // mark each child node with its position (for nth calls)=0A= // "ofType" flag indicates whether we're indexing for nth-of-type=0A= // rather than nth-child=0A= index: function(parentNode, reverse, ofType) {=0A= parentNode._counted =3D true;=0A= if (reverse) {=0A= for (var nodes =3D parentNode.childNodes, i =3D nodes.length - = 1, j =3D 1; i >=3D 0; i--) {=0A= node =3D nodes[i];=0A= if (node.nodeType =3D=3D 1 && (!ofType || node._counted)) = node.nodeIndex =3D j++;=0A= }=0A= } else {=0A= for (var i =3D 0, j =3D 1, nodes =3D parentNode.childNodes; node = =3D nodes[i]; i++)=0A= if (node.nodeType =3D=3D 1 && (!ofType || node._counted)) = node.nodeIndex =3D j++;=0A= }=0A= },=0A= =0A= // filters out duplicates and extends all nodes=0A= unique: function(nodes) {=0A= if (nodes.length =3D=3D 0) return nodes;=0A= var results =3D [], n;=0A= for (var i =3D 0, l =3D nodes.length; i < l; i++)=0A= if (!(n =3D nodes[i])._counted) {=0A= n._counted =3D true;=0A= results.push(Element.extend(n));=0A= }=0A= return Selector.handlers.unmark(results);=0A= },=0A= =0A= // COMBINATOR FUNCTIONS=0A= descendant: function(nodes) {=0A= var h =3D Selector.handlers;=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= h.concat(results, node.getElementsByTagName('*'));=0A= return results;=0A= },=0A= =0A= child: function(nodes) {=0A= var h =3D Selector.handlers;=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A= for (var j =3D 0, children =3D [], child; child =3D = node.childNodes[j]; j++)=0A= if (child.nodeType =3D=3D 1 && child.tagName !=3D '!') = results.push(child);=0A= }=0A= return results;=0A= },=0A= =0A= adjacent: function(nodes) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A= var next =3D this.nextElementSibling(node);=0A= if (next) results.push(next);=0A= }=0A= return results;=0A= },=0A= =0A= laterSibling: function(nodes) {=0A= var h =3D Selector.handlers;=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= h.concat(results, Element.nextSiblings(node));=0A= return results;=0A= },=0A= =0A= nextElementSibling: function(node) {=0A= while (node =3D node.nextSibling)=0A= if (node.nodeType =3D=3D 1) return node;=0A= return null;=0A= },=0A= =0A= previousElementSibling: function(node) {=0A= while (node =3D node.previousSibling)=0A= if (node.nodeType =3D=3D 1) return node;=0A= return null;=0A= },=0A= =0A= // TOKEN FUNCTIONS=0A= tagName: function(nodes, root, tagName, combinator) {=0A= tagName =3D tagName.toUpperCase();=0A= var results =3D [], h =3D Selector.handlers;=0A= if (nodes) {=0A= if (combinator) {=0A= // fastlane for ordinary descendant combinators=0A= if (combinator =3D=3D "descendant") {=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= h.concat(results, node.getElementsByTagName(tagName));=0A= return results;=0A= } else nodes =3D this[combinator](nodes);=0A= if (tagName =3D=3D "*") return nodes;=0A= }=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (node.tagName.toUpperCase() =3D=3D tagName) = results.push(node);=0A= return results;=0A= } else return root.getElementsByTagName(tagName);=0A= },=0A= =0A= id: function(nodes, root, id, combinator) {=0A= var targetNode =3D $(id), h =3D Selector.handlers;=0A= if (!nodes && root =3D=3D document) return targetNode ? = [targetNode] : [];=0A= if (nodes) {=0A= if (combinator) {=0A= if (combinator =3D=3D 'child') {=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (targetNode.parentNode =3D=3D node) return [targetNode];=0A= } else if (combinator =3D=3D 'descendant') {=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (Element.descendantOf(targetNode, node)) return = [targetNode];=0A= } else if (combinator =3D=3D 'adjacent') {=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (Selector.handlers.previousElementSibling(targetNode) = =3D=3D node)=0A= return [targetNode];=0A= } else nodes =3D h[combinator](nodes);=0A= }=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (node =3D=3D targetNode) return [targetNode];=0A= return [];=0A= }=0A= return (targetNode && Element.descendantOf(targetNode, root)) ? = [targetNode] : [];=0A= },=0A= =0A= className: function(nodes, root, className, combinator) {=0A= if (nodes && combinator) nodes =3D this[combinator](nodes);=0A= return Selector.handlers.byClassName(nodes, root, className);=0A= },=0A= =0A= byClassName: function(nodes, root, className) {=0A= if (!nodes) nodes =3D Selector.handlers.descendant([root]);=0A= var needle =3D ' ' + className + ' ';=0A= for (var i =3D 0, results =3D [], node, nodeClassName; node =3D = nodes[i]; i++) {=0A= nodeClassName =3D node.className;=0A= if (nodeClassName.length =3D=3D 0) continue;=0A= if (nodeClassName =3D=3D className || (' ' + nodeClassName + ' = ').include(needle))=0A= results.push(node);=0A= }=0A= return results;=0A= },=0A= =0A= attrPresence: function(nodes, root, attr) {=0A= var results =3D [];=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (Element.hasAttribute(node, attr)) results.push(node);=0A= return results;=0A= },=0A= =0A= attr: function(nodes, root, attr, value, operator) {=0A= if (!nodes) nodes =3D root.getElementsByTagName("*");=0A= var handler =3D Selector.operators[operator], results =3D [];=0A= for (var i =3D 0, node; node =3D nodes[i]; i++) {=0A= var nodeValue =3D Element.readAttribute(node, attr);=0A= if (nodeValue =3D=3D=3D null) continue;=0A= if (handler(nodeValue, value)) results.push(node);=0A= }=0A= return results;=0A= },=0A= =0A= pseudo: function(nodes, name, value, root, combinator) {=0A= if (nodes && combinator) nodes =3D this[combinator](nodes);=0A= if (!nodes) nodes =3D root.getElementsByTagName("*");=0A= return Selector.pseudos[name](nodes, value, root);=0A= }=0A= },=0A= =0A= pseudos: {=0A= 'first-child': function(nodes, value, root) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A= if (Selector.handlers.previousElementSibling(node)) continue;=0A= results.push(node);=0A= }=0A= return results;=0A= },=0A= 'last-child': function(nodes, value, root) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A= if (Selector.handlers.nextElementSibling(node)) continue;=0A= results.push(node);=0A= }=0A= return results;=0A= },=0A= 'only-child': function(nodes, value, root) {=0A= var h =3D Selector.handlers;=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= if (!h.previousElementSibling(node) && = !h.nextElementSibling(node))=0A= results.push(node);=0A= return results;=0A= },=0A= 'nth-child': function(nodes, formula, root) {=0A= return Selector.pseudos.nth(nodes, formula, root);=0A= },=0A= 'nth-last-child': function(nodes, formula, root) {=0A= return Selector.pseudos.nth(nodes, formula, root, true);=0A= },=0A= 'nth-of-type': function(nodes, formula, root) {=0A= return Selector.pseudos.nth(nodes, formula, root, false, true);=0A= },=0A= 'nth-last-of-type': function(nodes, formula, root) {=0A= return Selector.pseudos.nth(nodes, formula, root, true, true);=0A= },=0A= 'first-of-type': function(nodes, formula, root) {=0A= return Selector.pseudos.nth(nodes, "1", root, false, true);=0A= },=0A= 'last-of-type': function(nodes, formula, root) {=0A= return Selector.pseudos.nth(nodes, "1", root, true, true);=0A= },=0A= 'only-of-type': function(nodes, formula, root) {=0A= var p =3D Selector.pseudos;=0A= return p['last-of-type'](p['first-of-type'](nodes, formula, root), = formula, root);=0A= },=0A= =0A= // handles the an+b logic=0A= getIndices: function(a, b, total) {=0A= if (a =3D=3D 0) return b > 0 ? [b] : [];=0A= return $R(1, total).inject([], function(memo, i) {=0A= if (0 =3D=3D (i - b) % a && (i - b) / a >=3D 0) memo.push(i);=0A= return memo;=0A= });=0A= },=0A= =0A= // handles nth(-last)-child, nth(-last)-of-type, and = (first|last)-of-type=0A= nth: function(nodes, formula, root, reverse, ofType) {=0A= if (nodes.length =3D=3D 0) return [];=0A= if (formula =3D=3D 'even') formula =3D '2n+0';=0A= if (formula =3D=3D 'odd') formula =3D '2n+1';=0A= var h =3D Selector.handlers, results =3D [], indexed =3D [], m;=0A= h.mark(nodes);=0A= for (var i =3D 0, node; node =3D nodes[i]; i++) {=0A= if (!node.parentNode._counted) {=0A= h.index(node.parentNode, reverse, ofType);=0A= indexed.push(node.parentNode);=0A= }=0A= }=0A= if (formula.match(/^\d+$/)) { // just a number=0A= formula =3D Number(formula);=0A= for (var i =3D 0, node; node =3D nodes[i]; i++)=0A= if (node.nodeIndex =3D=3D formula) results.push(node);=0A= } else if (m =3D formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // = an+b=0A= if (m[1] =3D=3D "-") m[1] =3D -1;=0A= var a =3D m[1] ? Number(m[1]) : 1;=0A= var b =3D m[2] ? Number(m[2]) : 0;=0A= var indices =3D Selector.pseudos.getIndices(a, b, nodes.length);=0A= for (var i =3D 0, node, l =3D indices.length; node =3D nodes[i]; = i++) {=0A= for (var j =3D 0; j < l; j++)=0A= if (node.nodeIndex =3D=3D indices[j]) results.push(node);=0A= }=0A= }=0A= h.unmark(nodes);=0A= h.unmark(indexed);=0A= return results;=0A= },=0A= =0A= 'empty': function(nodes, value, root) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A= // IE treats comments as element nodes=0A= if (node.tagName =3D=3D '!' || (node.firstChild && = !node.innerHTML.match(/^\s*$/))) continue;=0A= results.push(node);=0A= }=0A= return results;=0A= },=0A= =0A= 'not': function(nodes, selector, root) {=0A= var h =3D Selector.handlers, selectorType, m;=0A= var exclusions =3D new Selector(selector).findElements(root);=0A= h.mark(exclusions);=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= if (!node._counted) results.push(node);=0A= h.unmark(exclusions);=0A= return results;=0A= },=0A= =0A= 'enabled': function(nodes, value, root) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= if (!node.disabled) results.push(node);=0A= return results;=0A= },=0A= =0A= 'disabled': function(nodes, value, root) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= if (node.disabled) results.push(node);=0A= return results;=0A= },=0A= =0A= 'checked': function(nodes, value, root) {=0A= for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A= if (node.checked) results.push(node);=0A= return results;=0A= }=0A= },=0A= =0A= operators: {=0A= '=3D': function(nv, v) { return nv =3D=3D v; },=0A= '!=3D': function(nv, v) { return nv !=3D v; },=0A= '^=3D': function(nv, v) { return nv.startsWith(v); },=0A= '$=3D': function(nv, v) { return nv.endsWith(v); },=0A= '*=3D': function(nv, v) { return nv.include(v); },=0A= '~=3D': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + = ' '); },=0A= '|=3D': function(nv, v) { return ('-' + nv.toUpperCase() + = '-').include('-' + v.toUpperCase() + '-'); }=0A= },=0A= =0A= matchElements: function(elements, expression) {=0A= var matches =3D new Selector(expression).findElements(), h =3D = Selector.handlers;=0A= h.mark(matches);=0A= for (var i =3D 0, results =3D [], element; element =3D elements[i]; = i++)=0A= if (element._counted) results.push(element);=0A= h.unmark(matches);=0A= return results;=0A= },=0A= =0A= findElement: function(elements, expression, index) {=0A= if (typeof expression =3D=3D 'number') {=0A= index =3D expression; expression =3D false;=0A= }=0A= return Selector.matchElements(elements, expression || '*')[index || = 0];=0A= },=0A= =0A= findChildElements: function(element, expressions) {=0A= var exprs =3D expressions.join(','), expressions =3D [];=0A= exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) {=0A= expressions.push(m[1].strip());=0A= });=0A= var results =3D [], h =3D Selector.handlers;=0A= for (var i =3D 0, l =3D expressions.length, selector; i < l; i++) {=0A= selector =3D new Selector(expressions[i].strip());=0A= h.concat(results, selector.findElements(element));=0A= }=0A= return (l > 1) ? h.unique(results) : results;=0A= }=0A= });=0A= =0A= function $$() {=0A= return Selector.findChildElements(document, $A(arguments));=0A= }=0A= var Form =3D {=0A= reset: function(form) {=0A= $(form).reset();=0A= return form;=0A= },=0A= =0A= serializeElements: function(elements, getHash) {=0A= var data =3D elements.inject({}, function(result, element) {=0A= if (!element.disabled && element.name) {=0A= var key =3D element.name, value =3D $(element).getValue();=0A= if (value !=3D null) {=0A= if (key in result) {=0A= if (result[key].constructor !=3D Array) result[key] =3D = [result[key]];=0A= result[key].push(value);=0A= }=0A= else result[key] =3D value;=0A= }=0A= }=0A= return result;=0A= });=0A= =0A= return getHash ? data : Hash.toQueryString(data);=0A= }=0A= };=0A= =0A= Form.Methods =3D {=0A= serialize: function(form, getHash) {=0A= return Form.serializeElements(Form.getElements(form), getHash);=0A= },=0A= =0A= getElements: function(form) {=0A= return $A($(form).getElementsByTagName('*')).inject([],=0A= function(elements, child) {=0A= if (Form.Element.Serializers[child.tagName.toLowerCase()])=0A= elements.push(Element.extend(child));=0A= return elements;=0A= }=0A= );=0A= },=0A= =0A= getInputs: function(form, typeName, name) {=0A= form =3D $(form);=0A= var inputs =3D form.getElementsByTagName('input');=0A= =0A= if (!typeName && !name) return $A(inputs).map(Element.extend);=0A= =0A= for (var i =3D 0, matchingInputs =3D [], length =3D inputs.length; i = < length; i++) {=0A= var input =3D inputs[i];=0A= if ((typeName && input.type !=3D typeName) || (name && input.name = !=3D name))=0A= continue;=0A= matchingInputs.push(Element.extend(input));=0A= }=0A= =0A= return matchingInputs;=0A= },=0A= =0A= disable: function(form) {=0A= form =3D $(form);=0A= Form.getElements(form).invoke('disable');=0A= return form;=0A= },=0A= =0A= enable: function(form) {=0A= form =3D $(form);=0A= Form.getElements(form).invoke('enable');=0A= return form;=0A= },=0A= =0A= findFirstElement: function(form) {=0A= return $(form).getElements().find(function(element) {=0A= return element.type !=3D 'hidden' && !element.disabled &&=0A= ['input', 'select', = 'textarea'].include(element.tagName.toLowerCase());=0A= });=0A= },=0A= =0A= focusFirstElement: function(form) {=0A= form =3D $(form);=0A= form.findFirstElement().activate();=0A= return form;=0A= },=0A= =0A= request: function(form, options) {=0A= form =3D $(form), options =3D Object.clone(options || {});=0A= =0A= var params =3D options.parameters;=0A= options.parameters =3D form.serialize(true);=0A= =0A= if (params) {=0A= if (typeof params =3D=3D 'string') params =3D = params.toQueryParams();=0A= Object.extend(options.parameters, params);=0A= }=0A= =0A= if (form.hasAttribute('method') && !options.method)=0A= options.method =3D form.method;=0A= =0A= return new Ajax.Request(form.readAttribute('action'), options);=0A= }=0A= }=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= Form.Element =3D {=0A= focus: function(element) {=0A= $(element).focus();=0A= return element;=0A= },=0A= =0A= select: function(element) {=0A= $(element).select();=0A= return element;=0A= }=0A= }=0A= =0A= Form.Element.Methods =3D {=0A= serialize: function(element) {=0A= element =3D $(element);=0A= if (!element.disabled && element.name) {=0A= var value =3D element.getValue();=0A= if (value !=3D undefined) {=0A= var pair =3D {};=0A= pair[element.name] =3D value;=0A= return Hash.toQueryString(pair);=0A= }=0A= }=0A= return '';=0A= },=0A= =0A= getValue: function(element) {=0A= element =3D $(element);=0A= var method =3D element.tagName.toLowerCase();=0A= return Form.Element.Serializers[method](element);=0A= },=0A= =0A= clear: function(element) {=0A= $(element).value =3D '';=0A= return element;=0A= },=0A= =0A= present: function(element) {=0A= return $(element).value !=3D '';=0A= },=0A= =0A= activate: function(element) {=0A= element =3D $(element);=0A= try {=0A= element.focus();=0A= if (element.select && (element.tagName.toLowerCase() !=3D 'input' = ||=0A= !['button', 'reset', 'submit'].include(element.type)))=0A= element.select();=0A= } catch (e) {}=0A= return element;=0A= },=0A= =0A= disable: function(element) {=0A= element =3D $(element);=0A= element.blur();=0A= element.disabled =3D true;=0A= return element;=0A= },=0A= =0A= enable: function(element) {=0A= element =3D $(element);=0A= element.disabled =3D false;=0A= return element;=0A= }=0A= }=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= var Field =3D Form.Element;=0A= var $F =3D Form.Element.Methods.getValue;=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= Form.Element.Serializers =3D {=0A= input: function(element) {=0A= switch (element.type.toLowerCase()) {=0A= case 'checkbox':=0A= case 'radio':=0A= return Form.Element.Serializers.inputSelector(element);=0A= default:=0A= return Form.Element.Serializers.textarea(element);=0A= }=0A= },=0A= =0A= inputSelector: function(element) {=0A= return element.checked ? element.value : null;=0A= },=0A= =0A= textarea: function(element) {=0A= return element.value;=0A= },=0A= =0A= select: function(element) {=0A= return this[element.type =3D=3D 'select-one' ?=0A= 'selectOne' : 'selectMany'](element);=0A= },=0A= =0A= selectOne: function(element) {=0A= var index =3D element.selectedIndex;=0A= return index >=3D 0 ? this.optionValue(element.options[index]) : = null;=0A= },=0A= =0A= selectMany: function(element) {=0A= var values, length =3D element.length;=0A= if (!length) return null;=0A= =0A= for (var i =3D 0, values =3D []; i < length; i++) {=0A= var opt =3D element.options[i];=0A= if (opt.selected) values.push(this.optionValue(opt));=0A= }=0A= return values;=0A= },=0A= =0A= optionValue: function(opt) {=0A= // extend element because hasAttribute may not be native=0A= return Element.extend(opt).hasAttribute('value') ? opt.value : = opt.text;=0A= }=0A= }=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= Abstract.TimedObserver =3D function() {}=0A= Abstract.TimedObserver.prototype =3D {=0A= initialize: function(element, frequency, callback) {=0A= this.frequency =3D frequency;=0A= this.element =3D $(element);=0A= this.callback =3D callback;=0A= =0A= this.lastValue =3D this.getValue();=0A= this.registerCallback();=0A= },=0A= =0A= registerCallback: function() {=0A= setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);=0A= },=0A= =0A= onTimerEvent: function() {=0A= var value =3D this.getValue();=0A= var changed =3D ('string' =3D=3D typeof this.lastValue && 'string' = =3D=3D typeof value=0A= ? this.lastValue !=3D value : String(this.lastValue) !=3D = String(value));=0A= if (changed) {=0A= this.callback(this.element, value);=0A= this.lastValue =3D value;=0A= }=0A= }=0A= }=0A= =0A= Form.Element.Observer =3D Class.create();=0A= Form.Element.Observer.prototype =3D Object.extend(new = Abstract.TimedObserver(), {=0A= getValue: function() {=0A= return Form.Element.getValue(this.element);=0A= }=0A= });=0A= =0A= Form.Observer =3D Class.create();=0A= Form.Observer.prototype =3D Object.extend(new Abstract.TimedObserver(), {=0A= getValue: function() {=0A= return Form.serialize(this.element);=0A= }=0A= });=0A= =0A= /*-----------------------------------------------------------------------= ---*/=0A= =0A= Abstract.EventObserver =3D function() {}=0A= Abstract.EventObserver.prototype =3D {=0A= initialize: function(element, callback) {=0A= this.element =3D $(element);=0A= this.callback =3D callback;=0A= =0A= this.lastValue =3D this.getValue();=0A= if (this.element.tagName.toLowerCase() =3D=3D 'form')=0A= this.registerFormCallbacks();=0A= else=0A= this.registerCallback(this.element);=0A= },=0A= =0A= onElementEvent: function() {=0A= var value =3D this.getValue();=0A= if (this.lastValue !=3D value) {=0A= this.callback(this.element, value);=0A= this.lastValue =3D value;=0A= }=0A= },=0A= =0A= registerFormCallbacks: function() {=0A= = Form.getElements(this.element).each(this.registerCallback.bind(this));=0A= },=0A= =0A= registerCallback: function(element) {=0A= if (element.type) {=0A= switch (element.type.toLowerCase()) {=0A= case 'checkbox':=0A= case 'radio':=0A= Event.observe(element, 'click', = this.onElementEvent.bind(this));=0A= break;=0A= default:=0A= Event.observe(element, 'change', = this.onElementEvent.bind(this));=0A= break;=0A= }=0A= }=0A= }=0A= }=0A= =0A= Form.Element.EventObserver =3D Class.create();=0A= Form.Element.EventObserver.prototype =3D Object.extend(new = Abstract.EventObserver(), {=0A= getValue: function() {=0A= return Form.Element.getValue(this.element);=0A= }=0A= });=0A= =0A= Form.EventObserver =3D Class.create();=0A= Form.EventObserver.prototype =3D Object.extend(new = Abstract.EventObserver(), {=0A= getValue: function() {=0A= return Form.serialize(this.element);=0A= }=0A= });=0A= if (!window.Event) {=0A= var Event =3D new Object();=0A= }=0A= =0A= Object.extend(Event, {=0A= KEY_BACKSPACE: 8,=0A= KEY_TAB: 9,=0A= KEY_RETURN: 13,=0A= KEY_ESC: 27,=0A= KEY_LEFT: 37,=0A= KEY_UP: 38,=0A= KEY_RIGHT: 39,=0A= KEY_DOWN: 40,=0A= KEY_DELETE: 46,=0A= KEY_HOME: 36,=0A= KEY_END: 35,=0A= KEY_PAGEUP: 33,=0A= KEY_PAGEDOWN: 34,=0A= =0A= element: function(event) {=0A= return $(event.target || event.srcElement);=0A= },=0A= =0A= isLeftClick: function(event) {=0A= return (((event.which) && (event.which =3D=3D 1)) ||=0A= ((event.button) && (event.button =3D=3D 1)));=0A= },=0A= =0A= pointerX: function(event) {=0A= return event.pageX || (event.clientX +=0A= (document.documentElement.scrollLeft || document.body.scrollLeft));=0A= },=0A= =0A= pointerY: function(event) {=0A= return event.pageY || (event.clientY +=0A= (document.documentElement.scrollTop || document.body.scrollTop));=0A= },=0A= =0A= stop: function(event) {=0A= if (event.preventDefault) {=0A= event.preventDefault();=0A= event.stopPropagation();=0A= } else {=0A= event.returnValue =3D false;=0A= event.cancelBubble =3D true;=0A= }=0A= },=0A= =0A= // find the first node with the given tagName, starting from the=0A= // node the event was triggered on; traverses the DOM upwards=0A= findElement: function(event, tagName) {=0A= var element =3D Event.element(event);=0A= while (element.parentNode && (!element.tagName ||=0A= (element.tagName.toUpperCase() !=3D tagName.toUpperCase())))=0A= element =3D element.parentNode;=0A= return element;=0A= },=0A= =0A= observers: false,=0A= =0A= _observeAndCache: function(element, name, observer, useCapture) {=0A= if (!this.observers) this.observers =3D [];=0A= if (element.addEventListener) {=0A= this.observers.push([element, name, observer, useCapture]);=0A= element.addEventListener(name, observer, useCapture);=0A= } else if (element.attachEvent) {=0A= this.observers.push([element, name, observer, useCapture]);=0A= element.attachEvent('on' + name, observer);=0A= }=0A= },=0A= =0A= unloadCache: function() {=0A= if (!Event.observers) return;=0A= for (var i =3D 0, length =3D Event.observers.length; i < length; = i++) {=0A= Event.stopObserving.apply(this, Event.observers[i]);=0A= Event.observers[i][0] =3D null;=0A= }=0A= Event.observers =3D false;=0A= },=0A= =0A= observe: function(element, name, observer, useCapture) {=0A= element =3D $(element);=0A= useCapture =3D useCapture || false;=0A= =0A= if (name =3D=3D 'keypress' &&=0A= (Prototype.Browser.WebKit || element.attachEvent))=0A= name =3D 'keydown';=0A= =0A= Event._observeAndCache(element, name, observer, useCapture);=0A= },=0A= =0A= stopObserving: function(element, name, observer, useCapture) {=0A= element =3D $(element);=0A= useCapture =3D useCapture || false;=0A= =0A= if (name =3D=3D 'keypress' &&=0A= (Prototype.Browser.WebKit || element.attachEvent))=0A= name =3D 'keydown';=0A= =0A= if (element.removeEventListener) {=0A= element.removeEventListener(name, observer, useCapture);=0A= } else if (element.detachEvent) {=0A= try {=0A= element.detachEvent('on' + name, observer);=0A= } catch (e) {}=0A= }=0A= }=0A= });=0A= =0A= /* prevent memory leaks in IE */=0A= if (Prototype.Browser.IE)=0A= Event.observe(window, 'unload', Event.unloadCache, false);=0A= var Position =3D {=0A= // set to true if needed, warning: firefox performance problems=0A= // NOT neeeded for page scrolling, only if draggable contained in=0A= // scrollable elements=0A= includeScrollOffsets: false,=0A= =0A= // must be called before calling withinIncludingScrolloffset, every = time the=0A= // page is scrolled=0A= prepare: function() {=0A= this.deltaX =3D window.pageXOffset=0A= || document.documentElement.scrollLeft=0A= || document.body.scrollLeft=0A= || 0;=0A= this.deltaY =3D window.pageYOffset=0A= || document.documentElement.scrollTop=0A= || document.body.scrollTop=0A= || 0;=0A= },=0A= =0A= realOffset: function(element) {=0A= var valueT =3D 0, valueL =3D 0;=0A= do {=0A= valueT +=3D element.scrollTop || 0;=0A= valueL +=3D element.scrollLeft || 0;=0A= element =3D element.parentNode;=0A= } while (element);=0A= return [valueL, valueT];=0A= },=0A= =0A= cumulativeOffset: function(element) {=0A= var valueT =3D 0, valueL =3D 0;=0A= do {=0A= valueT +=3D element.offsetTop || 0;=0A= valueL +=3D element.offsetLeft || 0;=0A= element =3D element.offsetParent;=0A= } while (element);=0A= return [valueL, valueT];=0A= },=0A= =0A= positionedOffset: function(element) {=0A= var valueT =3D 0, valueL =3D 0;=0A= do {=0A= valueT +=3D element.offsetTop || 0;=0A= valueL +=3D element.offsetLeft || 0;=0A= element =3D element.offsetParent;=0A= if (element) {=0A= if(element.tagName=3D=3D'BODY') break;=0A= var p =3D Element.getStyle(element, 'position');=0A= if (p =3D=3D 'relative' || p =3D=3D 'absolute') break;=0A= }=0A= } while (element);=0A= return [valueL, valueT];=0A= },=0A= =0A= offsetParent: function(element) {=0A= if (element.offsetParent) return element.offsetParent;=0A= if (element =3D=3D document.body) return element;=0A= =0A= while ((element =3D element.parentNode) && element !=3D = document.body)=0A= if (Element.getStyle(element, 'position') !=3D 'static')=0A= return element;=0A= =0A= return document.body;=0A= },=0A= =0A= // caches x/y coordinate pair to use with overlap=0A= within: function(element, x, y) {=0A= if (this.includeScrollOffsets)=0A= return this.withinIncludingScrolloffsets(element, x, y);=0A= this.xcomp =3D x;=0A= this.ycomp =3D y;=0A= this.offset =3D this.cumulativeOffset(element);=0A= =0A= return (y >=3D this.offset[1] &&=0A= y < this.offset[1] + element.offsetHeight &&=0A= x >=3D this.offset[0] &&=0A= x < this.offset[0] + element.offsetWidth);=0A= },=0A= =0A= withinIncludingScrolloffsets: function(element, x, y) {=0A= var offsetcache =3D this.realOffset(element);=0A= =0A= this.xcomp =3D x + offsetcache[0] - this.deltaX;=0A= this.ycomp =3D y + offsetcache[1] - this.deltaY;=0A= this.offset =3D this.cumulativeOffset(element);=0A= =0A= return (this.ycomp >=3D this.offset[1] &&=0A= this.ycomp < this.offset[1] + element.offsetHeight &&=0A= this.xcomp >=3D this.offset[0] &&=0A= this.xcomp < this.offset[0] + element.offsetWidth);=0A= },=0A= =0A= // within must be called directly before=0A= overlap: function(mode, element) {=0A= if (!mode) return 0;=0A= if (mode =3D=3D 'vertical')=0A= return ((this.offset[1] + element.offsetHeight) - this.ycomp) /=0A= element.offsetHeight;=0A= if (mode =3D=3D 'horizontal')=0A= return ((this.offset[0] + element.offsetWidth) - this.xcomp) /=0A= element.offsetWidth;=0A= },=0A= =0A= page: function(forElement) {=0A= var valueT =3D 0, valueL =3D 0;=0A= =0A= var element =3D forElement;=0A= do {=0A= valueT +=3D element.offsetTop || 0;=0A= valueL +=3D element.offsetLeft || 0;=0A= =0A= // Safari fix=0A= if (element.offsetParent =3D=3D document.body)=0A= if (Element.getStyle(element,'position')=3D=3D'absolute') break;=0A= =0A= } while (element =3D element.offsetParent);=0A= =0A= element =3D forElement;=0A= do {=0A= if (!window.opera || element.tagName=3D=3D'BODY') {=0A= valueT -=3D element.scrollTop || 0;=0A= valueL -=3D element.scrollLeft || 0;=0A= }=0A= } while (element =3D element.parentNode);=0A= =0A= return [valueL, valueT];=0A= },=0A= =0A= clone: function(source, target) {=0A= var options =3D Object.extend({=0A= setLeft: true,=0A= setTop: true,=0A= setWidth: true,=0A= setHeight: true,=0A= offsetTop: 0,=0A= offsetLeft: 0=0A= }, arguments[2] || {})=0A= =0A= // find page position of source=0A= source =3D $(source);=0A= var p =3D Position.page(source);=0A= =0A= // find coordinate system to use=0A= target =3D $(target);=0A= var delta =3D [0, 0];=0A= var parent =3D null;=0A= // delta [0,0] will do fine with position: fixed elements,=0A= // position:absolute needs offsetParent deltas=0A= if (Element.getStyle(target,'position') =3D=3D 'absolute') {=0A= parent =3D Position.offsetParent(target);=0A= delta =3D Position.page(parent);=0A= }=0A= =0A= // correct by body offsets (fixes Safari)=0A= if (parent =3D=3D document.body) {=0A= delta[0] -=3D document.body.offsetLeft;=0A= delta[1] -=3D document.body.offsetTop;=0A= }=0A= =0A= // set position=0A= if(options.setLeft) target.style.left =3D (p[0] - delta[0] + = options.offsetLeft) + 'px';=0A= if(options.setTop) target.style.top =3D (p[1] - delta[1] + = options.offsetTop) + 'px';=0A= if(options.setWidth) target.style.width =3D source.offsetWidth + = 'px';=0A= if(options.setHeight) target.style.height =3D source.offsetHeight + = 'px';=0A= },=0A= =0A= absolutize: function(element) {=0A= element =3D $(element);=0A= if (element.style.position =3D=3D 'absolute') return;=0A= Position.prepare();=0A= =0A= var offsets =3D Position.positionedOffset(element);=0A= var top =3D offsets[1];=0A= var left =3D offsets[0];=0A= var width =3D element.clientWidth;=0A= var height =3D element.clientHeight;=0A= =0A= element._originalLeft =3D left - parseFloat(element.style.left || = 0);=0A= element._originalTop =3D top - parseFloat(element.style.top || = 0);=0A= element._originalWidth =3D element.style.width;=0A= element._originalHeight =3D element.style.height;=0A= =0A= element.style.position =3D 'absolute';=0A= element.style.top =3D top + 'px';=0A= element.style.left =3D left + 'px';=0A= element.style.width =3D width + 'px';=0A= element.style.height =3D height + 'px';=0A= },=0A= =0A= relativize: function(element) {=0A= element =3D $(element);=0A= if (element.style.position =3D=3D 'relative') return;=0A= Position.prepare();=0A= =0A= element.style.position =3D 'relative';=0A= var top =3D parseFloat(element.style.top || 0) - = (element._originalTop || 0);=0A= var left =3D parseFloat(element.style.left || 0) - = (element._originalLeft || 0);=0A= =0A= element.style.top =3D top + 'px';=0A= element.style.left =3D left + 'px';=0A= element.style.height =3D element._originalHeight;=0A= element.style.width =3D element._originalWidth;=0A= }=0A= }=0A= =0A= // Safari returns margins on body which is incorrect if the child is = absolutely=0A= // positioned. For performance reasons, redefine = Position.cumulativeOffset for=0A= // KHTML/WebKit only.=0A= if (Prototype.Browser.WebKit) {=0A= Position.cumulativeOffset =3D function(element) {=0A= var valueT =3D 0, valueL =3D 0;=0A= do {=0A= valueT +=3D element.offsetTop || 0;=0A= valueL +=3D element.offsetLeft || 0;=0A= if (element.offsetParent =3D=3D document.body)=0A= if (Element.getStyle(element, 'position') =3D=3D 'absolute') = break;=0A= =0A= element =3D element.offsetParent;=0A= } while (element);=0A= =0A= return [valueL, valueT];=0A= }=0A= }=0A= =0A= Element.addMethods(); ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://quickfacts.census.gov/qfd/scripts/popBox.js var boxOpen =3D false;=0A= function shortLayer( elemId ){=0A= if(boxOpen =3D=3D true){=0A= }else{=0A= boxOpen =3D true;=0A= var divId =3D "div_" + elemId;=0A= if($(divId) !=3D null ){=0A= $(divId).className =3D 'shortLayerDiv';=0A= }else{=0A= var elem =3D $( elemId )=0A= var values =3D Position.cumulativeOffset(elem);=0A= var valLeft =3D values[0] + 20 + "px";=0A= var valTop =3D values[1] - 35 + "px";=0A= var url =3D '/qfd/short/short_' + elem.id + '.html'=0A= new Ajax.Request(url, {=0A= method: 'get',=0A= onSuccess: function(transport) {=0A= new Insertion.After(elem.parentNode, "
" + transport.responseText + "<\/div>")=0A= } }); } } }=0A= =0A= function shortLayerHide( elemId ){=0A= boxOpen =3D false;=0A= var elem =3D $( "div_" + elemId );=0A= elem.className=3D"shortLayerHide";=0A= }=0A= ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://quickfacts.census.gov/qfd/scripts/unlink.js /* unlink.js - remove links from a page if they are self referential=0A= * =0A= * Lou Scoras =0A= * Fri Jan 5 10:00:19 EST 2007=0A= */=0A= =0A= /*=0A= * unlinkSection removes links to the current page from the children of = the=0A= * specified element. The required parameter is the id attribute of the=0A= * element to remove the links from.=0A= */=0A= =0A= function unlinkSection(id) {=0A= var item =3D document.getElementById(id);=0A= var links =3D item.getElementsByTagName("a");=0A= =0A= for (var i=3D0; i < links.length; ++i) {=0A= if (window.location =3D=3D links[i].href) {=0A= var parent =3D links[i].parentNode;=0A= var name =3D links[i].childNodes[0];=0A= var replacement =3D document.createElement("span");=0A= var textNode =3D document.createTextNode(name.nodeValue);=0A= =0A= replacement.appendChild(textNode);=0A= parent.replaceChild(replacement, links[i]);=0A= }=0A= }=0A= }=0A= =0A= ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.census.gov/fsrscripts/triggerParams.js // Customer: ** SAMPLE TEST CODE ** NOT FOR PRODUCTION ** // Version : DHTML Trigger 4.0 function cppUrlPatch(s) { var translated =3D ""; var i;=20 var found =3D 0; for(i =3D 0; (found =3D s.indexOf(':', found)) !=3D -1; ) { translated +=3D s.substring(i, found) + "|"; i =3D found + 1; found++; } translated +=3D s.substring(i, s.length); return translated; } var triggerParms =3D new Array();=20 var excludeList =3D new Array(); var flashTagList=3D new Array(); triggerParms["displayMode"] =3D 1; //0=3Ddisable, 1=3Dpopup then dhtml, = 2=3Dpopup only, 3=3Ddefault dhtml only triggerParms["mid"] =3D "ZhEhop1BMd9kRERtVlQF"; // model instance id triggerParms["cid"] =3D "xlsltg05hAEBs58Y5oFs"; // customer id triggerParms["lf"] =3D 4; // loyalty factor triggerParms["sp"] =3D 1.5; // sample percentage triggerParms["npc"] =3D 1; // no persistent cookies if 1 triggerParms["rw"] =3D 129600; // resample wait (value in minutes) triggerParms["pu"] =3D 0; // pop-under control triggerParms["olpu"] =3D 1; // On Load pop-under control triggerParms["lfcookie"] =3D "ForeseeLoyalty_MID_ZhEhop1BMd"; triggerParms["ascookie"] =3D "ForeseeSurveyShown_ZhEhop1BMd"; triggerParms["width"] =3D 450; // survey width triggerParms["height"] =3D 500; // survey height triggerParms["domain"] =3D ".census.gov"; // domain name triggerParms["omb"] =3D "1505-0186"; // OMB number //triggerParms["cmetrics"] =3D "90010257"; // coremetrics client id triggerParms["visualScienceId"] =3D 0; // enable visual science code if = 1 triggerParms["omnitureId"] =3D 0; // enable omniture code if 1 triggerParms["cpp_1"] =3D "userURL:" + cppUrlPatch = (window.location.href); //triggerParms["cpp_5"] =3D "cpp_name:"+ cppUrlPatch("cpp_value"); //a = placeholder for customer CPP's triggerParms["capturePageView"] =3D 1; //excludeList[0] =3D "/exclude/"; //trigger script will not work under = this path //triggerParms["dcUniqueId"] =3D "TEST04JloZZN0k9cI1Ep5d"; // (22 chars = unique Id for double cookie I/II) //triggerParms["midexp"] =3D 129600; // model instance expiry value triggerParms["rso"]=3D 0; //user has chosen to use Retry Survey Option triggerParms["aro"]=3D 0; //user has chosen to use Auto Retry Option, = with SP=3D100 //triggerParms["rct"]=3D 1; //The maximum number of times allowed to = serve a survey to a user //triggerParms["rds"]=3D 1; //The minimum number of days to wait to = serve a survey repeatedly //triggerParms["mrd"]=3D 1; //The total number of days that a user can = be re-served a survey triggerParms["compliant508"] =3D 1; //508 compliant if 1 //DHTML Parameters triggerParms["dhtmlIndex"]=3D 100; // z-index s/b greater then = client=92s dhtml z-index (if exist) - default 100 triggerParms["dhtmlWidth"] =3D 500; // welcome page width triggerParms["dhtmlHeight"] =3D 290; // welcome page height triggerParms["dhtmlURL"]=3D "/fsrscripts/FSRInvite.html"; //DHTML Positioning //center bottom-center bottom-right bottom-left upper-right = upper-left //x,y =3D (2,150) x,y =3D (2,350) x,y =3D (1.02,350) x,y =3D (60,350) = x,y =3D (1.02,50) x,y =3D (60,50) //replace (x,y) below with any one of the above, default =3D center var x=3D2; var y=3D150; triggerParms["dhtmlLeft"] =3D (self.screen.width - = triggerParms["dhtmlWidth"])/x; //invite page left position**DO NOT = MODIFY** triggerParms["dhtmlTop"] =3D Math.min((self.screen.height - = triggerParms["dhtmlHeight"])/2,y); //invite page top position**DO NOT = MODIFY** //FLASH Parameters - not to be used with other embedded objects e.g. = (.dcr/.mov/.mpeg/.avi/.wma/.wmv/.aam/.rm/.ram) triggerParms["flashDetect"]=3D 0; // check if page has flash embedded = with a valid browser & player ver before showing dhtml - disable if 0 flashTagList[0]=3D "swf"; // flash src check for IE/NE complaint = browsers flashTagList[1]=3D "spl"; // splash src check for IE/NE complaint = browsers flashTagList[2]=3D "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"; = //activeX ID check for IE browsers only triggerParms["inviteDelay"]=3D 1000; // invite timeout in millisecs - = default 1000ms=3D1sec //List of Multiple Survey Vendors - uncomment variables below & add = corresponding SP and URL //var multiVendorSP=3D new Array(); //var multiVendorURL=3D new Array(); //multiVendorSP[0] =3D 0; // sampling percentage for another vendor - = disable if commented //multiVendorURL[0] =3D ""; // absolute path to the third-party script - = disable if commented //Foresee System Paramters triggerParms["captureTriggerVersion"] =3D "STD4.0"; // track latest = trigger version ------=_NextPart_000_004B_01C880FC.30722500 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.census.gov/fsrscripts/stdLauncher.js /************ don't modify below this line ********* ************* Version : DHTML Trigger 4.0 ****** ****** Copyright 2001-2007 ForeseeResults, Inc****/ var popupURL =3D "//www.foreseeresults.com/survey/display"; var FSRImgURL=3D "//www.foreseeresults.com/survey/FSRImg"; var OTCImgURL =3D "//controller.foreseeresults.com/fsrSurvey/OTCImg"; var ckAlreadyShown =3D triggerParms["ascookie"]; /* name of the = persistent/session cookie*/ var ckLoyaltyCount =3D triggerParms["lfcookie"]; /* name of the loyalty = count cookie*/ var fullURL=3Dnull; var myPopUp=3Dnull; var fsr_mac=3Dnull; var fsr_aol=3Dnull; var fsr_opera=3Dnull; var fsr_NS8=3Dnull; /*used in Invite Page to show Note for Netscape 8 = browsers only*/ var fsr_ie=3D0; var flash_version=3D 4; /*supports flash version 4 and above in IE = only*/ var canFlashPlay=3D0; var dcQString=3D""; var cpp_3 =3D ""; var winOptions =3D = "toolbar=3D0,scrollbars=3D1,location=3D0,statusbar=3D0,menubar=3D0,resiza= ble=3D1,width=3D1,height=3D1,top=3D4000,left=3D4000"; var persistentExpires =3D new Date(); /*persistent cookie expiration*/ persistentExpires.setTime(persistentExpires.getTime() + = (triggerParms["rw"]*60*1000)); var detect =3D navigator.userAgent.toLowerCase(); var version=3D navigator.appVersion.toLowerCase(); /* FOR MSIE BASED BROWSERS ONLY - detect Flash Plugin & Version*/ if (detect && detect.indexOf("msie")>=3D0 && (version.indexOf("win") = !=3D -1) && triggerParms["flashDetect"] =3D=3D 1) { fsr_ie=3D1; document.write(' \n'); document.write('on error resume next \n'); document.write('canFlashPlay =3D ( = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & = flash_version)))\n'); document.write(' \n'); } function ForeCStdGetCookie (name) { var arg =3D name + "=3D"; var alen =3D arg.length; var clen =3D document.cookie.length; var i =3D 0; while (i < clen) { var j =3D i + alen; if (document.cookie.substring(i, j) =3D=3D arg) { return ForeCStdGetCookieVal (j); } i =3D document.cookie.indexOf(" ", i) + 1; if (i =3D=3D 0) { break; } } return null; } function fsr_showWindow() { =20 =20 if(myPopUp !=3D null && !myPopUp.closed && fsr_aol=3D=3Dfalse && = fsr_opera=3D=3Dfalse) {return;} =20 var cpp3Str =3D "";=20 cpp_3 =3D "Browser:"+ cppUrlPatch (detect) + ";" + = triggerParms["captureTriggerVersion"]; cpp_3+=3D";dhtml";=09 var pos1 =3D fullURL.indexOf("&cpp_3=3D"); var pos2 =3D fullURL.indexOf("&",pos1+1); if (pos2=3D=3D-1){ fullURL =3D fullURL.substring(0,pos1); }else{ cpp3Str =3D fullURL.substring(pos2,fullURL.length); fullURL =3D fullURL.substring(0,pos1); } =20 fullURL+=3D"&cpp_3=3D"+cpp_3 + cpp3Str; =20 =09 if(document.all && document.all.fsr_window.filters) { eval("document.all.fsr_window").filters.revealTrans.transition =3D = 23 ; eval("document.all.fsr_window").filters.revealTrans.Apply(); eval("document.all.fsr_window").style.visibility =3D 'visible'; eval("document.all.fsr_window").filters.revealTrans.Play(); } else if(document.all) {document.all.fsr_window.style.visibility =3D = 'visible';}=09 else if(document.getElementById) = {document.getElementById("fsr_window").style.visibility =3D 'visible';}=09 } function fsr_hideWindow() { if(document.all && document.all.fsr_window.filters) { eval("document.all.fsr_window").filters.revealTrans.transition =3D 23; eval("document.all.fsr_window").filters.revealTrans.Apply(); eval("document.all.fsr_window").style.visibility =3D 'hidden'; eval("document.all.fsr_window").filters.revealTrans.Play(); } else if(document.all) {document.all.fsr_window.style.visibility =3D = 'hidden';}=09 else if(document.getElementById) = {document.getElementById("fsr_window").style.visibility =3D 'hidden';} } function ForeCStdSetCookie (name, value) { var argv =3D ForeCStdSetCookie.arguments; var argc =3D ForeCStdSetCookie.arguments.length; var expires =3D (argc > 2) ? argv[2] : null; var path =3D (argc > 3) ? argv[3] : null; var domain =3D (argc > 4) ? argv[4] : null; var secure =3D (argc > 5) ? argv[5] : false; document.cookie =3D name + "=3D" + escape (value) + ((expires =3D=3D null) ? "" : ("; expires=3D" + expires.toGMTString())) = + ((path =3D=3D null) ? "" : ("; path=3D" + path)) + ((domain =3D=3D null) ? "" : ("; domain=3D" + domain)) + ((secure =3D=3D true) ? "; secure" : ""); } function ForeCStdGetCookieVal(offset) { var endstr =3D document.cookie.indexOf (";", offset); if (endstr =3D=3D -1) { endstr =3D document.cookie.length; } return unescape(document.cookie.substring(offset, endstr)); } function specialEscape(str) { var translated =3D ""; var i;=20 var found =3D 0; for(i =3D 0; (found =3D str.indexOf('+', found)) !=3D -1; ) { translated +=3D str.substring(i, found) + "%2B"; i =3D found + 1; found++; } translated +=3D str.substring(i, str.length); return translated; } function Pop(){ myPopUp =3D window.open(fullURL, "survey",winOptions); if ( myPopUp!=3Dnull && !myPopUp.closed) { if (triggerParms["pu"] =3D=3D 1){self.focus(); } else { myPopUp.focus(); } } } function getURLParameters(paramName) { var sURL =3D window.document.URL.toString(); =09 if (sURL.indexOf("?") > 0) { var arrParams =3D sURL.split("?"); =09 var arrURLParams =3D arrParams[1].split("&"); =09 for (var i=3D0;i=3D0) ? 1 : 0; var fsr_NS =3D ((detect.indexOf("netscape") >=3D0) || = (detect.indexOf("firefox") >=3D0)) ? 1 : 0; if (fsr_NS) flash_version=3D7; /*Netscape Mozilla supports flash player 7 and = above*/ if (fsr_mac) flash_version=3D8; /*Mac Browsers supports flash player 8 and above*/ /** FOR MOZILLA BASED BROWSERS - detect flash plugin & version **/ var = plugin=3D(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwa= ve-flash"]?navigator.mimeTypes["application/x-shockwave-flash"].enabledPl= ugin:0); if (plugin && = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))= >=3Dflash_version)=20 { canFlashPlay=3D1; } if ((plugin =3D=3D0 || plugin=3D=3Dnull) && !canFlashPlay){ triggerParms["displayMode"]=3D1; } else { /** Skip dhtml invite for the following browsers: ** For Opera ver 7.5 and below and=20 ** All Netscape Browsers with flash ver < 7 ** Mac Browsers with flash 7 and below ** Reason: possible bug in browser or with flash player using wmode ** ** Show Flash for all other browsers with flash >=3D4 ** Supports IE5+,AOL7+,AOLExplorer,MAC,OPERA8+,FF,NS7+ **/ if ((fsr_NS && canFlashPlay) || (!fsr_opera75 && canFlashPlay)){ if (triggerParms["displayMode"] !=3D 2){ return true; } } triggerParms["displayMode"]=3D2; } } } if (triggerParms["displayMode"] >0){ triggerParms["inviteDelay"]=3D 1000; /*overwrite invite timeout to 1 = sec*/ return true; } return false; } function isAlreadyShown(){ /*check if we already have shown survey or OE Scout Tracker has been = closed*/ if (ForeCStdGetCookie(ckAlreadyShown) !=3D null || = (ForeCStdGetCookie("ScoutRunningCheck") !=3Dnull && = ForeCStdGetCookie("ScoutRunningCheck") =3D=3D "ScoutClosed")) return true; return false; } function Poll() {=20 if(triggerParms["displayMode"] =3D=3D 0) { return; } if(currentLocationExcluded()) { return; } var stickyCounter =3D ForeCStdGetCookie(ckLoyaltyCount); /*check = counter cookie*/ var pageCount; var randNum =3D Math.random(); randNum *=3D 100; if (stickyCounter =3D=3D null) { pageCount =3D 1;=20 ForeCStdSetCookie(ckLoyaltyCount, pageCount, = null,'/',triggerParms["domain"]); stickyCounter =3D ForeCStdGetCookie(ckLoyaltyCount); } if (stickyCounter !=3D null) { pageCount =3D stickyCounter; if(pageCount >=3D triggerParms["lf"]) { if(!isAlreadyShown()) { if (triggerParms["rso"] =3D=3D 1 && triggerParms["aro"] =3D=3D 1) { triggerParms["sp"] =3D 100.0; /*Update Sample percentage*/ } if(randNum <=3D triggerParms["sp"]) { fsr_aol=3D ((detect.indexOf("aol") >=3D0) || = (detect.indexOf("america online browser") >=3D0)) ? 1 : 0; fsr_opera =3D (detect.indexOf("opera") >=3D0) ? 1 : 0; fsr_mac=3D (navigator.platform.indexOf("Win32") >=3D 0) ? 0 : 1; fsr_NS8=3D(detect.indexOf("netscape/8") >=3D0) ? 1 : 0; fsr_browser=3D"fsr_nn6"; if(document.all || document.getElementById){=20 fsr_browser =3D "fsr_ie"; } if(document.layers) { fsr_browser =3D "fsr_nn"; } =20 fullURL =3D popupURL + "?" + "width=3D" + triggerParms["width"] +=20 "&height=3D" + triggerParms["height"] + "&cid=3D" + specialEscape(escape(triggerParms["cid"])) + "&mid=3D" = + specialEscape(escape(triggerParms["mid"])); if ((triggerParms["omb"] ) !=3D null) { fullURL +=3D "&omb=3D" + escape(triggerParms["omb"]); } if ((triggerParms["cmetrics"] ) !=3D null) { fullURL +=3D "&cmetrics=3D" + escape(triggerParms["cmetrics"]); } if (triggerParms["olpu"] =3D=3D 1) { fullURL +=3D "&olpu=3D1"; } if ((triggerParms["dcUniqueId"]) !=3D null) { fullURL +=3D "&dcUniqueId=3D" + = escape(triggerParms["dcUniqueId"]); } if (triggerParms["rso"] =3D=3D 1) { fullURL +=3D "&rso=3D1&rct=3D" + triggerParms["rct"] + "&rds=3D" + = triggerParms["rds"] + "&mrd=3D" + triggerParms["mrd"] + "&rws=3D" + = triggerParms["rw"]; } if ((triggerParms["midexp"] ) !=3D null) { fullURL +=3D "&ndc=3D1&fsexp=3D5256000&midexp=3D" + = triggerParms["midexp"]; } if (triggerParms["capturePageView"] =3D=3D 1) { triggerParms["cpp_2"] =3D "PageView:"+ pageCount; /*customer = parameter 2 - Page View*/ } triggerParms["cpp_3"] =3D "Browser:"+ cppUrlPatch (detect) + = ";" + triggerParms["captureTriggerVersion"] +";normal"; =09 =09 if (triggerParms["visualScienceId"] =3D=3D 1) { setVisualSciencesId(fullURL); } if (triggerParms["omnitureId"] =3D=3D 1) { setOmnitureId(fullURL); } =09 var customerParams =3D ""; for(paramKey in triggerParms) { if(paramKey.substring(0,3) =3D=3D "cpp"){ fullURL +=3D "&"+ paramKey + "=3D" + = escape(triggerParms[paramKey]); } } if (triggerParms["rso"] !=3D 1) { if(triggerParms["npc"] =3D=3D 1) { ForeCStdSetCookie(ckAlreadyShown, = 'true',null,'/',triggerParms["domain"]); } else { ForeCStdSetCookie(ckAlreadyShown, 'true', = persistentExpires,'/',triggerParms["domain"]); } } =09 /*for AOL and Opera users - show DHTML (by default) because = their PopupBlocker behaves differently*/ if (fsr_aol=3D=3Dfalse && fsr_opera=3D=3Dfalse) { if (triggerParms["displayMode"]=3D=3D1 || = triggerParms["displayMode"]=3D=3D2){=20 myPopUp =3D window.open(fullURL, 'survey',winOptions); } } =09 /** detect flash with valid browser and player version**/ if (fsr_browser !=3D "fsr_nn" && isValidFlash() && = triggerParms["displayMode"] !=3D2) { if (fsr_NS8) triggerParms["dhtmlHeight"] =3D = triggerParms["dhtmlHeight"] + 15; document.write("
" + "
"); /*DC I/II verification*/ if (triggerParms["rso"] =3D=3D 1) { dcQString =3D "rso=3D1&rct=3D" + triggerParms["rct"] + "&rds=3D" = + triggerParms["rds"] + "&mrd=3D" + triggerParms["mrd"] + "&rws=3D" + = triggerParms["rw"]; if(triggerParms["dcUniqueId"]!=3Dnull) { dcQString +=3D = "&dcUniqueId=3D" + specialEscape(escape(triggerParms["dcUniqueId"])); } } if ((triggerParms["midexp"] ) !=3D null) { dcQString =3D "ndc=3D1&midexp=3D" + triggerParms["midexp"] + = "&mid=3D" + specialEscape(escape(triggerParms["mid"])); if(triggerParms["dcUniqueId"]!=3Dnull) { dcQString +=3D = "&dcUniqueId=3D" + specialEscape(escape(triggerParms["dcUniqueId"])); } } =09 /*Failover Check*/ surveyProcessCont =3D 1; =09 newDt =3D new Date(); currTime=3D newDt.getTime(); /*in millisecs*/ OTCImg =3D new Image(); OTCImg.src =3D null; OTCImg.onerror =3D otcErrorProc; OTCImg.onload =3D otcOnloadProc; OTCImg.src =3D OTCImgURL + "?protocol=3D" + = window.location.protocol + "&uid=3D"+ currTime; /*for NE/FF Cache Fix*/ } =09 if(myPopUp !=3D null && !myPopUp.closed) { if (triggerParms["pu"] =3D=3D 1){ self.focus(); } else { myPopUp.focus();} } }=09 } } =09 pageCount++; ForeCStdSetCookie(ckLoyaltyCount, pageCount, = null,'/',triggerParms["domain"]); =09 } } function isGoogleSponsoredLink(pageURL, sParam) { if (pageURL.toLowerCase().indexOf(sParam.toLowerCase()) >=3D0){ return true; } return false; } ------=_NextPart_000_004B_01C880FC.30722500--