From: Subject: =?Windows-1252?Q?Governor_will_sign_Takko=92s_bill_strengthening_state=92?= =?Windows-1252?Q?s_timber_industry_:_House_Democrats_Newsroom?= Date: Tue, 30 Mar 2010 09:04:11 -0700 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CACFE7.F69E1270" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://newsroom.housedemocrats.wa.gov/dean-takko/governor-will-sign-takko-rsquo-s-bill-strengthening-state-rsquo-s-timber-industry/ =EF=BB=BF Governor will = sign Takko=E2=80=99s bill strengthening state=E2=80=99s timber industry = : House Democrats Newsroom

Governor will sign Takko=E2=80=99s bill strengthening = state=E2=80=99s timber industry

Tuesday, March 23 2010 - Dean = Takko

Three aims: Measure targets jobs, revenue, and=20 conservation

OLYMPIA =E2=80=93 Although the Legislature still has 2010 work = to do, a key=20 timber bill has navigated the state-capital obstacle course with nary a = single=20 opposing vote.

State Rep. Dean Takko pointed out that his = prime-sponsored House=20 Bill 2541 directs the state Department of Natural Resources to write = landowner-conservation proposals that support forest landowners. The = proposals=20 must be submitted by Dec. 31, 2011.

Both the House of Representatives and the Senate unanimously passed = Takko=E2=80=99s=20 measure in this year=E2=80=99s regular legislative session. The governor = is poised to=20 sign the bill, which will provide conservation incentives defending = timber jobs,=20 public resources, and private, working forestland.

Takko said the legislation creates a collaborative approach to = balance job=20 protection with protecting the environment.

=E2=80=9COur state has lost 16 pulp mills just in the past five = years,=E2=80=9D said the=20 Longview Democrat, who represents southwestern Washington=E2=80=99s 19th = Legislative=20 District. =E2=80=9CWe=E2=80=99ve seen thousands of workers thrown out of = a job. We need to help=20 private foresters maintain land and continue to move wood products.

=E2=80=9CThis bill looks both to keep the timber industry = economically viable and to=20 explore opportunities for protecting the environment.=E2=80=9D

State Rep. Lynn Kessler, D-Hoquiam (24th = Legislative=20 District), who co-sponsored the bill with Takko, says many rural = communities are=20 dependent on a healthy forest-products industry.

=E2=80=9CTimber dollars support small businesses; they support local = schools,=E2=80=9D=20 Kessler said. =E2=80=9CWhen the industry is stable, these communities = thrive.=E2=80=9D

Mark Doumit, Executive Director of the Washington Forest = Protection=20 Association, said that =E2=80=9Cwe greatly appreciate Representative = Takko=E2=80=99s leadership=20 on this legislation.

=E2=80=9CHe and other legislators recognize that in order for working = forests to=20 continue to protect our environment and provide tens of thousands of = jobs in our=20 state, we need to focus on ways to make owning forestland economically = viable,=E2=80=9D=20 Doumit continued. =E2=80=9CThe alternative is conversion and permanent = loss of those=20 lands.=E2=80=9D

The forest-products industry is Washington's second largest = manufacturing=20 sector, providing nearly 45,000 direct jobs and almost 100,000 indirect=20 jobs.

Takko said the legislation recognizes that =E2=80=9Ca vibrant and = working forest-land=20 base produces multiple conservation values for the public, as well as = jobs and=20 public revenue.

=E2=80=9CSustainable forestry practices will help preserve = Washington=E2=80=99s natural=20 landscapes and ecosystems by keeping forestry as a priority land = use,=E2=80=9D he=20 said.

The bipartisan legislation also promotes development of conservation=20 incentive proposals that support forest landowners in maintaining their = land in=20 forestry.

Takko=E2=80=99s bill recognizes the importance of emerging ecosystem = services markets=20 and places emphasis on accessing capital to finance ecosystem services. = The=20 legislation also requires the Department of Natural Resources to develop = a=20 report on conservation incentives which protect, restore and maintain = the=20 ecological values that the public enjoys, such as recreation, clean = water,=20 renewable energy, carbon storage and habitat for fish and wildlife.

The department=E2=80=99s report will be developed in consultation = with the Forest=20 Practices Board, Indian tribes, small forest landowners, conservation = groups,=20 industrial foresters and state, federal and local government. Proposals = must be=20 presented to the governor and Legislature by Dec. 31, 2011.

The Association of Western Pulp and Paper Workers also supported the = bill in=20 committee testimony.

=

Questions, comments or ideas about this website? Please email the=20 webmaster.

The information on these pages was created = by House=20 staff for legislative purposes and is a historical record of legislative = events=20 and activities. None of this material is intended to either directly or=20 indirectly assist any campaign for office or ballot proposition. RCW = 42.52.180=20 prohibits the use of public resources for campaign purposes.=20
------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://housedemocrats.wa.gov/common_files/topimage-lucas760b.gif R0lGODlh+AI5AIcAAAAAAAAAcgAgYHIAAHIAcnJycgAAmwByugBwwABwzQBw13IAm01jkGh7oXJw wHJw1wCbmwCb1ACV4gCw7ACw8HKbm3yMrXKVwHK66k3I9GjQ9nLI9nzW95sAAJsAcrpyAJtwwNSb ANS6cuq6coybt5qnwJuwwJuw17qVwKeyyLK8z7rUuozb+JvU6pvU/5vc9prf+Zvc/73F1rrq1Kfj +brq6rLn+rrq/7ru/73q+9Sbm9SwwNTUm9Tquv/Um+rquv/qusfO3NTc19DW4dnd58ft+9Tu4tT/ 6tDw/NT/9tT//9nz/OrIzerc1//c1+r/1P//1OHl7Oru4unr8eH1/en4/er////u4v//6v//7PDy 9vD6/v//9v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAP8ALAAAAAD4AjkA AAj/ALsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSJMqXcq0qdOnUKNKnUq1qtWrWLNq3cq1q9evYMOK HUt2LBACNwZC6XDAysARBpQwDBHBoI+4EtcC2MsXQF2MOuTelWtxRN+9LsoqXsy4sWOFZ9MKNNxW 4FoMDLF8wOwRLuGMIyqHdmuR7uPTqFOr5hrZcocCeLt4Zrg2sUfTG01r5lxx9+rfwIMLHwpkgO3Q IvBe7qIXQGUoHmZ0CLACLfPpN2qfrfEBQADJegNw/7dNcLnaDnsrX/c+fr1zK5rTP+nQojsA282f R8devgP5/um5BZ103w1n4IEIJmhRbV0U58JgssVVHGaa1VUcXoOt9VdkPniXVghtOdjgAAUWJKJA E3ZR4YiJFfddiiu25mJao8H4gYUDxEZQayYOQOGNI+qo4JBEFqkggyBa4cN3l60o0GBLShbafH91 MdgIJdLlZBchCPlkiVvedQSQAnWpBG5WxgVhlJO1hSaUJRbU4WERhKlmnEbmqeeej10mYpSe8dgg WmiGAAF/k9WF226CjmaQo4NKNmh1kob2wwCHxeUopHQVl+mZVRYE6UCCRoYmn6imqipXuyU5qHQt Lv/wmZibCRRffX/t5tt1LgAh60Ah8DbQlr7OakAPv5aJQbEGBatirdctm+yw0Ba0JanT0irsqtx2 6+1SmlVg3YgFVMZjhQzymqZctaUbGY8n9sfbuTfCa5ygriXmLlr4qmuQeTuOi65/3xZs8ME/xVel p7Y5aSazkar77riDrbgWnigaR+1fZlqMnZMd9modjxWTGTLEPf5nK5kPTwsSBTAfBDMFCyEBQwYw awADEgvNLHPMCdmMMwUa0ECFQjMnrTTNCDft9E6axbmWeu5V5oN6V5OWZNZZtykgegbw4OW6AL7n GgBhK4ce2nLFhwGEsj23NoZUE8Tmv2tbXfdHPhv/1PdBVXCwNMwcbJHQ3wQhXhANg1Ngw+GNJ/30 5JSXdWppoWqluECbC7TF0I1nYPjPTBfUeRc5RE7BEgipfnrlsMf+lKPxSkS7xl11fjoLM9tQhUBV pA4zC60DbbrxBWkAMw2jBz588aXLLv30VcWHmEXW3/eV7sgPtMTMrBdUxcxH+9095+ejH30XW5z+ OvXwxy+/StyvLxDjFNCAkA3Lk+7/QcqjAAvC15D3ze+ACExgRup3EMFRoHwGoQLh/nc8+wlEeDDL AAyK8DukpU+BIAyhCBniuvS9j4Hms6BAeLc0DfAMepEbYfyGkAILCOCGAiCBCqbAkCjg8IY8TIgP /3HYAIIM8YdITOINi6gQJC6EBD8U4g9JkBAGIDEFEAlCCRowRRUQYSFHFAATpUhEI/5wjF0IowCC iJAwovEgQyiBDXFIghQMQSFaUKIek/hGgtBwjjfUIRvJiMNBGsSNiSshBRc5EBQiBAkBVJr+SBdD GcpOCynYYyANWZAgXFEhnsQhFgcSSk0qcZQJcWJChqDKg0ARh3c8SCaRSMWGyMCUDfgiQkopgBIs hJe+JOUPUdkFXgqAmAbhJTIHgklTCkAFCGGlM/W4zGZqkgScJIgxl6nNYSbSdYysYDi7YMAuVKEI N0taDijZOEvGLghWnGYsD1ICJDJAIbO8YRAIUv/PaSJxnghp5UHiWciDIPIgeVRiQwBpSmjS84f7 VEg/9clPiFb0h/dMSD4FENFO+lOMnNzoR28I0GIS1JQlvSgOM4qQjXaUnCZMXwAhWBAJUoAD4ywn QarAQg2M052xE6kzUyoQLiLxpQUxKhAJotSRamEhTU2ICpIYhYfiEKkDmSgSnyrRkWK1C02tqkLC ytQfDrKpFEVIU0M6UgEwgKsDQatTCSJUlKo1iV8tqlm/OU78TdIgfj3I0MY5tNGJM4VAhZ9QUyDW NAo1m0rs40AE2gXKWuSVN0TIFJTYWGZitI177OwhkSiDxk5BBicVAFwnG8WFUPa1fExla+lqzxT/ 6LILWhgCWmvp2tniM4mMHUgUHnuQyMoWh4dNLkG+B7MXEgQJ5DsIC4tQEOgK8CAwgBkMDDK+mKow sU+75Q8tsFrhnpS3AyGCHkUrEPXSkSDuDeRGMCsAhDAUh+zdqEMNQl/SdvWqB5nCSffb3ikuJL45 hK+B07vegyAYvV0QLw6DKUsk3ha0OLQAQyR8Q/Ia9LwGQfAP2duFByu3kR90YP46WAX8Xfcg/KNA BpyLhKH99bkzg0EHu1Bj7f4UvE3b7HgVokZDcviHFCYIhwm85Pn6VpicLUhCcVjeAiPZm1V8sh+H rOQfEvggTR5ImAVy5AmD2ctmtKhC6JvkM4ty/yFCzjCRkWhkPbaZzGjmK2IBB7rBiQ4hn1PdjgvC wsgNGsXgBHLB6CvZgui3IP39YZXpe2H6EpUi9B0oEX8oA0dj2SBNLUEYIVyQrcqWASSAsKWf+EOA UpogkaYyf39Y6U8nZLMWIEEJOv3ftCaE0Qx5NKz3OGlan1h9CXHe4Dhw6Or2OWnObWDoov1N1Sn6 W2okcUFMTBBactogJ12tqTWSaU/D8tueHTEcTW3ZbiN5IuM+7g3FLWl30xHdBAm3cM/okbXOWd0H XjBr741DXue73no+dnXTKeOdNWQLNFBx0QwbNIYL0AYUr6C1r92tjd45oL6NsxgRzFKBiByNIv8v OUbKve8yEtTgXdgoqQVy0lHq275IbMClNftZhaScICcH+hlJXpCgD2TVHJlyZn9r5oYI9OREF3oZ OU71niBR2wYRqDRv6MumAnTrvdxy0zUyVeSWFZZdwCzM/+nmG7KUvlgvsxhhrhCwtzXJYMf7u70u dq6n2+0e4ba8BYD1Uvs272Btdd/DXvXG4wTBGnaIQF0aYYF3oew3hHldcekQDnd56pjdL4clq4WT GhzzAqB7UveYgiqbu62Zp23BZU9RDqMX9QZHfEfG7GAuO923lLc9QXDv+OLXhPiS9y1DxUrngSyf IPedJjfbXl+BlF7xaX8vzdX8erd28823Ti3/LV0vkOh/tLPPdz7Am19+gMec+3/fI6txeGGDIP/3 Zm8/fgXC/i6k3/gA+BJw5xCjZm9L937gV1lPBnsCsHMF4XkCoVVjhFm1xGEqZ31s13LytRBapUSq x38MeIAgmH8jeIAbhUoCNYAFYXdJFHmDR34CoYI9ZHmtdIIDJ4IBmIMqcXMMgXqoVIACoUZB6Htp xIAw+ICtJWLzNFG1NGCuxG+GR4JCtHk3tExh5IIY1mFppoUamGBD2FpXaIDV132n5HM9l2Wy1hA+ 2IW8JYRFKGc6GIcp0W53hXZ4hkMExlD7xHscNn0VAYFNhUYSRkVHVmXZBm4IxxBaoALid0Oi/8V7 1EdMfJhn+ld7lKiAUqhXmpRXAqF7g/cQfHeHN5SHFgWJXZAFIIAAqqiKEkAaqLiKq6gASvCKCLAB AsEFKKCKE0AQOwCLMWAQvaiKsigQtAiLtkgQr3iMt5iLsKiLAxGMtSiHREKHo+VbSNeJ/KZVroZ9 G+F5RwZQEnZPNfeE2gdp7ucQupVEbXaNCKGNw2aHMciNXQB2ReSONziGUHWOBrFRHyiGBJiC8kiP XWCPyJiKzTiMxRiLs2iQrXiKBrmLDtmMCACREdmMv5iQq/iLA+EErEgaXYCLEjmRAgGNqqiM0ngg 1GiOY9cFPLh99NdUq3VS2WQRYSRyXihmrf92dQbBgs7Uj790UionkwshlAPRki3JkrQGk/6Ifzho EP8HcpmIEGx2cGlYlEmZiAOBisMYkbaolZ+RlSCQABcwjBzpjF3Qi1tZlhrZiw35iq3olQPBBCK5 jApgAgigkQUhlyaJigmAA10glw15kgfyamCkkxi4UvY3XmeIW4upEaNmmDi5aeV4diPlhwthdwSh dBcoZYupmZnZmJenmIgJffpoUJZXXFo2a/Q3g+7nmQWBegy1mXApEFfgAG8JAltZkHV5l2eJACcg knzpl3EJnLj5GVfwAHIxm13AkYFZmxPgnAehlwUZjYI5JKg3c6s3mWBHakpHS4uHnTS5R6T/xpMk lUwMqGokEE+9RYLbeZmW154DAZ+fqUcQRnkLYYpbKEY9eJoH0VToJZ/x550GoZxeiZHEqQBCUIu4 iKAiyZwe2QW1KYu1GZgFoZy9SJFyGQO42JcGIZ28mJHVmSA2WX8FEZurdX8q5V8DgaKOGVrVGFuI yIBR6IgJoXS3h28IgaI6iqNZpUd0J5AcKI8G0YcMMaIKYaLDx6MR6KMHQaBhiQMGuotaaQS2KQW2 2QQNigAU6pCy6KBNapCwyKFcKhccaZIC4aEDAZKqKKYhOhxNxQAkNgX3VVJPyWBRpn6r2RFqNJld CH+i6H0K0ZJT2Y7wV6dOaWx4SqOJSni9/3enVOl3miVSM7mkAMYQbxqnc1qipVliDTagxQmWfamc YKkASYACDLoBHLmLXjoQEaoEq1qhYNqRGymRW/qX1FkQtSmMX9mmv7GnwdVei5V1qamJsBWVGLGn iloQyHqB3emT8bh/8UlLQwBXucVQb5SSJYiPmIiD1ChX2oqNZxQEbBQFMmB++QithXlFjUUEwTqj 3xpXCvWludmqokqMxQmNMZCqDsmmtiqlT8qqyDmmvcmmJAmiBIGmBlGb/MqrvyF3mvRlb8iFB2FM AoCFyDpNjRZgSoSdyAqxG5WxK8qj5qdJg3RQhKSfXWixROhRSISFtDdS4JmtD+GwewSxYf+4Sy2I ELMJkl35qbDapbqqrwMrnGo5klrqFiB5m1uJlsnps8s5l8Npkl4anAw7HDRrTyRaTLYmrLZGsf5k mVy7qYyZROVlkw4oEMpUdN6qRHDKslX4S10btwmImlubotNEAoUneLbkTwyQtWk7eMeks7GqqxVp kV6Zq60otFEKlhJ5kT77irsolxS5r8J5prdauLJatcIRBWvrdj6pVZyIgJVKqbB3tu56k3Q7t88q sf+2gQ/YiFNUZaAbpKM7kPA3uxp1VKAEu2ekAkf4pxALRp3rVp/rp2SYVxhJkQZ6l17Js087uSSJ l8+okPaam2X5Arkovb1pkgj7kcx4tJp2eyDsSl91lLWUuUZmuFfwaoQQQVVNBJlfiK7r2ZTxmQLp SUQkIAPk529jpb7Eir7ru1S31n+rZL8YVUdB8LvvWJ4SMb5TZFvnKsA857/hW8EWfMEYnMEavMEc 3MEe/MEgHMIiPMIkXMImfMIonMIqvMIsDBMBAQA7 ------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://housedemocrats.wa.gov/common_files/superfish760.css .sf-menu { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: = 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none } .sf-menu * { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: = 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none } .sf-menu { MARGIN-LEFT: 0px; LINE-HEIGHT: 0.2 } .sf-menu UL { WIDTH: 20em; POSITION: absolute; TOP: -999em } .sf-menu UL LI { WIDTH: 100% } .sf-menu LI:hover { VISIBILITY: inherit } .sf-menu LI { FONT-SIZE: 10pt; FLOAT: left; WIDTH: 9.47em; FONT-FAMILY: arial, = sans-serif; POSITION: relative; TEXT-ALIGN: left } .sf-menu A { DISPLAY: block; POSITION: relative } .sf-menu LI:hover UL { Z-INDEX: 99; LEFT: 0px; TOP: 1.8em } .sf-menu LI.sfHover UL { Z-INDEX: 99; LEFT: 0px; TOP: 1.8em } UL.sf-menu LI:hover LI UL { TOP: -999em } UL.sf-menu LI.sfHover LI UL { TOP: -999em } UL.sf-menu LI LI:hover UL { LEFT: 20em; TOP: 0px } UL.sf-menu LI LI.sfHover UL { LEFT: 20em; TOP: 0px } UL.sf-menu LI LI:hover LI UL { TOP: -999em } UL.sf-menu LI LI.sfHover LI UL { TOP: -999em } UL.sf-menu LI LI LI:hover UL { LEFT: 10em; TOP: 0px } UL.sf-menu LI LI LI.sfHover UL { LEFT: 10em; TOP: 0px } .sf-menu { FLOAT: left; MARGIN-BOTTOM: 1em } .sf-menu A { PADDING-RIGHT: 1em; BORDER-TOP: #cfdeff 1px solid; PADDING-LEFT: 1em; = PADDING-BOTTOM: 0.75em; BORDER-LEFT: #fff 1px solid; PADDING-TOP: = 0.75em; TEXT-DECORATION: none } .sf-menu A { COLOR: #000000 } .sf-menu A:visited { COLOR: #000000 } .sf-menu LI { BACKGROUND: #4682b4 } .sf-menu LI LI { BACKGROUND: #6183a6 } .sf-menu LI LI LI { BACKGROUND: #9aaedb } .sf-menu LI:hover { BACKGROUND: #cfdeff; outline: 0 } .sf-menu LI.sfHover { BACKGROUND: #cfdeff; outline: 0 } .sf-menu A:focus { BACKGROUND: #cfdeff; outline: 0 } .sf-menu A:hover { BACKGROUND: #cfdeff; outline: 0 } .sf-menu A:active { BACKGROUND: #cfdeff; outline: 0 } .sf-menu A.sf-with-ul { PADDING-RIGHT: 2.25em; MIN-WIDTH: 1px } .sf-sub-indicator { DISPLAY: block; RIGHT: 0.75em; BACKGROUND: = url(/common_images/arrows-ffffff.png) no-repeat -10px -100px; OVERFLOW: = hidden; WIDTH: 10px; TEXT-INDENT: -999em; POSITION: absolute; TOP: = 1.05em; HEIGHT: 10px } A > .sf-sub-indicator { BACKGROUND-POSITION: 0px -100px; TOP: 0.8em } A:focus > .sf-sub-indicator { BACKGROUND-POSITION: -10px -100px } A:hover > .sf-sub-indicator { BACKGROUND-POSITION: -10px -100px } A:active > .sf-sub-indicator { BACKGROUND-POSITION: -10px -100px } LI:hover > A > .sf-sub-indicator { BACKGROUND-POSITION: -10px -100px } LI.sfHover > A > .sf-sub-indicator { BACKGROUND-POSITION: -10px -100px } .sf-menu UL .sf-sub-indicator { BACKGROUND-POSITION: -10px 0px } .sf-menu UL A > .sf-sub-indicator { BACKGROUND-POSITION: 0px 0px } .sf-menu UL A:focus > .sf-sub-indicator { BACKGROUND-POSITION: -10px 0px } .sf-menu UL A:hover > .sf-sub-indicator { BACKGROUND-POSITION: -10px 0px } .sf-menu UL A:active > .sf-sub-indicator { BACKGROUND-POSITION: -10px 0px } .sf-menu UL LI:hover > A > .sf-sub-indicator { BACKGROUND-POSITION: -10px 0px } .sf-menu UL LI.sfHover > A > .sf-sub-indicator { BACKGROUND-POSITION: -10px 0px } .sf-shadow UL { PADDING-RIGHT: 8px; PADDING-LEFT: 0px; BACKGROUND: = url(/common_images/shadow.png) no-repeat right bottom; PADDING-BOTTOM: = 9px; PADDING-TOP: 0px; -moz-border-radius-bottomleft: 17px; = -moz-border-radius-topright: 17px; -webkit-border-top-right-radius: = 17px; -webkit-border-bottom-left-radius: 17px } .sf-shadow UL.sf-shadow-off { BACKGROUND: none transparent scroll repeat 0% 0% } UL#member-menu LI { BACKGROUND: #9aaedb } UL#member-menu A:focus { BACKGROUND: #4682b4; outline: 0 } UL#member-menu A:hover { BACKGROUND: #4682b4; outline: 0 } UL#member-menu A:active { BACKGROUND: #4682b4; outline: 0 } ------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://housedemocrats.wa.gov/common_files/hdc_styles_2009.css BODY { FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f0f8ff; = TEXT-ALIGN: center } .bodytext { FONT-SIZE: 0.8em; FONT-FAMILY: Arial, sans-serif; TEXT-ALIGN: left } .caption { FONT-SIZE: 1em; COLOR: #003366; FONT-STYLE: italic; FONT-FAMILY: Arial, = Verdana, sans-serif } .date { FONT-SIZE: 0.8em; WIDTH: 760px } .emphasis { FONT-WEIGHT: bold; FONT-SIZE: 1.3em; COLOR: #59001f; FONT-FAMILY: = Arial, sans-serif } .espanol { FONT-SIZE: 0.75em; FLOAT: right; COLOR: #000066; FONT-FAMILY: Arial, = Verdana, sans-serif } .headline { CLEAR: both; FONT-WEIGHT: bold; FONT-SIZE: 1.5em; COLOR: #224918; = FONT-FAMILY: Helvetica, Arial, sans-serif } .large_text { FONT-WEIGHT: bold; FONT-SIZE: 1.5em; FONT-FAMILY: Arial, sans-serif } .News_Headline { FONT-WEIGHT: normal; FONT-SIZE: 1em; TEXT-TRANSFORM: none; FONT-STYLE: = normal; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: = underline } .pictcell { FONT-WEIGHT: bold; FONT-SIZE: 0.75em; WIDTH: 350px; FONT-FAMILY: Arial, = sans-serif; HEIGHT: 130px; TEXT-ALIGN: left } .printfriendly { FONT-SIZE: 1em; COLOR: #0000ff; FONT-FAMILY: arial,sans-serif } .sf-menu UL { FONT-SIZE: 1.25em } .smallbox { BORDER-RIGHT: #6d1400 1px dotted; PADDING-RIGHT: 4px; BORDER-TOP: = #6d1400 1px dotted; PADDING-LEFT: 4px; FONT-SIZE: 1em; PADDING-BOTTOM: = 4px; BORDER-LEFT: #6d1400 1px dotted; PADDING-TOP: 4px; BORDER-BOTTOM: = #6d1400 1px dotted; FONT-FAMILY: Arial, sans-serif } .subheading { FONT-WEIGHT: bold; FONT-SIZE: 1.3em; COLOR: navy; FONT-STYLE: italic; = FONT-FAMILY: Helvetica, Arial, sans-serif } .textsig { FONT-WEIGHT: bold; FONT-SIZE: 1.5em; COLOR: #000080; FONT-STYLE: = italic; FONT-FAMILY: Georgia, serif } .mediaplayer { FONT-SIZE: medium; BACKGROUND: = url(../media/mediaplayer_background_blue.gif) black no-repeat left top; = MARGIN: 0px } .mediaplayer_large { FONT-SIZE: small; BACKGROUND: = url(../media/mediaplayer_background_blue_large.gif) black no-repeat left = top; MARGIN: 0px } .mediaplayer_large P { FONT-SIZE: small; COLOR: #ffffee; FONT-FAMILY: Arial, sans serif } .mediaplayer_large A { COLOR: #ffffee; FONT-FAMILY: Arial, sans serif; TEXT-DECORATION: = underline } .mediaplayer P { FONT-SIZE: medium; COLOR: #ffffee; FONT-FAMILY: Arial, sans serif } .mediaplayer A { COLOR: #ffffee; FONT-FAMILY: Arial, sans serif; TEXT-DECORATION: = underline } .mediaplayer_videoupdate { FONT-SIZE: small; BACKGROUND: = url(../media/mediaplayer_background_blue_videoupdate.gif) black = no-repeat left top; MARGIN: 0px } .mediaplayer_videoupdate P { FONT-SIZE: small; COLOR: #ffffee; FONT-FAMILY: Arial, sans serif } .mediaplayer_videoupdate A { COLOR: #ffffee; FONT-FAMILY: Arial, sans serif; TEXT-DECORATION: = underline } SPAN#pictureboxcaption { FONT-SIZE: 9pt; FONT-FAMILY: arial,sans-serif } IMG#topimage { MARGIN-LEFT: 0px; WIDTH: 760px; MARGIN-RIGHT: auto } DIV.container { CLEAR: both; MARGIN-LEFT: auto; WIDTH: 760px; MARGIN-RIGHT: auto; = POSITION: relative; BACKGROUND-COLOR: white } DIV#bottom_nav { MARGIN-LEFT: auto; WIDTH: 760px; MARGIN-RIGHT: auto; BACKGROUND-COLOR: = white } DIV#Clipscontent { FONT-FAMILY: Arial, Helvetica, sans-serif } P { FONT-SIZE: 0.8em; FONT-FAMILY: Arial, sans-serif; TEXT-ALIGN: left } UL { FONT-SIZE: 0.8em; FONT-FAMILY: Arial, sans-serif } DIV#MemberMastHead { Z-INDEX: -9 } DIV#MemberMastHead DIV#mmh_pic { CLEAR: none; FLOAT: left; MARGIN: 10px 0px; WIDTH: 50% } DIV#MemberMastHead DIV#mmh_inf { CLEAR: none; FLOAT: left; MARGIN: 10px 0px; WIDTH: 50% } DIV#MemberMastHead DIV#mmh_pic IMG { FLOAT: right; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; = BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none } DIV#MemberMastHead P#MemberName { FONT-WEIGHT: bold; FONT-SIZE: 1.5em; COLOR: #002060; FONT-FAMILY: = Arial, sans-serif } DIV#MemberMastHead P#memberServing { FONT-SIZE: 1em; COLOR: #002060 } DIV#member-menu { Z-INDEX: -11 } A:visited { COLOR: blue } ------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://newsroom.housedemocrats.wa.gov/files/themes/hdc200912/custom.css #gcontainer { MARGIN: 2em auto; WIDTH: 105em } #gcontent_box { WIDTH: 105em } #gcontent { PADDING-RIGHT: 6em; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: = 0px; WIDTH: 76em; PADDING-TOP: 0px } #gsidebar { FLOAT: left; WIDTH: 10em } BODY { FONT: 62.5% Verdana, sans-serif; TEXT-ALIGN: left } BLOCKQUOTE { PADDING-RIGHT: 0px; PADDING-LEFT: 0.76em; PADDING-BOTTOM: 0px; MARGIN: = 0px 0px 1.53em 1.5em; BORDER-LEFT: #a90000 0.23em solid; COLOR: #555; = PADDING-TOP: 0px; FONT-FAMILY: Georgia, "Times New Roman", Times, serif } ABBR { FONT-SIZE: 0.84em; TEXT-TRANSFORM: uppercase; CURSOR: help; = LINE-HEIGHT: 1em; BORDER-BOTTOM: #999 1px dotted; LETTER-SPACING: 1px } ACRONYM { FONT-SIZE: 0.84em; TEXT-TRANSFORM: uppercase; CURSOR: help; = LINE-HEIGHT: 1em; BORDER-BOTTOM: #999 1px dotted; LETTER-SPACING: 1px } CODE { COLOR: #090; LINE-HEIGHT: 1em; FONT-FAMILY: Courier, "Courier New", = monospace } PRE { PADDING-RIGHT: 0.76em; PADDING-LEFT: 0.76em; FONT-SIZE: 1.3em; = BACKGROUND: #ececec; PADDING-BOTTOM: 0.76em; MARGIN: 0px 0px 1.53em; = OVERFLOW: auto; PADDING-TOP: 0.76em } P.unstyled { FONT-SIZE: 1.3em } P.center { TEXT-ALIGN: center } .flickr_blue { TEXT-TRANSFORM: lowercase; COLOR: #007ae4 } .flickr_pink { TEXT-TRANSFORM: lowercase; COLOR: #ff2a96 } H1 { FONT: bold 1em "Helvetica Neue", Helvetica, Arial, sans-serif } H2 { FONT: bold 1em "Helvetica Neue", Helvetica, Arial, sans-serif } H3 { FONT: bold 1em "Helvetica Neue", Helvetica, Arial, sans-serif } H4 { FONT: bold 1em "Helvetica Neue", Helvetica, Arial, sans-serif } H1 { FONT-SIZE: 2.5em; COLOR: #002060; LINE-HEIGHT: 1.1em; LETTER-SPACING: = -1px } H2 { FONT-SIZE: 2.5em; COLOR: #002060; LINE-HEIGHT: 1.1em; LETTER-SPACING: = -1px } H2 A { COLOR: #002060 } H2 A:visited { COLOR: #002060 } H2 A:hover { COLOR: #000 } .page H1 { MARGIN: 0px 0px 0.6em; BORDER-BOTTOM: #ccc 0.1em double } H1.archive { FONT-SIZE: 2.4em; MARGIN: 0px 0px 1.66em; COLOR: #000; LINE-HEIGHT: = 1.66em } #sidebar H2 { FONT-SIZE: 1.5em; MARGIN: 0px 0px 0.5em; COLOR: #000; LINE-HEIGHT: = 1.55em; BORDER-BOTTOM: #ccc 0.16em double } H3 { FONT-SIZE: 1.38em; COLOR: #000; LINE-HEIGHT: 1.11em } .entry H3 { MARGIN: 1.66em 0px 0.55em } #comments H3 { FONT-SIZE: 1.8em } #comments H3.comment_intro { PADDING-RIGHT: 0px; BORDER-TOP: #ccc 0.16em double; PADDING-LEFT: 0px; = PADDING-BOTTOM: 0px; MARGIN: 0px 0px 1.11em; PADDING-TOP: 2.05em } #comments H3#respond { MARGIN: 2.22em 0px 0px } H4 { FONT-SIZE: 1.15em; COLOR: #000; LINE-HEIGHT: 1.33em } #header { BACKGROUND: #000; COLOR: #fff; BORDER-BOTTOM: #a90000 0.8em solid } #container { MARGIN: 0px auto; WIDTH: 62.8em } #content_box { WIDTH: 62.8em } #content { PADDING-RIGHT: 6em; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: = 0px; WIDTH: 42.8em; PADDING-TOP: 0px } #sidebar { FLOAT: left; WIDTH: 20em } #footer { PADDING-RIGHT: 0px; BORDER-TOP: #a90000 0.5em solid; PADDING-LEFT: 0px; = BACKGROUND: #000; PADDING-BOTTOM: 1.5em; COLOR: #fff; PADDING-TOP: 1.5em } #logo { MARGIN: 0px auto; WIDTH: 82.8em } #logo A { FONT: 5em "American Typewriter", "Trebuchet MS", Verdana, sans-serif; = COLOR: #fff } #logo H1 { DISPLAY: none; FONT: 1.6em "Helvetica Neue", Helvetica, Arial, = sans-serif } #logo #tagline { DISPLAY: none; FONT: 1.6em "Helvetica Neue", Helvetica, Arial, = sans-serif } #nav { MARGIN: 0px 0px 50px; WIDTH: 82.8em } #nav UL { LIST-STYLE-TYPE: none } #nav UL LI { FONT-SIZE: 1.6em; FLOAT: left } #nav UL LI A { PADDING-RIGHT: 0.81em; DISPLAY: block; PADDING-LEFT: 0.81em; = PADDING-BOTTOM: 0.5em; COLOR: #a90000; PADDING-TOP: 0.31em } #nav UL LI A:visited { PADDING-RIGHT: 0.81em; DISPLAY: block; PADDING-LEFT: 0.81em; = PADDING-BOTTOM: 0.5em; COLOR: #a90000; PADDING-TOP: 0.31em } #nav UL LI A:hover { BACKGROUND: #a90000; COLOR: #fff! important; TEXT-DECORATION: none! = important } #nav UL LI A.current:hover { BACKGROUND: #a90000; COLOR: #fff! important; TEXT-DECORATION: none! = important } #nav UL LI A.current { COLOR: #a90000; TEXT-DECORATION: underline } #nav UL LI A.current:visited { COLOR: #a90000; TEXT-DECORATION: underline } .post_date { FONT-SIZE: 1.1em; MARGIN: 0px 0px 1.81em; COLOR: #aaa; LINE-HEIGHT: = 1.54em; BORDER-BOTTOM: #ccc 0.27em double } .post_date A { PADDING-RIGHT: 0.09em; PADDING-LEFT: 0.09em; PADDING-BOTTOM: 0.09em; = COLOR: #000; PADDING-TOP: 0.09em } .post_date A:visited { PADDING-RIGHT: 0.09em; PADDING-LEFT: 0.09em; PADDING-BOTTOM: 0.09em; = COLOR: #000; PADDING-TOP: 0.09em } .post_date A:hover { BACKGROUND: #ccc; COLOR: #000 } .entry { FONT-SIZE: 2em; LINE-HEIGHT: 1.53em } .entry A { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; = PADDING-TOP: 1px; BORDER-BOTTOM: #bbb 1px solid } .entry A:visited { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; = PADDING-TOP: 1px; BORDER-BOTTOM: #bbb 1px solid } .entry A:hover { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #a90000; = PADDING-BOTTOM: 1px; COLOR: #fff; PADDING-TOP: 1px; BORDER-BOTTOM-STYLE: = none } .entry P { MARGIN: 0px 0px 1.53em } .entry UL { MARGIN: 0px 0px 1.53em 3em } .entry OL { MARGIN: 0px 0px 1.53em 3em } .entry UL { LIST-STYLE-TYPE: disc } .entry LI { =09 } .entry UL LI UL { MARGIN: 0px 0px 0px 1.5em } .entry UL LI OL { MARGIN: 0px 0px 0px 1.5em } .entry OL LI UL { MARGIN: 0px 0px 0px 1.5em } .entry OL LI OL { MARGIN: 0px 0px 0px 1.5em } .entry DL { MARGIN: 0px 0px 1.53em } .entry DT { FONT-WEIGHT: bold } .entry DD { MARGIN: 0px 0px 0px 1.5em } .entry SUP { LINE-HEIGHT: 1em } .entry SUB { LINE-HEIGHT: 1em } .entry BLOCKQUOTE.right { BORDER-RIGHT: #ccc 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccc = 0.06em solid; PADDING-LEFT: 0px; FONT-SIZE: 1.23em; PADDING-BOTTOM: = 0.43em; BORDER-LEFT: #ccc 0px solid; WIDTH: 13.68em; LINE-HEIGHT: = 1.25em; PADDING-TOP: 0.43em; BORDER-BOTTOM: #ccc 0.06em solid; = TEXT-ALIGN: center } .entry BLOCKQUOTE.left { BORDER-RIGHT: #ccc 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccc = 0.06em solid; PADDING-LEFT: 0px; FONT-SIZE: 1.23em; PADDING-BOTTOM: = 0.43em; BORDER-LEFT: #ccc 0px solid; WIDTH: 13.68em; LINE-HEIGHT: = 1.25em; PADDING-TOP: 0.43em; BORDER-BOTTOM: #ccc 0.06em solid; = TEXT-ALIGN: center } .entry BLOCKQUOTE.right { CLEAR: right; FLOAT: right; MARGIN: 0px 0px 0px 0.93em } .entry BLOCKQUOTE.left { CLEAR: left; FLOAT: left; MARGIN: 0px 0.93em 0px 0px } .entry BLOCKQUOTE.right P { MARGIN: 0px } .entry BLOCKQUOTE.left P { MARGIN: 0px } .entry .ad { CLEAR: right; FLOAT: right; MARGIN: 0px 0px 0px 1.15em } .entry .ad_left { CLEAR: left; FLOAT: left; MARGIN: 0px 1.15em 0px 0px } .entry IMG { =09 } .entry IMG.left { CLEAR: left; FLOAT: left; MARGIN: 0px 1.15em 0px 0px } .entry IMG.right { CLEAR: right; FLOAT: right; MARGIN: 0px 0px 0px 1.15em } .entry IMG.center { CLEAR: both; DISPLAY: block; MARGIN: 0px auto 1.53em } .entry IMG.frame { BORDER-RIGHT: #ddd 0.38em solid; BORDER-TOP: #ddd 0.38em solid; = BORDER-LEFT: #ddd 0.38em solid; BORDER-BOTTOM: #ddd 0.38em solid } .entry IMG.stack { CLEAR: none! important } .post_meta { CLEAR: both; PADDING-RIGHT: 0px; BORDER-TOP: #ccc 0.23em double; = DISPLAY: none; PADDING-LEFT: 0px; FONT-SIZE: 1.3em; PADDING-BOTTOM: 0px; = MARGIN: 0px 0px 4.53em; LINE-HEIGHT: 1em; PADDING-TOP: 0.38em } .add_comment { PADDING-RIGHT: 0px; PADDING-LEFT: 1.61em; FONT-WEIGHT: bold; = BACKGROUND: url(images/icon_comment.gif) no-repeat 0px 50%; = PADDING-BOTTOM: 0px; PADDING-TOP: 0px } .tag_list { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; = PADDING-BOTTOM: 0px; PADDING-TOP: 0px } .post_meta A:hover { COLOR: #000; BORDER-BOTTOM: #a90000 1px solid } .page .entry { MARGIN: 0px 0px 3.07em; BORDER-BOTTOM: #ccc 0.23em double } .navigation { FONT-SIZE: 1.2em; MARGIN: 0px 0px 3.33em; WIDTH: 39em; LINE-HEIGHT: = 1.66em } .navigation A:hover { COLOR: #000; BORDER-BOTTOM: #a90000 1px solid } .next { TEXT-ALIGN: right } #rssx { BACKGROUND: url(images/rss.gif) no-repeat 50% 0px; MARGIN: 0px 0px 1em; = WIDTH: 20em; HEIGHT: 70px; TEXT-ALIGN: center } #rss { BACKGROUND: url(images/rss.gif) no-repeat 50% 0px; WIDTH: 6em; HEIGHT: = 70px; TEXT-ALIGN: left } #rss A { DISPLAY: block; MARGIN: 0px auto; WIDTH: 48px; HEIGHT: 48px } UL.sidebar_list { LIST-STYLE-TYPE: none } UL.sidebar_list LI.widget { FONT-SIZE: 1.2em; FLOAT: left; MARGIN: 0px 0px 2.5em; WIDTH: 16.66em; = LINE-HEIGHT: 1.66em } UL.sidebar_list LI.linkcat { FONT-SIZE: 1.2em; FLOAT: left; MARGIN: 0px 0px 2.5em; WIDTH: 16.66em; = LINE-HEIGHT: 1.66em } LI.widget P { MARGIN: 0px 0px 1.66em } LI.widget UL { MARGIN: 0px 0px 0.83em; LIST-STYLE-TYPE: none } LI.linkcat UL { MARGIN: 0px 0px 0.83em; LIST-STYLE-TYPE: none } LI.widget LI { PADDING-RIGHT: 0px; PADDING-LEFT: 1.16em; BACKGROUND: = url(images/bullet.gif) no-repeat 0px 0.41em; PADDING-BOTTOM: 0px; = PADDING-TOP: 0px } LI.linkcat LI { PADDING-RIGHT: 0px; PADDING-LEFT: 1.16em; BACKGROUND: = url(images/bullet.gif) no-repeat 0px 0.41em; PADDING-BOTTOM: 0px; = PADDING-TOP: 0px } LI.widget LI A:hover { COLOR: #000; BORDER-BOTTOM: #a90000 1px solid } LI.linkcat LI A:hover { COLOR: #000; BORDER-BOTTOM: #a90000 1px solid } #calendar_wrap { PADDING-RIGHT: 0.16em; PADDING-LEFT: 0.16em; PADDING-BOTTOM: 0px; = MARGIN: 0px 0px 0.83em; WIDTH: 16.33em; PADDING-TOP: 0px } TABLE#wp-calendar { WIDTH: 16.33em; BORDER-COLLAPSE: collapse } TABLE#wp-calendar CAPTION { FONT-WEIGHT: bold; LINE-HEIGHT: 1.58em; BORDER-BOTTOM: #ccc 0.08em = solid } TABLE#wp-calendar TH { FONT-SIZE: 1em; WIDTH: 2.33em; COLOR: #666; LINE-HEIGHT: 1.58em; = BORDER-BOTTOM: #ccc 0.08em solid; TEXT-ALIGN: center } TABLE#wp-calendar TD { WIDTH: 2.33em; COLOR: #999; LINE-HEIGHT: 1.66em; TEXT-ALIGN: center } TABLE#wp-calendar TD A { FONT-WEIGHT: bold; COLOR: #a90000 } TABLE#wp-calendar TD A:visited { FONT-WEIGHT: bold; COLOR: #a90000 } TABLE#wp-calendar TD A:hover { TEXT-DECORATION: underline } TABLE#wp-calendar TD#next { WIDTH: 7em } TABLE#wp-calendar TD#prev { WIDTH: 7em } LI.widget UL.flickr_stream { PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; MARGIN: = 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none } LI.widget UL.flickr_stream LI { PADDING-RIGHT: 5px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: = 5px; MARGIN: 0px; PADDING-TOP: 0px } LI.widget UL.flickr_stream LI A IMG { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; = PADDING-TOP: 3px } LI.widget UL.flickr_stream LI A:hover IMG { BACKGROUND: #ff2a96; BORDER-BOTTOM-STYLE: none } #footer P { FONT-WEIGHT: bold; FONT-SIZE: 1em; TEXT-TRANSFORM: uppercase; = TEXT-ALIGN: center } #footer A { COLOR: #fff; BORDER-BOTTOM: #a90000 1px solid } #footer A:visited { COLOR: #fff; BORDER-BOTTOM: #a90000 1px solid } #footer A:hover { COLOR: #fff; BORDER-BOTTOM: #fff 1px solid } #comments { WIDTH: 46.8em } DL#comment_list { MARGIN: 0px } DL#comment_list DT { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 1.1em; BACKGROUND: = url(images/comment_top.gif) no-repeat 0px 100%; PADDING-BOTTOM: 33px; = COLOR: #999; LINE-HEIGHT: 1.81em; PADDING-TOP: 0px } DL#comment_list DT.author { BACKGROUND: url(images/comment_author_top.gif) no-repeat 0px 100% } DL#comment_list DT .comment_num { PADDING-RIGHT: 0.36em; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; = PADDING-TOP: 0px } DL#comment_list DT .comment_num A { COLOR: #999 } DL#comment_list DT .comment_num A:visited { COLOR: #999 } DL#comment_list DT .comment_num A:hover { COLOR: #a90000 } DL#comment_list DT STRONG { FONT-SIZE: 1.45em; COLOR: #000 } DL#comment_list DT STRONG A { COLOR: #000; BORDER-BOTTOM: #999 1px dotted } DL#comment_list DT STRONG A:visited { COLOR: #000; BORDER-BOTTOM: #999 1px dotted } DL#comment_list DT STRONG A:hover { COLOR: #000; BORDER-BOTTOM: #a90000 1px solid } DL#comment_list DD { PADDING-RIGHT: 20px; PADDING-LEFT: 20px; BACKGROUND: = url(images/comment_bottom.gif) #dfdfdf no-repeat 0px 100%; = PADDING-BOTTOM: 0px; MARGIN: 0px 0px 1.53em; WIDTH: 428px; PADDING-TOP: = 0px } DL#comment_list DD.author { BACKGROUND: url(images/comment_author_bottom.gif) #f6f4c9 no-repeat 0px = 100% } DL#comment_list DD.entry P { MARGIN-BOTTOM: 1.15em } DL#comment_list DD.entry UL { MARGIN-BOTTOM: 1.15em } DL#comment_list DD.entry OL { MARGIN-BOTTOM: 1.15em } DL#comment_list DD.entry BLOCKQUOTE { MARGIN-BOTTOM: 1.15em } #comment_form { MARGIN: 0px 0px 4em; WIDTH: 46.8em } #comment_form A:hover { TEXT-DECORATION: underline } #comment_form P { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0.76em; = PADDING-TOP: 0.76em } #comment_form LABEL { PADDING-RIGHT: 0px; PADDING-LEFT: 0.83em; FONT-SIZE: 1.2em; = PADDING-BOTTOM: 0px; PADDING-TOP: 0px } #comment_form .text_input { BORDER-RIGHT: #eee 0.07em solid; PADDING-RIGHT: 0.23em; BORDER-TOP: = #999 0.15em solid; PADDING-LEFT: 0.23em; PADDING-BOTTOM: 0.23em; FONT: = bold 1.3em Verdana, sans-serif; BORDER-LEFT: #999 0.15em solid; WIDTH: = 15.38em; COLOR: #a90000; PADDING-TOP: 0.23em; BORDER-BOTTOM: #eee 0.07em = solid } #comment_form .text_input:focus { BORDER-LEFT-COLOR: #666; BORDER-BOTTOM-COLOR: #ddd; BORDER-TOP-COLOR: = #666; BORDER-RIGHT-COLOR: #ddd } #comment_form .text_area { WIDTH: 32.92em } #comment_form P.subscribe-to-comments { FONT-SIZE: 1.3em } #comment_form P.subscribe-to-comments LABEL { FONT-SIZE: 1em } #comment_form .form_submit { BORDER-RIGHT: #999 0.21em double; PADDING-RIGHT: 0.5em; BORDER-TOP: = #ccc 0.21em double; PADDING-LEFT: 0.5em; BACKGROUND: = url(images/submit_bg.gif) repeat-x; PADDING-BOTTOM: 0.5em; FONT: bold = 1.4em/1em "Helvetica Neue", Helvetica, Arial, sans-serif; BORDER-LEFT: = #ccc 0.21em double; CURSOR: pointer; COLOR: #000; PADDING-TOP: 0.5em; = BORDER-BOTTOM: #999 0.21em double } #comment_form .form_submit:hover { COLOR: #a90000 } #search_form { MARGIN: 0px 0px 0.58em } HTML[xmlns*=3D''] BODY:unknown #search_form { MARGIN: 0px 0px 0.75em } #search_form .search_input { BORDER-RIGHT: #eee 0.08em solid; PADDING-RIGHT: 0.25em; BORDER-TOP: = #999 0.08em solid; PADDING-LEFT: 0.25em; PADDING-BOTTOM: 0.25em; FONT: = 1em Verdana, Arial, Helvetica, sans-serif; BORDER-LEFT: #999 0.08em = solid; WIDTH: 15.91em; COLOR: #777; PADDING-TOP: 0.25em; BORDER-BOTTOM: = #eee 0.08em solid } #search_form .search_input:focus { BORDER-LEFT-COLOR: #666; BORDER-BOTTOM-COLOR: #ddd; BORDER-TOP-COLOR: = #666; BORDER-RIGHT-COLOR: #ddd } #content .search_input { FONT-SIZE: 0.92em! important } #header:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } #logo:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } #nav:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } #content_box:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } .page .entry:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } #comments:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } DL#comment_list DD:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } #comment_form:unknown { CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: = "." } ------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://newsroom.housedemocrats.wa.gov/files/themes/hdc200912/ie7.css #content { PADDING-RIGHT: 5.9em; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; = PADDING-TOP: 0px } H1 { LINE-HEIGHT: 1.43em } H2 { LINE-HEIGHT: 1.43em } #rss { MARGIN: 0px 0px 0.9em } LI.widget LI { WIDTH: 15.5em } DL#comment_list DT { WIDTH: 46.8em } ------=_NextPart_000_0000_01CACFE7.F69E1270 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://newsroom.housedemocrats.wa.gov/__utility/js/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_0000_01CACFE7.F69E1270 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://newsroom.housedemocrats.wa.gov/__utility/js/graffiti.js var GraffitiHelpers =3D new Object(); GraffitiHelpers.statusMessage =3D function(name, text, alertOnNull) { var result =3D $(name); if(result !=3D null) { result.show(); result.innerHTML =3D text; } else if(alertOnNull) { alert(text); } } var Comments =3D new Object(); Comments.statusMessage =3D function(text, alertOnNull) { var result =3D $('comment_status'); if(result !=3D null) { result.show(); result.innerHTML =3D text; } else if(alertOnNull) { alert(text); } =20 if(typeof decrementComments =3D=3D 'function') decrementComments(); } Comments.deleteCommentWithStatus =3D function(url, id) { var itemToRemove =3D new Array(); if(arguments.length > 2) { for(var i=3D2; i 2) { for(var i=3D2; i 2) { for(var i=3D2; i 2) { for(var i=3D2; i 2) { for(var i=3D2; i 2) { for(var i=3D2; i 2) { for(var i=3D2; i)[^>]*$|^#(\w+)$/,=0A= =0A= // Is it a simple selector=0A= isSimple =3D /^.[^:#\[\.]*$/,=0A= =0A= // Will speed up references to undefined, and allows munging its name.=0A= undefined;=0A= =0A= jQuery.fn =3D jQuery.prototype =3D {=0A= init: function( selector, context ) {=0A= // Make sure that a selection was provided=0A= selector =3D selector || document;=0A= =0A= // Handle $(DOMElement)=0A= if ( selector.nodeType ) {=0A= this[0] =3D selector;=0A= this.length =3D 1;=0A= return this;=0A= }=0A= // Handle HTML strings=0A= if ( typeof selector =3D=3D "string" ) {=0A= // Are we dealing with HTML string or an ID?=0A= var match =3D quickExpr.exec( selector );=0A= =0A= // Verify a match, and that no context was specified for #id=0A= if ( match && (match[1] || !context) ) {=0A= =0A= // HANDLE: $(html) -> $(array)=0A= if ( match[1] )=0A= selector =3D jQuery.clean( [ match[1] ], context );=0A= =0A= // HANDLE: $("#id")=0A= else {=0A= var elem =3D document.getElementById( match[3] );=0A= =0A= // Make sure an element was located=0A= if ( elem ){=0A= // Handle the case where IE and Opera return items=0A= // by name instead of ID=0A= if ( elem.id !=3D match[3] )=0A= return jQuery().find( selector );=0A= =0A= // Otherwise, we inject the element directly into the jQuery object=0A= return jQuery( elem );=0A= }=0A= selector =3D [];=0A= }=0A= =0A= // HANDLE: $(expr, [context])=0A= // (which is just equivalent to: $(content).find(expr)=0A= } else=0A= return jQuery( context ).find( selector );=0A= =0A= // HANDLE: $(function)=0A= // Shortcut for document ready=0A= } else if ( jQuery.isFunction( selector ) )=0A= return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( = selector );=0A= =0A= return this.setArray(jQuery.makeArray(selector));=0A= },=0A= =0A= // The current version of jQuery being used=0A= jquery: "1.2.6",=0A= =0A= // The number of elements contained in the matched element set=0A= size: function() {=0A= return this.length;=0A= },=0A= =0A= // The number of elements contained in the matched element set=0A= length: 0,=0A= =0A= // Get the Nth element in the matched element set OR=0A= // Get the whole matched element set as a clean array=0A= get: function( num ) {=0A= return num =3D=3D undefined ?=0A= =0A= // Return a 'clean' array=0A= jQuery.makeArray( this ) :=0A= =0A= // Return just the object=0A= this[ num ];=0A= },=0A= =0A= // Take an array of elements and push it onto the stack=0A= // (returning the new matched element set)=0A= pushStack: function( elems ) {=0A= // Build a new jQuery matched element set=0A= var ret =3D jQuery( elems );=0A= =0A= // Add the old object onto the stack (as a reference)=0A= ret.prevObject =3D this;=0A= =0A= // Return the newly-formed element set=0A= return ret;=0A= },=0A= =0A= // Force the current matched set of elements to become=0A= // the specified array of elements (destroying the stack in the process)=0A= // You should use pushStack() in order to do this, but maintain the = stack=0A= setArray: function( elems ) {=0A= // Resetting the length to 0, then using the native Array push=0A= // is a super-fast way to populate an object with array-like properties=0A= this.length =3D 0;=0A= Array.prototype.push.apply( this, elems );=0A= =0A= return this;=0A= },=0A= =0A= // Execute a callback for every element in the matched set.=0A= // (You can seed the arguments with an array of args, but this is=0A= // only used internally.)=0A= each: function( callback, args ) {=0A= return jQuery.each( this, callback, args );=0A= },=0A= =0A= // Determine the position of an element within=0A= // the matched set of elements=0A= index: function( elem ) {=0A= var ret =3D -1;=0A= =0A= // Locate the position of the desired element=0A= return jQuery.inArray(=0A= // If it receives a jQuery object, the first element is used=0A= elem && elem.jquery ? elem[0] : elem=0A= , this );=0A= },=0A= =0A= attr: function( name, value, type ) {=0A= var options =3D name;=0A= =0A= // Look for the case where we're accessing a style value=0A= if ( name.constructor =3D=3D String )=0A= if ( value =3D=3D=3D undefined )=0A= return this[0] && jQuery[ type || "attr" ]( this[0], name );=0A= =0A= else {=0A= options =3D {};=0A= options[ name ] =3D value;=0A= }=0A= =0A= // Check to see if we're setting style values=0A= return this.each(function(i){=0A= // Set all the styles=0A= for ( name in options )=0A= jQuery.attr(=0A= type ?=0A= this.style :=0A= this,=0A= name, jQuery.prop( this, options[ name ], type, i, name )=0A= );=0A= });=0A= },=0A= =0A= css: function( key, value ) {=0A= // ignore negative width and height values=0A= if ( (key =3D=3D 'width' || key =3D=3D 'height') && parseFloat(value) = < 0 )=0A= value =3D undefined;=0A= return this.attr( key, value, "curCSS" );=0A= },=0A= =0A= text: function( text ) {=0A= if ( typeof text !=3D "object" && text !=3D null )=0A= return this.empty().append( (this[0] && this[0].ownerDocument || = document).createTextNode( text ) );=0A= =0A= var ret =3D "";=0A= =0A= jQuery.each( text || this, function(){=0A= jQuery.each( this.childNodes, function(){=0A= if ( this.nodeType !=3D 8 )=0A= ret +=3D this.nodeType !=3D 1 ?=0A= this.nodeValue :=0A= jQuery.fn.text( [ this ] );=0A= });=0A= });=0A= =0A= return ret;=0A= },=0A= =0A= wrapAll: function( html ) {=0A= if ( this[0] )=0A= // The elements to wrap the target around=0A= jQuery( html, this[0].ownerDocument )=0A= .clone()=0A= .insertBefore( this[0] )=0A= .map(function(){=0A= var elem =3D this;=0A= =0A= while ( elem.firstChild )=0A= elem =3D elem.firstChild;=0A= =0A= return elem;=0A= })=0A= .append(this);=0A= =0A= return this;=0A= },=0A= =0A= wrapInner: function( html ) {=0A= return this.each(function(){=0A= jQuery( this ).contents().wrapAll( html );=0A= });=0A= },=0A= =0A= wrap: function( html ) {=0A= return this.each(function(){=0A= jQuery( this ).wrapAll( html );=0A= });=0A= },=0A= =0A= append: function() {=0A= return this.domManip(arguments, true, false, function(elem){=0A= if (this.nodeType =3D=3D 1)=0A= this.appendChild( elem );=0A= });=0A= },=0A= =0A= prepend: function() {=0A= return this.domManip(arguments, true, true, function(elem){=0A= if (this.nodeType =3D=3D 1)=0A= this.insertBefore( elem, this.firstChild );=0A= });=0A= },=0A= =0A= before: function() {=0A= return this.domManip(arguments, false, false, function(elem){=0A= this.parentNode.insertBefore( elem, this );=0A= });=0A= },=0A= =0A= after: function() {=0A= return this.domManip(arguments, false, true, function(elem){=0A= this.parentNode.insertBefore( elem, this.nextSibling );=0A= });=0A= },=0A= =0A= end: function() {=0A= return this.prevObject || jQuery( [] );=0A= },=0A= =0A= find: function( selector ) {=0A= var elems =3D jQuery.map(this, function(elem){=0A= return jQuery.find( selector, elem );=0A= });=0A= =0A= return this.pushStack( /[^+>] [^+>]/.test( selector ) || = selector.indexOf("..") > -1 ?=0A= jQuery.unique( elems ) :=0A= elems );=0A= },=0A= =0A= clone: function( events ) {=0A= // Do the clone=0A= var ret =3D this.map(function(){=0A= if ( jQuery.browser.msie && !jQuery.isXMLDoc(this) ) {=0A= // IE copies events bound via attachEvent when=0A= // using cloneNode. Calling detachEvent on the=0A= // clone will also remove the events from the orignal=0A= // In order to get around this, we use innerHTML.=0A= // Unfortunately, this means some modifications to=0A= // attributes in IE that are actually only stored=0A= // as properties will not be copied (such as the=0A= // the name attribute on an input).=0A= var clone =3D this.cloneNode(true),=0A= container =3D document.createElement("div");=0A= container.appendChild(clone);=0A= return jQuery.clean([container.innerHTML])[0];=0A= } else=0A= return this.cloneNode(true);=0A= });=0A= =0A= // Need to set the expando to null on the cloned set if it exists=0A= // removeData doesn't work here, IE removes it from the original as = well=0A= // this is primarily for IE but the data expando shouldn't be copied = over in any browser=0A= var clone =3D ret.find("*").andSelf().each(function(){=0A= if ( this[ expando ] !=3D undefined )=0A= this[ expando ] =3D null;=0A= });=0A= =0A= // Copy the events from the original to the clone=0A= if ( events =3D=3D=3D true )=0A= this.find("*").andSelf().each(function(i){=0A= if (this.nodeType =3D=3D 3)=0A= return;=0A= var events =3D jQuery.data( this, "events" );=0A= =0A= for ( var type in events )=0A= for ( var handler in events[ type ] )=0A= jQuery.event.add( clone[ i ], type, events[ type ][ handler ], = events[ type ][ handler ].data );=0A= });=0A= =0A= // Return the cloned set=0A= return ret;=0A= },=0A= =0A= filter: function( selector ) {=0A= return this.pushStack(=0A= jQuery.isFunction( selector ) &&=0A= jQuery.grep(this, function(elem, i){=0A= return selector.call( elem, i );=0A= }) ||=0A= =0A= jQuery.multiFilter( selector, this ) );=0A= },=0A= =0A= not: function( selector ) {=0A= if ( selector.constructor =3D=3D String )=0A= // test special case where just one selector is passed in=0A= if ( isSimple.test( selector ) )=0A= return this.pushStack( jQuery.multiFilter( selector, this, true ) );=0A= else=0A= selector =3D jQuery.multiFilter( selector, this );=0A= =0A= var isArrayLike =3D selector.length && selector[selector.length - 1] = !=3D=3D undefined && !selector.nodeType;=0A= return this.filter(function() {=0A= return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this !=3D = selector;=0A= });=0A= },=0A= =0A= add: function( selector ) {=0A= return this.pushStack( jQuery.unique( jQuery.merge(=0A= this.get(),=0A= typeof selector =3D=3D 'string' ?=0A= jQuery( selector ) :=0A= jQuery.makeArray( selector )=0A= )));=0A= },=0A= =0A= is: function( selector ) {=0A= return !!selector && jQuery.multiFilter( selector, this ).length > 0;=0A= },=0A= =0A= hasClass: function( selector ) {=0A= return this.is( "." + selector );=0A= },=0A= =0A= val: function( value ) {=0A= if ( value =3D=3D undefined ) {=0A= =0A= if ( this.length ) {=0A= var elem =3D this[0];=0A= =0A= // We need to handle select boxes special=0A= if ( jQuery.nodeName( elem, "select" ) ) {=0A= var index =3D elem.selectedIndex,=0A= values =3D [],=0A= options =3D elem.options,=0A= one =3D elem.type =3D=3D "select-one";=0A= =0A= // Nothing was selected=0A= if ( index < 0 )=0A= return null;=0A= =0A= // Loop through all the selected options=0A= for ( var i =3D one ? index : 0, max =3D one ? index + 1 : = options.length; i < max; i++ ) {=0A= var option =3D options[ i ];=0A= =0A= if ( option.selected ) {=0A= // Get the specifc value for the option=0A= value =3D jQuery.browser.msie && = !option.attributes.value.specified ? option.text : option.value;=0A= =0A= // We don't need an array for one selects=0A= if ( one )=0A= return value;=0A= =0A= // Multi-Selects return an array=0A= values.push( value );=0A= }=0A= }=0A= =0A= return values;=0A= =0A= // Everything else, we just grab the value=0A= } else=0A= return (this[0].value || "").replace(/\r/g, "");=0A= =0A= }=0A= =0A= return undefined;=0A= }=0A= =0A= if( value.constructor =3D=3D Number )=0A= value +=3D '';=0A= =0A= return this.each(function(){=0A= if ( this.nodeType !=3D 1 )=0A= return;=0A= =0A= if ( value.constructor =3D=3D Array && /radio|checkbox/.test( = this.type ) )=0A= this.checked =3D (jQuery.inArray(this.value, value) >=3D 0 ||=0A= jQuery.inArray(this.name, value) >=3D 0);=0A= =0A= else if ( jQuery.nodeName( this, "select" ) ) {=0A= var values =3D jQuery.makeArray(value);=0A= =0A= jQuery( "option", this ).each(function(){=0A= this.selected =3D (jQuery.inArray( this.value, values ) >=3D 0 ||=0A= jQuery.inArray( this.text, values ) >=3D 0);=0A= });=0A= =0A= if ( !values.length )=0A= this.selectedIndex =3D -1;=0A= =0A= } else=0A= this.value =3D value;=0A= });=0A= },=0A= =0A= html: function( value ) {=0A= return value =3D=3D undefined ?=0A= (this[0] ?=0A= this[0].innerHTML :=0A= null) :=0A= this.empty().append( value );=0A= },=0A= =0A= replaceWith: function( value ) {=0A= return this.after( value ).remove();=0A= },=0A= =0A= eq: function( i ) {=0A= return this.slice( i, i + 1 );=0A= },=0A= =0A= slice: function() {=0A= return this.pushStack( Array.prototype.slice.apply( this, arguments ) = );=0A= },=0A= =0A= map: function( callback ) {=0A= return this.pushStack( jQuery.map(this, function(elem, i){=0A= return callback.call( elem, i, elem );=0A= }));=0A= },=0A= =0A= andSelf: function() {=0A= return this.add( this.prevObject );=0A= },=0A= =0A= data: function( key, value ){=0A= var parts =3D key.split(".");=0A= parts[1] =3D parts[1] ? "." + parts[1] : "";=0A= =0A= if ( value =3D=3D=3D undefined ) {=0A= var data =3D this.triggerHandler("getData" + parts[1] + "!", = [parts[0]]);=0A= =0A= if ( data =3D=3D=3D undefined && this.length )=0A= data =3D jQuery.data( this[0], key );=0A= =0A= return data =3D=3D=3D undefined && parts[1] ?=0A= this.data( parts[0] ) :=0A= data;=0A= } else=0A= return this.trigger("setData" + parts[1] + "!", [parts[0], = value]).each(function(){=0A= jQuery.data( this, key, value );=0A= });=0A= },=0A= =0A= removeData: function( key ){=0A= return this.each(function(){=0A= jQuery.removeData( this, key );=0A= });=0A= },=0A= =0A= domManip: function( args, table, reverse, callback ) {=0A= var clone =3D this.length > 1, elems;=0A= =0A= return this.each(function(){=0A= if ( !elems ) {=0A= elems =3D jQuery.clean( args, this.ownerDocument );=0A= =0A= if ( reverse )=0A= elems.reverse();=0A= }=0A= =0A= var obj =3D this;=0A= =0A= if ( table && jQuery.nodeName( this, "table" ) && jQuery.nodeName( = elems[0], "tr" ) )=0A= obj =3D this.getElementsByTagName("tbody")[0] || this.appendChild( = this.ownerDocument.createElement("tbody") );=0A= =0A= var scripts =3D jQuery( [] );=0A= =0A= jQuery.each(elems, function(){=0A= var elem =3D clone ?=0A= jQuery( this ).clone( true )[0] :=0A= this;=0A= =0A= // execute all scripts after the elements have been injected=0A= if ( jQuery.nodeName( elem, "script" ) )=0A= scripts =3D scripts.add( elem );=0A= else {=0A= // Remove any inner scripts for later evaluation=0A= if ( elem.nodeType =3D=3D 1 )=0A= scripts =3D scripts.add( jQuery( "script", elem ).remove() );=0A= =0A= // Inject the elements into the document=0A= callback.call( obj, elem );=0A= }=0A= });=0A= =0A= scripts.each( evalScript );=0A= });=0A= }=0A= };=0A= =0A= // Give the init function the jQuery prototype for later instantiation=0A= jQuery.fn.init.prototype =3D jQuery.fn;=0A= =0A= function evalScript( i, elem ) {=0A= if ( elem.src )=0A= jQuery.ajax({=0A= url: elem.src,=0A= async: false,=0A= dataType: "script"=0A= });=0A= =0A= else=0A= jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || = "" );=0A= =0A= if ( elem.parentNode )=0A= elem.parentNode.removeChild( elem );=0A= }=0A= =0A= function now(){=0A= return +new Date;=0A= }=0A= =0A= jQuery.extend =3D jQuery.fn.extend =3D function() {=0A= // copy reference to target object=0A= var target =3D arguments[0] || {}, i =3D 1, length =3D = arguments.length, deep =3D false, options;=0A= =0A= // Handle a deep copy situation=0A= if ( target.constructor =3D=3D Boolean ) {=0A= deep =3D target;=0A= target =3D arguments[1] || {};=0A= // skip the boolean and the target=0A= i =3D 2;=0A= }=0A= =0A= // Handle case when target is a string or something (possible in deep = copy)=0A= if ( typeof target !=3D "object" && typeof target !=3D "function" )=0A= target =3D {};=0A= =0A= // extend jQuery itself if only one argument is passed=0A= if ( length =3D=3D i ) {=0A= target =3D this;=0A= --i;=0A= }=0A= =0A= for ( ; i < length; i++ )=0A= // Only deal with non-null/undefined values=0A= if ( (options =3D arguments[ i ]) !=3D null )=0A= // Extend the base object=0A= for ( var name in options ) {=0A= var src =3D target[ name ], copy =3D options[ name ];=0A= =0A= // Prevent never-ending loop=0A= if ( target =3D=3D=3D copy )=0A= continue;=0A= =0A= // Recurse if we're merging object values=0A= if ( deep && copy && typeof copy =3D=3D "object" && !copy.nodeType )=0A= target[ name ] =3D jQuery.extend( deep, =0A= // Never move original objects, clone them=0A= src || ( copy.length !=3D null ? [ ] : { } )=0A= , copy );=0A= =0A= // Don't bring in undefined values=0A= else if ( copy !=3D=3D undefined )=0A= target[ name ] =3D copy;=0A= =0A= }=0A= =0A= // Return the modified object=0A= return target;=0A= };=0A= =0A= var expando =3D "jQuery" + now(), uuid =3D 0, windowData =3D {},=0A= // exclude the following css properties to add px=0A= exclude =3D /z-?index|font-?weight|opacity|zoom|line-?height/i,=0A= // cache defaultView=0A= defaultView =3D document.defaultView || {};=0A= =0A= jQuery.extend({=0A= noConflict: function( deep ) {=0A= window.$ =3D _$;=0A= =0A= if ( deep )=0A= window.jQuery =3D _jQuery;=0A= =0A= return jQuery;=0A= },=0A= =0A= // See test/unit/core.js for details concerning this function.=0A= isFunction: function( fn ) {=0A= return !!fn && typeof fn !=3D "string" && !fn.nodeName &&=0A= fn.constructor !=3D Array && /^[\s[]?function/.test( fn + "" );=0A= },=0A= =0A= // check if an element is in a (or is an) XML document=0A= isXMLDoc: function( elem ) {=0A= return elem.documentElement && !elem.body ||=0A= elem.tagName && elem.ownerDocument && !elem.ownerDocument.body;=0A= },=0A= =0A= // Evalulates a script in a global context=0A= globalEval: function( data ) {=0A= data =3D jQuery.trim( data );=0A= =0A= if ( data ) {=0A= // Inspired by code by Andrea Giammarchi=0A= // = http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom= .html=0A= var head =3D document.getElementsByTagName("head")[0] || = document.documentElement,=0A= script =3D document.createElement("script");=0A= =0A= script.type =3D "text/javascript";=0A= if ( jQuery.browser.msie )=0A= script.text =3D data;=0A= else=0A= script.appendChild( document.createTextNode( data ) );=0A= =0A= // Use insertBefore instead of appendChild to circumvent an IE6 bug.=0A= // This arises when a base node is used (#2709).=0A= head.insertBefore( script, head.firstChild );=0A= head.removeChild( script );=0A= }=0A= },=0A= =0A= nodeName: function( elem, name ) {=0A= return elem.nodeName && elem.nodeName.toUpperCase() =3D=3D = name.toUpperCase();=0A= },=0A= =0A= cache: {},=0A= =0A= data: function( elem, name, data ) {=0A= elem =3D elem =3D=3D window ?=0A= windowData :=0A= elem;=0A= =0A= var id =3D elem[ expando ];=0A= =0A= // Compute a unique ID for the element=0A= if ( !id )=0A= id =3D elem[ expando ] =3D ++uuid;=0A= =0A= // Only generate the data cache if we're=0A= // trying to access or manipulate it=0A= if ( name && !jQuery.cache[ id ] )=0A= jQuery.cache[ id ] =3D {};=0A= =0A= // Prevent overriding the named cache with undefined values=0A= if ( data !=3D=3D undefined )=0A= jQuery.cache[ id ][ name ] =3D data;=0A= =0A= // Return the named cache data, or the ID for the element=0A= return name ?=0A= jQuery.cache[ id ][ name ] :=0A= id;=0A= },=0A= =0A= removeData: function( elem, name ) {=0A= elem =3D elem =3D=3D window ?=0A= windowData :=0A= elem;=0A= =0A= var id =3D elem[ expando ];=0A= =0A= // If we want to remove a specific section of the element's data=0A= if ( name ) {=0A= if ( jQuery.cache[ id ] ) {=0A= // Remove the section of cache data=0A= delete jQuery.cache[ id ][ name ];=0A= =0A= // If we've removed all the data, remove the element's cache=0A= name =3D "";=0A= =0A= for ( name in jQuery.cache[ id ] )=0A= break;=0A= =0A= if ( !name )=0A= jQuery.removeData( elem );=0A= }=0A= =0A= // Otherwise, we want to remove all of the element's data=0A= } else {=0A= // Clean up the element expando=0A= try {=0A= delete elem[ expando ];=0A= } catch(e){=0A= // IE has trouble directly removing the expando=0A= // but it's ok with using removeAttribute=0A= if ( elem.removeAttribute )=0A= elem.removeAttribute( expando );=0A= }=0A= =0A= // Completely remove the data cache=0A= delete jQuery.cache[ id ];=0A= }=0A= },=0A= =0A= // args is for internal usage only=0A= each: function( object, callback, args ) {=0A= var name, i =3D 0, length =3D object.length;=0A= =0A= if ( args ) {=0A= if ( length =3D=3D undefined ) {=0A= for ( name in object )=0A= if ( callback.apply( object[ name ], args ) =3D=3D=3D false )=0A= break;=0A= } else=0A= for ( ; i < length; )=0A= if ( callback.apply( object[ i++ ], args ) =3D=3D=3D false )=0A= break;=0A= =0A= // A special, fast, case for the most common use of each=0A= } else {=0A= if ( length =3D=3D undefined ) {=0A= for ( name in object )=0A= if ( callback.call( object[ name ], name, object[ name ] ) = =3D=3D=3D false )=0A= break;=0A= } else=0A= for ( var value =3D object[0];=0A= i < length && callback.call( value, i, value ) !=3D=3D false; value = =3D object[++i] ){}=0A= }=0A= =0A= return object;=0A= },=0A= =0A= prop: function( elem, value, type, i, name ) {=0A= // Handle executable functions=0A= if ( jQuery.isFunction( value ) )=0A= value =3D value.call( elem, i );=0A= =0A= // Handle passing in a number to a CSS property=0A= return value && value.constructor =3D=3D Number && type =3D=3D = "curCSS" && !exclude.test( name ) ?=0A= value + "px" :=0A= value;=0A= },=0A= =0A= className: {=0A= // internal only, use addClass("class")=0A= add: function( elem, classNames ) {=0A= jQuery.each((classNames || "").split(/\s+/), function(i, className){=0A= if ( elem.nodeType =3D=3D 1 && !jQuery.className.has( = elem.className, className ) )=0A= elem.className +=3D (elem.className ? " " : "") + className;=0A= });=0A= },=0A= =0A= // internal only, use removeClass("class")=0A= remove: function( elem, classNames ) {=0A= if (elem.nodeType =3D=3D 1)=0A= elem.className =3D classNames !=3D undefined ?=0A= jQuery.grep(elem.className.split(/\s+/), function(className){=0A= return !jQuery.className.has( classNames, className );=0A= }).join(" ") :=0A= "";=0A= },=0A= =0A= // internal only, use hasClass("class")=0A= has: function( elem, className ) {=0A= return jQuery.inArray( className, (elem.className || = elem).toString().split(/\s+/) ) > -1;=0A= }=0A= },=0A= =0A= // A method for quickly swapping in/out CSS properties to get correct = calculations=0A= swap: function( elem, options, callback ) {=0A= var old =3D {};=0A= // Remember the old values, and insert the new ones=0A= for ( var name in options ) {=0A= old[ name ] =3D elem.style[ name ];=0A= elem.style[ name ] =3D options[ name ];=0A= }=0A= =0A= callback.call( elem );=0A= =0A= // Revert the old values=0A= for ( var name in options )=0A= elem.style[ name ] =3D old[ name ];=0A= },=0A= =0A= css: function( elem, name, force ) {=0A= if ( name =3D=3D "width" || name =3D=3D "height" ) {=0A= var val, props =3D { position: "absolute", visibility: "hidden", = display:"block" }, which =3D name =3D=3D "width" ? [ "Left", "Right" ] : = [ "Top", "Bottom" ];=0A= =0A= function getWH() {=0A= val =3D name =3D=3D "width" ? elem.offsetWidth : elem.offsetHeight;=0A= var padding =3D 0, border =3D 0;=0A= jQuery.each( which, function() {=0A= padding +=3D parseFloat(jQuery.curCSS( elem, "padding" + this, = true)) || 0;=0A= border +=3D parseFloat(jQuery.curCSS( elem, "border" + this + = "Width", true)) || 0;=0A= });=0A= val -=3D Math.round(padding + border);=0A= }=0A= =0A= if ( jQuery(elem).is(":visible") )=0A= getWH();=0A= else=0A= jQuery.swap( elem, props, getWH );=0A= =0A= return Math.max(0, val);=0A= }=0A= =0A= return jQuery.curCSS( elem, name, force );=0A= },=0A= =0A= curCSS: function( elem, name, force ) {=0A= var ret, style =3D elem.style;=0A= =0A= // A helper method for determining if an element's values are broken=0A= function color( elem ) {=0A= if ( !jQuery.browser.safari )=0A= return false;=0A= =0A= // defaultView is cached=0A= var ret =3D defaultView.getComputedStyle( elem, null );=0A= return !ret || ret.getPropertyValue("color") =3D=3D "";=0A= }=0A= =0A= // We need to handle opacity special in IE=0A= if ( name =3D=3D "opacity" && jQuery.browser.msie ) {=0A= ret =3D jQuery.attr( style, "opacity" );=0A= =0A= return ret =3D=3D "" ?=0A= "1" :=0A= ret;=0A= }=0A= // Opera sometimes will give the wrong display answer, this fixes it, = see #2037=0A= if ( jQuery.browser.opera && name =3D=3D "display" ) {=0A= var save =3D style.outline;=0A= style.outline =3D "0 solid black";=0A= style.outline =3D save;=0A= }=0A= =0A= // Make sure we're using the right name for getting the float value=0A= if ( name.match( /float/i ) )=0A= name =3D styleFloat;=0A= =0A= if ( !force && style && style[ name ] )=0A= ret =3D style[ name ];=0A= =0A= else if ( defaultView.getComputedStyle ) {=0A= =0A= // Only "float" is needed here=0A= if ( name.match( /float/i ) )=0A= name =3D "float";=0A= =0A= name =3D name.replace( /([A-Z])/g, "-$1" ).toLowerCase();=0A= =0A= var computedStyle =3D defaultView.getComputedStyle( elem, null );=0A= =0A= if ( computedStyle && !color( elem ) )=0A= ret =3D computedStyle.getPropertyValue( name );=0A= =0A= // If the element isn't reporting its values properly in Safari=0A= // then some display: none elements are involved=0A= else {=0A= var swap =3D [], stack =3D [], a =3D elem, i =3D 0;=0A= =0A= // Locate all of the parent display: none elements=0A= for ( ; a && color(a); a =3D a.parentNode )=0A= stack.unshift(a);=0A= =0A= // Go through and make them visible, but in reverse=0A= // (It would be better if we knew the exact display type that they = had)=0A= for ( ; i < stack.length; i++ )=0A= if ( color( stack[ i ] ) ) {=0A= swap[ i ] =3D stack[ i ].style.display;=0A= stack[ i ].style.display =3D "block";=0A= }=0A= =0A= // Since we flip the display style, we have to handle that=0A= // one special, otherwise get the value=0A= ret =3D name =3D=3D "display" && swap[ stack.length - 1 ] !=3D null ?=0A= "none" :=0A= ( computedStyle && computedStyle.getPropertyValue( name ) ) || "";=0A= =0A= // Finally, revert the display styles back=0A= for ( i =3D 0; i < swap.length; i++ )=0A= if ( swap[ i ] !=3D null )=0A= stack[ i ].style.display =3D swap[ i ];=0A= }=0A= =0A= // We should always get a number back from opacity=0A= if ( name =3D=3D "opacity" && ret =3D=3D "" )=0A= ret =3D "1";=0A= =0A= } else if ( elem.currentStyle ) {=0A= var camelCase =3D name.replace(/\-(\w)/g, function(all, letter){=0A= return letter.toUpperCase();=0A= });=0A= =0A= ret =3D elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];=0A= =0A= // From the awesome hack by Dean Edwards=0A= // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291=0A= =0A= // If we're not dealing with a regular pixel number=0A= // but a number that has a weird ending, we need to convert it to = pixels=0A= if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) {=0A= // Remember the original values=0A= var left =3D style.left, rsLeft =3D elem.runtimeStyle.left;=0A= =0A= // Put in the new values to get a computed value out=0A= elem.runtimeStyle.left =3D elem.currentStyle.left;=0A= style.left =3D ret || 0;=0A= ret =3D style.pixelLeft + "px";=0A= =0A= // Revert the changed values=0A= style.left =3D left;=0A= elem.runtimeStyle.left =3D rsLeft;=0A= }=0A= }=0A= =0A= return ret;=0A= },=0A= =0A= clean: function( elems, context ) {=0A= var ret =3D [];=0A= context =3D context || document;=0A= // !context.createElement fails in IE with an error but returns typeof = 'object'=0A= if (typeof context.createElement =3D=3D 'undefined')=0A= context =3D context.ownerDocument || context[0] && = context[0].ownerDocument || document;=0A= =0A= jQuery.each(elems, function(i, elem){=0A= if ( !elem )=0A= return;=0A= =0A= if ( elem.constructor =3D=3D Number )=0A= elem +=3D '';=0A= =0A= // Convert html string into DOM nodes=0A= if ( typeof elem =3D=3D "string" ) {=0A= // Fix "XHTML"-style tags in all browsers=0A= elem =3D elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, = tag){=0A= return = tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ?=0A= all :=0A= front + ">";=0A= });=0A= =0A= // Trim whitespace, otherwise indexOf won't work as expected=0A= var tags =3D jQuery.trim( elem ).toLowerCase(), div =3D = context.createElement("div");=0A= =0A= var wrap =3D=0A= // option or optgroup=0A= !tags.indexOf("", "" ] ||=0A= =0A= !tags.indexOf("", "" ] ||=0A= =0A= tags.match(/^<(thead|tbody|tfoot|colg|cap)/) &&=0A= [ 1, "", "
" ] ||=0A= =0A= !tags.indexOf("", "" ] ||=0A= =0A= // matched above=0A= (!tags.indexOf("", "" ] ||=0A= =0A= !tags.indexOf("", "" ] ||=0A= =0A= // IE can't serialize and