overlord 0.1.22 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (649) hide show
  1. data/.gitignore +1 -0
  2. data/LICENSE +1 -1
  3. data/README.rdoc +27 -40
  4. data/Rakefile +1 -2
  5. data/VERSION +1 -1
  6. data/app/helpers/overlord_google_helper.rb +3 -3
  7. data/app/views/google/_search.html.erb +2 -2
  8. data/config/locales/ar.yml +9 -0
  9. data/config/locales/bg.yml +9 -0
  10. data/{locales → config/locales}/ca.yml +2 -2
  11. data/{locales → config/locales}/cs.yml +2 -2
  12. data/{locales → config/locales}/da.yml +3 -3
  13. data/{locales → config/locales}/de.yml +0 -0
  14. data/config/locales/el.yml +9 -0
  15. data/{locales → config/locales}/en.yml +0 -0
  16. data/{locales → config/locales}/es.yml +2 -2
  17. data/config/locales/et.yml +9 -0
  18. data/config/locales/fa.yml +9 -0
  19. data/{locales → config/locales}/fi.yml +3 -3
  20. data/{locales → config/locales}/fr.yml +1 -1
  21. data/{locales → config/locales}/gl.yml +1 -1
  22. data/{locales → config/locales}/hi.yml +3 -3
  23. data/{locales → config/locales}/hr.yml +2 -2
  24. data/config/locales/hu.yml +9 -0
  25. data/config/locales/id.yml +9 -0
  26. data/{locales → config/locales}/it.yml +1 -1
  27. data/{locales → config/locales}/iw.yml +3 -3
  28. data/config/locales/ja.yml +9 -0
  29. data/{locales → config/locales}/ko.yml +3 -3
  30. data/config/locales/lt.yml +9 -0
  31. data/{locales → config/locales}/lv.yml +2 -2
  32. data/config/locales/mt.yml +9 -0
  33. data/{locales → config/locales}/nl.yml +2 -2
  34. data/config/locales/no.yml +10 -0
  35. data/config/locales/pl.yml +9 -0
  36. data/{locales → config/locales}/pt-PT.yml +1 -1
  37. data/{locales → config/locales}/ro.yml +3 -3
  38. data/config/locales/ru.yml +9 -0
  39. data/{locales → config/locales}/sk.yml +3 -3
  40. data/config/locales/sl.yml +9 -0
  41. data/config/locales/sq.yml +9 -0
  42. data/config/locales/sr.yml +9 -0
  43. data/config/locales/sv.yml +9 -0
  44. data/config/locales/th.yml +9 -0
  45. data/{locales → config/locales}/tl.yml +1 -1
  46. data/config/locales/tr.yml +9 -0
  47. data/config/locales/uk.yml +9 -0
  48. data/{locales → config/locales}/vi.yml +3 -3
  49. data/config/locales/zh-CN.yml +9 -0
  50. data/{locales → config/locales}/zh-TW.yml +3 -3
  51. data/{locales → config/locales}/zh.yml +3 -3
  52. data/lib/overlord.rb +3 -2
  53. data/lib/overlord/config.rb +33 -0
  54. data/lib/overlord/engine.rb +14 -0
  55. data/lib/overlord/google_base.rb +5 -18
  56. data/lib/overlord/parse_json.rb +31 -0
  57. data/overlord.gemspec +174 -633
  58. data/test/{rails_root → rails_test}/.gitignore +0 -0
  59. data/test/{rails_root → rails_test}/.rake_tasks +0 -0
  60. data/test/rails_test/Gemfile +23 -0
  61. data/test/rails_test/Gemfile.lock +142 -0
  62. data/test/rails_test/Rakefile +10 -0
  63. data/test/{rails_root → rails_test}/app/controllers/application_controller.rb +0 -0
  64. data/test/{rails_root → rails_test}/app/controllers/default_controller.rb +0 -0
  65. data/test/{rails_root → rails_test}/app/helpers/application_helper.rb +0 -0
  66. data/test/{rails_root → rails_test}/app/models/.keep +0 -0
  67. data/test/{rails_root → rails_test}/app/models/entry.rb +0 -0
  68. data/test/{rails_root → rails_test}/app/models/feed.rb +0 -0
  69. data/test/{rails_root → rails_test}/app/models/service.rb +0 -0
  70. data/test/{rails_root → rails_test}/app/models/service_category.rb +0 -0
  71. data/test/rails_test/app/models/user.rb +3 -0
  72. data/test/{rails_root → rails_test}/app/views/default/google_combined_feeds.html.erb +0 -0
  73. data/test/{rails_root → rails_test}/app/views/default/google_dynamic_feeds_vertical.html.erb +0 -0
  74. data/test/{rails_root → rails_test}/app/views/default/google_feed_search.html.erb +0 -0
  75. data/test/{rails_root → rails_test}/app/views/default/google_feeds.html.erb +0 -0
  76. data/test/{rails_root → rails_test}/app/views/default/google_map.html.erb +0 -0
  77. data/test/{rails_root → rails_test}/app/views/default/google_search.html.erb +0 -0
  78. data/test/{rails_root → rails_test}/app/views/default/google_slide_show.html.erb +0 -0
  79. data/test/{rails_root → rails_test}/app/views/default/index.html.erb +0 -0
  80. data/test/rails_test/app/views/layouts/default.html.erb +26 -0
  81. data/test/rails_test/config.ru +4 -0
  82. data/test/rails_test/config/application.rb +42 -0
  83. data/test/rails_test/config/boot.rb +13 -0
  84. data/test/{rails_root → rails_test}/config/database.yml +0 -0
  85. data/test/rails_test/config/environment.rb +5 -0
  86. data/test/rails_test/config/environments/development.rb +26 -0
  87. data/test/rails_test/config/environments/production.rb +49 -0
  88. data/test/rails_test/config/environments/test.rb +35 -0
  89. data/test/rails_test/config/initializers/backtrace_silencers.rb +7 -0
  90. data/test/{rails_root → rails_test}/config/initializers/inflections.rb +2 -2
  91. data/test/{rails_root → rails_test}/config/initializers/mime_types.rb +0 -0
  92. data/test/rails_test/config/initializers/overlord.rb +12 -0
  93. data/test/rails_test/config/initializers/secret_token.rb +7 -0
  94. data/test/rails_test/config/initializers/session_store.rb +8 -0
  95. data/test/rails_test/config/routes.rb +4 -0
  96. data/test/{rails_root → rails_test}/db/.keep +0 -0
  97. data/test/{rails_root → rails_test}/db/migrate/20091031181115_create_sessions.rb +0 -0
  98. data/test/{rails_root → rails_test}/db/migrate/20091031185622_create_feeds.rb +0 -0
  99. data/test/{rails_root → rails_test}/db/migrate/20091031185627_create_services.rb +0 -0
  100. data/test/{rails_root → rails_test}/db/migrate/20091031185634_create_entries.rb +0 -0
  101. data/test/{rails_root → rails_test}/db/migrate/20091031215610_create_service_categories.rb +0 -0
  102. data/test/{rails_root → rails_test}/features/feeds.feature +0 -0
  103. data/test/{rails_root → rails_test}/features/step_definitions/common_steps.rb +0 -0
  104. data/test/{rails_root → rails_test}/features/step_definitions/visit_steps.rb +0 -0
  105. data/test/{rails_root → rails_test}/features/step_definitions/webrat_steps.rb +0 -0
  106. data/test/{rails_root → rails_test}/features/support/env.rb +0 -0
  107. data/test/{rails_root → rails_test}/features/support/paths.rb +0 -0
  108. data/test/{rails_root → rails_test}/features/visit.feature +0 -0
  109. data/test/{rails_root → rails_test}/public/.htaccess +0 -0
  110. data/test/rails_test/public/404.html +26 -0
  111. data/test/rails_test/public/422.html +26 -0
  112. data/test/rails_test/public/500.html +26 -0
  113. data/test/{rails_root → rails_test}/public/dispatch.rb +1 -1
  114. data/test/{rails_root → rails_test}/public/favicon.ico +0 -0
  115. data/test/rails_test/public/images/rails.png +0 -0
  116. data/test/{rails_root → rails_test}/public/javascripts/application.js +0 -0
  117. data/test/{rails_root → rails_test}/public/javascripts/controls.js +75 -73
  118. data/test/{rails_root → rails_test}/public/javascripts/dragdrop.js +171 -169
  119. data/test/{rails_root → rails_test}/public/javascripts/effects.js +180 -177
  120. data/test/rails_test/public/javascripts/prototype.js +6001 -0
  121. data/test/rails_test/public/javascripts/rails.js +175 -0
  122. data/test/rails_test/public/robots.txt +5 -0
  123. data/test/{rails_root/public/images/service_icons/source/Quake 9 Design.webloc → rails_test/public/stylesheets/.gitkeep} +0 -0
  124. data/test/{rails_root → rails_test}/public/stylesheets/application.css +0 -0
  125. data/test/rails_test/script/rails +6 -0
  126. data/test/{rails_root → rails_test}/test/factories.rb +0 -0
  127. data/test/{rails_root/public/stylesheets → rails_test/test/functional}/.keep +0 -0
  128. data/test/{rails_root → rails_test}/test/functional/default_controller_test.rb +18 -18
  129. data/test/{rails_root/test/functional → rails_test/test/integration}/.keep +0 -0
  130. data/test/{rails_root → rails_test}/test/shoulda_macros/controller.rb +0 -0
  131. data/test/{rails_root → rails_test}/test/shoulda_macros/forms.rb +0 -0
  132. data/test/{rails_root → rails_test}/test/shoulda_macros/models.rb +0 -0
  133. data/test/{rails_root → rails_test}/test/shoulda_macros/pagination.rb +0 -0
  134. data/test/{rails_root → rails_test}/test/shoulda_macros/plugins.rb +0 -0
  135. data/test/{rails_root → rails_test}/test/test_helper.rb +7 -10
  136. data/test/{rails_root/test/integration → rails_test/test/unit}/.keep +0 -0
  137. data/test/{rails_root → rails_test}/test/unit/google_feed_request_test.rb +0 -0
  138. data/test/{rails_root → rails_test}/test/unit/google_search_request_test.rb +0 -0
  139. metadata +184 -634
  140. data/locales/ar.yml +0 -9
  141. data/locales/bg.yml +0 -9
  142. data/locales/el.yml +0 -9
  143. data/locales/et.yml +0 -9
  144. data/locales/fa.yml +0 -9
  145. data/locales/hu.yml +0 -9
  146. data/locales/id.yml +0 -9
  147. data/locales/ja.yml +0 -9
  148. data/locales/lt.yml +0 -9
  149. data/locales/mt.yml +0 -9
  150. data/locales/no.yml +0 -10
  151. data/locales/pl.yml +0 -9
  152. data/locales/ru.yml +0 -9
  153. data/locales/sl.yml +0 -9
  154. data/locales/sq.yml +0 -9
  155. data/locales/sr.yml +0 -9
  156. data/locales/sv.yml +0 -9
  157. data/locales/th.yml +0 -9
  158. data/locales/tr.yml +0 -9
  159. data/locales/uk.yml +0 -9
  160. data/locales/zh-CN.yml +0 -9
  161. data/rails/init.rb +0 -5
  162. data/test/rails_root/Rakefile +0 -18
  163. data/test/rails_root/app/views/layouts/default.html.erb +0 -43
  164. data/test/rails_root/config/amazon_s3.yml +0 -14
  165. data/test/rails_root/config/boot.rb +0 -109
  166. data/test/rails_root/config/environment.rb +0 -20
  167. data/test/rails_root/config/environments/cucumber.rb +0 -21
  168. data/test/rails_root/config/environments/development.rb +0 -36
  169. data/test/rails_root/config/environments/production.rb +0 -1
  170. data/test/rails_root/config/environments/test.rb +0 -34
  171. data/test/rails_root/config/global_config.yml +0 -32
  172. data/test/rails_root/config/initializers/requires.rb +0 -13
  173. data/test/rails_root/config/initializers/session_store.rb +0 -8
  174. data/test/rails_root/config/routes.rb +0 -5
  175. data/test/rails_root/lib/tasks/cucumber.rake +0 -20
  176. data/test/rails_root/public/404.html +0 -30
  177. data/test/rails_root/public/422.html +0 -30
  178. data/test/rails_root/public/500.html +0 -30
  179. data/test/rails_root/public/ecs_to_rss-wishlist.xslt +0 -41
  180. data/test/rails_root/public/images/arrow_left.gif +0 -0
  181. data/test/rails_root/public/images/arrow_right.gif +0 -0
  182. data/test/rails_root/public/images/blue/preview.gif +0 -0
  183. data/test/rails_root/public/images/fancybox/fancy_closebox.png +0 -0
  184. data/test/rails_root/public/images/fancybox/fancy_left.png +0 -0
  185. data/test/rails_root/public/images/fancybox/fancy_progress.png +0 -0
  186. data/test/rails_root/public/images/fancybox/fancy_right.png +0 -0
  187. data/test/rails_root/public/images/fancybox/fancy_shadow_e.png +0 -0
  188. data/test/rails_root/public/images/fancybox/fancy_shadow_n.png +0 -0
  189. data/test/rails_root/public/images/fancybox/fancy_shadow_ne.png +0 -0
  190. data/test/rails_root/public/images/fancybox/fancy_shadow_nw.png +0 -0
  191. data/test/rails_root/public/images/fancybox/fancy_shadow_s.png +0 -0
  192. data/test/rails_root/public/images/fancybox/fancy_shadow_se.png +0 -0
  193. data/test/rails_root/public/images/fancybox/fancy_shadow_sw.png +0 -0
  194. data/test/rails_root/public/images/fancybox/fancy_shadow_w.png +0 -0
  195. data/test/rails_root/public/images/fancybox/fancy_title_left.png +0 -0
  196. data/test/rails_root/public/images/fancybox/fancy_title_main.png +0 -0
  197. data/test/rails_root/public/images/fancybox/fancy_title_right.png +0 -0
  198. data/test/rails_root/public/images/icons/accept.png +0 -0
  199. data/test/rails_root/public/images/icons/add.png +0 -0
  200. data/test/rails_root/public/images/icons/blue_guy.png +0 -0
  201. data/test/rails_root/public/images/icons/cancel.png +0 -0
  202. data/test/rails_root/public/images/icons/close.png +0 -0
  203. data/test/rails_root/public/images/icons/comment.png +0 -0
  204. data/test/rails_root/public/images/icons/delete.png +0 -0
  205. data/test/rails_root/public/images/icons/exclaim.png +0 -0
  206. data/test/rails_root/public/images/icons/grey_guy.png +0 -0
  207. data/test/rails_root/public/images/icons/hide.png +0 -0
  208. data/test/rails_root/public/images/icons/information.png +0 -0
  209. data/test/rails_root/public/images/icons/minus.png +0 -0
  210. data/test/rails_root/public/images/icons/question.png +0 -0
  211. data/test/rails_root/public/images/icons/search_box.png +0 -0
  212. data/test/rails_root/public/images/icons/star.png +0 -0
  213. data/test/rails_root/public/images/icons/stop.png +0 -0
  214. data/test/rails_root/public/images/icons/thumb_down.png +0 -0
  215. data/test/rails_root/public/images/icons/thumb_up.png +0 -0
  216. data/test/rails_root/public/images/icons/vote.png +0 -0
  217. data/test/rails_root/public/images/loading.gif +0 -0
  218. data/test/rails_root/public/images/profile_default.jpg +0 -0
  219. data/test/rails_root/public/images/rails.png +0 -0
  220. data/test/rails_root/public/images/red/preview.gif +0 -0
  221. data/test/rails_root/public/images/service_icons/16/amazon.png +0 -0
  222. data/test/rails_root/public/images/service_icons/16/ask.png +0 -0
  223. data/test/rails_root/public/images/service_icons/16/bibsonomy.png +0 -0
  224. data/test/rails_root/public/images/service_icons/16/bing.png +0 -0
  225. data/test/rails_root/public/images/service_icons/16/blogger.png +0 -0
  226. data/test/rails_root/public/images/service_icons/16/bloglines.png +0 -0
  227. data/test/rails_root/public/images/service_icons/16/citeulike.png +0 -0
  228. data/test/rails_root/public/images/service_icons/16/clipmarks.png +0 -0
  229. data/test/rails_root/public/images/service_icons/16/connotea.png +0 -0
  230. data/test/rails_root/public/images/service_icons/16/dailymotion.png +0 -0
  231. data/test/rails_root/public/images/service_icons/16/delicious.png +0 -0
  232. data/test/rails_root/public/images/service_icons/16/digg.png +0 -0
  233. data/test/rails_root/public/images/service_icons/16/diigo.png +0 -0
  234. data/test/rails_root/public/images/service_icons/16/facebook.png +0 -0
  235. data/test/rails_root/public/images/service_icons/16/feed.png +0 -0
  236. data/test/rails_root/public/images/service_icons/16/flickr.png +0 -0
  237. data/test/rails_root/public/images/service_icons/16/fotolog.png +0 -0
  238. data/test/rails_root/public/images/service_icons/16/friendfeed.png +0 -0
  239. data/test/rails_root/public/images/service_icons/16/friendster.png +0 -0
  240. data/test/rails_root/public/images/service_icons/16/furl.png +0 -0
  241. data/test/rails_root/public/images/service_icons/16/goodreads.png +0 -0
  242. data/test/rails_root/public/images/service_icons/16/google.png +0 -0
  243. data/test/rails_root/public/images/service_icons/16/googleblog.png +0 -0
  244. data/test/rails_root/public/images/service_icons/16/googlenews.png +0 -0
  245. data/test/rails_root/public/images/service_icons/16/icerocket.png +0 -0
  246. data/test/rails_root/public/images/service_icons/16/identica.png +0 -0
  247. data/test/rails_root/public/images/service_icons/16/joost.png +0 -0
  248. data/test/rails_root/public/images/service_icons/16/lastfm.png +0 -0
  249. data/test/rails_root/public/images/service_icons/16/librarything.png +0 -0
  250. data/test/rails_root/public/images/service_icons/16/linkedin.png +0 -0
  251. data/test/rails_root/public/images/service_icons/16/livejournal.png +0 -0
  252. data/test/rails_root/public/images/service_icons/16/magnolia.png +0 -0
  253. data/test/rails_root/public/images/service_icons/16/mendeley.png +0 -0
  254. data/test/rails_root/public/images/service_icons/16/metacafe.png +0 -0
  255. data/test/rails_root/public/images/service_icons/16/mixx.png +0 -0
  256. data/test/rails_root/public/images/service_icons/16/myspace.png +0 -0
  257. data/test/rails_root/public/images/service_icons/16/netflix.png +0 -0
  258. data/test/rails_root/public/images/service_icons/16/netvibes.png +0 -0
  259. data/test/rails_root/public/images/service_icons/16/newsvine.png +0 -0
  260. data/test/rails_root/public/images/service_icons/16/oai.png +0 -0
  261. data/test/rails_root/public/images/service_icons/16/odeo.png +0 -0
  262. data/test/rails_root/public/images/service_icons/16/opml.png +0 -0
  263. data/test/rails_root/public/images/service_icons/16/pandora.png +0 -0
  264. data/test/rails_root/public/images/service_icons/16/photobucket.png +0 -0
  265. data/test/rails_root/public/images/service_icons/16/picasa.png +0 -0
  266. data/test/rails_root/public/images/service_icons/16/polyvore.png +0 -0
  267. data/test/rails_root/public/images/service_icons/16/pownce.png +0 -0
  268. data/test/rails_root/public/images/service_icons/16/reddit.png +0 -0
  269. data/test/rails_root/public/images/service_icons/16/simpy.png +0 -0
  270. data/test/rails_root/public/images/service_icons/16/smugmug.png +0 -0
  271. data/test/rails_root/public/images/service_icons/16/stumbleupon.png +0 -0
  272. data/test/rails_root/public/images/service_icons/16/tag.png +0 -0
  273. data/test/rails_root/public/images/service_icons/16/technorati.png +0 -0
  274. data/test/rails_root/public/images/service_icons/16/tumblr.png +0 -0
  275. data/test/rails_root/public/images/service_icons/16/twine.png +0 -0
  276. data/test/rails_root/public/images/service_icons/16/twitter.png +0 -0
  277. data/test/rails_root/public/images/service_icons/16/vimeo.png +0 -0
  278. data/test/rails_root/public/images/service_icons/16/webshots.png +0 -0
  279. data/test/rails_root/public/images/service_icons/16/wordpress.png +0 -0
  280. data/test/rails_root/public/images/service_icons/16/xanga.png +0 -0
  281. data/test/rails_root/public/images/service_icons/16/yahoo.png +0 -0
  282. data/test/rails_root/public/images/service_icons/16/yelp.png +0 -0
  283. data/test/rails_root/public/images/service_icons/16/youtube.png +0 -0
  284. data/test/rails_root/public/images/service_icons/16/zooomr.png +0 -0
  285. data/test/rails_root/public/images/service_icons/16/zotero.png +0 -0
  286. data/test/rails_root/public/images/service_icons/24/amazon.png +0 -0
  287. data/test/rails_root/public/images/service_icons/24/ask.png +0 -0
  288. data/test/rails_root/public/images/service_icons/24/bibsonomy.png +0 -0
  289. data/test/rails_root/public/images/service_icons/24/bing.png +0 -0
  290. data/test/rails_root/public/images/service_icons/24/blogger.png +0 -0
  291. data/test/rails_root/public/images/service_icons/24/bloglines.png +0 -0
  292. data/test/rails_root/public/images/service_icons/24/citeulike.png +0 -0
  293. data/test/rails_root/public/images/service_icons/24/clipmarks.png +0 -0
  294. data/test/rails_root/public/images/service_icons/24/connotea.png +0 -0
  295. data/test/rails_root/public/images/service_icons/24/dailymotion.png +0 -0
  296. data/test/rails_root/public/images/service_icons/24/delicious.png +0 -0
  297. data/test/rails_root/public/images/service_icons/24/digg.png +0 -0
  298. data/test/rails_root/public/images/service_icons/24/diigo.png +0 -0
  299. data/test/rails_root/public/images/service_icons/24/facebook.png +0 -0
  300. data/test/rails_root/public/images/service_icons/24/feed.png +0 -0
  301. data/test/rails_root/public/images/service_icons/24/flickr.png +0 -0
  302. data/test/rails_root/public/images/service_icons/24/fotolog.png +0 -0
  303. data/test/rails_root/public/images/service_icons/24/friendfeed.png +0 -0
  304. data/test/rails_root/public/images/service_icons/24/friendster.png +0 -0
  305. data/test/rails_root/public/images/service_icons/24/furl.png +0 -0
  306. data/test/rails_root/public/images/service_icons/24/goodreads.png +0 -0
  307. data/test/rails_root/public/images/service_icons/24/google.png +0 -0
  308. data/test/rails_root/public/images/service_icons/24/googleblog.png +0 -0
  309. data/test/rails_root/public/images/service_icons/24/googlenews.png +0 -0
  310. data/test/rails_root/public/images/service_icons/24/icerocket.png +0 -0
  311. data/test/rails_root/public/images/service_icons/24/identica.png +0 -0
  312. data/test/rails_root/public/images/service_icons/24/joost.png +0 -0
  313. data/test/rails_root/public/images/service_icons/24/lastfm.png +0 -0
  314. data/test/rails_root/public/images/service_icons/24/librarything.png +0 -0
  315. data/test/rails_root/public/images/service_icons/24/linkedin.png +0 -0
  316. data/test/rails_root/public/images/service_icons/24/livejournal.png +0 -0
  317. data/test/rails_root/public/images/service_icons/24/magnolia.png +0 -0
  318. data/test/rails_root/public/images/service_icons/24/mendeley.png +0 -0
  319. data/test/rails_root/public/images/service_icons/24/metacafe.png +0 -0
  320. data/test/rails_root/public/images/service_icons/24/mixx.png +0 -0
  321. data/test/rails_root/public/images/service_icons/24/myspace.png +0 -0
  322. data/test/rails_root/public/images/service_icons/24/netflix.png +0 -0
  323. data/test/rails_root/public/images/service_icons/24/netvibes.png +0 -0
  324. data/test/rails_root/public/images/service_icons/24/newsvine.png +0 -0
  325. data/test/rails_root/public/images/service_icons/24/oai.png +0 -0
  326. data/test/rails_root/public/images/service_icons/24/odeo.png +0 -0
  327. data/test/rails_root/public/images/service_icons/24/opml.png +0 -0
  328. data/test/rails_root/public/images/service_icons/24/pandora.png +0 -0
  329. data/test/rails_root/public/images/service_icons/24/photobucket.png +0 -0
  330. data/test/rails_root/public/images/service_icons/24/picasa.png +0 -0
  331. data/test/rails_root/public/images/service_icons/24/polyvore.png +0 -0
  332. data/test/rails_root/public/images/service_icons/24/pownce.png +0 -0
  333. data/test/rails_root/public/images/service_icons/24/reddit.png +0 -0
  334. data/test/rails_root/public/images/service_icons/24/simpy.png +0 -0
  335. data/test/rails_root/public/images/service_icons/24/smugmug.png +0 -0
  336. data/test/rails_root/public/images/service_icons/24/stumbleupon.png +0 -0
  337. data/test/rails_root/public/images/service_icons/24/tag.png +0 -0
  338. data/test/rails_root/public/images/service_icons/24/technorati.png +0 -0
  339. data/test/rails_root/public/images/service_icons/24/tumblr.png +0 -0
  340. data/test/rails_root/public/images/service_icons/24/twine.png +0 -0
  341. data/test/rails_root/public/images/service_icons/24/twitter.png +0 -0
  342. data/test/rails_root/public/images/service_icons/24/vimeo.png +0 -0
  343. data/test/rails_root/public/images/service_icons/24/webshots.png +0 -0
  344. data/test/rails_root/public/images/service_icons/24/wordpress.png +0 -0
  345. data/test/rails_root/public/images/service_icons/24/xanga.png +0 -0
  346. data/test/rails_root/public/images/service_icons/24/yahoo.png +0 -0
  347. data/test/rails_root/public/images/service_icons/24/yelp.png +0 -0
  348. data/test/rails_root/public/images/service_icons/24/youtube.png +0 -0
  349. data/test/rails_root/public/images/service_icons/24/zooomr.png +0 -0
  350. data/test/rails_root/public/images/service_icons/24/zotero.png +0 -0
  351. data/test/rails_root/public/images/service_icons/48/amazon.png +0 -0
  352. data/test/rails_root/public/images/service_icons/48/ask.png +0 -0
  353. data/test/rails_root/public/images/service_icons/48/bibsonomy.png +0 -0
  354. data/test/rails_root/public/images/service_icons/48/bing.png +0 -0
  355. data/test/rails_root/public/images/service_icons/48/blogger.png +0 -0
  356. data/test/rails_root/public/images/service_icons/48/bloglines.png +0 -0
  357. data/test/rails_root/public/images/service_icons/48/citeulike.png +0 -0
  358. data/test/rails_root/public/images/service_icons/48/clipmarks.png +0 -0
  359. data/test/rails_root/public/images/service_icons/48/connotea.png +0 -0
  360. data/test/rails_root/public/images/service_icons/48/dailymotion.png +0 -0
  361. data/test/rails_root/public/images/service_icons/48/delicious.png +0 -0
  362. data/test/rails_root/public/images/service_icons/48/digg.png +0 -0
  363. data/test/rails_root/public/images/service_icons/48/diigo.png +0 -0
  364. data/test/rails_root/public/images/service_icons/48/facebook.png +0 -0
  365. data/test/rails_root/public/images/service_icons/48/feed.png +0 -0
  366. data/test/rails_root/public/images/service_icons/48/flickr.png +0 -0
  367. data/test/rails_root/public/images/service_icons/48/fotolog.png +0 -0
  368. data/test/rails_root/public/images/service_icons/48/friendfeed.png +0 -0
  369. data/test/rails_root/public/images/service_icons/48/friendster.png +0 -0
  370. data/test/rails_root/public/images/service_icons/48/furl.png +0 -0
  371. data/test/rails_root/public/images/service_icons/48/goodreads.png +0 -0
  372. data/test/rails_root/public/images/service_icons/48/google.png +0 -0
  373. data/test/rails_root/public/images/service_icons/48/googleblog.png +0 -0
  374. data/test/rails_root/public/images/service_icons/48/googlenews.png +0 -0
  375. data/test/rails_root/public/images/service_icons/48/icerocket.png +0 -0
  376. data/test/rails_root/public/images/service_icons/48/identica.png +0 -0
  377. data/test/rails_root/public/images/service_icons/48/joost.png +0 -0
  378. data/test/rails_root/public/images/service_icons/48/lastfm.png +0 -0
  379. data/test/rails_root/public/images/service_icons/48/librarything.png +0 -0
  380. data/test/rails_root/public/images/service_icons/48/linkedin.png +0 -0
  381. data/test/rails_root/public/images/service_icons/48/livejournal.png +0 -0
  382. data/test/rails_root/public/images/service_icons/48/magnolia.png +0 -0
  383. data/test/rails_root/public/images/service_icons/48/mendeley.png +0 -0
  384. data/test/rails_root/public/images/service_icons/48/metacafe.png +0 -0
  385. data/test/rails_root/public/images/service_icons/48/mixx.png +0 -0
  386. data/test/rails_root/public/images/service_icons/48/myspace.png +0 -0
  387. data/test/rails_root/public/images/service_icons/48/netflix.png +0 -0
  388. data/test/rails_root/public/images/service_icons/48/netvibes.png +0 -0
  389. data/test/rails_root/public/images/service_icons/48/newsvine.png +0 -0
  390. data/test/rails_root/public/images/service_icons/48/oai.png +0 -0
  391. data/test/rails_root/public/images/service_icons/48/odeo.png +0 -0
  392. data/test/rails_root/public/images/service_icons/48/opml.png +0 -0
  393. data/test/rails_root/public/images/service_icons/48/pandora.png +0 -0
  394. data/test/rails_root/public/images/service_icons/48/photobucket.png +0 -0
  395. data/test/rails_root/public/images/service_icons/48/picasa.png +0 -0
  396. data/test/rails_root/public/images/service_icons/48/polyvore.png +0 -0
  397. data/test/rails_root/public/images/service_icons/48/pownce.png +0 -0
  398. data/test/rails_root/public/images/service_icons/48/reddit.png +0 -0
  399. data/test/rails_root/public/images/service_icons/48/simpy.png +0 -0
  400. data/test/rails_root/public/images/service_icons/48/smugmug.png +0 -0
  401. data/test/rails_root/public/images/service_icons/48/stumbleupon.png +0 -0
  402. data/test/rails_root/public/images/service_icons/48/tag.png +0 -0
  403. data/test/rails_root/public/images/service_icons/48/technorati.png +0 -0
  404. data/test/rails_root/public/images/service_icons/48/tumblr.png +0 -0
  405. data/test/rails_root/public/images/service_icons/48/twine.png +0 -0
  406. data/test/rails_root/public/images/service_icons/48/twitter.png +0 -0
  407. data/test/rails_root/public/images/service_icons/48/vimeo.png +0 -0
  408. data/test/rails_root/public/images/service_icons/48/webshots.png +0 -0
  409. data/test/rails_root/public/images/service_icons/48/wordpress.png +0 -0
  410. data/test/rails_root/public/images/service_icons/48/xanga.png +0 -0
  411. data/test/rails_root/public/images/service_icons/48/yahoo.png +0 -0
  412. data/test/rails_root/public/images/service_icons/48/yelp.png +0 -0
  413. data/test/rails_root/public/images/service_icons/48/youtube.png +0 -0
  414. data/test/rails_root/public/images/service_icons/48/zooomr.png +0 -0
  415. data/test/rails_root/public/images/service_icons/48/zotero.png +0 -0
  416. data/test/rails_root/public/images/service_icons/60/amazon.png +0 -0
  417. data/test/rails_root/public/images/service_icons/60/ask.png +0 -0
  418. data/test/rails_root/public/images/service_icons/60/bibsonomy.png +0 -0
  419. data/test/rails_root/public/images/service_icons/60/bing.png +0 -0
  420. data/test/rails_root/public/images/service_icons/60/blogger.png +0 -0
  421. data/test/rails_root/public/images/service_icons/60/bloglines.png +0 -0
  422. data/test/rails_root/public/images/service_icons/60/citeulike.png +0 -0
  423. data/test/rails_root/public/images/service_icons/60/clipmarks.png +0 -0
  424. data/test/rails_root/public/images/service_icons/60/connotea.png +0 -0
  425. data/test/rails_root/public/images/service_icons/60/dailymotion.png +0 -0
  426. data/test/rails_root/public/images/service_icons/60/delicious.png +0 -0
  427. data/test/rails_root/public/images/service_icons/60/digg.png +0 -0
  428. data/test/rails_root/public/images/service_icons/60/diigo.png +0 -0
  429. data/test/rails_root/public/images/service_icons/60/facebook.png +0 -0
  430. data/test/rails_root/public/images/service_icons/60/feed.png +0 -0
  431. data/test/rails_root/public/images/service_icons/60/flickr.png +0 -0
  432. data/test/rails_root/public/images/service_icons/60/fotolog.png +0 -0
  433. data/test/rails_root/public/images/service_icons/60/friendfeed.png +0 -0
  434. data/test/rails_root/public/images/service_icons/60/friendster.png +0 -0
  435. data/test/rails_root/public/images/service_icons/60/furl.png +0 -0
  436. data/test/rails_root/public/images/service_icons/60/goodreads.png +0 -0
  437. data/test/rails_root/public/images/service_icons/60/google.png +0 -0
  438. data/test/rails_root/public/images/service_icons/60/googleblog.png +0 -0
  439. data/test/rails_root/public/images/service_icons/60/googlenews.png +0 -0
  440. data/test/rails_root/public/images/service_icons/60/icerocket.png +0 -0
  441. data/test/rails_root/public/images/service_icons/60/identica.png +0 -0
  442. data/test/rails_root/public/images/service_icons/60/joost.png +0 -0
  443. data/test/rails_root/public/images/service_icons/60/lastfm.png +0 -0
  444. data/test/rails_root/public/images/service_icons/60/librarything.png +0 -0
  445. data/test/rails_root/public/images/service_icons/60/linkedin.png +0 -0
  446. data/test/rails_root/public/images/service_icons/60/livejournal.png +0 -0
  447. data/test/rails_root/public/images/service_icons/60/magnolia.png +0 -0
  448. data/test/rails_root/public/images/service_icons/60/mendeley.png +0 -0
  449. data/test/rails_root/public/images/service_icons/60/metacafe.png +0 -0
  450. data/test/rails_root/public/images/service_icons/60/mixx.png +0 -0
  451. data/test/rails_root/public/images/service_icons/60/myspace.png +0 -0
  452. data/test/rails_root/public/images/service_icons/60/netflix.png +0 -0
  453. data/test/rails_root/public/images/service_icons/60/netvibes.png +0 -0
  454. data/test/rails_root/public/images/service_icons/60/newsvine.png +0 -0
  455. data/test/rails_root/public/images/service_icons/60/oai.png +0 -0
  456. data/test/rails_root/public/images/service_icons/60/odeo.png +0 -0
  457. data/test/rails_root/public/images/service_icons/60/opml.png +0 -0
  458. data/test/rails_root/public/images/service_icons/60/pandora.png +0 -0
  459. data/test/rails_root/public/images/service_icons/60/photobucket.png +0 -0
  460. data/test/rails_root/public/images/service_icons/60/picasa.png +0 -0
  461. data/test/rails_root/public/images/service_icons/60/polyvore.png +0 -0
  462. data/test/rails_root/public/images/service_icons/60/pownce.png +0 -0
  463. data/test/rails_root/public/images/service_icons/60/reddit.png +0 -0
  464. data/test/rails_root/public/images/service_icons/60/simpy.png +0 -0
  465. data/test/rails_root/public/images/service_icons/60/smugmug.png +0 -0
  466. data/test/rails_root/public/images/service_icons/60/stumbleupon.png +0 -0
  467. data/test/rails_root/public/images/service_icons/60/tag.png +0 -0
  468. data/test/rails_root/public/images/service_icons/60/technorati.png +0 -0
  469. data/test/rails_root/public/images/service_icons/60/tumblr.png +0 -0
  470. data/test/rails_root/public/images/service_icons/60/twine.png +0 -0
  471. data/test/rails_root/public/images/service_icons/60/twitter.png +0 -0
  472. data/test/rails_root/public/images/service_icons/60/vimeo.png +0 -0
  473. data/test/rails_root/public/images/service_icons/60/webshots.png +0 -0
  474. data/test/rails_root/public/images/service_icons/60/wordpress.png +0 -0
  475. data/test/rails_root/public/images/service_icons/60/xanga.png +0 -0
  476. data/test/rails_root/public/images/service_icons/60/yahoo.png +0 -0
  477. data/test/rails_root/public/images/service_icons/60/yelp.png +0 -0
  478. data/test/rails_root/public/images/service_icons/60/youtube.png +0 -0
  479. data/test/rails_root/public/images/service_icons/60/zooomr.png +0 -0
  480. data/test/rails_root/public/images/service_icons/60/zotero.png +0 -0
  481. data/test/rails_root/public/images/service_icons/ReadMe.rtf +0 -52
  482. data/test/rails_root/public/images/service_icons/amazon.png +0 -0
  483. data/test/rails_root/public/images/service_icons/facebook_friend_links.jpg +0 -0
  484. data/test/rails_root/public/images/service_icons/facebook_my_links.jpg +0 -0
  485. data/test/rails_root/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  486. data/test/rails_root/public/images/service_icons/source/Google.psd +0 -0
  487. data/test/rails_root/public/images/service_icons/source/ReadMe.rtf +0 -52
  488. data/test/rails_root/public/images/service_icons/source/aquaticus.social.png +0 -0
  489. data/test/rails_root/public/images/service_icons/source/ask.psd +0 -0
  490. data/test/rails_root/public/images/service_icons/source/bibsonomy.psd +0 -0
  491. data/test/rails_root/public/images/service_icons/source/bing.psd +0 -0
  492. data/test/rails_root/public/images/service_icons/source/bloglines.psd +0 -0
  493. data/test/rails_root/public/images/service_icons/source/citeulike.png +0 -0
  494. data/test/rails_root/public/images/service_icons/source/clipmarks.png +0 -0
  495. data/test/rails_root/public/images/service_icons/source/connotea.psd +0 -0
  496. data/test/rails_root/public/images/service_icons/source/icerocket.psd +0 -0
  497. data/test/rails_root/public/images/service_icons/source/metacafe.psd +0 -0
  498. data/test/rails_root/public/images/service_icons/source/netflix.png +0 -0
  499. data/test/rails_root/public/images/service_icons/source/oai.png +0 -0
  500. data/test/rails_root/public/images/service_icons/source/odeo.png +0 -0
  501. data/test/rails_root/public/images/service_icons/source/opml.png +0 -0
  502. data/test/rails_root/public/images/service_icons/source/pandora.png +0 -0
  503. data/test/rails_root/public/images/service_icons/source/simpy.png +0 -0
  504. data/test/rails_root/public/images/service_icons/source/template.png +0 -0
  505. data/test/rails_root/public/images/service_icons/source/twine.psd +0 -0
  506. data/test/rails_root/public/images/service_icons/source/xanga.png +0 -0
  507. data/test/rails_root/public/images/spinner.gif +0 -0
  508. data/test/rails_root/public/images/sprites.png +0 -0
  509. data/test/rails_root/public/javascripts/builder.js +0 -136
  510. data/test/rails_root/public/javascripts/fancyzoom.min.js +0 -1
  511. data/test/rails_root/public/javascripts/jquery-ui.js +0 -188
  512. data/test/rails_root/public/javascripts/jquery.js +0 -19
  513. data/test/rails_root/public/javascripts/jquery/jquery-ui.js +0 -273
  514. data/test/rails_root/public/javascripts/jquery/jquery.easing.js +0 -1
  515. data/test/rails_root/public/javascripts/jquery/jquery.fancybox.js +0 -9
  516. data/test/rails_root/public/javascripts/jquery/jquery.form.js +0 -637
  517. data/test/rails_root/public/javascripts/jquery/jquery.jgrowl.js +0 -2
  518. data/test/rails_root/public/javascripts/jquery/jquery.js +0 -19
  519. data/test/rails_root/public/javascripts/jquery/jquery.tips.js +0 -69
  520. data/test/rails_root/public/javascripts/jquery/jrails.js +0 -1
  521. data/test/rails_root/public/javascripts/jrails.js +0 -1
  522. data/test/rails_root/public/javascripts/muck.js +0 -81
  523. data/test/rails_root/public/javascripts/muck_activities.js +0 -107
  524. data/test/rails_root/public/javascripts/muck_raker.js +0 -94
  525. data/test/rails_root/public/javascripts/prototype.js +0 -4225
  526. data/test/rails_root/public/javascripts/scriptaculous.js +0 -58
  527. data/test/rails_root/public/javascripts/slider.js +0 -277
  528. data/test/rails_root/public/javascripts/sound.js +0 -60
  529. data/test/rails_root/public/robots.txt +0 -1
  530. data/test/rails_root/public/stylesheets/admin.css +0 -12
  531. data/test/rails_root/public/stylesheets/blueprint/ie.css +0 -26
  532. data/test/rails_root/public/stylesheets/blueprint/liquid_screen.css +0 -203
  533. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
  534. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
  535. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
  536. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/readme.txt +0 -32
  537. data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/screen.css +0 -97
  538. data/test/rails_root/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +0 -14
  539. data/test/rails_root/public/stylesheets/blueprint/plugins/fancy-type/screen.css +0 -71
  540. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
  541. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
  542. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
  543. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
  544. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
  545. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  546. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
  547. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
  548. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/readme.txt +0 -18
  549. data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/screen.css +0 -40
  550. data/test/rails_root/public/stylesheets/blueprint/plugins/liquid/liquid.css +0 -134
  551. data/test/rails_root/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +0 -197
  552. data/test/rails_root/public/stylesheets/blueprint/plugins/rtl/readme.txt +0 -10
  553. data/test/rails_root/public/stylesheets/blueprint/plugins/rtl/screen.css +0 -109
  554. data/test/rails_root/public/stylesheets/blueprint/print.css +0 -30
  555. data/test/rails_root/public/stylesheets/blueprint/screen.css +0 -251
  556. data/test/rails_root/public/stylesheets/blueprint/sprite.css +0 -1
  557. data/test/rails_root/public/stylesheets/blueprint/src/forms.css +0 -49
  558. data/test/rails_root/public/stylesheets/blueprint/src/grid.css +0 -213
  559. data/test/rails_root/public/stylesheets/blueprint/src/grid.png +0 -0
  560. data/test/rails_root/public/stylesheets/blueprint/src/ie.css +0 -59
  561. data/test/rails_root/public/stylesheets/blueprint/src/print.css +0 -85
  562. data/test/rails_root/public/stylesheets/blueprint/src/reset.css +0 -38
  563. data/test/rails_root/public/stylesheets/blueprint/src/typography.css +0 -105
  564. data/test/rails_root/public/stylesheets/frame.css +0 -56
  565. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  566. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  567. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
  568. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
  569. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  570. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
  571. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  572. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  573. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
  574. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
  575. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  576. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  577. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  578. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
  579. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
  580. data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  581. data/test/rails_root/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +0 -404
  582. data/test/rails_root/public/stylesheets/jquery/jquery.fancybox.css +0 -44
  583. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  584. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  585. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  586. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  587. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  588. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  589. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  590. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  591. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  592. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  593. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  594. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  595. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  596. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  597. data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  598. data/test/rails_root/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +0 -404
  599. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  600. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  601. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  602. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  603. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  604. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  605. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  606. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  607. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
  608. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  609. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
  610. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
  611. data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  612. data/test/rails_root/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +0 -404
  613. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  614. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  615. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  616. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  617. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  618. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  619. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  620. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  621. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  622. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  623. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  624. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  625. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  626. data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  627. data/test/rails_root/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +0 -404
  628. data/test/rails_root/public/stylesheets/reset.css +0 -0
  629. data/test/rails_root/public/stylesheets/styles.css +0 -84
  630. data/test/rails_root/script/about +0 -3
  631. data/test/rails_root/script/breakpointer +0 -3
  632. data/test/rails_root/script/console +0 -3
  633. data/test/rails_root/script/create_project.rb +0 -52
  634. data/test/rails_root/script/cucumber +0 -8
  635. data/test/rails_root/script/dbconsole +0 -3
  636. data/test/rails_root/script/destroy +0 -3
  637. data/test/rails_root/script/generate +0 -3
  638. data/test/rails_root/script/performance/benchmarker +0 -3
  639. data/test/rails_root/script/performance/profiler +0 -3
  640. data/test/rails_root/script/performance/request +0 -3
  641. data/test/rails_root/script/plugin +0 -3
  642. data/test/rails_root/script/process/inspector +0 -3
  643. data/test/rails_root/script/process/reaper +0 -3
  644. data/test/rails_root/script/process/spawner +0 -3
  645. data/test/rails_root/script/runner +0 -3
  646. data/test/rails_root/script/server +0 -3
  647. data/test/rails_root/test/mocks/development/.keep +0 -0
  648. data/test/rails_root/test/mocks/test/.keep +0 -0
  649. data/test/rails_root/test/unit/.keep +0 -0
@@ -1,19 +0,0 @@
1
- /*
2
- * jQuery JavaScript Library v1.3.2
3
- * http://jquery.com/
4
- *
5
- * Copyright (c) 2009 John Resig
6
- * Dual licensed under the MIT and GPL licenses.
7
- * http://docs.jquery.com/License
8
- *
9
- * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
10
- * Revision: 6246
11
- */
12
- (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)})}});
13
- /*
14
- * Sizzle CSS Selector Engine - v0.9.3
15
- * Copyright 2009, The Dojo Foundation
16
- * Released under the MIT, BSD, and GPL Licenses.
17
- * More information: http://sizzlejs.com/
18
- */
19
- (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")}})})();
@@ -1,273 +0,0 @@
1
- /*
2
- * jQuery UI 1.7.1
3
- *
4
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT (MIT-LICENSE.txt)
6
- * and GPL (GPL-LICENSE.txt) licenses.
7
- *
8
- * http://docs.jquery.com/UI
9
- */
10
- * jQuery UI Draggable 1.7.1
11
- *
12
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
13
- * Dual licensed under the MIT (MIT-LICENSE.txt)
14
- * and GPL (GPL-LICENSE.txt) licenses.
15
- *
16
- * http://docs.jquery.com/UI/Draggables
17
- *
18
- * Depends:
19
- * ui.core.js
20
- */
21
- * jQuery UI Droppable 1.7.1
22
- *
23
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
24
- * Dual licensed under the MIT (MIT-LICENSE.txt)
25
- * and GPL (GPL-LICENSE.txt) licenses.
26
- *
27
- * http://docs.jquery.com/UI/Droppables
28
- *
29
- * Depends:
30
- * ui.core.js
31
- * ui.draggable.js
32
- */
33
- * jQuery UI Resizable 1.7.1
34
- *
35
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
36
- * Dual licensed under the MIT (MIT-LICENSE.txt)
37
- * and GPL (GPL-LICENSE.txt) licenses.
38
- *
39
- * http://docs.jquery.com/UI/Resizables
40
- *
41
- * Depends:
42
- * ui.core.js
43
- */
44
- * jQuery UI Selectable 1.7.1
45
- *
46
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
47
- * Dual licensed under the MIT (MIT-LICENSE.txt)
48
- * and GPL (GPL-LICENSE.txt) licenses.
49
- *
50
- * http://docs.jquery.com/UI/Selectables
51
- *
52
- * Depends:
53
- * ui.core.js
54
- */
55
- * jQuery UI Sortable 1.7.1
56
- *
57
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
58
- * Dual licensed under the MIT (MIT-LICENSE.txt)
59
- * and GPL (GPL-LICENSE.txt) licenses.
60
- *
61
- * http://docs.jquery.com/UI/Sortables
62
- *
63
- * Depends:
64
- * ui.core.js
65
- */
66
- * jQuery UI Accordion 1.7.1
67
- *
68
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
69
- * Dual licensed under the MIT (MIT-LICENSE.txt)
70
- * and GPL (GPL-LICENSE.txt) licenses.
71
- *
72
- * http://docs.jquery.com/UI/Accordion
73
- *
74
- * Depends:
75
- * ui.core.js
76
- */
77
- * jQuery UI Dialog 1.7.1
78
- *
79
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
80
- * Dual licensed under the MIT (MIT-LICENSE.txt)
81
- * and GPL (GPL-LICENSE.txt) licenses.
82
- *
83
- * http://docs.jquery.com/UI/Dialog
84
- *
85
- * Depends:
86
- * ui.core.js
87
- * ui.draggable.js
88
- * ui.resizable.js
89
- */
90
- * jQuery UI Slider 1.7.1
91
- *
92
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
93
- * Dual licensed under the MIT (MIT-LICENSE.txt)
94
- * and GPL (GPL-LICENSE.txt) licenses.
95
- *
96
- * http://docs.jquery.com/UI/Slider
97
- *
98
- * Depends:
99
- * ui.core.js
100
- */
101
- * jQuery UI Tabs 1.7.1
102
- *
103
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
104
- * Dual licensed under the MIT (MIT-LICENSE.txt)
105
- * and GPL (GPL-LICENSE.txt) licenses.
106
- *
107
- * http://docs.jquery.com/UI/Tabs
108
- *
109
- * Depends:
110
- * ui.core.js
111
- */
112
- * jQuery UI Datepicker 1.7.1
113
- *
114
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
115
- * Dual licensed under the MIT (MIT-LICENSE.txt)
116
- * and GPL (GPL-LICENSE.txt) licenses.
117
- *
118
- * http://docs.jquery.com/UI/Datepicker
119
- *
120
- * Depends:
121
- * ui.core.js
122
- */
123
- * jQuery UI Progressbar 1.7.1
124
- *
125
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
126
- * Dual licensed under the MIT (MIT-LICENSE.txt)
127
- * and GPL (GPL-LICENSE.txt) licenses.
128
- *
129
- * http://docs.jquery.com/UI/Progressbar
130
- *
131
- * Depends:
132
- * ui.core.js
133
- */
134
- * jQuery UI Effects 1.7.1
135
- *
136
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
137
- * Dual licensed under the MIT (MIT-LICENSE.txt)
138
- * and GPL (GPL-LICENSE.txt) licenses.
139
- *
140
- * http://docs.jquery.com/UI/Effects/
141
- */
142
- * jQuery UI Effects Blind 1.7.1
143
- *
144
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
145
- * Dual licensed under the MIT (MIT-LICENSE.txt)
146
- * and GPL (GPL-LICENSE.txt) licenses.
147
- *
148
- * http://docs.jquery.com/UI/Effects/Blind
149
- *
150
- * Depends:
151
- * effects.core.js
152
- */
153
- * jQuery UI Effects Bounce 1.7.1
154
- *
155
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
156
- * Dual licensed under the MIT (MIT-LICENSE.txt)
157
- * and GPL (GPL-LICENSE.txt) licenses.
158
- *
159
- * http://docs.jquery.com/UI/Effects/Bounce
160
- *
161
- * Depends:
162
- * effects.core.js
163
- */
164
- * jQuery UI Effects Clip 1.7.1
165
- *
166
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
167
- * Dual licensed under the MIT (MIT-LICENSE.txt)
168
- * and GPL (GPL-LICENSE.txt) licenses.
169
- *
170
- * http://docs.jquery.com/UI/Effects/Clip
171
- *
172
- * Depends:
173
- * effects.core.js
174
- */
175
- * jQuery UI Effects Drop 1.7.1
176
- *
177
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
178
- * Dual licensed under the MIT (MIT-LICENSE.txt)
179
- * and GPL (GPL-LICENSE.txt) licenses.
180
- *
181
- * http://docs.jquery.com/UI/Effects/Drop
182
- *
183
- * Depends:
184
- * effects.core.js
185
- */
186
- * jQuery UI Effects Explode 1.7.1
187
- *
188
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
189
- * Dual licensed under the MIT (MIT-LICENSE.txt)
190
- * and GPL (GPL-LICENSE.txt) licenses.
191
- *
192
- * http://docs.jquery.com/UI/Effects/Explode
193
- *
194
- * Depends:
195
- * effects.core.js
196
- */
197
- * jQuery UI Effects Fold 1.7.1
198
- *
199
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
200
- * Dual licensed under the MIT (MIT-LICENSE.txt)
201
- * and GPL (GPL-LICENSE.txt) licenses.
202
- *
203
- * http://docs.jquery.com/UI/Effects/Fold
204
- *
205
- * Depends:
206
- * effects.core.js
207
- */
208
- * jQuery UI Effects Highlight 1.7.1
209
- *
210
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
211
- * Dual licensed under the MIT (MIT-LICENSE.txt)
212
- * and GPL (GPL-LICENSE.txt) licenses.
213
- *
214
- * http://docs.jquery.com/UI/Effects/Highlight
215
- *
216
- * Depends:
217
- * effects.core.js
218
- */
219
- * jQuery UI Effects Pulsate 1.7.1
220
- *
221
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
222
- * Dual licensed under the MIT (MIT-LICENSE.txt)
223
- * and GPL (GPL-LICENSE.txt) licenses.
224
- *
225
- * http://docs.jquery.com/UI/Effects/Pulsate
226
- *
227
- * Depends:
228
- * effects.core.js
229
- */
230
- * jQuery UI Effects Scale 1.7.1
231
- *
232
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
233
- * Dual licensed under the MIT (MIT-LICENSE.txt)
234
- * and GPL (GPL-LICENSE.txt) licenses.
235
- *
236
- * http://docs.jquery.com/UI/Effects/Scale
237
- *
238
- * Depends:
239
- * effects.core.js
240
- */
241
- * jQuery UI Effects Shake 1.7.1
242
- *
243
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
244
- * Dual licensed under the MIT (MIT-LICENSE.txt)
245
- * and GPL (GPL-LICENSE.txt) licenses.
246
- *
247
- * http://docs.jquery.com/UI/Effects/Shake
248
- *
249
- * Depends:
250
- * effects.core.js
251
- */
252
- * jQuery UI Effects Slide 1.7.1
253
- *
254
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
255
- * Dual licensed under the MIT (MIT-LICENSE.txt)
256
- * and GPL (GPL-LICENSE.txt) licenses.
257
- *
258
- * http://docs.jquery.com/UI/Effects/Slide
259
- *
260
- * Depends:
261
- * effects.core.js
262
- */
263
- * jQuery UI Effects Transfer 1.7.1
264
- *
265
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
266
- * Dual licensed under the MIT (MIT-LICENSE.txt)
267
- * and GPL (GPL-LICENSE.txt) licenses.
268
- *
269
- * http://docs.jquery.com/UI/Effects/Transfer
270
- *
271
- * Depends:
272
- * effects.core.js
273
- */
@@ -1 +0,0 @@
1
- jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});
@@ -1,9 +0,0 @@
1
- /*
2
- * FancyBox - simple and fancy jQuery plugin
3
- * Examples and documentation at: http://fancy.klade.lv/
4
- * Version: 1.2.1 (13/03/2009)
5
- * Copyright (c) 2009 Janis Skarnelis
6
- * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License
7
- * Requires: jQuery v1.3+
8
- */
9
- eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(7($){$.b.2Q=7(){u B.2t(7(){9 1J=$(B).n(\'2Z\');5(1J.1c(/^3w\\(["\']?(.*\\.2p)["\']?\\)$/i)){1J=3t.$1;$(B).n({\'2Z\':\'45\',\'2o\':"3W:3R.4m.4d(3h=F, 3T="+($(B).n(\'41\')==\'2J-3Z\'?\'4c\':\'3N\')+", Q=\'"+1J+"\')"}).2t(7(){9 1b=$(B).n(\'1b\');5(1b!=\'2e\'&&1b!=\'2n\')$(B).n(\'1b\',\'2n\')})}})};9 A,4,16=D,s=1t 1o,1w,1v=1,1y=/\\.(3A|3Y|2p|3c|3d)(.*)?$/i;9 P=($.2q.3K&&2f($.2q.3z.2k(0,1))<8);$.b.c=7(Y){Y=$.3x({},$.b.c.2R,Y);9 2s=B;7 2h(){A=B;4=Y;2r();u D};7 2r(){5(16)u;5($.1O(4.2c)){4.2c()}4.j=[];4.h=0;5(Y.j.N>0){4.j=Y.j}t{9 O={};5(!A.1H||A.1H==\'\'){9 O={d:A.d,X:A.X};5($(A).1G("1m:1D").N){O.1a=$(A).1G("1m:1D")}4.j.2j(O)}t{9 Z=$(2s).2o("a[1H="+A.1H+"]");9 O={};3C(9 i=0;i<Z.N;i++){O={d:Z[i].d,X:Z[i].X};5($(Z[i]).1G("1m:1D").N){O.1a=$(Z[i]).1G("1m:1D")}4.j.2j(O)}3F(4.j[4.h].d!=A.d){4.h++}}}5(4.23){5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'3s\')}$("#1i").n(\'25\',4.2U).J()}1d()};7 1d(){$("#1f, #1e, #V, #G").S();9 d=4.j[4.h].d;5(d.1c(/#/)){9 U=11.3r.d.3f(\'#\')[0];U=d.3g(U,\'\');U=U.2k(U.2l(\'#\'));1k(\'<6 l="3e">\'+$(U).o()+\'</6>\',4.1I,4.1x)}t 5(d.1c(1y)){s=1t 1o;s.Q=d;5(s.3a){1K()}t{$.b.c.34();$(s).x().14(\'3b\',7(){$(".I").S();1K()})}}t 5(d.1c("17")||A.3j.2l("17")>=0){1k(\'<17 l="35" 3q="$.b.c.38()" 3o="3n\'+C.T(C.3l()*3m)+\'" 2K="0" 3E="0" Q="\'+d+\'"></17>\',4.1I,4.1x)}t{$.4p(d,7(2m){1k(\'<6 l="3L">\'+2m+\'</6>\',4.1I,4.1x)})}};7 1K(){5(4.30){9 w=$.b.c.1n();9 r=C.1M(C.1M(w[0]-36,s.g)/s.g,C.1M(w[1]-4b,s.f)/s.f);9 g=C.T(r*s.g);9 f=C.T(r*s.f)}t{9 g=s.g;9 f=s.f}1k(\'<1m 48="" l="49" Q="\'+s.Q+\'" />\',g,f)};7 2F(){5((4.j.N-1)>4.h){9 d=4.j[4.h+1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}5(4.h>0){9 d=4.j[4.h-1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}};7 1k(1j,g,f){16=F;9 L=4.2Y;5(P){$("#q")[0].1E.2u("f");$("#q")[0].1E.2u("g")}5(L>0){g+=L*2;f+=L*2;$("#q").n({\'v\':L+\'z\',\'2E\':L+\'z\',\'2i\':L+\'z\',\'y\':L+\'z\',\'g\':\'2B\',\'f\':\'2B\'});5(P){$("#q")[0].1E.2C(\'f\',\'(B.2D.4j - 20)\');$("#q")[0].1E.2C(\'g\',\'(B.2D.3S - 20)\')}}t{$("#q").n({\'v\':0,\'2E\':0,\'2i\':0,\'y\':0,\'g\':\'2z%\',\'f\':\'2z%\'})}5($("#k").1u(":19")&&g==$("#k").g()&&f==$("#k").f()){$("#q").1Z("2N",7(){$("#q").1C().1F($(1j)).21("1s",7(){1g()})});u}9 w=$.b.c.1n();9 2v=(g+36)>w[0]?w[2]:(w[2]+C.T((w[0]-g-36)/2));9 2w=(f+1z)>w[1]?w[3]:(w[3]+C.T((w[1]-f-1z)/2));9 K={\'y\':2v,\'v\':2w,\'g\':g+\'z\',\'f\':f+\'z\'};5($("#k").1u(":19")){$("#q").1Z("1s",7(){$("#q").1C();$("#k").24(K,4.2X,4.2T,7(){$("#q").1F($(1j)).21("1s",7(){1g()})})})}t{5(4.1W>0&&4.j[4.h].1a!==1L){$("#q").1C().1F($(1j));9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);$("#k").n({\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()});5(4.1X){K.25=\'J\'}$("#k").24(K,4.1W,4.2W,7(){1g()})}t{$("#q").S().1C().1F($(1j)).J();$("#k").n(K).21("1s",7(){1g()})}}};7 2y(){5(4.h!=0){$("#1e, #2O").x().14("R",7(e){e.2x();4.h--;1d();u D});$("#1e").J()}5(4.h!=(4.j.N-1)){$("#1f, #2M").x().14("R",7(e){e.2x();4.h++;1d();u D});$("#1f").J()}};7 1g(){2y();2F();$(W).1B(7(e){5(e.29==27){$.b.c.1l();$(W).x("1B")}t 5(e.29==37&&4.h!=0){4.h--;1d();$(W).x("1B")}t 5(e.29==39&&4.h!=(4.j.N-1)){4.h++;1d();$(W).x("1B")}});5(4.1r){$(11).14("1N 1T",$.b.c.2g)}t{$("6#k").n("1b","2e")}5(4.2b){$("#22").R($.b.c.1l)}$("#1i, #V").14("R",$.b.c.1l);$("#V").J();5(4.j[4.h].X!==1L&&4.j[4.h].X.N>0){$(\'#G 6\').o(4.j[4.h].X);$(\'#G\').J()}5(4.23&&P){$(\'1U, 1Q, 1P\',$(\'#q\')).n(\'1S\',\'19\')}5($.1O(4.2a)){4.2a()}16=D};u B.x(\'R\').R(2h)};$.b.c.2g=7(){9 m=$.b.c.1n();$("#k").n(\'y\',(($("#k").g()+36)>m[0]?m[2]:m[2]+C.T((m[0]-$("#k").g()-36)/2)));$("#k").n(\'v\',(($("#k").f()+1z)>m[1]?m[3]:m[3]+C.T((m[1]-$("#k").f()-1z)/2)))};$.b.c.1h=7(H,2A){u 2f($.3I(H.3u?H[0]:H,2A,F))||0};$.b.c.1R=7(H){9 m=H.4g();m.v+=$.b.c.1h(H,\'3k\');m.v+=$.b.c.1h(H,\'3J\');m.y+=$.b.c.1h(H,\'3H\');m.y+=$.b.c.1h(H,\'3D\');u m};$.b.c.38=7(){$(".I").S();$("#35").J()};$.b.c.1n=7(){u[$(11).g(),$(11).f(),$(W).3i(),$(W).3p()]};$.b.c.2G=7(){5(!$("#I").1u(\':19\')){33(1w);u}$("#I > 6").n(\'v\',(1v*-40)+\'z\');1v=(1v+1)%12};$.b.c.34=7(){33(1w);9 m=$.b.c.1n();$("#I").n({\'y\':((m[0]-40)/2+m[2]),\'v\':((m[1]-40)/2+m[3])}).J();$("#I").14(\'R\',$.b.c.1l);1w=3Q($.b.c.2G,3X)};$.b.c.1l=7(){16=F;$(s).x();$("#1i, #V").x();5(4.2b){$("#22").x()}$("#V, .I, #1e, #1f, #G").S();5(4.1r){$(11).x("1N 1T")}1q=7(){$("#1i, #k").S();5(4.1r){$(11).x("1N 1T")}5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'19\')}5($.1O(4.1V)){4.1V()}16=D};5($("#k").1u(":19")!==D){5(4.26>0&&4.j[4.h].1a!==1L){9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);9 K={\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()};5(4.1X){K.25=\'S\'}$("#k").31(D,F).24(K,4.26,4.2S,1q)}t{$("#k").31(D,F).1Z("2N",1q)}}t{1q()}u D};$.b.c.2V=7(){9 o=\'\';o+=\'<6 l="1i"></6>\';o+=\'<6 l="22">\';o+=\'<6 p="I" l="I"><6></6></6>\';o+=\'<6 l="k">\';o+=\'<6 l="2I">\';o+=\'<6 l="V"></6>\';o+=\'<6 l="E"><6 p="E 44"></6><6 p="E 43"></6><6 p="E 42"></6><6 p="E 3V"></6><6 p="E 3U"></6><6 p="E 3O"></6><6 p="E 3M"></6><6 p="E 3P"></6></6>\';o+=\'<a d="2P:;" l="1e"><1p p="1Y" l="2O"></1p></a><a d="2P:;" l="1f"><1p p="1Y" l="2M"></1p></a>\';o+=\'<6 l="q"></6>\';o+=\'<6 l="G"></6>\';o+=\'</6>\';o+=\'</6>\';o+=\'</6>\';$(o).2H("46");$(\'<32 4i="0" 4h="0" 4k="0"><2L><13 p="G" l="4l"></13><13 p="G" l="4o"><6></6></13><13 p="G" l="4n"></13></2L></32>\').2H(\'#G\');5(P){$("#2I").47(\'<17 p="4a" 4e="2J" 2K="0"></17>\');$("#V, .E, .G, .1Y").2Q()}};$.b.c.2R={2Y:10,30:F,1X:D,1W:0,26:0,2X:3G,2W:\'28\',2S:\'28\',2T:\'28\',1I:3B,1x:3v,23:F,2U:0.3,2b:F,1r:F,j:[],2c:2d,2a:2d,1V:2d};$(W).3y(7(){$.b.c.2V()})})(4f);',62,274,'||||opts|if|div|function||var||fn|fancybox|href||height|width|itemCurrent||itemArray|fancy_outer|id|pos|css|html|class|fancy_content||imagePreloader|else|return|top||unbind|left|px|elem|this|Math|false|fancy_bg|true|fancy_title|el|fancy_loading|show|itemOpts|pad|orig_item|length|item|isIE|src|click|hide|round|target|fancy_close|document|title|settings|subGroup||window||td|bind|orig_pos|busy|iframe||visible|orig|position|match|_change_item|fancy_left|fancy_right|_finish|getNumeric|fancy_overlay|value|_set_content|close|img|getViewport|Image|span|__cleanup|centerOnScroll|normal|new|is|loadingFrame|loadingTimer|frameHeight|imageRegExp|50|objNext|keydown|empty|first|style|append|children|rel|frameWidth|image|_proceed_image|undefined|min|resize|isFunction|select|object|getPosition|visibility|scroll|embed|callbackOnClose|zoomSpeedIn|zoomOpacity|fancy_ico|fadeOut||fadeIn|fancy_wrap|overlayShow|animate|opacity|zoomSpeedOut||swing|keyCode|callbackOnShow|hideOnContentClick|callbackOnStart|null|absolute|parseInt|scrollBox|_initialize|bottom|push|substr|indexOf|data|relative|filter|png|browser|_start|matchedGroup|each|removeExpression|itemLeft|itemTop|stopPropagation|_set_navigation|100|prop|auto|setExpression|parentNode|right|_preload_neighbor_images|animateLoading|appendTo|fancy_inner|no|frameborder|tr|fancy_right_ico|fast|fancy_left_ico|javascript|fixPNG|defaults|easingOut|easingChange|overlayOpacity|build|easingIn|zoomSpeedChange|padding|backgroundImage|imageScale|stop|table|clearInterval|showLoading|fancy_frame|||showIframe||complete|load|bmp|jpeg|fancy_div|split|replace|enabled|scrollLeft|className|paddingTop|random|1000|fancy_iframe|name|scrollTop|onload|location|hidden|RegExp|jquery|355|url|extend|ready|version|jpg|425|for|borderLeftWidth|hspace|while|300|paddingLeft|curCSS|borderTopWidth|msie|fancy_ajax|fancy_bg_w|scale|fancy_bg_sw|fancy_bg_nw|setInterval|DXImageTransform|clientWidth|sizingMethod|fancy_bg_s|fancy_bg_se|progid|66|gif|repeat||backgroundRepeat|fancy_bg_e|fancy_bg_ne|fancy_bg_n|none|body|prepend|alt|fancy_img|fancy_bigIframe|60|crop|AlphaImageLoader|scrolling|jQuery|offset|cellpadding|cellspacing|clientHeight|border|fancy_title_left|Microsoft|fancy_title_right|fancy_title_main|get'.split('|'),0,{}))
@@ -1,637 +0,0 @@
1
- /*
2
- * jQuery Form Plugin
3
- * version: 2.24 (10-MAR-2009)
4
- * @requires jQuery v1.2.2 or later
5
- *
6
- * Examples and documentation at: http://malsup.com/jquery/form/
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- */
11
- ;(function($) {
12
-
13
- /*
14
- Usage Note:
15
- -----------
16
- Do not use both ajaxSubmit and ajaxForm on the same form. These
17
- functions are intended to be exclusive. Use ajaxSubmit if you want
18
- to bind your own submit handler to the form. For example,
19
-
20
- $(document).ready(function() {
21
- $('#myForm').bind('submit', function() {
22
- $(this).ajaxSubmit({
23
- target: '#output'
24
- });
25
- return false; // <-- important!
26
- });
27
- });
28
-
29
- Use ajaxForm when you want the plugin to manage all the event binding
30
- for you. For example,
31
-
32
- $(document).ready(function() {
33
- $('#myForm').ajaxForm({
34
- target: '#output'
35
- });
36
- });
37
-
38
- When using ajaxForm, the ajaxSubmit function will be invoked for you
39
- at the appropriate time.
40
- */
41
-
42
- /**
43
- * ajaxSubmit() provides a mechanism for immediately submitting
44
- * an HTML form using AJAX.
45
- */
46
- $.fn.ajaxSubmit = function(options) {
47
- // fast fail if nothing selected (http://dev.jquery.com/ticket/2752)
48
- if (!this.length) {
49
- log('ajaxSubmit: skipping submit process - no element selected');
50
- return this;
51
- }
52
-
53
- if (typeof options == 'function')
54
- options = { success: options };
55
-
56
- // clean url (don't include hash vaue)
57
- var url = this.attr('action') || window.location.href;
58
- url = (url.match(/^([^#]+)/)||[])[1];
59
- url = url || '';
60
-
61
- options = $.extend({
62
- url: url,
63
- type: this.attr('method') || 'GET'
64
- }, options || {});
65
-
66
- // hook for manipulating the form data before it is extracted;
67
- // convenient for use with rich editors like tinyMCE or FCKEditor
68
- var veto = {};
69
- this.trigger('form-pre-serialize', [this, options, veto]);
70
- if (veto.veto) {
71
- log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');
72
- return this;
73
- }
74
-
75
- // provide opportunity to alter form data before it is serialized
76
- if (options.beforeSerialize && options.beforeSerialize(this, options) === false) {
77
- log('ajaxSubmit: submit aborted via beforeSerialize callback');
78
- return this;
79
- }
80
-
81
- var a = this.formToArray(options.semantic);
82
- if (options.data) {
83
- options.extraData = options.data;
84
- for (var n in options.data) {
85
- if(options.data[n] instanceof Array) {
86
- for (var k in options.data[n])
87
- a.push( { name: n, value: options.data[n][k] } );
88
- }
89
- else
90
- a.push( { name: n, value: options.data[n] } );
91
- }
92
- }
93
-
94
- // give pre-submit callback an opportunity to abort the submit
95
- if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) {
96
- log('ajaxSubmit: submit aborted via beforeSubmit callback');
97
- return this;
98
- }
99
-
100
- // fire vetoable 'validate' event
101
- this.trigger('form-submit-validate', [a, this, options, veto]);
102
- if (veto.veto) {
103
- log('ajaxSubmit: submit vetoed via form-submit-validate trigger');
104
- return this;
105
- }
106
-
107
- var q = $.param(a);
108
-
109
- if (options.type.toUpperCase() == 'GET') {
110
- options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q;
111
- options.data = null; // data is null for 'get'
112
- }
113
- else
114
- options.data = q; // data is the query string for 'post'
115
-
116
- var $form = this, callbacks = [];
117
- if (options.resetForm) callbacks.push(function() { $form.resetForm(); });
118
- if (options.clearForm) callbacks.push(function() { $form.clearForm(); });
119
-
120
- // perform a load on the target only if dataType is not provided
121
- if (!options.dataType && options.target) {
122
- var oldSuccess = options.success || function(){};
123
- callbacks.push(function(data) {
124
- $(options.target).html(data).each(oldSuccess, arguments);
125
- });
126
- }
127
- else if (options.success)
128
- callbacks.push(options.success);
129
-
130
- options.success = function(data, status) {
131
- for (var i=0, max=callbacks.length; i < max; i++)
132
- callbacks[i].apply(options, [data, status, $form]);
133
- };
134
-
135
- // are there files to upload?
136
- var files = $('input:file', this).fieldValue();
137
- var found = false;
138
- for (var j=0; j < files.length; j++)
139
- if (files[j])
140
- found = true;
141
-
142
- // options.iframe allows user to force iframe mode
143
- if (options.iframe || found) {
144
- // hack to fix Safari hang (thanks to Tim Molendijk for this)
145
- // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d
146
- if (options.closeKeepAlive)
147
- $.get(options.closeKeepAlive, fileUpload);
148
- else
149
- fileUpload();
150
- }
151
- else
152
- $.ajax(options);
153
-
154
- // fire 'notify' event
155
- this.trigger('form-submit-notify', [this, options]);
156
- return this;
157
-
158
-
159
- // private function for handling file uploads (hat tip to YAHOO!)
160
- function fileUpload() {
161
- var form = $form[0];
162
-
163
- if ($(':input[name=submit]', form).length) {
164
- alert('Error: Form elements must not be named "submit".');
165
- return;
166
- }
167
-
168
- var opts = $.extend({}, $.ajaxSettings, options);
169
- var s = jQuery.extend(true, {}, $.extend(true, {}, $.ajaxSettings), opts);
170
-
171
- var id = 'jqFormIO' + (new Date().getTime());
172
- var $io = $('<iframe id="' + id + '" name="' + id + '" src="about:blank" />');
173
- var io = $io[0];
174
-
175
- $io.css({ position: 'absolute', top: '-1000px', left: '-1000px' });
176
-
177
- var xhr = { // mock object
178
- aborted: 0,
179
- responseText: null,
180
- responseXML: null,
181
- status: 0,
182
- statusText: 'n/a',
183
- getAllResponseHeaders: function() {},
184
- getResponseHeader: function() {},
185
- setRequestHeader: function() {},
186
- abort: function() {
187
- this.aborted = 1;
188
- $io.attr('src','about:blank'); // abort op in progress
189
- }
190
- };
191
-
192
- var g = opts.global;
193
- // trigger ajax global events so that activity/block indicators work like normal
194
- if (g && ! $.active++) $.event.trigger("ajaxStart");
195
- if (g) $.event.trigger("ajaxSend", [xhr, opts]);
196
-
197
- if (s.beforeSend && s.beforeSend(xhr, s) === false) {
198
- s.global && jQuery.active--;
199
- return;
200
- }
201
- if (xhr.aborted)
202
- return;
203
-
204
- var cbInvoked = 0;
205
- var timedOut = 0;
206
-
207
- // add submitting element to data if we know it
208
- var sub = form.clk;
209
- if (sub) {
210
- var n = sub.name;
211
- if (n && !sub.disabled) {
212
- options.extraData = options.extraData || {};
213
- options.extraData[n] = sub.value;
214
- if (sub.type == "image") {
215
- options.extraData[name+'.x'] = form.clk_x;
216
- options.extraData[name+'.y'] = form.clk_y;
217
- }
218
- }
219
- }
220
-
221
- // take a breath so that pending repaints get some cpu time before the upload starts
222
- setTimeout(function() {
223
- // make sure form attrs are set
224
- var t = $form.attr('target'), a = $form.attr('action');
225
-
226
- // update form attrs in IE friendly way
227
- form.setAttribute('target',id);
228
- if (form.getAttribute('method') != 'POST')
229
- form.setAttribute('method', 'POST');
230
- if (form.getAttribute('action') != opts.url)
231
- form.setAttribute('action', opts.url);
232
-
233
- // ie borks in some cases when setting encoding
234
- if (! options.skipEncodingOverride) {
235
- $form.attr({
236
- encoding: 'multipart/form-data',
237
- enctype: 'multipart/form-data'
238
- });
239
- }
240
-
241
- // support timout
242
- if (opts.timeout)
243
- setTimeout(function() { timedOut = true; cb(); }, opts.timeout);
244
-
245
- // add "extra" data to form if provided in options
246
- var extraInputs = [];
247
- try {
248
- if (options.extraData)
249
- for (var n in options.extraData)
250
- extraInputs.push(
251
- $('<input type="hidden" name="'+n+'" value="'+options.extraData[n]+'" />')
252
- .appendTo(form)[0]);
253
-
254
- // add iframe to doc and submit the form
255
- $io.appendTo('body');
256
- io.attachEvent ? io.attachEvent('onload', cb) : io.addEventListener('load', cb, false);
257
- form.submit();
258
- }
259
- finally {
260
- // reset attrs and remove "extra" input elements
261
- form.setAttribute('action',a);
262
- t ? form.setAttribute('target', t) : $form.removeAttr('target');
263
- $(extraInputs).remove();
264
- }
265
- }, 10);
266
-
267
- var nullCheckFlag = 0;
268
-
269
- function cb() {
270
- if (cbInvoked++) return;
271
-
272
- io.detachEvent ? io.detachEvent('onload', cb) : io.removeEventListener('load', cb, false);
273
-
274
- var ok = true;
275
- try {
276
- if (timedOut) throw 'timeout';
277
- // extract the server response from the iframe
278
- var data, doc;
279
-
280
- doc = io.contentWindow ? io.contentWindow.document : io.contentDocument ? io.contentDocument : io.document;
281
-
282
- if ((doc.body == null || doc.body.innerHTML == '') && !nullCheckFlag) {
283
- // in some browsers (cough, Opera 9.2.x) the iframe DOM is not always traversable when
284
- // the onload callback fires, so we give them a 2nd chance
285
- nullCheckFlag = 1;
286
- cbInvoked--;
287
- setTimeout(cb, 100);
288
- return;
289
- }
290
-
291
- xhr.responseText = doc.body ? doc.body.innerHTML : null;
292
- xhr.responseXML = doc.XMLDocument ? doc.XMLDocument : doc;
293
- xhr.getResponseHeader = function(header){
294
- var headers = {'content-type': opts.dataType};
295
- return headers[header];
296
- };
297
-
298
- if (opts.dataType == 'json' || opts.dataType == 'script') {
299
- var ta = doc.getElementsByTagName('textarea')[0];
300
- xhr.responseText = ta ? ta.value : xhr.responseText;
301
- }
302
- else if (opts.dataType == 'xml' && !xhr.responseXML && xhr.responseText != null) {
303
- xhr.responseXML = toXml(xhr.responseText);
304
- }
305
- data = $.httpData(xhr, opts.dataType);
306
- }
307
- catch(e){
308
- ok = false;
309
- $.handleError(opts, xhr, 'error', e);
310
- }
311
-
312
- // ordering of these callbacks/triggers is odd, but that's how $.ajax does it
313
- if (ok) {
314
- opts.success(data, 'success');
315
- if (g) $.event.trigger("ajaxSuccess", [xhr, opts]);
316
- }
317
- if (g) $.event.trigger("ajaxComplete", [xhr, opts]);
318
- if (g && ! --$.active) $.event.trigger("ajaxStop");
319
- if (opts.complete) opts.complete(xhr, ok ? 'success' : 'error');
320
-
321
- // clean up
322
- setTimeout(function() {
323
- $io.remove();
324
- xhr.responseXML = null;
325
- }, 100);
326
- };
327
-
328
- function toXml(s, doc) {
329
- if (window.ActiveXObject) {
330
- doc = new ActiveXObject('Microsoft.XMLDOM');
331
- doc.async = 'false';
332
- doc.loadXML(s);
333
- }
334
- else
335
- doc = (new DOMParser()).parseFromString(s, 'text/xml');
336
- return (doc && doc.documentElement && doc.documentElement.tagName != 'parsererror') ? doc : null;
337
- };
338
- };
339
- };
340
-
341
- /**
342
- * ajaxForm() provides a mechanism for fully automating form submission.
343
- *
344
- * The advantages of using this method instead of ajaxSubmit() are:
345
- *
346
- * 1: This method will include coordinates for <input type="image" /> elements (if the element
347
- * is used to submit the form).
348
- * 2. This method will include the submit element's name/value data (for the element that was
349
- * used to submit the form).
350
- * 3. This method binds the submit() method to the form for you.
351
- *
352
- * The options argument for ajaxForm works exactly as it does for ajaxSubmit. ajaxForm merely
353
- * passes the options argument along after properly binding events for submit elements and
354
- * the form itself.
355
- */
356
- $.fn.ajaxForm = function(options) {
357
- return this.ajaxFormUnbind().bind('submit.form-plugin',function() {
358
- $(this).ajaxSubmit(options);
359
- return false;
360
- }).each(function() {
361
- // store options in hash
362
- $(":submit,input:image", this).bind('click.form-plugin',function(e) {
363
- var form = this.form;
364
- form.clk = this;
365
- if (this.type == 'image') {
366
- if (e.offsetX != undefined) {
367
- form.clk_x = e.offsetX;
368
- form.clk_y = e.offsetY;
369
- } else if (typeof $.fn.offset == 'function') { // try to use dimensions plugin
370
- var offset = $(this).offset();
371
- form.clk_x = e.pageX - offset.left;
372
- form.clk_y = e.pageY - offset.top;
373
- } else {
374
- form.clk_x = e.pageX - this.offsetLeft;
375
- form.clk_y = e.pageY - this.offsetTop;
376
- }
377
- }
378
- // clear form vars
379
- setTimeout(function() { form.clk = form.clk_x = form.clk_y = null; }, 10);
380
- });
381
- });
382
- };
383
-
384
- // ajaxFormUnbind unbinds the event handlers that were bound by ajaxForm
385
- $.fn.ajaxFormUnbind = function() {
386
- this.unbind('submit.form-plugin');
387
- return this.each(function() {
388
- $(":submit,input:image", this).unbind('click.form-plugin');
389
- });
390
-
391
- };
392
-
393
- /**
394
- * formToArray() gathers form element data into an array of objects that can
395
- * be passed to any of the following ajax functions: $.get, $.post, or load.
396
- * Each object in the array has both a 'name' and 'value' property. An example of
397
- * an array for a simple login form might be:
398
- *
399
- * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ]
400
- *
401
- * It is this array that is passed to pre-submit callback functions provided to the
402
- * ajaxSubmit() and ajaxForm() methods.
403
- */
404
- $.fn.formToArray = function(semantic) {
405
- var a = [];
406
- if (this.length == 0) return a;
407
-
408
- var form = this[0];
409
- var els = semantic ? form.getElementsByTagName('*') : form.elements;
410
- if (!els) return a;
411
- for(var i=0, max=els.length; i < max; i++) {
412
- var el = els[i];
413
- var n = el.name;
414
- if (!n) continue;
415
-
416
- if (semantic && form.clk && el.type == "image") {
417
- // handle image inputs on the fly when semantic == true
418
- if(!el.disabled && form.clk == el)
419
- a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
420
- continue;
421
- }
422
-
423
- var v = $.fieldValue(el, true);
424
- if (v && v.constructor == Array) {
425
- for(var j=0, jmax=v.length; j < jmax; j++)
426
- a.push({name: n, value: v[j]});
427
- }
428
- else if (v !== null && typeof v != 'undefined')
429
- a.push({name: n, value: v});
430
- }
431
-
432
- if (!semantic && form.clk) {
433
- // input type=='image' are not found in elements array! handle them here
434
- var inputs = form.getElementsByTagName("input");
435
- for(var i=0, max=inputs.length; i < max; i++) {
436
- var input = inputs[i];
437
- var n = input.name;
438
- if(n && !input.disabled && input.type == "image" && form.clk == input)
439
- a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
440
- }
441
- }
442
- return a;
443
- };
444
-
445
- /**
446
- * Serializes form data into a 'submittable' string. This method will return a string
447
- * in the format: name1=value1&amp;name2=value2
448
- */
449
- $.fn.formSerialize = function(semantic) {
450
- //hand off to jQuery.param for proper encoding
451
- return $.param(this.formToArray(semantic));
452
- };
453
-
454
- /**
455
- * Serializes all field elements in the jQuery object into a query string.
456
- * This method will return a string in the format: name1=value1&amp;name2=value2
457
- */
458
- $.fn.fieldSerialize = function(successful) {
459
- var a = [];
460
- this.each(function() {
461
- var n = this.name;
462
- if (!n) return;
463
- var v = $.fieldValue(this, successful);
464
- if (v && v.constructor == Array) {
465
- for (var i=0,max=v.length; i < max; i++)
466
- a.push({name: n, value: v[i]});
467
- }
468
- else if (v !== null && typeof v != 'undefined')
469
- a.push({name: this.name, value: v});
470
- });
471
- //hand off to jQuery.param for proper encoding
472
- return $.param(a);
473
- };
474
-
475
- /**
476
- * Returns the value(s) of the element in the matched set. For example, consider the following form:
477
- *
478
- * <form><fieldset>
479
- * <input name="A" type="text" />
480
- * <input name="A" type="text" />
481
- * <input name="B" type="checkbox" value="B1" />
482
- * <input name="B" type="checkbox" value="B2"/>
483
- * <input name="C" type="radio" value="C1" />
484
- * <input name="C" type="radio" value="C2" />
485
- * </fieldset></form>
486
- *
487
- * var v = $(':text').fieldValue();
488
- * // if no values are entered into the text inputs
489
- * v == ['','']
490
- * // if values entered into the text inputs are 'foo' and 'bar'
491
- * v == ['foo','bar']
492
- *
493
- * var v = $(':checkbox').fieldValue();
494
- * // if neither checkbox is checked
495
- * v === undefined
496
- * // if both checkboxes are checked
497
- * v == ['B1', 'B2']
498
- *
499
- * var v = $(':radio').fieldValue();
500
- * // if neither radio is checked
501
- * v === undefined
502
- * // if first radio is checked
503
- * v == ['C1']
504
- *
505
- * The successful argument controls whether or not the field element must be 'successful'
506
- * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls).
507
- * The default value of the successful argument is true. If this value is false the value(s)
508
- * for each element is returned.
509
- *
510
- * Note: This method *always* returns an array. If no valid value can be determined the
511
- * array will be empty, otherwise it will contain one or more values.
512
- */
513
- $.fn.fieldValue = function(successful) {
514
- for (var val=[], i=0, max=this.length; i < max; i++) {
515
- var el = this[i];
516
- var v = $.fieldValue(el, successful);
517
- if (v === null || typeof v == 'undefined' || (v.constructor == Array && !v.length))
518
- continue;
519
- v.constructor == Array ? $.merge(val, v) : val.push(v);
520
- }
521
- return val;
522
- };
523
-
524
- /**
525
- * Returns the value of the field element.
526
- */
527
- $.fieldValue = function(el, successful) {
528
- var n = el.name, t = el.type, tag = el.tagName.toLowerCase();
529
- if (typeof successful == 'undefined') successful = true;
530
-
531
- if (successful && (!n || el.disabled || t == 'reset' || t == 'button' ||
532
- (t == 'checkbox' || t == 'radio') && !el.checked ||
533
- (t == 'submit' || t == 'image') && el.form && el.form.clk != el ||
534
- tag == 'select' && el.selectedIndex == -1))
535
- return null;
536
-
537
- if (tag == 'select') {
538
- var index = el.selectedIndex;
539
- if (index < 0) return null;
540
- var a = [], ops = el.options;
541
- var one = (t == 'select-one');
542
- var max = (one ? index+1 : ops.length);
543
- for(var i=(one ? index : 0); i < max; i++) {
544
- var op = ops[i];
545
- if (op.selected) {
546
- var v = op.value;
547
- if (!v) // extra pain for IE...
548
- v = (op.attributes && op.attributes['value'] && !(op.attributes['value'].specified)) ? op.text : op.value;
549
- if (one) return v;
550
- a.push(v);
551
- }
552
- }
553
- return a;
554
- }
555
- return el.value;
556
- };
557
-
558
- /**
559
- * Clears the form data. Takes the following actions on the form's input fields:
560
- * - input text fields will have their 'value' property set to the empty string
561
- * - select elements will have their 'selectedIndex' property set to -1
562
- * - checkbox and radio inputs will have their 'checked' property set to false
563
- * - inputs of type submit, button, reset, and hidden will *not* be effected
564
- * - button elements will *not* be effected
565
- */
566
- $.fn.clearForm = function() {
567
- return this.each(function() {
568
- $('input,select,textarea', this).clearFields();
569
- });
570
- };
571
-
572
- /**
573
- * Clears the selected form elements.
574
- */
575
- $.fn.clearFields = $.fn.clearInputs = function() {
576
- return this.each(function() {
577
- var t = this.type, tag = this.tagName.toLowerCase();
578
- if (t == 'text' || t == 'password' || tag == 'textarea')
579
- this.value = '';
580
- else if (t == 'checkbox' || t == 'radio')
581
- this.checked = false;
582
- else if (tag == 'select')
583
- this.selectedIndex = -1;
584
- });
585
- };
586
-
587
- /**
588
- * Resets the form data. Causes all form elements to be reset to their original value.
589
- */
590
- $.fn.resetForm = function() {
591
- return this.each(function() {
592
- // guard against an input with the name of 'reset'
593
- // note that IE reports the reset function as an 'object'
594
- if (typeof this.reset == 'function' || (typeof this.reset == 'object' && !this.reset.nodeType))
595
- this.reset();
596
- });
597
- };
598
-
599
- /**
600
- * Enables or disables any matching elements.
601
- */
602
- $.fn.enable = function(b) {
603
- if (b == undefined) b = true;
604
- return this.each(function() {
605
- this.disabled = !b;
606
- });
607
- };
608
-
609
- /**
610
- * Checks/unchecks any matching checkboxes or radio buttons and
611
- * selects/deselects and matching option elements.
612
- */
613
- $.fn.selected = function(select) {
614
- if (select == undefined) select = true;
615
- return this.each(function() {
616
- var t = this.type;
617
- if (t == 'checkbox' || t == 'radio')
618
- this.checked = select;
619
- else if (this.tagName.toLowerCase() == 'option') {
620
- var $sel = $(this).parent('select');
621
- if (select && $sel[0] && $sel[0].type == 'select-one') {
622
- // deselect all other options
623
- $sel.find('option').selected(false);
624
- }
625
- this.selected = select;
626
- }
627
- });
628
- };
629
-
630
- // helper fn for console logging
631
- // set $.fn.ajaxSubmit.debug to true to enable debug logging
632
- function log() {
633
- if ($.fn.ajaxSubmit.debug && window.console && window.console.log)
634
- window.console.log('[jquery.form] ' + Array.prototype.join.call(arguments,''));
635
- };
636
-
637
- })(jQuery);