Mercurial > laserkard
changeset 79:343dc947f999 laserkard
read JavaSctipt: the good parts
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 25 Jul 2010 01:33:22 -0400 |
parents | 4ebd94bfecda |
children | d913ee48d935 |
files | Laserkard.pm access.log awesome_js/buy2.js awesome_js/jquery-1.3.2.min.js awesome_js/jquery.js awesome_js/robert.js buy.html buy.js buy.pl buy2.html buy2.js buy_temp.clj css/buy2.css faq.php good-parts/first.js js-lib/buy2.js js-lib/jquery.js js-lib/prototype.js megamail.pl not-used/faq.php not-used/megamail.pl |
diffstat | 20 files changed, 12215 insertions(+), 375 deletions(-) [+] |
line wrap: on
line diff
1.1 --- a/Laserkard.pm Thu Jul 22 09:56:12 2010 -0400 1.2 +++ b/Laserkard.pm Sun Jul 25 01:33:22 2010 -0400 1.3 @@ -24,63 +24,57 @@ 1.4 1.5 1.6 1.7 -sub cardType 1.8 +sub cardType { return $_[0];} 1.9 + 1.10 +sub updateForm 1.11 { 1.12 + ################### 1.13 + $key = shift; 1.14 + $value = shift; 1.15 + $hashString = shift; 1.16 + ################### 1.17 1.18 -return $_[0]; 1.19 - 1.20 + $perl_hash = decode_json($hashString); 1.21 + 1.22 + %fieldHash = %$perl_hash; 1.23 + 1.24 + $fieldHash{$key} = $value; 1.25 + $ref = \%fieldHash; 1.26 + 1.27 + $utf8_encoded_json_text = encode_json($ref); 1.28 + return $utf8_encoded_json_text; 1.29 } 1.30 1.31 - 1.32 1.33 -sub updateForm 1.34 1.35 + 1.36 +sub material 1.37 { 1.38 - 1.39 - 1.40 - $key = shift; 1.41 - $value = shift; 1.42 - $hashString = shift; 1.43 - 1.44 - $perl_hash = decode_json $hashString; 1.45 - 1.46 - %fieldHash = %$perl_hash; 1.47 - 1.48 - 1.49 - $fieldHash{$key} = $value; 1.50 - $ref = \%fieldHash; 1.51 - 1.52 - $utf8_encoded_json_text = encode_json $ref ; 1.53 - return $utf8_encoded_json_text; 1.54 - 1.55 -} 1.56 - 1.57 - 1.58 - 1.59 - 1.60 -sub material{ 1.61 - 1.62 - $newvar = shift; 1.63 - 1.64 - my $t = $newvar; 1.65 - 1.66 - $newvar =~ m/([^_]*)_/; 1.67 - $newvar = $1; 1.68 - 1.69 - #return (($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked'); 1.70 - 1.71 - #$y = "$t<br>".(($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked')." 1.72 - 1.73 - { 1.74 - local( $/, *FH ) ; 1.75 - open( FH, "<./buy_pieces/materials2.html" ) or die "sudden flaming death\n"; 1.76 - $y = <FH>; 1.77 - } 1.78 - 1.79 - @symbols = qw(PERL::ACRYLIC_CLEAR PERL::ACRYLIC_BLUE PERL::ACRYLIC_GREEN PERL::ALUMINUM_RED PERL::ALUMINUM_BLUE PERL::ALUMINUM_GREEN PERL::ALUMINUM_BLACK); 1.80 - 1.81 - for (@symbols) 1.82 - { 1.83 + ################## 1.84 + $newvar = shift; 1.85 + ################## 1.86 + my $t = $newvar; 1.87 + 1.88 + $newvar =~ m/([^_]*)_/; 1.89 + $newvar = $1; 1.90 + 1.91 + #return (($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked'); 1.92 + 1.93 + #$y = "$t<br>".(($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked')." 1.94 + 1.95 + { 1.96 + local( $/, *FH ) ; 1.97 + open( FH, "<./buy_pieces/materials2.html" ) 1.98 + or die "sudden flaming death\n"; 1.99 + $y = <FH>; 1.100 + } 1.101 + 1.102 + @symbols = qw (PERL::ACRYLIC_CLEAR PERL::ACRYLIC_BLUE PERL::ACRYLIC_GREEN 1.103 + PERL::ALUMINUM_RED PERL::ALUMINUM_BLUE 1.104 + PERL::ALUMINUM_GREEN PERL::ALUMINUM_BLACK); 1.105 + 1.106 + for (@symbols) 1.107 + { 1.108 $c = $_; 1.109 $c =~ s/PERL:://; 1.110 $c =~ tr/[A-Z]/[a-z]/; 1.111 @@ -88,52 +82,48 @@ 1.112 1.113 $b = '"'.$newvar.$c.'"'.(($t =~ m/$c/) ? ' CHECKED ' : ''); 1.114 $y =~ s/$_/$b/; 1.115 - } 1.116 + } 1.117 1.118 - 1.119 $first = shift; 1.120 if ($first){ $y =~ s/display[^;]*;//g; } 1.121 - 1.122 - 1.123 - 1.124 return $y; 1.125 - 1.126 - 1.127 } 1.128 1.129 1.130 1.131 sub template 1.132 { 1.133 - 1.134 -$all = shift; 1.135 -$all =~ m/([^_]*)_(.*)/; 1.136 - 1.137 -$materialcolor = $2; 1.138 -$style = $1; 1.139 + 1.140 + $all = shift; 1.141 + $all =~ m/([^_]*)_(.*)/; 1.142 + 1.143 + $materialcolor = $2; 1.144 + $style = $1; 1.145 #here is where we handle important drawing commands relating to the cards. 1.146 - 1.147 - 1.148 - 1.149 -$r = <<HERE; 1.150 -<div id = "i_templates"><div class = 'ttyl'> <titletron>Select Style.</titletron></div> 1.151 -<div id = 'stupid'> 1.152 - 1.153 - 1.154 -<input TYPE="image" src = "./images/templates/big_$materialcolor.jpg" 1.155 -onmouseover="pokedex('big_$materialcolor');" 1.156 -onmouseout = "pokedex(document.getElementById('currentSpec').innerHTML);" 1.157 - 1.158 - 1.159 - 1.160 -onclick= 1.161 -"display(['template2'], ['display']); 1.162 -inputbox(['template2', 'formValues'], ['inputbox']); 1.163 -material(['template2'], ['materials']); 1.164 -cardType(['template2'], ['currentSpec']); 1.165 -redraw('bold');" 1.166 -ID="template2" NAME="template2" VALUE="big_$materialcolor"> 1.167 -<br> 1.168 + 1.169 + 1.170 + 1.171 + $r = <<HERE; 1.172 + <div id = "i_templates"> 1.173 + <div class = 'ttyl'> <titletron>Select Style.</titletron></div> 1.174 + <div id = 'stupid'> 1.175 + <input 1.176 + TYPE="image" 1.177 + src = "./images/templates/big_$materialcolor.jpg" 1.178 + onmouseover="pokedex('big_$materialcolor');" 1.179 + onmouseout = 1.180 + "pokedex(document.getElementById('currentSpec').innerHTML);" 1.181 + 1.182 + onclick= 1.183 + "display(['template2'], ['display']); 1.184 + inputbox(['template2', 'formValues'], ['inputbox']); 1.185 + material(['template2'], ['materials']); 1.186 + cardType(['template2'], ['currentSpec']); 1.187 + redraw('bold');" 1.188 + ID="template2" 1.189 + NAME="template2" 1.190 + VALUE="big_$materialcolor"> 1.191 + <br> 1.192 1.193 1.194 1.195 @@ -194,11 +184,6 @@ 1.196 1.197 1.198 1.199 -#$r =~ s/inputbox\(\['$target'\], \['inputbox'\]\)\;//; 1.200 - 1.201 - 1.202 - 1.203 - 1.204 1.205 return $r; 1.206 }
2.1 --- a/access.log Thu Jul 22 09:56:12 2010 -0400 2.2 +++ b/access.log Sun Jul 25 01:33:22 2010 -0400 2.3 @@ -202,3 +202,555 @@ 2.4 127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:29 -0400] "GET /css/front_page.css HTTP/1.1" 200 451 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.5 127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:29 -0400] "GET /images/Homepage.jpg HTTP/1.1" 200 323701 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.6 127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /buy.pl HTTP/1.1" 200 20346 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.7 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.8 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.9 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.10 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.11 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.12 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.13 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.14 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.15 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.16 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.17 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.18 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.19 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.20 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.21 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:55:30 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.22 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:43 -0400] "GET /contact.php HTTP/1.1" 200 2014 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.23 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:43 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.24 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:43 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.25 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:43 -0400] "GET /css/contact.css HTTP/1.1" 200 143 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.26 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:45 -0400] "GET /faq.clj HTTP/1.1" 200 3292 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.27 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:45 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.28 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:45 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.29 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:45 -0400] "GET /css/faq.css HTTP/1.1" 200 173 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.30 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /buy.pl HTTP/1.1" 200 20353 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.31 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.32 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.33 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.34 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.35 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.36 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.37 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.38 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.39 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.40 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.41 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.42 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.43 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.44 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.45 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:46 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.46 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:47 -0400] "GET /about.php HTTP/1.1" 200 2507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.47 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:47 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.48 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:47 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.49 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:47 -0400] "GET /css/about.css HTTP/1.1" 200 312 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.50 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:47 -0400] "GET /images/about.jpg HTTP/1.1" 200 80852 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.51 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /buy.pl HTTP/1.1" 200 20346 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.52 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.53 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.54 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.55 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.56 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.57 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.58 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.59 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.60 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.61 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.62 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.63 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.64 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.65 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.66 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:48 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.67 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:50 -0400] "GET /faq.clj HTTP/1.1" 200 3292 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.68 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:50 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.69 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:50 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.70 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:50 -0400] "GET /css/faq.css HTTP/1.1" 200 173 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.71 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:51 -0400] "GET /index.php HTTP/1.1" 200 2360 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.72 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:51 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.73 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:51 -0400] "GET /css/front_page.css HTTP/1.1" 200 451 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.74 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:51 -0400] "GET /images/Homepage.jpg HTTP/1.1" 200 323701 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.75 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:52 -0400] "GET /about.php HTTP/1.1" 200 2507 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.76 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:52 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.77 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:52 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.78 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:52 -0400] "GET /css/about.css HTTP/1.1" 200 312 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.79 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:52 -0400] "GET /images/about.jpg HTTP/1.1" 200 80852 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.80 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:54 -0400] "GET /contact.php HTTP/1.1" 200 2014 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.81 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:54 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.82 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:54 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.83 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:54 -0400] "GET /css/contact.css HTTP/1.1" 200 143 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.84 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:56 -0400] "GET /faq.clj HTTP/1.1" 200 3292 "http://laserkard.localhost/contact.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.85 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:56 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.86 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:56 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.87 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:56 -0400] "GET /css/faq.css HTTP/1.1" 200 173 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.88 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /buy.pl HTTP/1.1" 200 20353 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.89 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.90 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.91 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.92 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.93 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.94 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.95 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.96 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.97 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.98 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.99 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.100 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.101 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.102 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.103 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:56:57 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.104 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:00 -0400] "GET /faq.clj HTTP/1.1" 200 3292 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.105 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:00 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.106 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:00 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.107 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:00 -0400] "GET /css/faq.css HTTP/1.1" 200 173 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.108 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /buy.pl HTTP/1.1" 200 20346 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.109 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.110 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.111 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.112 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.113 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.114 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.115 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.116 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.117 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.118 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.119 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.120 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.121 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.122 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.123 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:57:30 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.124 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /buy.pl HTTP/1.1" 200 20346 "http://laserkard.localhost/faq.clj" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.125 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.126 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.127 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.128 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.129 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.130 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.131 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.132 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.133 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.134 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.135 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.136 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.137 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.138 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.139 +127.0.0.1 laserkard.localhost - [22/Jul/2010:09:59:07 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.140 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:51 -0400] "GET /buy.pl?fname=display&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 161 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.141 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:51 -0400] "GET /buy.pl?fname=cardType&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 28 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.142 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:51 -0400] "GET /buy.pl?fname=inputbox&args=big_acrylic_clear&template2=big_acrylic_clear&args=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A&formValues=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A HTTP/1.1" 200 4907 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.143 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:51 -0400] "GET /buy.pl?fname=material&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 624 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.144 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:53 -0400] "GET /buy.pl?fname=cardType&args=basic_acrylic_clear&template3=basic_acrylic_clear HTTP/1.1" 200 30 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.145 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:53 -0400] "GET /buy.pl?fname=material&args=basic_acrylic_clear&template3=basic_acrylic_clear HTTP/1.1" 200 628 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.146 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:53 -0400] "GET /buy.pl?fname=display&args=basic_acrylic_clear&template3=basic_acrylic_clear HTTP/1.1" 200 161 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.147 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:53 -0400] "GET /buy.pl?fname=inputbox&args=basic_acrylic_clear&template3=basic_acrylic_clear&args=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A&formValues=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A HTTP/1.1" 200 5577 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.148 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:55 -0400] "GET /buy.pl?fname=inputbox&args=big_acrylic_clear&template2=big_acrylic_clear&args=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A&formValues=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A HTTP/1.1" 200 4907 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.149 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:55 -0400] "GET /buy.pl?fname=display&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 161 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.150 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:55 -0400] "GET /buy.pl?fname=cardType&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 28 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.151 +127.0.0.1 laserkard.localhost - [22/Jul/2010:10:36:55 -0400] "GET /buy.pl?fname=material&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 624 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.152 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:23 -0400] "GET / HTTP/1.1" 200 2360 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.153 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:23 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.154 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:23 -0400] "GET /css/front_page.css HTTP/1.1" 200 451 "http://laserkard.localhost/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.155 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:23 -0400] "GET /images/Homepage.jpg HTTP/1.1" 200 323701 "http://laserkard.localhost/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.156 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /buy.pl HTTP/1.1" 200 20517 "http://laserkard.localhost/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.157 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.158 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.159 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 6004 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.160 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.161 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.162 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.163 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.164 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.165 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.166 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.167 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.168 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.169 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.170 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.171 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:25 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.172 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:29 -0400] "GET /buy.pl?fname=inputbox&args=big_acrylic_clear&template2=big_acrylic_clear&args=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A&formValues=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A HTTP/1.1" 200 4907 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.173 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:29 -0400] "GET /buy.pl?fname=display&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 161 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.174 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:29 -0400] "GET /buy.pl?fname=cardType&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 28 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.175 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:29 -0400] "GET /buy.pl?fname=material&args=big_acrylic_clear&template2=big_acrylic_clear HTTP/1.1" 200 624 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.176 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:32 -0400] "GET /buy.pl?fname=display&args=basic_acrylic_clear&template3=basic_acrylic_clear HTTP/1.1" 200 161 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.177 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:32 -0400] "GET /buy.pl?fname=inputbox&args=basic_acrylic_clear&template3=basic_acrylic_clear&args=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A&formValues=%7B%0A%22Name%22%3A%22My%20Name%22%2C%0A%22Email%22%3A%22email@example.com%22%2C%0A%22Phone%22%3A%20%22%28555%29-555-5555%22%2C%20%0A%22Company%22%3A%20%22Company%22%2C%0A%22Website%22%20%3A%20%22http%3A//www.example.com%22%2C%0A%22Occupation%22%20%3A%20%22Occupation%22%0A%7D%0A%0A HTTP/1.1" 200 5577 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.178 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:33 -0400] "GET /buy.pl?fname=cardType&args=basic_acrylic_clear&template3=basic_acrylic_clear HTTP/1.1" 200 30 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.179 +127.0.0.1 laserkard.localhost - [22/Jul/2010:11:46:33 -0400] "GET /buy.pl?fname=material&args=basic_acrylic_clear&template3=basic_acrylic_clear HTTP/1.1" 200 628 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.180 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /buy.pl HTTP/1.1" 200 20505 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.181 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.182 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.183 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.184 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.185 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.186 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.187 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.188 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.189 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.190 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.191 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.192 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.193 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.194 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.195 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:49 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.196 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:52 -0400] "GET /buy.js HTTP/1.1" 200 1 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.197 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /buy.pl HTTP/1.1" 200 20505 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.198 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.199 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.200 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.201 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.202 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.203 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.204 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.205 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:54 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.206 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:01:58 -0400] "GET /buy.js HTTP/1.1" 200 1 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.207 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /buy.pl HTTP/1.1" 200 20517 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.208 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.209 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.210 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.211 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.212 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.213 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.214 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.215 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.216 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.217 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.218 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.219 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.220 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.221 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.222 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:27 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.223 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:31 -0400] "GET /about.php HTTP/1.1" 200 2507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.224 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:31 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.225 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:31 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.226 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:31 -0400] "GET /css/about.css HTTP/1.1" 200 312 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.227 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:31 -0400] "GET /images/about.jpg HTTP/1.1" 200 80852 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.228 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:34 -0400] "GET /index.php HTTP/1.1" 200 2360 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.229 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:34 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.230 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:34 -0400] "GET /css/front_page.css HTTP/1.1" 200 451 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.231 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:34 -0400] "GET /images/Homepage.jpg HTTP/1.1" 200 323701 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.232 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /buy.pl HTTP/1.1" 200 20517 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.233 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.234 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.235 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.236 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.237 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.238 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.239 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.240 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.241 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.242 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.243 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.244 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.245 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.246 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.247 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:36 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.248 +127.0.0.1 laserkard.localhost - [22/Jul/2010:13:09:40 -0400] "GET /buy.js HTTP/1.1" 200 1 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.249 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /buy.pl HTTP/1.1" 200 20772 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.250 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.251 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.252 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.253 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.254 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.255 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.256 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.257 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.258 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.259 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.260 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.261 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.262 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.263 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.264 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:45 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.265 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /buy.pl HTTP/1.1" 200 20772 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.266 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.267 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.268 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.269 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.270 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.271 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.272 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.273 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.274 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.275 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.276 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.277 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.278 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.279 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.280 +127.0.0.1 laserkard.localhost - [23/Jul/2010:03:40:48 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.281 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:19 -0400] "GET /about.php HTTP/1.1" 200 2507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.282 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:20 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.283 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:20 -0400] "GET /css/old_sexy.css HTTP/1.1" 200 978 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.284 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:20 -0400] "GET /css/about.css HTTP/1.1" 200 312 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.285 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:20 -0400] "GET /images/about.jpg HTTP/1.1" 200 80852 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.286 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /buy.pl HTTP/1.1" 200 20780 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.287 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.288 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.289 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.290 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.291 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.292 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.293 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.294 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.295 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.296 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.297 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.298 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.299 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.300 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.301 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:26:21 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.302 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /buy.pl HTTP/1.1" 200 20779 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.303 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.304 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.305 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.306 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.307 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.308 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.309 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.310 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.311 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.312 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.313 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.314 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.315 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.316 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.317 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:27:30 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.318 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /buy.pl HTTP/1.1" 200 20755 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.319 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.320 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.321 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.322 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.323 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.324 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.325 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.326 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.327 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.328 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.329 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.330 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.331 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.332 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.333 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:40 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.334 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /buy.pl HTTP/1.1" 200 20779 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.335 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.336 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.337 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.338 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.339 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.340 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.341 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.342 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.343 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.344 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.345 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.346 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.347 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.348 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.349 +127.0.0.1 laserkard.localhost - [23/Jul/2010:04:30:54 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.350 +127.0.0.1 laserkard.localhost - [23/Jul/2010:05:45:44 -0400] "GET /buy.js HTTP/1.1" 200 93 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.351 +127.0.0.1 laserkard.localhost - [23/Jul/2010:05:45:46 -0400] "GET /buy.js HTTP/1.1" 200 93 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6" 2.352 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:26:55 -0400] "GET /buy.js HTTP/1.1" 200 93 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.353 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:26:55 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.354 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:26:59 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.355 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:00 -0400] "GET /buy.pl HTTP/1.1" 200 20774 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.356 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.357 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.358 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.359 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.360 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.361 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.362 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.363 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.364 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /buy.pl HTTP/1.1" 200 20774 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.365 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:01 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.366 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.367 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.368 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.369 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.370 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.371 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.372 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.373 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.374 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.375 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.376 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.377 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.378 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.379 +127.0.0.1 laserkard.localhost - [23/Jul/2010:16:27:02 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.380 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:45:44 -0400] "GET /buy2.js HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.381 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:45:48 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.382 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:45:49 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.383 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:47:22 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.384 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:47:22 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.385 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:47:22 -0400] "GET /js-lib/buy2.js HTTP/1.1" 404 345 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.386 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:47:22 -0400] "GET /js-lib/buy2.js HTTP/1.1" 404 345 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.387 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:47:29 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.388 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:48:22 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.389 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:48:22 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.390 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:48:22 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 111 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.391 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:52:07 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.392 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:52:08 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.393 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:52:08 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.394 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:30 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.395 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:30 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.396 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:30 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.397 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:31 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.398 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:31 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.399 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:31 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.400 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:33 -0400] "GET /buy2.html HTTP/1.1" 200 151 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.401 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:43 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.402 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:43 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.403 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:43 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.404 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:43 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.405 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:44 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.406 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:45 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.407 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:45 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.408 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:45 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.409 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:55:45 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.410 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.411 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.412 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.413 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.414 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.415 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.416 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.417 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 302 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.418 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:03 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.419 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:06 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.420 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:48 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.421 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:48 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.422 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:48 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.423 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:48 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 328 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.424 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:48 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.425 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.426 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.427 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 328 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.428 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.429 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.430 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.431 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:49 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 328 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.432 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:55 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.433 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:55 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.434 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:55 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 328 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.435 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:56:55 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.436 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:13 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.437 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.438 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.439 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 330 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.440 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.441 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.442 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.443 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 330 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.444 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:14 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.445 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:15 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.446 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:15 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.447 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:15 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 330 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.448 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:47 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.449 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.450 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 330 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.451 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.452 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.453 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.454 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.455 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:57:48 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 330 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.456 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:05 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.457 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.458 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.459 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 334 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.460 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.461 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.462 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.463 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 334 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.464 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:06 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.465 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:07 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.466 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:07 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.467 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:07 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 334 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.468 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:08 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.469 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.470 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.471 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 334 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.472 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.473 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /css/buy2.css HTTP/1.1" 200 32 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.474 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.475 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:09 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 334 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.476 +127.0.0.1 laserkard.localhost - [24/Jul/2010:19:59:10 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.477 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:06 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.478 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:07 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.479 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:07 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.480 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:07 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 340 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.481 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:58 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.482 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:58 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.483 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:58 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.484 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:00:58 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 289 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.485 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:04 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.486 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:05 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.487 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:05 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.488 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:05 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 289 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.489 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:08 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.490 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:09 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.491 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:09 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.492 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:01:09 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 289 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.493 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:03:05 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.494 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:03:06 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.495 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:03:06 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.496 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:03:06 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 289 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.497 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:14 -0400] "GET /buy.js HTTP/1.1" 200 93 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.498 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:15 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.499 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:15 -0400] "GET /buy2.html HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.500 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:16 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.501 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:16 -0400] "GET /js-lib/jquery.js HTTP/1.1" 200 163855 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.502 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:16 -0400] "GET /js-lib/buy2.js HTTP/1.1" 200 289 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.503 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:18 -0400] "GET /buy.pl HTTP/1.1" 200 20774 "http://laserkard.localhost/about.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.504 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:18 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.505 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:19 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.506 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:19 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.507 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:19 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.508 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:19 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.509 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:20 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.510 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:20 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.511 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:20 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.512 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:20 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.513 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:20 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.514 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:22 -0400] "GET /buy.pl HTTP/1.1" 200 20782 "http://laserkard.localhost/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.515 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /css/main.css HTTP/1.1" 200 509 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.516 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /css/sexy.css HTTP/1.1" 200 971 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.517 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /awesome_js/buycode.js HTTP/1.1" 200 7735 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.518 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /awesome_js/raphael.js HTTP/1.1" 200 133580 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.519 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /awesome_js/robert.js HTTP/1.1" 200 5875 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.520 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /awesome_js/json2.js HTTP/1.1" 200 17350 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.521 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /awesome_js/cufon-yui.js HTTP/1.1" 200 18257 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.522 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:23 -0400] "GET /awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js HTTP/1.1" 200 72503 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.523 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:24 -0400] "GET /images/templates/big_acrylic_clear.jpg HTTP/1.1" 200 15126 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.524 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:25 -0400] "GET /images/templates/basic_acrylic_clear.jpg HTTP/1.1" 200 15566 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.525 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:25 -0400] "GET /images/templates/classic_acrylic_clear.jpg HTTP/1.1" 200 17507 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.526 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:27 -0400] "GET /images/templates/lines_acrylic_clear.jpg HTTP/1.1" 200 17708 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.527 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:27 -0400] "GET /images/blank.jpg HTTP/1.1" 200 31519 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.528 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:31 -0400] "GET /inkscape/clear_acrylic.png HTTP/1.1" 200 3098 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.529 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:14:31 -0400] "GET /inkscape/green_acrylic.png HTTP/1.1" 200 3427 "http://laserkard.localhost/buy.pl" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.530 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:22:05 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.531 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:31:23 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.532 +127.0.0.1 laserkard.localhost - [24/Jul/2010:20:41:26 -0400] "GET /favicon.ico HTTP/1.1" 404 345 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.533 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:24:13 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.534 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:24:13 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.535 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:24:13 -0400] "GET /good-parts/first.js HTTP/1.1" 404 345 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.536 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:24:50 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.537 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:24:51 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.538 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:24:51 -0400] "GET /good-parts/first.js HTTP/1.1" 200 34 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.539 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:25:41 -0400] "GET /buy2.html HTTP/1.1" 200 223 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.540 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:25:41 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.541 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:25:41 -0400] "GET /good-parts/first.js HTTP/1.1" 200 34 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.542 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:26:17 -0400] "GET /buy2.html HTTP/1.1" 200 223 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.543 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:26:17 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.544 +127.0.0.1 laserkard.localhost - [24/Jul/2010:23:26:17 -0400] "GET /good-parts/first.js HTTP/1.1" 200 34 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.545 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:05:24 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.546 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:05:24 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.547 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:05:24 -0400] "GET /good-parts/first.js HTTP/1.1" 200 428 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.548 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:06:47 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.549 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:06:47 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.550 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:06:47 -0400] "GET /good-parts/first.js HTTP/1.1" 200 553 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.551 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:07:25 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.552 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:07:26 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.553 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:07:26 -0400] "GET /good-parts/first.js HTTP/1.1" 200 555 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.554 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:07:47 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.555 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:07:47 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.556 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:07:47 -0400] "GET /good-parts/first.js HTTP/1.1" 200 588 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.557 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:08:22 -0400] "GET /buy2.html HTTP/1.1" 200 226 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7" 2.558 +127.0.0.1 laserkard.localhost - [25/Jul/2010:00:08:23 -0400] "GET /css/buy2.css HTTP/1.1" 200 33 "http://laserkard.localhost/buy2.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100715 Ubuntu/10.04 (lucid) Firefox/3.6.7"
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/awesome_js/buy2.js Sun Jul 25 01:33:22 2010 -0400 3.3 @@ -0,0 +1,6 @@ 3.4 +$(document).ready(function(){ 3.5 + $("a").click(function(event){ 3.6 + alert("Thanks for visiting!"); 3.7 + }); 3.8 + }); 3.9 +
4.1 --- a/awesome_js/jquery-1.3.2.min.js Thu Jul 22 09:56:12 2010 -0400 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,19 +0,0 @@ 4.4 -/* 4.5 - * jQuery JavaScript Library v1.3.2 4.6 - * http://jquery.com/ 4.7 - * 4.8 - * Copyright (c) 2009 John Resig 4.9 - * Dual licensed under the MIT and GPL licenses. 4.10 - * http://docs.jquery.com/License 4.11 - * 4.12 - * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) 4.13 - * Revision: 6246 4.14 - */ 4.15 -(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); 4.16 -/* 4.17 - * Sizzle CSS Selector Engine - v0.9.3 4.18 - * Copyright 2009, The Dojo Foundation 4.19 - * Released under the MIT, BSD, and GPL Licenses. 4.20 - * More information: http://sizzlejs.com/ 4.21 - */ 4.22 -(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); 4.23 \ No newline at end of file
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/awesome_js/jquery.js Sun Jul 25 01:33:22 2010 -0400 5.3 @@ -0,0 +1,154 @@ 5.4 +/*! 5.5 + * jQuery JavaScript Library v1.4.2 5.6 + * http://jquery.com/ 5.7 + * 5.8 + * Copyright 2010, John Resig 5.9 + * Dual licensed under the MIT or GPL Version 2 licenses. 5.10 + * http://jquery.org/license 5.11 + * 5.12 + * Includes Sizzle.js 5.13 + * http://sizzlejs.com/ 5.14 + * Copyright 2010, The Dojo Foundation 5.15 + * Released under the MIT, BSD, and GPL Licenses. 5.16 + * 5.17 + * Date: Sat Feb 13 22:33:48 2010 -0500 5.18 + */ 5.19 +(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i? 5.20 +e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r= 5.21 +j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g, 5.22 +"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e= 5.23 +true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, 5.24 +Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& 5.25 +(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, 5.26 +a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== 5.27 +"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, 5.28 +function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)|| 5.29 +c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded", 5.30 +L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype, 5.31 +"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+ 5.32 +a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f], 5.33 +d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]=== 5.34 +a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&& 5.35 +!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari= 5.36 +true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; 5.37 +var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, 5.38 +parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= 5.39 +false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= 5.40 +s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, 5.41 +applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; 5.42 +else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, 5.43 +a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== 5.44 +w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, 5.45 +cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ", 5.46 +i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" ", 5.47 +" ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className= 5.48 +this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i= 5.49 +e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= 5.50 +c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); 5.51 +a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, 5.52 +function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); 5.53 +k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), 5.54 +C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!= 5.55 +null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type= 5.56 +e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& 5.57 +f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; 5.58 +if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), 5.59 +fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop|| 5.60 +d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this, 5.61 +"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent= 5.62 +a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y, 5.63 +isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit= 5.64 +{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}}; 5.65 +if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", 5.66 +e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, 5.67 +"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, 5.68 +d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&& 5.69 +!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}}, 5.70 +toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector, 5.71 +u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "), 5.72 +function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q]; 5.73 +if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, 5.74 +e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); 5.75 +t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| 5.76 +g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[]; 5.77 +for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length- 5.78 +1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, 5.79 +CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}}, 5.80 +relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]= 5.81 +l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[]; 5.82 +h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, 5.83 +CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, 5.84 +g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, 5.85 +text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, 5.86 +setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= 5.87 +h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m= 5.88 +m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== 5.89 +"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, 5.90 +h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition|| 5.91 +!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m= 5.92 +h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& 5.93 +q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>"; 5.94 +if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); 5.95 +(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: 5.96 +function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/, 5.97 +gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length; 5.98 +c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= 5.99 +{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== 5.100 +"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", 5.101 +d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? 5.102 +a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== 5.103 +1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)? 5.104 +a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= 5.105 +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, 5.106 +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, 5.107 +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, 5.108 +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); 5.109 +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, 5.110 +""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&& 5.111 +this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]|| 5.112 +u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length=== 5.113 +1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); 5.114 +return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", 5.115 +""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= 5.116 +c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? 5.117 +c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= 5.118 +function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= 5.119 +Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, 5.120 +"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= 5.121 +a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= 5.122 +a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== 5.123 +"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, 5.124 +serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), 5.125 +function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, 5.126 +global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& 5.127 +e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? 5.128 +"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== 5.129 +false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= 5.130 +false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", 5.131 +c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| 5.132 +d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); 5.133 +g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== 5.134 +1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== 5.135 +"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; 5.136 +if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay"); 5.137 +this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a], 5.138 +"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)}, 5.139 +animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing= 5.140 +j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]); 5.141 +this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== 5.142 +"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| 5.143 +c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; 5.144 +this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= 5.145 +this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, 5.146 +e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length|| 5.147 +c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement? 5.148 +function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b= 5.149 +this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle; 5.150 +k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&& 5.151 +f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"; 5.152 +a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); 5.153 +c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, 5.154 +d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- 5.155 +f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": 5.156 +"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in 5.157 +e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);
6.1 --- a/awesome_js/robert.js Thu Jul 22 09:56:12 2010 -0400 6.2 +++ b/awesome_js/robert.js Sun Jul 25 01:33:22 2010 -0400 6.3 @@ -74,29 +74,21 @@ 6.4 6.5 } 6.6 6.7 -//~ function smallRedraw(style,field) 6.8 -//~ { 6.9 -//~ //smallRedraw(style,field,"fefefe"); 6.10 -//~ sRedraw(style,field,'fefefe'); 6.11 -//~ } 6.12 6.13 6.14 function smallRedraw(style,field) 6.15 { 6.16 6.17 -var JSONtext = document.getElementById('formValues').innerHTML; 6.18 -var hash = new Object(); 6.19 -hash = eval('(' + JSONtext + ')'); 6.20 + var JSONtext = document.getElementById('formValues').innerHTML; 6.21 + var hash = new Object(); 6.22 + hash = eval('(' + JSONtext + ')'); 6.23 + 6.24 + var content = eval("hash."+field); 6.25 + 6.26 + content = unescape(content); 6.27 + 6.28 6.29 -var content = eval("hash."+field); 6.30 - 6.31 - content = unescape(content); 6.32 - 6.33 -//if (prevVal == content){return;} 6.34 - 6.35 -contentRedraw(style,field, content); 6.36 - 6.37 - 6.38 + contentRedraw(style,field, content); 6.39 } 6.40 6.41
7.1 --- a/buy.html Thu Jul 22 09:56:12 2010 -0400 7.2 +++ b/buy.html Sun Jul 25 01:33:22 2010 -0400 7.3 @@ -1,88 +1,81 @@ 7.4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 7.5 <html xmlns="http://www.w3.org/1999/xhtml"> 7.6 -<head> 7.7 -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7.8 + <head> 7.9 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7.10 + 7.11 + <link href="./css/main.css" rel="stylesheet" type="text/css"> 7.12 + <link href="./css/sexy.css" rel="stylesheet" type="text/css"> 7.13 + 7.14 + <title>Laser Kard | Design Studio</title> 7.15 + 7.16 + <script type="text/javascript" src="./awesome_js/buycode.js"></script> 7.17 + <script type="text/javascript" src="./awesome_js/raphael.js"></script> 7.18 + <script type="text/javascript" src="./awesome_js/robert.js"></script> 7.19 + <script type="text/javascript" src="./awesome_js/json2.js"></script> 7.20 + <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script> 7.21 + <script type="text/javascript" 7.22 + src="./awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js"></script> 7.23 + 7.24 + </head> 7.25 + 7.26 + <body id = "buy"> 7.27 + PERL-REPLACE::TOP_MENU 7.28 + <div id="whole"> 7.29 + <div id="templates" > PERL-REPLACE::TEMPLATES </div> 7.30 + <div id="centerbox" > 7.31 + <div id="trifold" > 7.32 + <div id="disp_contain"></div> 7.33 + <div id="display">PERL-REPLACE::DISPLAY</div> 7.34 + </div> 7.35 + <div id="pokedex">PERL-REPLACE::POKEDEX</div> 7.36 + </div> 7.37 + <div id="inputbox" >PERL-REPLACE::INPUTBOX</div> 7.38 + <div id="materials" 7.39 + onmouseover="pokedex(['args__materials'],['pokedex']);"> 7.40 + PERL-REPLACE::MATERIALS 7.41 + </div> 7.42 + </div> 7.43 + 7.44 + <div id = "formValues">PERL::INITIALVALUES</div> 7.45 + 7.46 + <div id = "currentSpec">PERL::INITIALCARD</div> 7.47 + 7.48 + <div id = "cardDefs">PERL::DEFS</div> 7.49 + 7.50 + <div id = "output">OUTPUT</div> 7.51 + 7.52 7.53 -<link href="./css/main.css" rel="stylesheet" type="text/css"> 7.54 -<link href="./css/sexy.css" rel="stylesheet" type="text/css"> 7.55 + <!-- 7.56 + <div id = "copyright">© 2010 LaserKard, LLC</div> 7.57 + --> 7.58 + 7.59 + 7.60 + <script language="javascript"> 7.61 + //this is the main painting object, 7.62 + //established here and created with Initial painting values 7.63 + 7.64 + JSONtex = document.getElementById('cardDefs').innerHTML; 7.65 + laserkard = new Object(); 7.66 + laserkard = eval('(' + JSONtex + ')'); 7.67 + 7.68 + var raphe = Raphael("disp_contain", 515, 318); 7.69 + redraw("bold"); 7.70 + </script> 7.71 + 7.72 + 7.73 + <script type="text/javascript"> 7.74 + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 7.75 + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 7.76 + </script> 7.77 + <script type="text/javascript"> 7.78 + try { 7.79 + var pageTracker = _gat._getTracker("UA-15235673-1"); 7.80 + pageTracker._trackPageview(); 7.81 + } catch(err) {}</script> 7.82 + 7.83 + </body> 7.84 + 7.85 + </html> 7.86 7.87 -<title>Laser Kard | Design Studio</title> 7.88 - 7.89 -<script type="text/javascript" src="./awesome_js/buycode.js"></script> 7.90 -<script type="text/javascript" src="./awesome_js/raphael.js"></script> 7.91 -<script type="text/javascript" src="./awesome_js/robert.js"></script> 7.92 -<script type="text/javascript" src="./awesome_js/json2.js"></script> 7.93 -<script type="text/javascript" src="./awesome_js/cufon-yui.js"></script> 7.94 -<script type="text/javascript" src="./awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js"></script> 7.95 - 7.96 - 7.97 - 7.98 - 7.99 - 7.100 -</head> 7.101 - 7.102 -<body id = "buy"> 7.103 - 7.104 - 7.105 - 7.106 -PERL-REPLACE::TOP_MENU 7.107 -<div id="whole"> 7.108 - <div id="templates" >PERL-REPLACE::TEMPLATES</div> 7.109 - <div id = "centerbox" > 7.110 - 7.111 - <div id= "trifold" > 7.112 - <div id = "disp_contain"></div> 7.113 - <div id="display">PERL-REPLACE::DISPLAY</div> 7.114 - </div> 7.115 - 7.116 - <div id="pokedex">PERL-REPLACE::POKEDEX</div> 7.117 - </div> 7.118 - 7.119 - <div id="inputbox" >PERL-REPLACE::INPUTBOX</div> 7.120 - <div id="materials" onmouseover="pokedex(['args__materials'],['pokedex']);">PERL-REPLACE::MATERIALS</div> 7.121 -</div> 7.122 - 7.123 -<div id = "formValues">PERL::INITIALVALUES</div> 7.124 - 7.125 -<div id = "currentSpec">PERL::INITIALCARD</div> 7.126 - 7.127 -<div id = "cardDefs">PERL::DEFS</div> 7.128 - 7.129 -<div id = "output">OUTPUT</div> 7.130 - 7.131 - 7.132 - 7.133 -<div id = "copyright">© 2010 LaserKard, LLC</div> 7.134 - 7.135 - 7.136 - 7.137 -<script language="javascript"> 7.138 -//this is the main painting object, established here and created with Initial painting values 7.139 - 7.140 -JSONtex = document.getElementById('cardDefs').innerHTML; 7.141 -laserkard = new Object(); 7.142 -laserkard = eval('(' + JSONtex + ')'); 7.143 - 7.144 -var raphe = Raphael("disp_contain", 515, 318); 7.145 -redraw("bold"); 7.146 - 7.147 - 7.148 - 7.149 -</script> 7.150 - 7.151 - 7.152 -<script type="text/javascript"> 7.153 -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 7.154 -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 7.155 -</script> 7.156 -<script type="text/javascript"> 7.157 -try { 7.158 -var pageTracker = _gat._getTracker("UA-15235673-1"); 7.159 -pageTracker._trackPageview(); 7.160 -} catch(err) {}</script> 7.161 - 7.162 -</body> 7.163 - 7.164 -</html> 7.165 - 7.166 - 7.167 + 7.168 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/buy.js Sun Jul 25 01:33:22 2010 -0400 8.3 @@ -0,0 +1,5 @@ 8.4 +function hello(who) { 8.5 + alert('Hello '+who); // outputs "Hello world" 8.6 +} 8.7 + 8.8 +hello('world');
9.1 --- a/buy.pl Thu Jul 22 09:56:12 2010 -0400 9.2 +++ b/buy.pl Sun Jul 25 01:33:22 2010 -0400 9.3 @@ -28,6 +28,3 @@ 9.4 9.5 # this outputs the html for the page 9.6 print $pjx->build_html($q,\&Laserkard::genBuy,{-Cache_Control => 'no-store, no-cache, must-revalidate', -Pragma => 'no-cache'}); 9.7 - 9.8 - 9.9 -# it's a refrence to a function, not a function itself.
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/buy2.html Sun Jul 25 01:33:22 2010 -0400 10.3 @@ -0,0 +1,23 @@ 10.4 +<!doctype html> 10.5 +<html> 10.6 + <head> 10.7 + <link href="./css/buy2.css" rel="stylesheet" type="text/css"></link> 10.8 + 10.9 + <script type="text/javascript" src="/js-lib/jquery.js"></script> 10.10 + <script type="text/javascript" src="/buy2.js"></script> 10.11 + 10.12 + </head> 10.13 + <body> 10.14 + <pre> 10.15 + <script type="text/javascript" src="good-parts/first.js"></script> 10.16 + </pre> 10.17 + 10.18 + <div class="color-select"></div> 10.19 + <div class="whatev"></div> 10.20 + 10.21 + 10.22 + 10.23 + 10.24 + 10.25 + </body> 10.26 +</html>
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/buy2.js Sun Jul 25 01:33:22 2010 -0400 11.3 @@ -0,0 +1,1 @@ 11.4 +
12.1 --- a/buy_temp.clj Thu Jul 22 09:56:12 2010 -0400 12.2 +++ b/buy_temp.clj Sun Jul 25 01:33:22 2010 -0400 12.3 @@ -3,14 +3,12 @@ 12.4 (:use (compojure.http request servlet session routes) 12.5 (compojure.server jetty) 12.6 (compojure control) 12.7 - (clojure.contrib prxml str-utils duck-streams) 12.8 + (clojure.contrib def prxml str-utils duck-streams) 12.9 (laserkard common) 12.10 )) 12.11 12.12 - 12.13 + 12.14 (defn buy-gen [] 12.15 - 12.16 - 12.17 (str 12.18 (header) 12.19 (re-gsub
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/css/buy2.css Sun Jul 25 01:33:22 2010 -0400 13.3 @@ -0,0 +1,2 @@ 13.4 + 13.5 +a.test { font-weight: bold; }
14.1 --- a/faq.php Thu Jul 22 09:56:12 2010 -0400 14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 14.3 @@ -1,102 +0,0 @@ 14.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 14.5 -<html xmlns="http://www.w3.org/1999/xhtml"> 14.6 -<head> 14.7 -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 14.8 - 14.9 -<STYLE TYPE="text/css" > 14.10 -<!-- 14.11 - @import url(./main.css); 14.12 - @import url(./old_sexy.css); 14.13 - @import url(./faq.css); 14.14 - 14.15 ---> 14.16 -</STYLE> 14.17 - 14.18 - 14.19 -<title>Laser Kard | FAQ</title> 14.20 -</head> 14.21 - 14.22 -<body id = "faq"> 14.23 - 14.24 - 14.25 - 14.26 - 14.27 - 14.28 - 14.29 - 14.30 -<?php include("./top_menu.include"); ?> 14.31 - 14.32 - 14.33 - 14.34 -<div class = "whole"> 14.35 - 14.36 -<div id = "pokedex"> 14.37 - 14.38 -<h1>Frequently Asked Questions</h1> 14.39 - 14.40 - 14.41 - 14.42 - 14.43 - 14.44 - 14.45 -<p class = "question"> 14.46 -How are they used; Will I have enough cards? 14.47 -</p> 14.48 -<p class = "answer"> 14.49 -LaserKards are meant to be used wisely - when you want to make an impact. One customer used the analogy that unlike regular cards being a spray of information, these are focused like a sniper rifle. 14.50 -</p> 14.51 -<p class = "question"> 14.52 -Are they effective? 14.53 -</p> 14.54 -<p class = "answer"> 14.55 -We've done myriad user tests to ensure that these do indeed draw attention. User tests speak for themselves. At networking sessions, they draw the conversation to the person using LaserKards. From engineers to musicians, the cards demonstrate a universal appeal. 14.56 -</p> 14.57 - 14.58 -<p class = "question"> 14.59 -How thick are LaserKards? 14.60 -</p> 14.61 -<p class = "answer"> 14.62 -They are slightly thicker than a credit card, so that they provide a feeling of presence without being obtrusive. They fit into conventional wallets, as the length is designed to account for the thickness. 14.63 -</p> 14.64 - 14.65 -<p class = "question"> 14.66 -Do they stay clean? 14.67 -</p> 14.68 -<p class = "answer"> 14.69 -They should be handled with care. Included with the cards is a microfiber cleaning cloth to ensure that the cards will be immaculate when they are given out. 14.70 -</p> 14.71 - 14.72 -<p class = "question"> 14.73 -How are they made? 14.74 -</p> 14.75 -<p class = "answer"> 14.76 -LaserKards are made of acrylic, a high-grade plastic that provides a reflective and transparent finish. Chemical and shatter resistant, the material can withstand a lot. 14.77 -</p> 14.78 - 14.79 -<p class = "question"> 14.80 -Who are the designers? 14.81 -</p> 14.82 -<p class = "answer"> 14.83 -They are MIT Engineers who specialize in Product Design. They work tirelessly developing and testing new cards and products. They have worked at the prestigious AI Labs at MIT as well as the MIT Media Laboratory. One of our designers just signed on to work at Apple with their illustrious manufacturing group. 14.84 -</p> 14.85 - 14.86 - 14.87 - 14.88 - 14.89 - 14.90 - 14.91 - 14.92 - 14.93 - 14.94 - 14.95 -</div> 14.96 - 14.97 -</div> 14.98 - 14.99 - 14.100 -<div id = "garbage"> </div> 14.101 - 14.102 - 14.103 -</body> 14.104 -</html> 14.105 -
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/good-parts/first.js Sun Jul 25 01:33:22 2010 -0400 15.3 @@ -0,0 +1,49 @@ 15.4 +document.writeln("hello world!"); 15.5 + 15.6 +Function.prototype.method = function (name, func) { 15.7 + this.prototype[name] = func; 15.8 + return this; 15.9 +}; 15.10 + 15.11 + 15.12 +if (typeof Object.create !== 'function') { 15.13 + Object.create = function (o) { 15.14 + var F = function () {}; 15.15 + F.prototype = o; 15.16 + return new F(); 15.17 + };} 15.18 + 15.19 +Number.method('integer', function ( ) { 15.20 + return Math[this < 0 ? 'ceil' : 'floor'](this); 15.21 + }); 15.22 + 15.23 +String.method('trim', function ( ) { 15.24 + return this.replace(/^\s+|\s+$/g, ''); 15.25 + }); 15.26 + 15.27 + 15.28 +document.writeln((-10 / 3).integer( )); 15.29 + 15.30 +document.writeln("whatev ".trim()); 15.31 +document.writeln("whatev "); 15.32 + 15.33 +Function.method('curry', function ( ) { 15.34 + var slice = Array.prototype.slice, 15.35 + args = slice.apply(arguments), 15.36 + that = this; 15.37 + return function ( ) { 15.38 + return that.apply(null, args.concat(slice.apply(arguments))); 15.39 + }; 15.40 + }); 15.41 + 15.42 +var memoizer = function (memo, formula) { 15.43 + var recur = function (n) { 15.44 + var result = memo[n]; 15.45 + if (typeof result !== 'number') { 15.46 + result = formula(recur, n); 15.47 + memo[n] = result; 15.48 + } 15.49 + return result; 15.50 + }; 15.51 + return recur; 15.52 +};
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/js-lib/buy2.js Sun Jul 25 01:33:22 2010 -0400 16.3 @@ -0,0 +1,44 @@ 16.4 +// $(document).ready(function(){ 16.5 +// $("a").click(function(event){ 16.6 +// alert("Thanks for visiting!"); 16.7 +// }); 16.8 +// }); 16.9 + 16.10 + 16.11 + 16.12 + 16.13 +var buy = new function() { 16.14 + 16.15 + var internalFunction = function() { 16.16 + 16.17 + }; 16.18 + 16.19 + this.publicFunction = function() { 16.20 + 16.21 + }; 16.22 + }; 16.23 + 16.24 + 16.25 + 16.26 + 16.27 + 16.28 + 16.29 + 16.30 +$(document).ready(function(){ 16.31 + 16.32 + 16.33 + }); 16.34 + 16.35 + 16.36 + 16.37 + 16.38 + 16.39 + 16.40 + 16.41 + 16.42 + 16.43 + // $("a").addClass("test"); 16.44 + // $("a").click(function(event){ 16.45 + // event.preventDefault(); 16.46 + // $(this).hide("slow"); 16.47 + // });
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/js-lib/jquery.js Sun Jul 25 01:33:22 2010 -0400 17.3 @@ -0,0 +1,6240 @@ 17.4 +/*! 17.5 + * jQuery JavaScript Library v1.4.2 17.6 + * http://jquery.com/ 17.7 + * 17.8 + * Copyright 2010, John Resig 17.9 + * Dual licensed under the MIT or GPL Version 2 licenses. 17.10 + * http://jquery.org/license 17.11 + * 17.12 + * Includes Sizzle.js 17.13 + * http://sizzlejs.com/ 17.14 + * Copyright 2010, The Dojo Foundation 17.15 + * Released under the MIT, BSD, and GPL Licenses. 17.16 + * 17.17 + * Date: Sat Feb 13 22:33:48 2010 -0500 17.18 + */ 17.19 +(function( window, undefined ) { 17.20 + 17.21 +// Define a local copy of jQuery 17.22 +var jQuery = function( selector, context ) { 17.23 + // The jQuery object is actually just the init constructor 'enhanced' 17.24 + return new jQuery.fn.init( selector, context ); 17.25 + }, 17.26 + 17.27 + // Map over jQuery in case of overwrite 17.28 + _jQuery = window.jQuery, 17.29 + 17.30 + // Map over the $ in case of overwrite 17.31 + _$ = window.$, 17.32 + 17.33 + // Use the correct document accordingly with window argument (sandbox) 17.34 + document = window.document, 17.35 + 17.36 + // A central reference to the root jQuery(document) 17.37 + rootjQuery, 17.38 + 17.39 + // A simple way to check for HTML strings or ID strings 17.40 + // (both of which we optimize for) 17.41 + quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/, 17.42 + 17.43 + // Is it a simple selector 17.44 + isSimple = /^.[^:#\[\.,]*$/, 17.45 + 17.46 + // Check if a string has a non-whitespace character in it 17.47 + rnotwhite = /\S/, 17.48 + 17.49 + // Used for trimming whitespace 17.50 + rtrim = /^(\s|\u00A0)+|(\s|\u00A0)+$/g, 17.51 + 17.52 + // Match a standalone tag 17.53 + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, 17.54 + 17.55 + // Keep a UserAgent string for use with jQuery.browser 17.56 + userAgent = navigator.userAgent, 17.57 + 17.58 + // For matching the engine and version of the browser 17.59 + browserMatch, 17.60 + 17.61 + // Has the ready events already been bound? 17.62 + readyBound = false, 17.63 + 17.64 + // The functions to execute on DOM ready 17.65 + readyList = [], 17.66 + 17.67 + // The ready event handler 17.68 + DOMContentLoaded, 17.69 + 17.70 + // Save a reference to some core methods 17.71 + toString = Object.prototype.toString, 17.72 + hasOwnProperty = Object.prototype.hasOwnProperty, 17.73 + push = Array.prototype.push, 17.74 + slice = Array.prototype.slice, 17.75 + indexOf = Array.prototype.indexOf; 17.76 + 17.77 +jQuery.fn = jQuery.prototype = { 17.78 + init: function( selector, context ) { 17.79 + var match, elem, ret, doc; 17.80 + 17.81 + // Handle $(""), $(null), or $(undefined) 17.82 + if ( !selector ) { 17.83 + return this; 17.84 + } 17.85 + 17.86 + // Handle $(DOMElement) 17.87 + if ( selector.nodeType ) { 17.88 + this.context = this[0] = selector; 17.89 + this.length = 1; 17.90 + return this; 17.91 + } 17.92 + 17.93 + // The body element only exists once, optimize finding it 17.94 + if ( selector === "body" && !context ) { 17.95 + this.context = document; 17.96 + this[0] = document.body; 17.97 + this.selector = "body"; 17.98 + this.length = 1; 17.99 + return this; 17.100 + } 17.101 + 17.102 + // Handle HTML strings 17.103 + if ( typeof selector === "string" ) { 17.104 + // Are we dealing with HTML string or an ID? 17.105 + match = quickExpr.exec( selector ); 17.106 + 17.107 + // Verify a match, and that no context was specified for #id 17.108 + if ( match && (match[1] || !context) ) { 17.109 + 17.110 + // HANDLE: $(html) -> $(array) 17.111 + if ( match[1] ) { 17.112 + doc = (context ? context.ownerDocument || context : document); 17.113 + 17.114 + // If a single string is passed in and it's a single tag 17.115 + // just do a createElement and skip the rest 17.116 + ret = rsingleTag.exec( selector ); 17.117 + 17.118 + if ( ret ) { 17.119 + if ( jQuery.isPlainObject( context ) ) { 17.120 + selector = [ document.createElement( ret[1] ) ]; 17.121 + jQuery.fn.attr.call( selector, context, true ); 17.122 + 17.123 + } else { 17.124 + selector = [ doc.createElement( ret[1] ) ]; 17.125 + } 17.126 + 17.127 + } else { 17.128 + ret = buildFragment( [ match[1] ], [ doc ] ); 17.129 + selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes; 17.130 + } 17.131 + 17.132 + return jQuery.merge( this, selector ); 17.133 + 17.134 + // HANDLE: $("#id") 17.135 + } else { 17.136 + elem = document.getElementById( match[2] ); 17.137 + 17.138 + if ( elem ) { 17.139 + // Handle the case where IE and Opera return items 17.140 + // by name instead of ID 17.141 + if ( elem.id !== match[2] ) { 17.142 + return rootjQuery.find( selector ); 17.143 + } 17.144 + 17.145 + // Otherwise, we inject the element directly into the jQuery object 17.146 + this.length = 1; 17.147 + this[0] = elem; 17.148 + } 17.149 + 17.150 + this.context = document; 17.151 + this.selector = selector; 17.152 + return this; 17.153 + } 17.154 + 17.155 + // HANDLE: $("TAG") 17.156 + } else if ( !context && /^\w+$/.test( selector ) ) { 17.157 + this.selector = selector; 17.158 + this.context = document; 17.159 + selector = document.getElementsByTagName( selector ); 17.160 + return jQuery.merge( this, selector ); 17.161 + 17.162 + // HANDLE: $(expr, $(...)) 17.163 + } else if ( !context || context.jquery ) { 17.164 + return (context || rootjQuery).find( selector ); 17.165 + 17.166 + // HANDLE: $(expr, context) 17.167 + // (which is just equivalent to: $(context).find(expr) 17.168 + } else { 17.169 + return jQuery( context ).find( selector ); 17.170 + } 17.171 + 17.172 + // HANDLE: $(function) 17.173 + // Shortcut for document ready 17.174 + } else if ( jQuery.isFunction( selector ) ) { 17.175 + return rootjQuery.ready( selector ); 17.176 + } 17.177 + 17.178 + if (selector.selector !== undefined) { 17.179 + this.selector = selector.selector; 17.180 + this.context = selector.context; 17.181 + } 17.182 + 17.183 + return jQuery.makeArray( selector, this ); 17.184 + }, 17.185 + 17.186 + // Start with an empty selector 17.187 + selector: "", 17.188 + 17.189 + // The current version of jQuery being used 17.190 + jquery: "1.4.2", 17.191 + 17.192 + // The default length of a jQuery object is 0 17.193 + length: 0, 17.194 + 17.195 + // The number of elements contained in the matched element set 17.196 + size: function() { 17.197 + return this.length; 17.198 + }, 17.199 + 17.200 + toArray: function() { 17.201 + return slice.call( this, 0 ); 17.202 + }, 17.203 + 17.204 + // Get the Nth element in the matched element set OR 17.205 + // Get the whole matched element set as a clean array 17.206 + get: function( num ) { 17.207 + return num == null ? 17.208 + 17.209 + // Return a 'clean' array 17.210 + this.toArray() : 17.211 + 17.212 + // Return just the object 17.213 + ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] ); 17.214 + }, 17.215 + 17.216 + // Take an array of elements and push it onto the stack 17.217 + // (returning the new matched element set) 17.218 + pushStack: function( elems, name, selector ) { 17.219 + // Build a new jQuery matched element set 17.220 + var ret = jQuery(); 17.221 + 17.222 + if ( jQuery.isArray( elems ) ) { 17.223 + push.apply( ret, elems ); 17.224 + 17.225 + } else { 17.226 + jQuery.merge( ret, elems ); 17.227 + } 17.228 + 17.229 + // Add the old object onto the stack (as a reference) 17.230 + ret.prevObject = this; 17.231 + 17.232 + ret.context = this.context; 17.233 + 17.234 + if ( name === "find" ) { 17.235 + ret.selector = this.selector + (this.selector ? " " : "") + selector; 17.236 + } else if ( name ) { 17.237 + ret.selector = this.selector + "." + name + "(" + selector + ")"; 17.238 + } 17.239 + 17.240 + // Return the newly-formed element set 17.241 + return ret; 17.242 + }, 17.243 + 17.244 + // Execute a callback for every element in the matched set. 17.245 + // (You can seed the arguments with an array of args, but this is 17.246 + // only used internally.) 17.247 + each: function( callback, args ) { 17.248 + return jQuery.each( this, callback, args ); 17.249 + }, 17.250 + 17.251 + ready: function( fn ) { 17.252 + // Attach the listeners 17.253 + jQuery.bindReady(); 17.254 + 17.255 + // If the DOM is already ready 17.256 + if ( jQuery.isReady ) { 17.257 + // Execute the function immediately 17.258 + fn.call( document, jQuery ); 17.259 + 17.260 + // Otherwise, remember the function for later 17.261 + } else if ( readyList ) { 17.262 + // Add the function to the wait list 17.263 + readyList.push( fn ); 17.264 + } 17.265 + 17.266 + return this; 17.267 + }, 17.268 + 17.269 + eq: function( i ) { 17.270 + return i === -1 ? 17.271 + this.slice( i ) : 17.272 + this.slice( i, +i + 1 ); 17.273 + }, 17.274 + 17.275 + first: function() { 17.276 + return this.eq( 0 ); 17.277 + }, 17.278 + 17.279 + last: function() { 17.280 + return this.eq( -1 ); 17.281 + }, 17.282 + 17.283 + slice: function() { 17.284 + return this.pushStack( slice.apply( this, arguments ), 17.285 + "slice", slice.call(arguments).join(",") ); 17.286 + }, 17.287 + 17.288 + map: function( callback ) { 17.289 + return this.pushStack( jQuery.map(this, function( elem, i ) { 17.290 + return callback.call( elem, i, elem ); 17.291 + })); 17.292 + }, 17.293 + 17.294 + end: function() { 17.295 + return this.prevObject || jQuery(null); 17.296 + }, 17.297 + 17.298 + // For internal use only. 17.299 + // Behaves like an Array's method, not like a jQuery method. 17.300 + push: push, 17.301 + sort: [].sort, 17.302 + splice: [].splice 17.303 +}; 17.304 + 17.305 +// Give the init function the jQuery prototype for later instantiation 17.306 +jQuery.fn.init.prototype = jQuery.fn; 17.307 + 17.308 +jQuery.extend = jQuery.fn.extend = function() { 17.309 + // copy reference to target object 17.310 + var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy; 17.311 + 17.312 + // Handle a deep copy situation 17.313 + if ( typeof target === "boolean" ) { 17.314 + deep = target; 17.315 + target = arguments[1] || {}; 17.316 + // skip the boolean and the target 17.317 + i = 2; 17.318 + } 17.319 + 17.320 + // Handle case when target is a string or something (possible in deep copy) 17.321 + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { 17.322 + target = {}; 17.323 + } 17.324 + 17.325 + // extend jQuery itself if only one argument is passed 17.326 + if ( length === i ) { 17.327 + target = this; 17.328 + --i; 17.329 + } 17.330 + 17.331 + for ( ; i < length; i++ ) { 17.332 + // Only deal with non-null/undefined values 17.333 + if ( (options = arguments[ i ]) != null ) { 17.334 + // Extend the base object 17.335 + for ( name in options ) { 17.336 + src = target[ name ]; 17.337 + copy = options[ name ]; 17.338 + 17.339 + // Prevent never-ending loop 17.340 + if ( target === copy ) { 17.341 + continue; 17.342 + } 17.343 + 17.344 + // Recurse if we're merging object literal values or arrays 17.345 + if ( deep && copy && ( jQuery.isPlainObject(copy) || jQuery.isArray(copy) ) ) { 17.346 + var clone = src && ( jQuery.isPlainObject(src) || jQuery.isArray(src) ) ? src 17.347 + : jQuery.isArray(copy) ? [] : {}; 17.348 + 17.349 + // Never move original objects, clone them 17.350 + target[ name ] = jQuery.extend( deep, clone, copy ); 17.351 + 17.352 + // Don't bring in undefined values 17.353 + } else if ( copy !== undefined ) { 17.354 + target[ name ] = copy; 17.355 + } 17.356 + } 17.357 + } 17.358 + } 17.359 + 17.360 + // Return the modified object 17.361 + return target; 17.362 +}; 17.363 + 17.364 +jQuery.extend({ 17.365 + noConflict: function( deep ) { 17.366 + window.$ = _$; 17.367 + 17.368 + if ( deep ) { 17.369 + window.jQuery = _jQuery; 17.370 + } 17.371 + 17.372 + return jQuery; 17.373 + }, 17.374 + 17.375 + // Is the DOM ready to be used? Set to true once it occurs. 17.376 + isReady: false, 17.377 + 17.378 + // Handle when the DOM is ready 17.379 + ready: function() { 17.380 + // Make sure that the DOM is not already loaded 17.381 + if ( !jQuery.isReady ) { 17.382 + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). 17.383 + if ( !document.body ) { 17.384 + return setTimeout( jQuery.ready, 13 ); 17.385 + } 17.386 + 17.387 + // Remember that the DOM is ready 17.388 + jQuery.isReady = true; 17.389 + 17.390 + // If there are functions bound, to execute 17.391 + if ( readyList ) { 17.392 + // Execute all of them 17.393 + var fn, i = 0; 17.394 + while ( (fn = readyList[ i++ ]) ) { 17.395 + fn.call( document, jQuery ); 17.396 + } 17.397 + 17.398 + // Reset the list of functions 17.399 + readyList = null; 17.400 + } 17.401 + 17.402 + // Trigger any bound ready events 17.403 + if ( jQuery.fn.triggerHandler ) { 17.404 + jQuery( document ).triggerHandler( "ready" ); 17.405 + } 17.406 + } 17.407 + }, 17.408 + 17.409 + bindReady: function() { 17.410 + if ( readyBound ) { 17.411 + return; 17.412 + } 17.413 + 17.414 + readyBound = true; 17.415 + 17.416 + // Catch cases where $(document).ready() is called after the 17.417 + // browser event has already occurred. 17.418 + if ( document.readyState === "complete" ) { 17.419 + return jQuery.ready(); 17.420 + } 17.421 + 17.422 + // Mozilla, Opera and webkit nightlies currently support this event 17.423 + if ( document.addEventListener ) { 17.424 + // Use the handy event callback 17.425 + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); 17.426 + 17.427 + // A fallback to window.onload, that will always work 17.428 + window.addEventListener( "load", jQuery.ready, false ); 17.429 + 17.430 + // If IE event model is used 17.431 + } else if ( document.attachEvent ) { 17.432 + // ensure firing before onload, 17.433 + // maybe late but safe also for iframes 17.434 + document.attachEvent("onreadystatechange", DOMContentLoaded); 17.435 + 17.436 + // A fallback to window.onload, that will always work 17.437 + window.attachEvent( "onload", jQuery.ready ); 17.438 + 17.439 + // If IE and not a frame 17.440 + // continually check to see if the document is ready 17.441 + var toplevel = false; 17.442 + 17.443 + try { 17.444 + toplevel = window.frameElement == null; 17.445 + } catch(e) {} 17.446 + 17.447 + if ( document.documentElement.doScroll && toplevel ) { 17.448 + doScrollCheck(); 17.449 + } 17.450 + } 17.451 + }, 17.452 + 17.453 + // See test/unit/core.js for details concerning isFunction. 17.454 + // Since version 1.3, DOM methods and functions like alert 17.455 + // aren't supported. They return false on IE (#2968). 17.456 + isFunction: function( obj ) { 17.457 + return toString.call(obj) === "[object Function]"; 17.458 + }, 17.459 + 17.460 + isArray: function( obj ) { 17.461 + return toString.call(obj) === "[object Array]"; 17.462 + }, 17.463 + 17.464 + isPlainObject: function( obj ) { 17.465 + // Must be an Object. 17.466 + // Because of IE, we also have to check the presence of the constructor property. 17.467 + // Make sure that DOM nodes and window objects don't pass through, as well 17.468 + if ( !obj || toString.call(obj) !== "[object Object]" || obj.nodeType || obj.setInterval ) { 17.469 + return false; 17.470 + } 17.471 + 17.472 + // Not own constructor property must be Object 17.473 + if ( obj.constructor 17.474 + && !hasOwnProperty.call(obj, "constructor") 17.475 + && !hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf") ) { 17.476 + return false; 17.477 + } 17.478 + 17.479 + // Own properties are enumerated firstly, so to speed up, 17.480 + // if last one is own, then all properties are own. 17.481 + 17.482 + var key; 17.483 + for ( key in obj ) {} 17.484 + 17.485 + return key === undefined || hasOwnProperty.call( obj, key ); 17.486 + }, 17.487 + 17.488 + isEmptyObject: function( obj ) { 17.489 + for ( var name in obj ) { 17.490 + return false; 17.491 + } 17.492 + return true; 17.493 + }, 17.494 + 17.495 + error: function( msg ) { 17.496 + throw msg; 17.497 + }, 17.498 + 17.499 + parseJSON: function( data ) { 17.500 + if ( typeof data !== "string" || !data ) { 17.501 + return null; 17.502 + } 17.503 + 17.504 + // Make sure leading/trailing whitespace is removed (IE can't handle it) 17.505 + data = jQuery.trim( data ); 17.506 + 17.507 + // Make sure the incoming data is actual JSON 17.508 + // Logic borrowed from http://json.org/json2.js 17.509 + if ( /^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@") 17.510 + .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]") 17.511 + .replace(/(?:^|:|,)(?:\s*\[)+/g, "")) ) { 17.512 + 17.513 + // Try to use the native JSON parser first 17.514 + return window.JSON && window.JSON.parse ? 17.515 + window.JSON.parse( data ) : 17.516 + (new Function("return " + data))(); 17.517 + 17.518 + } else { 17.519 + jQuery.error( "Invalid JSON: " + data ); 17.520 + } 17.521 + }, 17.522 + 17.523 + noop: function() {}, 17.524 + 17.525 + // Evalulates a script in a global context 17.526 + globalEval: function( data ) { 17.527 + if ( data && rnotwhite.test(data) ) { 17.528 + // Inspired by code by Andrea Giammarchi 17.529 + // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html 17.530 + var head = document.getElementsByTagName("head")[0] || document.documentElement, 17.531 + script = document.createElement("script"); 17.532 + 17.533 + script.type = "text/javascript"; 17.534 + 17.535 + if ( jQuery.support.scriptEval ) { 17.536 + script.appendChild( document.createTextNode( data ) ); 17.537 + } else { 17.538 + script.text = data; 17.539 + } 17.540 + 17.541 + // Use insertBefore instead of appendChild to circumvent an IE6 bug. 17.542 + // This arises when a base node is used (#2709). 17.543 + head.insertBefore( script, head.firstChild ); 17.544 + head.removeChild( script ); 17.545 + } 17.546 + }, 17.547 + 17.548 + nodeName: function( elem, name ) { 17.549 + return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); 17.550 + }, 17.551 + 17.552 + // args is for internal usage only 17.553 + each: function( object, callback, args ) { 17.554 + var name, i = 0, 17.555 + length = object.length, 17.556 + isObj = length === undefined || jQuery.isFunction(object); 17.557 + 17.558 + if ( args ) { 17.559 + if ( isObj ) { 17.560 + for ( name in object ) { 17.561 + if ( callback.apply( object[ name ], args ) === false ) { 17.562 + break; 17.563 + } 17.564 + } 17.565 + } else { 17.566 + for ( ; i < length; ) { 17.567 + if ( callback.apply( object[ i++ ], args ) === false ) { 17.568 + break; 17.569 + } 17.570 + } 17.571 + } 17.572 + 17.573 + // A special, fast, case for the most common use of each 17.574 + } else { 17.575 + if ( isObj ) { 17.576 + for ( name in object ) { 17.577 + if ( callback.call( object[ name ], name, object[ name ] ) === false ) { 17.578 + break; 17.579 + } 17.580 + } 17.581 + } else { 17.582 + for ( var value = object[0]; 17.583 + i < length && callback.call( value, i, value ) !== false; value = object[++i] ) {} 17.584 + } 17.585 + } 17.586 + 17.587 + return object; 17.588 + }, 17.589 + 17.590 + trim: function( text ) { 17.591 + return (text || "").replace( rtrim, "" ); 17.592 + }, 17.593 + 17.594 + // results is for internal usage only 17.595 + makeArray: function( array, results ) { 17.596 + var ret = results || []; 17.597 + 17.598 + if ( array != null ) { 17.599 + // The window, strings (and functions) also have 'length' 17.600 + // The extra typeof function check is to prevent crashes 17.601 + // in Safari 2 (See: #3039) 17.602 + if ( array.length == null || typeof array === "string" || jQuery.isFunction(array) || (typeof array !== "function" && array.setInterval) ) { 17.603 + push.call( ret, array ); 17.604 + } else { 17.605 + jQuery.merge( ret, array ); 17.606 + } 17.607 + } 17.608 + 17.609 + return ret; 17.610 + }, 17.611 + 17.612 + inArray: function( elem, array ) { 17.613 + if ( array.indexOf ) { 17.614 + return array.indexOf( elem ); 17.615 + } 17.616 + 17.617 + for ( var i = 0, length = array.length; i < length; i++ ) { 17.618 + if ( array[ i ] === elem ) { 17.619 + return i; 17.620 + } 17.621 + } 17.622 + 17.623 + return -1; 17.624 + }, 17.625 + 17.626 + merge: function( first, second ) { 17.627 + var i = first.length, j = 0; 17.628 + 17.629 + if ( typeof second.length === "number" ) { 17.630 + for ( var l = second.length; j < l; j++ ) { 17.631 + first[ i++ ] = second[ j ]; 17.632 + } 17.633 + 17.634 + } else { 17.635 + while ( second[j] !== undefined ) { 17.636 + first[ i++ ] = second[ j++ ]; 17.637 + } 17.638 + } 17.639 + 17.640 + first.length = i; 17.641 + 17.642 + return first; 17.643 + }, 17.644 + 17.645 + grep: function( elems, callback, inv ) { 17.646 + var ret = []; 17.647 + 17.648 + // Go through the array, only saving the items 17.649 + // that pass the validator function 17.650 + for ( var i = 0, length = elems.length; i < length; i++ ) { 17.651 + if ( !inv !== !callback( elems[ i ], i ) ) { 17.652 + ret.push( elems[ i ] ); 17.653 + } 17.654 + } 17.655 + 17.656 + return ret; 17.657 + }, 17.658 + 17.659 + // arg is for internal usage only 17.660 + map: function( elems, callback, arg ) { 17.661 + var ret = [], value; 17.662 + 17.663 + // Go through the array, translating each of the items to their 17.664 + // new value (or values). 17.665 + for ( var i = 0, length = elems.length; i < length; i++ ) { 17.666 + value = callback( elems[ i ], i, arg ); 17.667 + 17.668 + if ( value != null ) { 17.669 + ret[ ret.length ] = value; 17.670 + } 17.671 + } 17.672 + 17.673 + return ret.concat.apply( [], ret ); 17.674 + }, 17.675 + 17.676 + // A global GUID counter for objects 17.677 + guid: 1, 17.678 + 17.679 + proxy: function( fn, proxy, thisObject ) { 17.680 + if ( arguments.length === 2 ) { 17.681 + if ( typeof proxy === "string" ) { 17.682 + thisObject = fn; 17.683 + fn = thisObject[ proxy ]; 17.684 + proxy = undefined; 17.685 + 17.686 + } else if ( proxy && !jQuery.isFunction( proxy ) ) { 17.687 + thisObject = proxy; 17.688 + proxy = undefined; 17.689 + } 17.690 + } 17.691 + 17.692 + if ( !proxy && fn ) { 17.693 + proxy = function() { 17.694 + return fn.apply( thisObject || this, arguments ); 17.695 + }; 17.696 + } 17.697 + 17.698 + // Set the guid of unique handler to the same of original handler, so it can be removed 17.699 + if ( fn ) { 17.700 + proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; 17.701 + } 17.702 + 17.703 + // So proxy can be declared as an argument 17.704 + return proxy; 17.705 + }, 17.706 + 17.707 + // Use of jQuery.browser is frowned upon. 17.708 + // More details: http://docs.jquery.com/Utilities/jQuery.browser 17.709 + uaMatch: function( ua ) { 17.710 + ua = ua.toLowerCase(); 17.711 + 17.712 + var match = /(webkit)[ \/]([\w.]+)/.exec( ua ) || 17.713 + /(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) || 17.714 + /(msie) ([\w.]+)/.exec( ua ) || 17.715 + !/compatible/.test( ua ) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) || 17.716 + []; 17.717 + 17.718 + return { browser: match[1] || "", version: match[2] || "0" }; 17.719 + }, 17.720 + 17.721 + browser: {} 17.722 +}); 17.723 + 17.724 +browserMatch = jQuery.uaMatch( userAgent ); 17.725 +if ( browserMatch.browser ) { 17.726 + jQuery.browser[ browserMatch.browser ] = true; 17.727 + jQuery.browser.version = browserMatch.version; 17.728 +} 17.729 + 17.730 +// Deprecated, use jQuery.browser.webkit instead 17.731 +if ( jQuery.browser.webkit ) { 17.732 + jQuery.browser.safari = true; 17.733 +} 17.734 + 17.735 +if ( indexOf ) { 17.736 + jQuery.inArray = function( elem, array ) { 17.737 + return indexOf.call( array, elem ); 17.738 + }; 17.739 +} 17.740 + 17.741 +// All jQuery objects should point back to these 17.742 +rootjQuery = jQuery(document); 17.743 + 17.744 +// Cleanup functions for the document ready method 17.745 +if ( document.addEventListener ) { 17.746 + DOMContentLoaded = function() { 17.747 + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); 17.748 + jQuery.ready(); 17.749 + }; 17.750 + 17.751 +} else if ( document.attachEvent ) { 17.752 + DOMContentLoaded = function() { 17.753 + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). 17.754 + if ( document.readyState === "complete" ) { 17.755 + document.detachEvent( "onreadystatechange", DOMContentLoaded ); 17.756 + jQuery.ready(); 17.757 + } 17.758 + }; 17.759 +} 17.760 + 17.761 +// The DOM ready check for Internet Explorer 17.762 +function doScrollCheck() { 17.763 + if ( jQuery.isReady ) { 17.764 + return; 17.765 + } 17.766 + 17.767 + try { 17.768 + // If IE is used, use the trick by Diego Perini 17.769 + // http://javascript.nwbox.com/IEContentLoaded/ 17.770 + document.documentElement.doScroll("left"); 17.771 + } catch( error ) { 17.772 + setTimeout( doScrollCheck, 1 ); 17.773 + return; 17.774 + } 17.775 + 17.776 + // and execute any waiting functions 17.777 + jQuery.ready(); 17.778 +} 17.779 + 17.780 +function evalScript( i, elem ) { 17.781 + if ( elem.src ) { 17.782 + jQuery.ajax({ 17.783 + url: elem.src, 17.784 + async: false, 17.785 + dataType: "script" 17.786 + }); 17.787 + } else { 17.788 + jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" ); 17.789 + } 17.790 + 17.791 + if ( elem.parentNode ) { 17.792 + elem.parentNode.removeChild( elem ); 17.793 + } 17.794 +} 17.795 + 17.796 +// Mutifunctional method to get and set values to a collection 17.797 +// The value/s can be optionally by executed if its a function 17.798 +function access( elems, key, value, exec, fn, pass ) { 17.799 + var length = elems.length; 17.800 + 17.801 + // Setting many attributes 17.802 + if ( typeof key === "object" ) { 17.803 + for ( var k in key ) { 17.804 + access( elems, k, key[k], exec, fn, value ); 17.805 + } 17.806 + return elems; 17.807 + } 17.808 + 17.809 + // Setting one attribute 17.810 + if ( value !== undefined ) { 17.811 + // Optionally, function values get executed if exec is true 17.812 + exec = !pass && exec && jQuery.isFunction(value); 17.813 + 17.814 + for ( var i = 0; i < length; i++ ) { 17.815 + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); 17.816 + } 17.817 + 17.818 + return elems; 17.819 + } 17.820 + 17.821 + // Getting an attribute 17.822 + return length ? fn( elems[0], key ) : undefined; 17.823 +} 17.824 + 17.825 +function now() { 17.826 + return (new Date).getTime(); 17.827 +} 17.828 +(function() { 17.829 + 17.830 + jQuery.support = {}; 17.831 + 17.832 + var root = document.documentElement, 17.833 + script = document.createElement("script"), 17.834 + div = document.createElement("div"), 17.835 + id = "script" + now(); 17.836 + 17.837 + div.style.display = "none"; 17.838 + div.innerHTML = " <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; 17.839 + 17.840 + var all = div.getElementsByTagName("*"), 17.841 + a = div.getElementsByTagName("a")[0]; 17.842 + 17.843 + // Can't get basic test support 17.844 + if ( !all || !all.length || !a ) { 17.845 + return; 17.846 + } 17.847 + 17.848 + jQuery.support = { 17.849 + // IE strips leading whitespace when .innerHTML is used 17.850 + leadingWhitespace: div.firstChild.nodeType === 3, 17.851 + 17.852 + // Make sure that tbody elements aren't automatically inserted 17.853 + // IE will insert them into empty tables 17.854 + tbody: !div.getElementsByTagName("tbody").length, 17.855 + 17.856 + // Make sure that link elements get serialized correctly by innerHTML 17.857 + // This requires a wrapper element in IE 17.858 + htmlSerialize: !!div.getElementsByTagName("link").length, 17.859 + 17.860 + // Get the style information from getAttribute 17.861 + // (IE uses .cssText insted) 17.862 + style: /red/.test( a.getAttribute("style") ), 17.863 + 17.864 + // Make sure that URLs aren't manipulated 17.865 + // (IE normalizes it by default) 17.866 + hrefNormalized: a.getAttribute("href") === "/a", 17.867 + 17.868 + // Make sure that element opacity exists 17.869 + // (IE uses filter instead) 17.870 + // Use a regex to work around a WebKit issue. See #5145 17.871 + opacity: /^0.55$/.test( a.style.opacity ), 17.872 + 17.873 + // Verify style float existence 17.874 + // (IE uses styleFloat instead of cssFloat) 17.875 + cssFloat: !!a.style.cssFloat, 17.876 + 17.877 + // Make sure that if no value is specified for a checkbox 17.878 + // that it defaults to "on". 17.879 + // (WebKit defaults to "" instead) 17.880 + checkOn: div.getElementsByTagName("input")[0].value === "on", 17.881 + 17.882 + // Make sure that a selected-by-default option has a working selected property. 17.883 + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) 17.884 + optSelected: document.createElement("select").appendChild( document.createElement("option") ).selected, 17.885 + 17.886 + parentNode: div.removeChild( div.appendChild( document.createElement("div") ) ).parentNode === null, 17.887 + 17.888 + // Will be defined later 17.889 + deleteExpando: true, 17.890 + checkClone: false, 17.891 + scriptEval: false, 17.892 + noCloneEvent: true, 17.893 + boxModel: null 17.894 + }; 17.895 + 17.896 + script.type = "text/javascript"; 17.897 + try { 17.898 + script.appendChild( document.createTextNode( "window." + id + "=1;" ) ); 17.899 + } catch(e) {} 17.900 + 17.901 + root.insertBefore( script, root.firstChild ); 17.902 + 17.903 + // Make sure that the execution of code works by injecting a script 17.904 + // tag with appendChild/createTextNode 17.905 + // (IE doesn't support this, fails, and uses .text instead) 17.906 + if ( window[ id ] ) { 17.907 + jQuery.support.scriptEval = true; 17.908 + delete window[ id ]; 17.909 + } 17.910 + 17.911 + // Test to see if it's possible to delete an expando from an element 17.912 + // Fails in Internet Explorer 17.913 + try { 17.914 + delete script.test; 17.915 + 17.916 + } catch(e) { 17.917 + jQuery.support.deleteExpando = false; 17.918 + } 17.919 + 17.920 + root.removeChild( script ); 17.921 + 17.922 + if ( div.attachEvent && div.fireEvent ) { 17.923 + div.attachEvent("onclick", function click() { 17.924 + // Cloning a node shouldn't copy over any 17.925 + // bound event handlers (IE does this) 17.926 + jQuery.support.noCloneEvent = false; 17.927 + div.detachEvent("onclick", click); 17.928 + }); 17.929 + div.cloneNode(true).fireEvent("onclick"); 17.930 + } 17.931 + 17.932 + div = document.createElement("div"); 17.933 + div.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>"; 17.934 + 17.935 + var fragment = document.createDocumentFragment(); 17.936 + fragment.appendChild( div.firstChild ); 17.937 + 17.938 + // WebKit doesn't clone checked state correctly in fragments 17.939 + jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked; 17.940 + 17.941 + // Figure out if the W3C box model works as expected 17.942 + // document.body must exist before we can do this 17.943 + jQuery(function() { 17.944 + var div = document.createElement("div"); 17.945 + div.style.width = div.style.paddingLeft = "1px"; 17.946 + 17.947 + document.body.appendChild( div ); 17.948 + jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; 17.949 + document.body.removeChild( div ).style.display = 'none'; 17.950 + 17.951 + div = null; 17.952 + }); 17.953 + 17.954 + // Technique from Juriy Zaytsev 17.955 + // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ 17.956 + var eventSupported = function( eventName ) { 17.957 + var el = document.createElement("div"); 17.958 + eventName = "on" + eventName; 17.959 + 17.960 + var isSupported = (eventName in el); 17.961 + if ( !isSupported ) { 17.962 + el.setAttribute(eventName, "return;"); 17.963 + isSupported = typeof el[eventName] === "function"; 17.964 + } 17.965 + el = null; 17.966 + 17.967 + return isSupported; 17.968 + }; 17.969 + 17.970 + jQuery.support.submitBubbles = eventSupported("submit"); 17.971 + jQuery.support.changeBubbles = eventSupported("change"); 17.972 + 17.973 + // release memory in IE 17.974 + root = script = div = all = a = null; 17.975 +})(); 17.976 + 17.977 +jQuery.props = { 17.978 + "for": "htmlFor", 17.979 + "class": "className", 17.980 + readonly: "readOnly", 17.981 + maxlength: "maxLength", 17.982 + cellspacing: "cellSpacing", 17.983 + rowspan: "rowSpan", 17.984 + colspan: "colSpan", 17.985 + tabindex: "tabIndex", 17.986 + usemap: "useMap", 17.987 + frameborder: "frameBorder" 17.988 +}; 17.989 +var expando = "jQuery" + now(), uuid = 0, windowData = {}; 17.990 + 17.991 +jQuery.extend({ 17.992 + cache: {}, 17.993 + 17.994 + expando:expando, 17.995 + 17.996 + // The following elements throw uncatchable exceptions if you 17.997 + // attempt to add expando properties to them. 17.998 + noData: { 17.999 + "embed": true, 17.1000 + "object": true, 17.1001 + "applet": true 17.1002 + }, 17.1003 + 17.1004 + data: function( elem, name, data ) { 17.1005 + if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) { 17.1006 + return; 17.1007 + } 17.1008 + 17.1009 + elem = elem == window ? 17.1010 + windowData : 17.1011 + elem; 17.1012 + 17.1013 + var id = elem[ expando ], cache = jQuery.cache, thisCache; 17.1014 + 17.1015 + if ( !id && typeof name === "string" && data === undefined ) { 17.1016 + return null; 17.1017 + } 17.1018 + 17.1019 + // Compute a unique ID for the element 17.1020 + if ( !id ) { 17.1021 + id = ++uuid; 17.1022 + } 17.1023 + 17.1024 + // Avoid generating a new cache unless none exists and we 17.1025 + // want to manipulate it. 17.1026 + if ( typeof name === "object" ) { 17.1027 + elem[ expando ] = id; 17.1028 + thisCache = cache[ id ] = jQuery.extend(true, {}, name); 17.1029 + 17.1030 + } else if ( !cache[ id ] ) { 17.1031 + elem[ expando ] = id; 17.1032 + cache[ id ] = {}; 17.1033 + } 17.1034 + 17.1035 + thisCache = cache[ id ]; 17.1036 + 17.1037 + // Prevent overriding the named cache with undefined values 17.1038 + if ( data !== undefined ) { 17.1039 + thisCache[ name ] = data; 17.1040 + } 17.1041 + 17.1042 + return typeof name === "string" ? thisCache[ name ] : thisCache; 17.1043 + }, 17.1044 + 17.1045 + removeData: function( elem, name ) { 17.1046 + if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) { 17.1047 + return; 17.1048 + } 17.1049 + 17.1050 + elem = elem == window ? 17.1051 + windowData : 17.1052 + elem; 17.1053 + 17.1054 + var id = elem[ expando ], cache = jQuery.cache, thisCache = cache[ id ]; 17.1055 + 17.1056 + // If we want to remove a specific section of the element's data 17.1057 + if ( name ) { 17.1058 + if ( thisCache ) { 17.1059 + // Remove the section of cache data 17.1060 + delete thisCache[ name ]; 17.1061 + 17.1062 + // If we've removed all the data, remove the element's cache 17.1063 + if ( jQuery.isEmptyObject(thisCache) ) { 17.1064 + jQuery.removeData( elem ); 17.1065 + } 17.1066 + } 17.1067 + 17.1068 + // Otherwise, we want to remove all of the element's data 17.1069 + } else { 17.1070 + if ( jQuery.support.deleteExpando ) { 17.1071 + delete elem[ jQuery.expando ]; 17.1072 + 17.1073 + } else if ( elem.removeAttribute ) { 17.1074 + elem.removeAttribute( jQuery.expando ); 17.1075 + } 17.1076 + 17.1077 + // Completely remove the data cache 17.1078 + delete cache[ id ]; 17.1079 + } 17.1080 + } 17.1081 +}); 17.1082 + 17.1083 +jQuery.fn.extend({ 17.1084 + data: function( key, value ) { 17.1085 + if ( typeof key === "undefined" && this.length ) { 17.1086 + return jQuery.data( this[0] ); 17.1087 + 17.1088 + } else if ( typeof key === "object" ) { 17.1089 + return this.each(function() { 17.1090 + jQuery.data( this, key ); 17.1091 + }); 17.1092 + } 17.1093 + 17.1094 + var parts = key.split("."); 17.1095 + parts[1] = parts[1] ? "." + parts[1] : ""; 17.1096 + 17.1097 + if ( value === undefined ) { 17.1098 + var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); 17.1099 + 17.1100 + if ( data === undefined && this.length ) { 17.1101 + data = jQuery.data( this[0], key ); 17.1102 + } 17.1103 + return data === undefined && parts[1] ? 17.1104 + this.data( parts[0] ) : 17.1105 + data; 17.1106 + } else { 17.1107 + return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() { 17.1108 + jQuery.data( this, key, value ); 17.1109 + }); 17.1110 + } 17.1111 + }, 17.1112 + 17.1113 + removeData: function( key ) { 17.1114 + return this.each(function() { 17.1115 + jQuery.removeData( this, key ); 17.1116 + }); 17.1117 + } 17.1118 +}); 17.1119 +jQuery.extend({ 17.1120 + queue: function( elem, type, data ) { 17.1121 + if ( !elem ) { 17.1122 + return; 17.1123 + } 17.1124 + 17.1125 + type = (type || "fx") + "queue"; 17.1126 + var q = jQuery.data( elem, type ); 17.1127 + 17.1128 + // Speed up dequeue by getting out quickly if this is just a lookup 17.1129 + if ( !data ) { 17.1130 + return q || []; 17.1131 + } 17.1132 + 17.1133 + if ( !q || jQuery.isArray(data) ) { 17.1134 + q = jQuery.data( elem, type, jQuery.makeArray(data) ); 17.1135 + 17.1136 + } else { 17.1137 + q.push( data ); 17.1138 + } 17.1139 + 17.1140 + return q; 17.1141 + }, 17.1142 + 17.1143 + dequeue: function( elem, type ) { 17.1144 + type = type || "fx"; 17.1145 + 17.1146 + var queue = jQuery.queue( elem, type ), fn = queue.shift(); 17.1147 + 17.1148 + // If the fx queue is dequeued, always remove the progress sentinel 17.1149 + if ( fn === "inprogress" ) { 17.1150 + fn = queue.shift(); 17.1151 + } 17.1152 + 17.1153 + if ( fn ) { 17.1154 + // Add a progress sentinel to prevent the fx queue from being 17.1155 + // automatically dequeued 17.1156 + if ( type === "fx" ) { 17.1157 + queue.unshift("inprogress"); 17.1158 + } 17.1159 + 17.1160 + fn.call(elem, function() { 17.1161 + jQuery.dequeue(elem, type); 17.1162 + }); 17.1163 + } 17.1164 + } 17.1165 +}); 17.1166 + 17.1167 +jQuery.fn.extend({ 17.1168 + queue: function( type, data ) { 17.1169 + if ( typeof type !== "string" ) { 17.1170 + data = type; 17.1171 + type = "fx"; 17.1172 + } 17.1173 + 17.1174 + if ( data === undefined ) { 17.1175 + return jQuery.queue( this[0], type ); 17.1176 + } 17.1177 + return this.each(function( i, elem ) { 17.1178 + var queue = jQuery.queue( this, type, data ); 17.1179 + 17.1180 + if ( type === "fx" && queue[0] !== "inprogress" ) { 17.1181 + jQuery.dequeue( this, type ); 17.1182 + } 17.1183 + }); 17.1184 + }, 17.1185 + dequeue: function( type ) { 17.1186 + return this.each(function() { 17.1187 + jQuery.dequeue( this, type ); 17.1188 + }); 17.1189 + }, 17.1190 + 17.1191 + // Based off of the plugin by Clint Helfers, with permission. 17.1192 + // http://blindsignals.com/index.php/2009/07/jquery-delay/ 17.1193 + delay: function( time, type ) { 17.1194 + time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; 17.1195 + type = type || "fx"; 17.1196 + 17.1197 + return this.queue( type, function() { 17.1198 + var elem = this; 17.1199 + setTimeout(function() { 17.1200 + jQuery.dequeue( elem, type ); 17.1201 + }, time ); 17.1202 + }); 17.1203 + }, 17.1204 + 17.1205 + clearQueue: function( type ) { 17.1206 + return this.queue( type || "fx", [] ); 17.1207 + } 17.1208 +}); 17.1209 +var rclass = /[\n\t]/g, 17.1210 + rspace = /\s+/, 17.1211 + rreturn = /\r/g, 17.1212 + rspecialurl = /href|src|style/, 17.1213 + rtype = /(button|input)/i, 17.1214 + rfocusable = /(button|input|object|select|textarea)/i, 17.1215 + rclickable = /^(a|area)$/i, 17.1216 + rradiocheck = /radio|checkbox/; 17.1217 + 17.1218 +jQuery.fn.extend({ 17.1219 + attr: function( name, value ) { 17.1220 + return access( this, name, value, true, jQuery.attr ); 17.1221 + }, 17.1222 + 17.1223 + removeAttr: function( name, fn ) { 17.1224 + return this.each(function(){ 17.1225 + jQuery.attr( this, name, "" ); 17.1226 + if ( this.nodeType === 1 ) { 17.1227 + this.removeAttribute( name ); 17.1228 + } 17.1229 + }); 17.1230 + }, 17.1231 + 17.1232 + addClass: function( value ) { 17.1233 + if ( jQuery.isFunction(value) ) { 17.1234 + return this.each(function(i) { 17.1235 + var self = jQuery(this); 17.1236 + self.addClass( value.call(this, i, self.attr("class")) ); 17.1237 + }); 17.1238 + } 17.1239 + 17.1240 + if ( value && typeof value === "string" ) { 17.1241 + var classNames = (value || "").split( rspace ); 17.1242 + 17.1243 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.1244 + var elem = this[i]; 17.1245 + 17.1246 + if ( elem.nodeType === 1 ) { 17.1247 + if ( !elem.className ) { 17.1248 + elem.className = value; 17.1249 + 17.1250 + } else { 17.1251 + var className = " " + elem.className + " ", setClass = elem.className; 17.1252 + for ( var c = 0, cl = classNames.length; c < cl; c++ ) { 17.1253 + if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) { 17.1254 + setClass += " " + classNames[c]; 17.1255 + } 17.1256 + } 17.1257 + elem.className = jQuery.trim( setClass ); 17.1258 + } 17.1259 + } 17.1260 + } 17.1261 + } 17.1262 + 17.1263 + return this; 17.1264 + }, 17.1265 + 17.1266 + removeClass: function( value ) { 17.1267 + if ( jQuery.isFunction(value) ) { 17.1268 + return this.each(function(i) { 17.1269 + var self = jQuery(this); 17.1270 + self.removeClass( value.call(this, i, self.attr("class")) ); 17.1271 + }); 17.1272 + } 17.1273 + 17.1274 + if ( (value && typeof value === "string") || value === undefined ) { 17.1275 + var classNames = (value || "").split(rspace); 17.1276 + 17.1277 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.1278 + var elem = this[i]; 17.1279 + 17.1280 + if ( elem.nodeType === 1 && elem.className ) { 17.1281 + if ( value ) { 17.1282 + var className = (" " + elem.className + " ").replace(rclass, " "); 17.1283 + for ( var c = 0, cl = classNames.length; c < cl; c++ ) { 17.1284 + className = className.replace(" " + classNames[c] + " ", " "); 17.1285 + } 17.1286 + elem.className = jQuery.trim( className ); 17.1287 + 17.1288 + } else { 17.1289 + elem.className = ""; 17.1290 + } 17.1291 + } 17.1292 + } 17.1293 + } 17.1294 + 17.1295 + return this; 17.1296 + }, 17.1297 + 17.1298 + toggleClass: function( value, stateVal ) { 17.1299 + var type = typeof value, isBool = typeof stateVal === "boolean"; 17.1300 + 17.1301 + if ( jQuery.isFunction( value ) ) { 17.1302 + return this.each(function(i) { 17.1303 + var self = jQuery(this); 17.1304 + self.toggleClass( value.call(this, i, self.attr("class"), stateVal), stateVal ); 17.1305 + }); 17.1306 + } 17.1307 + 17.1308 + return this.each(function() { 17.1309 + if ( type === "string" ) { 17.1310 + // toggle individual class names 17.1311 + var className, i = 0, self = jQuery(this), 17.1312 + state = stateVal, 17.1313 + classNames = value.split( rspace ); 17.1314 + 17.1315 + while ( (className = classNames[ i++ ]) ) { 17.1316 + // check each className given, space seperated list 17.1317 + state = isBool ? state : !self.hasClass( className ); 17.1318 + self[ state ? "addClass" : "removeClass" ]( className ); 17.1319 + } 17.1320 + 17.1321 + } else if ( type === "undefined" || type === "boolean" ) { 17.1322 + if ( this.className ) { 17.1323 + // store className if set 17.1324 + jQuery.data( this, "__className__", this.className ); 17.1325 + } 17.1326 + 17.1327 + // toggle whole className 17.1328 + this.className = this.className || value === false ? "" : jQuery.data( this, "__className__" ) || ""; 17.1329 + } 17.1330 + }); 17.1331 + }, 17.1332 + 17.1333 + hasClass: function( selector ) { 17.1334 + var className = " " + selector + " "; 17.1335 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.1336 + if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { 17.1337 + return true; 17.1338 + } 17.1339 + } 17.1340 + 17.1341 + return false; 17.1342 + }, 17.1343 + 17.1344 + val: function( value ) { 17.1345 + if ( value === undefined ) { 17.1346 + var elem = this[0]; 17.1347 + 17.1348 + if ( elem ) { 17.1349 + if ( jQuery.nodeName( elem, "option" ) ) { 17.1350 + return (elem.attributes.value || {}).specified ? elem.value : elem.text; 17.1351 + } 17.1352 + 17.1353 + // We need to handle select boxes special 17.1354 + if ( jQuery.nodeName( elem, "select" ) ) { 17.1355 + var index = elem.selectedIndex, 17.1356 + values = [], 17.1357 + options = elem.options, 17.1358 + one = elem.type === "select-one"; 17.1359 + 17.1360 + // Nothing was selected 17.1361 + if ( index < 0 ) { 17.1362 + return null; 17.1363 + } 17.1364 + 17.1365 + // Loop through all the selected options 17.1366 + for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { 17.1367 + var option = options[ i ]; 17.1368 + 17.1369 + if ( option.selected ) { 17.1370 + // Get the specifc value for the option 17.1371 + value = jQuery(option).val(); 17.1372 + 17.1373 + // We don't need an array for one selects 17.1374 + if ( one ) { 17.1375 + return value; 17.1376 + } 17.1377 + 17.1378 + // Multi-Selects return an array 17.1379 + values.push( value ); 17.1380 + } 17.1381 + } 17.1382 + 17.1383 + return values; 17.1384 + } 17.1385 + 17.1386 + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified 17.1387 + if ( rradiocheck.test( elem.type ) && !jQuery.support.checkOn ) { 17.1388 + return elem.getAttribute("value") === null ? "on" : elem.value; 17.1389 + } 17.1390 + 17.1391 + 17.1392 + // Everything else, we just grab the value 17.1393 + return (elem.value || "").replace(rreturn, ""); 17.1394 + 17.1395 + } 17.1396 + 17.1397 + return undefined; 17.1398 + } 17.1399 + 17.1400 + var isFunction = jQuery.isFunction(value); 17.1401 + 17.1402 + return this.each(function(i) { 17.1403 + var self = jQuery(this), val = value; 17.1404 + 17.1405 + if ( this.nodeType !== 1 ) { 17.1406 + return; 17.1407 + } 17.1408 + 17.1409 + if ( isFunction ) { 17.1410 + val = value.call(this, i, self.val()); 17.1411 + } 17.1412 + 17.1413 + // Typecast each time if the value is a Function and the appended 17.1414 + // value is therefore different each time. 17.1415 + if ( typeof val === "number" ) { 17.1416 + val += ""; 17.1417 + } 17.1418 + 17.1419 + if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) { 17.1420 + this.checked = jQuery.inArray( self.val(), val ) >= 0; 17.1421 + 17.1422 + } else if ( jQuery.nodeName( this, "select" ) ) { 17.1423 + var values = jQuery.makeArray(val); 17.1424 + 17.1425 + jQuery( "option", this ).each(function() { 17.1426 + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; 17.1427 + }); 17.1428 + 17.1429 + if ( !values.length ) { 17.1430 + this.selectedIndex = -1; 17.1431 + } 17.1432 + 17.1433 + } else { 17.1434 + this.value = val; 17.1435 + } 17.1436 + }); 17.1437 + } 17.1438 +}); 17.1439 + 17.1440 +jQuery.extend({ 17.1441 + attrFn: { 17.1442 + val: true, 17.1443 + css: true, 17.1444 + html: true, 17.1445 + text: true, 17.1446 + data: true, 17.1447 + width: true, 17.1448 + height: true, 17.1449 + offset: true 17.1450 + }, 17.1451 + 17.1452 + attr: function( elem, name, value, pass ) { 17.1453 + // don't set attributes on text and comment nodes 17.1454 + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { 17.1455 + return undefined; 17.1456 + } 17.1457 + 17.1458 + if ( pass && name in jQuery.attrFn ) { 17.1459 + return jQuery(elem)[name](value); 17.1460 + } 17.1461 + 17.1462 + var notxml = elem.nodeType !== 1 || !jQuery.isXMLDoc( elem ), 17.1463 + // Whether we are setting (or getting) 17.1464 + set = value !== undefined; 17.1465 + 17.1466 + // Try to normalize/fix the name 17.1467 + name = notxml && jQuery.props[ name ] || name; 17.1468 + 17.1469 + // Only do all the following if this is a node (faster for style) 17.1470 + if ( elem.nodeType === 1 ) { 17.1471 + // These attributes require special treatment 17.1472 + var special = rspecialurl.test( name ); 17.1473 + 17.1474 + // Safari mis-reports the default selected property of an option 17.1475 + // Accessing the parent's selectedIndex property fixes it 17.1476 + if ( name === "selected" && !jQuery.support.optSelected ) { 17.1477 + var parent = elem.parentNode; 17.1478 + if ( parent ) { 17.1479 + parent.selectedIndex; 17.1480 + 17.1481 + // Make sure that it also works with optgroups, see #5701 17.1482 + if ( parent.parentNode ) { 17.1483 + parent.parentNode.selectedIndex; 17.1484 + } 17.1485 + } 17.1486 + } 17.1487 + 17.1488 + // If applicable, access the attribute via the DOM 0 way 17.1489 + if ( name in elem && notxml && !special ) { 17.1490 + if ( set ) { 17.1491 + // We can't allow the type property to be changed (since it causes problems in IE) 17.1492 + if ( name === "type" && rtype.test( elem.nodeName ) && elem.parentNode ) { 17.1493 + jQuery.error( "type property can't be changed" ); 17.1494 + } 17.1495 + 17.1496 + elem[ name ] = value; 17.1497 + } 17.1498 + 17.1499 + // browsers index elements by id/name on forms, give priority to attributes. 17.1500 + if ( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) ) { 17.1501 + return elem.getAttributeNode( name ).nodeValue; 17.1502 + } 17.1503 + 17.1504 + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set 17.1505 + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ 17.1506 + if ( name === "tabIndex" ) { 17.1507 + var attributeNode = elem.getAttributeNode( "tabIndex" ); 17.1508 + 17.1509 + return attributeNode && attributeNode.specified ? 17.1510 + attributeNode.value : 17.1511 + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? 17.1512 + 0 : 17.1513 + undefined; 17.1514 + } 17.1515 + 17.1516 + return elem[ name ]; 17.1517 + } 17.1518 + 17.1519 + if ( !jQuery.support.style && notxml && name === "style" ) { 17.1520 + if ( set ) { 17.1521 + elem.style.cssText = "" + value; 17.1522 + } 17.1523 + 17.1524 + return elem.style.cssText; 17.1525 + } 17.1526 + 17.1527 + if ( set ) { 17.1528 + // convert the value to a string (all browsers do this but IE) see #1070 17.1529 + elem.setAttribute( name, "" + value ); 17.1530 + } 17.1531 + 17.1532 + var attr = !jQuery.support.hrefNormalized && notxml && special ? 17.1533 + // Some attributes require a special call on IE 17.1534 + elem.getAttribute( name, 2 ) : 17.1535 + elem.getAttribute( name ); 17.1536 + 17.1537 + // Non-existent attributes return null, we normalize to undefined 17.1538 + return attr === null ? undefined : attr; 17.1539 + } 17.1540 + 17.1541 + // elem is actually elem.style ... set the style 17.1542 + // Using attr for specific style information is now deprecated. Use style instead. 17.1543 + return jQuery.style( elem, name, value ); 17.1544 + } 17.1545 +}); 17.1546 +var rnamespaces = /\.(.*)$/, 17.1547 + fcleanup = function( nm ) { 17.1548 + return nm.replace(/[^\w\s\.\|`]/g, function( ch ) { 17.1549 + return "\\" + ch; 17.1550 + }); 17.1551 + }; 17.1552 + 17.1553 +/* 17.1554 + * A number of helper functions used for managing events. 17.1555 + * Many of the ideas behind this code originated from 17.1556 + * Dean Edwards' addEvent library. 17.1557 + */ 17.1558 +jQuery.event = { 17.1559 + 17.1560 + // Bind an event to an element 17.1561 + // Original by Dean Edwards 17.1562 + add: function( elem, types, handler, data ) { 17.1563 + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { 17.1564 + return; 17.1565 + } 17.1566 + 17.1567 + // For whatever reason, IE has trouble passing the window object 17.1568 + // around, causing it to be cloned in the process 17.1569 + if ( elem.setInterval && ( elem !== window && !elem.frameElement ) ) { 17.1570 + elem = window; 17.1571 + } 17.1572 + 17.1573 + var handleObjIn, handleObj; 17.1574 + 17.1575 + if ( handler.handler ) { 17.1576 + handleObjIn = handler; 17.1577 + handler = handleObjIn.handler; 17.1578 + } 17.1579 + 17.1580 + // Make sure that the function being executed has a unique ID 17.1581 + if ( !handler.guid ) { 17.1582 + handler.guid = jQuery.guid++; 17.1583 + } 17.1584 + 17.1585 + // Init the element's event structure 17.1586 + var elemData = jQuery.data( elem ); 17.1587 + 17.1588 + // If no elemData is found then we must be trying to bind to one of the 17.1589 + // banned noData elements 17.1590 + if ( !elemData ) { 17.1591 + return; 17.1592 + } 17.1593 + 17.1594 + var events = elemData.events = elemData.events || {}, 17.1595 + eventHandle = elemData.handle, eventHandle; 17.1596 + 17.1597 + if ( !eventHandle ) { 17.1598 + elemData.handle = eventHandle = function() { 17.1599 + // Handle the second event of a trigger and when 17.1600 + // an event is called after a page has unloaded 17.1601 + return typeof jQuery !== "undefined" && !jQuery.event.triggered ? 17.1602 + jQuery.event.handle.apply( eventHandle.elem, arguments ) : 17.1603 + undefined; 17.1604 + }; 17.1605 + } 17.1606 + 17.1607 + // Add elem as a property of the handle function 17.1608 + // This is to prevent a memory leak with non-native events in IE. 17.1609 + eventHandle.elem = elem; 17.1610 + 17.1611 + // Handle multiple events separated by a space 17.1612 + // jQuery(...).bind("mouseover mouseout", fn); 17.1613 + types = types.split(" "); 17.1614 + 17.1615 + var type, i = 0, namespaces; 17.1616 + 17.1617 + while ( (type = types[ i++ ]) ) { 17.1618 + handleObj = handleObjIn ? 17.1619 + jQuery.extend({}, handleObjIn) : 17.1620 + { handler: handler, data: data }; 17.1621 + 17.1622 + // Namespaced event handlers 17.1623 + if ( type.indexOf(".") > -1 ) { 17.1624 + namespaces = type.split("."); 17.1625 + type = namespaces.shift(); 17.1626 + handleObj.namespace = namespaces.slice(0).sort().join("."); 17.1627 + 17.1628 + } else { 17.1629 + namespaces = []; 17.1630 + handleObj.namespace = ""; 17.1631 + } 17.1632 + 17.1633 + handleObj.type = type; 17.1634 + handleObj.guid = handler.guid; 17.1635 + 17.1636 + // Get the current list of functions bound to this event 17.1637 + var handlers = events[ type ], 17.1638 + special = jQuery.event.special[ type ] || {}; 17.1639 + 17.1640 + // Init the event handler queue 17.1641 + if ( !handlers ) { 17.1642 + handlers = events[ type ] = []; 17.1643 + 17.1644 + // Check for a special event handler 17.1645 + // Only use addEventListener/attachEvent if the special 17.1646 + // events handler returns false 17.1647 + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { 17.1648 + // Bind the global event handler to the element 17.1649 + if ( elem.addEventListener ) { 17.1650 + elem.addEventListener( type, eventHandle, false ); 17.1651 + 17.1652 + } else if ( elem.attachEvent ) { 17.1653 + elem.attachEvent( "on" + type, eventHandle ); 17.1654 + } 17.1655 + } 17.1656 + } 17.1657 + 17.1658 + if ( special.add ) { 17.1659 + special.add.call( elem, handleObj ); 17.1660 + 17.1661 + if ( !handleObj.handler.guid ) { 17.1662 + handleObj.handler.guid = handler.guid; 17.1663 + } 17.1664 + } 17.1665 + 17.1666 + // Add the function to the element's handler list 17.1667 + handlers.push( handleObj ); 17.1668 + 17.1669 + // Keep track of which events have been used, for global triggering 17.1670 + jQuery.event.global[ type ] = true; 17.1671 + } 17.1672 + 17.1673 + // Nullify elem to prevent memory leaks in IE 17.1674 + elem = null; 17.1675 + }, 17.1676 + 17.1677 + global: {}, 17.1678 + 17.1679 + // Detach an event or set of events from an element 17.1680 + remove: function( elem, types, handler, pos ) { 17.1681 + // don't do events on text and comment nodes 17.1682 + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { 17.1683 + return; 17.1684 + } 17.1685 + 17.1686 + var ret, type, fn, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType, 17.1687 + elemData = jQuery.data( elem ), 17.1688 + events = elemData && elemData.events; 17.1689 + 17.1690 + if ( !elemData || !events ) { 17.1691 + return; 17.1692 + } 17.1693 + 17.1694 + // types is actually an event object here 17.1695 + if ( types && types.type ) { 17.1696 + handler = types.handler; 17.1697 + types = types.type; 17.1698 + } 17.1699 + 17.1700 + // Unbind all events for the element 17.1701 + if ( !types || typeof types === "string" && types.charAt(0) === "." ) { 17.1702 + types = types || ""; 17.1703 + 17.1704 + for ( type in events ) { 17.1705 + jQuery.event.remove( elem, type + types ); 17.1706 + } 17.1707 + 17.1708 + return; 17.1709 + } 17.1710 + 17.1711 + // Handle multiple events separated by a space 17.1712 + // jQuery(...).unbind("mouseover mouseout", fn); 17.1713 + types = types.split(" "); 17.1714 + 17.1715 + while ( (type = types[ i++ ]) ) { 17.1716 + origType = type; 17.1717 + handleObj = null; 17.1718 + all = type.indexOf(".") < 0; 17.1719 + namespaces = []; 17.1720 + 17.1721 + if ( !all ) { 17.1722 + // Namespaced event handlers 17.1723 + namespaces = type.split("."); 17.1724 + type = namespaces.shift(); 17.1725 + 17.1726 + namespace = new RegExp("(^|\\.)" + 17.1727 + jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)") 17.1728 + } 17.1729 + 17.1730 + eventType = events[ type ]; 17.1731 + 17.1732 + if ( !eventType ) { 17.1733 + continue; 17.1734 + } 17.1735 + 17.1736 + if ( !handler ) { 17.1737 + for ( var j = 0; j < eventType.length; j++ ) { 17.1738 + handleObj = eventType[ j ]; 17.1739 + 17.1740 + if ( all || namespace.test( handleObj.namespace ) ) { 17.1741 + jQuery.event.remove( elem, origType, handleObj.handler, j ); 17.1742 + eventType.splice( j--, 1 ); 17.1743 + } 17.1744 + } 17.1745 + 17.1746 + continue; 17.1747 + } 17.1748 + 17.1749 + special = jQuery.event.special[ type ] || {}; 17.1750 + 17.1751 + for ( var j = pos || 0; j < eventType.length; j++ ) { 17.1752 + handleObj = eventType[ j ]; 17.1753 + 17.1754 + if ( handler.guid === handleObj.guid ) { 17.1755 + // remove the given handler for the given type 17.1756 + if ( all || namespace.test( handleObj.namespace ) ) { 17.1757 + if ( pos == null ) { 17.1758 + eventType.splice( j--, 1 ); 17.1759 + } 17.1760 + 17.1761 + if ( special.remove ) { 17.1762 + special.remove.call( elem, handleObj ); 17.1763 + } 17.1764 + } 17.1765 + 17.1766 + if ( pos != null ) { 17.1767 + break; 17.1768 + } 17.1769 + } 17.1770 + } 17.1771 + 17.1772 + // remove generic event handler if no more handlers exist 17.1773 + if ( eventType.length === 0 || pos != null && eventType.length === 1 ) { 17.1774 + if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { 17.1775 + removeEvent( elem, type, elemData.handle ); 17.1776 + } 17.1777 + 17.1778 + ret = null; 17.1779 + delete events[ type ]; 17.1780 + } 17.1781 + } 17.1782 + 17.1783 + // Remove the expando if it's no longer used 17.1784 + if ( jQuery.isEmptyObject( events ) ) { 17.1785 + var handle = elemData.handle; 17.1786 + if ( handle ) { 17.1787 + handle.elem = null; 17.1788 + } 17.1789 + 17.1790 + delete elemData.events; 17.1791 + delete elemData.handle; 17.1792 + 17.1793 + if ( jQuery.isEmptyObject( elemData ) ) { 17.1794 + jQuery.removeData( elem ); 17.1795 + } 17.1796 + } 17.1797 + }, 17.1798 + 17.1799 + // bubbling is internal 17.1800 + trigger: function( event, data, elem /*, bubbling */ ) { 17.1801 + // Event object or event type 17.1802 + var type = event.type || event, 17.1803 + bubbling = arguments[3]; 17.1804 + 17.1805 + if ( !bubbling ) { 17.1806 + event = typeof event === "object" ? 17.1807 + // jQuery.Event object 17.1808 + event[expando] ? event : 17.1809 + // Object literal 17.1810 + jQuery.extend( jQuery.Event(type), event ) : 17.1811 + // Just the event type (string) 17.1812 + jQuery.Event(type); 17.1813 + 17.1814 + if ( type.indexOf("!") >= 0 ) { 17.1815 + event.type = type = type.slice(0, -1); 17.1816 + event.exclusive = true; 17.1817 + } 17.1818 + 17.1819 + // Handle a global trigger 17.1820 + if ( !elem ) { 17.1821 + // Don't bubble custom events when global (to avoid too much overhead) 17.1822 + event.stopPropagation(); 17.1823 + 17.1824 + // Only trigger if we've ever bound an event for it 17.1825 + if ( jQuery.event.global[ type ] ) { 17.1826 + jQuery.each( jQuery.cache, function() { 17.1827 + if ( this.events && this.events[type] ) { 17.1828 + jQuery.event.trigger( event, data, this.handle.elem ); 17.1829 + } 17.1830 + }); 17.1831 + } 17.1832 + } 17.1833 + 17.1834 + // Handle triggering a single element 17.1835 + 17.1836 + // don't do events on text and comment nodes 17.1837 + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { 17.1838 + return undefined; 17.1839 + } 17.1840 + 17.1841 + // Clean up in case it is reused 17.1842 + event.result = undefined; 17.1843 + event.target = elem; 17.1844 + 17.1845 + // Clone the incoming data, if any 17.1846 + data = jQuery.makeArray( data ); 17.1847 + data.unshift( event ); 17.1848 + } 17.1849 + 17.1850 + event.currentTarget = elem; 17.1851 + 17.1852 + // Trigger the event, it is assumed that "handle" is a function 17.1853 + var handle = jQuery.data( elem, "handle" ); 17.1854 + if ( handle ) { 17.1855 + handle.apply( elem, data ); 17.1856 + } 17.1857 + 17.1858 + var parent = elem.parentNode || elem.ownerDocument; 17.1859 + 17.1860 + // Trigger an inline bound script 17.1861 + try { 17.1862 + if ( !(elem && elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()]) ) { 17.1863 + if ( elem[ "on" + type ] && elem[ "on" + type ].apply( elem, data ) === false ) { 17.1864 + event.result = false; 17.1865 + } 17.1866 + } 17.1867 + 17.1868 + // prevent IE from throwing an error for some elements with some event types, see #3533 17.1869 + } catch (e) {} 17.1870 + 17.1871 + if ( !event.isPropagationStopped() && parent ) { 17.1872 + jQuery.event.trigger( event, data, parent, true ); 17.1873 + 17.1874 + } else if ( !event.isDefaultPrevented() ) { 17.1875 + var target = event.target, old, 17.1876 + isClick = jQuery.nodeName(target, "a") && type === "click", 17.1877 + special = jQuery.event.special[ type ] || {}; 17.1878 + 17.1879 + if ( (!special._default || special._default.call( elem, event ) === false) && 17.1880 + !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) { 17.1881 + 17.1882 + try { 17.1883 + if ( target[ type ] ) { 17.1884 + // Make sure that we don't accidentally re-trigger the onFOO events 17.1885 + old = target[ "on" + type ]; 17.1886 + 17.1887 + if ( old ) { 17.1888 + target[ "on" + type ] = null; 17.1889 + } 17.1890 + 17.1891 + jQuery.event.triggered = true; 17.1892 + target[ type ](); 17.1893 + } 17.1894 + 17.1895 + // prevent IE from throwing an error for some elements with some event types, see #3533 17.1896 + } catch (e) {} 17.1897 + 17.1898 + if ( old ) { 17.1899 + target[ "on" + type ] = old; 17.1900 + } 17.1901 + 17.1902 + jQuery.event.triggered = false; 17.1903 + } 17.1904 + } 17.1905 + }, 17.1906 + 17.1907 + handle: function( event ) { 17.1908 + var all, handlers, namespaces, namespace, events; 17.1909 + 17.1910 + event = arguments[0] = jQuery.event.fix( event || window.event ); 17.1911 + event.currentTarget = this; 17.1912 + 17.1913 + // Namespaced event handlers 17.1914 + all = event.type.indexOf(".") < 0 && !event.exclusive; 17.1915 + 17.1916 + if ( !all ) { 17.1917 + namespaces = event.type.split("."); 17.1918 + event.type = namespaces.shift(); 17.1919 + namespace = new RegExp("(^|\\.)" + namespaces.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)"); 17.1920 + } 17.1921 + 17.1922 + var events = jQuery.data(this, "events"), handlers = events[ event.type ]; 17.1923 + 17.1924 + if ( events && handlers ) { 17.1925 + // Clone the handlers to prevent manipulation 17.1926 + handlers = handlers.slice(0); 17.1927 + 17.1928 + for ( var j = 0, l = handlers.length; j < l; j++ ) { 17.1929 + var handleObj = handlers[ j ]; 17.1930 + 17.1931 + // Filter the functions by class 17.1932 + if ( all || namespace.test( handleObj.namespace ) ) { 17.1933 + // Pass in a reference to the handler function itself 17.1934 + // So that we can later remove it 17.1935 + event.handler = handleObj.handler; 17.1936 + event.data = handleObj.data; 17.1937 + event.handleObj = handleObj; 17.1938 + 17.1939 + var ret = handleObj.handler.apply( this, arguments ); 17.1940 + 17.1941 + if ( ret !== undefined ) { 17.1942 + event.result = ret; 17.1943 + if ( ret === false ) { 17.1944 + event.preventDefault(); 17.1945 + event.stopPropagation(); 17.1946 + } 17.1947 + } 17.1948 + 17.1949 + if ( event.isImmediatePropagationStopped() ) { 17.1950 + break; 17.1951 + } 17.1952 + } 17.1953 + } 17.1954 + } 17.1955 + 17.1956 + return event.result; 17.1957 + }, 17.1958 + 17.1959 + props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), 17.1960 + 17.1961 + fix: function( event ) { 17.1962 + if ( event[ expando ] ) { 17.1963 + return event; 17.1964 + } 17.1965 + 17.1966 + // store a copy of the original event object 17.1967 + // and "clone" to set read-only properties 17.1968 + var originalEvent = event; 17.1969 + event = jQuery.Event( originalEvent ); 17.1970 + 17.1971 + for ( var i = this.props.length, prop; i; ) { 17.1972 + prop = this.props[ --i ]; 17.1973 + event[ prop ] = originalEvent[ prop ]; 17.1974 + } 17.1975 + 17.1976 + // Fix target property, if necessary 17.1977 + if ( !event.target ) { 17.1978 + event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either 17.1979 + } 17.1980 + 17.1981 + // check if target is a textnode (safari) 17.1982 + if ( event.target.nodeType === 3 ) { 17.1983 + event.target = event.target.parentNode; 17.1984 + } 17.1985 + 17.1986 + // Add relatedTarget, if necessary 17.1987 + if ( !event.relatedTarget && event.fromElement ) { 17.1988 + event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement; 17.1989 + } 17.1990 + 17.1991 + // Calculate pageX/Y if missing and clientX/Y available 17.1992 + if ( event.pageX == null && event.clientX != null ) { 17.1993 + var doc = document.documentElement, body = document.body; 17.1994 + event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0); 17.1995 + event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0); 17.1996 + } 17.1997 + 17.1998 + // Add which for key events 17.1999 + if ( !event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode) ) { 17.2000 + event.which = event.charCode || event.keyCode; 17.2001 + } 17.2002 + 17.2003 + // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs) 17.2004 + if ( !event.metaKey && event.ctrlKey ) { 17.2005 + event.metaKey = event.ctrlKey; 17.2006 + } 17.2007 + 17.2008 + // Add which for click: 1 === left; 2 === middle; 3 === right 17.2009 + // Note: button is not normalized, so don't use it 17.2010 + if ( !event.which && event.button !== undefined ) { 17.2011 + event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) )); 17.2012 + } 17.2013 + 17.2014 + return event; 17.2015 + }, 17.2016 + 17.2017 + // Deprecated, use jQuery.guid instead 17.2018 + guid: 1E8, 17.2019 + 17.2020 + // Deprecated, use jQuery.proxy instead 17.2021 + proxy: jQuery.proxy, 17.2022 + 17.2023 + special: { 17.2024 + ready: { 17.2025 + // Make sure the ready event is setup 17.2026 + setup: jQuery.bindReady, 17.2027 + teardown: jQuery.noop 17.2028 + }, 17.2029 + 17.2030 + live: { 17.2031 + add: function( handleObj ) { 17.2032 + jQuery.event.add( this, handleObj.origType, jQuery.extend({}, handleObj, {handler: liveHandler}) ); 17.2033 + }, 17.2034 + 17.2035 + remove: function( handleObj ) { 17.2036 + var remove = true, 17.2037 + type = handleObj.origType.replace(rnamespaces, ""); 17.2038 + 17.2039 + jQuery.each( jQuery.data(this, "events").live || [], function() { 17.2040 + if ( type === this.origType.replace(rnamespaces, "") ) { 17.2041 + remove = false; 17.2042 + return false; 17.2043 + } 17.2044 + }); 17.2045 + 17.2046 + if ( remove ) { 17.2047 + jQuery.event.remove( this, handleObj.origType, liveHandler ); 17.2048 + } 17.2049 + } 17.2050 + 17.2051 + }, 17.2052 + 17.2053 + beforeunload: { 17.2054 + setup: function( data, namespaces, eventHandle ) { 17.2055 + // We only want to do this special case on windows 17.2056 + if ( this.setInterval ) { 17.2057 + this.onbeforeunload = eventHandle; 17.2058 + } 17.2059 + 17.2060 + return false; 17.2061 + }, 17.2062 + teardown: function( namespaces, eventHandle ) { 17.2063 + if ( this.onbeforeunload === eventHandle ) { 17.2064 + this.onbeforeunload = null; 17.2065 + } 17.2066 + } 17.2067 + } 17.2068 + } 17.2069 +}; 17.2070 + 17.2071 +var removeEvent = document.removeEventListener ? 17.2072 + function( elem, type, handle ) { 17.2073 + elem.removeEventListener( type, handle, false ); 17.2074 + } : 17.2075 + function( elem, type, handle ) { 17.2076 + elem.detachEvent( "on" + type, handle ); 17.2077 + }; 17.2078 + 17.2079 +jQuery.Event = function( src ) { 17.2080 + // Allow instantiation without the 'new' keyword 17.2081 + if ( !this.preventDefault ) { 17.2082 + return new jQuery.Event( src ); 17.2083 + } 17.2084 + 17.2085 + // Event object 17.2086 + if ( src && src.type ) { 17.2087 + this.originalEvent = src; 17.2088 + this.type = src.type; 17.2089 + // Event type 17.2090 + } else { 17.2091 + this.type = src; 17.2092 + } 17.2093 + 17.2094 + // timeStamp is buggy for some events on Firefox(#3843) 17.2095 + // So we won't rely on the native value 17.2096 + this.timeStamp = now(); 17.2097 + 17.2098 + // Mark it as fixed 17.2099 + this[ expando ] = true; 17.2100 +}; 17.2101 + 17.2102 +function returnFalse() { 17.2103 + return false; 17.2104 +} 17.2105 +function returnTrue() { 17.2106 + return true; 17.2107 +} 17.2108 + 17.2109 +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding 17.2110 +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html 17.2111 +jQuery.Event.prototype = { 17.2112 + preventDefault: function() { 17.2113 + this.isDefaultPrevented = returnTrue; 17.2114 + 17.2115 + var e = this.originalEvent; 17.2116 + if ( !e ) { 17.2117 + return; 17.2118 + } 17.2119 + 17.2120 + // if preventDefault exists run it on the original event 17.2121 + if ( e.preventDefault ) { 17.2122 + e.preventDefault(); 17.2123 + } 17.2124 + // otherwise set the returnValue property of the original event to false (IE) 17.2125 + e.returnValue = false; 17.2126 + }, 17.2127 + stopPropagation: function() { 17.2128 + this.isPropagationStopped = returnTrue; 17.2129 + 17.2130 + var e = this.originalEvent; 17.2131 + if ( !e ) { 17.2132 + return; 17.2133 + } 17.2134 + // if stopPropagation exists run it on the original event 17.2135 + if ( e.stopPropagation ) { 17.2136 + e.stopPropagation(); 17.2137 + } 17.2138 + // otherwise set the cancelBubble property of the original event to true (IE) 17.2139 + e.cancelBubble = true; 17.2140 + }, 17.2141 + stopImmediatePropagation: function() { 17.2142 + this.isImmediatePropagationStopped = returnTrue; 17.2143 + this.stopPropagation(); 17.2144 + }, 17.2145 + isDefaultPrevented: returnFalse, 17.2146 + isPropagationStopped: returnFalse, 17.2147 + isImmediatePropagationStopped: returnFalse 17.2148 +}; 17.2149 + 17.2150 +// Checks if an event happened on an element within another element 17.2151 +// Used in jQuery.event.special.mouseenter and mouseleave handlers 17.2152 +var withinElement = function( event ) { 17.2153 + // Check if mouse(over|out) are still within the same parent element 17.2154 + var parent = event.relatedTarget; 17.2155 + 17.2156 + // Firefox sometimes assigns relatedTarget a XUL element 17.2157 + // which we cannot access the parentNode property of 17.2158 + try { 17.2159 + // Traverse up the tree 17.2160 + while ( parent && parent !== this ) { 17.2161 + parent = parent.parentNode; 17.2162 + } 17.2163 + 17.2164 + if ( parent !== this ) { 17.2165 + // set the correct event type 17.2166 + event.type = event.data; 17.2167 + 17.2168 + // handle event if we actually just moused on to a non sub-element 17.2169 + jQuery.event.handle.apply( this, arguments ); 17.2170 + } 17.2171 + 17.2172 + // assuming we've left the element since we most likely mousedover a xul element 17.2173 + } catch(e) { } 17.2174 +}, 17.2175 + 17.2176 +// In case of event delegation, we only need to rename the event.type, 17.2177 +// liveHandler will take care of the rest. 17.2178 +delegate = function( event ) { 17.2179 + event.type = event.data; 17.2180 + jQuery.event.handle.apply( this, arguments ); 17.2181 +}; 17.2182 + 17.2183 +// Create mouseenter and mouseleave events 17.2184 +jQuery.each({ 17.2185 + mouseenter: "mouseover", 17.2186 + mouseleave: "mouseout" 17.2187 +}, function( orig, fix ) { 17.2188 + jQuery.event.special[ orig ] = { 17.2189 + setup: function( data ) { 17.2190 + jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig ); 17.2191 + }, 17.2192 + teardown: function( data ) { 17.2193 + jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement ); 17.2194 + } 17.2195 + }; 17.2196 +}); 17.2197 + 17.2198 +// submit delegation 17.2199 +if ( !jQuery.support.submitBubbles ) { 17.2200 + 17.2201 + jQuery.event.special.submit = { 17.2202 + setup: function( data, namespaces ) { 17.2203 + if ( this.nodeName.toLowerCase() !== "form" ) { 17.2204 + jQuery.event.add(this, "click.specialSubmit", function( e ) { 17.2205 + var elem = e.target, type = elem.type; 17.2206 + 17.2207 + if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) { 17.2208 + return trigger( "submit", this, arguments ); 17.2209 + } 17.2210 + }); 17.2211 + 17.2212 + jQuery.event.add(this, "keypress.specialSubmit", function( e ) { 17.2213 + var elem = e.target, type = elem.type; 17.2214 + 17.2215 + if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) { 17.2216 + return trigger( "submit", this, arguments ); 17.2217 + } 17.2218 + }); 17.2219 + 17.2220 + } else { 17.2221 + return false; 17.2222 + } 17.2223 + }, 17.2224 + 17.2225 + teardown: function( namespaces ) { 17.2226 + jQuery.event.remove( this, ".specialSubmit" ); 17.2227 + } 17.2228 + }; 17.2229 + 17.2230 +} 17.2231 + 17.2232 +// change delegation, happens here so we have bind. 17.2233 +if ( !jQuery.support.changeBubbles ) { 17.2234 + 17.2235 + var formElems = /textarea|input|select/i, 17.2236 + 17.2237 + changeFilters, 17.2238 + 17.2239 + getVal = function( elem ) { 17.2240 + var type = elem.type, val = elem.value; 17.2241 + 17.2242 + if ( type === "radio" || type === "checkbox" ) { 17.2243 + val = elem.checked; 17.2244 + 17.2245 + } else if ( type === "select-multiple" ) { 17.2246 + val = elem.selectedIndex > -1 ? 17.2247 + jQuery.map( elem.options, function( elem ) { 17.2248 + return elem.selected; 17.2249 + }).join("-") : 17.2250 + ""; 17.2251 + 17.2252 + } else if ( elem.nodeName.toLowerCase() === "select" ) { 17.2253 + val = elem.selectedIndex; 17.2254 + } 17.2255 + 17.2256 + return val; 17.2257 + }, 17.2258 + 17.2259 + testChange = function testChange( e ) { 17.2260 + var elem = e.target, data, val; 17.2261 + 17.2262 + if ( !formElems.test( elem.nodeName ) || elem.readOnly ) { 17.2263 + return; 17.2264 + } 17.2265 + 17.2266 + data = jQuery.data( elem, "_change_data" ); 17.2267 + val = getVal(elem); 17.2268 + 17.2269 + // the current data will be also retrieved by beforeactivate 17.2270 + if ( e.type !== "focusout" || elem.type !== "radio" ) { 17.2271 + jQuery.data( elem, "_change_data", val ); 17.2272 + } 17.2273 + 17.2274 + if ( data === undefined || val === data ) { 17.2275 + return; 17.2276 + } 17.2277 + 17.2278 + if ( data != null || val ) { 17.2279 + e.type = "change"; 17.2280 + return jQuery.event.trigger( e, arguments[1], elem ); 17.2281 + } 17.2282 + }; 17.2283 + 17.2284 + jQuery.event.special.change = { 17.2285 + filters: { 17.2286 + focusout: testChange, 17.2287 + 17.2288 + click: function( e ) { 17.2289 + var elem = e.target, type = elem.type; 17.2290 + 17.2291 + if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) { 17.2292 + return testChange.call( this, e ); 17.2293 + } 17.2294 + }, 17.2295 + 17.2296 + // Change has to be called before submit 17.2297 + // Keydown will be called before keypress, which is used in submit-event delegation 17.2298 + keydown: function( e ) { 17.2299 + var elem = e.target, type = elem.type; 17.2300 + 17.2301 + if ( (e.keyCode === 13 && elem.nodeName.toLowerCase() !== "textarea") || 17.2302 + (e.keyCode === 32 && (type === "checkbox" || type === "radio")) || 17.2303 + type === "select-multiple" ) { 17.2304 + return testChange.call( this, e ); 17.2305 + } 17.2306 + }, 17.2307 + 17.2308 + // Beforeactivate happens also before the previous element is blurred 17.2309 + // with this event you can't trigger a change event, but you can store 17.2310 + // information/focus[in] is not needed anymore 17.2311 + beforeactivate: function( e ) { 17.2312 + var elem = e.target; 17.2313 + jQuery.data( elem, "_change_data", getVal(elem) ); 17.2314 + } 17.2315 + }, 17.2316 + 17.2317 + setup: function( data, namespaces ) { 17.2318 + if ( this.type === "file" ) { 17.2319 + return false; 17.2320 + } 17.2321 + 17.2322 + for ( var type in changeFilters ) { 17.2323 + jQuery.event.add( this, type + ".specialChange", changeFilters[type] ); 17.2324 + } 17.2325 + 17.2326 + return formElems.test( this.nodeName ); 17.2327 + }, 17.2328 + 17.2329 + teardown: function( namespaces ) { 17.2330 + jQuery.event.remove( this, ".specialChange" ); 17.2331 + 17.2332 + return formElems.test( this.nodeName ); 17.2333 + } 17.2334 + }; 17.2335 + 17.2336 + changeFilters = jQuery.event.special.change.filters; 17.2337 +} 17.2338 + 17.2339 +function trigger( type, elem, args ) { 17.2340 + args[0].type = type; 17.2341 + return jQuery.event.handle.apply( elem, args ); 17.2342 +} 17.2343 + 17.2344 +// Create "bubbling" focus and blur events 17.2345 +if ( document.addEventListener ) { 17.2346 + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { 17.2347 + jQuery.event.special[ fix ] = { 17.2348 + setup: function() { 17.2349 + this.addEventListener( orig, handler, true ); 17.2350 + }, 17.2351 + teardown: function() { 17.2352 + this.removeEventListener( orig, handler, true ); 17.2353 + } 17.2354 + }; 17.2355 + 17.2356 + function handler( e ) { 17.2357 + e = jQuery.event.fix( e ); 17.2358 + e.type = fix; 17.2359 + return jQuery.event.handle.call( this, e ); 17.2360 + } 17.2361 + }); 17.2362 +} 17.2363 + 17.2364 +jQuery.each(["bind", "one"], function( i, name ) { 17.2365 + jQuery.fn[ name ] = function( type, data, fn ) { 17.2366 + // Handle object literals 17.2367 + if ( typeof type === "object" ) { 17.2368 + for ( var key in type ) { 17.2369 + this[ name ](key, data, type[key], fn); 17.2370 + } 17.2371 + return this; 17.2372 + } 17.2373 + 17.2374 + if ( jQuery.isFunction( data ) ) { 17.2375 + fn = data; 17.2376 + data = undefined; 17.2377 + } 17.2378 + 17.2379 + var handler = name === "one" ? jQuery.proxy( fn, function( event ) { 17.2380 + jQuery( this ).unbind( event, handler ); 17.2381 + return fn.apply( this, arguments ); 17.2382 + }) : fn; 17.2383 + 17.2384 + if ( type === "unload" && name !== "one" ) { 17.2385 + this.one( type, data, fn ); 17.2386 + 17.2387 + } else { 17.2388 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.2389 + jQuery.event.add( this[i], type, handler, data ); 17.2390 + } 17.2391 + } 17.2392 + 17.2393 + return this; 17.2394 + }; 17.2395 +}); 17.2396 + 17.2397 +jQuery.fn.extend({ 17.2398 + unbind: function( type, fn ) { 17.2399 + // Handle object literals 17.2400 + if ( typeof type === "object" && !type.preventDefault ) { 17.2401 + for ( var key in type ) { 17.2402 + this.unbind(key, type[key]); 17.2403 + } 17.2404 + 17.2405 + } else { 17.2406 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.2407 + jQuery.event.remove( this[i], type, fn ); 17.2408 + } 17.2409 + } 17.2410 + 17.2411 + return this; 17.2412 + }, 17.2413 + 17.2414 + delegate: function( selector, types, data, fn ) { 17.2415 + return this.live( types, data, fn, selector ); 17.2416 + }, 17.2417 + 17.2418 + undelegate: function( selector, types, fn ) { 17.2419 + if ( arguments.length === 0 ) { 17.2420 + return this.unbind( "live" ); 17.2421 + 17.2422 + } else { 17.2423 + return this.die( types, null, fn, selector ); 17.2424 + } 17.2425 + }, 17.2426 + 17.2427 + trigger: function( type, data ) { 17.2428 + return this.each(function() { 17.2429 + jQuery.event.trigger( type, data, this ); 17.2430 + }); 17.2431 + }, 17.2432 + 17.2433 + triggerHandler: function( type, data ) { 17.2434 + if ( this[0] ) { 17.2435 + var event = jQuery.Event( type ); 17.2436 + event.preventDefault(); 17.2437 + event.stopPropagation(); 17.2438 + jQuery.event.trigger( event, data, this[0] ); 17.2439 + return event.result; 17.2440 + } 17.2441 + }, 17.2442 + 17.2443 + toggle: function( fn ) { 17.2444 + // Save reference to arguments for access in closure 17.2445 + var args = arguments, i = 1; 17.2446 + 17.2447 + // link all the functions, so any of them can unbind this click handler 17.2448 + while ( i < args.length ) { 17.2449 + jQuery.proxy( fn, args[ i++ ] ); 17.2450 + } 17.2451 + 17.2452 + return this.click( jQuery.proxy( fn, function( event ) { 17.2453 + // Figure out which function to execute 17.2454 + var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i; 17.2455 + jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 ); 17.2456 + 17.2457 + // Make sure that clicks stop 17.2458 + event.preventDefault(); 17.2459 + 17.2460 + // and execute the function 17.2461 + return args[ lastToggle ].apply( this, arguments ) || false; 17.2462 + })); 17.2463 + }, 17.2464 + 17.2465 + hover: function( fnOver, fnOut ) { 17.2466 + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); 17.2467 + } 17.2468 +}); 17.2469 + 17.2470 +var liveMap = { 17.2471 + focus: "focusin", 17.2472 + blur: "focusout", 17.2473 + mouseenter: "mouseover", 17.2474 + mouseleave: "mouseout" 17.2475 +}; 17.2476 + 17.2477 +jQuery.each(["live", "die"], function( i, name ) { 17.2478 + jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) { 17.2479 + var type, i = 0, match, namespaces, preType, 17.2480 + selector = origSelector || this.selector, 17.2481 + context = origSelector ? this : jQuery( this.context ); 17.2482 + 17.2483 + if ( jQuery.isFunction( data ) ) { 17.2484 + fn = data; 17.2485 + data = undefined; 17.2486 + } 17.2487 + 17.2488 + types = (types || "").split(" "); 17.2489 + 17.2490 + while ( (type = types[ i++ ]) != null ) { 17.2491 + match = rnamespaces.exec( type ); 17.2492 + namespaces = ""; 17.2493 + 17.2494 + if ( match ) { 17.2495 + namespaces = match[0]; 17.2496 + type = type.replace( rnamespaces, "" ); 17.2497 + } 17.2498 + 17.2499 + if ( type === "hover" ) { 17.2500 + types.push( "mouseenter" + namespaces, "mouseleave" + namespaces ); 17.2501 + continue; 17.2502 + } 17.2503 + 17.2504 + preType = type; 17.2505 + 17.2506 + if ( type === "focus" || type === "blur" ) { 17.2507 + types.push( liveMap[ type ] + namespaces ); 17.2508 + type = type + namespaces; 17.2509 + 17.2510 + } else { 17.2511 + type = (liveMap[ type ] || type) + namespaces; 17.2512 + } 17.2513 + 17.2514 + if ( name === "live" ) { 17.2515 + // bind live handler 17.2516 + context.each(function(){ 17.2517 + jQuery.event.add( this, liveConvert( type, selector ), 17.2518 + { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } ); 17.2519 + }); 17.2520 + 17.2521 + } else { 17.2522 + // unbind live handler 17.2523 + context.unbind( liveConvert( type, selector ), fn ); 17.2524 + } 17.2525 + } 17.2526 + 17.2527 + return this; 17.2528 + } 17.2529 +}); 17.2530 + 17.2531 +function liveHandler( event ) { 17.2532 + var stop, elems = [], selectors = [], args = arguments, 17.2533 + related, match, handleObj, elem, j, i, l, data, 17.2534 + events = jQuery.data( this, "events" ); 17.2535 + 17.2536 + // Make sure we avoid non-left-click bubbling in Firefox (#3861) 17.2537 + if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) { 17.2538 + return; 17.2539 + } 17.2540 + 17.2541 + event.liveFired = this; 17.2542 + 17.2543 + var live = events.live.slice(0); 17.2544 + 17.2545 + for ( j = 0; j < live.length; j++ ) { 17.2546 + handleObj = live[j]; 17.2547 + 17.2548 + if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) { 17.2549 + selectors.push( handleObj.selector ); 17.2550 + 17.2551 + } else { 17.2552 + live.splice( j--, 1 ); 17.2553 + } 17.2554 + } 17.2555 + 17.2556 + match = jQuery( event.target ).closest( selectors, event.currentTarget ); 17.2557 + 17.2558 + for ( i = 0, l = match.length; i < l; i++ ) { 17.2559 + for ( j = 0; j < live.length; j++ ) { 17.2560 + handleObj = live[j]; 17.2561 + 17.2562 + if ( match[i].selector === handleObj.selector ) { 17.2563 + elem = match[i].elem; 17.2564 + related = null; 17.2565 + 17.2566 + // Those two events require additional checking 17.2567 + if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) { 17.2568 + related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0]; 17.2569 + } 17.2570 + 17.2571 + if ( !related || related !== elem ) { 17.2572 + elems.push({ elem: elem, handleObj: handleObj }); 17.2573 + } 17.2574 + } 17.2575 + } 17.2576 + } 17.2577 + 17.2578 + for ( i = 0, l = elems.length; i < l; i++ ) { 17.2579 + match = elems[i]; 17.2580 + event.currentTarget = match.elem; 17.2581 + event.data = match.handleObj.data; 17.2582 + event.handleObj = match.handleObj; 17.2583 + 17.2584 + if ( match.handleObj.origHandler.apply( match.elem, args ) === false ) { 17.2585 + stop = false; 17.2586 + break; 17.2587 + } 17.2588 + } 17.2589 + 17.2590 + return stop; 17.2591 +} 17.2592 + 17.2593 +function liveConvert( type, selector ) { 17.2594 + return "live." + (type && type !== "*" ? type + "." : "") + selector.replace(/\./g, "`").replace(/ /g, "&"); 17.2595 +} 17.2596 + 17.2597 +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + 17.2598 + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 17.2599 + "change select submit keydown keypress keyup error").split(" "), function( i, name ) { 17.2600 + 17.2601 + // Handle event binding 17.2602 + jQuery.fn[ name ] = function( fn ) { 17.2603 + return fn ? this.bind( name, fn ) : this.trigger( name ); 17.2604 + }; 17.2605 + 17.2606 + if ( jQuery.attrFn ) { 17.2607 + jQuery.attrFn[ name ] = true; 17.2608 + } 17.2609 +}); 17.2610 + 17.2611 +// Prevent memory leaks in IE 17.2612 +// Window isn't included so as not to unbind existing unload events 17.2613 +// More info: 17.2614 +// - http://isaacschlueter.com/2006/10/msie-memory-leaks/ 17.2615 +if ( window.attachEvent && !window.addEventListener ) { 17.2616 + window.attachEvent("onunload", function() { 17.2617 + for ( var id in jQuery.cache ) { 17.2618 + if ( jQuery.cache[ id ].handle ) { 17.2619 + // Try/Catch is to handle iframes being unloaded, see #4280 17.2620 + try { 17.2621 + jQuery.event.remove( jQuery.cache[ id ].handle.elem ); 17.2622 + } catch(e) {} 17.2623 + } 17.2624 + } 17.2625 + }); 17.2626 +} 17.2627 +/*! 17.2628 + * Sizzle CSS Selector Engine - v1.0 17.2629 + * Copyright 2009, The Dojo Foundation 17.2630 + * Released under the MIT, BSD, and GPL Licenses. 17.2631 + * More information: http://sizzlejs.com/ 17.2632 + */ 17.2633 +(function(){ 17.2634 + 17.2635 +var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, 17.2636 + done = 0, 17.2637 + toString = Object.prototype.toString, 17.2638 + hasDuplicate = false, 17.2639 + baseHasDuplicate = true; 17.2640 + 17.2641 +// Here we check if the JavaScript engine is using some sort of 17.2642 +// optimization where it does not always call our comparision 17.2643 +// function. If that is the case, discard the hasDuplicate value. 17.2644 +// Thus far that includes Google Chrome. 17.2645 +[0, 0].sort(function(){ 17.2646 + baseHasDuplicate = false; 17.2647 + return 0; 17.2648 +}); 17.2649 + 17.2650 +var Sizzle = function(selector, context, results, seed) { 17.2651 + results = results || []; 17.2652 + var origContext = context = context || document; 17.2653 + 17.2654 + if ( context.nodeType !== 1 && context.nodeType !== 9 ) { 17.2655 + return []; 17.2656 + } 17.2657 + 17.2658 + if ( !selector || typeof selector !== "string" ) { 17.2659 + return results; 17.2660 + } 17.2661 + 17.2662 + var parts = [], m, set, checkSet, extra, prune = true, contextXML = isXML(context), 17.2663 + soFar = selector; 17.2664 + 17.2665 + // Reset the position of the chunker regexp (start from head) 17.2666 + while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) { 17.2667 + soFar = m[3]; 17.2668 + 17.2669 + parts.push( m[1] ); 17.2670 + 17.2671 + if ( m[2] ) { 17.2672 + extra = m[3]; 17.2673 + break; 17.2674 + } 17.2675 + } 17.2676 + 17.2677 + if ( parts.length > 1 && origPOS.exec( selector ) ) { 17.2678 + if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { 17.2679 + set = posProcess( parts[0] + parts[1], context ); 17.2680 + } else { 17.2681 + set = Expr.relative[ parts[0] ] ? 17.2682 + [ context ] : 17.2683 + Sizzle( parts.shift(), context ); 17.2684 + 17.2685 + while ( parts.length ) { 17.2686 + selector = parts.shift(); 17.2687 + 17.2688 + if ( Expr.relative[ selector ] ) { 17.2689 + selector += parts.shift(); 17.2690 + } 17.2691 + 17.2692 + set = posProcess( selector, set ); 17.2693 + } 17.2694 + } 17.2695 + } else { 17.2696 + // Take a shortcut and set the context if the root selector is an ID 17.2697 + // (but not if it'll be faster if the inner selector is an ID) 17.2698 + if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && 17.2699 + Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { 17.2700 + var ret = Sizzle.find( parts.shift(), context, contextXML ); 17.2701 + context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0]; 17.2702 + } 17.2703 + 17.2704 + if ( context ) { 17.2705 + var ret = seed ? 17.2706 + { expr: parts.pop(), set: makeArray(seed) } : 17.2707 + Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); 17.2708 + set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set; 17.2709 + 17.2710 + if ( parts.length > 0 ) { 17.2711 + checkSet = makeArray(set); 17.2712 + } else { 17.2713 + prune = false; 17.2714 + } 17.2715 + 17.2716 + while ( parts.length ) { 17.2717 + var cur = parts.pop(), pop = cur; 17.2718 + 17.2719 + if ( !Expr.relative[ cur ] ) { 17.2720 + cur = ""; 17.2721 + } else { 17.2722 + pop = parts.pop(); 17.2723 + } 17.2724 + 17.2725 + if ( pop == null ) { 17.2726 + pop = context; 17.2727 + } 17.2728 + 17.2729 + Expr.relative[ cur ]( checkSet, pop, contextXML ); 17.2730 + } 17.2731 + } else { 17.2732 + checkSet = parts = []; 17.2733 + } 17.2734 + } 17.2735 + 17.2736 + if ( !checkSet ) { 17.2737 + checkSet = set; 17.2738 + } 17.2739 + 17.2740 + if ( !checkSet ) { 17.2741 + Sizzle.error( cur || selector ); 17.2742 + } 17.2743 + 17.2744 + if ( toString.call(checkSet) === "[object Array]" ) { 17.2745 + if ( !prune ) { 17.2746 + results.push.apply( results, checkSet ); 17.2747 + } else if ( context && context.nodeType === 1 ) { 17.2748 + for ( var i = 0; checkSet[i] != null; i++ ) { 17.2749 + if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) { 17.2750 + results.push( set[i] ); 17.2751 + } 17.2752 + } 17.2753 + } else { 17.2754 + for ( var i = 0; checkSet[i] != null; i++ ) { 17.2755 + if ( checkSet[i] && checkSet[i].nodeType === 1 ) { 17.2756 + results.push( set[i] ); 17.2757 + } 17.2758 + } 17.2759 + } 17.2760 + } else { 17.2761 + makeArray( checkSet, results ); 17.2762 + } 17.2763 + 17.2764 + if ( extra ) { 17.2765 + Sizzle( extra, origContext, results, seed ); 17.2766 + Sizzle.uniqueSort( results ); 17.2767 + } 17.2768 + 17.2769 + return results; 17.2770 +}; 17.2771 + 17.2772 +Sizzle.uniqueSort = function(results){ 17.2773 + if ( sortOrder ) { 17.2774 + hasDuplicate = baseHasDuplicate; 17.2775 + results.sort(sortOrder); 17.2776 + 17.2777 + if ( hasDuplicate ) { 17.2778 + for ( var i = 1; i < results.length; i++ ) { 17.2779 + if ( results[i] === results[i-1] ) { 17.2780 + results.splice(i--, 1); 17.2781 + } 17.2782 + } 17.2783 + } 17.2784 + } 17.2785 + 17.2786 + return results; 17.2787 +}; 17.2788 + 17.2789 +Sizzle.matches = function(expr, set){ 17.2790 + return Sizzle(expr, null, null, set); 17.2791 +}; 17.2792 + 17.2793 +Sizzle.find = function(expr, context, isXML){ 17.2794 + var set, match; 17.2795 + 17.2796 + if ( !expr ) { 17.2797 + return []; 17.2798 + } 17.2799 + 17.2800 + for ( var i = 0, l = Expr.order.length; i < l; i++ ) { 17.2801 + var type = Expr.order[i], match; 17.2802 + 17.2803 + if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { 17.2804 + var left = match[1]; 17.2805 + match.splice(1,1); 17.2806 + 17.2807 + if ( left.substr( left.length - 1 ) !== "\\" ) { 17.2808 + match[1] = (match[1] || "").replace(/\\/g, ""); 17.2809 + set = Expr.find[ type ]( match, context, isXML ); 17.2810 + if ( set != null ) { 17.2811 + expr = expr.replace( Expr.match[ type ], "" ); 17.2812 + break; 17.2813 + } 17.2814 + } 17.2815 + } 17.2816 + } 17.2817 + 17.2818 + if ( !set ) { 17.2819 + set = context.getElementsByTagName("*"); 17.2820 + } 17.2821 + 17.2822 + return {set: set, expr: expr}; 17.2823 +}; 17.2824 + 17.2825 +Sizzle.filter = function(expr, set, inplace, not){ 17.2826 + var old = expr, result = [], curLoop = set, match, anyFound, 17.2827 + isXMLFilter = set && set[0] && isXML(set[0]); 17.2828 + 17.2829 + while ( expr && set.length ) { 17.2830 + for ( var type in Expr.filter ) { 17.2831 + if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { 17.2832 + var filter = Expr.filter[ type ], found, item, left = match[1]; 17.2833 + anyFound = false; 17.2834 + 17.2835 + match.splice(1,1); 17.2836 + 17.2837 + if ( left.substr( left.length - 1 ) === "\\" ) { 17.2838 + continue; 17.2839 + } 17.2840 + 17.2841 + if ( curLoop === result ) { 17.2842 + result = []; 17.2843 + } 17.2844 + 17.2845 + if ( Expr.preFilter[ type ] ) { 17.2846 + match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); 17.2847 + 17.2848 + if ( !match ) { 17.2849 + anyFound = found = true; 17.2850 + } else if ( match === true ) { 17.2851 + continue; 17.2852 + } 17.2853 + } 17.2854 + 17.2855 + if ( match ) { 17.2856 + for ( var i = 0; (item = curLoop[i]) != null; i++ ) { 17.2857 + if ( item ) { 17.2858 + found = filter( item, match, i, curLoop ); 17.2859 + var pass = not ^ !!found; 17.2860 + 17.2861 + if ( inplace && found != null ) { 17.2862 + if ( pass ) { 17.2863 + anyFound = true; 17.2864 + } else { 17.2865 + curLoop[i] = false; 17.2866 + } 17.2867 + } else if ( pass ) { 17.2868 + result.push( item ); 17.2869 + anyFound = true; 17.2870 + } 17.2871 + } 17.2872 + } 17.2873 + } 17.2874 + 17.2875 + if ( found !== undefined ) { 17.2876 + if ( !inplace ) { 17.2877 + curLoop = result; 17.2878 + } 17.2879 + 17.2880 + expr = expr.replace( Expr.match[ type ], "" ); 17.2881 + 17.2882 + if ( !anyFound ) { 17.2883 + return []; 17.2884 + } 17.2885 + 17.2886 + break; 17.2887 + } 17.2888 + } 17.2889 + } 17.2890 + 17.2891 + // Improper expression 17.2892 + if ( expr === old ) { 17.2893 + if ( anyFound == null ) { 17.2894 + Sizzle.error( expr ); 17.2895 + } else { 17.2896 + break; 17.2897 + } 17.2898 + } 17.2899 + 17.2900 + old = expr; 17.2901 + } 17.2902 + 17.2903 + return curLoop; 17.2904 +}; 17.2905 + 17.2906 +Sizzle.error = function( msg ) { 17.2907 + throw "Syntax error, unrecognized expression: " + msg; 17.2908 +}; 17.2909 + 17.2910 +var Expr = Sizzle.selectors = { 17.2911 + order: [ "ID", "NAME", "TAG" ], 17.2912 + match: { 17.2913 + ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, 17.2914 + CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/, 17.2915 + NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/, 17.2916 + ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, 17.2917 + TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/, 17.2918 + CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/, 17.2919 + POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/, 17.2920 + PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ 17.2921 + }, 17.2922 + leftMatch: {}, 17.2923 + attrMap: { 17.2924 + "class": "className", 17.2925 + "for": "htmlFor" 17.2926 + }, 17.2927 + attrHandle: { 17.2928 + href: function(elem){ 17.2929 + return elem.getAttribute("href"); 17.2930 + } 17.2931 + }, 17.2932 + relative: { 17.2933 + "+": function(checkSet, part){ 17.2934 + var isPartStr = typeof part === "string", 17.2935 + isTag = isPartStr && !/\W/.test(part), 17.2936 + isPartStrNotTag = isPartStr && !isTag; 17.2937 + 17.2938 + if ( isTag ) { 17.2939 + part = part.toLowerCase(); 17.2940 + } 17.2941 + 17.2942 + for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { 17.2943 + if ( (elem = checkSet[i]) ) { 17.2944 + while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} 17.2945 + 17.2946 + checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? 17.2947 + elem || false : 17.2948 + elem === part; 17.2949 + } 17.2950 + } 17.2951 + 17.2952 + if ( isPartStrNotTag ) { 17.2953 + Sizzle.filter( part, checkSet, true ); 17.2954 + } 17.2955 + }, 17.2956 + ">": function(checkSet, part){ 17.2957 + var isPartStr = typeof part === "string"; 17.2958 + 17.2959 + if ( isPartStr && !/\W/.test(part) ) { 17.2960 + part = part.toLowerCase(); 17.2961 + 17.2962 + for ( var i = 0, l = checkSet.length; i < l; i++ ) { 17.2963 + var elem = checkSet[i]; 17.2964 + if ( elem ) { 17.2965 + var parent = elem.parentNode; 17.2966 + checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; 17.2967 + } 17.2968 + } 17.2969 + } else { 17.2970 + for ( var i = 0, l = checkSet.length; i < l; i++ ) { 17.2971 + var elem = checkSet[i]; 17.2972 + if ( elem ) { 17.2973 + checkSet[i] = isPartStr ? 17.2974 + elem.parentNode : 17.2975 + elem.parentNode === part; 17.2976 + } 17.2977 + } 17.2978 + 17.2979 + if ( isPartStr ) { 17.2980 + Sizzle.filter( part, checkSet, true ); 17.2981 + } 17.2982 + } 17.2983 + }, 17.2984 + "": function(checkSet, part, isXML){ 17.2985 + var doneName = done++, checkFn = dirCheck; 17.2986 + 17.2987 + if ( typeof part === "string" && !/\W/.test(part) ) { 17.2988 + var nodeCheck = part = part.toLowerCase(); 17.2989 + checkFn = dirNodeCheck; 17.2990 + } 17.2991 + 17.2992 + checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML); 17.2993 + }, 17.2994 + "~": function(checkSet, part, isXML){ 17.2995 + var doneName = done++, checkFn = dirCheck; 17.2996 + 17.2997 + if ( typeof part === "string" && !/\W/.test(part) ) { 17.2998 + var nodeCheck = part = part.toLowerCase(); 17.2999 + checkFn = dirNodeCheck; 17.3000 + } 17.3001 + 17.3002 + checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML); 17.3003 + } 17.3004 + }, 17.3005 + find: { 17.3006 + ID: function(match, context, isXML){ 17.3007 + if ( typeof context.getElementById !== "undefined" && !isXML ) { 17.3008 + var m = context.getElementById(match[1]); 17.3009 + return m ? [m] : []; 17.3010 + } 17.3011 + }, 17.3012 + NAME: function(match, context){ 17.3013 + if ( typeof context.getElementsByName !== "undefined" ) { 17.3014 + var ret = [], results = context.getElementsByName(match[1]); 17.3015 + 17.3016 + for ( var i = 0, l = results.length; i < l; i++ ) { 17.3017 + if ( results[i].getAttribute("name") === match[1] ) { 17.3018 + ret.push( results[i] ); 17.3019 + } 17.3020 + } 17.3021 + 17.3022 + return ret.length === 0 ? null : ret; 17.3023 + } 17.3024 + }, 17.3025 + TAG: function(match, context){ 17.3026 + return context.getElementsByTagName(match[1]); 17.3027 + } 17.3028 + }, 17.3029 + preFilter: { 17.3030 + CLASS: function(match, curLoop, inplace, result, not, isXML){ 17.3031 + match = " " + match[1].replace(/\\/g, "") + " "; 17.3032 + 17.3033 + if ( isXML ) { 17.3034 + return match; 17.3035 + } 17.3036 + 17.3037 + for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { 17.3038 + if ( elem ) { 17.3039 + if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) { 17.3040 + if ( !inplace ) { 17.3041 + result.push( elem ); 17.3042 + } 17.3043 + } else if ( inplace ) { 17.3044 + curLoop[i] = false; 17.3045 + } 17.3046 + } 17.3047 + } 17.3048 + 17.3049 + return false; 17.3050 + }, 17.3051 + ID: function(match){ 17.3052 + return match[1].replace(/\\/g, ""); 17.3053 + }, 17.3054 + TAG: function(match, curLoop){ 17.3055 + return match[1].toLowerCase(); 17.3056 + }, 17.3057 + CHILD: function(match){ 17.3058 + if ( match[1] === "nth" ) { 17.3059 + // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' 17.3060 + var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec( 17.3061 + match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || 17.3062 + !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); 17.3063 + 17.3064 + // calculate the numbers (first)n+(last) including if they are negative 17.3065 + match[2] = (test[1] + (test[2] || 1)) - 0; 17.3066 + match[3] = test[3] - 0; 17.3067 + } 17.3068 + 17.3069 + // TODO: Move to normal caching system 17.3070 + match[0] = done++; 17.3071 + 17.3072 + return match; 17.3073 + }, 17.3074 + ATTR: function(match, curLoop, inplace, result, not, isXML){ 17.3075 + var name = match[1].replace(/\\/g, ""); 17.3076 + 17.3077 + if ( !isXML && Expr.attrMap[name] ) { 17.3078 + match[1] = Expr.attrMap[name]; 17.3079 + } 17.3080 + 17.3081 + if ( match[2] === "~=" ) { 17.3082 + match[4] = " " + match[4] + " "; 17.3083 + } 17.3084 + 17.3085 + return match; 17.3086 + }, 17.3087 + PSEUDO: function(match, curLoop, inplace, result, not){ 17.3088 + if ( match[1] === "not" ) { 17.3089 + // If we're dealing with a complex expression, or a simple one 17.3090 + if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { 17.3091 + match[3] = Sizzle(match[3], null, null, curLoop); 17.3092 + } else { 17.3093 + var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); 17.3094 + if ( !inplace ) { 17.3095 + result.push.apply( result, ret ); 17.3096 + } 17.3097 + return false; 17.3098 + } 17.3099 + } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { 17.3100 + return true; 17.3101 + } 17.3102 + 17.3103 + return match; 17.3104 + }, 17.3105 + POS: function(match){ 17.3106 + match.unshift( true ); 17.3107 + return match; 17.3108 + } 17.3109 + }, 17.3110 + filters: { 17.3111 + enabled: function(elem){ 17.3112 + return elem.disabled === false && elem.type !== "hidden"; 17.3113 + }, 17.3114 + disabled: function(elem){ 17.3115 + return elem.disabled === true; 17.3116 + }, 17.3117 + checked: function(elem){ 17.3118 + return elem.checked === true; 17.3119 + }, 17.3120 + selected: function(elem){ 17.3121 + // Accessing this property makes selected-by-default 17.3122 + // options in Safari work properly 17.3123 + elem.parentNode.selectedIndex; 17.3124 + return elem.selected === true; 17.3125 + }, 17.3126 + parent: function(elem){ 17.3127 + return !!elem.firstChild; 17.3128 + }, 17.3129 + empty: function(elem){ 17.3130 + return !elem.firstChild; 17.3131 + }, 17.3132 + has: function(elem, i, match){ 17.3133 + return !!Sizzle( match[3], elem ).length; 17.3134 + }, 17.3135 + header: function(elem){ 17.3136 + return /h\d/i.test( elem.nodeName ); 17.3137 + }, 17.3138 + text: function(elem){ 17.3139 + return "text" === elem.type; 17.3140 + }, 17.3141 + radio: function(elem){ 17.3142 + return "radio" === elem.type; 17.3143 + }, 17.3144 + checkbox: function(elem){ 17.3145 + return "checkbox" === elem.type; 17.3146 + }, 17.3147 + file: function(elem){ 17.3148 + return "file" === elem.type; 17.3149 + }, 17.3150 + password: function(elem){ 17.3151 + return "password" === elem.type; 17.3152 + }, 17.3153 + submit: function(elem){ 17.3154 + return "submit" === elem.type; 17.3155 + }, 17.3156 + image: function(elem){ 17.3157 + return "image" === elem.type; 17.3158 + }, 17.3159 + reset: function(elem){ 17.3160 + return "reset" === elem.type; 17.3161 + }, 17.3162 + button: function(elem){ 17.3163 + return "button" === elem.type || elem.nodeName.toLowerCase() === "button"; 17.3164 + }, 17.3165 + input: function(elem){ 17.3166 + return /input|select|textarea|button/i.test(elem.nodeName); 17.3167 + } 17.3168 + }, 17.3169 + setFilters: { 17.3170 + first: function(elem, i){ 17.3171 + return i === 0; 17.3172 + }, 17.3173 + last: function(elem, i, match, array){ 17.3174 + return i === array.length - 1; 17.3175 + }, 17.3176 + even: function(elem, i){ 17.3177 + return i % 2 === 0; 17.3178 + }, 17.3179 + odd: function(elem, i){ 17.3180 + return i % 2 === 1; 17.3181 + }, 17.3182 + lt: function(elem, i, match){ 17.3183 + return i < match[3] - 0; 17.3184 + }, 17.3185 + gt: function(elem, i, match){ 17.3186 + return i > match[3] - 0; 17.3187 + }, 17.3188 + nth: function(elem, i, match){ 17.3189 + return match[3] - 0 === i; 17.3190 + }, 17.3191 + eq: function(elem, i, match){ 17.3192 + return match[3] - 0 === i; 17.3193 + } 17.3194 + }, 17.3195 + filter: { 17.3196 + PSEUDO: function(elem, match, i, array){ 17.3197 + var name = match[1], filter = Expr.filters[ name ]; 17.3198 + 17.3199 + if ( filter ) { 17.3200 + return filter( elem, i, match, array ); 17.3201 + } else if ( name === "contains" ) { 17.3202 + return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0; 17.3203 + } else if ( name === "not" ) { 17.3204 + var not = match[3]; 17.3205 + 17.3206 + for ( var i = 0, l = not.length; i < l; i++ ) { 17.3207 + if ( not[i] === elem ) { 17.3208 + return false; 17.3209 + } 17.3210 + } 17.3211 + 17.3212 + return true; 17.3213 + } else { 17.3214 + Sizzle.error( "Syntax error, unrecognized expression: " + name ); 17.3215 + } 17.3216 + }, 17.3217 + CHILD: function(elem, match){ 17.3218 + var type = match[1], node = elem; 17.3219 + switch (type) { 17.3220 + case 'only': 17.3221 + case 'first': 17.3222 + while ( (node = node.previousSibling) ) { 17.3223 + if ( node.nodeType === 1 ) { 17.3224 + return false; 17.3225 + } 17.3226 + } 17.3227 + if ( type === "first" ) { 17.3228 + return true; 17.3229 + } 17.3230 + node = elem; 17.3231 + case 'last': 17.3232 + while ( (node = node.nextSibling) ) { 17.3233 + if ( node.nodeType === 1 ) { 17.3234 + return false; 17.3235 + } 17.3236 + } 17.3237 + return true; 17.3238 + case 'nth': 17.3239 + var first = match[2], last = match[3]; 17.3240 + 17.3241 + if ( first === 1 && last === 0 ) { 17.3242 + return true; 17.3243 + } 17.3244 + 17.3245 + var doneName = match[0], 17.3246 + parent = elem.parentNode; 17.3247 + 17.3248 + if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { 17.3249 + var count = 0; 17.3250 + for ( node = parent.firstChild; node; node = node.nextSibling ) { 17.3251 + if ( node.nodeType === 1 ) { 17.3252 + node.nodeIndex = ++count; 17.3253 + } 17.3254 + } 17.3255 + parent.sizcache = doneName; 17.3256 + } 17.3257 + 17.3258 + var diff = elem.nodeIndex - last; 17.3259 + if ( first === 0 ) { 17.3260 + return diff === 0; 17.3261 + } else { 17.3262 + return ( diff % first === 0 && diff / first >= 0 ); 17.3263 + } 17.3264 + } 17.3265 + }, 17.3266 + ID: function(elem, match){ 17.3267 + return elem.nodeType === 1 && elem.getAttribute("id") === match; 17.3268 + }, 17.3269 + TAG: function(elem, match){ 17.3270 + return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match; 17.3271 + }, 17.3272 + CLASS: function(elem, match){ 17.3273 + return (" " + (elem.className || elem.getAttribute("class")) + " ") 17.3274 + .indexOf( match ) > -1; 17.3275 + }, 17.3276 + ATTR: function(elem, match){ 17.3277 + var name = match[1], 17.3278 + result = Expr.attrHandle[ name ] ? 17.3279 + Expr.attrHandle[ name ]( elem ) : 17.3280 + elem[ name ] != null ? 17.3281 + elem[ name ] : 17.3282 + elem.getAttribute( name ), 17.3283 + value = result + "", 17.3284 + type = match[2], 17.3285 + check = match[4]; 17.3286 + 17.3287 + return result == null ? 17.3288 + type === "!=" : 17.3289 + type === "=" ? 17.3290 + value === check : 17.3291 + type === "*=" ? 17.3292 + value.indexOf(check) >= 0 : 17.3293 + type === "~=" ? 17.3294 + (" " + value + " ").indexOf(check) >= 0 : 17.3295 + !check ? 17.3296 + value && result !== false : 17.3297 + type === "!=" ? 17.3298 + value !== check : 17.3299 + type === "^=" ? 17.3300 + value.indexOf(check) === 0 : 17.3301 + type === "$=" ? 17.3302 + value.substr(value.length - check.length) === check : 17.3303 + type === "|=" ? 17.3304 + value === check || value.substr(0, check.length + 1) === check + "-" : 17.3305 + false; 17.3306 + }, 17.3307 + POS: function(elem, match, i, array){ 17.3308 + var name = match[2], filter = Expr.setFilters[ name ]; 17.3309 + 17.3310 + if ( filter ) { 17.3311 + return filter( elem, i, match, array ); 17.3312 + } 17.3313 + } 17.3314 + } 17.3315 +}; 17.3316 + 17.3317 +var origPOS = Expr.match.POS; 17.3318 + 17.3319 +for ( var type in Expr.match ) { 17.3320 + Expr.match[ type ] = new RegExp( Expr.match[ type ].source + /(?![^\[]*\])(?![^\(]*\))/.source ); 17.3321 + Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, function(all, num){ 17.3322 + return "\\" + (num - 0 + 1); 17.3323 + })); 17.3324 +} 17.3325 + 17.3326 +var makeArray = function(array, results) { 17.3327 + array = Array.prototype.slice.call( array, 0 ); 17.3328 + 17.3329 + if ( results ) { 17.3330 + results.push.apply( results, array ); 17.3331 + return results; 17.3332 + } 17.3333 + 17.3334 + return array; 17.3335 +}; 17.3336 + 17.3337 +// Perform a simple check to determine if the browser is capable of 17.3338 +// converting a NodeList to an array using builtin methods. 17.3339 +// Also verifies that the returned array holds DOM nodes 17.3340 +// (which is not the case in the Blackberry browser) 17.3341 +try { 17.3342 + Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; 17.3343 + 17.3344 +// Provide a fallback method if it does not work 17.3345 +} catch(e){ 17.3346 + makeArray = function(array, results) { 17.3347 + var ret = results || []; 17.3348 + 17.3349 + if ( toString.call(array) === "[object Array]" ) { 17.3350 + Array.prototype.push.apply( ret, array ); 17.3351 + } else { 17.3352 + if ( typeof array.length === "number" ) { 17.3353 + for ( var i = 0, l = array.length; i < l; i++ ) { 17.3354 + ret.push( array[i] ); 17.3355 + } 17.3356 + } else { 17.3357 + for ( var i = 0; array[i]; i++ ) { 17.3358 + ret.push( array[i] ); 17.3359 + } 17.3360 + } 17.3361 + } 17.3362 + 17.3363 + return ret; 17.3364 + }; 17.3365 +} 17.3366 + 17.3367 +var sortOrder; 17.3368 + 17.3369 +if ( document.documentElement.compareDocumentPosition ) { 17.3370 + sortOrder = function( a, b ) { 17.3371 + if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { 17.3372 + if ( a == b ) { 17.3373 + hasDuplicate = true; 17.3374 + } 17.3375 + return a.compareDocumentPosition ? -1 : 1; 17.3376 + } 17.3377 + 17.3378 + var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1; 17.3379 + if ( ret === 0 ) { 17.3380 + hasDuplicate = true; 17.3381 + } 17.3382 + return ret; 17.3383 + }; 17.3384 +} else if ( "sourceIndex" in document.documentElement ) { 17.3385 + sortOrder = function( a, b ) { 17.3386 + if ( !a.sourceIndex || !b.sourceIndex ) { 17.3387 + if ( a == b ) { 17.3388 + hasDuplicate = true; 17.3389 + } 17.3390 + return a.sourceIndex ? -1 : 1; 17.3391 + } 17.3392 + 17.3393 + var ret = a.sourceIndex - b.sourceIndex; 17.3394 + if ( ret === 0 ) { 17.3395 + hasDuplicate = true; 17.3396 + } 17.3397 + return ret; 17.3398 + }; 17.3399 +} else if ( document.createRange ) { 17.3400 + sortOrder = function( a, b ) { 17.3401 + if ( !a.ownerDocument || !b.ownerDocument ) { 17.3402 + if ( a == b ) { 17.3403 + hasDuplicate = true; 17.3404 + } 17.3405 + return a.ownerDocument ? -1 : 1; 17.3406 + } 17.3407 + 17.3408 + var aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange(); 17.3409 + aRange.setStart(a, 0); 17.3410 + aRange.setEnd(a, 0); 17.3411 + bRange.setStart(b, 0); 17.3412 + bRange.setEnd(b, 0); 17.3413 + var ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange); 17.3414 + if ( ret === 0 ) { 17.3415 + hasDuplicate = true; 17.3416 + } 17.3417 + return ret; 17.3418 + }; 17.3419 +} 17.3420 + 17.3421 +// Utility function for retreiving the text value of an array of DOM nodes 17.3422 +function getText( elems ) { 17.3423 + var ret = "", elem; 17.3424 + 17.3425 + for ( var i = 0; elems[i]; i++ ) { 17.3426 + elem = elems[i]; 17.3427 + 17.3428 + // Get the text from text nodes and CDATA nodes 17.3429 + if ( elem.nodeType === 3 || elem.nodeType === 4 ) { 17.3430 + ret += elem.nodeValue; 17.3431 + 17.3432 + // Traverse everything else, except comment nodes 17.3433 + } else if ( elem.nodeType !== 8 ) { 17.3434 + ret += getText( elem.childNodes ); 17.3435 + } 17.3436 + } 17.3437 + 17.3438 + return ret; 17.3439 +} 17.3440 + 17.3441 +// Check to see if the browser returns elements by name when 17.3442 +// querying by getElementById (and provide a workaround) 17.3443 +(function(){ 17.3444 + // We're going to inject a fake input element with a specified name 17.3445 + var form = document.createElement("div"), 17.3446 + id = "script" + (new Date).getTime(); 17.3447 + form.innerHTML = "<a name='" + id + "'/>"; 17.3448 + 17.3449 + // Inject it into the root element, check its status, and remove it quickly 17.3450 + var root = document.documentElement; 17.3451 + root.insertBefore( form, root.firstChild ); 17.3452 + 17.3453 + // The workaround has to do additional checks after a getElementById 17.3454 + // Which slows things down for other browsers (hence the branching) 17.3455 + if ( document.getElementById( id ) ) { 17.3456 + Expr.find.ID = function(match, context, isXML){ 17.3457 + if ( typeof context.getElementById !== "undefined" && !isXML ) { 17.3458 + var m = context.getElementById(match[1]); 17.3459 + return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : []; 17.3460 + } 17.3461 + }; 17.3462 + 17.3463 + Expr.filter.ID = function(elem, match){ 17.3464 + var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); 17.3465 + return elem.nodeType === 1 && node && node.nodeValue === match; 17.3466 + }; 17.3467 + } 17.3468 + 17.3469 + root.removeChild( form ); 17.3470 + root = form = null; // release memory in IE 17.3471 +})(); 17.3472 + 17.3473 +(function(){ 17.3474 + // Check to see if the browser returns only elements 17.3475 + // when doing getElementsByTagName("*") 17.3476 + 17.3477 + // Create a fake element 17.3478 + var div = document.createElement("div"); 17.3479 + div.appendChild( document.createComment("") ); 17.3480 + 17.3481 + // Make sure no comments are found 17.3482 + if ( div.getElementsByTagName("*").length > 0 ) { 17.3483 + Expr.find.TAG = function(match, context){ 17.3484 + var results = context.getElementsByTagName(match[1]); 17.3485 + 17.3486 + // Filter out possible comments 17.3487 + if ( match[1] === "*" ) { 17.3488 + var tmp = []; 17.3489 + 17.3490 + for ( var i = 0; results[i]; i++ ) { 17.3491 + if ( results[i].nodeType === 1 ) { 17.3492 + tmp.push( results[i] ); 17.3493 + } 17.3494 + } 17.3495 + 17.3496 + results = tmp; 17.3497 + } 17.3498 + 17.3499 + return results; 17.3500 + }; 17.3501 + } 17.3502 + 17.3503 + // Check to see if an attribute returns normalized href attributes 17.3504 + div.innerHTML = "<a href='#'></a>"; 17.3505 + if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && 17.3506 + div.firstChild.getAttribute("href") !== "#" ) { 17.3507 + Expr.attrHandle.href = function(elem){ 17.3508 + return elem.getAttribute("href", 2); 17.3509 + }; 17.3510 + } 17.3511 + 17.3512 + div = null; // release memory in IE 17.3513 +})(); 17.3514 + 17.3515 +if ( document.querySelectorAll ) { 17.3516 + (function(){ 17.3517 + var oldSizzle = Sizzle, div = document.createElement("div"); 17.3518 + div.innerHTML = "<p class='TEST'></p>"; 17.3519 + 17.3520 + // Safari can't handle uppercase or unicode characters when 17.3521 + // in quirks mode. 17.3522 + if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { 17.3523 + return; 17.3524 + } 17.3525 + 17.3526 + Sizzle = function(query, context, extra, seed){ 17.3527 + context = context || document; 17.3528 + 17.3529 + // Only use querySelectorAll on non-XML documents 17.3530 + // (ID selectors don't work in non-HTML documents) 17.3531 + if ( !seed && context.nodeType === 9 && !isXML(context) ) { 17.3532 + try { 17.3533 + return makeArray( context.querySelectorAll(query), extra ); 17.3534 + } catch(e){} 17.3535 + } 17.3536 + 17.3537 + return oldSizzle(query, context, extra, seed); 17.3538 + }; 17.3539 + 17.3540 + for ( var prop in oldSizzle ) { 17.3541 + Sizzle[ prop ] = oldSizzle[ prop ]; 17.3542 + } 17.3543 + 17.3544 + div = null; // release memory in IE 17.3545 + })(); 17.3546 +} 17.3547 + 17.3548 +(function(){ 17.3549 + var div = document.createElement("div"); 17.3550 + 17.3551 + div.innerHTML = "<div class='test e'></div><div class='test'></div>"; 17.3552 + 17.3553 + // Opera can't find a second classname (in 9.6) 17.3554 + // Also, make sure that getElementsByClassName actually exists 17.3555 + if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { 17.3556 + return; 17.3557 + } 17.3558 + 17.3559 + // Safari caches class attributes, doesn't catch changes (in 3.2) 17.3560 + div.lastChild.className = "e"; 17.3561 + 17.3562 + if ( div.getElementsByClassName("e").length === 1 ) { 17.3563 + return; 17.3564 + } 17.3565 + 17.3566 + Expr.order.splice(1, 0, "CLASS"); 17.3567 + Expr.find.CLASS = function(match, context, isXML) { 17.3568 + if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { 17.3569 + return context.getElementsByClassName(match[1]); 17.3570 + } 17.3571 + }; 17.3572 + 17.3573 + div = null; // release memory in IE 17.3574 +})(); 17.3575 + 17.3576 +function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { 17.3577 + for ( var i = 0, l = checkSet.length; i < l; i++ ) { 17.3578 + var elem = checkSet[i]; 17.3579 + if ( elem ) { 17.3580 + elem = elem[dir]; 17.3581 + var match = false; 17.3582 + 17.3583 + while ( elem ) { 17.3584 + if ( elem.sizcache === doneName ) { 17.3585 + match = checkSet[elem.sizset]; 17.3586 + break; 17.3587 + } 17.3588 + 17.3589 + if ( elem.nodeType === 1 && !isXML ){ 17.3590 + elem.sizcache = doneName; 17.3591 + elem.sizset = i; 17.3592 + } 17.3593 + 17.3594 + if ( elem.nodeName.toLowerCase() === cur ) { 17.3595 + match = elem; 17.3596 + break; 17.3597 + } 17.3598 + 17.3599 + elem = elem[dir]; 17.3600 + } 17.3601 + 17.3602 + checkSet[i] = match; 17.3603 + } 17.3604 + } 17.3605 +} 17.3606 + 17.3607 +function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { 17.3608 + for ( var i = 0, l = checkSet.length; i < l; i++ ) { 17.3609 + var elem = checkSet[i]; 17.3610 + if ( elem ) { 17.3611 + elem = elem[dir]; 17.3612 + var match = false; 17.3613 + 17.3614 + while ( elem ) { 17.3615 + if ( elem.sizcache === doneName ) { 17.3616 + match = checkSet[elem.sizset]; 17.3617 + break; 17.3618 + } 17.3619 + 17.3620 + if ( elem.nodeType === 1 ) { 17.3621 + if ( !isXML ) { 17.3622 + elem.sizcache = doneName; 17.3623 + elem.sizset = i; 17.3624 + } 17.3625 + if ( typeof cur !== "string" ) { 17.3626 + if ( elem === cur ) { 17.3627 + match = true; 17.3628 + break; 17.3629 + } 17.3630 + 17.3631 + } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { 17.3632 + match = elem; 17.3633 + break; 17.3634 + } 17.3635 + } 17.3636 + 17.3637 + elem = elem[dir]; 17.3638 + } 17.3639 + 17.3640 + checkSet[i] = match; 17.3641 + } 17.3642 + } 17.3643 +} 17.3644 + 17.3645 +var contains = document.compareDocumentPosition ? function(a, b){ 17.3646 + return !!(a.compareDocumentPosition(b) & 16); 17.3647 +} : function(a, b){ 17.3648 + return a !== b && (a.contains ? a.contains(b) : true); 17.3649 +}; 17.3650 + 17.3651 +var isXML = function(elem){ 17.3652 + // documentElement is verified for cases where it doesn't yet exist 17.3653 + // (such as loading iframes in IE - #4833) 17.3654 + var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; 17.3655 + return documentElement ? documentElement.nodeName !== "HTML" : false; 17.3656 +}; 17.3657 + 17.3658 +var posProcess = function(selector, context){ 17.3659 + var tmpSet = [], later = "", match, 17.3660 + root = context.nodeType ? [context] : context; 17.3661 + 17.3662 + // Position selectors must be done after the filter 17.3663 + // And so must :not(positional) so we move all PSEUDOs to the end 17.3664 + while ( (match = Expr.match.PSEUDO.exec( selector )) ) { 17.3665 + later += match[0]; 17.3666 + selector = selector.replace( Expr.match.PSEUDO, "" ); 17.3667 + } 17.3668 + 17.3669 + selector = Expr.relative[selector] ? selector + "*" : selector; 17.3670 + 17.3671 + for ( var i = 0, l = root.length; i < l; i++ ) { 17.3672 + Sizzle( selector, root[i], tmpSet ); 17.3673 + } 17.3674 + 17.3675 + return Sizzle.filter( later, tmpSet ); 17.3676 +}; 17.3677 + 17.3678 +// EXPOSE 17.3679 +jQuery.find = Sizzle; 17.3680 +jQuery.expr = Sizzle.selectors; 17.3681 +jQuery.expr[":"] = jQuery.expr.filters; 17.3682 +jQuery.unique = Sizzle.uniqueSort; 17.3683 +jQuery.text = getText; 17.3684 +jQuery.isXMLDoc = isXML; 17.3685 +jQuery.contains = contains; 17.3686 + 17.3687 +return; 17.3688 + 17.3689 +window.Sizzle = Sizzle; 17.3690 + 17.3691 +})(); 17.3692 +var runtil = /Until$/, 17.3693 + rparentsprev = /^(?:parents|prevUntil|prevAll)/, 17.3694 + // Note: This RegExp should be improved, or likely pulled from Sizzle 17.3695 + rmultiselector = /,/, 17.3696 + slice = Array.prototype.slice; 17.3697 + 17.3698 +// Implement the identical functionality for filter and not 17.3699 +var winnow = function( elements, qualifier, keep ) { 17.3700 + if ( jQuery.isFunction( qualifier ) ) { 17.3701 + return jQuery.grep(elements, function( elem, i ) { 17.3702 + return !!qualifier.call( elem, i, elem ) === keep; 17.3703 + }); 17.3704 + 17.3705 + } else if ( qualifier.nodeType ) { 17.3706 + return jQuery.grep(elements, function( elem, i ) { 17.3707 + return (elem === qualifier) === keep; 17.3708 + }); 17.3709 + 17.3710 + } else if ( typeof qualifier === "string" ) { 17.3711 + var filtered = jQuery.grep(elements, function( elem ) { 17.3712 + return elem.nodeType === 1; 17.3713 + }); 17.3714 + 17.3715 + if ( isSimple.test( qualifier ) ) { 17.3716 + return jQuery.filter(qualifier, filtered, !keep); 17.3717 + } else { 17.3718 + qualifier = jQuery.filter( qualifier, filtered ); 17.3719 + } 17.3720 + } 17.3721 + 17.3722 + return jQuery.grep(elements, function( elem, i ) { 17.3723 + return (jQuery.inArray( elem, qualifier ) >= 0) === keep; 17.3724 + }); 17.3725 +}; 17.3726 + 17.3727 +jQuery.fn.extend({ 17.3728 + find: function( selector ) { 17.3729 + var ret = this.pushStack( "", "find", selector ), length = 0; 17.3730 + 17.3731 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.3732 + length = ret.length; 17.3733 + jQuery.find( selector, this[i], ret ); 17.3734 + 17.3735 + if ( i > 0 ) { 17.3736 + // Make sure that the results are unique 17.3737 + for ( var n = length; n < ret.length; n++ ) { 17.3738 + for ( var r = 0; r < length; r++ ) { 17.3739 + if ( ret[r] === ret[n] ) { 17.3740 + ret.splice(n--, 1); 17.3741 + break; 17.3742 + } 17.3743 + } 17.3744 + } 17.3745 + } 17.3746 + } 17.3747 + 17.3748 + return ret; 17.3749 + }, 17.3750 + 17.3751 + has: function( target ) { 17.3752 + var targets = jQuery( target ); 17.3753 + return this.filter(function() { 17.3754 + for ( var i = 0, l = targets.length; i < l; i++ ) { 17.3755 + if ( jQuery.contains( this, targets[i] ) ) { 17.3756 + return true; 17.3757 + } 17.3758 + } 17.3759 + }); 17.3760 + }, 17.3761 + 17.3762 + not: function( selector ) { 17.3763 + return this.pushStack( winnow(this, selector, false), "not", selector); 17.3764 + }, 17.3765 + 17.3766 + filter: function( selector ) { 17.3767 + return this.pushStack( winnow(this, selector, true), "filter", selector ); 17.3768 + }, 17.3769 + 17.3770 + is: function( selector ) { 17.3771 + return !!selector && jQuery.filter( selector, this ).length > 0; 17.3772 + }, 17.3773 + 17.3774 + closest: function( selectors, context ) { 17.3775 + if ( jQuery.isArray( selectors ) ) { 17.3776 + var ret = [], cur = this[0], match, matches = {}, selector; 17.3777 + 17.3778 + if ( cur && selectors.length ) { 17.3779 + for ( var i = 0, l = selectors.length; i < l; i++ ) { 17.3780 + selector = selectors[i]; 17.3781 + 17.3782 + if ( !matches[selector] ) { 17.3783 + matches[selector] = jQuery.expr.match.POS.test( selector ) ? 17.3784 + jQuery( selector, context || this.context ) : 17.3785 + selector; 17.3786 + } 17.3787 + } 17.3788 + 17.3789 + while ( cur && cur.ownerDocument && cur !== context ) { 17.3790 + for ( selector in matches ) { 17.3791 + match = matches[selector]; 17.3792 + 17.3793 + if ( match.jquery ? match.index(cur) > -1 : jQuery(cur).is(match) ) { 17.3794 + ret.push({ selector: selector, elem: cur }); 17.3795 + delete matches[selector]; 17.3796 + } 17.3797 + } 17.3798 + cur = cur.parentNode; 17.3799 + } 17.3800 + } 17.3801 + 17.3802 + return ret; 17.3803 + } 17.3804 + 17.3805 + var pos = jQuery.expr.match.POS.test( selectors ) ? 17.3806 + jQuery( selectors, context || this.context ) : null; 17.3807 + 17.3808 + return this.map(function( i, cur ) { 17.3809 + while ( cur && cur.ownerDocument && cur !== context ) { 17.3810 + if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selectors) ) { 17.3811 + return cur; 17.3812 + } 17.3813 + cur = cur.parentNode; 17.3814 + } 17.3815 + return null; 17.3816 + }); 17.3817 + }, 17.3818 + 17.3819 + // Determine the position of an element within 17.3820 + // the matched set of elements 17.3821 + index: function( elem ) { 17.3822 + if ( !elem || typeof elem === "string" ) { 17.3823 + return jQuery.inArray( this[0], 17.3824 + // If it receives a string, the selector is used 17.3825 + // If it receives nothing, the siblings are used 17.3826 + elem ? jQuery( elem ) : this.parent().children() ); 17.3827 + } 17.3828 + // Locate the position of the desired element 17.3829 + return jQuery.inArray( 17.3830 + // If it receives a jQuery object, the first element is used 17.3831 + elem.jquery ? elem[0] : elem, this ); 17.3832 + }, 17.3833 + 17.3834 + add: function( selector, context ) { 17.3835 + var set = typeof selector === "string" ? 17.3836 + jQuery( selector, context || this.context ) : 17.3837 + jQuery.makeArray( selector ), 17.3838 + all = jQuery.merge( this.get(), set ); 17.3839 + 17.3840 + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? 17.3841 + all : 17.3842 + jQuery.unique( all ) ); 17.3843 + }, 17.3844 + 17.3845 + andSelf: function() { 17.3846 + return this.add( this.prevObject ); 17.3847 + } 17.3848 +}); 17.3849 + 17.3850 +// A painfully simple check to see if an element is disconnected 17.3851 +// from a document (should be improved, where feasible). 17.3852 +function isDisconnected( node ) { 17.3853 + return !node || !node.parentNode || node.parentNode.nodeType === 11; 17.3854 +} 17.3855 + 17.3856 +jQuery.each({ 17.3857 + parent: function( elem ) { 17.3858 + var parent = elem.parentNode; 17.3859 + return parent && parent.nodeType !== 11 ? parent : null; 17.3860 + }, 17.3861 + parents: function( elem ) { 17.3862 + return jQuery.dir( elem, "parentNode" ); 17.3863 + }, 17.3864 + parentsUntil: function( elem, i, until ) { 17.3865 + return jQuery.dir( elem, "parentNode", until ); 17.3866 + }, 17.3867 + next: function( elem ) { 17.3868 + return jQuery.nth( elem, 2, "nextSibling" ); 17.3869 + }, 17.3870 + prev: function( elem ) { 17.3871 + return jQuery.nth( elem, 2, "previousSibling" ); 17.3872 + }, 17.3873 + nextAll: function( elem ) { 17.3874 + return jQuery.dir( elem, "nextSibling" ); 17.3875 + }, 17.3876 + prevAll: function( elem ) { 17.3877 + return jQuery.dir( elem, "previousSibling" ); 17.3878 + }, 17.3879 + nextUntil: function( elem, i, until ) { 17.3880 + return jQuery.dir( elem, "nextSibling", until ); 17.3881 + }, 17.3882 + prevUntil: function( elem, i, until ) { 17.3883 + return jQuery.dir( elem, "previousSibling", until ); 17.3884 + }, 17.3885 + siblings: function( elem ) { 17.3886 + return jQuery.sibling( elem.parentNode.firstChild, elem ); 17.3887 + }, 17.3888 + children: function( elem ) { 17.3889 + return jQuery.sibling( elem.firstChild ); 17.3890 + }, 17.3891 + contents: function( elem ) { 17.3892 + return jQuery.nodeName( elem, "iframe" ) ? 17.3893 + elem.contentDocument || elem.contentWindow.document : 17.3894 + jQuery.makeArray( elem.childNodes ); 17.3895 + } 17.3896 +}, function( name, fn ) { 17.3897 + jQuery.fn[ name ] = function( until, selector ) { 17.3898 + var ret = jQuery.map( this, fn, until ); 17.3899 + 17.3900 + if ( !runtil.test( name ) ) { 17.3901 + selector = until; 17.3902 + } 17.3903 + 17.3904 + if ( selector && typeof selector === "string" ) { 17.3905 + ret = jQuery.filter( selector, ret ); 17.3906 + } 17.3907 + 17.3908 + ret = this.length > 1 ? jQuery.unique( ret ) : ret; 17.3909 + 17.3910 + if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { 17.3911 + ret = ret.reverse(); 17.3912 + } 17.3913 + 17.3914 + return this.pushStack( ret, name, slice.call(arguments).join(",") ); 17.3915 + }; 17.3916 +}); 17.3917 + 17.3918 +jQuery.extend({ 17.3919 + filter: function( expr, elems, not ) { 17.3920 + if ( not ) { 17.3921 + expr = ":not(" + expr + ")"; 17.3922 + } 17.3923 + 17.3924 + return jQuery.find.matches(expr, elems); 17.3925 + }, 17.3926 + 17.3927 + dir: function( elem, dir, until ) { 17.3928 + var matched = [], cur = elem[dir]; 17.3929 + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { 17.3930 + if ( cur.nodeType === 1 ) { 17.3931 + matched.push( cur ); 17.3932 + } 17.3933 + cur = cur[dir]; 17.3934 + } 17.3935 + return matched; 17.3936 + }, 17.3937 + 17.3938 + nth: function( cur, result, dir, elem ) { 17.3939 + result = result || 1; 17.3940 + var num = 0; 17.3941 + 17.3942 + for ( ; cur; cur = cur[dir] ) { 17.3943 + if ( cur.nodeType === 1 && ++num === result ) { 17.3944 + break; 17.3945 + } 17.3946 + } 17.3947 + 17.3948 + return cur; 17.3949 + }, 17.3950 + 17.3951 + sibling: function( n, elem ) { 17.3952 + var r = []; 17.3953 + 17.3954 + for ( ; n; n = n.nextSibling ) { 17.3955 + if ( n.nodeType === 1 && n !== elem ) { 17.3956 + r.push( n ); 17.3957 + } 17.3958 + } 17.3959 + 17.3960 + return r; 17.3961 + } 17.3962 +}); 17.3963 +var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, 17.3964 + rleadingWhitespace = /^\s+/, 17.3965 + rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g, 17.3966 + rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, 17.3967 + rtagName = /<([\w:]+)/, 17.3968 + rtbody = /<tbody/i, 17.3969 + rhtml = /<|&#?\w+;/, 17.3970 + rnocache = /<script|<object|<embed|<option|<style/i, 17.3971 + rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, // checked="checked" or checked (html5) 17.3972 + fcloseTag = function( all, front, tag ) { 17.3973 + return rselfClosing.test( tag ) ? 17.3974 + all : 17.3975 + front + "></" + tag + ">"; 17.3976 + }, 17.3977 + wrapMap = { 17.3978 + option: [ 1, "<select multiple='multiple'>", "</select>" ], 17.3979 + legend: [ 1, "<fieldset>", "</fieldset>" ], 17.3980 + thead: [ 1, "<table>", "</table>" ], 17.3981 + tr: [ 2, "<table><tbody>", "</tbody></table>" ], 17.3982 + td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], 17.3983 + col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ], 17.3984 + area: [ 1, "<map>", "</map>" ], 17.3985 + _default: [ 0, "", "" ] 17.3986 + }; 17.3987 + 17.3988 +wrapMap.optgroup = wrapMap.option; 17.3989 +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; 17.3990 +wrapMap.th = wrapMap.td; 17.3991 + 17.3992 +// IE can't serialize <link> and <script> tags normally 17.3993 +if ( !jQuery.support.htmlSerialize ) { 17.3994 + wrapMap._default = [ 1, "div<div>", "</div>" ]; 17.3995 +} 17.3996 + 17.3997 +jQuery.fn.extend({ 17.3998 + text: function( text ) { 17.3999 + if ( jQuery.isFunction(text) ) { 17.4000 + return this.each(function(i) { 17.4001 + var self = jQuery(this); 17.4002 + self.text( text.call(this, i, self.text()) ); 17.4003 + }); 17.4004 + } 17.4005 + 17.4006 + if ( typeof text !== "object" && text !== undefined ) { 17.4007 + return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); 17.4008 + } 17.4009 + 17.4010 + return jQuery.text( this ); 17.4011 + }, 17.4012 + 17.4013 + wrapAll: function( html ) { 17.4014 + if ( jQuery.isFunction( html ) ) { 17.4015 + return this.each(function(i) { 17.4016 + jQuery(this).wrapAll( html.call(this, i) ); 17.4017 + }); 17.4018 + } 17.4019 + 17.4020 + if ( this[0] ) { 17.4021 + // The elements to wrap the target around 17.4022 + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); 17.4023 + 17.4024 + if ( this[0].parentNode ) { 17.4025 + wrap.insertBefore( this[0] ); 17.4026 + } 17.4027 + 17.4028 + wrap.map(function() { 17.4029 + var elem = this; 17.4030 + 17.4031 + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { 17.4032 + elem = elem.firstChild; 17.4033 + } 17.4034 + 17.4035 + return elem; 17.4036 + }).append(this); 17.4037 + } 17.4038 + 17.4039 + return this; 17.4040 + }, 17.4041 + 17.4042 + wrapInner: function( html ) { 17.4043 + if ( jQuery.isFunction( html ) ) { 17.4044 + return this.each(function(i) { 17.4045 + jQuery(this).wrapInner( html.call(this, i) ); 17.4046 + }); 17.4047 + } 17.4048 + 17.4049 + return this.each(function() { 17.4050 + var self = jQuery( this ), contents = self.contents(); 17.4051 + 17.4052 + if ( contents.length ) { 17.4053 + contents.wrapAll( html ); 17.4054 + 17.4055 + } else { 17.4056 + self.append( html ); 17.4057 + } 17.4058 + }); 17.4059 + }, 17.4060 + 17.4061 + wrap: function( html ) { 17.4062 + return this.each(function() { 17.4063 + jQuery( this ).wrapAll( html ); 17.4064 + }); 17.4065 + }, 17.4066 + 17.4067 + unwrap: function() { 17.4068 + return this.parent().each(function() { 17.4069 + if ( !jQuery.nodeName( this, "body" ) ) { 17.4070 + jQuery( this ).replaceWith( this.childNodes ); 17.4071 + } 17.4072 + }).end(); 17.4073 + }, 17.4074 + 17.4075 + append: function() { 17.4076 + return this.domManip(arguments, true, function( elem ) { 17.4077 + if ( this.nodeType === 1 ) { 17.4078 + this.appendChild( elem ); 17.4079 + } 17.4080 + }); 17.4081 + }, 17.4082 + 17.4083 + prepend: function() { 17.4084 + return this.domManip(arguments, true, function( elem ) { 17.4085 + if ( this.nodeType === 1 ) { 17.4086 + this.insertBefore( elem, this.firstChild ); 17.4087 + } 17.4088 + }); 17.4089 + }, 17.4090 + 17.4091 + before: function() { 17.4092 + if ( this[0] && this[0].parentNode ) { 17.4093 + return this.domManip(arguments, false, function( elem ) { 17.4094 + this.parentNode.insertBefore( elem, this ); 17.4095 + }); 17.4096 + } else if ( arguments.length ) { 17.4097 + var set = jQuery(arguments[0]); 17.4098 + set.push.apply( set, this.toArray() ); 17.4099 + return this.pushStack( set, "before", arguments ); 17.4100 + } 17.4101 + }, 17.4102 + 17.4103 + after: function() { 17.4104 + if ( this[0] && this[0].parentNode ) { 17.4105 + return this.domManip(arguments, false, function( elem ) { 17.4106 + this.parentNode.insertBefore( elem, this.nextSibling ); 17.4107 + }); 17.4108 + } else if ( arguments.length ) { 17.4109 + var set = this.pushStack( this, "after", arguments ); 17.4110 + set.push.apply( set, jQuery(arguments[0]).toArray() ); 17.4111 + return set; 17.4112 + } 17.4113 + }, 17.4114 + 17.4115 + // keepData is for internal use only--do not document 17.4116 + remove: function( selector, keepData ) { 17.4117 + for ( var i = 0, elem; (elem = this[i]) != null; i++ ) { 17.4118 + if ( !selector || jQuery.filter( selector, [ elem ] ).length ) { 17.4119 + if ( !keepData && elem.nodeType === 1 ) { 17.4120 + jQuery.cleanData( elem.getElementsByTagName("*") ); 17.4121 + jQuery.cleanData( [ elem ] ); 17.4122 + } 17.4123 + 17.4124 + if ( elem.parentNode ) { 17.4125 + elem.parentNode.removeChild( elem ); 17.4126 + } 17.4127 + } 17.4128 + } 17.4129 + 17.4130 + return this; 17.4131 + }, 17.4132 + 17.4133 + empty: function() { 17.4134 + for ( var i = 0, elem; (elem = this[i]) != null; i++ ) { 17.4135 + // Remove element nodes and prevent memory leaks 17.4136 + if ( elem.nodeType === 1 ) { 17.4137 + jQuery.cleanData( elem.getElementsByTagName("*") ); 17.4138 + } 17.4139 + 17.4140 + // Remove any remaining nodes 17.4141 + while ( elem.firstChild ) { 17.4142 + elem.removeChild( elem.firstChild ); 17.4143 + } 17.4144 + } 17.4145 + 17.4146 + return this; 17.4147 + }, 17.4148 + 17.4149 + clone: function( events ) { 17.4150 + // Do the clone 17.4151 + var ret = this.map(function() { 17.4152 + if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) { 17.4153 + // IE copies events bound via attachEvent when 17.4154 + // using cloneNode. Calling detachEvent on the 17.4155 + // clone will also remove the events from the orignal 17.4156 + // In order to get around this, we use innerHTML. 17.4157 + // Unfortunately, this means some modifications to 17.4158 + // attributes in IE that are actually only stored 17.4159 + // as properties will not be copied (such as the 17.4160 + // the name attribute on an input). 17.4161 + var html = this.outerHTML, ownerDocument = this.ownerDocument; 17.4162 + if ( !html ) { 17.4163 + var div = ownerDocument.createElement("div"); 17.4164 + div.appendChild( this.cloneNode(true) ); 17.4165 + html = div.innerHTML; 17.4166 + } 17.4167 + 17.4168 + return jQuery.clean([html.replace(rinlinejQuery, "") 17.4169 + // Handle the case in IE 8 where action=/test/> self-closes a tag 17.4170 + .replace(/=([^="'>\s]+\/)>/g, '="$1">') 17.4171 + .replace(rleadingWhitespace, "")], ownerDocument)[0]; 17.4172 + } else { 17.4173 + return this.cloneNode(true); 17.4174 + } 17.4175 + }); 17.4176 + 17.4177 + // Copy the events from the original to the clone 17.4178 + if ( events === true ) { 17.4179 + cloneCopyEvent( this, ret ); 17.4180 + cloneCopyEvent( this.find("*"), ret.find("*") ); 17.4181 + } 17.4182 + 17.4183 + // Return the cloned set 17.4184 + return ret; 17.4185 + }, 17.4186 + 17.4187 + html: function( value ) { 17.4188 + if ( value === undefined ) { 17.4189 + return this[0] && this[0].nodeType === 1 ? 17.4190 + this[0].innerHTML.replace(rinlinejQuery, "") : 17.4191 + null; 17.4192 + 17.4193 + // See if we can take a shortcut and just use innerHTML 17.4194 + } else if ( typeof value === "string" && !rnocache.test( value ) && 17.4195 + (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) && 17.4196 + !wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) { 17.4197 + 17.4198 + value = value.replace(rxhtmlTag, fcloseTag); 17.4199 + 17.4200 + try { 17.4201 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.4202 + // Remove element nodes and prevent memory leaks 17.4203 + if ( this[i].nodeType === 1 ) { 17.4204 + jQuery.cleanData( this[i].getElementsByTagName("*") ); 17.4205 + this[i].innerHTML = value; 17.4206 + } 17.4207 + } 17.4208 + 17.4209 + // If using innerHTML throws an exception, use the fallback method 17.4210 + } catch(e) { 17.4211 + this.empty().append( value ); 17.4212 + } 17.4213 + 17.4214 + } else if ( jQuery.isFunction( value ) ) { 17.4215 + this.each(function(i){ 17.4216 + var self = jQuery(this), old = self.html(); 17.4217 + self.empty().append(function(){ 17.4218 + return value.call( this, i, old ); 17.4219 + }); 17.4220 + }); 17.4221 + 17.4222 + } else { 17.4223 + this.empty().append( value ); 17.4224 + } 17.4225 + 17.4226 + return this; 17.4227 + }, 17.4228 + 17.4229 + replaceWith: function( value ) { 17.4230 + if ( this[0] && this[0].parentNode ) { 17.4231 + // Make sure that the elements are removed from the DOM before they are inserted 17.4232 + // this can help fix replacing a parent with child elements 17.4233 + if ( jQuery.isFunction( value ) ) { 17.4234 + return this.each(function(i) { 17.4235 + var self = jQuery(this), old = self.html(); 17.4236 + self.replaceWith( value.call( this, i, old ) ); 17.4237 + }); 17.4238 + } 17.4239 + 17.4240 + if ( typeof value !== "string" ) { 17.4241 + value = jQuery(value).detach(); 17.4242 + } 17.4243 + 17.4244 + return this.each(function() { 17.4245 + var next = this.nextSibling, parent = this.parentNode; 17.4246 + 17.4247 + jQuery(this).remove(); 17.4248 + 17.4249 + if ( next ) { 17.4250 + jQuery(next).before( value ); 17.4251 + } else { 17.4252 + jQuery(parent).append( value ); 17.4253 + } 17.4254 + }); 17.4255 + } else { 17.4256 + return this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value ); 17.4257 + } 17.4258 + }, 17.4259 + 17.4260 + detach: function( selector ) { 17.4261 + return this.remove( selector, true ); 17.4262 + }, 17.4263 + 17.4264 + domManip: function( args, table, callback ) { 17.4265 + var results, first, value = args[0], scripts = [], fragment, parent; 17.4266 + 17.4267 + // We can't cloneNode fragments that contain checked, in WebKit 17.4268 + if ( !jQuery.support.checkClone && arguments.length === 3 && typeof value === "string" && rchecked.test( value ) ) { 17.4269 + return this.each(function() { 17.4270 + jQuery(this).domManip( args, table, callback, true ); 17.4271 + }); 17.4272 + } 17.4273 + 17.4274 + if ( jQuery.isFunction(value) ) { 17.4275 + return this.each(function(i) { 17.4276 + var self = jQuery(this); 17.4277 + args[0] = value.call(this, i, table ? self.html() : undefined); 17.4278 + self.domManip( args, table, callback ); 17.4279 + }); 17.4280 + } 17.4281 + 17.4282 + if ( this[0] ) { 17.4283 + parent = value && value.parentNode; 17.4284 + 17.4285 + // If we're in a fragment, just use that instead of building a new one 17.4286 + if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) { 17.4287 + results = { fragment: parent }; 17.4288 + 17.4289 + } else { 17.4290 + results = buildFragment( args, this, scripts ); 17.4291 + } 17.4292 + 17.4293 + fragment = results.fragment; 17.4294 + 17.4295 + if ( fragment.childNodes.length === 1 ) { 17.4296 + first = fragment = fragment.firstChild; 17.4297 + } else { 17.4298 + first = fragment.firstChild; 17.4299 + } 17.4300 + 17.4301 + if ( first ) { 17.4302 + table = table && jQuery.nodeName( first, "tr" ); 17.4303 + 17.4304 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.4305 + callback.call( 17.4306 + table ? 17.4307 + root(this[i], first) : 17.4308 + this[i], 17.4309 + i > 0 || results.cacheable || this.length > 1 ? 17.4310 + fragment.cloneNode(true) : 17.4311 + fragment 17.4312 + ); 17.4313 + } 17.4314 + } 17.4315 + 17.4316 + if ( scripts.length ) { 17.4317 + jQuery.each( scripts, evalScript ); 17.4318 + } 17.4319 + } 17.4320 + 17.4321 + return this; 17.4322 + 17.4323 + function root( elem, cur ) { 17.4324 + return jQuery.nodeName(elem, "table") ? 17.4325 + (elem.getElementsByTagName("tbody")[0] || 17.4326 + elem.appendChild(elem.ownerDocument.createElement("tbody"))) : 17.4327 + elem; 17.4328 + } 17.4329 + } 17.4330 +}); 17.4331 + 17.4332 +function cloneCopyEvent(orig, ret) { 17.4333 + var i = 0; 17.4334 + 17.4335 + ret.each(function() { 17.4336 + if ( this.nodeName !== (orig[i] && orig[i].nodeName) ) { 17.4337 + return; 17.4338 + } 17.4339 + 17.4340 + var oldData = jQuery.data( orig[i++] ), curData = jQuery.data( this, oldData ), events = oldData && oldData.events; 17.4341 + 17.4342 + if ( events ) { 17.4343 + delete curData.handle; 17.4344 + curData.events = {}; 17.4345 + 17.4346 + for ( var type in events ) { 17.4347 + for ( var handler in events[ type ] ) { 17.4348 + jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data ); 17.4349 + } 17.4350 + } 17.4351 + } 17.4352 + }); 17.4353 +} 17.4354 + 17.4355 +function buildFragment( args, nodes, scripts ) { 17.4356 + var fragment, cacheable, cacheresults, 17.4357 + doc = (nodes && nodes[0] ? nodes[0].ownerDocument || nodes[0] : document); 17.4358 + 17.4359 + // Only cache "small" (1/2 KB) strings that are associated with the main document 17.4360 + // Cloning options loses the selected state, so don't cache them 17.4361 + // IE 6 doesn't like it when you put <object> or <embed> elements in a fragment 17.4362 + // Also, WebKit does not clone 'checked' attributes on cloneNode, so don't cache 17.4363 + if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && doc === document && 17.4364 + !rnocache.test( args[0] ) && (jQuery.support.checkClone || !rchecked.test( args[0] )) ) { 17.4365 + 17.4366 + cacheable = true; 17.4367 + cacheresults = jQuery.fragments[ args[0] ]; 17.4368 + if ( cacheresults ) { 17.4369 + if ( cacheresults !== 1 ) { 17.4370 + fragment = cacheresults; 17.4371 + } 17.4372 + } 17.4373 + } 17.4374 + 17.4375 + if ( !fragment ) { 17.4376 + fragment = doc.createDocumentFragment(); 17.4377 + jQuery.clean( args, doc, fragment, scripts ); 17.4378 + } 17.4379 + 17.4380 + if ( cacheable ) { 17.4381 + jQuery.fragments[ args[0] ] = cacheresults ? fragment : 1; 17.4382 + } 17.4383 + 17.4384 + return { fragment: fragment, cacheable: cacheable }; 17.4385 +} 17.4386 + 17.4387 +jQuery.fragments = {}; 17.4388 + 17.4389 +jQuery.each({ 17.4390 + appendTo: "append", 17.4391 + prependTo: "prepend", 17.4392 + insertBefore: "before", 17.4393 + insertAfter: "after", 17.4394 + replaceAll: "replaceWith" 17.4395 +}, function( name, original ) { 17.4396 + jQuery.fn[ name ] = function( selector ) { 17.4397 + var ret = [], insert = jQuery( selector ), 17.4398 + parent = this.length === 1 && this[0].parentNode; 17.4399 + 17.4400 + if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) { 17.4401 + insert[ original ]( this[0] ); 17.4402 + return this; 17.4403 + 17.4404 + } else { 17.4405 + for ( var i = 0, l = insert.length; i < l; i++ ) { 17.4406 + var elems = (i > 0 ? this.clone(true) : this).get(); 17.4407 + jQuery.fn[ original ].apply( jQuery(insert[i]), elems ); 17.4408 + ret = ret.concat( elems ); 17.4409 + } 17.4410 + 17.4411 + return this.pushStack( ret, name, insert.selector ); 17.4412 + } 17.4413 + }; 17.4414 +}); 17.4415 + 17.4416 +jQuery.extend({ 17.4417 + clean: function( elems, context, fragment, scripts ) { 17.4418 + context = context || document; 17.4419 + 17.4420 + // !context.createElement fails in IE with an error but returns typeof 'object' 17.4421 + if ( typeof context.createElement === "undefined" ) { 17.4422 + context = context.ownerDocument || context[0] && context[0].ownerDocument || document; 17.4423 + } 17.4424 + 17.4425 + var ret = []; 17.4426 + 17.4427 + for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { 17.4428 + if ( typeof elem === "number" ) { 17.4429 + elem += ""; 17.4430 + } 17.4431 + 17.4432 + if ( !elem ) { 17.4433 + continue; 17.4434 + } 17.4435 + 17.4436 + // Convert html string into DOM nodes 17.4437 + if ( typeof elem === "string" && !rhtml.test( elem ) ) { 17.4438 + elem = context.createTextNode( elem ); 17.4439 + 17.4440 + } else if ( typeof elem === "string" ) { 17.4441 + // Fix "XHTML"-style tags in all browsers 17.4442 + elem = elem.replace(rxhtmlTag, fcloseTag); 17.4443 + 17.4444 + // Trim whitespace, otherwise indexOf won't work as expected 17.4445 + var tag = (rtagName.exec( elem ) || ["", ""])[1].toLowerCase(), 17.4446 + wrap = wrapMap[ tag ] || wrapMap._default, 17.4447 + depth = wrap[0], 17.4448 + div = context.createElement("div"); 17.4449 + 17.4450 + // Go to html and back, then peel off extra wrappers 17.4451 + div.innerHTML = wrap[1] + elem + wrap[2]; 17.4452 + 17.4453 + // Move to the right depth 17.4454 + while ( depth-- ) { 17.4455 + div = div.lastChild; 17.4456 + } 17.4457 + 17.4458 + // Remove IE's autoinserted <tbody> from table fragments 17.4459 + if ( !jQuery.support.tbody ) { 17.4460 + 17.4461 + // String was a <table>, *may* have spurious <tbody> 17.4462 + var hasBody = rtbody.test(elem), 17.4463 + tbody = tag === "table" && !hasBody ? 17.4464 + div.firstChild && div.firstChild.childNodes : 17.4465 + 17.4466 + // String was a bare <thead> or <tfoot> 17.4467 + wrap[1] === "<table>" && !hasBody ? 17.4468 + div.childNodes : 17.4469 + []; 17.4470 + 17.4471 + for ( var j = tbody.length - 1; j >= 0 ; --j ) { 17.4472 + if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) { 17.4473 + tbody[ j ].parentNode.removeChild( tbody[ j ] ); 17.4474 + } 17.4475 + } 17.4476 + 17.4477 + } 17.4478 + 17.4479 + // IE completely kills leading whitespace when innerHTML is used 17.4480 + if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { 17.4481 + div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild ); 17.4482 + } 17.4483 + 17.4484 + elem = div.childNodes; 17.4485 + } 17.4486 + 17.4487 + if ( elem.nodeType ) { 17.4488 + ret.push( elem ); 17.4489 + } else { 17.4490 + ret = jQuery.merge( ret, elem ); 17.4491 + } 17.4492 + } 17.4493 + 17.4494 + if ( fragment ) { 17.4495 + for ( var i = 0; ret[i]; i++ ) { 17.4496 + if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) { 17.4497 + scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] ); 17.4498 + 17.4499 + } else { 17.4500 + if ( ret[i].nodeType === 1 ) { 17.4501 + ret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))) ); 17.4502 + } 17.4503 + fragment.appendChild( ret[i] ); 17.4504 + } 17.4505 + } 17.4506 + } 17.4507 + 17.4508 + return ret; 17.4509 + }, 17.4510 + 17.4511 + cleanData: function( elems ) { 17.4512 + var data, id, cache = jQuery.cache, 17.4513 + special = jQuery.event.special, 17.4514 + deleteExpando = jQuery.support.deleteExpando; 17.4515 + 17.4516 + for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { 17.4517 + id = elem[ jQuery.expando ]; 17.4518 + 17.4519 + if ( id ) { 17.4520 + data = cache[ id ]; 17.4521 + 17.4522 + if ( data.events ) { 17.4523 + for ( var type in data.events ) { 17.4524 + if ( special[ type ] ) { 17.4525 + jQuery.event.remove( elem, type ); 17.4526 + 17.4527 + } else { 17.4528 + removeEvent( elem, type, data.handle ); 17.4529 + } 17.4530 + } 17.4531 + } 17.4532 + 17.4533 + if ( deleteExpando ) { 17.4534 + delete elem[ jQuery.expando ]; 17.4535 + 17.4536 + } else if ( elem.removeAttribute ) { 17.4537 + elem.removeAttribute( jQuery.expando ); 17.4538 + } 17.4539 + 17.4540 + delete cache[ id ]; 17.4541 + } 17.4542 + } 17.4543 + } 17.4544 +}); 17.4545 +// exclude the following css properties to add px 17.4546 +var rexclude = /z-?index|font-?weight|opacity|zoom|line-?height/i, 17.4547 + ralpha = /alpha\([^)]*\)/, 17.4548 + ropacity = /opacity=([^)]*)/, 17.4549 + rfloat = /float/i, 17.4550 + rdashAlpha = /-([a-z])/ig, 17.4551 + rupper = /([A-Z])/g, 17.4552 + rnumpx = /^-?\d+(?:px)?$/i, 17.4553 + rnum = /^-?\d/, 17.4554 + 17.4555 + cssShow = { position: "absolute", visibility: "hidden", display:"block" }, 17.4556 + cssWidth = [ "Left", "Right" ], 17.4557 + cssHeight = [ "Top", "Bottom" ], 17.4558 + 17.4559 + // cache check for defaultView.getComputedStyle 17.4560 + getComputedStyle = document.defaultView && document.defaultView.getComputedStyle, 17.4561 + // normalize float css property 17.4562 + styleFloat = jQuery.support.cssFloat ? "cssFloat" : "styleFloat", 17.4563 + fcamelCase = function( all, letter ) { 17.4564 + return letter.toUpperCase(); 17.4565 + }; 17.4566 + 17.4567 +jQuery.fn.css = function( name, value ) { 17.4568 + return access( this, name, value, true, function( elem, name, value ) { 17.4569 + if ( value === undefined ) { 17.4570 + return jQuery.curCSS( elem, name ); 17.4571 + } 17.4572 + 17.4573 + if ( typeof value === "number" && !rexclude.test(name) ) { 17.4574 + value += "px"; 17.4575 + } 17.4576 + 17.4577 + jQuery.style( elem, name, value ); 17.4578 + }); 17.4579 +}; 17.4580 + 17.4581 +jQuery.extend({ 17.4582 + style: function( elem, name, value ) { 17.4583 + // don't set styles on text and comment nodes 17.4584 + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { 17.4585 + return undefined; 17.4586 + } 17.4587 + 17.4588 + // ignore negative width and height values #1599 17.4589 + if ( (name === "width" || name === "height") && parseFloat(value) < 0 ) { 17.4590 + value = undefined; 17.4591 + } 17.4592 + 17.4593 + var style = elem.style || elem, set = value !== undefined; 17.4594 + 17.4595 + // IE uses filters for opacity 17.4596 + if ( !jQuery.support.opacity && name === "opacity" ) { 17.4597 + if ( set ) { 17.4598 + // IE has trouble with opacity if it does not have layout 17.4599 + // Force it by setting the zoom level 17.4600 + style.zoom = 1; 17.4601 + 17.4602 + // Set the alpha filter to set the opacity 17.4603 + var opacity = parseInt( value, 10 ) + "" === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")"; 17.4604 + var filter = style.filter || jQuery.curCSS( elem, "filter" ) || ""; 17.4605 + style.filter = ralpha.test(filter) ? filter.replace(ralpha, opacity) : opacity; 17.4606 + } 17.4607 + 17.4608 + return style.filter && style.filter.indexOf("opacity=") >= 0 ? 17.4609 + (parseFloat( ropacity.exec(style.filter)[1] ) / 100) + "": 17.4610 + ""; 17.4611 + } 17.4612 + 17.4613 + // Make sure we're using the right name for getting the float value 17.4614 + if ( rfloat.test( name ) ) { 17.4615 + name = styleFloat; 17.4616 + } 17.4617 + 17.4618 + name = name.replace(rdashAlpha, fcamelCase); 17.4619 + 17.4620 + if ( set ) { 17.4621 + style[ name ] = value; 17.4622 + } 17.4623 + 17.4624 + return style[ name ]; 17.4625 + }, 17.4626 + 17.4627 + css: function( elem, name, force, extra ) { 17.4628 + if ( name === "width" || name === "height" ) { 17.4629 + var val, props = cssShow, which = name === "width" ? cssWidth : cssHeight; 17.4630 + 17.4631 + function getWH() { 17.4632 + val = name === "width" ? elem.offsetWidth : elem.offsetHeight; 17.4633 + 17.4634 + if ( extra === "border" ) { 17.4635 + return; 17.4636 + } 17.4637 + 17.4638 + jQuery.each( which, function() { 17.4639 + if ( !extra ) { 17.4640 + val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; 17.4641 + } 17.4642 + 17.4643 + if ( extra === "margin" ) { 17.4644 + val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0; 17.4645 + } else { 17.4646 + val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0; 17.4647 + } 17.4648 + }); 17.4649 + } 17.4650 + 17.4651 + if ( elem.offsetWidth !== 0 ) { 17.4652 + getWH(); 17.4653 + } else { 17.4654 + jQuery.swap( elem, props, getWH ); 17.4655 + } 17.4656 + 17.4657 + return Math.max(0, Math.round(val)); 17.4658 + } 17.4659 + 17.4660 + return jQuery.curCSS( elem, name, force ); 17.4661 + }, 17.4662 + 17.4663 + curCSS: function( elem, name, force ) { 17.4664 + var ret, style = elem.style, filter; 17.4665 + 17.4666 + // IE uses filters for opacity 17.4667 + if ( !jQuery.support.opacity && name === "opacity" && elem.currentStyle ) { 17.4668 + ret = ropacity.test(elem.currentStyle.filter || "") ? 17.4669 + (parseFloat(RegExp.$1) / 100) + "" : 17.4670 + ""; 17.4671 + 17.4672 + return ret === "" ? 17.4673 + "1" : 17.4674 + ret; 17.4675 + } 17.4676 + 17.4677 + // Make sure we're using the right name for getting the float value 17.4678 + if ( rfloat.test( name ) ) { 17.4679 + name = styleFloat; 17.4680 + } 17.4681 + 17.4682 + if ( !force && style && style[ name ] ) { 17.4683 + ret = style[ name ]; 17.4684 + 17.4685 + } else if ( getComputedStyle ) { 17.4686 + 17.4687 + // Only "float" is needed here 17.4688 + if ( rfloat.test( name ) ) { 17.4689 + name = "float"; 17.4690 + } 17.4691 + 17.4692 + name = name.replace( rupper, "-$1" ).toLowerCase(); 17.4693 + 17.4694 + var defaultView = elem.ownerDocument.defaultView; 17.4695 + 17.4696 + if ( !defaultView ) { 17.4697 + return null; 17.4698 + } 17.4699 + 17.4700 + var computedStyle = defaultView.getComputedStyle( elem, null ); 17.4701 + 17.4702 + if ( computedStyle ) { 17.4703 + ret = computedStyle.getPropertyValue( name ); 17.4704 + } 17.4705 + 17.4706 + // We should always get a number back from opacity 17.4707 + if ( name === "opacity" && ret === "" ) { 17.4708 + ret = "1"; 17.4709 + } 17.4710 + 17.4711 + } else if ( elem.currentStyle ) { 17.4712 + var camelCase = name.replace(rdashAlpha, fcamelCase); 17.4713 + 17.4714 + ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ]; 17.4715 + 17.4716 + // From the awesome hack by Dean Edwards 17.4717 + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 17.4718 + 17.4719 + // If we're not dealing with a regular pixel number 17.4720 + // but a number that has a weird ending, we need to convert it to pixels 17.4721 + if ( !rnumpx.test( ret ) && rnum.test( ret ) ) { 17.4722 + // Remember the original values 17.4723 + var left = style.left, rsLeft = elem.runtimeStyle.left; 17.4724 + 17.4725 + // Put in the new values to get a computed value out 17.4726 + elem.runtimeStyle.left = elem.currentStyle.left; 17.4727 + style.left = camelCase === "fontSize" ? "1em" : (ret || 0); 17.4728 + ret = style.pixelLeft + "px"; 17.4729 + 17.4730 + // Revert the changed values 17.4731 + style.left = left; 17.4732 + elem.runtimeStyle.left = rsLeft; 17.4733 + } 17.4734 + } 17.4735 + 17.4736 + return ret; 17.4737 + }, 17.4738 + 17.4739 + // A method for quickly swapping in/out CSS properties to get correct calculations 17.4740 + swap: function( elem, options, callback ) { 17.4741 + var old = {}; 17.4742 + 17.4743 + // Remember the old values, and insert the new ones 17.4744 + for ( var name in options ) { 17.4745 + old[ name ] = elem.style[ name ]; 17.4746 + elem.style[ name ] = options[ name ]; 17.4747 + } 17.4748 + 17.4749 + callback.call( elem ); 17.4750 + 17.4751 + // Revert the old values 17.4752 + for ( var name in options ) { 17.4753 + elem.style[ name ] = old[ name ]; 17.4754 + } 17.4755 + } 17.4756 +}); 17.4757 + 17.4758 +if ( jQuery.expr && jQuery.expr.filters ) { 17.4759 + jQuery.expr.filters.hidden = function( elem ) { 17.4760 + var width = elem.offsetWidth, height = elem.offsetHeight, 17.4761 + skip = elem.nodeName.toLowerCase() === "tr"; 17.4762 + 17.4763 + return width === 0 && height === 0 && !skip ? 17.4764 + true : 17.4765 + width > 0 && height > 0 && !skip ? 17.4766 + false : 17.4767 + jQuery.curCSS(elem, "display") === "none"; 17.4768 + }; 17.4769 + 17.4770 + jQuery.expr.filters.visible = function( elem ) { 17.4771 + return !jQuery.expr.filters.hidden( elem ); 17.4772 + }; 17.4773 +} 17.4774 +var jsc = now(), 17.4775 + rscript = /<script(.|\s)*?\/script>/gi, 17.4776 + rselectTextarea = /select|textarea/i, 17.4777 + rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, 17.4778 + jsre = /=\?(&|$)/, 17.4779 + rquery = /\?/, 17.4780 + rts = /(\?|&)_=.*?(&|$)/, 17.4781 + rurl = /^(\w+:)?\/\/([^\/?#]+)/, 17.4782 + r20 = /%20/g, 17.4783 + 17.4784 + // Keep a copy of the old load method 17.4785 + _load = jQuery.fn.load; 17.4786 + 17.4787 +jQuery.fn.extend({ 17.4788 + load: function( url, params, callback ) { 17.4789 + if ( typeof url !== "string" ) { 17.4790 + return _load.call( this, url ); 17.4791 + 17.4792 + // Don't do a request if no elements are being requested 17.4793 + } else if ( !this.length ) { 17.4794 + return this; 17.4795 + } 17.4796 + 17.4797 + var off = url.indexOf(" "); 17.4798 + if ( off >= 0 ) { 17.4799 + var selector = url.slice(off, url.length); 17.4800 + url = url.slice(0, off); 17.4801 + } 17.4802 + 17.4803 + // Default to a GET request 17.4804 + var type = "GET"; 17.4805 + 17.4806 + // If the second parameter was provided 17.4807 + if ( params ) { 17.4808 + // If it's a function 17.4809 + if ( jQuery.isFunction( params ) ) { 17.4810 + // We assume that it's the callback 17.4811 + callback = params; 17.4812 + params = null; 17.4813 + 17.4814 + // Otherwise, build a param string 17.4815 + } else if ( typeof params === "object" ) { 17.4816 + params = jQuery.param( params, jQuery.ajaxSettings.traditional ); 17.4817 + type = "POST"; 17.4818 + } 17.4819 + } 17.4820 + 17.4821 + var self = this; 17.4822 + 17.4823 + // Request the remote document 17.4824 + jQuery.ajax({ 17.4825 + url: url, 17.4826 + type: type, 17.4827 + dataType: "html", 17.4828 + data: params, 17.4829 + complete: function( res, status ) { 17.4830 + // If successful, inject the HTML into all the matched elements 17.4831 + if ( status === "success" || status === "notmodified" ) { 17.4832 + // See if a selector was specified 17.4833 + self.html( selector ? 17.4834 + // Create a dummy div to hold the results 17.4835 + jQuery("<div />") 17.4836 + // inject the contents of the document in, removing the scripts 17.4837 + // to avoid any 'Permission Denied' errors in IE 17.4838 + .append(res.responseText.replace(rscript, "")) 17.4839 + 17.4840 + // Locate the specified elements 17.4841 + .find(selector) : 17.4842 + 17.4843 + // If not, just inject the full result 17.4844 + res.responseText ); 17.4845 + } 17.4846 + 17.4847 + if ( callback ) { 17.4848 + self.each( callback, [res.responseText, status, res] ); 17.4849 + } 17.4850 + } 17.4851 + }); 17.4852 + 17.4853 + return this; 17.4854 + }, 17.4855 + 17.4856 + serialize: function() { 17.4857 + return jQuery.param(this.serializeArray()); 17.4858 + }, 17.4859 + serializeArray: function() { 17.4860 + return this.map(function() { 17.4861 + return this.elements ? jQuery.makeArray(this.elements) : this; 17.4862 + }) 17.4863 + .filter(function() { 17.4864 + return this.name && !this.disabled && 17.4865 + (this.checked || rselectTextarea.test(this.nodeName) || 17.4866 + rinput.test(this.type)); 17.4867 + }) 17.4868 + .map(function( i, elem ) { 17.4869 + var val = jQuery(this).val(); 17.4870 + 17.4871 + return val == null ? 17.4872 + null : 17.4873 + jQuery.isArray(val) ? 17.4874 + jQuery.map( val, function( val, i ) { 17.4875 + return { name: elem.name, value: val }; 17.4876 + }) : 17.4877 + { name: elem.name, value: val }; 17.4878 + }).get(); 17.4879 + } 17.4880 +}); 17.4881 + 17.4882 +// Attach a bunch of functions for handling common AJAX events 17.4883 +jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function( i, o ) { 17.4884 + jQuery.fn[o] = function( f ) { 17.4885 + return this.bind(o, f); 17.4886 + }; 17.4887 +}); 17.4888 + 17.4889 +jQuery.extend({ 17.4890 + 17.4891 + get: function( url, data, callback, type ) { 17.4892 + // shift arguments if data argument was omited 17.4893 + if ( jQuery.isFunction( data ) ) { 17.4894 + type = type || callback; 17.4895 + callback = data; 17.4896 + data = null; 17.4897 + } 17.4898 + 17.4899 + return jQuery.ajax({ 17.4900 + type: "GET", 17.4901 + url: url, 17.4902 + data: data, 17.4903 + success: callback, 17.4904 + dataType: type 17.4905 + }); 17.4906 + }, 17.4907 + 17.4908 + getScript: function( url, callback ) { 17.4909 + return jQuery.get(url, null, callback, "script"); 17.4910 + }, 17.4911 + 17.4912 + getJSON: function( url, data, callback ) { 17.4913 + return jQuery.get(url, data, callback, "json"); 17.4914 + }, 17.4915 + 17.4916 + post: function( url, data, callback, type ) { 17.4917 + // shift arguments if data argument was omited 17.4918 + if ( jQuery.isFunction( data ) ) { 17.4919 + type = type || callback; 17.4920 + callback = data; 17.4921 + data = {}; 17.4922 + } 17.4923 + 17.4924 + return jQuery.ajax({ 17.4925 + type: "POST", 17.4926 + url: url, 17.4927 + data: data, 17.4928 + success: callback, 17.4929 + dataType: type 17.4930 + }); 17.4931 + }, 17.4932 + 17.4933 + ajaxSetup: function( settings ) { 17.4934 + jQuery.extend( jQuery.ajaxSettings, settings ); 17.4935 + }, 17.4936 + 17.4937 + ajaxSettings: { 17.4938 + url: location.href, 17.4939 + global: true, 17.4940 + type: "GET", 17.4941 + contentType: "application/x-www-form-urlencoded", 17.4942 + processData: true, 17.4943 + async: true, 17.4944 + /* 17.4945 + timeout: 0, 17.4946 + data: null, 17.4947 + username: null, 17.4948 + password: null, 17.4949 + traditional: false, 17.4950 + */ 17.4951 + // Create the request object; Microsoft failed to properly 17.4952 + // implement the XMLHttpRequest in IE7 (can't request local files), 17.4953 + // so we use the ActiveXObject when it is available 17.4954 + // This function can be overriden by calling jQuery.ajaxSetup 17.4955 + xhr: window.XMLHttpRequest && (window.location.protocol !== "file:" || !window.ActiveXObject) ? 17.4956 + function() { 17.4957 + return new window.XMLHttpRequest(); 17.4958 + } : 17.4959 + function() { 17.4960 + try { 17.4961 + return new window.ActiveXObject("Microsoft.XMLHTTP"); 17.4962 + } catch(e) {} 17.4963 + }, 17.4964 + accepts: { 17.4965 + xml: "application/xml, text/xml", 17.4966 + html: "text/html", 17.4967 + script: "text/javascript, application/javascript", 17.4968 + json: "application/json, text/javascript", 17.4969 + text: "text/plain", 17.4970 + _default: "*/*" 17.4971 + } 17.4972 + }, 17.4973 + 17.4974 + // Last-Modified header cache for next request 17.4975 + lastModified: {}, 17.4976 + etag: {}, 17.4977 + 17.4978 + ajax: function( origSettings ) { 17.4979 + var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings); 17.4980 + 17.4981 + var jsonp, status, data, 17.4982 + callbackContext = origSettings && origSettings.context || s, 17.4983 + type = s.type.toUpperCase(); 17.4984 + 17.4985 + // convert data if not already a string 17.4986 + if ( s.data && s.processData && typeof s.data !== "string" ) { 17.4987 + s.data = jQuery.param( s.data, s.traditional ); 17.4988 + } 17.4989 + 17.4990 + // Handle JSONP Parameter Callbacks 17.4991 + if ( s.dataType === "jsonp" ) { 17.4992 + if ( type === "GET" ) { 17.4993 + if ( !jsre.test( s.url ) ) { 17.4994 + s.url += (rquery.test( s.url ) ? "&" : "?") + (s.jsonp || "callback") + "=?"; 17.4995 + } 17.4996 + } else if ( !s.data || !jsre.test(s.data) ) { 17.4997 + s.data = (s.data ? s.data + "&" : "") + (s.jsonp || "callback") + "=?"; 17.4998 + } 17.4999 + s.dataType = "json"; 17.5000 + } 17.5001 + 17.5002 + // Build temporary JSONP function 17.5003 + if ( s.dataType === "json" && (s.data && jsre.test(s.data) || jsre.test(s.url)) ) { 17.5004 + jsonp = s.jsonpCallback || ("jsonp" + jsc++); 17.5005 + 17.5006 + // Replace the =? sequence both in the query string and the data 17.5007 + if ( s.data ) { 17.5008 + s.data = (s.data + "").replace(jsre, "=" + jsonp + "$1"); 17.5009 + } 17.5010 + 17.5011 + s.url = s.url.replace(jsre, "=" + jsonp + "$1"); 17.5012 + 17.5013 + // We need to make sure 17.5014 + // that a JSONP style response is executed properly 17.5015 + s.dataType = "script"; 17.5016 + 17.5017 + // Handle JSONP-style loading 17.5018 + window[ jsonp ] = window[ jsonp ] || function( tmp ) { 17.5019 + data = tmp; 17.5020 + success(); 17.5021 + complete(); 17.5022 + // Garbage collect 17.5023 + window[ jsonp ] = undefined; 17.5024 + 17.5025 + try { 17.5026 + delete window[ jsonp ]; 17.5027 + } catch(e) {} 17.5028 + 17.5029 + if ( head ) { 17.5030 + head.removeChild( script ); 17.5031 + } 17.5032 + }; 17.5033 + } 17.5034 + 17.5035 + if ( s.dataType === "script" && s.cache === null ) { 17.5036 + s.cache = false; 17.5037 + } 17.5038 + 17.5039 + if ( s.cache === false && type === "GET" ) { 17.5040 + var ts = now(); 17.5041 + 17.5042 + // try replacing _= if it is there 17.5043 + var ret = s.url.replace(rts, "$1_=" + ts + "$2"); 17.5044 + 17.5045 + // if nothing was replaced, add timestamp to the end 17.5046 + s.url = ret + ((ret === s.url) ? (rquery.test(s.url) ? "&" : "?") + "_=" + ts : ""); 17.5047 + } 17.5048 + 17.5049 + // If data is available, append data to url for get requests 17.5050 + if ( s.data && type === "GET" ) { 17.5051 + s.url += (rquery.test(s.url) ? "&" : "?") + s.data; 17.5052 + } 17.5053 + 17.5054 + // Watch for a new set of requests 17.5055 + if ( s.global && ! jQuery.active++ ) { 17.5056 + jQuery.event.trigger( "ajaxStart" ); 17.5057 + } 17.5058 + 17.5059 + // Matches an absolute URL, and saves the domain 17.5060 + var parts = rurl.exec( s.url ), 17.5061 + remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host); 17.5062 + 17.5063 + // If we're requesting a remote document 17.5064 + // and trying to load JSON or Script with a GET 17.5065 + if ( s.dataType === "script" && type === "GET" && remote ) { 17.5066 + var head = document.getElementsByTagName("head")[0] || document.documentElement; 17.5067 + var script = document.createElement("script"); 17.5068 + script.src = s.url; 17.5069 + if ( s.scriptCharset ) { 17.5070 + script.charset = s.scriptCharset; 17.5071 + } 17.5072 + 17.5073 + // Handle Script loading 17.5074 + if ( !jsonp ) { 17.5075 + var done = false; 17.5076 + 17.5077 + // Attach handlers for all browsers 17.5078 + script.onload = script.onreadystatechange = function() { 17.5079 + if ( !done && (!this.readyState || 17.5080 + this.readyState === "loaded" || this.readyState === "complete") ) { 17.5081 + done = true; 17.5082 + success(); 17.5083 + complete(); 17.5084 + 17.5085 + // Handle memory leak in IE 17.5086 + script.onload = script.onreadystatechange = null; 17.5087 + if ( head && script.parentNode ) { 17.5088 + head.removeChild( script ); 17.5089 + } 17.5090 + } 17.5091 + }; 17.5092 + } 17.5093 + 17.5094 + // Use insertBefore instead of appendChild to circumvent an IE6 bug. 17.5095 + // This arises when a base node is used (#2709 and #4378). 17.5096 + head.insertBefore( script, head.firstChild ); 17.5097 + 17.5098 + // We handle everything using the script element injection 17.5099 + return undefined; 17.5100 + } 17.5101 + 17.5102 + var requestDone = false; 17.5103 + 17.5104 + // Create the request object 17.5105 + var xhr = s.xhr(); 17.5106 + 17.5107 + if ( !xhr ) { 17.5108 + return; 17.5109 + } 17.5110 + 17.5111 + // Open the socket 17.5112 + // Passing null username, generates a login popup on Opera (#2865) 17.5113 + if ( s.username ) { 17.5114 + xhr.open(type, s.url, s.async, s.username, s.password); 17.5115 + } else { 17.5116 + xhr.open(type, s.url, s.async); 17.5117 + } 17.5118 + 17.5119 + // Need an extra try/catch for cross domain requests in Firefox 3 17.5120 + try { 17.5121 + // Set the correct header, if data is being sent 17.5122 + if ( s.data || origSettings && origSettings.contentType ) { 17.5123 + xhr.setRequestHeader("Content-Type", s.contentType); 17.5124 + } 17.5125 + 17.5126 + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 17.5127 + if ( s.ifModified ) { 17.5128 + if ( jQuery.lastModified[s.url] ) { 17.5129 + xhr.setRequestHeader("If-Modified-Since", jQuery.lastModified[s.url]); 17.5130 + } 17.5131 + 17.5132 + if ( jQuery.etag[s.url] ) { 17.5133 + xhr.setRequestHeader("If-None-Match", jQuery.etag[s.url]); 17.5134 + } 17.5135 + } 17.5136 + 17.5137 + // Set header so the called script knows that it's an XMLHttpRequest 17.5138 + // Only send the header if it's not a remote XHR 17.5139 + if ( !remote ) { 17.5140 + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); 17.5141 + } 17.5142 + 17.5143 + // Set the Accepts header for the server, depending on the dataType 17.5144 + xhr.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ? 17.5145 + s.accepts[ s.dataType ] + ", */*" : 17.5146 + s.accepts._default ); 17.5147 + } catch(e) {} 17.5148 + 17.5149 + // Allow custom headers/mimetypes and early abort 17.5150 + if ( s.beforeSend && s.beforeSend.call(callbackContext, xhr, s) === false ) { 17.5151 + // Handle the global AJAX counter 17.5152 + if ( s.global && ! --jQuery.active ) { 17.5153 + jQuery.event.trigger( "ajaxStop" ); 17.5154 + } 17.5155 + 17.5156 + // close opended socket 17.5157 + xhr.abort(); 17.5158 + return false; 17.5159 + } 17.5160 + 17.5161 + if ( s.global ) { 17.5162 + trigger("ajaxSend", [xhr, s]); 17.5163 + } 17.5164 + 17.5165 + // Wait for a response to come back 17.5166 + var onreadystatechange = xhr.onreadystatechange = function( isTimeout ) { 17.5167 + // The request was aborted 17.5168 + if ( !xhr || xhr.readyState === 0 || isTimeout === "abort" ) { 17.5169 + // Opera doesn't call onreadystatechange before this point 17.5170 + // so we simulate the call 17.5171 + if ( !requestDone ) { 17.5172 + complete(); 17.5173 + } 17.5174 + 17.5175 + requestDone = true; 17.5176 + if ( xhr ) { 17.5177 + xhr.onreadystatechange = jQuery.noop; 17.5178 + } 17.5179 + 17.5180 + // The transfer is complete and the data is available, or the request timed out 17.5181 + } else if ( !requestDone && xhr && (xhr.readyState === 4 || isTimeout === "timeout") ) { 17.5182 + requestDone = true; 17.5183 + xhr.onreadystatechange = jQuery.noop; 17.5184 + 17.5185 + status = isTimeout === "timeout" ? 17.5186 + "timeout" : 17.5187 + !jQuery.httpSuccess( xhr ) ? 17.5188 + "error" : 17.5189 + s.ifModified && jQuery.httpNotModified( xhr, s.url ) ? 17.5190 + "notmodified" : 17.5191 + "success"; 17.5192 + 17.5193 + var errMsg; 17.5194 + 17.5195 + if ( status === "success" ) { 17.5196 + // Watch for, and catch, XML document parse errors 17.5197 + try { 17.5198 + // process the data (runs the xml through httpData regardless of callback) 17.5199 + data = jQuery.httpData( xhr, s.dataType, s ); 17.5200 + } catch(err) { 17.5201 + status = "parsererror"; 17.5202 + errMsg = err; 17.5203 + } 17.5204 + } 17.5205 + 17.5206 + // Make sure that the request was successful or notmodified 17.5207 + if ( status === "success" || status === "notmodified" ) { 17.5208 + // JSONP handles its own success callback 17.5209 + if ( !jsonp ) { 17.5210 + success(); 17.5211 + } 17.5212 + } else { 17.5213 + jQuery.handleError(s, xhr, status, errMsg); 17.5214 + } 17.5215 + 17.5216 + // Fire the complete handlers 17.5217 + complete(); 17.5218 + 17.5219 + if ( isTimeout === "timeout" ) { 17.5220 + xhr.abort(); 17.5221 + } 17.5222 + 17.5223 + // Stop memory leaks 17.5224 + if ( s.async ) { 17.5225 + xhr = null; 17.5226 + } 17.5227 + } 17.5228 + }; 17.5229 + 17.5230 + // Override the abort handler, if we can (IE doesn't allow it, but that's OK) 17.5231 + // Opera doesn't fire onreadystatechange at all on abort 17.5232 + try { 17.5233 + var oldAbort = xhr.abort; 17.5234 + xhr.abort = function() { 17.5235 + if ( xhr ) { 17.5236 + oldAbort.call( xhr ); 17.5237 + } 17.5238 + 17.5239 + onreadystatechange( "abort" ); 17.5240 + }; 17.5241 + } catch(e) { } 17.5242 + 17.5243 + // Timeout checker 17.5244 + if ( s.async && s.timeout > 0 ) { 17.5245 + setTimeout(function() { 17.5246 + // Check to see if the request is still happening 17.5247 + if ( xhr && !requestDone ) { 17.5248 + onreadystatechange( "timeout" ); 17.5249 + } 17.5250 + }, s.timeout); 17.5251 + } 17.5252 + 17.5253 + // Send the data 17.5254 + try { 17.5255 + xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null ); 17.5256 + } catch(e) { 17.5257 + jQuery.handleError(s, xhr, null, e); 17.5258 + // Fire the complete handlers 17.5259 + complete(); 17.5260 + } 17.5261 + 17.5262 + // firefox 1.5 doesn't fire statechange for sync requests 17.5263 + if ( !s.async ) { 17.5264 + onreadystatechange(); 17.5265 + } 17.5266 + 17.5267 + function success() { 17.5268 + // If a local callback was specified, fire it and pass it the data 17.5269 + if ( s.success ) { 17.5270 + s.success.call( callbackContext, data, status, xhr ); 17.5271 + } 17.5272 + 17.5273 + // Fire the global callback 17.5274 + if ( s.global ) { 17.5275 + trigger( "ajaxSuccess", [xhr, s] ); 17.5276 + } 17.5277 + } 17.5278 + 17.5279 + function complete() { 17.5280 + // Process result 17.5281 + if ( s.complete ) { 17.5282 + s.complete.call( callbackContext, xhr, status); 17.5283 + } 17.5284 + 17.5285 + // The request was completed 17.5286 + if ( s.global ) { 17.5287 + trigger( "ajaxComplete", [xhr, s] ); 17.5288 + } 17.5289 + 17.5290 + // Handle the global AJAX counter 17.5291 + if ( s.global && ! --jQuery.active ) { 17.5292 + jQuery.event.trigger( "ajaxStop" ); 17.5293 + } 17.5294 + } 17.5295 + 17.5296 + function trigger(type, args) { 17.5297 + (s.context ? jQuery(s.context) : jQuery.event).trigger(type, args); 17.5298 + } 17.5299 + 17.5300 + // return XMLHttpRequest to allow aborting the request etc. 17.5301 + return xhr; 17.5302 + }, 17.5303 + 17.5304 + handleError: function( s, xhr, status, e ) { 17.5305 + // If a local callback was specified, fire it 17.5306 + if ( s.error ) { 17.5307 + s.error.call( s.context || s, xhr, status, e ); 17.5308 + } 17.5309 + 17.5310 + // Fire the global callback 17.5311 + if ( s.global ) { 17.5312 + (s.context ? jQuery(s.context) : jQuery.event).trigger( "ajaxError", [xhr, s, e] ); 17.5313 + } 17.5314 + }, 17.5315 + 17.5316 + // Counter for holding the number of active queries 17.5317 + active: 0, 17.5318 + 17.5319 + // Determines if an XMLHttpRequest was successful or not 17.5320 + httpSuccess: function( xhr ) { 17.5321 + try { 17.5322 + // IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450 17.5323 + return !xhr.status && location.protocol === "file:" || 17.5324 + // Opera returns 0 when status is 304 17.5325 + ( xhr.status >= 200 && xhr.status < 300 ) || 17.5326 + xhr.status === 304 || xhr.status === 1223 || xhr.status === 0; 17.5327 + } catch(e) {} 17.5328 + 17.5329 + return false; 17.5330 + }, 17.5331 + 17.5332 + // Determines if an XMLHttpRequest returns NotModified 17.5333 + httpNotModified: function( xhr, url ) { 17.5334 + var lastModified = xhr.getResponseHeader("Last-Modified"), 17.5335 + etag = xhr.getResponseHeader("Etag"); 17.5336 + 17.5337 + if ( lastModified ) { 17.5338 + jQuery.lastModified[url] = lastModified; 17.5339 + } 17.5340 + 17.5341 + if ( etag ) { 17.5342 + jQuery.etag[url] = etag; 17.5343 + } 17.5344 + 17.5345 + // Opera returns 0 when status is 304 17.5346 + return xhr.status === 304 || xhr.status === 0; 17.5347 + }, 17.5348 + 17.5349 + httpData: function( xhr, type, s ) { 17.5350 + var ct = xhr.getResponseHeader("content-type") || "", 17.5351 + xml = type === "xml" || !type && ct.indexOf("xml") >= 0, 17.5352 + data = xml ? xhr.responseXML : xhr.responseText; 17.5353 + 17.5354 + if ( xml && data.documentElement.nodeName === "parsererror" ) { 17.5355 + jQuery.error( "parsererror" ); 17.5356 + } 17.5357 + 17.5358 + // Allow a pre-filtering function to sanitize the response 17.5359 + // s is checked to keep backwards compatibility 17.5360 + if ( s && s.dataFilter ) { 17.5361 + data = s.dataFilter( data, type ); 17.5362 + } 17.5363 + 17.5364 + // The filter can actually parse the response 17.5365 + if ( typeof data === "string" ) { 17.5366 + // Get the JavaScript object, if JSON is used. 17.5367 + if ( type === "json" || !type && ct.indexOf("json") >= 0 ) { 17.5368 + data = jQuery.parseJSON( data ); 17.5369 + 17.5370 + // If the type is "script", eval it in global context 17.5371 + } else if ( type === "script" || !type && ct.indexOf("javascript") >= 0 ) { 17.5372 + jQuery.globalEval( data ); 17.5373 + } 17.5374 + } 17.5375 + 17.5376 + return data; 17.5377 + }, 17.5378 + 17.5379 + // Serialize an array of form elements or a set of 17.5380 + // key/values into a query string 17.5381 + param: function( a, traditional ) { 17.5382 + var s = []; 17.5383 + 17.5384 + // Set traditional to true for jQuery <= 1.3.2 behavior. 17.5385 + if ( traditional === undefined ) { 17.5386 + traditional = jQuery.ajaxSettings.traditional; 17.5387 + } 17.5388 + 17.5389 + // If an array was passed in, assume that it is an array of form elements. 17.5390 + if ( jQuery.isArray(a) || a.jquery ) { 17.5391 + // Serialize the form elements 17.5392 + jQuery.each( a, function() { 17.5393 + add( this.name, this.value ); 17.5394 + }); 17.5395 + 17.5396 + } else { 17.5397 + // If traditional, encode the "old" way (the way 1.3.2 or older 17.5398 + // did it), otherwise encode params recursively. 17.5399 + for ( var prefix in a ) { 17.5400 + buildParams( prefix, a[prefix] ); 17.5401 + } 17.5402 + } 17.5403 + 17.5404 + // Return the resulting serialization 17.5405 + return s.join("&").replace(r20, "+"); 17.5406 + 17.5407 + function buildParams( prefix, obj ) { 17.5408 + if ( jQuery.isArray(obj) ) { 17.5409 + // Serialize array item. 17.5410 + jQuery.each( obj, function( i, v ) { 17.5411 + if ( traditional || /\[\]$/.test( prefix ) ) { 17.5412 + // Treat each array item as a scalar. 17.5413 + add( prefix, v ); 17.5414 + } else { 17.5415 + // If array item is non-scalar (array or object), encode its 17.5416 + // numeric index to resolve deserialization ambiguity issues. 17.5417 + // Note that rack (as of 1.0.0) can't currently deserialize 17.5418 + // nested arrays properly, and attempting to do so may cause 17.5419 + // a server error. Possible fixes are to modify rack's 17.5420 + // deserialization algorithm or to provide an option or flag 17.5421 + // to force array serialization to be shallow. 17.5422 + buildParams( prefix + "[" + ( typeof v === "object" || jQuery.isArray(v) ? i : "" ) + "]", v ); 17.5423 + } 17.5424 + }); 17.5425 + 17.5426 + } else if ( !traditional && obj != null && typeof obj === "object" ) { 17.5427 + // Serialize object item. 17.5428 + jQuery.each( obj, function( k, v ) { 17.5429 + buildParams( prefix + "[" + k + "]", v ); 17.5430 + }); 17.5431 + 17.5432 + } else { 17.5433 + // Serialize scalar item. 17.5434 + add( prefix, obj ); 17.5435 + } 17.5436 + } 17.5437 + 17.5438 + function add( key, value ) { 17.5439 + // If value is a function, invoke it and return its value 17.5440 + value = jQuery.isFunction(value) ? value() : value; 17.5441 + s[ s.length ] = encodeURIComponent(key) + "=" + encodeURIComponent(value); 17.5442 + } 17.5443 + } 17.5444 +}); 17.5445 +var elemdisplay = {}, 17.5446 + rfxtypes = /toggle|show|hide/, 17.5447 + rfxnum = /^([+-]=)?([\d+-.]+)(.*)$/, 17.5448 + timerId, 17.5449 + fxAttrs = [ 17.5450 + // height animations 17.5451 + [ "height", "marginTop", "marginBottom", "paddingTop", "paddingBottom" ], 17.5452 + // width animations 17.5453 + [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ], 17.5454 + // opacity animations 17.5455 + [ "opacity" ] 17.5456 + ]; 17.5457 + 17.5458 +jQuery.fn.extend({ 17.5459 + show: function( speed, callback ) { 17.5460 + if ( speed || speed === 0) { 17.5461 + return this.animate( genFx("show", 3), speed, callback); 17.5462 + 17.5463 + } else { 17.5464 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.5465 + var old = jQuery.data(this[i], "olddisplay"); 17.5466 + 17.5467 + this[i].style.display = old || ""; 17.5468 + 17.5469 + if ( jQuery.css(this[i], "display") === "none" ) { 17.5470 + var nodeName = this[i].nodeName, display; 17.5471 + 17.5472 + if ( elemdisplay[ nodeName ] ) { 17.5473 + display = elemdisplay[ nodeName ]; 17.5474 + 17.5475 + } else { 17.5476 + var elem = jQuery("<" + nodeName + " />").appendTo("body"); 17.5477 + 17.5478 + display = elem.css("display"); 17.5479 + 17.5480 + if ( display === "none" ) { 17.5481 + display = "block"; 17.5482 + } 17.5483 + 17.5484 + elem.remove(); 17.5485 + 17.5486 + elemdisplay[ nodeName ] = display; 17.5487 + } 17.5488 + 17.5489 + jQuery.data(this[i], "olddisplay", display); 17.5490 + } 17.5491 + } 17.5492 + 17.5493 + // Set the display of the elements in a second loop 17.5494 + // to avoid the constant reflow 17.5495 + for ( var j = 0, k = this.length; j < k; j++ ) { 17.5496 + this[j].style.display = jQuery.data(this[j], "olddisplay") || ""; 17.5497 + } 17.5498 + 17.5499 + return this; 17.5500 + } 17.5501 + }, 17.5502 + 17.5503 + hide: function( speed, callback ) { 17.5504 + if ( speed || speed === 0 ) { 17.5505 + return this.animate( genFx("hide", 3), speed, callback); 17.5506 + 17.5507 + } else { 17.5508 + for ( var i = 0, l = this.length; i < l; i++ ) { 17.5509 + var old = jQuery.data(this[i], "olddisplay"); 17.5510 + if ( !old && old !== "none" ) { 17.5511 + jQuery.data(this[i], "olddisplay", jQuery.css(this[i], "display")); 17.5512 + } 17.5513 + } 17.5514 + 17.5515 + // Set the display of the elements in a second loop 17.5516 + // to avoid the constant reflow 17.5517 + for ( var j = 0, k = this.length; j < k; j++ ) { 17.5518 + this[j].style.display = "none"; 17.5519 + } 17.5520 + 17.5521 + return this; 17.5522 + } 17.5523 + }, 17.5524 + 17.5525 + // Save the old toggle function 17.5526 + _toggle: jQuery.fn.toggle, 17.5527 + 17.5528 + toggle: function( fn, fn2 ) { 17.5529 + var bool = typeof fn === "boolean"; 17.5530 + 17.5531 + if ( jQuery.isFunction(fn) && jQuery.isFunction(fn2) ) { 17.5532 + this._toggle.apply( this, arguments ); 17.5533 + 17.5534 + } else if ( fn == null || bool ) { 17.5535 + this.each(function() { 17.5536 + var state = bool ? fn : jQuery(this).is(":hidden"); 17.5537 + jQuery(this)[ state ? "show" : "hide" ](); 17.5538 + }); 17.5539 + 17.5540 + } else { 17.5541 + this.animate(genFx("toggle", 3), fn, fn2); 17.5542 + } 17.5543 + 17.5544 + return this; 17.5545 + }, 17.5546 + 17.5547 + fadeTo: function( speed, to, callback ) { 17.5548 + return this.filter(":hidden").css("opacity", 0).show().end() 17.5549 + .animate({opacity: to}, speed, callback); 17.5550 + }, 17.5551 + 17.5552 + animate: function( prop, speed, easing, callback ) { 17.5553 + var optall = jQuery.speed(speed, easing, callback); 17.5554 + 17.5555 + if ( jQuery.isEmptyObject( prop ) ) { 17.5556 + return this.each( optall.complete ); 17.5557 + } 17.5558 + 17.5559 + return this[ optall.queue === false ? "each" : "queue" ](function() { 17.5560 + var opt = jQuery.extend({}, optall), p, 17.5561 + hidden = this.nodeType === 1 && jQuery(this).is(":hidden"), 17.5562 + self = this; 17.5563 + 17.5564 + for ( p in prop ) { 17.5565 + var name = p.replace(rdashAlpha, fcamelCase); 17.5566 + 17.5567 + if ( p !== name ) { 17.5568 + prop[ name ] = prop[ p ]; 17.5569 + delete prop[ p ]; 17.5570 + p = name; 17.5571 + } 17.5572 + 17.5573 + if ( prop[p] === "hide" && hidden || prop[p] === "show" && !hidden ) { 17.5574 + return opt.complete.call(this); 17.5575 + } 17.5576 + 17.5577 + if ( ( p === "height" || p === "width" ) && this.style ) { 17.5578 + // Store display property 17.5579 + opt.display = jQuery.css(this, "display"); 17.5580 + 17.5581 + // Make sure that nothing sneaks out 17.5582 + opt.overflow = this.style.overflow; 17.5583 + } 17.5584 + 17.5585 + if ( jQuery.isArray( prop[p] ) ) { 17.5586 + // Create (if needed) and add to specialEasing 17.5587 + (opt.specialEasing = opt.specialEasing || {})[p] = prop[p][1]; 17.5588 + prop[p] = prop[p][0]; 17.5589 + } 17.5590 + } 17.5591 + 17.5592 + if ( opt.overflow != null ) { 17.5593 + this.style.overflow = "hidden"; 17.5594 + } 17.5595 + 17.5596 + opt.curAnim = jQuery.extend({}, prop); 17.5597 + 17.5598 + jQuery.each( prop, function( name, val ) { 17.5599 + var e = new jQuery.fx( self, opt, name ); 17.5600 + 17.5601 + if ( rfxtypes.test(val) ) { 17.5602 + e[ val === "toggle" ? hidden ? "show" : "hide" : val ]( prop ); 17.5603 + 17.5604 + } else { 17.5605 + var parts = rfxnum.exec(val), 17.5606 + start = e.cur(true) || 0; 17.5607 + 17.5608 + if ( parts ) { 17.5609 + var end = parseFloat( parts[2] ), 17.5610 + unit = parts[3] || "px"; 17.5611 + 17.5612 + // We need to compute starting value 17.5613 + if ( unit !== "px" ) { 17.5614 + self.style[ name ] = (end || 1) + unit; 17.5615 + start = ((end || 1) / e.cur(true)) * start; 17.5616 + self.style[ name ] = start + unit; 17.5617 + } 17.5618 + 17.5619 + // If a +=/-= token was provided, we're doing a relative animation 17.5620 + if ( parts[1] ) { 17.5621 + end = ((parts[1] === "-=" ? -1 : 1) * end) + start; 17.5622 + } 17.5623 + 17.5624 + e.custom( start, end, unit ); 17.5625 + 17.5626 + } else { 17.5627 + e.custom( start, val, "" ); 17.5628 + } 17.5629 + } 17.5630 + }); 17.5631 + 17.5632 + // For JS strict compliance 17.5633 + return true; 17.5634 + }); 17.5635 + }, 17.5636 + 17.5637 + stop: function( clearQueue, gotoEnd ) { 17.5638 + var timers = jQuery.timers; 17.5639 + 17.5640 + if ( clearQueue ) { 17.5641 + this.queue([]); 17.5642 + } 17.5643 + 17.5644 + this.each(function() { 17.5645 + // go in reverse order so anything added to the queue during the loop is ignored 17.5646 + for ( var i = timers.length - 1; i >= 0; i-- ) { 17.5647 + if ( timers[i].elem === this ) { 17.5648 + if (gotoEnd) { 17.5649 + // force the next step to be the last 17.5650 + timers[i](true); 17.5651 + } 17.5652 + 17.5653 + timers.splice(i, 1); 17.5654 + } 17.5655 + } 17.5656 + }); 17.5657 + 17.5658 + // start the next in the queue if the last step wasn't forced 17.5659 + if ( !gotoEnd ) { 17.5660 + this.dequeue(); 17.5661 + } 17.5662 + 17.5663 + return this; 17.5664 + } 17.5665 + 17.5666 +}); 17.5667 + 17.5668 +// Generate shortcuts for custom animations 17.5669 +jQuery.each({ 17.5670 + slideDown: genFx("show", 1), 17.5671 + slideUp: genFx("hide", 1), 17.5672 + slideToggle: genFx("toggle", 1), 17.5673 + fadeIn: { opacity: "show" }, 17.5674 + fadeOut: { opacity: "hide" } 17.5675 +}, function( name, props ) { 17.5676 + jQuery.fn[ name ] = function( speed, callback ) { 17.5677 + return this.animate( props, speed, callback ); 17.5678 + }; 17.5679 +}); 17.5680 + 17.5681 +jQuery.extend({ 17.5682 + speed: function( speed, easing, fn ) { 17.5683 + var opt = speed && typeof speed === "object" ? speed : { 17.5684 + complete: fn || !fn && easing || 17.5685 + jQuery.isFunction( speed ) && speed, 17.5686 + duration: speed, 17.5687 + easing: fn && easing || easing && !jQuery.isFunction(easing) && easing 17.5688 + }; 17.5689 + 17.5690 + opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : 17.5691 + jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default; 17.5692 + 17.5693 + // Queueing 17.5694 + opt.old = opt.complete; 17.5695 + opt.complete = function() { 17.5696 + if ( opt.queue !== false ) { 17.5697 + jQuery(this).dequeue(); 17.5698 + } 17.5699 + if ( jQuery.isFunction( opt.old ) ) { 17.5700 + opt.old.call( this ); 17.5701 + } 17.5702 + }; 17.5703 + 17.5704 + return opt; 17.5705 + }, 17.5706 + 17.5707 + easing: { 17.5708 + linear: function( p, n, firstNum, diff ) { 17.5709 + return firstNum + diff * p; 17.5710 + }, 17.5711 + swing: function( p, n, firstNum, diff ) { 17.5712 + return ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum; 17.5713 + } 17.5714 + }, 17.5715 + 17.5716 + timers: [], 17.5717 + 17.5718 + fx: function( elem, options, prop ) { 17.5719 + this.options = options; 17.5720 + this.elem = elem; 17.5721 + this.prop = prop; 17.5722 + 17.5723 + if ( !options.orig ) { 17.5724 + options.orig = {}; 17.5725 + } 17.5726 + } 17.5727 + 17.5728 +}); 17.5729 + 17.5730 +jQuery.fx.prototype = { 17.5731 + // Simple function for setting a style value 17.5732 + update: function() { 17.5733 + if ( this.options.step ) { 17.5734 + this.options.step.call( this.elem, this.now, this ); 17.5735 + } 17.5736 + 17.5737 + (jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this ); 17.5738 + 17.5739 + // Set display property to block for height/width animations 17.5740 + if ( ( this.prop === "height" || this.prop === "width" ) && this.elem.style ) { 17.5741 + this.elem.style.display = "block"; 17.5742 + } 17.5743 + }, 17.5744 + 17.5745 + // Get the current size 17.5746 + cur: function( force ) { 17.5747 + if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) { 17.5748 + return this.elem[ this.prop ]; 17.5749 + } 17.5750 + 17.5751 + var r = parseFloat(jQuery.css(this.elem, this.prop, force)); 17.5752 + return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0; 17.5753 + }, 17.5754 + 17.5755 + // Start an animation from one number to another 17.5756 + custom: function( from, to, unit ) { 17.5757 + this.startTime = now(); 17.5758 + this.start = from; 17.5759 + this.end = to; 17.5760 + this.unit = unit || this.unit || "px"; 17.5761 + this.now = this.start; 17.5762 + this.pos = this.state = 0; 17.5763 + 17.5764 + var self = this; 17.5765 + function t( gotoEnd ) { 17.5766 + return self.step(gotoEnd); 17.5767 + } 17.5768 + 17.5769 + t.elem = this.elem; 17.5770 + 17.5771 + if ( t() && jQuery.timers.push(t) && !timerId ) { 17.5772 + timerId = setInterval(jQuery.fx.tick, 13); 17.5773 + } 17.5774 + }, 17.5775 + 17.5776 + // Simple 'show' function 17.5777 + show: function() { 17.5778 + // Remember where we started, so that we can go back to it later 17.5779 + this.options.orig[this.prop] = jQuery.style( this.elem, this.prop ); 17.5780 + this.options.show = true; 17.5781 + 17.5782 + // Begin the animation 17.5783 + // Make sure that we start at a small width/height to avoid any 17.5784 + // flash of content 17.5785 + this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()); 17.5786 + 17.5787 + // Start by showing the element 17.5788 + jQuery( this.elem ).show(); 17.5789 + }, 17.5790 + 17.5791 + // Simple 'hide' function 17.5792 + hide: function() { 17.5793 + // Remember where we started, so that we can go back to it later 17.5794 + this.options.orig[this.prop] = jQuery.style( this.elem, this.prop ); 17.5795 + this.options.hide = true; 17.5796 + 17.5797 + // Begin the animation 17.5798 + this.custom(this.cur(), 0); 17.5799 + }, 17.5800 + 17.5801 + // Each step of an animation 17.5802 + step: function( gotoEnd ) { 17.5803 + var t = now(), done = true; 17.5804 + 17.5805 + if ( gotoEnd || t >= this.options.duration + this.startTime ) { 17.5806 + this.now = this.end; 17.5807 + this.pos = this.state = 1; 17.5808 + this.update(); 17.5809 + 17.5810 + this.options.curAnim[ this.prop ] = true; 17.5811 + 17.5812 + for ( var i in this.options.curAnim ) { 17.5813 + if ( this.options.curAnim[i] !== true ) { 17.5814 + done = false; 17.5815 + } 17.5816 + } 17.5817 + 17.5818 + if ( done ) { 17.5819 + if ( this.options.display != null ) { 17.5820 + // Reset the overflow 17.5821 + this.elem.style.overflow = this.options.overflow; 17.5822 + 17.5823 + // Reset the display 17.5824 + var old = jQuery.data(this.elem, "olddisplay"); 17.5825 + this.elem.style.display = old ? old : this.options.display; 17.5826 + 17.5827 + if ( jQuery.css(this.elem, "display") === "none" ) { 17.5828 + this.elem.style.display = "block"; 17.5829 + } 17.5830 + } 17.5831 + 17.5832 + // Hide the element if the "hide" operation was done 17.5833 + if ( this.options.hide ) { 17.5834 + jQuery(this.elem).hide(); 17.5835 + } 17.5836 + 17.5837 + // Reset the properties, if the item has been hidden or shown 17.5838 + if ( this.options.hide || this.options.show ) { 17.5839 + for ( var p in this.options.curAnim ) { 17.5840 + jQuery.style(this.elem, p, this.options.orig[p]); 17.5841 + } 17.5842 + } 17.5843 + 17.5844 + // Execute the complete function 17.5845 + this.options.complete.call( this.elem ); 17.5846 + } 17.5847 + 17.5848 + return false; 17.5849 + 17.5850 + } else { 17.5851 + var n = t - this.startTime; 17.5852 + this.state = n / this.options.duration; 17.5853 + 17.5854 + // Perform the easing function, defaults to swing 17.5855 + var specialEasing = this.options.specialEasing && this.options.specialEasing[this.prop]; 17.5856 + var defaultEasing = this.options.easing || (jQuery.easing.swing ? "swing" : "linear"); 17.5857 + this.pos = jQuery.easing[specialEasing || defaultEasing](this.state, n, 0, 1, this.options.duration); 17.5858 + this.now = this.start + ((this.end - this.start) * this.pos); 17.5859 + 17.5860 + // Perform the next step of the animation 17.5861 + this.update(); 17.5862 + } 17.5863 + 17.5864 + return true; 17.5865 + } 17.5866 +}; 17.5867 + 17.5868 +jQuery.extend( jQuery.fx, { 17.5869 + tick: function() { 17.5870 + var timers = jQuery.timers; 17.5871 + 17.5872 + for ( var i = 0; i < timers.length; i++ ) { 17.5873 + if ( !timers[i]() ) { 17.5874 + timers.splice(i--, 1); 17.5875 + } 17.5876 + } 17.5877 + 17.5878 + if ( !timers.length ) { 17.5879 + jQuery.fx.stop(); 17.5880 + } 17.5881 + }, 17.5882 + 17.5883 + stop: function() { 17.5884 + clearInterval( timerId ); 17.5885 + timerId = null; 17.5886 + }, 17.5887 + 17.5888 + speeds: { 17.5889 + slow: 600, 17.5890 + fast: 200, 17.5891 + // Default speed 17.5892 + _default: 400 17.5893 + }, 17.5894 + 17.5895 + step: { 17.5896 + opacity: function( fx ) { 17.5897 + jQuery.style(fx.elem, "opacity", fx.now); 17.5898 + }, 17.5899 + 17.5900 + _default: function( fx ) { 17.5901 + if ( fx.elem.style && fx.elem.style[ fx.prop ] != null ) { 17.5902 + fx.elem.style[ fx.prop ] = (fx.prop === "width" || fx.prop === "height" ? Math.max(0, fx.now) : fx.now) + fx.unit; 17.5903 + } else { 17.5904 + fx.elem[ fx.prop ] = fx.now; 17.5905 + } 17.5906 + } 17.5907 + } 17.5908 +}); 17.5909 + 17.5910 +if ( jQuery.expr && jQuery.expr.filters ) { 17.5911 + jQuery.expr.filters.animated = function( elem ) { 17.5912 + return jQuery.grep(jQuery.timers, function( fn ) { 17.5913 + return elem === fn.elem; 17.5914 + }).length; 17.5915 + }; 17.5916 +} 17.5917 + 17.5918 +function genFx( type, num ) { 17.5919 + var obj = {}; 17.5920 + 17.5921 + jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function() { 17.5922 + obj[ this ] = type; 17.5923 + }); 17.5924 + 17.5925 + return obj; 17.5926 +} 17.5927 +if ( "getBoundingClientRect" in document.documentElement ) { 17.5928 + jQuery.fn.offset = function( options ) { 17.5929 + var elem = this[0]; 17.5930 + 17.5931 + if ( options ) { 17.5932 + return this.each(function( i ) { 17.5933 + jQuery.offset.setOffset( this, options, i ); 17.5934 + }); 17.5935 + } 17.5936 + 17.5937 + if ( !elem || !elem.ownerDocument ) { 17.5938 + return null; 17.5939 + } 17.5940 + 17.5941 + if ( elem === elem.ownerDocument.body ) { 17.5942 + return jQuery.offset.bodyOffset( elem ); 17.5943 + } 17.5944 + 17.5945 + var box = elem.getBoundingClientRect(), doc = elem.ownerDocument, body = doc.body, docElem = doc.documentElement, 17.5946 + clientTop = docElem.clientTop || body.clientTop || 0, clientLeft = docElem.clientLeft || body.clientLeft || 0, 17.5947 + top = box.top + (self.pageYOffset || jQuery.support.boxModel && docElem.scrollTop || body.scrollTop ) - clientTop, 17.5948 + left = box.left + (self.pageXOffset || jQuery.support.boxModel && docElem.scrollLeft || body.scrollLeft) - clientLeft; 17.5949 + 17.5950 + return { top: top, left: left }; 17.5951 + }; 17.5952 + 17.5953 +} else { 17.5954 + jQuery.fn.offset = function( options ) { 17.5955 + var elem = this[0]; 17.5956 + 17.5957 + if ( options ) { 17.5958 + return this.each(function( i ) { 17.5959 + jQuery.offset.setOffset( this, options, i ); 17.5960 + }); 17.5961 + } 17.5962 + 17.5963 + if ( !elem || !elem.ownerDocument ) { 17.5964 + return null; 17.5965 + } 17.5966 + 17.5967 + if ( elem === elem.ownerDocument.body ) { 17.5968 + return jQuery.offset.bodyOffset( elem ); 17.5969 + } 17.5970 + 17.5971 + jQuery.offset.initialize(); 17.5972 + 17.5973 + var offsetParent = elem.offsetParent, prevOffsetParent = elem, 17.5974 + doc = elem.ownerDocument, computedStyle, docElem = doc.documentElement, 17.5975 + body = doc.body, defaultView = doc.defaultView, 17.5976 + prevComputedStyle = defaultView ? defaultView.getComputedStyle( elem, null ) : elem.currentStyle, 17.5977 + top = elem.offsetTop, left = elem.offsetLeft; 17.5978 + 17.5979 + while ( (elem = elem.parentNode) && elem !== body && elem !== docElem ) { 17.5980 + if ( jQuery.offset.supportsFixedPosition && prevComputedStyle.position === "fixed" ) { 17.5981 + break; 17.5982 + } 17.5983 + 17.5984 + computedStyle = defaultView ? defaultView.getComputedStyle(elem, null) : elem.currentStyle; 17.5985 + top -= elem.scrollTop; 17.5986 + left -= elem.scrollLeft; 17.5987 + 17.5988 + if ( elem === offsetParent ) { 17.5989 + top += elem.offsetTop; 17.5990 + left += elem.offsetLeft; 17.5991 + 17.5992 + if ( jQuery.offset.doesNotAddBorder && !(jQuery.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(elem.nodeName)) ) { 17.5993 + top += parseFloat( computedStyle.borderTopWidth ) || 0; 17.5994 + left += parseFloat( computedStyle.borderLeftWidth ) || 0; 17.5995 + } 17.5996 + 17.5997 + prevOffsetParent = offsetParent, offsetParent = elem.offsetParent; 17.5998 + } 17.5999 + 17.6000 + if ( jQuery.offset.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" ) { 17.6001 + top += parseFloat( computedStyle.borderTopWidth ) || 0; 17.6002 + left += parseFloat( computedStyle.borderLeftWidth ) || 0; 17.6003 + } 17.6004 + 17.6005 + prevComputedStyle = computedStyle; 17.6006 + } 17.6007 + 17.6008 + if ( prevComputedStyle.position === "relative" || prevComputedStyle.position === "static" ) { 17.6009 + top += body.offsetTop; 17.6010 + left += body.offsetLeft; 17.6011 + } 17.6012 + 17.6013 + if ( jQuery.offset.supportsFixedPosition && prevComputedStyle.position === "fixed" ) { 17.6014 + top += Math.max( docElem.scrollTop, body.scrollTop ); 17.6015 + left += Math.max( docElem.scrollLeft, body.scrollLeft ); 17.6016 + } 17.6017 + 17.6018 + return { top: top, left: left }; 17.6019 + }; 17.6020 +} 17.6021 + 17.6022 +jQuery.offset = { 17.6023 + initialize: function() { 17.6024 + var body = document.body, container = document.createElement("div"), innerDiv, checkDiv, table, td, bodyMarginTop = parseFloat( jQuery.curCSS(body, "marginTop", true) ) || 0, 17.6025 + html = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"; 17.6026 + 17.6027 + jQuery.extend( container.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" } ); 17.6028 + 17.6029 + container.innerHTML = html; 17.6030 + body.insertBefore( container, body.firstChild ); 17.6031 + innerDiv = container.firstChild; 17.6032 + checkDiv = innerDiv.firstChild; 17.6033 + td = innerDiv.nextSibling.firstChild.firstChild; 17.6034 + 17.6035 + this.doesNotAddBorder = (checkDiv.offsetTop !== 5); 17.6036 + this.doesAddBorderForTableAndCells = (td.offsetTop === 5); 17.6037 + 17.6038 + checkDiv.style.position = "fixed", checkDiv.style.top = "20px"; 17.6039 + // safari subtracts parent border width here which is 5px 17.6040 + this.supportsFixedPosition = (checkDiv.offsetTop === 20 || checkDiv.offsetTop === 15); 17.6041 + checkDiv.style.position = checkDiv.style.top = ""; 17.6042 + 17.6043 + innerDiv.style.overflow = "hidden", innerDiv.style.position = "relative"; 17.6044 + this.subtractsBorderForOverflowNotVisible = (checkDiv.offsetTop === -5); 17.6045 + 17.6046 + this.doesNotIncludeMarginInBodyOffset = (body.offsetTop !== bodyMarginTop); 17.6047 + 17.6048 + body.removeChild( container ); 17.6049 + body = container = innerDiv = checkDiv = table = td = null; 17.6050 + jQuery.offset.initialize = jQuery.noop; 17.6051 + }, 17.6052 + 17.6053 + bodyOffset: function( body ) { 17.6054 + var top = body.offsetTop, left = body.offsetLeft; 17.6055 + 17.6056 + jQuery.offset.initialize(); 17.6057 + 17.6058 + if ( jQuery.offset.doesNotIncludeMarginInBodyOffset ) { 17.6059 + top += parseFloat( jQuery.curCSS(body, "marginTop", true) ) || 0; 17.6060 + left += parseFloat( jQuery.curCSS(body, "marginLeft", true) ) || 0; 17.6061 + } 17.6062 + 17.6063 + return { top: top, left: left }; 17.6064 + }, 17.6065 + 17.6066 + setOffset: function( elem, options, i ) { 17.6067 + // set position first, in-case top/left are set even on static elem 17.6068 + if ( /static/.test( jQuery.curCSS( elem, "position" ) ) ) { 17.6069 + elem.style.position = "relative"; 17.6070 + } 17.6071 + var curElem = jQuery( elem ), 17.6072 + curOffset = curElem.offset(), 17.6073 + curTop = parseInt( jQuery.curCSS( elem, "top", true ), 10 ) || 0, 17.6074 + curLeft = parseInt( jQuery.curCSS( elem, "left", true ), 10 ) || 0; 17.6075 + 17.6076 + if ( jQuery.isFunction( options ) ) { 17.6077 + options = options.call( elem, i, curOffset ); 17.6078 + } 17.6079 + 17.6080 + var props = { 17.6081 + top: (options.top - curOffset.top) + curTop, 17.6082 + left: (options.left - curOffset.left) + curLeft 17.6083 + }; 17.6084 + 17.6085 + if ( "using" in options ) { 17.6086 + options.using.call( elem, props ); 17.6087 + } else { 17.6088 + curElem.css( props ); 17.6089 + } 17.6090 + } 17.6091 +}; 17.6092 + 17.6093 + 17.6094 +jQuery.fn.extend({ 17.6095 + position: function() { 17.6096 + if ( !this[0] ) { 17.6097 + return null; 17.6098 + } 17.6099 + 17.6100 + var elem = this[0], 17.6101 + 17.6102 + // Get *real* offsetParent 17.6103 + offsetParent = this.offsetParent(), 17.6104 + 17.6105 + // Get correct offsets 17.6106 + offset = this.offset(), 17.6107 + parentOffset = /^body|html$/i.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset(); 17.6108 + 17.6109 + // Subtract element margins 17.6110 + // note: when an element has margin: auto the offsetLeft and marginLeft 17.6111 + // are the same in Safari causing offset.left to incorrectly be 0 17.6112 + offset.top -= parseFloat( jQuery.curCSS(elem, "marginTop", true) ) || 0; 17.6113 + offset.left -= parseFloat( jQuery.curCSS(elem, "marginLeft", true) ) || 0; 17.6114 + 17.6115 + // Add offsetParent borders 17.6116 + parentOffset.top += parseFloat( jQuery.curCSS(offsetParent[0], "borderTopWidth", true) ) || 0; 17.6117 + parentOffset.left += parseFloat( jQuery.curCSS(offsetParent[0], "borderLeftWidth", true) ) || 0; 17.6118 + 17.6119 + // Subtract the two offsets 17.6120 + return { 17.6121 + top: offset.top - parentOffset.top, 17.6122 + left: offset.left - parentOffset.left 17.6123 + }; 17.6124 + }, 17.6125 + 17.6126 + offsetParent: function() { 17.6127 + return this.map(function() { 17.6128 + var offsetParent = this.offsetParent || document.body; 17.6129 + while ( offsetParent && (!/^body|html$/i.test(offsetParent.nodeName) && jQuery.css(offsetParent, "position") === "static") ) { 17.6130 + offsetParent = offsetParent.offsetParent; 17.6131 + } 17.6132 + return offsetParent; 17.6133 + }); 17.6134 + } 17.6135 +}); 17.6136 + 17.6137 + 17.6138 +// Create scrollLeft and scrollTop methods 17.6139 +jQuery.each( ["Left", "Top"], function( i, name ) { 17.6140 + var method = "scroll" + name; 17.6141 + 17.6142 + jQuery.fn[ method ] = function(val) { 17.6143 + var elem = this[0], win; 17.6144 + 17.6145 + if ( !elem ) { 17.6146 + return null; 17.6147 + } 17.6148 + 17.6149 + if ( val !== undefined ) { 17.6150 + // Set the scroll offset 17.6151 + return this.each(function() { 17.6152 + win = getWindow( this ); 17.6153 + 17.6154 + if ( win ) { 17.6155 + win.scrollTo( 17.6156 + !i ? val : jQuery(win).scrollLeft(), 17.6157 + i ? val : jQuery(win).scrollTop() 17.6158 + ); 17.6159 + 17.6160 + } else { 17.6161 + this[ method ] = val; 17.6162 + } 17.6163 + }); 17.6164 + } else { 17.6165 + win = getWindow( elem ); 17.6166 + 17.6167 + // Return the scroll offset 17.6168 + return win ? ("pageXOffset" in win) ? win[ i ? "pageYOffset" : "pageXOffset" ] : 17.6169 + jQuery.support.boxModel && win.document.documentElement[ method ] || 17.6170 + win.document.body[ method ] : 17.6171 + elem[ method ]; 17.6172 + } 17.6173 + }; 17.6174 +}); 17.6175 + 17.6176 +function getWindow( elem ) { 17.6177 + return ("scrollTo" in elem && elem.document) ? 17.6178 + elem : 17.6179 + elem.nodeType === 9 ? 17.6180 + elem.defaultView || elem.parentWindow : 17.6181 + false; 17.6182 +} 17.6183 +// Create innerHeight, innerWidth, outerHeight and outerWidth methods 17.6184 +jQuery.each([ "Height", "Width" ], function( i, name ) { 17.6185 + 17.6186 + var type = name.toLowerCase(); 17.6187 + 17.6188 + // innerHeight and innerWidth 17.6189 + jQuery.fn["inner" + name] = function() { 17.6190 + return this[0] ? 17.6191 + jQuery.css( this[0], type, false, "padding" ) : 17.6192 + null; 17.6193 + }; 17.6194 + 17.6195 + // outerHeight and outerWidth 17.6196 + jQuery.fn["outer" + name] = function( margin ) { 17.6197 + return this[0] ? 17.6198 + jQuery.css( this[0], type, false, margin ? "margin" : "border" ) : 17.6199 + null; 17.6200 + }; 17.6201 + 17.6202 + jQuery.fn[ type ] = function( size ) { 17.6203 + // Get window width or height 17.6204 + var elem = this[0]; 17.6205 + if ( !elem ) { 17.6206 + return size == null ? null : this; 17.6207 + } 17.6208 + 17.6209 + if ( jQuery.isFunction( size ) ) { 17.6210 + return this.each(function( i ) { 17.6211 + var self = jQuery( this ); 17.6212 + self[ type ]( size.call( this, i, self[ type ]() ) ); 17.6213 + }); 17.6214 + } 17.6215 + 17.6216 + return ("scrollTo" in elem && elem.document) ? // does it walk and quack like a window? 17.6217 + // Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode 17.6218 + elem.document.compatMode === "CSS1Compat" && elem.document.documentElement[ "client" + name ] || 17.6219 + elem.document.body[ "client" + name ] : 17.6220 + 17.6221 + // Get document width or height 17.6222 + (elem.nodeType === 9) ? // is it a document 17.6223 + // Either scroll[Width/Height] or offset[Width/Height], whichever is greater 17.6224 + Math.max( 17.6225 + elem.documentElement["client" + name], 17.6226 + elem.body["scroll" + name], elem.documentElement["scroll" + name], 17.6227 + elem.body["offset" + name], elem.documentElement["offset" + name] 17.6228 + ) : 17.6229 + 17.6230 + // Get or set width or height on the element 17.6231 + size === undefined ? 17.6232 + // Get width or height on the element 17.6233 + jQuery.css( elem, type ) : 17.6234 + 17.6235 + // Set the width or height on the element (default to pixels if value is unitless) 17.6236 + this.css( type, typeof size === "string" ? size : size + "px" ); 17.6237 + }; 17.6238 + 17.6239 +}); 17.6240 +// Expose jQuery to the global object 17.6241 +window.jQuery = window.$ = jQuery; 17.6242 + 17.6243 +})(window);
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/js-lib/prototype.js Sun Jul 25 01:33:22 2010 -0400 18.3 @@ -0,0 +1,4874 @@ 18.4 +/* Prototype JavaScript framework, version 1.6.1 18.5 + * (c) 2005-2009 Sam Stephenson 18.6 + * 18.7 + * Prototype is freely distributable under the terms of an MIT-style license. 18.8 + * For details, see the Prototype web site: http://www.prototypejs.org/ 18.9 + * 18.10 + *--------------------------------------------------------------------------*/ 18.11 + 18.12 +var Prototype = { 18.13 + Version: '1.6.1', 18.14 + 18.15 + Browser: (function(){ 18.16 + var ua = navigator.userAgent; 18.17 + var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]'; 18.18 + return { 18.19 + IE: !!window.attachEvent && !isOpera, 18.20 + Opera: isOpera, 18.21 + WebKit: ua.indexOf('AppleWebKit/') > -1, 18.22 + Gecko: ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1, 18.23 + MobileSafari: /Apple.*Mobile.*Safari/.test(ua) 18.24 + } 18.25 + })(), 18.26 + 18.27 + BrowserFeatures: { 18.28 + XPath: !!document.evaluate, 18.29 + SelectorsAPI: !!document.querySelector, 18.30 + ElementExtensions: (function() { 18.31 + var constructor = window.Element || window.HTMLElement; 18.32 + return !!(constructor && constructor.prototype); 18.33 + })(), 18.34 + SpecificElementExtensions: (function() { 18.35 + if (typeof window.HTMLDivElement !== 'undefined') 18.36 + return true; 18.37 + 18.38 + var div = document.createElement('div'); 18.39 + var form = document.createElement('form'); 18.40 + var isSupported = false; 18.41 + 18.42 + if (div['__proto__'] && (div['__proto__'] !== form['__proto__'])) { 18.43 + isSupported = true; 18.44 + } 18.45 + 18.46 + div = form = null; 18.47 + 18.48 + return isSupported; 18.49 + })() 18.50 + }, 18.51 + 18.52 + ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>', 18.53 + JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/, 18.54 + 18.55 + emptyFunction: function() { }, 18.56 + K: function(x) { return x } 18.57 +}; 18.58 + 18.59 +if (Prototype.Browser.MobileSafari) 18.60 + Prototype.BrowserFeatures.SpecificElementExtensions = false; 18.61 + 18.62 + 18.63 +var Abstract = { }; 18.64 + 18.65 + 18.66 +var Try = { 18.67 + these: function() { 18.68 + var returnValue; 18.69 + 18.70 + for (var i = 0, length = arguments.length; i < length; i++) { 18.71 + var lambda = arguments[i]; 18.72 + try { 18.73 + returnValue = lambda(); 18.74 + break; 18.75 + } catch (e) { } 18.76 + } 18.77 + 18.78 + return returnValue; 18.79 + } 18.80 +}; 18.81 + 18.82 +/* Based on Alex Arnell's inheritance implementation. */ 18.83 + 18.84 +var Class = (function() { 18.85 + function subclass() {}; 18.86 + function create() { 18.87 + var parent = null, properties = $A(arguments); 18.88 + if (Object.isFunction(properties[0])) 18.89 + parent = properties.shift(); 18.90 + 18.91 + function klass() { 18.92 + this.initialize.apply(this, arguments); 18.93 + } 18.94 + 18.95 + Object.extend(klass, Class.Methods); 18.96 + klass.superclass = parent; 18.97 + klass.subclasses = []; 18.98 + 18.99 + if (parent) { 18.100 + subclass.prototype = parent.prototype; 18.101 + klass.prototype = new subclass; 18.102 + parent.subclasses.push(klass); 18.103 + } 18.104 + 18.105 + for (var i = 0; i < properties.length; i++) 18.106 + klass.addMethods(properties[i]); 18.107 + 18.108 + if (!klass.prototype.initialize) 18.109 + klass.prototype.initialize = Prototype.emptyFunction; 18.110 + 18.111 + klass.prototype.constructor = klass; 18.112 + return klass; 18.113 + } 18.114 + 18.115 + function addMethods(source) { 18.116 + var ancestor = this.superclass && this.superclass.prototype; 18.117 + var properties = Object.keys(source); 18.118 + 18.119 + if (!Object.keys({ toString: true }).length) { 18.120 + if (source.toString != Object.prototype.toString) 18.121 + properties.push("toString"); 18.122 + if (source.valueOf != Object.prototype.valueOf) 18.123 + properties.push("valueOf"); 18.124 + } 18.125 + 18.126 + for (var i = 0, length = properties.length; i < length; i++) { 18.127 + var property = properties[i], value = source[property]; 18.128 + if (ancestor && Object.isFunction(value) && 18.129 + value.argumentNames().first() == "$super") { 18.130 + var method = value; 18.131 + value = (function(m) { 18.132 + return function() { return ancestor[m].apply(this, arguments); }; 18.133 + })(property).wrap(method); 18.134 + 18.135 + value.valueOf = method.valueOf.bind(method); 18.136 + value.toString = method.toString.bind(method); 18.137 + } 18.138 + this.prototype[property] = value; 18.139 + } 18.140 + 18.141 + return this; 18.142 + } 18.143 + 18.144 + return { 18.145 + create: create, 18.146 + Methods: { 18.147 + addMethods: addMethods 18.148 + } 18.149 + }; 18.150 +})(); 18.151 +(function() { 18.152 + 18.153 + var _toString = Object.prototype.toString; 18.154 + 18.155 + function extend(destination, source) { 18.156 + for (var property in source) 18.157 + destination[property] = source[property]; 18.158 + return destination; 18.159 + } 18.160 + 18.161 + function inspect(object) { 18.162 + try { 18.163 + if (isUndefined(object)) return 'undefined'; 18.164 + if (object === null) return 'null'; 18.165 + return object.inspect ? object.inspect() : String(object); 18.166 + } catch (e) { 18.167 + if (e instanceof RangeError) return '...'; 18.168 + throw e; 18.169 + } 18.170 + } 18.171 + 18.172 + function toJSON(object) { 18.173 + var type = typeof object; 18.174 + switch (type) { 18.175 + case 'undefined': 18.176 + case 'function': 18.177 + case 'unknown': return; 18.178 + case 'boolean': return object.toString(); 18.179 + } 18.180 + 18.181 + if (object === null) return 'null'; 18.182 + if (object.toJSON) return object.toJSON(); 18.183 + if (isElement(object)) return; 18.184 + 18.185 + var results = []; 18.186 + for (var property in object) { 18.187 + var value = toJSON(object[property]); 18.188 + if (!isUndefined(value)) 18.189 + results.push(property.toJSON() + ': ' + value); 18.190 + } 18.191 + 18.192 + return '{' + results.join(', ') + '}'; 18.193 + } 18.194 + 18.195 + function toQueryString(object) { 18.196 + return $H(object).toQueryString(); 18.197 + } 18.198 + 18.199 + function toHTML(object) { 18.200 + return object && object.toHTML ? object.toHTML() : String.interpret(object); 18.201 + } 18.202 + 18.203 + function keys(object) { 18.204 + var results = []; 18.205 + for (var property in object) 18.206 + results.push(property); 18.207 + return results; 18.208 + } 18.209 + 18.210 + function values(object) { 18.211 + var results = []; 18.212 + for (var property in object) 18.213 + results.push(object[property]); 18.214 + return results; 18.215 + } 18.216 + 18.217 + function clone(object) { 18.218 + return extend({ }, object); 18.219 + } 18.220 + 18.221 + function isElement(object) { 18.222 + return !!(object && object.nodeType == 1); 18.223 + } 18.224 + 18.225 + function isArray(object) { 18.226 + return _toString.call(object) == "[object Array]"; 18.227 + } 18.228 + 18.229 + 18.230 + function isHash(object) { 18.231 + return object instanceof Hash; 18.232 + } 18.233 + 18.234 + function isFunction(object) { 18.235 + return typeof object === "function"; 18.236 + } 18.237 + 18.238 + function isString(object) { 18.239 + return _toString.call(object) == "[object String]"; 18.240 + } 18.241 + 18.242 + function isNumber(object) { 18.243 + return _toString.call(object) == "[object Number]"; 18.244 + } 18.245 + 18.246 + function isUndefined(object) { 18.247 + return typeof object === "undefined"; 18.248 + } 18.249 + 18.250 + extend(Object, { 18.251 + extend: extend, 18.252 + inspect: inspect, 18.253 + toJSON: toJSON, 18.254 + toQueryString: toQueryString, 18.255 + toHTML: toHTML, 18.256 + keys: keys, 18.257 + values: values, 18.258 + clone: clone, 18.259 + isElement: isElement, 18.260 + isArray: isArray, 18.261 + isHash: isHash, 18.262 + isFunction: isFunction, 18.263 + isString: isString, 18.264 + isNumber: isNumber, 18.265 + isUndefined: isUndefined 18.266 + }); 18.267 +})(); 18.268 +Object.extend(Function.prototype, (function() { 18.269 + var slice = Array.prototype.slice; 18.270 + 18.271 + function update(array, args) { 18.272 + var arrayLength = array.length, length = args.length; 18.273 + while (length--) array[arrayLength + length] = args[length]; 18.274 + return array; 18.275 + } 18.276 + 18.277 + function merge(array, args) { 18.278 + array = slice.call(array, 0); 18.279 + return update(array, args); 18.280 + } 18.281 + 18.282 + function argumentNames() { 18.283 + var names = this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1] 18.284 + .replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g, '') 18.285 + .replace(/\s+/g, '').split(','); 18.286 + return names.length == 1 && !names[0] ? [] : names; 18.287 + } 18.288 + 18.289 + function bind(context) { 18.290 + if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this; 18.291 + var __method = this, args = slice.call(arguments, 1); 18.292 + return function() { 18.293 + var a = merge(args, arguments); 18.294 + return __method.apply(context, a); 18.295 + } 18.296 + } 18.297 + 18.298 + function bindAsEventListener(context) { 18.299 + var __method = this, args = slice.call(arguments, 1); 18.300 + return function(event) { 18.301 + var a = update([event || window.event], args); 18.302 + return __method.apply(context, a); 18.303 + } 18.304 + } 18.305 + 18.306 + function curry() { 18.307 + if (!arguments.length) return this; 18.308 + var __method = this, args = slice.call(arguments, 0); 18.309 + return function() { 18.310 + var a = merge(args, arguments); 18.311 + return __method.apply(this, a); 18.312 + } 18.313 + } 18.314 + 18.315 + function delay(timeout) { 18.316 + var __method = this, args = slice.call(arguments, 1); 18.317 + timeout = timeout * 1000 18.318 + return window.setTimeout(function() { 18.319 + return __method.apply(__method, args); 18.320 + }, timeout); 18.321 + } 18.322 + 18.323 + function defer() { 18.324 + var args = update([0.01], arguments); 18.325 + return this.delay.apply(this, args); 18.326 + } 18.327 + 18.328 + function wrap(wrapper) { 18.329 + var __method = this; 18.330 + return function() { 18.331 + var a = update([__method.bind(this)], arguments); 18.332 + return wrapper.apply(this, a); 18.333 + } 18.334 + } 18.335 + 18.336 + function methodize() { 18.337 + if (this._methodized) return this._methodized; 18.338 + var __method = this; 18.339 + return this._methodized = function() { 18.340 + var a = update([this], arguments); 18.341 + return __method.apply(null, a); 18.342 + }; 18.343 + } 18.344 + 18.345 + return { 18.346 + argumentNames: argumentNames, 18.347 + bind: bind, 18.348 + bindAsEventListener: bindAsEventListener, 18.349 + curry: curry, 18.350 + delay: delay, 18.351 + defer: defer, 18.352 + wrap: wrap, 18.353 + methodize: methodize 18.354 + } 18.355 +})()); 18.356 + 18.357 + 18.358 +Date.prototype.toJSON = function() { 18.359 + return '"' + this.getUTCFullYear() + '-' + 18.360 + (this.getUTCMonth() + 1).toPaddedString(2) + '-' + 18.361 + this.getUTCDate().toPaddedString(2) + 'T' + 18.362 + this.getUTCHours().toPaddedString(2) + ':' + 18.363 + this.getUTCMinutes().toPaddedString(2) + ':' + 18.364 + this.getUTCSeconds().toPaddedString(2) + 'Z"'; 18.365 +}; 18.366 + 18.367 + 18.368 +RegExp.prototype.match = RegExp.prototype.test; 18.369 + 18.370 +RegExp.escape = function(str) { 18.371 + return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); 18.372 +}; 18.373 +var PeriodicalExecuter = Class.create({ 18.374 + initialize: function(callback, frequency) { 18.375 + this.callback = callback; 18.376 + this.frequency = frequency; 18.377 + this.currentlyExecuting = false; 18.378 + 18.379 + this.registerCallback(); 18.380 + }, 18.381 + 18.382 + registerCallback: function() { 18.383 + this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); 18.384 + }, 18.385 + 18.386 + execute: function() { 18.387 + this.callback(this); 18.388 + }, 18.389 + 18.390 + stop: function() { 18.391 + if (!this.timer) return; 18.392 + clearInterval(this.timer); 18.393 + this.timer = null; 18.394 + }, 18.395 + 18.396 + onTimerEvent: function() { 18.397 + if (!this.currentlyExecuting) { 18.398 + try { 18.399 + this.currentlyExecuting = true; 18.400 + this.execute(); 18.401 + this.currentlyExecuting = false; 18.402 + } catch(e) { 18.403 + this.currentlyExecuting = false; 18.404 + throw e; 18.405 + } 18.406 + } 18.407 + } 18.408 +}); 18.409 +Object.extend(String, { 18.410 + interpret: function(value) { 18.411 + return value == null ? '' : String(value); 18.412 + }, 18.413 + specialChar: { 18.414 + '\b': '\\b', 18.415 + '\t': '\\t', 18.416 + '\n': '\\n', 18.417 + '\f': '\\f', 18.418 + '\r': '\\r', 18.419 + '\\': '\\\\' 18.420 + } 18.421 +}); 18.422 + 18.423 +Object.extend(String.prototype, (function() { 18.424 + 18.425 + function prepareReplacement(replacement) { 18.426 + if (Object.isFunction(replacement)) return replacement; 18.427 + var template = new Template(replacement); 18.428 + return function(match) { return template.evaluate(match) }; 18.429 + } 18.430 + 18.431 + function gsub(pattern, replacement) { 18.432 + var result = '', source = this, match; 18.433 + replacement = prepareReplacement(replacement); 18.434 + 18.435 + if (Object.isString(pattern)) 18.436 + pattern = RegExp.escape(pattern); 18.437 + 18.438 + if (!(pattern.length || pattern.source)) { 18.439 + replacement = replacement(''); 18.440 + return replacement + source.split('').join(replacement) + replacement; 18.441 + } 18.442 + 18.443 + while (source.length > 0) { 18.444 + if (match = source.match(pattern)) { 18.445 + result += source.slice(0, match.index); 18.446 + result += String.interpret(replacement(match)); 18.447 + source = source.slice(match.index + match[0].length); 18.448 + } else { 18.449 + result += source, source = ''; 18.450 + } 18.451 + } 18.452 + return result; 18.453 + } 18.454 + 18.455 + function sub(pattern, replacement, count) { 18.456 + replacement = prepareReplacement(replacement); 18.457 + count = Object.isUndefined(count) ? 1 : count; 18.458 + 18.459 + return this.gsub(pattern, function(match) { 18.460 + if (--count < 0) return match[0]; 18.461 + return replacement(match); 18.462 + }); 18.463 + } 18.464 + 18.465 + function scan(pattern, iterator) { 18.466 + this.gsub(pattern, iterator); 18.467 + return String(this); 18.468 + } 18.469 + 18.470 + function truncate(length, truncation) { 18.471 + length = length || 30; 18.472 + truncation = Object.isUndefined(truncation) ? '...' : truncation; 18.473 + return this.length > length ? 18.474 + this.slice(0, length - truncation.length) + truncation : String(this); 18.475 + } 18.476 + 18.477 + function strip() { 18.478 + return this.replace(/^\s+/, '').replace(/\s+$/, ''); 18.479 + } 18.480 + 18.481 + function stripTags() { 18.482 + return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi, ''); 18.483 + } 18.484 + 18.485 + function stripScripts() { 18.486 + return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); 18.487 + } 18.488 + 18.489 + function extractScripts() { 18.490 + var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); 18.491 + var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); 18.492 + return (this.match(matchAll) || []).map(function(scriptTag) { 18.493 + return (scriptTag.match(matchOne) || ['', ''])[1]; 18.494 + }); 18.495 + } 18.496 + 18.497 + function evalScripts() { 18.498 + return this.extractScripts().map(function(script) { return eval(script) }); 18.499 + } 18.500 + 18.501 + function escapeHTML() { 18.502 + return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); 18.503 + } 18.504 + 18.505 + function unescapeHTML() { 18.506 + return this.stripTags().replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&'); 18.507 + } 18.508 + 18.509 + 18.510 + function toQueryParams(separator) { 18.511 + var match = this.strip().match(/([^?#]*)(#.*)?$/); 18.512 + if (!match) return { }; 18.513 + 18.514 + return match[1].split(separator || '&').inject({ }, function(hash, pair) { 18.515 + if ((pair = pair.split('='))[0]) { 18.516 + var key = decodeURIComponent(pair.shift()); 18.517 + var value = pair.length > 1 ? pair.join('=') : pair[0]; 18.518 + if (value != undefined) value = decodeURIComponent(value); 18.519 + 18.520 + if (key in hash) { 18.521 + if (!Object.isArray(hash[key])) hash[key] = [hash[key]]; 18.522 + hash[key].push(value); 18.523 + } 18.524 + else hash[key] = value; 18.525 + } 18.526 + return hash; 18.527 + }); 18.528 + } 18.529 + 18.530 + function toArray() { 18.531 + return this.split(''); 18.532 + } 18.533 + 18.534 + function succ() { 18.535 + return this.slice(0, this.length - 1) + 18.536 + String.fromCharCode(this.charCodeAt(this.length - 1) + 1); 18.537 + } 18.538 + 18.539 + function times(count) { 18.540 + return count < 1 ? '' : new Array(count + 1).join(this); 18.541 + } 18.542 + 18.543 + function camelize() { 18.544 + var parts = this.split('-'), len = parts.length; 18.545 + if (len == 1) return parts[0]; 18.546 + 18.547 + var camelized = this.charAt(0) == '-' 18.548 + ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1) 18.549 + : parts[0]; 18.550 + 18.551 + for (var i = 1; i < len; i++) 18.552 + camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1); 18.553 + 18.554 + return camelized; 18.555 + } 18.556 + 18.557 + function capitalize() { 18.558 + return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); 18.559 + } 18.560 + 18.561 + function underscore() { 18.562 + return this.replace(/::/g, '/') 18.563 + .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2') 18.564 + .replace(/([a-z\d])([A-Z])/g, '$1_$2') 18.565 + .replace(/-/g, '_') 18.566 + .toLowerCase(); 18.567 + } 18.568 + 18.569 + function dasherize() { 18.570 + return this.replace(/_/g, '-'); 18.571 + } 18.572 + 18.573 + function inspect(useDoubleQuotes) { 18.574 + var escapedString = this.replace(/[\x00-\x1f\\]/g, function(character) { 18.575 + if (character in String.specialChar) { 18.576 + return String.specialChar[character]; 18.577 + } 18.578 + return '\\u00' + character.charCodeAt().toPaddedString(2, 16); 18.579 + }); 18.580 + if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"'; 18.581 + return "'" + escapedString.replace(/'/g, '\\\'') + "'"; 18.582 + } 18.583 + 18.584 + function toJSON() { 18.585 + return this.inspect(true); 18.586 + } 18.587 + 18.588 + function unfilterJSON(filter) { 18.589 + return this.replace(filter || Prototype.JSONFilter, '$1'); 18.590 + } 18.591 + 18.592 + function isJSON() { 18.593 + var str = this; 18.594 + if (str.blank()) return false; 18.595 + str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); 18.596 + return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); 18.597 + } 18.598 + 18.599 + function evalJSON(sanitize) { 18.600 + var json = this.unfilterJSON(); 18.601 + try { 18.602 + if (!sanitize || json.isJSON()) return eval('(' + json + ')'); 18.603 + } catch (e) { } 18.604 + throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); 18.605 + } 18.606 + 18.607 + function include(pattern) { 18.608 + return this.indexOf(pattern) > -1; 18.609 + } 18.610 + 18.611 + function startsWith(pattern) { 18.612 + return this.indexOf(pattern) === 0; 18.613 + } 18.614 + 18.615 + function endsWith(pattern) { 18.616 + var d = this.length - pattern.length; 18.617 + return d >= 0 && this.lastIndexOf(pattern) === d; 18.618 + } 18.619 + 18.620 + function empty() { 18.621 + return this == ''; 18.622 + } 18.623 + 18.624 + function blank() { 18.625 + return /^\s*$/.test(this); 18.626 + } 18.627 + 18.628 + function interpolate(object, pattern) { 18.629 + return new Template(this, pattern).evaluate(object); 18.630 + } 18.631 + 18.632 + return { 18.633 + gsub: gsub, 18.634 + sub: sub, 18.635 + scan: scan, 18.636 + truncate: truncate, 18.637 + strip: String.prototype.trim ? String.prototype.trim : strip, 18.638 + stripTags: stripTags, 18.639 + stripScripts: stripScripts, 18.640 + extractScripts: extractScripts, 18.641 + evalScripts: evalScripts, 18.642 + escapeHTML: escapeHTML, 18.643 + unescapeHTML: unescapeHTML, 18.644 + toQueryParams: toQueryParams, 18.645 + parseQuery: toQueryParams, 18.646 + toArray: toArray, 18.647 + succ: succ, 18.648 + times: times, 18.649 + camelize: camelize, 18.650 + capitalize: capitalize, 18.651 + underscore: underscore, 18.652 + dasherize: dasherize, 18.653 + inspect: inspect, 18.654 + toJSON: toJSON, 18.655 + unfilterJSON: unfilterJSON, 18.656 + isJSON: isJSON, 18.657 + evalJSON: evalJSON, 18.658 + include: include, 18.659 + startsWith: startsWith, 18.660 + endsWith: endsWith, 18.661 + empty: empty, 18.662 + blank: blank, 18.663 + interpolate: interpolate 18.664 + }; 18.665 +})()); 18.666 + 18.667 +var Template = Class.create({ 18.668 + initialize: function(template, pattern) { 18.669 + this.template = template.toString(); 18.670 + this.pattern = pattern || Template.Pattern; 18.671 + }, 18.672 + 18.673 + evaluate: function(object) { 18.674 + if (object && Object.isFunction(object.toTemplateReplacements)) 18.675 + object = object.toTemplateReplacements(); 18.676 + 18.677 + return this.template.gsub(this.pattern, function(match) { 18.678 + if (object == null) return (match[1] + ''); 18.679 + 18.680 + var before = match[1] || ''; 18.681 + if (before == '\\') return match[2]; 18.682 + 18.683 + var ctx = object, expr = match[3]; 18.684 + var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/; 18.685 + match = pattern.exec(expr); 18.686 + if (match == null) return before; 18.687 + 18.688 + while (match != null) { 18.689 + var comp = match[1].startsWith('[') ? match[2].replace(/\\\\]/g, ']') : match[1]; 18.690 + ctx = ctx[comp]; 18.691 + if (null == ctx || '' == match[3]) break; 18.692 + expr = expr.substring('[' == match[3] ? match[1].length : match[0].length); 18.693 + match = pattern.exec(expr); 18.694 + } 18.695 + 18.696 + return before + String.interpret(ctx); 18.697 + }); 18.698 + } 18.699 +}); 18.700 +Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/; 18.701 + 18.702 +var $break = { }; 18.703 + 18.704 +var Enumerable = (function() { 18.705 + function each(iterator, context) { 18.706 + var index = 0; 18.707 + try { 18.708 + this._each(function(value) { 18.709 + iterator.call(context, value, index++); 18.710 + }); 18.711 + } catch (e) { 18.712 + if (e != $break) throw e; 18.713 + } 18.714 + return this; 18.715 + } 18.716 + 18.717 + function eachSlice(number, iterator, context) { 18.718 + var index = -number, slices = [], array = this.toArray(); 18.719 + if (number < 1) return array; 18.720 + while ((index += number) < array.length) 18.721 + slices.push(array.slice(index, index+number)); 18.722 + return slices.collect(iterator, context); 18.723 + } 18.724 + 18.725 + function all(iterator, context) { 18.726 + iterator = iterator || Prototype.K; 18.727 + var result = true; 18.728 + this.each(function(value, index) { 18.729 + result = result && !!iterator.call(context, value, index); 18.730 + if (!result) throw $break; 18.731 + }); 18.732 + return result; 18.733 + } 18.734 + 18.735 + function any(iterator, context) { 18.736 + iterator = iterator || Prototype.K; 18.737 + var result = false; 18.738 + this.each(function(value, index) { 18.739 + if (result = !!iterator.call(context, value, index)) 18.740 + throw $break; 18.741 + }); 18.742 + return result; 18.743 + } 18.744 + 18.745 + function collect(iterator, context) { 18.746 + iterator = iterator || Prototype.K; 18.747 + var results = []; 18.748 + this.each(function(value, index) { 18.749 + results.push(iterator.call(context, value, index)); 18.750 + }); 18.751 + return results; 18.752 + } 18.753 + 18.754 + function detect(iterator, context) { 18.755 + var result; 18.756 + this.each(function(value, index) { 18.757 + if (iterator.call(context, value, index)) { 18.758 + result = value; 18.759 + throw $break; 18.760 + } 18.761 + }); 18.762 + return result; 18.763 + } 18.764 + 18.765 + function findAll(iterator, context) { 18.766 + var results = []; 18.767 + this.each(function(value, index) { 18.768 + if (iterator.call(context, value, index)) 18.769 + results.push(value); 18.770 + }); 18.771 + return results; 18.772 + } 18.773 + 18.774 + function grep(filter, iterator, context) { 18.775 + iterator = iterator || Prototype.K; 18.776 + var results = []; 18.777 + 18.778 + if (Object.isString(filter)) 18.779 + filter = new RegExp(RegExp.escape(filter)); 18.780 + 18.781 + this.each(function(value, index) { 18.782 + if (filter.match(value)) 18.783 + results.push(iterator.call(context, value, index)); 18.784 + }); 18.785 + return results; 18.786 + } 18.787 + 18.788 + function include(object) { 18.789 + if (Object.isFunction(this.indexOf)) 18.790 + if (this.indexOf(object) != -1) return true; 18.791 + 18.792 + var found = false; 18.793 + this.each(function(value) { 18.794 + if (value == object) { 18.795 + found = true; 18.796 + throw $break; 18.797 + } 18.798 + }); 18.799 + return found; 18.800 + } 18.801 + 18.802 + function inGroupsOf(number, fillWith) { 18.803 + fillWith = Object.isUndefined(fillWith) ? null : fillWith; 18.804 + return this.eachSlice(number, function(slice) { 18.805 + while(slice.length < number) slice.push(fillWith); 18.806 + return slice; 18.807 + }); 18.808 + } 18.809 + 18.810 + function inject(memo, iterator, context) { 18.811 + this.each(function(value, index) { 18.812 + memo = iterator.call(context, memo, value, index); 18.813 + }); 18.814 + return memo; 18.815 + } 18.816 + 18.817 + function invoke(method) { 18.818 + var args = $A(arguments).slice(1); 18.819 + return this.map(function(value) { 18.820 + return value[method].apply(value, args); 18.821 + }); 18.822 + } 18.823 + 18.824 + function max(iterator, context) { 18.825 + iterator = iterator || Prototype.K; 18.826 + var result; 18.827 + this.each(function(value, index) { 18.828 + value = iterator.call(context, value, index); 18.829 + if (result == null || value >= result) 18.830 + result = value; 18.831 + }); 18.832 + return result; 18.833 + } 18.834 + 18.835 + function min(iterator, context) { 18.836 + iterator = iterator || Prototype.K; 18.837 + var result; 18.838 + this.each(function(value, index) { 18.839 + value = iterator.call(context, value, index); 18.840 + if (result == null || value < result) 18.841 + result = value; 18.842 + }); 18.843 + return result; 18.844 + } 18.845 + 18.846 + function partition(iterator, context) { 18.847 + iterator = iterator || Prototype.K; 18.848 + var trues = [], falses = []; 18.849 + this.each(function(value, index) { 18.850 + (iterator.call(context, value, index) ? 18.851 + trues : falses).push(value); 18.852 + }); 18.853 + return [trues, falses]; 18.854 + } 18.855 + 18.856 + function pluck(property) { 18.857 + var results = []; 18.858 + this.each(function(value) { 18.859 + results.push(value[property]); 18.860 + }); 18.861 + return results; 18.862 + } 18.863 + 18.864 + function reject(iterator, context) { 18.865 + var results = []; 18.866 + this.each(function(value, index) { 18.867 + if (!iterator.call(context, value, index)) 18.868 + results.push(value); 18.869 + }); 18.870 + return results; 18.871 + } 18.872 + 18.873 + function sortBy(iterator, context) { 18.874 + return this.map(function(value, index) { 18.875 + return { 18.876 + value: value, 18.877 + criteria: iterator.call(context, value, index) 18.878 + }; 18.879 + }).sort(function(left, right) { 18.880 + var a = left.criteria, b = right.criteria; 18.881 + return a < b ? -1 : a > b ? 1 : 0; 18.882 + }).pluck('value'); 18.883 + } 18.884 + 18.885 + function toArray() { 18.886 + return this.map(); 18.887 + } 18.888 + 18.889 + function zip() { 18.890 + var iterator = Prototype.K, args = $A(arguments); 18.891 + if (Object.isFunction(args.last())) 18.892 + iterator = args.pop(); 18.893 + 18.894 + var collections = [this].concat(args).map($A); 18.895 + return this.map(function(value, index) { 18.896 + return iterator(collections.pluck(index)); 18.897 + }); 18.898 + } 18.899 + 18.900 + function size() { 18.901 + return this.toArray().length; 18.902 + } 18.903 + 18.904 + function inspect() { 18.905 + return '#<Enumerable:' + this.toArray().inspect() + '>'; 18.906 + } 18.907 + 18.908 + 18.909 + 18.910 + 18.911 + 18.912 + 18.913 + 18.914 + 18.915 + 18.916 + return { 18.917 + each: each, 18.918 + eachSlice: eachSlice, 18.919 + all: all, 18.920 + every: all, 18.921 + any: any, 18.922 + some: any, 18.923 + collect: collect, 18.924 + map: collect, 18.925 + detect: detect, 18.926 + findAll: findAll, 18.927 + select: findAll, 18.928 + filter: findAll, 18.929 + grep: grep, 18.930 + include: include, 18.931 + member: include, 18.932 + inGroupsOf: inGroupsOf, 18.933 + inject: inject, 18.934 + invoke: invoke, 18.935 + max: max, 18.936 + min: min, 18.937 + partition: partition, 18.938 + pluck: pluck, 18.939 + reject: reject, 18.940 + sortBy: sortBy, 18.941 + toArray: toArray, 18.942 + entries: toArray, 18.943 + zip: zip, 18.944 + size: size, 18.945 + inspect: inspect, 18.946 + find: detect 18.947 + }; 18.948 +})(); 18.949 +function $A(iterable) { 18.950 + if (!iterable) return []; 18.951 + if ('toArray' in Object(iterable)) return iterable.toArray(); 18.952 + var length = iterable.length || 0, results = new Array(length); 18.953 + while (length--) results[length] = iterable[length]; 18.954 + return results; 18.955 +} 18.956 + 18.957 +function $w(string) { 18.958 + if (!Object.isString(string)) return []; 18.959 + string = string.strip(); 18.960 + return string ? string.split(/\s+/) : []; 18.961 +} 18.962 + 18.963 +Array.from = $A; 18.964 + 18.965 + 18.966 +(function() { 18.967 + var arrayProto = Array.prototype, 18.968 + slice = arrayProto.slice, 18.969 + _each = arrayProto.forEach; // use native browser JS 1.6 implementation if available 18.970 + 18.971 + function each(iterator) { 18.972 + for (var i = 0, length = this.length; i < length; i++) 18.973 + iterator(this[i]); 18.974 + } 18.975 + if (!_each) _each = each; 18.976 + 18.977 + function clear() { 18.978 + this.length = 0; 18.979 + return this; 18.980 + } 18.981 + 18.982 + function first() { 18.983 + return this[0]; 18.984 + } 18.985 + 18.986 + function last() { 18.987 + return this[this.length - 1]; 18.988 + } 18.989 + 18.990 + function compact() { 18.991 + return this.select(function(value) { 18.992 + return value != null; 18.993 + }); 18.994 + } 18.995 + 18.996 + function flatten() { 18.997 + return this.inject([], function(array, value) { 18.998 + if (Object.isArray(value)) 18.999 + return array.concat(value.flatten()); 18.1000 + array.push(value); 18.1001 + return array; 18.1002 + }); 18.1003 + } 18.1004 + 18.1005 + function without() { 18.1006 + var values = slice.call(arguments, 0); 18.1007 + return this.select(function(value) { 18.1008 + return !values.include(value); 18.1009 + }); 18.1010 + } 18.1011 + 18.1012 + function reverse(inline) { 18.1013 + return (inline !== false ? this : this.toArray())._reverse(); 18.1014 + } 18.1015 + 18.1016 + function uniq(sorted) { 18.1017 + return this.inject([], function(array, value, index) { 18.1018 + if (0 == index || (sorted ? array.last() != value : !array.include(value))) 18.1019 + array.push(value); 18.1020 + return array; 18.1021 + }); 18.1022 + } 18.1023 + 18.1024 + function intersect(array) { 18.1025 + return this.uniq().findAll(function(item) { 18.1026 + return array.detect(function(value) { return item === value }); 18.1027 + }); 18.1028 + } 18.1029 + 18.1030 + 18.1031 + function clone() { 18.1032 + return slice.call(this, 0); 18.1033 + } 18.1034 + 18.1035 + function size() { 18.1036 + return this.length; 18.1037 + } 18.1038 + 18.1039 + function inspect() { 18.1040 + return '[' + this.map(Object.inspect).join(', ') + ']'; 18.1041 + } 18.1042 + 18.1043 + function toJSON() { 18.1044 + var results = []; 18.1045 + this.each(function(object) { 18.1046 + var value = Object.toJSON(object); 18.1047 + if (!Object.isUndefined(value)) results.push(value); 18.1048 + }); 18.1049 + return '[' + results.join(', ') + ']'; 18.1050 + } 18.1051 + 18.1052 + function indexOf(item, i) { 18.1053 + i || (i = 0); 18.1054 + var length = this.length; 18.1055 + if (i < 0) i = length + i; 18.1056 + for (; i < length; i++) 18.1057 + if (this[i] === item) return i; 18.1058 + return -1; 18.1059 + } 18.1060 + 18.1061 + function lastIndexOf(item, i) { 18.1062 + i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; 18.1063 + var n = this.slice(0, i).reverse().indexOf(item); 18.1064 + return (n < 0) ? n : i - n - 1; 18.1065 + } 18.1066 + 18.1067 + function concat() { 18.1068 + var array = slice.call(this, 0), item; 18.1069 + for (var i = 0, length = arguments.length; i < length; i++) { 18.1070 + item = arguments[i]; 18.1071 + if (Object.isArray(item) && !('callee' in item)) { 18.1072 + for (var j = 0, arrayLength = item.length; j < arrayLength; j++) 18.1073 + array.push(item[j]); 18.1074 + } else { 18.1075 + array.push(item); 18.1076 + } 18.1077 + } 18.1078 + return array; 18.1079 + } 18.1080 + 18.1081 + Object.extend(arrayProto, Enumerable); 18.1082 + 18.1083 + if (!arrayProto._reverse) 18.1084 + arrayProto._reverse = arrayProto.reverse; 18.1085 + 18.1086 + Object.extend(arrayProto, { 18.1087 + _each: _each, 18.1088 + clear: clear, 18.1089 + first: first, 18.1090 + last: last, 18.1091 + compact: compact, 18.1092 + flatten: flatten, 18.1093 + without: without, 18.1094 + reverse: reverse, 18.1095 + uniq: uniq, 18.1096 + intersect: intersect, 18.1097 + clone: clone, 18.1098 + toArray: clone, 18.1099 + size: size, 18.1100 + inspect: inspect, 18.1101 + toJSON: toJSON 18.1102 + }); 18.1103 + 18.1104 + var CONCAT_ARGUMENTS_BUGGY = (function() { 18.1105 + return [].concat(arguments)[0][0] !== 1; 18.1106 + })(1,2) 18.1107 + 18.1108 + if (CONCAT_ARGUMENTS_BUGGY) arrayProto.concat = concat; 18.1109 + 18.1110 + if (!arrayProto.indexOf) arrayProto.indexOf = indexOf; 18.1111 + if (!arrayProto.lastIndexOf) arrayProto.lastIndexOf = lastIndexOf; 18.1112 +})(); 18.1113 +function $H(object) { 18.1114 + return new Hash(object); 18.1115 +}; 18.1116 + 18.1117 +var Hash = Class.create(Enumerable, (function() { 18.1118 + function initialize(object) { 18.1119 + this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); 18.1120 + } 18.1121 + 18.1122 + function _each(iterator) { 18.1123 + for (var key in this._object) { 18.1124 + var value = this._object[key], pair = [key, value]; 18.1125 + pair.key = key; 18.1126 + pair.value = value; 18.1127 + iterator(pair); 18.1128 + } 18.1129 + } 18.1130 + 18.1131 + function set(key, value) { 18.1132 + return this._object[key] = value; 18.1133 + } 18.1134 + 18.1135 + function get(key) { 18.1136 + if (this._object[key] !== Object.prototype[key]) 18.1137 + return this._object[key]; 18.1138 + } 18.1139 + 18.1140 + function unset(key) { 18.1141 + var value = this._object[key]; 18.1142 + delete this._object[key]; 18.1143 + return value; 18.1144 + } 18.1145 + 18.1146 + function toObject() { 18.1147 + return Object.clone(this._object); 18.1148 + } 18.1149 + 18.1150 + function keys() { 18.1151 + return this.pluck('key'); 18.1152 + } 18.1153 + 18.1154 + function values() { 18.1155 + return this.pluck('value'); 18.1156 + } 18.1157 + 18.1158 + function index(value) { 18.1159 + var match = this.detect(function(pair) { 18.1160 + return pair.value === value; 18.1161 + }); 18.1162 + return match && match.key; 18.1163 + } 18.1164 + 18.1165 + function merge(object) { 18.1166 + return this.clone().update(object); 18.1167 + } 18.1168 + 18.1169 + function update(object) { 18.1170 + return new Hash(object).inject(this, function(result, pair) { 18.1171 + result.set(pair.key, pair.value); 18.1172 + return result; 18.1173 + }); 18.1174 + } 18.1175 + 18.1176 + function toQueryPair(key, value) { 18.1177 + if (Object.isUndefined(value)) return key; 18.1178 + return key + '=' + encodeURIComponent(String.interpret(value)); 18.1179 + } 18.1180 + 18.1181 + function toQueryString() { 18.1182 + return this.inject([], function(results, pair) { 18.1183 + var key = encodeURIComponent(pair.key), values = pair.value; 18.1184 + 18.1185 + if (values && typeof values == 'object') { 18.1186 + if (Object.isArray(values)) 18.1187 + return results.concat(values.map(toQueryPair.curry(key))); 18.1188 + } else results.push(toQueryPair(key, values)); 18.1189 + return results; 18.1190 + }).join('&'); 18.1191 + } 18.1192 + 18.1193 + function inspect() { 18.1194 + return '#<Hash:{' + this.map(function(pair) { 18.1195 + return pair.map(Object.inspect).join(': '); 18.1196 + }).join(', ') + '}>'; 18.1197 + } 18.1198 + 18.1199 + function toJSON() { 18.1200 + return Object.toJSON(this.toObject()); 18.1201 + } 18.1202 + 18.1203 + function clone() { 18.1204 + return new Hash(this); 18.1205 + } 18.1206 + 18.1207 + return { 18.1208 + initialize: initialize, 18.1209 + _each: _each, 18.1210 + set: set, 18.1211 + get: get, 18.1212 + unset: unset, 18.1213 + toObject: toObject, 18.1214 + toTemplateReplacements: toObject, 18.1215 + keys: keys, 18.1216 + values: values, 18.1217 + index: index, 18.1218 + merge: merge, 18.1219 + update: update, 18.1220 + toQueryString: toQueryString, 18.1221 + inspect: inspect, 18.1222 + toJSON: toJSON, 18.1223 + clone: clone 18.1224 + }; 18.1225 +})()); 18.1226 + 18.1227 +Hash.from = $H; 18.1228 +Object.extend(Number.prototype, (function() { 18.1229 + function toColorPart() { 18.1230 + return this.toPaddedString(2, 16); 18.1231 + } 18.1232 + 18.1233 + function succ() { 18.1234 + return this + 1; 18.1235 + } 18.1236 + 18.1237 + function times(iterator, context) { 18.1238 + $R(0, this, true).each(iterator, context); 18.1239 + return this; 18.1240 + } 18.1241 + 18.1242 + function toPaddedString(length, radix) { 18.1243 + var string = this.toString(radix || 10); 18.1244 + return '0'.times(length - string.length) + string; 18.1245 + } 18.1246 + 18.1247 + function toJSON() { 18.1248 + return isFinite(this) ? this.toString() : 'null'; 18.1249 + } 18.1250 + 18.1251 + function abs() { 18.1252 + return Math.abs(this); 18.1253 + } 18.1254 + 18.1255 + function round() { 18.1256 + return Math.round(this); 18.1257 + } 18.1258 + 18.1259 + function ceil() { 18.1260 + return Math.ceil(this); 18.1261 + } 18.1262 + 18.1263 + function floor() { 18.1264 + return Math.floor(this); 18.1265 + } 18.1266 + 18.1267 + return { 18.1268 + toColorPart: toColorPart, 18.1269 + succ: succ, 18.1270 + times: times, 18.1271 + toPaddedString: toPaddedString, 18.1272 + toJSON: toJSON, 18.1273 + abs: abs, 18.1274 + round: round, 18.1275 + ceil: ceil, 18.1276 + floor: floor 18.1277 + }; 18.1278 +})()); 18.1279 + 18.1280 +function $R(start, end, exclusive) { 18.1281 + return new ObjectRange(start, end, exclusive); 18.1282 +} 18.1283 + 18.1284 +var ObjectRange = Class.create(Enumerable, (function() { 18.1285 + function initialize(start, end, exclusive) { 18.1286 + this.start = start; 18.1287 + this.end = end; 18.1288 + this.exclusive = exclusive; 18.1289 + } 18.1290 + 18.1291 + function _each(iterator) { 18.1292 + var value = this.start; 18.1293 + while (this.include(value)) { 18.1294 + iterator(value); 18.1295 + value = value.succ(); 18.1296 + } 18.1297 + } 18.1298 + 18.1299 + function include(value) { 18.1300 + if (value < this.start) 18.1301 + return false; 18.1302 + if (this.exclusive) 18.1303 + return value < this.end; 18.1304 + return value <= this.end; 18.1305 + } 18.1306 + 18.1307 + return { 18.1308 + initialize: initialize, 18.1309 + _each: _each, 18.1310 + include: include 18.1311 + }; 18.1312 +})()); 18.1313 + 18.1314 + 18.1315 + 18.1316 +var Ajax = { 18.1317 + getTransport: function() { 18.1318 + return Try.these( 18.1319 + function() {return new XMLHttpRequest()}, 18.1320 + function() {return new ActiveXObject('Msxml2.XMLHTTP')}, 18.1321 + function() {return new ActiveXObject('Microsoft.XMLHTTP')} 18.1322 + ) || false; 18.1323 + }, 18.1324 + 18.1325 + activeRequestCount: 0 18.1326 +}; 18.1327 + 18.1328 +Ajax.Responders = { 18.1329 + responders: [], 18.1330 + 18.1331 + _each: function(iterator) { 18.1332 + this.responders._each(iterator); 18.1333 + }, 18.1334 + 18.1335 + register: function(responder) { 18.1336 + if (!this.include(responder)) 18.1337 + this.responders.push(responder); 18.1338 + }, 18.1339 + 18.1340 + unregister: function(responder) { 18.1341 + this.responders = this.responders.without(responder); 18.1342 + }, 18.1343 + 18.1344 + dispatch: function(callback, request, transport, json) { 18.1345 + this.each(function(responder) { 18.1346 + if (Object.isFunction(responder[callback])) { 18.1347 + try { 18.1348 + responder[callback].apply(responder, [request, transport, json]); 18.1349 + } catch (e) { } 18.1350 + } 18.1351 + }); 18.1352 + } 18.1353 +}; 18.1354 + 18.1355 +Object.extend(Ajax.Responders, Enumerable); 18.1356 + 18.1357 +Ajax.Responders.register({ 18.1358 + onCreate: function() { Ajax.activeRequestCount++ }, 18.1359 + onComplete: function() { Ajax.activeRequestCount-- } 18.1360 +}); 18.1361 +Ajax.Base = Class.create({ 18.1362 + initialize: function(options) { 18.1363 + this.options = { 18.1364 + method: 'post', 18.1365 + asynchronous: true, 18.1366 + contentType: 'application/x-www-form-urlencoded', 18.1367 + encoding: 'UTF-8', 18.1368 + parameters: '', 18.1369 + evalJSON: true, 18.1370 + evalJS: true 18.1371 + }; 18.1372 + Object.extend(this.options, options || { }); 18.1373 + 18.1374 + this.options.method = this.options.method.toLowerCase(); 18.1375 + 18.1376 + if (Object.isString(this.options.parameters)) 18.1377 + this.options.parameters = this.options.parameters.toQueryParams(); 18.1378 + else if (Object.isHash(this.options.parameters)) 18.1379 + this.options.parameters = this.options.parameters.toObject(); 18.1380 + } 18.1381 +}); 18.1382 +Ajax.Request = Class.create(Ajax.Base, { 18.1383 + _complete: false, 18.1384 + 18.1385 + initialize: function($super, url, options) { 18.1386 + $super(options); 18.1387 + this.transport = Ajax.getTransport(); 18.1388 + this.request(url); 18.1389 + }, 18.1390 + 18.1391 + request: function(url) { 18.1392 + this.url = url; 18.1393 + this.method = this.options.method; 18.1394 + var params = Object.clone(this.options.parameters); 18.1395 + 18.1396 + if (!['get', 'post'].include(this.method)) { 18.1397 + params['_method'] = this.method; 18.1398 + this.method = 'post'; 18.1399 + } 18.1400 + 18.1401 + this.parameters = params; 18.1402 + 18.1403 + if (params = Object.toQueryString(params)) { 18.1404 + if (this.method == 'get') 18.1405 + this.url += (this.url.include('?') ? '&' : '?') + params; 18.1406 + else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) 18.1407 + params += '&_='; 18.1408 + } 18.1409 + 18.1410 + try { 18.1411 + var response = new Ajax.Response(this); 18.1412 + if (this.options.onCreate) this.options.onCreate(response); 18.1413 + Ajax.Responders.dispatch('onCreate', this, response); 18.1414 + 18.1415 + this.transport.open(this.method.toUpperCase(), this.url, 18.1416 + this.options.asynchronous); 18.1417 + 18.1418 + if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1); 18.1419 + 18.1420 + this.transport.onreadystatechange = this.onStateChange.bind(this); 18.1421 + this.setRequestHeaders(); 18.1422 + 18.1423 + this.body = this.method == 'post' ? (this.options.postBody || params) : null; 18.1424 + this.transport.send(this.body); 18.1425 + 18.1426 + /* Force Firefox to handle ready state 4 for synchronous requests */ 18.1427 + if (!this.options.asynchronous && this.transport.overrideMimeType) 18.1428 + this.onStateChange(); 18.1429 + 18.1430 + } 18.1431 + catch (e) { 18.1432 + this.dispatchException(e); 18.1433 + } 18.1434 + }, 18.1435 + 18.1436 + onStateChange: function() { 18.1437 + var readyState = this.transport.readyState; 18.1438 + if (readyState > 1 && !((readyState == 4) && this._complete)) 18.1439 + this.respondToReadyState(this.transport.readyState); 18.1440 + }, 18.1441 + 18.1442 + setRequestHeaders: function() { 18.1443 + var headers = { 18.1444 + 'X-Requested-With': 'XMLHttpRequest', 18.1445 + 'X-Prototype-Version': Prototype.Version, 18.1446 + 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' 18.1447 + }; 18.1448 + 18.1449 + if (this.method == 'post') { 18.1450 + headers['Content-type'] = this.options.contentType + 18.1451 + (this.options.encoding ? '; charset=' + this.options.encoding : ''); 18.1452 + 18.1453 + /* Force "Connection: close" for older Mozilla browsers to work 18.1454 + * around a bug where XMLHttpRequest sends an incorrect 18.1455 + * Content-length header. See Mozilla Bugzilla #246651. 18.1456 + */ 18.1457 + if (this.transport.overrideMimeType && 18.1458 + (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005) 18.1459 + headers['Connection'] = 'close'; 18.1460 + } 18.1461 + 18.1462 + if (typeof this.options.requestHeaders == 'object') { 18.1463 + var extras = this.options.requestHeaders; 18.1464 + 18.1465 + if (Object.isFunction(extras.push)) 18.1466 + for (var i = 0, length = extras.length; i < length; i += 2) 18.1467 + headers[extras[i]] = extras[i+1]; 18.1468 + else 18.1469 + $H(extras).each(function(pair) { headers[pair.key] = pair.value }); 18.1470 + } 18.1471 + 18.1472 + for (var name in headers) 18.1473 + this.transport.setRequestHeader(name, headers[name]); 18.1474 + }, 18.1475 + 18.1476 + success: function() { 18.1477 + var status = this.getStatus(); 18.1478 + return !status || (status >= 200 && status < 300); 18.1479 + }, 18.1480 + 18.1481 + getStatus: function() { 18.1482 + try { 18.1483 + return this.transport.status || 0; 18.1484 + } catch (e) { return 0 } 18.1485 + }, 18.1486 + 18.1487 + respondToReadyState: function(readyState) { 18.1488 + var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this); 18.1489 + 18.1490 + if (state == 'Complete') { 18.1491 + try { 18.1492 + this._complete = true; 18.1493 + (this.options['on' + response.status] 18.1494 + || this.options['on' + (this.success() ? 'Success' : 'Failure')] 18.1495 + || Prototype.emptyFunction)(response, response.headerJSON); 18.1496 + } catch (e) { 18.1497 + this.dispatchException(e); 18.1498 + } 18.1499 + 18.1500 + var contentType = response.getHeader('Content-type'); 18.1501 + if (this.options.evalJS == 'force' 18.1502 + || (this.options.evalJS && this.isSameOrigin() && contentType 18.1503 + && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) 18.1504 + this.evalResponse(); 18.1505 + } 18.1506 + 18.1507 + try { 18.1508 + (this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON); 18.1509 + Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON); 18.1510 + } catch (e) { 18.1511 + this.dispatchException(e); 18.1512 + } 18.1513 + 18.1514 + if (state == 'Complete') { 18.1515 + this.transport.onreadystatechange = Prototype.emptyFunction; 18.1516 + } 18.1517 + }, 18.1518 + 18.1519 + isSameOrigin: function() { 18.1520 + var m = this.url.match(/^\s*https?:\/\/[^\/]*/); 18.1521 + return !m || (m[0] == '#{protocol}//#{domain}#{port}'.interpolate({ 18.1522 + protocol: location.protocol, 18.1523 + domain: document.domain, 18.1524 + port: location.port ? ':' + location.port : '' 18.1525 + })); 18.1526 + }, 18.1527 + 18.1528 + getHeader: function(name) { 18.1529 + try { 18.1530 + return this.transport.getResponseHeader(name) || null; 18.1531 + } catch (e) { return null; } 18.1532 + }, 18.1533 + 18.1534 + evalResponse: function() { 18.1535 + try { 18.1536 + return eval((this.transport.responseText || '').unfilterJSON()); 18.1537 + } catch (e) { 18.1538 + this.dispatchException(e); 18.1539 + } 18.1540 + }, 18.1541 + 18.1542 + dispatchException: function(exception) { 18.1543 + (this.options.onException || Prototype.emptyFunction)(this, exception); 18.1544 + Ajax.Responders.dispatch('onException', this, exception); 18.1545 + } 18.1546 +}); 18.1547 + 18.1548 +Ajax.Request.Events = 18.1549 + ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; 18.1550 + 18.1551 + 18.1552 + 18.1553 + 18.1554 + 18.1555 + 18.1556 + 18.1557 + 18.1558 +Ajax.Response = Class.create({ 18.1559 + initialize: function(request){ 18.1560 + this.request = request; 18.1561 + var transport = this.transport = request.transport, 18.1562 + readyState = this.readyState = transport.readyState; 18.1563 + 18.1564 + if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { 18.1565 + this.status = this.getStatus(); 18.1566 + this.statusText = this.getStatusText(); 18.1567 + this.responseText = String.interpret(transport.responseText); 18.1568 + this.headerJSON = this._getHeaderJSON(); 18.1569 + } 18.1570 + 18.1571 + if(readyState == 4) { 18.1572 + var xml = transport.responseXML; 18.1573 + this.responseXML = Object.isUndefined(xml) ? null : xml; 18.1574 + this.responseJSON = this._getResponseJSON(); 18.1575 + } 18.1576 + }, 18.1577 + 18.1578 + status: 0, 18.1579 + 18.1580 + statusText: '', 18.1581 + 18.1582 + getStatus: Ajax.Request.prototype.getStatus, 18.1583 + 18.1584 + getStatusText: function() { 18.1585 + try { 18.1586 + return this.transport.statusText || ''; 18.1587 + } catch (e) { return '' } 18.1588 + }, 18.1589 + 18.1590 + getHeader: Ajax.Request.prototype.getHeader, 18.1591 + 18.1592 + getAllHeaders: function() { 18.1593 + try { 18.1594 + return this.getAllResponseHeaders(); 18.1595 + } catch (e) { return null } 18.1596 + }, 18.1597 + 18.1598 + getResponseHeader: function(name) { 18.1599 + return this.transport.getResponseHeader(name); 18.1600 + }, 18.1601 + 18.1602 + getAllResponseHeaders: function() { 18.1603 + return this.transport.getAllResponseHeaders(); 18.1604 + }, 18.1605 + 18.1606 + _getHeaderJSON: function() { 18.1607 + var json = this.getHeader('X-JSON'); 18.1608 + if (!json) return null; 18.1609 + json = decodeURIComponent(escape(json)); 18.1610 + try { 18.1611 + return json.evalJSON(this.request.options.sanitizeJSON || 18.1612 + !this.request.isSameOrigin()); 18.1613 + } catch (e) { 18.1614 + this.request.dispatchException(e); 18.1615 + } 18.1616 + }, 18.1617 + 18.1618 + _getResponseJSON: function() { 18.1619 + var options = this.request.options; 18.1620 + if (!options.evalJSON || (options.evalJSON != 'force' && 18.1621 + !(this.getHeader('Content-type') || '').include('application/json')) || 18.1622 + this.responseText.blank()) 18.1623 + return null; 18.1624 + try { 18.1625 + return this.responseText.evalJSON(options.sanitizeJSON || 18.1626 + !this.request.isSameOrigin()); 18.1627 + } catch (e) { 18.1628 + this.request.dispatchException(e); 18.1629 + } 18.1630 + } 18.1631 +}); 18.1632 + 18.1633 +Ajax.Updater = Class.create(Ajax.Request, { 18.1634 + initialize: function($super, container, url, options) { 18.1635 + this.container = { 18.1636 + success: (container.success || container), 18.1637 + failure: (container.failure || (container.success ? null : container)) 18.1638 + }; 18.1639 + 18.1640 + options = Object.clone(options); 18.1641 + var onComplete = options.onComplete; 18.1642 + options.onComplete = (function(response, json) { 18.1643 + this.updateContent(response.responseText); 18.1644 + if (Object.isFunction(onComplete)) onComplete(response, json); 18.1645 + }).bind(this); 18.1646 + 18.1647 + $super(url, options); 18.1648 + }, 18.1649 + 18.1650 + updateContent: function(responseText) { 18.1651 + var receiver = this.container[this.success() ? 'success' : 'failure'], 18.1652 + options = this.options; 18.1653 + 18.1654 + if (!options.evalScripts) responseText = responseText.stripScripts(); 18.1655 + 18.1656 + if (receiver = $(receiver)) { 18.1657 + if (options.insertion) { 18.1658 + if (Object.isString(options.insertion)) { 18.1659 + var insertion = { }; insertion[options.insertion] = responseText; 18.1660 + receiver.insert(insertion); 18.1661 + } 18.1662 + else options.insertion(receiver, responseText); 18.1663 + } 18.1664 + else receiver.update(responseText); 18.1665 + } 18.1666 + } 18.1667 +}); 18.1668 + 18.1669 +Ajax.PeriodicalUpdater = Class.create(Ajax.Base, { 18.1670 + initialize: function($super, container, url, options) { 18.1671 + $super(options); 18.1672 + this.onComplete = this.options.onComplete; 18.1673 + 18.1674 + this.frequency = (this.options.frequency || 2); 18.1675 + this.decay = (this.options.decay || 1); 18.1676 + 18.1677 + this.updater = { }; 18.1678 + this.container = container; 18.1679 + this.url = url; 18.1680 + 18.1681 + this.start(); 18.1682 + }, 18.1683 + 18.1684 + start: function() { 18.1685 + this.options.onComplete = this.updateComplete.bind(this); 18.1686 + this.onTimerEvent(); 18.1687 + }, 18.1688 + 18.1689 + stop: function() { 18.1690 + this.updater.options.onComplete = undefined; 18.1691 + clearTimeout(this.timer); 18.1692 + (this.onComplete || Prototype.emptyFunction).apply(this, arguments); 18.1693 + }, 18.1694 + 18.1695 + updateComplete: function(response) { 18.1696 + if (this.options.decay) { 18.1697 + this.decay = (response.responseText == this.lastText ? 18.1698 + this.decay * this.options.decay : 1); 18.1699 + 18.1700 + this.lastText = response.responseText; 18.1701 + } 18.1702 + this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency); 18.1703 + }, 18.1704 + 18.1705 + onTimerEvent: function() { 18.1706 + this.updater = new Ajax.Updater(this.container, this.url, this.options); 18.1707 + } 18.1708 +}); 18.1709 + 18.1710 + 18.1711 + 18.1712 +function $(element) { 18.1713 + if (arguments.length > 1) { 18.1714 + for (var i = 0, elements = [], length = arguments.length; i < length; i++) 18.1715 + elements.push($(arguments[i])); 18.1716 + return elements; 18.1717 + } 18.1718 + if (Object.isString(element)) 18.1719 + element = document.getElementById(element); 18.1720 + return Element.extend(element); 18.1721 +} 18.1722 + 18.1723 +if (Prototype.BrowserFeatures.XPath) { 18.1724 + document._getElementsByXPath = function(expression, parentElement) { 18.1725 + var results = []; 18.1726 + var query = document.evaluate(expression, $(parentElement) || document, 18.1727 + null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); 18.1728 + for (var i = 0, length = query.snapshotLength; i < length; i++) 18.1729 + results.push(Element.extend(query.snapshotItem(i))); 18.1730 + return results; 18.1731 + }; 18.1732 +} 18.1733 + 18.1734 +/*--------------------------------------------------------------------------*/ 18.1735 + 18.1736 +if (!window.Node) var Node = { }; 18.1737 + 18.1738 +if (!Node.ELEMENT_NODE) { 18.1739 + Object.extend(Node, { 18.1740 + ELEMENT_NODE: 1, 18.1741 + ATTRIBUTE_NODE: 2, 18.1742 + TEXT_NODE: 3, 18.1743 + CDATA_SECTION_NODE: 4, 18.1744 + ENTITY_REFERENCE_NODE: 5, 18.1745 + ENTITY_NODE: 6, 18.1746 + PROCESSING_INSTRUCTION_NODE: 7, 18.1747 + COMMENT_NODE: 8, 18.1748 + DOCUMENT_NODE: 9, 18.1749 + DOCUMENT_TYPE_NODE: 10, 18.1750 + DOCUMENT_FRAGMENT_NODE: 11, 18.1751 + NOTATION_NODE: 12 18.1752 + }); 18.1753 +} 18.1754 + 18.1755 + 18.1756 +(function(global) { 18.1757 + 18.1758 + var SETATTRIBUTE_IGNORES_NAME = (function(){ 18.1759 + var elForm = document.createElement("form"); 18.1760 + var elInput = document.createElement("input"); 18.1761 + var root = document.documentElement; 18.1762 + elInput.setAttribute("name", "test"); 18.1763 + elForm.appendChild(elInput); 18.1764 + root.appendChild(elForm); 18.1765 + var isBuggy = elForm.elements 18.1766 + ? (typeof elForm.elements.test == "undefined") 18.1767 + : null; 18.1768 + root.removeChild(elForm); 18.1769 + elForm = elInput = null; 18.1770 + return isBuggy; 18.1771 + })(); 18.1772 + 18.1773 + var element = global.Element; 18.1774 + global.Element = function(tagName, attributes) { 18.1775 + attributes = attributes || { }; 18.1776 + tagName = tagName.toLowerCase(); 18.1777 + var cache = Element.cache; 18.1778 + if (SETATTRIBUTE_IGNORES_NAME && attributes.name) { 18.1779 + tagName = '<' + tagName + ' name="' + attributes.name + '">'; 18.1780 + delete attributes.name; 18.1781 + return Element.writeAttribute(document.createElement(tagName), attributes); 18.1782 + } 18.1783 + if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName)); 18.1784 + return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); 18.1785 + }; 18.1786 + Object.extend(global.Element, element || { }); 18.1787 + if (element) global.Element.prototype = element.prototype; 18.1788 +})(this); 18.1789 + 18.1790 +Element.cache = { }; 18.1791 +Element.idCounter = 1; 18.1792 + 18.1793 +Element.Methods = { 18.1794 + visible: function(element) { 18.1795 + return $(element).style.display != 'none'; 18.1796 + }, 18.1797 + 18.1798 + toggle: function(element) { 18.1799 + element = $(element); 18.1800 + Element[Element.visible(element) ? 'hide' : 'show'](element); 18.1801 + return element; 18.1802 + }, 18.1803 + 18.1804 + 18.1805 + hide: function(element) { 18.1806 + element = $(element); 18.1807 + element.style.display = 'none'; 18.1808 + return element; 18.1809 + }, 18.1810 + 18.1811 + show: function(element) { 18.1812 + element = $(element); 18.1813 + element.style.display = ''; 18.1814 + return element; 18.1815 + }, 18.1816 + 18.1817 + remove: function(element) { 18.1818 + element = $(element); 18.1819 + element.parentNode.removeChild(element); 18.1820 + return element; 18.1821 + }, 18.1822 + 18.1823 + update: (function(){ 18.1824 + 18.1825 + var SELECT_ELEMENT_INNERHTML_BUGGY = (function(){ 18.1826 + var el = document.createElement("select"), 18.1827 + isBuggy = true; 18.1828 + el.innerHTML = "<option value=\"test\">test</option>"; 18.1829 + if (el.options && el.options[0]) { 18.1830 + isBuggy = el.options[0].nodeName.toUpperCase() !== "OPTION"; 18.1831 + } 18.1832 + el = null; 18.1833 + return isBuggy; 18.1834 + })(); 18.1835 + 18.1836 + var TABLE_ELEMENT_INNERHTML_BUGGY = (function(){ 18.1837 + try { 18.1838 + var el = document.createElement("table"); 18.1839 + if (el && el.tBodies) { 18.1840 + el.innerHTML = "<tbody><tr><td>test</td></tr></tbody>"; 18.1841 + var isBuggy = typeof el.tBodies[0] == "undefined"; 18.1842 + el = null; 18.1843 + return isBuggy; 18.1844 + } 18.1845 + } catch (e) { 18.1846 + return true; 18.1847 + } 18.1848 + })(); 18.1849 + 18.1850 + var SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING = (function () { 18.1851 + var s = document.createElement("script"), 18.1852 + isBuggy = false; 18.1853 + try { 18.1854 + s.appendChild(document.createTextNode("")); 18.1855 + isBuggy = !s.firstChild || 18.1856 + s.firstChild && s.firstChild.nodeType !== 3; 18.1857 + } catch (e) { 18.1858 + isBuggy = true; 18.1859 + } 18.1860 + s = null; 18.1861 + return isBuggy; 18.1862 + })(); 18.1863 + 18.1864 + function update(element, content) { 18.1865 + element = $(element); 18.1866 + 18.1867 + if (content && content.toElement) 18.1868 + content = content.toElement(); 18.1869 + 18.1870 + if (Object.isElement(content)) 18.1871 + return element.update().insert(content); 18.1872 + 18.1873 + content = Object.toHTML(content); 18.1874 + 18.1875 + var tagName = element.tagName.toUpperCase(); 18.1876 + 18.1877 + if (tagName === 'SCRIPT' && SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING) { 18.1878 + element.text = content; 18.1879 + return element; 18.1880 + } 18.1881 + 18.1882 + if (SELECT_ELEMENT_INNERHTML_BUGGY || TABLE_ELEMENT_INNERHTML_BUGGY) { 18.1883 + if (tagName in Element._insertionTranslations.tags) { 18.1884 + while (element.firstChild) { 18.1885 + element.removeChild(element.firstChild); 18.1886 + } 18.1887 + Element._getContentFromAnonymousElement(tagName, content.stripScripts()) 18.1888 + .each(function(node) { 18.1889 + element.appendChild(node) 18.1890 + }); 18.1891 + } 18.1892 + else { 18.1893 + element.innerHTML = content.stripScripts(); 18.1894 + } 18.1895 + } 18.1896 + else { 18.1897 + element.innerHTML = content.stripScripts(); 18.1898 + } 18.1899 + 18.1900 + content.evalScripts.bind(content).defer(); 18.1901 + return element; 18.1902 + } 18.1903 + 18.1904 + return update; 18.1905 + })(), 18.1906 + 18.1907 + replace: function(element, content) { 18.1908 + element = $(element); 18.1909 + if (content && content.toElement) content = content.toElement(); 18.1910 + else if (!Object.isElement(content)) { 18.1911 + content = Object.toHTML(content); 18.1912 + var range = element.ownerDocument.createRange(); 18.1913 + range.selectNode(element); 18.1914 + content.evalScripts.bind(content).defer(); 18.1915 + content = range.createContextualFragment(content.stripScripts()); 18.1916 + } 18.1917 + element.parentNode.replaceChild(content, element); 18.1918 + return element; 18.1919 + }, 18.1920 + 18.1921 + insert: function(element, insertions) { 18.1922 + element = $(element); 18.1923 + 18.1924 + if (Object.isString(insertions) || Object.isNumber(insertions) || 18.1925 + Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) 18.1926 + insertions = {bottom:insertions}; 18.1927 + 18.1928 + var content, insert, tagName, childNodes; 18.1929 + 18.1930 + for (var position in insertions) { 18.1931 + content = insertions[position]; 18.1932 + position = position.toLowerCase(); 18.1933 + insert = Element._insertionTranslations[position]; 18.1934 + 18.1935 + if (content && content.toElement) content = content.toElement(); 18.1936 + if (Object.isElement(content)) { 18.1937 + insert(element, content); 18.1938 + continue; 18.1939 + } 18.1940 + 18.1941 + content = Object.toHTML(content); 18.1942 + 18.1943 + tagName = ((position == 'before' || position == 'after') 18.1944 + ? element.parentNode : element).tagName.toUpperCase(); 18.1945 + 18.1946 + childNodes = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); 18.1947 + 18.1948 + if (position == 'top' || position == 'after') childNodes.reverse(); 18.1949 + childNodes.each(insert.curry(element)); 18.1950 + 18.1951 + content.evalScripts.bind(content).defer(); 18.1952 + } 18.1953 + 18.1954 + return element; 18.1955 + }, 18.1956 + 18.1957 + wrap: function(element, wrapper, attributes) { 18.1958 + element = $(element); 18.1959 + if (Object.isElement(wrapper)) 18.1960 + $(wrapper).writeAttribute(attributes || { }); 18.1961 + else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); 18.1962 + else wrapper = new Element('div', wrapper); 18.1963 + if (element.parentNode) 18.1964 + element.parentNode.replaceChild(wrapper, element); 18.1965 + wrapper.appendChild(element); 18.1966 + return wrapper; 18.1967 + }, 18.1968 + 18.1969 + inspect: function(element) { 18.1970 + element = $(element); 18.1971 + var result = '<' + element.tagName.toLowerCase(); 18.1972 + $H({'id': 'id', 'className': 'class'}).each(function(pair) { 18.1973 + var property = pair.first(), attribute = pair.last(); 18.1974 + var value = (element[property] || '').toString(); 18.1975 + if (value) result += ' ' + attribute + '=' + value.inspect(true); 18.1976 + }); 18.1977 + return result + '>'; 18.1978 + }, 18.1979 + 18.1980 + recursivelyCollect: function(element, property) { 18.1981 + element = $(element); 18.1982 + var elements = []; 18.1983 + while (element = element[property]) 18.1984 + if (element.nodeType == 1) 18.1985 + elements.push(Element.extend(element)); 18.1986 + return elements; 18.1987 + }, 18.1988 + 18.1989 + ancestors: function(element) { 18.1990 + return Element.recursivelyCollect(element, 'parentNode'); 18.1991 + }, 18.1992 + 18.1993 + descendants: function(element) { 18.1994 + return Element.select(element, "*"); 18.1995 + }, 18.1996 + 18.1997 + firstDescendant: function(element) { 18.1998 + element = $(element).firstChild; 18.1999 + while (element && element.nodeType != 1) element = element.nextSibling; 18.2000 + return $(element); 18.2001 + }, 18.2002 + 18.2003 + immediateDescendants: function(element) { 18.2004 + if (!(element = $(element).firstChild)) return []; 18.2005 + while (element && element.nodeType != 1) element = element.nextSibling; 18.2006 + if (element) return [element].concat($(element).nextSiblings()); 18.2007 + return []; 18.2008 + }, 18.2009 + 18.2010 + previousSiblings: function(element) { 18.2011 + return Element.recursivelyCollect(element, 'previousSibling'); 18.2012 + }, 18.2013 + 18.2014 + nextSiblings: function(element) { 18.2015 + return Element.recursivelyCollect(element, 'nextSibling'); 18.2016 + }, 18.2017 + 18.2018 + siblings: function(element) { 18.2019 + element = $(element); 18.2020 + return Element.previousSiblings(element).reverse() 18.2021 + .concat(Element.nextSiblings(element)); 18.2022 + }, 18.2023 + 18.2024 + match: function(element, selector) { 18.2025 + if (Object.isString(selector)) 18.2026 + selector = new Selector(selector); 18.2027 + return selector.match($(element)); 18.2028 + }, 18.2029 + 18.2030 + up: function(element, expression, index) { 18.2031 + element = $(element); 18.2032 + if (arguments.length == 1) return $(element.parentNode); 18.2033 + var ancestors = Element.ancestors(element); 18.2034 + return Object.isNumber(expression) ? ancestors[expression] : 18.2035 + Selector.findElement(ancestors, expression, index); 18.2036 + }, 18.2037 + 18.2038 + down: function(element, expression, index) { 18.2039 + element = $(element); 18.2040 + if (arguments.length == 1) return Element.firstDescendant(element); 18.2041 + return Object.isNumber(expression) ? Element.descendants(element)[expression] : 18.2042 + Element.select(element, expression)[index || 0]; 18.2043 + }, 18.2044 + 18.2045 + previous: function(element, expression, index) { 18.2046 + element = $(element); 18.2047 + if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); 18.2048 + var previousSiblings = Element.previousSiblings(element); 18.2049 + return Object.isNumber(expression) ? previousSiblings[expression] : 18.2050 + Selector.findElement(previousSiblings, expression, index); 18.2051 + }, 18.2052 + 18.2053 + next: function(element, expression, index) { 18.2054 + element = $(element); 18.2055 + if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element)); 18.2056 + var nextSiblings = Element.nextSiblings(element); 18.2057 + return Object.isNumber(expression) ? nextSiblings[expression] : 18.2058 + Selector.findElement(nextSiblings, expression, index); 18.2059 + }, 18.2060 + 18.2061 + 18.2062 + select: function(element) { 18.2063 + var args = Array.prototype.slice.call(arguments, 1); 18.2064 + return Selector.findChildElements(element, args); 18.2065 + }, 18.2066 + 18.2067 + adjacent: function(element) { 18.2068 + var args = Array.prototype.slice.call(arguments, 1); 18.2069 + return Selector.findChildElements(element.parentNode, args).without(element); 18.2070 + }, 18.2071 + 18.2072 + identify: function(element) { 18.2073 + element = $(element); 18.2074 + var id = Element.readAttribute(element, 'id'); 18.2075 + if (id) return id; 18.2076 + do { id = 'anonymous_element_' + Element.idCounter++ } while ($(id)); 18.2077 + Element.writeAttribute(element, 'id', id); 18.2078 + return id; 18.2079 + }, 18.2080 + 18.2081 + readAttribute: function(element, name) { 18.2082 + element = $(element); 18.2083 + if (Prototype.Browser.IE) { 18.2084 + var t = Element._attributeTranslations.read; 18.2085 + if (t.values[name]) return t.values[name](element, name); 18.2086 + if (t.names[name]) name = t.names[name]; 18.2087 + if (name.include(':')) { 18.2088 + return (!element.attributes || !element.attributes[name]) ? null : 18.2089 + element.attributes[name].value; 18.2090 + } 18.2091 + } 18.2092 + return element.getAttribute(name); 18.2093 + }, 18.2094 + 18.2095 + writeAttribute: function(element, name, value) { 18.2096 + element = $(element); 18.2097 + var attributes = { }, t = Element._attributeTranslations.write; 18.2098 + 18.2099 + if (typeof name == 'object') attributes = name; 18.2100 + else attributes[name] = Object.isUndefined(value) ? true : value; 18.2101 + 18.2102 + for (var attr in attributes) { 18.2103 + name = t.names[attr] || attr; 18.2104 + value = attributes[attr]; 18.2105 + if (t.values[attr]) name = t.values[attr](element, value); 18.2106 + if (value === false || value === null) 18.2107 + element.removeAttribute(name); 18.2108 + else if (value === true) 18.2109 + element.setAttribute(name, name); 18.2110 + else element.setAttribute(name, value); 18.2111 + } 18.2112 + return element; 18.2113 + }, 18.2114 + 18.2115 + getHeight: function(element) { 18.2116 + return Element.getDimensions(element).height; 18.2117 + }, 18.2118 + 18.2119 + getWidth: function(element) { 18.2120 + return Element.getDimensions(element).width; 18.2121 + }, 18.2122 + 18.2123 + classNames: function(element) { 18.2124 + return new Element.ClassNames(element); 18.2125 + }, 18.2126 + 18.2127 + hasClassName: function(element, className) { 18.2128 + if (!(element = $(element))) return; 18.2129 + var elementClassName = element.className; 18.2130 + return (elementClassName.length > 0 && (elementClassName == className || 18.2131 + new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); 18.2132 + }, 18.2133 + 18.2134 + addClassName: function(element, className) { 18.2135 + if (!(element = $(element))) return; 18.2136 + if (!Element.hasClassName(element, className)) 18.2137 + element.className += (element.className ? ' ' : '') + className; 18.2138 + return element; 18.2139 + }, 18.2140 + 18.2141 + removeClassName: function(element, className) { 18.2142 + if (!(element = $(element))) return; 18.2143 + element.className = element.className.replace( 18.2144 + new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip(); 18.2145 + return element; 18.2146 + }, 18.2147 + 18.2148 + toggleClassName: function(element, className) { 18.2149 + if (!(element = $(element))) return; 18.2150 + return Element[Element.hasClassName(element, className) ? 18.2151 + 'removeClassName' : 'addClassName'](element, className); 18.2152 + }, 18.2153 + 18.2154 + cleanWhitespace: function(element) { 18.2155 + element = $(element); 18.2156 + var node = element.firstChild; 18.2157 + while (node) { 18.2158 + var nextNode = node.nextSibling; 18.2159 + if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) 18.2160 + element.removeChild(node); 18.2161 + node = nextNode; 18.2162 + } 18.2163 + return element; 18.2164 + }, 18.2165 + 18.2166 + empty: function(element) { 18.2167 + return $(element).innerHTML.blank(); 18.2168 + }, 18.2169 + 18.2170 + descendantOf: function(element, ancestor) { 18.2171 + element = $(element), ancestor = $(ancestor); 18.2172 + 18.2173 + if (element.compareDocumentPosition) 18.2174 + return (element.compareDocumentPosition(ancestor) & 8) === 8; 18.2175 + 18.2176 + if (ancestor.contains) 18.2177 + return ancestor.contains(element) && ancestor !== element; 18.2178 + 18.2179 + while (element = element.parentNode) 18.2180 + if (element == ancestor) return true; 18.2181 + 18.2182 + return false; 18.2183 + }, 18.2184 + 18.2185 + scrollTo: function(element) { 18.2186 + element = $(element); 18.2187 + var pos = Element.cumulativeOffset(element); 18.2188 + window.scrollTo(pos[0], pos[1]); 18.2189 + return element; 18.2190 + }, 18.2191 + 18.2192 + getStyle: function(element, style) { 18.2193 + element = $(element); 18.2194 + style = style == 'float' ? 'cssFloat' : style.camelize(); 18.2195 + var value = element.style[style]; 18.2196 + if (!value || value == 'auto') { 18.2197 + var css = document.defaultView.getComputedStyle(element, null); 18.2198 + value = css ? css[style] : null; 18.2199 + } 18.2200 + if (style == 'opacity') return value ? parseFloat(value) : 1.0; 18.2201 + return value == 'auto' ? null : value; 18.2202 + }, 18.2203 + 18.2204 + getOpacity: function(element) { 18.2205 + return $(element).getStyle('opacity'); 18.2206 + }, 18.2207 + 18.2208 + setStyle: function(element, styles) { 18.2209 + element = $(element); 18.2210 + var elementStyle = element.style, match; 18.2211 + if (Object.isString(styles)) { 18.2212 + element.style.cssText += ';' + styles; 18.2213 + return styles.include('opacity') ? 18.2214 + element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element; 18.2215 + } 18.2216 + for (var property in styles) 18.2217 + if (property == 'opacity') element.setOpacity(styles[property]); 18.2218 + else 18.2219 + elementStyle[(property == 'float' || property == 'cssFloat') ? 18.2220 + (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : 'styleFloat') : 18.2221 + property] = styles[property]; 18.2222 + 18.2223 + return element; 18.2224 + }, 18.2225 + 18.2226 + setOpacity: function(element, value) { 18.2227 + element = $(element); 18.2228 + element.style.opacity = (value == 1 || value === '') ? '' : 18.2229 + (value < 0.00001) ? 0 : value; 18.2230 + return element; 18.2231 + }, 18.2232 + 18.2233 + getDimensions: function(element) { 18.2234 + element = $(element); 18.2235 + var display = Element.getStyle(element, 'display'); 18.2236 + if (display != 'none' && display != null) // Safari bug 18.2237 + return {width: element.offsetWidth, height: element.offsetHeight}; 18.2238 + 18.2239 + var els = element.style; 18.2240 + var originalVisibility = els.visibility; 18.2241 + var originalPosition = els.position; 18.2242 + var originalDisplay = els.display; 18.2243 + els.visibility = 'hidden'; 18.2244 + if (originalPosition != 'fixed') // Switching fixed to absolute causes issues in Safari 18.2245 + els.position = 'absolute'; 18.2246 + els.display = 'block'; 18.2247 + var originalWidth = element.clientWidth; 18.2248 + var originalHeight = element.clientHeight; 18.2249 + els.display = originalDisplay; 18.2250 + els.position = originalPosition; 18.2251 + els.visibility = originalVisibility; 18.2252 + return {width: originalWidth, height: originalHeight}; 18.2253 + }, 18.2254 + 18.2255 + makePositioned: function(element) { 18.2256 + element = $(element); 18.2257 + var pos = Element.getStyle(element, 'position'); 18.2258 + if (pos == 'static' || !pos) { 18.2259 + element._madePositioned = true; 18.2260 + element.style.position = 'relative'; 18.2261 + if (Prototype.Browser.Opera) { 18.2262 + element.style.top = 0; 18.2263 + element.style.left = 0; 18.2264 + } 18.2265 + } 18.2266 + return element; 18.2267 + }, 18.2268 + 18.2269 + undoPositioned: function(element) { 18.2270 + element = $(element); 18.2271 + if (element._madePositioned) { 18.2272 + element._madePositioned = undefined; 18.2273 + element.style.position = 18.2274 + element.style.top = 18.2275 + element.style.left = 18.2276 + element.style.bottom = 18.2277 + element.style.right = ''; 18.2278 + } 18.2279 + return element; 18.2280 + }, 18.2281 + 18.2282 + makeClipping: function(element) { 18.2283 + element = $(element); 18.2284 + if (element._overflow) return element; 18.2285 + element._overflow = Element.getStyle(element, 'overflow') || 'auto'; 18.2286 + if (element._overflow !== 'hidden') 18.2287 + element.style.overflow = 'hidden'; 18.2288 + return element; 18.2289 + }, 18.2290 + 18.2291 + undoClipping: function(element) { 18.2292 + element = $(element); 18.2293 + if (!element._overflow) return element; 18.2294 + element.style.overflow = element._overflow == 'auto' ? '' : element._overflow; 18.2295 + element._overflow = null; 18.2296 + return element; 18.2297 + }, 18.2298 + 18.2299 + cumulativeOffset: function(element) { 18.2300 + var valueT = 0, valueL = 0; 18.2301 + do { 18.2302 + valueT += element.offsetTop || 0; 18.2303 + valueL += element.offsetLeft || 0; 18.2304 + element = element.offsetParent; 18.2305 + } while (element); 18.2306 + return Element._returnOffset(valueL, valueT); 18.2307 + }, 18.2308 + 18.2309 + positionedOffset: function(element) { 18.2310 + var valueT = 0, valueL = 0; 18.2311 + do { 18.2312 + valueT += element.offsetTop || 0; 18.2313 + valueL += element.offsetLeft || 0; 18.2314 + element = element.offsetParent; 18.2315 + if (element) { 18.2316 + if (element.tagName.toUpperCase() == 'BODY') break; 18.2317 + var p = Element.getStyle(element, 'position'); 18.2318 + if (p !== 'static') break; 18.2319 + } 18.2320 + } while (element); 18.2321 + return Element._returnOffset(valueL, valueT); 18.2322 + }, 18.2323 + 18.2324 + absolutize: function(element) { 18.2325 + element = $(element); 18.2326 + if (Element.getStyle(element, 'position') == 'absolute') return element; 18.2327 + 18.2328 + var offsets = Element.positionedOffset(element); 18.2329 + var top = offsets[1]; 18.2330 + var left = offsets[0]; 18.2331 + var width = element.clientWidth; 18.2332 + var height = element.clientHeight; 18.2333 + 18.2334 + element._originalLeft = left - parseFloat(element.style.left || 0); 18.2335 + element._originalTop = top - parseFloat(element.style.top || 0); 18.2336 + element._originalWidth = element.style.width; 18.2337 + element._originalHeight = element.style.height; 18.2338 + 18.2339 + element.style.position = 'absolute'; 18.2340 + element.style.top = top + 'px'; 18.2341 + element.style.left = left + 'px'; 18.2342 + element.style.width = width + 'px'; 18.2343 + element.style.height = height + 'px'; 18.2344 + return element; 18.2345 + }, 18.2346 + 18.2347 + relativize: function(element) { 18.2348 + element = $(element); 18.2349 + if (Element.getStyle(element, 'position') == 'relative') return element; 18.2350 + 18.2351 + element.style.position = 'relative'; 18.2352 + var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); 18.2353 + var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); 18.2354 + 18.2355 + element.style.top = top + 'px'; 18.2356 + element.style.left = left + 'px'; 18.2357 + element.style.height = element._originalHeight; 18.2358 + element.style.width = element._originalWidth; 18.2359 + return element; 18.2360 + }, 18.2361 + 18.2362 + cumulativeScrollOffset: function(element) { 18.2363 + var valueT = 0, valueL = 0; 18.2364 + do { 18.2365 + valueT += element.scrollTop || 0; 18.2366 + valueL += element.scrollLeft || 0; 18.2367 + element = element.parentNode; 18.2368 + } while (element); 18.2369 + return Element._returnOffset(valueL, valueT); 18.2370 + }, 18.2371 + 18.2372 + getOffsetParent: function(element) { 18.2373 + if (element.offsetParent) return $(element.offsetParent); 18.2374 + if (element == document.body) return $(element); 18.2375 + 18.2376 + while ((element = element.parentNode) && element != document.body) 18.2377 + if (Element.getStyle(element, 'position') != 'static') 18.2378 + return $(element); 18.2379 + 18.2380 + return $(document.body); 18.2381 + }, 18.2382 + 18.2383 + viewportOffset: function(forElement) { 18.2384 + var valueT = 0, valueL = 0; 18.2385 + 18.2386 + var element = forElement; 18.2387 + do { 18.2388 + valueT += element.offsetTop || 0; 18.2389 + valueL += element.offsetLeft || 0; 18.2390 + 18.2391 + if (element.offsetParent == document.body && 18.2392 + Element.getStyle(element, 'position') == 'absolute') break; 18.2393 + 18.2394 + } while (element = element.offsetParent); 18.2395 + 18.2396 + element = forElement; 18.2397 + do { 18.2398 + if (!Prototype.Browser.Opera || (element.tagName && (element.tagName.toUpperCase() == 'BODY'))) { 18.2399 + valueT -= element.scrollTop || 0; 18.2400 + valueL -= element.scrollLeft || 0; 18.2401 + } 18.2402 + } while (element = element.parentNode); 18.2403 + 18.2404 + return Element._returnOffset(valueL, valueT); 18.2405 + }, 18.2406 + 18.2407 + clonePosition: function(element, source) { 18.2408 + var options = Object.extend({ 18.2409 + setLeft: true, 18.2410 + setTop: true, 18.2411 + setWidth: true, 18.2412 + setHeight: true, 18.2413 + offsetTop: 0, 18.2414 + offsetLeft: 0 18.2415 + }, arguments[2] || { }); 18.2416 + 18.2417 + source = $(source); 18.2418 + var p = Element.viewportOffset(source); 18.2419 + 18.2420 + element = $(element); 18.2421 + var delta = [0, 0]; 18.2422 + var parent = null; 18.2423 + if (Element.getStyle(element, 'position') == 'absolute') { 18.2424 + parent = Element.getOffsetParent(element); 18.2425 + delta = Element.viewportOffset(parent); 18.2426 + } 18.2427 + 18.2428 + if (parent == document.body) { 18.2429 + delta[0] -= document.body.offsetLeft; 18.2430 + delta[1] -= document.body.offsetTop; 18.2431 + } 18.2432 + 18.2433 + if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; 18.2434 + if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; 18.2435 + if (options.setWidth) element.style.width = source.offsetWidth + 'px'; 18.2436 + if (options.setHeight) element.style.height = source.offsetHeight + 'px'; 18.2437 + return element; 18.2438 + } 18.2439 +}; 18.2440 + 18.2441 +Object.extend(Element.Methods, { 18.2442 + getElementsBySelector: Element.Methods.select, 18.2443 + 18.2444 + childElements: Element.Methods.immediateDescendants 18.2445 +}); 18.2446 + 18.2447 +Element._attributeTranslations = { 18.2448 + write: { 18.2449 + names: { 18.2450 + className: 'class', 18.2451 + htmlFor: 'for' 18.2452 + }, 18.2453 + values: { } 18.2454 + } 18.2455 +}; 18.2456 + 18.2457 +if (Prototype.Browser.Opera) { 18.2458 + Element.Methods.getStyle = Element.Methods.getStyle.wrap( 18.2459 + function(proceed, element, style) { 18.2460 + switch (style) { 18.2461 + case 'left': case 'top': case 'right': case 'bottom': 18.2462 + if (proceed(element, 'position') === 'static') return null; 18.2463 + case 'height': case 'width': 18.2464 + if (!Element.visible(element)) return null; 18.2465 + 18.2466 + var dim = parseInt(proceed(element, style), 10); 18.2467 + 18.2468 + if (dim !== element['offset' + style.capitalize()]) 18.2469 + return dim + 'px'; 18.2470 + 18.2471 + var properties; 18.2472 + if (style === 'height') { 18.2473 + properties = ['border-top-width', 'padding-top', 18.2474 + 'padding-bottom', 'border-bottom-width']; 18.2475 + } 18.2476 + else { 18.2477 + properties = ['border-left-width', 'padding-left', 18.2478 + 'padding-right', 'border-right-width']; 18.2479 + } 18.2480 + return properties.inject(dim, function(memo, property) { 18.2481 + var val = proceed(element, property); 18.2482 + return val === null ? memo : memo - parseInt(val, 10); 18.2483 + }) + 'px'; 18.2484 + default: return proceed(element, style); 18.2485 + } 18.2486 + } 18.2487 + ); 18.2488 + 18.2489 + Element.Methods.readAttribute = Element.Methods.readAttribute.wrap( 18.2490 + function(proceed, element, attribute) { 18.2491 + if (attribute === 'title') return element.title; 18.2492 + return proceed(element, attribute); 18.2493 + } 18.2494 + ); 18.2495 +} 18.2496 + 18.2497 +else if (Prototype.Browser.IE) { 18.2498 + Element.Methods.getOffsetParent = Element.Methods.getOffsetParent.wrap( 18.2499 + function(proceed, element) { 18.2500 + element = $(element); 18.2501 + try { element.offsetParent } 18.2502 + catch(e) { return $(document.body) } 18.2503 + var position = element.getStyle('position'); 18.2504 + if (position !== 'static') return proceed(element); 18.2505 + element.setStyle({ position: 'relative' }); 18.2506 + var value = proceed(element); 18.2507 + element.setStyle({ position: position }); 18.2508 + return value; 18.2509 + } 18.2510 + ); 18.2511 + 18.2512 + $w('positionedOffset viewportOffset').each(function(method) { 18.2513 + Element.Methods[method] = Element.Methods[method].wrap( 18.2514 + function(proceed, element) { 18.2515 + element = $(element); 18.2516 + try { element.offsetParent } 18.2517 + catch(e) { return Element._returnOffset(0,0) } 18.2518 + var position = element.getStyle('position'); 18.2519 + if (position !== 'static') return proceed(element); 18.2520 + var offsetParent = element.getOffsetParent(); 18.2521 + if (offsetParent && offsetParent.getStyle('position') === 'fixed') 18.2522 + offsetParent.setStyle({ zoom: 1 }); 18.2523 + element.setStyle({ position: 'relative' }); 18.2524 + var value = proceed(element); 18.2525 + element.setStyle({ position: position }); 18.2526 + return value; 18.2527 + } 18.2528 + ); 18.2529 + }); 18.2530 + 18.2531 + Element.Methods.cumulativeOffset = Element.Methods.cumulativeOffset.wrap( 18.2532 + function(proceed, element) { 18.2533 + try { element.offsetParent } 18.2534 + catch(e) { return Element._returnOffset(0,0) } 18.2535 + return proceed(element); 18.2536 + } 18.2537 + ); 18.2538 + 18.2539 + Element.Methods.getStyle = function(element, style) { 18.2540 + element = $(element); 18.2541 + style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); 18.2542 + var value = element.style[style]; 18.2543 + if (!value && element.currentStyle) value = element.currentStyle[style]; 18.2544 + 18.2545 + if (style == 'opacity') { 18.2546 + if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/)) 18.2547 + if (value[1]) return parseFloat(value[1]) / 100; 18.2548 + return 1.0; 18.2549 + } 18.2550 + 18.2551 + if (value == 'auto') { 18.2552 + if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none')) 18.2553 + return element['offset' + style.capitalize()] + 'px'; 18.2554 + return null; 18.2555 + } 18.2556 + return value; 18.2557 + }; 18.2558 + 18.2559 + Element.Methods.setOpacity = function(element, value) { 18.2560 + function stripAlpha(filter){ 18.2561 + return filter.replace(/alpha\([^\)]*\)/gi,''); 18.2562 + } 18.2563 + element = $(element); 18.2564 + var currentStyle = element.currentStyle; 18.2565 + if ((currentStyle && !currentStyle.hasLayout) || 18.2566 + (!currentStyle && element.style.zoom == 'normal')) 18.2567 + element.style.zoom = 1; 18.2568 + 18.2569 + var filter = element.getStyle('filter'), style = element.style; 18.2570 + if (value == 1 || value === '') { 18.2571 + (filter = stripAlpha(filter)) ? 18.2572 + style.filter = filter : style.removeAttribute('filter'); 18.2573 + return element; 18.2574 + } else if (value < 0.00001) value = 0; 18.2575 + style.filter = stripAlpha(filter) + 18.2576 + 'alpha(opacity=' + (value * 100) + ')'; 18.2577 + return element; 18.2578 + }; 18.2579 + 18.2580 + Element._attributeTranslations = (function(){ 18.2581 + 18.2582 + var classProp = 'className'; 18.2583 + var forProp = 'for'; 18.2584 + 18.2585 + var el = document.createElement('div'); 18.2586 + 18.2587 + el.setAttribute(classProp, 'x'); 18.2588 + 18.2589 + if (el.className !== 'x') { 18.2590 + el.setAttribute('class', 'x'); 18.2591 + if (el.className === 'x') { 18.2592 + classProp = 'class'; 18.2593 + } 18.2594 + } 18.2595 + el = null; 18.2596 + 18.2597 + el = document.createElement('label'); 18.2598 + el.setAttribute(forProp, 'x'); 18.2599 + if (el.htmlFor !== 'x') { 18.2600 + el.setAttribute('htmlFor', 'x'); 18.2601 + if (el.htmlFor === 'x') { 18.2602 + forProp = 'htmlFor'; 18.2603 + } 18.2604 + } 18.2605 + el = null; 18.2606 + 18.2607 + return { 18.2608 + read: { 18.2609 + names: { 18.2610 + 'class': classProp, 18.2611 + 'className': classProp, 18.2612 + 'for': forProp, 18.2613 + 'htmlFor': forProp 18.2614 + }, 18.2615 + values: { 18.2616 + _getAttr: function(element, attribute) { 18.2617 + return element.getAttribute(attribute); 18.2618 + }, 18.2619 + _getAttr2: function(element, attribute) { 18.2620 + return element.getAttribute(attribute, 2); 18.2621 + }, 18.2622 + _getAttrNode: function(element, attribute) { 18.2623 + var node = element.getAttributeNode(attribute); 18.2624 + return node ? node.value : ""; 18.2625 + }, 18.2626 + _getEv: (function(){ 18.2627 + 18.2628 + var el = document.createElement('div'); 18.2629 + el.onclick = Prototype.emptyFunction; 18.2630 + var value = el.getAttribute('onclick'); 18.2631 + var f; 18.2632 + 18.2633 + if (String(value).indexOf('{') > -1) { 18.2634 + f = function(element, attribute) { 18.2635 + attribute = element.getAttribute(attribute); 18.2636 + if (!attribute) return null; 18.2637 + attribute = attribute.toString(); 18.2638 + attribute = attribute.split('{')[1]; 18.2639 + attribute = attribute.split('}')[0]; 18.2640 + return attribute.strip(); 18.2641 + }; 18.2642 + } 18.2643 + else if (value === '') { 18.2644 + f = function(element, attribute) { 18.2645 + attribute = element.getAttribute(attribute); 18.2646 + if (!attribute) return null; 18.2647 + return attribute.strip(); 18.2648 + }; 18.2649 + } 18.2650 + el = null; 18.2651 + return f; 18.2652 + })(), 18.2653 + _flag: function(element, attribute) { 18.2654 + return $(element).hasAttribute(attribute) ? attribute : null; 18.2655 + }, 18.2656 + style: function(element) { 18.2657 + return element.style.cssText.toLowerCase(); 18.2658 + }, 18.2659 + title: function(element) { 18.2660 + return element.title; 18.2661 + } 18.2662 + } 18.2663 + } 18.2664 + } 18.2665 + })(); 18.2666 + 18.2667 + Element._attributeTranslations.write = { 18.2668 + names: Object.extend({ 18.2669 + cellpadding: 'cellPadding', 18.2670 + cellspacing: 'cellSpacing' 18.2671 + }, Element._attributeTranslations.read.names), 18.2672 + values: { 18.2673 + checked: function(element, value) { 18.2674 + element.checked = !!value; 18.2675 + }, 18.2676 + 18.2677 + style: function(element, value) { 18.2678 + element.style.cssText = value ? value : ''; 18.2679 + } 18.2680 + } 18.2681 + }; 18.2682 + 18.2683 + Element._attributeTranslations.has = {}; 18.2684 + 18.2685 + $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' + 18.2686 + 'encType maxLength readOnly longDesc frameBorder').each(function(attr) { 18.2687 + Element._attributeTranslations.write.names[attr.toLowerCase()] = attr; 18.2688 + Element._attributeTranslations.has[attr.toLowerCase()] = attr; 18.2689 + }); 18.2690 + 18.2691 + (function(v) { 18.2692 + Object.extend(v, { 18.2693 + href: v._getAttr2, 18.2694 + src: v._getAttr2, 18.2695 + type: v._getAttr, 18.2696 + action: v._getAttrNode, 18.2697 + disabled: v._flag, 18.2698 + checked: v._flag, 18.2699 + readonly: v._flag, 18.2700 + multiple: v._flag, 18.2701 + onload: v._getEv, 18.2702 + onunload: v._getEv, 18.2703 + onclick: v._getEv, 18.2704 + ondblclick: v._getEv, 18.2705 + onmousedown: v._getEv, 18.2706 + onmouseup: v._getEv, 18.2707 + onmouseover: v._getEv, 18.2708 + onmousemove: v._getEv, 18.2709 + onmouseout: v._getEv, 18.2710 + onfocus: v._getEv, 18.2711 + onblur: v._getEv, 18.2712 + onkeypress: v._getEv, 18.2713 + onkeydown: v._getEv, 18.2714 + onkeyup: v._getEv, 18.2715 + onsubmit: v._getEv, 18.2716 + onreset: v._getEv, 18.2717 + onselect: v._getEv, 18.2718 + onchange: v._getEv 18.2719 + }); 18.2720 + })(Element._attributeTranslations.read.values); 18.2721 + 18.2722 + if (Prototype.BrowserFeatures.ElementExtensions) { 18.2723 + (function() { 18.2724 + function _descendants(element) { 18.2725 + var nodes = element.getElementsByTagName('*'), results = []; 18.2726 + for (var i = 0, node; node = nodes[i]; i++) 18.2727 + if (node.tagName !== "!") // Filter out comment nodes. 18.2728 + results.push(node); 18.2729 + return results; 18.2730 + } 18.2731 + 18.2732 + Element.Methods.down = function(element, expression, index) { 18.2733 + element = $(element); 18.2734 + if (arguments.length == 1) return element.firstDescendant(); 18.2735 + return Object.isNumber(expression) ? _descendants(element)[expression] : 18.2736 + Element.select(element, expression)[index || 0]; 18.2737 + } 18.2738 + })(); 18.2739 + } 18.2740 + 18.2741 +} 18.2742 + 18.2743 +else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) { 18.2744 + Element.Methods.setOpacity = function(element, value) { 18.2745 + element = $(element); 18.2746 + element.style.opacity = (value == 1) ? 0.999999 : 18.2747 + (value === '') ? '' : (value < 0.00001) ? 0 : value; 18.2748 + return element; 18.2749 + }; 18.2750 +} 18.2751 + 18.2752 +else if (Prototype.Browser.WebKit) { 18.2753 + Element.Methods.setOpacity = function(element, value) { 18.2754 + element = $(element); 18.2755 + element.style.opacity = (value == 1 || value === '') ? '' : 18.2756 + (value < 0.00001) ? 0 : value; 18.2757 + 18.2758 + if (value == 1) 18.2759 + if(element.tagName.toUpperCase() == 'IMG' && element.width) { 18.2760 + element.width++; element.width--; 18.2761 + } else try { 18.2762 + var n = document.createTextNode(' '); 18.2763 + element.appendChild(n); 18.2764 + element.removeChild(n); 18.2765 + } catch (e) { } 18.2766 + 18.2767 + return element; 18.2768 + }; 18.2769 + 18.2770 + Element.Methods.cumulativeOffset = function(element) { 18.2771 + var valueT = 0, valueL = 0; 18.2772 + do { 18.2773 + valueT += element.offsetTop || 0; 18.2774 + valueL += element.offsetLeft || 0; 18.2775 + if (element.offsetParent == document.body) 18.2776 + if (Element.getStyle(element, 'position') == 'absolute') break; 18.2777 + 18.2778 + element = element.offsetParent; 18.2779 + } while (element); 18.2780 + 18.2781 + return Element._returnOffset(valueL, valueT); 18.2782 + }; 18.2783 +} 18.2784 + 18.2785 +if ('outerHTML' in document.documentElement) { 18.2786 + Element.Methods.replace = function(element, content) { 18.2787 + element = $(element); 18.2788 + 18.2789 + if (content && content.toElement) content = content.toElement(); 18.2790 + if (Object.isElement(content)) { 18.2791 + element.parentNode.replaceChild(content, element); 18.2792 + return element; 18.2793 + } 18.2794 + 18.2795 + content = Object.toHTML(content); 18.2796 + var parent = element.parentNode, tagName = parent.tagName.toUpperCase(); 18.2797 + 18.2798 + if (Element._insertionTranslations.tags[tagName]) { 18.2799 + var nextSibling = element.next(); 18.2800 + var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); 18.2801 + parent.removeChild(element); 18.2802 + if (nextSibling) 18.2803 + fragments.each(function(node) { parent.insertBefore(node, nextSibling) }); 18.2804 + else 18.2805 + fragments.each(function(node) { parent.appendChild(node) }); 18.2806 + } 18.2807 + else element.outerHTML = content.stripScripts(); 18.2808 + 18.2809 + content.evalScripts.bind(content).defer(); 18.2810 + return element; 18.2811 + }; 18.2812 +} 18.2813 + 18.2814 +Element._returnOffset = function(l, t) { 18.2815 + var result = [l, t]; 18.2816 + result.left = l; 18.2817 + result.top = t; 18.2818 + return result; 18.2819 +}; 18.2820 + 18.2821 +Element._getContentFromAnonymousElement = function(tagName, html) { 18.2822 + var div = new Element('div'), t = Element._insertionTranslations.tags[tagName]; 18.2823 + if (t) { 18.2824 + div.innerHTML = t[0] + html + t[1]; 18.2825 + t[2].times(function() { div = div.firstChild }); 18.2826 + } else div.innerHTML = html; 18.2827 + return $A(div.childNodes); 18.2828 +}; 18.2829 + 18.2830 +Element._insertionTranslations = { 18.2831 + before: function(element, node) { 18.2832 + element.parentNode.insertBefore(node, element); 18.2833 + }, 18.2834 + top: function(element, node) { 18.2835 + element.insertBefore(node, element.firstChild); 18.2836 + }, 18.2837 + bottom: function(element, node) { 18.2838 + element.appendChild(node); 18.2839 + }, 18.2840 + after: function(element, node) { 18.2841 + element.parentNode.insertBefore(node, element.nextSibling); 18.2842 + }, 18.2843 + tags: { 18.2844 + TABLE: ['<table>', '</table>', 1], 18.2845 + TBODY: ['<table><tbody>', '</tbody></table>', 2], 18.2846 + TR: ['<table><tbody><tr>', '</tr></tbody></table>', 3], 18.2847 + TD: ['<table><tbody><tr><td>', '</td></tr></tbody></table>', 4], 18.2848 + SELECT: ['<select>', '</select>', 1] 18.2849 + } 18.2850 +}; 18.2851 + 18.2852 +(function() { 18.2853 + var tags = Element._insertionTranslations.tags; 18.2854 + Object.extend(tags, { 18.2855 + THEAD: tags.TBODY, 18.2856 + TFOOT: tags.TBODY, 18.2857 + TH: tags.TD 18.2858 + }); 18.2859 +})(); 18.2860 + 18.2861 +Element.Methods.Simulated = { 18.2862 + hasAttribute: function(element, attribute) { 18.2863 + attribute = Element._attributeTranslations.has[attribute] || attribute; 18.2864 + var node = $(element).getAttributeNode(attribute); 18.2865 + return !!(node && node.specified); 18.2866 + } 18.2867 +}; 18.2868 + 18.2869 +Element.Methods.ByTag = { }; 18.2870 + 18.2871 +Object.extend(Element, Element.Methods); 18.2872 + 18.2873 +(function(div) { 18.2874 + 18.2875 + if (!Prototype.BrowserFeatures.ElementExtensions && div['__proto__']) { 18.2876 + window.HTMLElement = { }; 18.2877 + window.HTMLElement.prototype = div['__proto__']; 18.2878 + Prototype.BrowserFeatures.ElementExtensions = true; 18.2879 + } 18.2880 + 18.2881 + div = null; 18.2882 + 18.2883 +})(document.createElement('div')) 18.2884 + 18.2885 +Element.extend = (function() { 18.2886 + 18.2887 + function checkDeficiency(tagName) { 18.2888 + if (typeof window.Element != 'undefined') { 18.2889 + var proto = window.Element.prototype; 18.2890 + if (proto) { 18.2891 + var id = '_' + (Math.random()+'').slice(2); 18.2892 + var el = document.createElement(tagName); 18.2893 + proto[id] = 'x'; 18.2894 + var isBuggy = (el[id] !== 'x'); 18.2895 + delete proto[id]; 18.2896 + el = null; 18.2897 + return isBuggy; 18.2898 + } 18.2899 + } 18.2900 + return false; 18.2901 + } 18.2902 + 18.2903 + function extendElementWith(element, methods) { 18.2904 + for (var property in methods) { 18.2905 + var value = methods[property]; 18.2906 + if (Object.isFunction(value) && !(property in element)) 18.2907 + element[property] = value.methodize(); 18.2908 + } 18.2909 + } 18.2910 + 18.2911 + var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkDeficiency('object'); 18.2912 + 18.2913 + if (Prototype.BrowserFeatures.SpecificElementExtensions) { 18.2914 + if (HTMLOBJECTELEMENT_PROTOTYPE_BUGGY) { 18.2915 + return function(element) { 18.2916 + if (element && typeof element._extendedByPrototype == 'undefined') { 18.2917 + var t = element.tagName; 18.2918 + if (t && (/^(?:object|applet|embed)$/i.test(t))) { 18.2919 + extendElementWith(element, Element.Methods); 18.2920 + extendElementWith(element, Element.Methods.Simulated); 18.2921 + extendElementWith(element, Element.Methods.ByTag[t.toUpperCase()]); 18.2922 + } 18.2923 + } 18.2924 + return element; 18.2925 + } 18.2926 + } 18.2927 + return Prototype.K; 18.2928 + } 18.2929 + 18.2930 + var Methods = { }, ByTag = Element.Methods.ByTag; 18.2931 + 18.2932 + var extend = Object.extend(function(element) { 18.2933 + if (!element || typeof element._extendedByPrototype != 'undefined' || 18.2934 + element.nodeType != 1 || element == window) return element; 18.2935 + 18.2936 + var methods = Object.clone(Methods), 18.2937 + tagName = element.tagName.toUpperCase(); 18.2938 + 18.2939 + if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]); 18.2940 + 18.2941 + extendElementWith(element, methods); 18.2942 + 18.2943 + element._extendedByPrototype = Prototype.emptyFunction; 18.2944 + return element; 18.2945 + 18.2946 + }, { 18.2947 + refresh: function() { 18.2948 + if (!Prototype.BrowserFeatures.ElementExtensions) { 18.2949 + Object.extend(Methods, Element.Methods); 18.2950 + Object.extend(Methods, Element.Methods.Simulated); 18.2951 + } 18.2952 + } 18.2953 + }); 18.2954 + 18.2955 + extend.refresh(); 18.2956 + return extend; 18.2957 +})(); 18.2958 + 18.2959 +Element.hasAttribute = function(element, attribute) { 18.2960 + if (element.hasAttribute) return element.hasAttribute(attribute); 18.2961 + return Element.Methods.Simulated.hasAttribute(element, attribute); 18.2962 +}; 18.2963 + 18.2964 +Element.addMethods = function(methods) { 18.2965 + var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag; 18.2966 + 18.2967 + if (!methods) { 18.2968 + Object.extend(Form, Form.Methods); 18.2969 + Object.extend(Form.Element, Form.Element.Methods); 18.2970 + Object.extend(Element.Methods.ByTag, { 18.2971 + "FORM": Object.clone(Form.Methods), 18.2972 + "INPUT": Object.clone(Form.Element.Methods), 18.2973 + "SELECT": Object.clone(Form.Element.Methods), 18.2974 + "TEXTAREA": Object.clone(Form.Element.Methods) 18.2975 + }); 18.2976 + } 18.2977 + 18.2978 + if (arguments.length == 2) { 18.2979 + var tagName = methods; 18.2980 + methods = arguments[1]; 18.2981 + } 18.2982 + 18.2983 + if (!tagName) Object.extend(Element.Methods, methods || { }); 18.2984 + else { 18.2985 + if (Object.isArray(tagName)) tagName.each(extend); 18.2986 + else extend(tagName); 18.2987 + } 18.2988 + 18.2989 + function extend(tagName) { 18.2990 + tagName = tagName.toUpperCase(); 18.2991 + if (!Element.Methods.ByTag[tagName]) 18.2992 + Element.Methods.ByTag[tagName] = { }; 18.2993 + Object.extend(Element.Methods.ByTag[tagName], methods); 18.2994 + } 18.2995 + 18.2996 + function copy(methods, destination, onlyIfAbsent) { 18.2997 + onlyIfAbsent = onlyIfAbsent || false; 18.2998 + for (var property in methods) { 18.2999 + var value = methods[property]; 18.3000 + if (!Object.isFunction(value)) continue; 18.3001 + if (!onlyIfAbsent || !(property in destination)) 18.3002 + destination[property] = value.methodize(); 18.3003 + } 18.3004 + } 18.3005 + 18.3006 + function findDOMClass(tagName) { 18.3007 + var klass; 18.3008 + var trans = { 18.3009 + "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph", 18.3010 + "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList", 18.3011 + "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading", 18.3012 + "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote", 18.3013 + "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION": 18.3014 + "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD": 18.3015 + "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR": 18.3016 + "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET": 18.3017 + "FrameSet", "IFRAME": "IFrame" 18.3018 + }; 18.3019 + if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element'; 18.3020 + if (window[klass]) return window[klass]; 18.3021 + klass = 'HTML' + tagName + 'Element'; 18.3022 + if (window[klass]) return window[klass]; 18.3023 + klass = 'HTML' + tagName.capitalize() + 'Element'; 18.3024 + if (window[klass]) return window[klass]; 18.3025 + 18.3026 + var element = document.createElement(tagName); 18.3027 + var proto = element['__proto__'] || element.constructor.prototype; 18.3028 + element = null; 18.3029 + return proto; 18.3030 + } 18.3031 + 18.3032 + var elementPrototype = window.HTMLElement ? HTMLElement.prototype : 18.3033 + Element.prototype; 18.3034 + 18.3035 + if (F.ElementExtensions) { 18.3036 + copy(Element.Methods, elementPrototype); 18.3037 + copy(Element.Methods.Simulated, elementPrototype, true); 18.3038 + } 18.3039 + 18.3040 + if (F.SpecificElementExtensions) { 18.3041 + for (var tag in Element.Methods.ByTag) { 18.3042 + var klass = findDOMClass(tag); 18.3043 + if (Object.isUndefined(klass)) continue; 18.3044 + copy(T[tag], klass.prototype); 18.3045 + } 18.3046 + } 18.3047 + 18.3048 + Object.extend(Element, Element.Methods); 18.3049 + delete Element.ByTag; 18.3050 + 18.3051 + if (Element.extend.refresh) Element.extend.refresh(); 18.3052 + Element.cache = { }; 18.3053 +}; 18.3054 + 18.3055 + 18.3056 +document.viewport = { 18.3057 + 18.3058 + getDimensions: function() { 18.3059 + return { width: this.getWidth(), height: this.getHeight() }; 18.3060 + }, 18.3061 + 18.3062 + getScrollOffsets: function() { 18.3063 + return Element._returnOffset( 18.3064 + window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, 18.3065 + window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); 18.3066 + } 18.3067 +}; 18.3068 + 18.3069 +(function(viewport) { 18.3070 + var B = Prototype.Browser, doc = document, element, property = {}; 18.3071 + 18.3072 + function getRootElement() { 18.3073 + if (B.WebKit && !doc.evaluate) 18.3074 + return document; 18.3075 + 18.3076 + if (B.Opera && window.parseFloat(window.opera.version()) < 9.5) 18.3077 + return document.body; 18.3078 + 18.3079 + return document.documentElement; 18.3080 + } 18.3081 + 18.3082 + function define(D) { 18.3083 + if (!element) element = getRootElement(); 18.3084 + 18.3085 + property[D] = 'client' + D; 18.3086 + 18.3087 + viewport['get' + D] = function() { return element[property[D]] }; 18.3088 + return viewport['get' + D](); 18.3089 + } 18.3090 + 18.3091 + viewport.getWidth = define.curry('Width'); 18.3092 + 18.3093 + viewport.getHeight = define.curry('Height'); 18.3094 +})(document.viewport); 18.3095 + 18.3096 + 18.3097 +Element.Storage = { 18.3098 + UID: 1 18.3099 +}; 18.3100 + 18.3101 +Element.addMethods({ 18.3102 + getStorage: function(element) { 18.3103 + if (!(element = $(element))) return; 18.3104 + 18.3105 + var uid; 18.3106 + if (element === window) { 18.3107 + uid = 0; 18.3108 + } else { 18.3109 + if (typeof element._prototypeUID === "undefined") 18.3110 + element._prototypeUID = [Element.Storage.UID++]; 18.3111 + uid = element._prototypeUID[0]; 18.3112 + } 18.3113 + 18.3114 + if (!Element.Storage[uid]) 18.3115 + Element.Storage[uid] = $H(); 18.3116 + 18.3117 + return Element.Storage[uid]; 18.3118 + }, 18.3119 + 18.3120 + store: function(element, key, value) { 18.3121 + if (!(element = $(element))) return; 18.3122 + 18.3123 + if (arguments.length === 2) { 18.3124 + Element.getStorage(element).update(key); 18.3125 + } else { 18.3126 + Element.getStorage(element).set(key, value); 18.3127 + } 18.3128 + 18.3129 + return element; 18.3130 + }, 18.3131 + 18.3132 + retrieve: function(element, key, defaultValue) { 18.3133 + if (!(element = $(element))) return; 18.3134 + var hash = Element.getStorage(element), value = hash.get(key); 18.3135 + 18.3136 + if (Object.isUndefined(value)) { 18.3137 + hash.set(key, defaultValue); 18.3138 + value = defaultValue; 18.3139 + } 18.3140 + 18.3141 + return value; 18.3142 + }, 18.3143 + 18.3144 + clone: function(element, deep) { 18.3145 + if (!(element = $(element))) return; 18.3146 + var clone = element.cloneNode(deep); 18.3147 + clone._prototypeUID = void 0; 18.3148 + if (deep) { 18.3149 + var descendants = Element.select(clone, '*'), 18.3150 + i = descendants.length; 18.3151 + while (i--) { 18.3152 + descendants[i]._prototypeUID = void 0; 18.3153 + } 18.3154 + } 18.3155 + return Element.extend(clone); 18.3156 + } 18.3157 +}); 18.3158 +/* Portions of the Selector class are derived from Jack Slocum's DomQuery, 18.3159 + * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style 18.3160 + * license. Please see http://www.yui-ext.com/ for more information. */ 18.3161 + 18.3162 +var Selector = Class.create({ 18.3163 + initialize: function(expression) { 18.3164 + this.expression = expression.strip(); 18.3165 + 18.3166 + if (this.shouldUseSelectorsAPI()) { 18.3167 + this.mode = 'selectorsAPI'; 18.3168 + } else if (this.shouldUseXPath()) { 18.3169 + this.mode = 'xpath'; 18.3170 + this.compileXPathMatcher(); 18.3171 + } else { 18.3172 + this.mode = "normal"; 18.3173 + this.compileMatcher(); 18.3174 + } 18.3175 + 18.3176 + }, 18.3177 + 18.3178 + shouldUseXPath: (function() { 18.3179 + 18.3180 + var IS_DESCENDANT_SELECTOR_BUGGY = (function(){ 18.3181 + var isBuggy = false; 18.3182 + if (document.evaluate && window.XPathResult) { 18.3183 + var el = document.createElement('div'); 18.3184 + el.innerHTML = '<ul><li></li></ul><div><ul><li></li></ul></div>'; 18.3185 + 18.3186 + var xpath = ".//*[local-name()='ul' or local-name()='UL']" + 18.3187 + "//*[local-name()='li' or local-name()='LI']"; 18.3188 + 18.3189 + var result = document.evaluate(xpath, el, null, 18.3190 + XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); 18.3191 + 18.3192 + isBuggy = (result.snapshotLength !== 2); 18.3193 + el = null; 18.3194 + } 18.3195 + return isBuggy; 18.3196 + })(); 18.3197 + 18.3198 + return function() { 18.3199 + if (!Prototype.BrowserFeatures.XPath) return false; 18.3200 + 18.3201 + var e = this.expression; 18.3202 + 18.3203 + if (Prototype.Browser.WebKit && 18.3204 + (e.include("-of-type") || e.include(":empty"))) 18.3205 + return false; 18.3206 + 18.3207 + if ((/(\[[\w-]*?:|:checked)/).test(e)) 18.3208 + return false; 18.3209 + 18.3210 + if (IS_DESCENDANT_SELECTOR_BUGGY) return false; 18.3211 + 18.3212 + return true; 18.3213 + } 18.3214 + 18.3215 + })(), 18.3216 + 18.3217 + shouldUseSelectorsAPI: function() { 18.3218 + if (!Prototype.BrowserFeatures.SelectorsAPI) return false; 18.3219 + 18.3220 + if (Selector.CASE_INSENSITIVE_CLASS_NAMES) return false; 18.3221 + 18.3222 + if (!Selector._div) Selector._div = new Element('div'); 18.3223 + 18.3224 + try { 18.3225 + Selector._div.querySelector(this.expression); 18.3226 + } catch(e) { 18.3227 + return false; 18.3228 + } 18.3229 + 18.3230 + return true; 18.3231 + }, 18.3232 + 18.3233 + compileMatcher: function() { 18.3234 + var e = this.expression, ps = Selector.patterns, h = Selector.handlers, 18.3235 + c = Selector.criteria, le, p, m, len = ps.length, name; 18.3236 + 18.3237 + if (Selector._cache[e]) { 18.3238 + this.matcher = Selector._cache[e]; 18.3239 + return; 18.3240 + } 18.3241 + 18.3242 + this.matcher = ["this.matcher = function(root) {", 18.3243 + "var r = root, h = Selector.handlers, c = false, n;"]; 18.3244 + 18.3245 + while (e && le != e && (/\S/).test(e)) { 18.3246 + le = e; 18.3247 + for (var i = 0; i<len; i++) { 18.3248 + p = ps[i].re; 18.3249 + name = ps[i].name; 18.3250 + if (m = e.match(p)) { 18.3251 + this.matcher.push(Object.isFunction(c[name]) ? c[name](m) : 18.3252 + new Template(c[name]).evaluate(m)); 18.3253 + e = e.replace(m[0], ''); 18.3254 + break; 18.3255 + } 18.3256 + } 18.3257 + } 18.3258 + 18.3259 + this.matcher.push("return h.unique(n);\n}"); 18.3260 + eval(this.matcher.join('\n')); 18.3261 + Selector._cache[this.expression] = this.matcher; 18.3262 + }, 18.3263 + 18.3264 + compileXPathMatcher: function() { 18.3265 + var e = this.expression, ps = Selector.patterns, 18.3266 + x = Selector.xpath, le, m, len = ps.length, name; 18.3267 + 18.3268 + if (Selector._cache[e]) { 18.3269 + this.xpath = Selector._cache[e]; return; 18.3270 + } 18.3271 + 18.3272 + this.matcher = ['.//*']; 18.3273 + while (e && le != e && (/\S/).test(e)) { 18.3274 + le = e; 18.3275 + for (var i = 0; i<len; i++) { 18.3276 + name = ps[i].name; 18.3277 + if (m = e.match(ps[i].re)) { 18.3278 + this.matcher.push(Object.isFunction(x[name]) ? x[name](m) : 18.3279 + new Template(x[name]).evaluate(m)); 18.3280 + e = e.replace(m[0], ''); 18.3281 + break; 18.3282 + } 18.3283 + } 18.3284 + } 18.3285 + 18.3286 + this.xpath = this.matcher.join(''); 18.3287 + Selector._cache[this.expression] = this.xpath; 18.3288 + }, 18.3289 + 18.3290 + findElements: function(root) { 18.3291 + root = root || document; 18.3292 + var e = this.expression, results; 18.3293 + 18.3294 + switch (this.mode) { 18.3295 + case 'selectorsAPI': 18.3296 + if (root !== document) { 18.3297 + var oldId = root.id, id = $(root).identify(); 18.3298 + id = id.replace(/([\.:])/g, "\\$1"); 18.3299 + e = "#" + id + " " + e; 18.3300 + } 18.3301 + 18.3302 + results = $A(root.querySelectorAll(e)).map(Element.extend); 18.3303 + root.id = oldId; 18.3304 + 18.3305 + return results; 18.3306 + case 'xpath': 18.3307 + return document._getElementsByXPath(this.xpath, root); 18.3308 + default: 18.3309 + return this.matcher(root); 18.3310 + } 18.3311 + }, 18.3312 + 18.3313 + match: function(element) { 18.3314 + this.tokens = []; 18.3315 + 18.3316 + var e = this.expression, ps = Selector.patterns, as = Selector.assertions; 18.3317 + var le, p, m, len = ps.length, name; 18.3318 + 18.3319 + while (e && le !== e && (/\S/).test(e)) { 18.3320 + le = e; 18.3321 + for (var i = 0; i<len; i++) { 18.3322 + p = ps[i].re; 18.3323 + name = ps[i].name; 18.3324 + if (m = e.match(p)) { 18.3325 + if (as[name]) { 18.3326 + this.tokens.push([name, Object.clone(m)]); 18.3327 + e = e.replace(m[0], ''); 18.3328 + } else { 18.3329 + return this.findElements(document).include(element); 18.3330 + } 18.3331 + } 18.3332 + } 18.3333 + } 18.3334 + 18.3335 + var match = true, name, matches; 18.3336 + for (var i = 0, token; token = this.tokens[i]; i++) { 18.3337 + name = token[0], matches = token[1]; 18.3338 + if (!Selector.assertions[name](element, matches)) { 18.3339 + match = false; break; 18.3340 + } 18.3341 + } 18.3342 + 18.3343 + return match; 18.3344 + }, 18.3345 + 18.3346 + toString: function() { 18.3347 + return this.expression; 18.3348 + }, 18.3349 + 18.3350 + inspect: function() { 18.3351 + return "#<Selector:" + this.expression.inspect() + ">"; 18.3352 + } 18.3353 +}); 18.3354 + 18.3355 +if (Prototype.BrowserFeatures.SelectorsAPI && 18.3356 + document.compatMode === 'BackCompat') { 18.3357 + Selector.CASE_INSENSITIVE_CLASS_NAMES = (function(){ 18.3358 + var div = document.createElement('div'), 18.3359 + span = document.createElement('span'); 18.3360 + 18.3361 + div.id = "prototype_test_id"; 18.3362 + span.className = 'Test'; 18.3363 + div.appendChild(span); 18.3364 + var isIgnored = (div.querySelector('#prototype_test_id .test') !== null); 18.3365 + div = span = null; 18.3366 + return isIgnored; 18.3367 + })(); 18.3368 +} 18.3369 + 18.3370 +Object.extend(Selector, { 18.3371 + _cache: { }, 18.3372 + 18.3373 + xpath: { 18.3374 + descendant: "//*", 18.3375 + child: "/*", 18.3376 + adjacent: "/following-sibling::*[1]", 18.3377 + laterSibling: '/following-sibling::*', 18.3378 + tagName: function(m) { 18.3379 + if (m[1] == '*') return ''; 18.3380 + return "[local-name()='" + m[1].toLowerCase() + 18.3381 + "' or local-name()='" + m[1].toUpperCase() + "']"; 18.3382 + }, 18.3383 + className: "[contains(concat(' ', @class, ' '), ' #{1} ')]", 18.3384 + id: "[@id='#{1}']", 18.3385 + attrPresence: function(m) { 18.3386 + m[1] = m[1].toLowerCase(); 18.3387 + return new Template("[@#{1}]").evaluate(m); 18.3388 + }, 18.3389 + attr: function(m) { 18.3390 + m[1] = m[1].toLowerCase(); 18.3391 + m[3] = m[5] || m[6]; 18.3392 + return new Template(Selector.xpath.operators[m[2]]).evaluate(m); 18.3393 + }, 18.3394 + pseudo: function(m) { 18.3395 + var h = Selector.xpath.pseudos[m[1]]; 18.3396 + if (!h) return ''; 18.3397 + if (Object.isFunction(h)) return h(m); 18.3398 + return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m); 18.3399 + }, 18.3400 + operators: { 18.3401 + '=': "[@#{1}='#{3}']", 18.3402 + '!=': "[@#{1}!='#{3}']", 18.3403 + '^=': "[starts-with(@#{1}, '#{3}')]", 18.3404 + '$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']", 18.3405 + '*=': "[contains(@#{1}, '#{3}')]", 18.3406 + '~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]", 18.3407 + '|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]" 18.3408 + }, 18.3409 + pseudos: { 18.3410 + 'first-child': '[not(preceding-sibling::*)]', 18.3411 + 'last-child': '[not(following-sibling::*)]', 18.3412 + 'only-child': '[not(preceding-sibling::* or following-sibling::*)]', 18.3413 + 'empty': "[count(*) = 0 and (count(text()) = 0)]", 18.3414 + 'checked': "[@checked]", 18.3415 + 'disabled': "[(@disabled) and (@type!='hidden')]", 18.3416 + 'enabled': "[not(@disabled) and (@type!='hidden')]", 18.3417 + 'not': function(m) { 18.3418 + var e = m[6], p = Selector.patterns, 18.3419 + x = Selector.xpath, le, v, len = p.length, name; 18.3420 + 18.3421 + var exclusion = []; 18.3422 + while (e && le != e && (/\S/).test(e)) { 18.3423 + le = e; 18.3424 + for (var i = 0; i<len; i++) { 18.3425 + name = p[i].name 18.3426 + if (m = e.match(p[i].re)) { 18.3427 + v = Object.isFunction(x[name]) ? x[name](m) : new Template(x[name]).evaluate(m); 18.3428 + exclusion.push("(" + v.substring(1, v.length - 1) + ")"); 18.3429 + e = e.replace(m[0], ''); 18.3430 + break; 18.3431 + } 18.3432 + } 18.3433 + } 18.3434 + return "[not(" + exclusion.join(" and ") + ")]"; 18.3435 + }, 18.3436 + 'nth-child': function(m) { 18.3437 + return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m); 18.3438 + }, 18.3439 + 'nth-last-child': function(m) { 18.3440 + return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m); 18.3441 + }, 18.3442 + 'nth-of-type': function(m) { 18.3443 + return Selector.xpath.pseudos.nth("position() ", m); 18.3444 + }, 18.3445 + 'nth-last-of-type': function(m) { 18.3446 + return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m); 18.3447 + }, 18.3448 + 'first-of-type': function(m) { 18.3449 + m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m); 18.3450 + }, 18.3451 + 'last-of-type': function(m) { 18.3452 + m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m); 18.3453 + }, 18.3454 + 'only-of-type': function(m) { 18.3455 + var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m); 18.3456 + }, 18.3457 + nth: function(fragment, m) { 18.3458 + var mm, formula = m[6], predicate; 18.3459 + if (formula == 'even') formula = '2n+0'; 18.3460 + if (formula == 'odd') formula = '2n+1'; 18.3461 + if (mm = formula.match(/^(\d+)$/)) // digit only 18.3462 + return '[' + fragment + "= " + mm[1] + ']'; 18.3463 + if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b 18.3464 + if (mm[1] == "-") mm[1] = -1; 18.3465 + var a = mm[1] ? Number(mm[1]) : 1; 18.3466 + var b = mm[2] ? Number(mm[2]) : 0; 18.3467 + predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " + 18.3468 + "((#{fragment} - #{b}) div #{a} >= 0)]"; 18.3469 + return new Template(predicate).evaluate({ 18.3470 + fragment: fragment, a: a, b: b }); 18.3471 + } 18.3472 + } 18.3473 + } 18.3474 + }, 18.3475 + 18.3476 + criteria: { 18.3477 + tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;', 18.3478 + className: 'n = h.className(n, r, "#{1}", c); c = false;', 18.3479 + id: 'n = h.id(n, r, "#{1}", c); c = false;', 18.3480 + attrPresence: 'n = h.attrPresence(n, r, "#{1}", c); c = false;', 18.3481 + attr: function(m) { 18.3482 + m[3] = (m[5] || m[6]); 18.3483 + return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m); 18.3484 + }, 18.3485 + pseudo: function(m) { 18.3486 + if (m[6]) m[6] = m[6].replace(/"/g, '\\"'); 18.3487 + return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m); 18.3488 + }, 18.3489 + descendant: 'c = "descendant";', 18.3490 + child: 'c = "child";', 18.3491 + adjacent: 'c = "adjacent";', 18.3492 + laterSibling: 'c = "laterSibling";' 18.3493 + }, 18.3494 + 18.3495 + patterns: [ 18.3496 + { name: 'laterSibling', re: /^\s*~\s*/ }, 18.3497 + { name: 'child', re: /^\s*>\s*/ }, 18.3498 + { name: 'adjacent', re: /^\s*\+\s*/ }, 18.3499 + { name: 'descendant', re: /^\s/ }, 18.3500 + 18.3501 + { name: 'tagName', re: /^\s*(\*|[\w\-]+)(\b|$)?/ }, 18.3502 + { name: 'id', re: /^#([\w\-\*]+)(\b|$)/ }, 18.3503 + { name: 'className', re: /^\.([\w\-\*]+)(\b|$)/ }, 18.3504 + { name: 'pseudo', re: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/ }, 18.3505 + { name: 'attrPresence', re: /^\[((?:[\w-]+:)?[\w-]+)\]/ }, 18.3506 + { name: 'attr', re: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ } 18.3507 + ], 18.3508 + 18.3509 + assertions: { 18.3510 + tagName: function(element, matches) { 18.3511 + return matches[1].toUpperCase() == element.tagName.toUpperCase(); 18.3512 + }, 18.3513 + 18.3514 + className: function(element, matches) { 18.3515 + return Element.hasClassName(element, matches[1]); 18.3516 + }, 18.3517 + 18.3518 + id: function(element, matches) { 18.3519 + return element.id === matches[1]; 18.3520 + }, 18.3521 + 18.3522 + attrPresence: function(element, matches) { 18.3523 + return Element.hasAttribute(element, matches[1]); 18.3524 + }, 18.3525 + 18.3526 + attr: function(element, matches) { 18.3527 + var nodeValue = Element.readAttribute(element, matches[1]); 18.3528 + return nodeValue && Selector.operators[matches[2]](nodeValue, matches[5] || matches[6]); 18.3529 + } 18.3530 + }, 18.3531 + 18.3532 + handlers: { 18.3533 + concat: function(a, b) { 18.3534 + for (var i = 0, node; node = b[i]; i++) 18.3535 + a.push(node); 18.3536 + return a; 18.3537 + }, 18.3538 + 18.3539 + mark: function(nodes) { 18.3540 + var _true = Prototype.emptyFunction; 18.3541 + for (var i = 0, node; node = nodes[i]; i++) 18.3542 + node._countedByPrototype = _true; 18.3543 + return nodes; 18.3544 + }, 18.3545 + 18.3546 + unmark: (function(){ 18.3547 + 18.3548 + var PROPERTIES_ATTRIBUTES_MAP = (function(){ 18.3549 + var el = document.createElement('div'), 18.3550 + isBuggy = false, 18.3551 + propName = '_countedByPrototype', 18.3552 + value = 'x' 18.3553 + el[propName] = value; 18.3554 + isBuggy = (el.getAttribute(propName) === value); 18.3555 + el = null; 18.3556 + return isBuggy; 18.3557 + })(); 18.3558 + 18.3559 + return PROPERTIES_ATTRIBUTES_MAP ? 18.3560 + function(nodes) { 18.3561 + for (var i = 0, node; node = nodes[i]; i++) 18.3562 + node.removeAttribute('_countedByPrototype'); 18.3563 + return nodes; 18.3564 + } : 18.3565 + function(nodes) { 18.3566 + for (var i = 0, node; node = nodes[i]; i++) 18.3567 + node._countedByPrototype = void 0; 18.3568 + return nodes; 18.3569 + } 18.3570 + })(), 18.3571 + 18.3572 + index: function(parentNode, reverse, ofType) { 18.3573 + parentNode._countedByPrototype = Prototype.emptyFunction; 18.3574 + if (reverse) { 18.3575 + for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { 18.3576 + var node = nodes[i]; 18.3577 + if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++; 18.3578 + } 18.3579 + } else { 18.3580 + for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) 18.3581 + if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++; 18.3582 + } 18.3583 + }, 18.3584 + 18.3585 + unique: function(nodes) { 18.3586 + if (nodes.length == 0) return nodes; 18.3587 + var results = [], n; 18.3588 + for (var i = 0, l = nodes.length; i < l; i++) 18.3589 + if (typeof (n = nodes[i])._countedByPrototype == 'undefined') { 18.3590 + n._countedByPrototype = Prototype.emptyFunction; 18.3591 + results.push(Element.extend(n)); 18.3592 + } 18.3593 + return Selector.handlers.unmark(results); 18.3594 + }, 18.3595 + 18.3596 + descendant: function(nodes) { 18.3597 + var h = Selector.handlers; 18.3598 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3599 + h.concat(results, node.getElementsByTagName('*')); 18.3600 + return results; 18.3601 + }, 18.3602 + 18.3603 + child: function(nodes) { 18.3604 + var h = Selector.handlers; 18.3605 + for (var i = 0, results = [], node; node = nodes[i]; i++) { 18.3606 + for (var j = 0, child; child = node.childNodes[j]; j++) 18.3607 + if (child.nodeType == 1 && child.tagName != '!') results.push(child); 18.3608 + } 18.3609 + return results; 18.3610 + }, 18.3611 + 18.3612 + adjacent: function(nodes) { 18.3613 + for (var i = 0, results = [], node; node = nodes[i]; i++) { 18.3614 + var next = this.nextElementSibling(node); 18.3615 + if (next) results.push(next); 18.3616 + } 18.3617 + return results; 18.3618 + }, 18.3619 + 18.3620 + laterSibling: function(nodes) { 18.3621 + var h = Selector.handlers; 18.3622 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3623 + h.concat(results, Element.nextSiblings(node)); 18.3624 + return results; 18.3625 + }, 18.3626 + 18.3627 + nextElementSibling: function(node) { 18.3628 + while (node = node.nextSibling) 18.3629 + if (node.nodeType == 1) return node; 18.3630 + return null; 18.3631 + }, 18.3632 + 18.3633 + previousElementSibling: function(node) { 18.3634 + while (node = node.previousSibling) 18.3635 + if (node.nodeType == 1) return node; 18.3636 + return null; 18.3637 + }, 18.3638 + 18.3639 + tagName: function(nodes, root, tagName, combinator) { 18.3640 + var uTagName = tagName.toUpperCase(); 18.3641 + var results = [], h = Selector.handlers; 18.3642 + if (nodes) { 18.3643 + if (combinator) { 18.3644 + if (combinator == "descendant") { 18.3645 + for (var i = 0, node; node = nodes[i]; i++) 18.3646 + h.concat(results, node.getElementsByTagName(tagName)); 18.3647 + return results; 18.3648 + } else nodes = this[combinator](nodes); 18.3649 + if (tagName == "*") return nodes; 18.3650 + } 18.3651 + for (var i = 0, node; node = nodes[i]; i++) 18.3652 + if (node.tagName.toUpperCase() === uTagName) results.push(node); 18.3653 + return results; 18.3654 + } else return root.getElementsByTagName(tagName); 18.3655 + }, 18.3656 + 18.3657 + id: function(nodes, root, id, combinator) { 18.3658 + var targetNode = $(id), h = Selector.handlers; 18.3659 + 18.3660 + if (root == document) { 18.3661 + if (!targetNode) return []; 18.3662 + if (!nodes) return [targetNode]; 18.3663 + } else { 18.3664 + if (!root.sourceIndex || root.sourceIndex < 1) { 18.3665 + var nodes = root.getElementsByTagName('*'); 18.3666 + for (var j = 0, node; node = nodes[j]; j++) { 18.3667 + if (node.id === id) return [node]; 18.3668 + } 18.3669 + } 18.3670 + } 18.3671 + 18.3672 + if (nodes) { 18.3673 + if (combinator) { 18.3674 + if (combinator == 'child') { 18.3675 + for (var i = 0, node; node = nodes[i]; i++) 18.3676 + if (targetNode.parentNode == node) return [targetNode]; 18.3677 + } else if (combinator == 'descendant') { 18.3678 + for (var i = 0, node; node = nodes[i]; i++) 18.3679 + if (Element.descendantOf(targetNode, node)) return [targetNode]; 18.3680 + } else if (combinator == 'adjacent') { 18.3681 + for (var i = 0, node; node = nodes[i]; i++) 18.3682 + if (Selector.handlers.previousElementSibling(targetNode) == node) 18.3683 + return [targetNode]; 18.3684 + } else nodes = h[combinator](nodes); 18.3685 + } 18.3686 + for (var i = 0, node; node = nodes[i]; i++) 18.3687 + if (node == targetNode) return [targetNode]; 18.3688 + return []; 18.3689 + } 18.3690 + return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : []; 18.3691 + }, 18.3692 + 18.3693 + className: function(nodes, root, className, combinator) { 18.3694 + if (nodes && combinator) nodes = this[combinator](nodes); 18.3695 + return Selector.handlers.byClassName(nodes, root, className); 18.3696 + }, 18.3697 + 18.3698 + byClassName: function(nodes, root, className) { 18.3699 + if (!nodes) nodes = Selector.handlers.descendant([root]); 18.3700 + var needle = ' ' + className + ' '; 18.3701 + for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) { 18.3702 + nodeClassName = node.className; 18.3703 + if (nodeClassName.length == 0) continue; 18.3704 + if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle)) 18.3705 + results.push(node); 18.3706 + } 18.3707 + return results; 18.3708 + }, 18.3709 + 18.3710 + attrPresence: function(nodes, root, attr, combinator) { 18.3711 + if (!nodes) nodes = root.getElementsByTagName("*"); 18.3712 + if (nodes && combinator) nodes = this[combinator](nodes); 18.3713 + var results = []; 18.3714 + for (var i = 0, node; node = nodes[i]; i++) 18.3715 + if (Element.hasAttribute(node, attr)) results.push(node); 18.3716 + return results; 18.3717 + }, 18.3718 + 18.3719 + attr: function(nodes, root, attr, value, operator, combinator) { 18.3720 + if (!nodes) nodes = root.getElementsByTagName("*"); 18.3721 + if (nodes && combinator) nodes = this[combinator](nodes); 18.3722 + var handler = Selector.operators[operator], results = []; 18.3723 + for (var i = 0, node; node = nodes[i]; i++) { 18.3724 + var nodeValue = Element.readAttribute(node, attr); 18.3725 + if (nodeValue === null) continue; 18.3726 + if (handler(nodeValue, value)) results.push(node); 18.3727 + } 18.3728 + return results; 18.3729 + }, 18.3730 + 18.3731 + pseudo: function(nodes, name, value, root, combinator) { 18.3732 + if (nodes && combinator) nodes = this[combinator](nodes); 18.3733 + if (!nodes) nodes = root.getElementsByTagName("*"); 18.3734 + return Selector.pseudos[name](nodes, value, root); 18.3735 + } 18.3736 + }, 18.3737 + 18.3738 + pseudos: { 18.3739 + 'first-child': function(nodes, value, root) { 18.3740 + for (var i = 0, results = [], node; node = nodes[i]; i++) { 18.3741 + if (Selector.handlers.previousElementSibling(node)) continue; 18.3742 + results.push(node); 18.3743 + } 18.3744 + return results; 18.3745 + }, 18.3746 + 'last-child': function(nodes, value, root) { 18.3747 + for (var i = 0, results = [], node; node = nodes[i]; i++) { 18.3748 + if (Selector.handlers.nextElementSibling(node)) continue; 18.3749 + results.push(node); 18.3750 + } 18.3751 + return results; 18.3752 + }, 18.3753 + 'only-child': function(nodes, value, root) { 18.3754 + var h = Selector.handlers; 18.3755 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3756 + if (!h.previousElementSibling(node) && !h.nextElementSibling(node)) 18.3757 + results.push(node); 18.3758 + return results; 18.3759 + }, 18.3760 + 'nth-child': function(nodes, formula, root) { 18.3761 + return Selector.pseudos.nth(nodes, formula, root); 18.3762 + }, 18.3763 + 'nth-last-child': function(nodes, formula, root) { 18.3764 + return Selector.pseudos.nth(nodes, formula, root, true); 18.3765 + }, 18.3766 + 'nth-of-type': function(nodes, formula, root) { 18.3767 + return Selector.pseudos.nth(nodes, formula, root, false, true); 18.3768 + }, 18.3769 + 'nth-last-of-type': function(nodes, formula, root) { 18.3770 + return Selector.pseudos.nth(nodes, formula, root, true, true); 18.3771 + }, 18.3772 + 'first-of-type': function(nodes, formula, root) { 18.3773 + return Selector.pseudos.nth(nodes, "1", root, false, true); 18.3774 + }, 18.3775 + 'last-of-type': function(nodes, formula, root) { 18.3776 + return Selector.pseudos.nth(nodes, "1", root, true, true); 18.3777 + }, 18.3778 + 'only-of-type': function(nodes, formula, root) { 18.3779 + var p = Selector.pseudos; 18.3780 + return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root); 18.3781 + }, 18.3782 + 18.3783 + getIndices: function(a, b, total) { 18.3784 + if (a == 0) return b > 0 ? [b] : []; 18.3785 + return $R(1, total).inject([], function(memo, i) { 18.3786 + if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i); 18.3787 + return memo; 18.3788 + }); 18.3789 + }, 18.3790 + 18.3791 + nth: function(nodes, formula, root, reverse, ofType) { 18.3792 + if (nodes.length == 0) return []; 18.3793 + if (formula == 'even') formula = '2n+0'; 18.3794 + if (formula == 'odd') formula = '2n+1'; 18.3795 + var h = Selector.handlers, results = [], indexed = [], m; 18.3796 + h.mark(nodes); 18.3797 + for (var i = 0, node; node = nodes[i]; i++) { 18.3798 + if (!node.parentNode._countedByPrototype) { 18.3799 + h.index(node.parentNode, reverse, ofType); 18.3800 + indexed.push(node.parentNode); 18.3801 + } 18.3802 + } 18.3803 + if (formula.match(/^\d+$/)) { // just a number 18.3804 + formula = Number(formula); 18.3805 + for (var i = 0, node; node = nodes[i]; i++) 18.3806 + if (node.nodeIndex == formula) results.push(node); 18.3807 + } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b 18.3808 + if (m[1] == "-") m[1] = -1; 18.3809 + var a = m[1] ? Number(m[1]) : 1; 18.3810 + var b = m[2] ? Number(m[2]) : 0; 18.3811 + var indices = Selector.pseudos.getIndices(a, b, nodes.length); 18.3812 + for (var i = 0, node, l = indices.length; node = nodes[i]; i++) { 18.3813 + for (var j = 0; j < l; j++) 18.3814 + if (node.nodeIndex == indices[j]) results.push(node); 18.3815 + } 18.3816 + } 18.3817 + h.unmark(nodes); 18.3818 + h.unmark(indexed); 18.3819 + return results; 18.3820 + }, 18.3821 + 18.3822 + 'empty': function(nodes, value, root) { 18.3823 + for (var i = 0, results = [], node; node = nodes[i]; i++) { 18.3824 + if (node.tagName == '!' || node.firstChild) continue; 18.3825 + results.push(node); 18.3826 + } 18.3827 + return results; 18.3828 + }, 18.3829 + 18.3830 + 'not': function(nodes, selector, root) { 18.3831 + var h = Selector.handlers, selectorType, m; 18.3832 + var exclusions = new Selector(selector).findElements(root); 18.3833 + h.mark(exclusions); 18.3834 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3835 + if (!node._countedByPrototype) results.push(node); 18.3836 + h.unmark(exclusions); 18.3837 + return results; 18.3838 + }, 18.3839 + 18.3840 + 'enabled': function(nodes, value, root) { 18.3841 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3842 + if (!node.disabled && (!node.type || node.type !== 'hidden')) 18.3843 + results.push(node); 18.3844 + return results; 18.3845 + }, 18.3846 + 18.3847 + 'disabled': function(nodes, value, root) { 18.3848 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3849 + if (node.disabled) results.push(node); 18.3850 + return results; 18.3851 + }, 18.3852 + 18.3853 + 'checked': function(nodes, value, root) { 18.3854 + for (var i = 0, results = [], node; node = nodes[i]; i++) 18.3855 + if (node.checked) results.push(node); 18.3856 + return results; 18.3857 + } 18.3858 + }, 18.3859 + 18.3860 + operators: { 18.3861 + '=': function(nv, v) { return nv == v; }, 18.3862 + '!=': function(nv, v) { return nv != v; }, 18.3863 + '^=': function(nv, v) { return nv == v || nv && nv.startsWith(v); }, 18.3864 + '$=': function(nv, v) { return nv == v || nv && nv.endsWith(v); }, 18.3865 + '*=': function(nv, v) { return nv == v || nv && nv.include(v); }, 18.3866 + '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, 18.3867 + '|=': function(nv, v) { return ('-' + (nv || "").toUpperCase() + 18.3868 + '-').include('-' + (v || "").toUpperCase() + '-'); } 18.3869 + }, 18.3870 + 18.3871 + split: function(expression) { 18.3872 + var expressions = []; 18.3873 + expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { 18.3874 + expressions.push(m[1].strip()); 18.3875 + }); 18.3876 + return expressions; 18.3877 + }, 18.3878 + 18.3879 + matchElements: function(elements, expression) { 18.3880 + var matches = $$(expression), h = Selector.handlers; 18.3881 + h.mark(matches); 18.3882 + for (var i = 0, results = [], element; element = elements[i]; i++) 18.3883 + if (element._countedByPrototype) results.push(element); 18.3884 + h.unmark(matches); 18.3885 + return results; 18.3886 + }, 18.3887 + 18.3888 + findElement: function(elements, expression, index) { 18.3889 + if (Object.isNumber(expression)) { 18.3890 + index = expression; expression = false; 18.3891 + } 18.3892 + return Selector.matchElements(elements, expression || '*')[index || 0]; 18.3893 + }, 18.3894 + 18.3895 + findChildElements: function(element, expressions) { 18.3896 + expressions = Selector.split(expressions.join(',')); 18.3897 + var results = [], h = Selector.handlers; 18.3898 + for (var i = 0, l = expressions.length, selector; i < l; i++) { 18.3899 + selector = new Selector(expressions[i].strip()); 18.3900 + h.concat(results, selector.findElements(element)); 18.3901 + } 18.3902 + return (l > 1) ? h.unique(results) : results; 18.3903 + } 18.3904 +}); 18.3905 + 18.3906 +if (Prototype.Browser.IE) { 18.3907 + Object.extend(Selector.handlers, { 18.3908 + concat: function(a, b) { 18.3909 + for (var i = 0, node; node = b[i]; i++) 18.3910 + if (node.tagName !== "!") a.push(node); 18.3911 + return a; 18.3912 + } 18.3913 + }); 18.3914 +} 18.3915 + 18.3916 +function $$() { 18.3917 + return Selector.findChildElements(document, $A(arguments)); 18.3918 +} 18.3919 + 18.3920 +var Form = { 18.3921 + reset: function(form) { 18.3922 + form = $(form); 18.3923 + form.reset(); 18.3924 + return form; 18.3925 + }, 18.3926 + 18.3927 + serializeElements: function(elements, options) { 18.3928 + if (typeof options != 'object') options = { hash: !!options }; 18.3929 + else if (Object.isUndefined(options.hash)) options.hash = true; 18.3930 + var key, value, submitted = false, submit = options.submit; 18.3931 + 18.3932 + var data = elements.inject({ }, function(result, element) { 18.3933 + if (!element.disabled && element.name) { 18.3934 + key = element.name; value = $(element).getValue(); 18.3935 + if (value != null && element.type != 'file' && (element.type != 'submit' || (!submitted && 18.3936 + submit !== false && (!submit || key == submit) && (submitted = true)))) { 18.3937 + if (key in result) { 18.3938 + if (!Object.isArray(result[key])) result[key] = [result[key]]; 18.3939 + result[key].push(value); 18.3940 + } 18.3941 + else result[key] = value; 18.3942 + } 18.3943 + } 18.3944 + return result; 18.3945 + }); 18.3946 + 18.3947 + return options.hash ? data : Object.toQueryString(data); 18.3948 + } 18.3949 +}; 18.3950 + 18.3951 +Form.Methods = { 18.3952 + serialize: function(form, options) { 18.3953 + return Form.serializeElements(Form.getElements(form), options); 18.3954 + }, 18.3955 + 18.3956 + getElements: function(form) { 18.3957 + var elements = $(form).getElementsByTagName('*'), 18.3958 + element, 18.3959 + arr = [ ], 18.3960 + serializers = Form.Element.Serializers; 18.3961 + for (var i = 0; element = elements[i]; i++) { 18.3962 + arr.push(element); 18.3963 + } 18.3964 + return arr.inject([], function(elements, child) { 18.3965 + if (serializers[child.tagName.toLowerCase()]) 18.3966 + elements.push(Element.extend(child)); 18.3967 + return elements; 18.3968 + }) 18.3969 + }, 18.3970 + 18.3971 + getInputs: function(form, typeName, name) { 18.3972 + form = $(form); 18.3973 + var inputs = form.getElementsByTagName('input'); 18.3974 + 18.3975 + if (!typeName && !name) return $A(inputs).map(Element.extend); 18.3976 + 18.3977 + for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { 18.3978 + var input = inputs[i]; 18.3979 + if ((typeName && input.type != typeName) || (name && input.name != name)) 18.3980 + continue; 18.3981 + matchingInputs.push(Element.extend(input)); 18.3982 + } 18.3983 + 18.3984 + return matchingInputs; 18.3985 + }, 18.3986 + 18.3987 + disable: function(form) { 18.3988 + form = $(form); 18.3989 + Form.getElements(form).invoke('disable'); 18.3990 + return form; 18.3991 + }, 18.3992 + 18.3993 + enable: function(form) { 18.3994 + form = $(form); 18.3995 + Form.getElements(form).invoke('enable'); 18.3996 + return form; 18.3997 + }, 18.3998 + 18.3999 + findFirstElement: function(form) { 18.4000 + var elements = $(form).getElements().findAll(function(element) { 18.4001 + return 'hidden' != element.type && !element.disabled; 18.4002 + }); 18.4003 + var firstByIndex = elements.findAll(function(element) { 18.4004 + return element.hasAttribute('tabIndex') && element.tabIndex >= 0; 18.4005 + }).sortBy(function(element) { return element.tabIndex }).first(); 18.4006 + 18.4007 + return firstByIndex ? firstByIndex : elements.find(function(element) { 18.4008 + return /^(?:input|select|textarea)$/i.test(element.tagName); 18.4009 + }); 18.4010 + }, 18.4011 + 18.4012 + focusFirstElement: function(form) { 18.4013 + form = $(form); 18.4014 + form.findFirstElement().activate(); 18.4015 + return form; 18.4016 + }, 18.4017 + 18.4018 + request: function(form, options) { 18.4019 + form = $(form), options = Object.clone(options || { }); 18.4020 + 18.4021 + var params = options.parameters, action = form.readAttribute('action') || ''; 18.4022 + if (action.blank()) action = window.location.href; 18.4023 + options.parameters = form.serialize(true); 18.4024 + 18.4025 + if (params) { 18.4026 + if (Object.isString(params)) params = params.toQueryParams(); 18.4027 + Object.extend(options.parameters, params); 18.4028 + } 18.4029 + 18.4030 + if (form.hasAttribute('method') && !options.method) 18.4031 + options.method = form.method; 18.4032 + 18.4033 + return new Ajax.Request(action, options); 18.4034 + } 18.4035 +}; 18.4036 + 18.4037 +/*--------------------------------------------------------------------------*/ 18.4038 + 18.4039 + 18.4040 +Form.Element = { 18.4041 + focus: function(element) { 18.4042 + $(element).focus(); 18.4043 + return element; 18.4044 + }, 18.4045 + 18.4046 + select: function(element) { 18.4047 + $(element).select(); 18.4048 + return element; 18.4049 + } 18.4050 +}; 18.4051 + 18.4052 +Form.Element.Methods = { 18.4053 + 18.4054 + serialize: function(element) { 18.4055 + element = $(element); 18.4056 + if (!element.disabled && element.name) { 18.4057 + var value = element.getValue(); 18.4058 + if (value != undefined) { 18.4059 + var pair = { }; 18.4060 + pair[element.name] = value; 18.4061 + return Object.toQueryString(pair); 18.4062 + } 18.4063 + } 18.4064 + return ''; 18.4065 + }, 18.4066 + 18.4067 + getValue: function(element) { 18.4068 + element = $(element); 18.4069 + var method = element.tagName.toLowerCase(); 18.4070 + return Form.Element.Serializers[method](element); 18.4071 + }, 18.4072 + 18.4073 + setValue: function(element, value) { 18.4074 + element = $(element); 18.4075 + var method = element.tagName.toLowerCase(); 18.4076 + Form.Element.Serializers[method](element, value); 18.4077 + return element; 18.4078 + }, 18.4079 + 18.4080 + clear: function(element) { 18.4081 + $(element).value = ''; 18.4082 + return element; 18.4083 + }, 18.4084 + 18.4085 + present: function(element) { 18.4086 + return $(element).value != ''; 18.4087 + }, 18.4088 + 18.4089 + activate: function(element) { 18.4090 + element = $(element); 18.4091 + try { 18.4092 + element.focus(); 18.4093 + if (element.select && (element.tagName.toLowerCase() != 'input' || 18.4094 + !(/^(?:button|reset|submit)$/i.test(element.type)))) 18.4095 + element.select(); 18.4096 + } catch (e) { } 18.4097 + return element; 18.4098 + }, 18.4099 + 18.4100 + disable: function(element) { 18.4101 + element = $(element); 18.4102 + element.disabled = true; 18.4103 + return element; 18.4104 + }, 18.4105 + 18.4106 + enable: function(element) { 18.4107 + element = $(element); 18.4108 + element.disabled = false; 18.4109 + return element; 18.4110 + } 18.4111 +}; 18.4112 + 18.4113 +/*--------------------------------------------------------------------------*/ 18.4114 + 18.4115 +var Field = Form.Element; 18.4116 + 18.4117 +var $F = Form.Element.Methods.getValue; 18.4118 + 18.4119 +/*--------------------------------------------------------------------------*/ 18.4120 + 18.4121 +Form.Element.Serializers = { 18.4122 + input: function(element, value) { 18.4123 + switch (element.type.toLowerCase()) { 18.4124 + case 'checkbox': 18.4125 + case 'radio': 18.4126 + return Form.Element.Serializers.inputSelector(element, value); 18.4127 + default: 18.4128 + return Form.Element.Serializers.textarea(element, value); 18.4129 + } 18.4130 + }, 18.4131 + 18.4132 + inputSelector: function(element, value) { 18.4133 + if (Object.isUndefined(value)) return element.checked ? element.value : null; 18.4134 + else element.checked = !!value; 18.4135 + }, 18.4136 + 18.4137 + textarea: function(element, value) { 18.4138 + if (Object.isUndefined(value)) return element.value; 18.4139 + else element.value = value; 18.4140 + }, 18.4141 + 18.4142 + select: function(element, value) { 18.4143 + if (Object.isUndefined(value)) 18.4144 + return this[element.type == 'select-one' ? 18.4145 + 'selectOne' : 'selectMany'](element); 18.4146 + else { 18.4147 + var opt, currentValue, single = !Object.isArray(value); 18.4148 + for (var i = 0, length = element.length; i < length; i++) { 18.4149 + opt = element.options[i]; 18.4150 + currentValue = this.optionValue(opt); 18.4151 + if (single) { 18.4152 + if (currentValue == value) { 18.4153 + opt.selected = true; 18.4154 + return; 18.4155 + } 18.4156 + } 18.4157 + else opt.selected = value.include(currentValue); 18.4158 + } 18.4159 + } 18.4160 + }, 18.4161 + 18.4162 + selectOne: function(element) { 18.4163 + var index = element.selectedIndex; 18.4164 + return index >= 0 ? this.optionValue(element.options[index]) : null; 18.4165 + }, 18.4166 + 18.4167 + selectMany: function(element) { 18.4168 + var values, length = element.length; 18.4169 + if (!length) return null; 18.4170 + 18.4171 + for (var i = 0, values = []; i < length; i++) { 18.4172 + var opt = element.options[i]; 18.4173 + if (opt.selected) values.push(this.optionValue(opt)); 18.4174 + } 18.4175 + return values; 18.4176 + }, 18.4177 + 18.4178 + optionValue: function(opt) { 18.4179 + return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text; 18.4180 + } 18.4181 +}; 18.4182 + 18.4183 +/*--------------------------------------------------------------------------*/ 18.4184 + 18.4185 + 18.4186 +Abstract.TimedObserver = Class.create(PeriodicalExecuter, { 18.4187 + initialize: function($super, element, frequency, callback) { 18.4188 + $super(callback, frequency); 18.4189 + this.element = $(element); 18.4190 + this.lastValue = this.getValue(); 18.4191 + }, 18.4192 + 18.4193 + execute: function() { 18.4194 + var value = this.getValue(); 18.4195 + if (Object.isString(this.lastValue) && Object.isString(value) ? 18.4196 + this.lastValue != value : String(this.lastValue) != String(value)) { 18.4197 + this.callback(this.element, value); 18.4198 + this.lastValue = value; 18.4199 + } 18.4200 + } 18.4201 +}); 18.4202 + 18.4203 +Form.Element.Observer = Class.create(Abstract.TimedObserver, { 18.4204 + getValue: function() { 18.4205 + return Form.Element.getValue(this.element); 18.4206 + } 18.4207 +}); 18.4208 + 18.4209 +Form.Observer = Class.create(Abstract.TimedObserver, { 18.4210 + getValue: function() { 18.4211 + return Form.serialize(this.element); 18.4212 + } 18.4213 +}); 18.4214 + 18.4215 +/*--------------------------------------------------------------------------*/ 18.4216 + 18.4217 +Abstract.EventObserver = Class.create({ 18.4218 + initialize: function(element, callback) { 18.4219 + this.element = $(element); 18.4220 + this.callback = callback; 18.4221 + 18.4222 + this.lastValue = this.getValue(); 18.4223 + if (this.element.tagName.toLowerCase() == 'form') 18.4224 + this.registerFormCallbacks(); 18.4225 + else 18.4226 + this.registerCallback(this.element); 18.4227 + }, 18.4228 + 18.4229 + onElementEvent: function() { 18.4230 + var value = this.getValue(); 18.4231 + if (this.lastValue != value) { 18.4232 + this.callback(this.element, value); 18.4233 + this.lastValue = value; 18.4234 + } 18.4235 + }, 18.4236 + 18.4237 + registerFormCallbacks: function() { 18.4238 + Form.getElements(this.element).each(this.registerCallback, this); 18.4239 + }, 18.4240 + 18.4241 + registerCallback: function(element) { 18.4242 + if (element.type) { 18.4243 + switch (element.type.toLowerCase()) { 18.4244 + case 'checkbox': 18.4245 + case 'radio': 18.4246 + Event.observe(element, 'click', this.onElementEvent.bind(this)); 18.4247 + break; 18.4248 + default: 18.4249 + Event.observe(element, 'change', this.onElementEvent.bind(this)); 18.4250 + break; 18.4251 + } 18.4252 + } 18.4253 + } 18.4254 +}); 18.4255 + 18.4256 +Form.Element.EventObserver = Class.create(Abstract.EventObserver, { 18.4257 + getValue: function() { 18.4258 + return Form.Element.getValue(this.element); 18.4259 + } 18.4260 +}); 18.4261 + 18.4262 +Form.EventObserver = Class.create(Abstract.EventObserver, { 18.4263 + getValue: function() { 18.4264 + return Form.serialize(this.element); 18.4265 + } 18.4266 +}); 18.4267 +(function() { 18.4268 + 18.4269 + var Event = { 18.4270 + KEY_BACKSPACE: 8, 18.4271 + KEY_TAB: 9, 18.4272 + KEY_RETURN: 13, 18.4273 + KEY_ESC: 27, 18.4274 + KEY_LEFT: 37, 18.4275 + KEY_UP: 38, 18.4276 + KEY_RIGHT: 39, 18.4277 + KEY_DOWN: 40, 18.4278 + KEY_DELETE: 46, 18.4279 + KEY_HOME: 36, 18.4280 + KEY_END: 35, 18.4281 + KEY_PAGEUP: 33, 18.4282 + KEY_PAGEDOWN: 34, 18.4283 + KEY_INSERT: 45, 18.4284 + 18.4285 + cache: {} 18.4286 + }; 18.4287 + 18.4288 + var docEl = document.documentElement; 18.4289 + var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED = 'onmouseenter' in docEl 18.4290 + && 'onmouseleave' in docEl; 18.4291 + 18.4292 + var _isButton; 18.4293 + if (Prototype.Browser.IE) { 18.4294 + var buttonMap = { 0: 1, 1: 4, 2: 2 }; 18.4295 + _isButton = function(event, code) { 18.4296 + return event.button === buttonMap[code]; 18.4297 + }; 18.4298 + } else if (Prototype.Browser.WebKit) { 18.4299 + _isButton = function(event, code) { 18.4300 + switch (code) { 18.4301 + case 0: return event.which == 1 && !event.metaKey; 18.4302 + case 1: return event.which == 1 && event.metaKey; 18.4303 + default: return false; 18.4304 + } 18.4305 + }; 18.4306 + } else { 18.4307 + _isButton = function(event, code) { 18.4308 + return event.which ? (event.which === code + 1) : (event.button === code); 18.4309 + }; 18.4310 + } 18.4311 + 18.4312 + function isLeftClick(event) { return _isButton(event, 0) } 18.4313 + 18.4314 + function isMiddleClick(event) { return _isButton(event, 1) } 18.4315 + 18.4316 + function isRightClick(event) { return _isButton(event, 2) } 18.4317 + 18.4318 + function element(event) { 18.4319 + event = Event.extend(event); 18.4320 + 18.4321 + var node = event.target, type = event.type, 18.4322 + currentTarget = event.currentTarget; 18.4323 + 18.4324 + if (currentTarget && currentTarget.tagName) { 18.4325 + if (type === 'load' || type === 'error' || 18.4326 + (type === 'click' && currentTarget.tagName.toLowerCase() === 'input' 18.4327 + && currentTarget.type === 'radio')) 18.4328 + node = currentTarget; 18.4329 + } 18.4330 + 18.4331 + if (node.nodeType == Node.TEXT_NODE) 18.4332 + node = node.parentNode; 18.4333 + 18.4334 + return Element.extend(node); 18.4335 + } 18.4336 + 18.4337 + function findElement(event, expression) { 18.4338 + var element = Event.element(event); 18.4339 + if (!expression) return element; 18.4340 + var elements = [element].concat(element.ancestors()); 18.4341 + return Selector.findElement(elements, expression, 0); 18.4342 + } 18.4343 + 18.4344 + function pointer(event) { 18.4345 + return { x: pointerX(event), y: pointerY(event) }; 18.4346 + } 18.4347 + 18.4348 + function pointerX(event) { 18.4349 + var docElement = document.documentElement, 18.4350 + body = document.body || { scrollLeft: 0 }; 18.4351 + 18.4352 + return event.pageX || (event.clientX + 18.4353 + (docElement.scrollLeft || body.scrollLeft) - 18.4354 + (docElement.clientLeft || 0)); 18.4355 + } 18.4356 + 18.4357 + function pointerY(event) { 18.4358 + var docElement = document.documentElement, 18.4359 + body = document.body || { scrollTop: 0 }; 18.4360 + 18.4361 + return event.pageY || (event.clientY + 18.4362 + (docElement.scrollTop || body.scrollTop) - 18.4363 + (docElement.clientTop || 0)); 18.4364 + } 18.4365 + 18.4366 + 18.4367 + function stop(event) { 18.4368 + Event.extend(event); 18.4369 + event.preventDefault(); 18.4370 + event.stopPropagation(); 18.4371 + 18.4372 + event.stopped = true; 18.4373 + } 18.4374 + 18.4375 + Event.Methods = { 18.4376 + isLeftClick: isLeftClick, 18.4377 + isMiddleClick: isMiddleClick, 18.4378 + isRightClick: isRightClick, 18.4379 + 18.4380 + element: element, 18.4381 + findElement: findElement, 18.4382 + 18.4383 + pointer: pointer, 18.4384 + pointerX: pointerX, 18.4385 + pointerY: pointerY, 18.4386 + 18.4387 + stop: stop 18.4388 + }; 18.4389 + 18.4390 + 18.4391 + var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { 18.4392 + m[name] = Event.Methods[name].methodize(); 18.4393 + return m; 18.4394 + }); 18.4395 + 18.4396 + if (Prototype.Browser.IE) { 18.4397 + function _relatedTarget(event) { 18.4398 + var element; 18.4399 + switch (event.type) { 18.4400 + case 'mouseover': element = event.fromElement; break; 18.4401 + case 'mouseout': element = event.toElement; break; 18.4402 + default: return null; 18.4403 + } 18.4404 + return Element.extend(element); 18.4405 + } 18.4406 + 18.4407 + Object.extend(methods, { 18.4408 + stopPropagation: function() { this.cancelBubble = true }, 18.4409 + preventDefault: function() { this.returnValue = false }, 18.4410 + inspect: function() { return '[object Event]' } 18.4411 + }); 18.4412 + 18.4413 + Event.extend = function(event, element) { 18.4414 + if (!event) return false; 18.4415 + if (event._extendedByPrototype) return event; 18.4416 + 18.4417 + event._extendedByPrototype = Prototype.emptyFunction; 18.4418 + var pointer = Event.pointer(event); 18.4419 + 18.4420 + Object.extend(event, { 18.4421 + target: event.srcElement || element, 18.4422 + relatedTarget: _relatedTarget(event), 18.4423 + pageX: pointer.x, 18.4424 + pageY: pointer.y 18.4425 + }); 18.4426 + 18.4427 + return Object.extend(event, methods); 18.4428 + }; 18.4429 + } else { 18.4430 + Event.prototype = window.Event.prototype || document.createEvent('HTMLEvents').__proto__; 18.4431 + Object.extend(Event.prototype, methods); 18.4432 + Event.extend = Prototype.K; 18.4433 + } 18.4434 + 18.4435 + function _createResponder(element, eventName, handler) { 18.4436 + var registry = Element.retrieve(element, 'prototype_event_registry'); 18.4437 + 18.4438 + if (Object.isUndefined(registry)) { 18.4439 + CACHE.push(element); 18.4440 + registry = Element.retrieve(element, 'prototype_event_registry', $H()); 18.4441 + } 18.4442 + 18.4443 + var respondersForEvent = registry.get(eventName); 18.4444 + if (Object.isUndefined(respondersForEvent)) { 18.4445 + respondersForEvent = []; 18.4446 + registry.set(eventName, respondersForEvent); 18.4447 + } 18.4448 + 18.4449 + if (respondersForEvent.pluck('handler').include(handler)) return false; 18.4450 + 18.4451 + var responder; 18.4452 + if (eventName.include(":")) { 18.4453 + responder = function(event) { 18.4454 + if (Object.isUndefined(event.eventName)) 18.4455 + return false; 18.4456 + 18.4457 + if (event.eventName !== eventName) 18.4458 + return false; 18.4459 + 18.4460 + Event.extend(event, element); 18.4461 + handler.call(element, event); 18.4462 + }; 18.4463 + } else { 18.4464 + if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED && 18.4465 + (eventName === "mouseenter" || eventName === "mouseleave")) { 18.4466 + if (eventName === "mouseenter" || eventName === "mouseleave") { 18.4467 + responder = function(event) { 18.4468 + Event.extend(event, element); 18.4469 + 18.4470 + var parent = event.relatedTarget; 18.4471 + while (parent && parent !== element) { 18.4472 + try { parent = parent.parentNode; } 18.4473 + catch(e) { parent = element; } 18.4474 + } 18.4475 + 18.4476 + if (parent === element) return; 18.4477 + 18.4478 + handler.call(element, event); 18.4479 + }; 18.4480 + } 18.4481 + } else { 18.4482 + responder = function(event) { 18.4483 + Event.extend(event, element); 18.4484 + handler.call(element, event); 18.4485 + }; 18.4486 + } 18.4487 + } 18.4488 + 18.4489 + responder.handler = handler; 18.4490 + respondersForEvent.push(responder); 18.4491 + return responder; 18.4492 + } 18.4493 + 18.4494 + function _destroyCache() { 18.4495 + for (var i = 0, length = CACHE.length; i < length; i++) { 18.4496 + Event.stopObserving(CACHE[i]); 18.4497 + CACHE[i] = null; 18.4498 + } 18.4499 + } 18.4500 + 18.4501 + var CACHE = []; 18.4502 + 18.4503 + if (Prototype.Browser.IE) 18.4504 + window.attachEvent('onunload', _destroyCache); 18.4505 + 18.4506 + if (Prototype.Browser.WebKit) 18.4507 + window.addEventListener('unload', Prototype.emptyFunction, false); 18.4508 + 18.4509 + 18.4510 + var _getDOMEventName = Prototype.K; 18.4511 + 18.4512 + if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED) { 18.4513 + _getDOMEventName = function(eventName) { 18.4514 + var translations = { mouseenter: "mouseover", mouseleave: "mouseout" }; 18.4515 + return eventName in translations ? translations[eventName] : eventName; 18.4516 + }; 18.4517 + } 18.4518 + 18.4519 + function observe(element, eventName, handler) { 18.4520 + element = $(element); 18.4521 + 18.4522 + var responder = _createResponder(element, eventName, handler); 18.4523 + 18.4524 + if (!responder) return element; 18.4525 + 18.4526 + if (eventName.include(':')) { 18.4527 + if (element.addEventListener) 18.4528 + element.addEventListener("dataavailable", responder, false); 18.4529 + else { 18.4530 + element.attachEvent("ondataavailable", responder); 18.4531 + element.attachEvent("onfilterchange", responder); 18.4532 + } 18.4533 + } else { 18.4534 + var actualEventName = _getDOMEventName(eventName); 18.4535 + 18.4536 + if (element.addEventListener) 18.4537 + element.addEventListener(actualEventName, responder, false); 18.4538 + else 18.4539 + element.attachEvent("on" + actualEventName, responder); 18.4540 + } 18.4541 + 18.4542 + return element; 18.4543 + } 18.4544 + 18.4545 + function stopObserving(element, eventName, handler) { 18.4546 + element = $(element); 18.4547 + 18.4548 + var registry = Element.retrieve(element, 'prototype_event_registry'); 18.4549 + 18.4550 + if (Object.isUndefined(registry)) return element; 18.4551 + 18.4552 + if (eventName && !handler) { 18.4553 + var responders = registry.get(eventName); 18.4554 + 18.4555 + if (Object.isUndefined(responders)) return element; 18.4556 + 18.4557 + responders.each( function(r) { 18.4558 + Element.stopObserving(element, eventName, r.handler); 18.4559 + }); 18.4560 + return element; 18.4561 + } else if (!eventName) { 18.4562 + registry.each( function(pair) { 18.4563 + var eventName = pair.key, responders = pair.value; 18.4564 + 18.4565 + responders.each( function(r) { 18.4566 + Element.stopObserving(element, eventName, r.handler); 18.4567 + }); 18.4568 + }); 18.4569 + return element; 18.4570 + } 18.4571 + 18.4572 + var responders = registry.get(eventName); 18.4573 + 18.4574 + if (!responders) return; 18.4575 + 18.4576 + var responder = responders.find( function(r) { return r.handler === handler; }); 18.4577 + if (!responder) return element; 18.4578 + 18.4579 + var actualEventName = _getDOMEventName(eventName); 18.4580 + 18.4581 + if (eventName.include(':')) { 18.4582 + if (element.removeEventListener) 18.4583 + element.removeEventListener("dataavailable", responder, false); 18.4584 + else { 18.4585 + element.detachEvent("ondataavailable", responder); 18.4586 + element.detachEvent("onfilterchange", responder); 18.4587 + } 18.4588 + } else { 18.4589 + if (element.removeEventListener) 18.4590 + element.removeEventListener(actualEventName, responder, false); 18.4591 + else 18.4592 + element.detachEvent('on' + actualEventName, responder); 18.4593 + } 18.4594 + 18.4595 + registry.set(eventName, responders.without(responder)); 18.4596 + 18.4597 + return element; 18.4598 + } 18.4599 + 18.4600 + function fire(element, eventName, memo, bubble) { 18.4601 + element = $(element); 18.4602 + 18.4603 + if (Object.isUndefined(bubble)) 18.4604 + bubble = true; 18.4605 + 18.4606 + if (element == document && document.createEvent && !element.dispatchEvent) 18.4607 + element = document.documentElement; 18.4608 + 18.4609 + var event; 18.4610 + if (document.createEvent) { 18.4611 + event = document.createEvent('HTMLEvents'); 18.4612 + event.initEvent('dataavailable', true, true); 18.4613 + } else { 18.4614 + event = document.createEventObject(); 18.4615 + event.eventType = bubble ? 'ondataavailable' : 'onfilterchange'; 18.4616 + } 18.4617 + 18.4618 + event.eventName = eventName; 18.4619 + event.memo = memo || { }; 18.4620 + 18.4621 + if (document.createEvent) 18.4622 + element.dispatchEvent(event); 18.4623 + else 18.4624 + element.fireEvent(event.eventType, event); 18.4625 + 18.4626 + return Event.extend(event); 18.4627 + } 18.4628 + 18.4629 + 18.4630 + Object.extend(Event, Event.Methods); 18.4631 + 18.4632 + Object.extend(Event, { 18.4633 + fire: fire, 18.4634 + observe: observe, 18.4635 + stopObserving: stopObserving 18.4636 + }); 18.4637 + 18.4638 + Element.addMethods({ 18.4639 + fire: fire, 18.4640 + 18.4641 + observe: observe, 18.4642 + 18.4643 + stopObserving: stopObserving 18.4644 + }); 18.4645 + 18.4646 + Object.extend(document, { 18.4647 + fire: fire.methodize(), 18.4648 + 18.4649 + observe: observe.methodize(), 18.4650 + 18.4651 + stopObserving: stopObserving.methodize(), 18.4652 + 18.4653 + loaded: false 18.4654 + }); 18.4655 + 18.4656 + if (window.Event) Object.extend(window.Event, Event); 18.4657 + else window.Event = Event; 18.4658 +})(); 18.4659 + 18.4660 +(function() { 18.4661 + /* Support for the DOMContentLoaded event is based on work by Dan Webb, 18.4662 + Matthias Miller, Dean Edwards, John Resig, and Diego Perini. */ 18.4663 + 18.4664 + var timer; 18.4665 + 18.4666 + function fireContentLoadedEvent() { 18.4667 + if (document.loaded) return; 18.4668 + if (timer) window.clearTimeout(timer); 18.4669 + document.loaded = true; 18.4670 + document.fire('dom:loaded'); 18.4671 + } 18.4672 + 18.4673 + function checkReadyState() { 18.4674 + if (document.readyState === 'complete') { 18.4675 + document.stopObserving('readystatechange', checkReadyState); 18.4676 + fireContentLoadedEvent(); 18.4677 + } 18.4678 + } 18.4679 + 18.4680 + function pollDoScroll() { 18.4681 + try { document.documentElement.doScroll('left'); } 18.4682 + catch(e) { 18.4683 + timer = pollDoScroll.defer(); 18.4684 + return; 18.4685 + } 18.4686 + fireContentLoadedEvent(); 18.4687 + } 18.4688 + 18.4689 + if (document.addEventListener) { 18.4690 + document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false); 18.4691 + } else { 18.4692 + document.observe('readystatechange', checkReadyState); 18.4693 + if (window == top) 18.4694 + timer = pollDoScroll.defer(); 18.4695 + } 18.4696 + 18.4697 + Event.observe(window, 'load', fireContentLoadedEvent); 18.4698 +})(); 18.4699 + 18.4700 +Element.addMethods(); 18.4701 + 18.4702 +/*------------------------------- DEPRECATED -------------------------------*/ 18.4703 + 18.4704 +Hash.toQueryString = Object.toQueryString; 18.4705 + 18.4706 +var Toggle = { display: Element.toggle }; 18.4707 + 18.4708 +Element.Methods.childOf = Element.Methods.descendantOf; 18.4709 + 18.4710 +var Insertion = { 18.4711 + Before: function(element, content) { 18.4712 + return Element.insert(element, {before:content}); 18.4713 + }, 18.4714 + 18.4715 + Top: function(element, content) { 18.4716 + return Element.insert(element, {top:content}); 18.4717 + }, 18.4718 + 18.4719 + Bottom: function(element, content) { 18.4720 + return Element.insert(element, {bottom:content}); 18.4721 + }, 18.4722 + 18.4723 + After: function(element, content) { 18.4724 + return Element.insert(element, {after:content}); 18.4725 + } 18.4726 +}; 18.4727 + 18.4728 +var $continue = new Error('"throw $continue" is deprecated, use "return" instead'); 18.4729 + 18.4730 +var Position = { 18.4731 + includeScrollOffsets: false, 18.4732 + 18.4733 + prepare: function() { 18.4734 + this.deltaX = window.pageXOffset 18.4735 + || document.documentElement.scrollLeft 18.4736 + || document.body.scrollLeft 18.4737 + || 0; 18.4738 + this.deltaY = window.pageYOffset 18.4739 + || document.documentElement.scrollTop 18.4740 + || document.body.scrollTop 18.4741 + || 0; 18.4742 + }, 18.4743 + 18.4744 + within: function(element, x, y) { 18.4745 + if (this.includeScrollOffsets) 18.4746 + return this.withinIncludingScrolloffsets(element, x, y); 18.4747 + this.xcomp = x; 18.4748 + this.ycomp = y; 18.4749 + this.offset = Element.cumulativeOffset(element); 18.4750 + 18.4751 + return (y >= this.offset[1] && 18.4752 + y < this.offset[1] + element.offsetHeight && 18.4753 + x >= this.offset[0] && 18.4754 + x < this.offset[0] + element.offsetWidth); 18.4755 + }, 18.4756 + 18.4757 + withinIncludingScrolloffsets: function(element, x, y) { 18.4758 + var offsetcache = Element.cumulativeScrollOffset(element); 18.4759 + 18.4760 + this.xcomp = x + offsetcache[0] - this.deltaX; 18.4761 + this.ycomp = y + offsetcache[1] - this.deltaY; 18.4762 + this.offset = Element.cumulativeOffset(element); 18.4763 + 18.4764 + return (this.ycomp >= this.offset[1] && 18.4765 + this.ycomp < this.offset[1] + element.offsetHeight && 18.4766 + this.xcomp >= this.offset[0] && 18.4767 + this.xcomp < this.offset[0] + element.offsetWidth); 18.4768 + }, 18.4769 + 18.4770 + overlap: function(mode, element) { 18.4771 + if (!mode) return 0; 18.4772 + if (mode == 'vertical') 18.4773 + return ((this.offset[1] + element.offsetHeight) - this.ycomp) / 18.4774 + element.offsetHeight; 18.4775 + if (mode == 'horizontal') 18.4776 + return ((this.offset[0] + element.offsetWidth) - this.xcomp) / 18.4777 + element.offsetWidth; 18.4778 + }, 18.4779 + 18.4780 + 18.4781 + cumulativeOffset: Element.Methods.cumulativeOffset, 18.4782 + 18.4783 + positionedOffset: Element.Methods.positionedOffset, 18.4784 + 18.4785 + absolutize: function(element) { 18.4786 + Position.prepare(); 18.4787 + return Element.absolutize(element); 18.4788 + }, 18.4789 + 18.4790 + relativize: function(element) { 18.4791 + Position.prepare(); 18.4792 + return Element.relativize(element); 18.4793 + }, 18.4794 + 18.4795 + realOffset: Element.Methods.cumulativeScrollOffset, 18.4796 + 18.4797 + offsetParent: Element.Methods.getOffsetParent, 18.4798 + 18.4799 + page: Element.Methods.viewportOffset, 18.4800 + 18.4801 + clone: function(source, target, options) { 18.4802 + options = options || { }; 18.4803 + return Element.clonePosition(target, source, options); 18.4804 + } 18.4805 +}; 18.4806 + 18.4807 +/*--------------------------------------------------------------------------*/ 18.4808 + 18.4809 +if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){ 18.4810 + function iter(name) { 18.4811 + return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' " + name + " ')]"; 18.4812 + } 18.4813 + 18.4814 + instanceMethods.getElementsByClassName = Prototype.BrowserFeatures.XPath ? 18.4815 + function(element, className) { 18.4816 + className = className.toString().strip(); 18.4817 + var cond = /\s/.test(className) ? $w(className).map(iter).join('') : iter(className); 18.4818 + return cond ? document._getElementsByXPath('.//*' + cond, element) : []; 18.4819 + } : function(element, className) { 18.4820 + className = className.toString().strip(); 18.4821 + var elements = [], classNames = (/\s/.test(className) ? $w(className) : null); 18.4822 + if (!classNames && !className) return elements; 18.4823 + 18.4824 + var nodes = $(element).getElementsByTagName('*'); 18.4825 + className = ' ' + className + ' '; 18.4826 + 18.4827 + for (var i = 0, child, cn; child = nodes[i]; i++) { 18.4828 + if (child.className && (cn = ' ' + child.className + ' ') && (cn.include(className) || 18.4829 + (classNames && classNames.all(function(name) { 18.4830 + return !name.toString().blank() && cn.include(' ' + name + ' '); 18.4831 + })))) 18.4832 + elements.push(Element.extend(child)); 18.4833 + } 18.4834 + return elements; 18.4835 + }; 18.4836 + 18.4837 + return function(className, parentElement) { 18.4838 + return $(parentElement || document.body).getElementsByClassName(className); 18.4839 + }; 18.4840 +}(Element.Methods); 18.4841 + 18.4842 +/*--------------------------------------------------------------------------*/ 18.4843 + 18.4844 +Element.ClassNames = Class.create(); 18.4845 +Element.ClassNames.prototype = { 18.4846 + initialize: function(element) { 18.4847 + this.element = $(element); 18.4848 + }, 18.4849 + 18.4850 + _each: function(iterator) { 18.4851 + this.element.className.split(/\s+/).select(function(name) { 18.4852 + return name.length > 0; 18.4853 + })._each(iterator); 18.4854 + }, 18.4855 + 18.4856 + set: function(className) { 18.4857 + this.element.className = className; 18.4858 + }, 18.4859 + 18.4860 + add: function(classNameToAdd) { 18.4861 + if (this.include(classNameToAdd)) return; 18.4862 + this.set($A(this).concat(classNameToAdd).join(' ')); 18.4863 + }, 18.4864 + 18.4865 + remove: function(classNameToRemove) { 18.4866 + if (!this.include(classNameToRemove)) return; 18.4867 + this.set($A(this).without(classNameToRemove).join(' ')); 18.4868 + }, 18.4869 + 18.4870 + toString: function() { 18.4871 + return $A(this).join(' '); 18.4872 + } 18.4873 +}; 18.4874 + 18.4875 +Object.extend(Element.ClassNames.prototype, Enumerable); 18.4876 + 18.4877 +/*--------------------------------------------------------------------------*/
19.1 --- a/megamail.pl Thu Jul 22 09:56:12 2010 -0400 19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 19.3 @@ -1,56 +0,0 @@ 19.4 -use MIME::QuotedPrint; 19.5 -use MIME::Base64; 19.6 -use Mail::Sendmail 0.75; # doesn't work with v. 0.74! 19.7 - 19.8 -%mail = ( 19.9 - from => 'rlm@mit.edu', 19.10 - to => 'rlm@mit.edu', 19.11 - subject => 'Test attachment', 19.12 - ); 19.13 - 19.14 - 19.15 -$boundary = "====" . time() . "===="; 19.16 -$mail{'content-type'} = "multipart/mixed; boundary=\"$boundary\""; 19.17 - 19.18 -$message = encode_qp( "email from your friend PERL." ); 19.19 - 19.20 -$file = "./inkscape/arrow.svg"; 19.21 - 19.22 -open (F, $file) or die "Cannot read $file: $!"; 19.23 -binmode F; undef $/; 19.24 -$attach1 = encode_base64(<F>); 19.25 -close F; 19.26 - 19.27 - 19.28 - 19.29 -$attach2 = encode_base64("hi this is a test arttacghjkalsdlasndlashdlsf"); 19.30 - 19.31 - 19.32 - 19.33 - 19.34 - 19.35 -$boundary = '--'.$boundary; 19.36 -$mail{body} = <<END_OF_BODY; 19.37 -$boundary 19.38 -Content-Type: text/plain; charset="iso-8859-1" 19.39 -Content-Transfer-Encoding: quoted-printable 19.40 - 19.41 -$message 19.42 -$boundary 19.43 -Content-Type: application/octet-stream; name="test.svg" 19.44 -Content-Transfer-Encoding: base64 19.45 -Content-Disposition: attachment; filename="test.svg" 19.46 - 19.47 -$attach1 19.48 - 19.49 -$boundary 19.50 -Content-Type: application/octet-stream; name="huh.txt" 19.51 -Content-Transfer-Encoding: base64 19.52 -Content-Disposition: attachment; filename="huh.txt" 19.53 - 19.54 -$attach2 19.55 -$boundary-- 19.56 - 19.57 -END_OF_BODY 19.58 - 19.59 -sendmail(%mail) || print "Error: $Mail::Sendmail::error\n";
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/not-used/faq.php Sun Jul 25 01:33:22 2010 -0400 20.3 @@ -0,0 +1,102 @@ 20.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 20.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 20.6 +<head> 20.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 20.8 + 20.9 +<STYLE TYPE="text/css" > 20.10 +<!-- 20.11 + @import url(./main.css); 20.12 + @import url(./old_sexy.css); 20.13 + @import url(./faq.css); 20.14 + 20.15 +--> 20.16 +</STYLE> 20.17 + 20.18 + 20.19 +<title>Laser Kard | FAQ</title> 20.20 +</head> 20.21 + 20.22 +<body id = "faq"> 20.23 + 20.24 + 20.25 + 20.26 + 20.27 + 20.28 + 20.29 + 20.30 +<?php include("./top_menu.include"); ?> 20.31 + 20.32 + 20.33 + 20.34 +<div class = "whole"> 20.35 + 20.36 +<div id = "pokedex"> 20.37 + 20.38 +<h1>Frequently Asked Questions</h1> 20.39 + 20.40 + 20.41 + 20.42 + 20.43 + 20.44 + 20.45 +<p class = "question"> 20.46 +How are they used; Will I have enough cards? 20.47 +</p> 20.48 +<p class = "answer"> 20.49 +LaserKards are meant to be used wisely - when you want to make an impact. One customer used the analogy that unlike regular cards being a spray of information, these are focused like a sniper rifle. 20.50 +</p> 20.51 +<p class = "question"> 20.52 +Are they effective? 20.53 +</p> 20.54 +<p class = "answer"> 20.55 +We've done myriad user tests to ensure that these do indeed draw attention. User tests speak for themselves. At networking sessions, they draw the conversation to the person using LaserKards. From engineers to musicians, the cards demonstrate a universal appeal. 20.56 +</p> 20.57 + 20.58 +<p class = "question"> 20.59 +How thick are LaserKards? 20.60 +</p> 20.61 +<p class = "answer"> 20.62 +They are slightly thicker than a credit card, so that they provide a feeling of presence without being obtrusive. They fit into conventional wallets, as the length is designed to account for the thickness. 20.63 +</p> 20.64 + 20.65 +<p class = "question"> 20.66 +Do they stay clean? 20.67 +</p> 20.68 +<p class = "answer"> 20.69 +They should be handled with care. Included with the cards is a microfiber cleaning cloth to ensure that the cards will be immaculate when they are given out. 20.70 +</p> 20.71 + 20.72 +<p class = "question"> 20.73 +How are they made? 20.74 +</p> 20.75 +<p class = "answer"> 20.76 +LaserKards are made of acrylic, a high-grade plastic that provides a reflective and transparent finish. Chemical and shatter resistant, the material can withstand a lot. 20.77 +</p> 20.78 + 20.79 +<p class = "question"> 20.80 +Who are the designers? 20.81 +</p> 20.82 +<p class = "answer"> 20.83 +They are MIT Engineers who specialize in Product Design. They work tirelessly developing and testing new cards and products. They have worked at the prestigious AI Labs at MIT as well as the MIT Media Laboratory. One of our designers just signed on to work at Apple with their illustrious manufacturing group. 20.84 +</p> 20.85 + 20.86 + 20.87 + 20.88 + 20.89 + 20.90 + 20.91 + 20.92 + 20.93 + 20.94 + 20.95 +</div> 20.96 + 20.97 +</div> 20.98 + 20.99 + 20.100 +<div id = "garbage"> </div> 20.101 + 20.102 + 20.103 +</body> 20.104 +</html> 20.105 +