under_construction 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/README.md +23 -0
  2. data/lib/generators/under_construction/templates/under_construction/site-under-construction/index.html.erb +9 -11
  3. data/lib/generators/under_construction/templates/under_construction/site-under-construction-fa/index.html.erb +9 -12
  4. data/lib/under_construction/version.rb +1 -1
  5. metadata +14 -64
  6. data/app/assets/fonts/under_construction/site-under-construction-fa/IranianSans.eot +0 -0
  7. data/app/assets/fonts/under_construction/site-under-construction-fa/IranianSans.ttf +0 -0
  8. data/app/assets/fonts/under_construction/site-under-construction-fa/IranianSans.woff +0 -0
  9. data/app/assets/images/under_construction/site-under-construction/bg.jpg +0 -0
  10. data/app/assets/images/under_construction/site-under-construction/button.png +0 -0
  11. data/app/assets/images/under_construction/site-under-construction/counter_bg.png +0 -0
  12. data/app/assets/images/under_construction/site-under-construction/deviantart.png +0 -0
  13. data/app/assets/images/under_construction/site-under-construction/facebook.png +0 -0
  14. data/app/assets/images/under_construction/site-under-construction/flickr.png +0 -0
  15. data/app/assets/images/under_construction/site-under-construction/google.png +0 -0
  16. data/app/assets/images/under_construction/site-under-construction/identica.png +0 -0
  17. data/app/assets/images/under_construction/site-under-construction/linkedin.png +0 -0
  18. data/app/assets/images/under_construction/site-under-construction/logo.png +0 -0
  19. data/app/assets/images/under_construction/site-under-construction/mail-bg.png +0 -0
  20. data/app/assets/images/under_construction/site-under-construction/next.png +0 -0
  21. data/app/assets/images/under_construction/site-under-construction/page_background.png +0 -0
  22. data/app/assets/images/under_construction/site-under-construction/prev.png +0 -0
  23. data/app/assets/images/under_construction/site-under-construction/skype.png +0 -0
  24. data/app/assets/images/under_construction/site-under-construction/stumbleupon.png +0 -0
  25. data/app/assets/images/under_construction/site-under-construction/twitter.png +0 -0
  26. data/app/assets/images/under_construction/site-under-construction/yahoo.png +0 -0
  27. data/app/assets/images/under_construction/site-under-construction/youtube.png +0 -0
  28. data/app/assets/images/under_construction/site-under-construction-fa/bg.jpg +0 -0
  29. data/app/assets/images/under_construction/site-under-construction-fa/button.png +0 -0
  30. data/app/assets/images/under_construction/site-under-construction-fa/counter_bg.png +0 -0
  31. data/app/assets/images/under_construction/site-under-construction-fa/deviantart.png +0 -0
  32. data/app/assets/images/under_construction/site-under-construction-fa/facebook.png +0 -0
  33. data/app/assets/images/under_construction/site-under-construction-fa/flickr.png +0 -0
  34. data/app/assets/images/under_construction/site-under-construction-fa/google.png +0 -0
  35. data/app/assets/images/under_construction/site-under-construction-fa/identica.png +0 -0
  36. data/app/assets/images/under_construction/site-under-construction-fa/linkedin.png +0 -0
  37. data/app/assets/images/under_construction/site-under-construction-fa/logo.png +0 -0
  38. data/app/assets/images/under_construction/site-under-construction-fa/mail-bg.png +0 -0
  39. data/app/assets/images/under_construction/site-under-construction-fa/next.png +0 -0
  40. data/app/assets/images/under_construction/site-under-construction-fa/page_background.png +0 -0
  41. data/app/assets/images/under_construction/site-under-construction-fa/prev.png +0 -0
  42. data/app/assets/images/under_construction/site-under-construction-fa/skype.png +0 -0
  43. data/app/assets/images/under_construction/site-under-construction-fa/stumbleupon.png +0 -0
  44. data/app/assets/images/under_construction/site-under-construction-fa/twitter.png +0 -0
  45. data/app/assets/images/under_construction/site-under-construction-fa/yahoo.png +0 -0
  46. data/app/assets/images/under_construction/site-under-construction-fa/youtube.png +0 -0
  47. data/app/assets/javascripts/under_construction/site-under-construction/DD_belatedPNG_0.0.7a-min.js +0 -14
  48. data/app/assets/javascripts/under_construction/site-under-construction/jcarousellite1.0.1_min.js +0 -1
  49. data/app/assets/javascripts/under_construction/site-under-construction/jquery.countdown.min.js +0 -6
  50. data/app/assets/javascripts/under_construction/site-under-construction-fa/DD_belatedPNG_0.0.7a-min.js +0 -14
  51. data/app/assets/javascripts/under_construction/site-under-construction-fa/jcarousellite1.0.1_min.js +0 -1
  52. data/app/assets/javascripts/under_construction/site-under-construction-fa/jquery.countdown-fa.js +0 -13
  53. data/app/assets/javascripts/under_construction/site-under-construction-fa/jquery.countdown.min.js +0 -6
  54. data/app/assets/stylesheets/under_construction/site-under-construction/style.css +0 -325
  55. data/app/assets/stylesheets/under_construction/site-under-construction-fa/style.css +0 -326
data/README.md CHANGED
@@ -93,6 +93,29 @@ Currently two themes are:
93
93
  * site-under-construction
94
94
  * site-under-construction-fa
95
95
 
96
+ Assets
97
+ ======
98
+ Every theme has its own asset. First make two directive files in your assets app:
99
+
100
+ /assets/javascripts/under_construction.js
101
+ /assets/stylesheets/under_construction.css
102
+
103
+ In stylesheet, you have to include under_construction/*theme* like below:
104
+
105
+ /*
106
+ *= require under_construction/site-under-construction
107
+ */
108
+
109
+ In javascript, you have to include under_construction/*theme* like below:
110
+
111
+ //= require under_construction/site-under-construction
112
+
113
+ Note: If you want your under construction works on production mode you must adds
114
+ under_construction.js and under_construction.css in your production env in
115
+ config.assets.precompile like below:
116
+
117
+ config.assets.precompile += %w( under_construction.js under_construction.css )
118
+
96
119
  I18n
97
120
  ====
98
121
  This gem is using standard Rails I18n translation for the error message generated and name of models.
@@ -7,11 +7,9 @@
7
7
  <meta http-equiv="refresh" content="60">
8
8
 
9
9
  <title><%= @info['site_title'] %></title>
10
- <%= javascript_include_tag "application" %>
11
- <%= stylesheet_link_tag "under_construction/#{@theme}/style.css", :media => "all" %>
12
- <%= javascript_include_tag "under_construction/#{@theme}/jquery.countdown.min.js" %>
13
- <%= javascript_include_tag "under_construction/#{@theme}/jcarousellite1.0.1_min.js" %>
14
- <!-- jquery countdown-->
10
+
11
+ <%= javascript_include_tag "under_construction" %>
12
+ <%= stylesheet_link_tag "under_construction", :media => "all" %>
15
13
 
16
14
  <script type="text/javascript">
17
15
  $(function () {
@@ -30,12 +28,12 @@
30
28
  });
31
29
  </script><!--script for IE6-image transparency recover-->
32
30
  <!--[if IE 6]>
33
- <script type="text/javascript" src="js/DD_belatedPNG_0.0.7a-min.js"></script>
34
- <script>
35
- /* EXAMPLE */
36
- DD_belatedPNG.fix('#logo img,#main,.counter,.twitter,.flickr,.facebook,.youtube,.skype,.stumbleupon, #submit,.prev img,.next img,#email');
37
- </script>
38
- <![endif]-->
31
+ <script type="text/javascript" src="js/DD_belatedPNG_0.0.7a-min.js"></script>
32
+ <script>
33
+ /* EXAMPLE */
34
+ DD_belatedPNG.fix('#logo img,#main,.counter,.twitter,.flickr,.facebook,.youtube,.skype,.stumbleupon, #submit,.prev img,.next img,#email');
35
+ </script>
36
+ <![endif]-->
39
37
  </head>
40
38
 
41
39
  <body>
@@ -6,12 +6,9 @@
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
7
 
8
8
  <title><%= @info['site_title'] %></title>
9
- <%= javascript_include_tag "application" %>
10
- <%= stylesheet_link_tag "under_construction/#{@theme}/style.css", :media => "all" %>
11
- <%= javascript_include_tag "under_construction/#{@theme}/jquery.countdown.min.js" %>
12
- <%= javascript_include_tag "under_construction/#{@theme}/jquery.countdown-fa.js" %>
13
- <%= javascript_include_tag "under_construction/#{@theme}/jcarousellite1.0.1_min.js" %>
14
- <!-- jquery countdown-->
9
+
10
+ <%= javascript_include_tag "under_construction" %>
11
+ <%= stylesheet_link_tag "under_construction", :media => "all" %>
15
12
 
16
13
  <script type="text/javascript">
17
14
  $(function () {
@@ -30,12 +27,12 @@
30
27
  });
31
28
  </script><!--script for IE6-image transparency recover-->
32
29
  <!--[if IE 6]>
33
- <script type="text/javascript" src="js/DD_belatedPNG_0.0.7a-min.js"></script>
34
- <script>
35
- /* EXAMPLE */
36
- DD_belatedPNG.fix('#logo img,#main,.counter,.twitter,.flickr,.facebook,.youtube,.skype,.stumbleupon, #submit,.prev img,.next img,#email');
37
- </script>
38
- <![endif]-->
30
+ <script type="text/javascript" src="js/DD_belatedPNG_0.0.7a-min.js"></script>
31
+ <script>
32
+ /* EXAMPLE */
33
+ DD_belatedPNG.fix('#logo img,#main,.counter,.twitter,.flickr,.facebook,.youtube,.skype,.stumbleupon, #submit,.prev img,.next img,#email');
34
+ </script>
35
+ <![endif]-->
39
36
  </head>
40
37
 
41
38
  <body dir="rtl">
@@ -1,3 +1,3 @@
1
1
  module UnderConstruction
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: under_construction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-06 00:00:00.000000000 Z
13
+ date: 2013-02-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -183,76 +183,26 @@ extensions: []
183
183
  extra_rdoc_files: []
184
184
  files:
185
185
  - app/models/under_construction_email_storage.rb
186
- - app/views/email_storage/_form.html.erb
187
- - app/views/notify_under_construction_submitted_mails/under_construction_notify.text.erb
188
186
  - app/controllers/under_construction_controller.rb
189
187
  - app/controllers/under_construction_email_storage_controller.rb
190
- - app/helpers/email_storage_helper.rb
191
188
  - app/mailers/notify_under_construction_submitted_mails.rb
192
- - app/assets/fonts/under_construction/site-under-construction-fa/IranianSans.ttf
193
- - app/assets/fonts/under_construction/site-under-construction-fa/IranianSans.eot
194
- - app/assets/fonts/under_construction/site-under-construction-fa/IranianSans.woff
195
- - app/assets/javascripts/under_construction/site-under-construction-fa/jquery.countdown.min.js
196
- - app/assets/javascripts/under_construction/site-under-construction-fa/jcarousellite1.0.1_min.js
197
- - app/assets/javascripts/under_construction/site-under-construction-fa/DD_belatedPNG_0.0.7a-min.js
198
- - app/assets/javascripts/under_construction/site-under-construction-fa/jquery.countdown-fa.js
199
- - app/assets/javascripts/under_construction/site-under-construction/jquery.countdown.min.js
200
- - app/assets/javascripts/under_construction/site-under-construction/jcarousellite1.0.1_min.js
201
- - app/assets/javascripts/under_construction/site-under-construction/DD_belatedPNG_0.0.7a-min.js
202
- - app/assets/stylesheets/under_construction/site-under-construction-fa/style.css
203
- - app/assets/stylesheets/under_construction/site-under-construction/style.css
204
- - app/assets/images/under_construction/site-under-construction-fa/twitter.png
205
- - app/assets/images/under_construction/site-under-construction-fa/stumbleupon.png
206
- - app/assets/images/under_construction/site-under-construction-fa/prev.png
207
- - app/assets/images/under_construction/site-under-construction-fa/flickr.png
208
- - app/assets/images/under_construction/site-under-construction-fa/logo.png
209
- - app/assets/images/under_construction/site-under-construction-fa/identica.png
210
- - app/assets/images/under_construction/site-under-construction-fa/facebook.png
211
- - app/assets/images/under_construction/site-under-construction-fa/yahoo.png
212
- - app/assets/images/under_construction/site-under-construction-fa/google.png
213
- - app/assets/images/under_construction/site-under-construction-fa/mail-bg.png
214
- - app/assets/images/under_construction/site-under-construction-fa/counter_bg.png
215
- - app/assets/images/under_construction/site-under-construction-fa/deviantart.png
216
- - app/assets/images/under_construction/site-under-construction-fa/linkedin.png
217
- - app/assets/images/under_construction/site-under-construction-fa/bg.jpg
218
- - app/assets/images/under_construction/site-under-construction-fa/page_background.png
219
- - app/assets/images/under_construction/site-under-construction-fa/skype.png
220
- - app/assets/images/under_construction/site-under-construction-fa/next.png
221
- - app/assets/images/under_construction/site-under-construction-fa/button.png
222
- - app/assets/images/under_construction/site-under-construction-fa/youtube.png
223
- - app/assets/images/under_construction/site-under-construction/twitter.png
224
- - app/assets/images/under_construction/site-under-construction/stumbleupon.png
225
- - app/assets/images/under_construction/site-under-construction/prev.png
226
- - app/assets/images/under_construction/site-under-construction/flickr.png
227
- - app/assets/images/under_construction/site-under-construction/logo.png
228
- - app/assets/images/under_construction/site-under-construction/identica.png
229
- - app/assets/images/under_construction/site-under-construction/facebook.png
230
- - app/assets/images/under_construction/site-under-construction/yahoo.png
231
- - app/assets/images/under_construction/site-under-construction/google.png
232
- - app/assets/images/under_construction/site-under-construction/mail-bg.png
233
- - app/assets/images/under_construction/site-under-construction/counter_bg.png
234
- - app/assets/images/under_construction/site-under-construction/deviantart.png
235
- - app/assets/images/under_construction/site-under-construction/linkedin.png
236
- - app/assets/images/under_construction/site-under-construction/bg.jpg
237
- - app/assets/images/under_construction/site-under-construction/page_background.png
238
- - app/assets/images/under_construction/site-under-construction/skype.png
239
- - app/assets/images/under_construction/site-under-construction/next.png
240
- - app/assets/images/under_construction/site-under-construction/button.png
241
- - app/assets/images/under_construction/site-under-construction/youtube.png
242
- - lib/under_construction/version.rb
243
- - lib/under_construction/config.rb
244
- - lib/under_construction/engine.rb
245
- - lib/under_construction/schedule.rb
189
+ - app/helpers/email_storage_helper.rb
190
+ - app/views/notify_under_construction_submitted_mails/under_construction_notify.text.erb
191
+ - app/views/email_storage/_form.html.erb
192
+ - lib/tasks/under_cunstruction_tasks.rake
246
193
  - lib/under_construction.rb
247
- - lib/generators/under_construction/USAGE
248
- - lib/generators/under_construction/templates/under_construction/site-under-construction-fa/index.html.erb
249
- - lib/generators/under_construction/templates/under_construction/site-under-construction/index.html.erb
194
+ - lib/generators/under_construction/config_generator.rb
250
195
  - lib/generators/under_construction/templates/under_construction.yml
251
196
  - lib/generators/under_construction/templates/under_construction_scheduler.rb
197
+ - lib/generators/under_construction/templates/under_construction/site-under-construction/index.html.erb
198
+ - lib/generators/under_construction/templates/under_construction/site-under-construction-fa/index.html.erb
199
+ - lib/generators/under_construction/USAGE
252
200
  - lib/generators/under_construction/clear_generator.rb
253
201
  - lib/generators/under_construction/constants.rb
254
- - lib/generators/under_construction/config_generator.rb
255
- - lib/tasks/under_cunstruction_tasks.rake
202
+ - lib/under_construction/engine.rb
203
+ - lib/under_construction/version.rb
204
+ - lib/under_construction/schedule.rb
205
+ - lib/under_construction/config.rb
256
206
  - Rakefile
257
207
  - README.md
258
208
  homepage: https://github.com/jnaqsh/under_construction
@@ -1,14 +0,0 @@
1
- /**
2
- * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>.
3
- * Author: Drew Diller
4
- * Email: drew.diller@gmail.com
5
- * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/
6
- * Version: 0.0.7a
7
- * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
8
- *
9
- * Example usage:
10
- * DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector
11
- * DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement
12
- **/
13
-
14
- eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('2 E={J:\'E\',Z:{},1E:7(){4(x.1l&&!x.1l[6.J]){x.1l.23(6.J,\'24:25-26-27:3\')}4(1F.11){1F.11(\'28\',7(){E=29})}},1G:7(){2 a=x.1m(\'8\');x.1H.1b.1n(a,x.1H.1b.1b);2 b=a.1o;b.1c(6.J+\'\\\\:*\',\'{12:2a(#1I#2b)}\');b.1c(6.J+\'\\\\:9\',\'Q:1p;\');b.1c(\'1J.\'+6.J+\'1K\',\'12:y; 1q:y; Q:1p; z-2c:-1; 1d:-1r; 1L:1M;\');6.1o=b},1N:7(){2 a=13.2d;4(13.1e.K(\'2e\')!=-1||13.1e.K(\'1q\')!=-1){E.1f(a)}4(13.1e==\'8.1s\'){2 b=(a.F.1s==\'y\')?\'y\':\'2f\';G(2 v M a.3){a.3[v].9.8.1s=b}}4(13.1e.K(\'14\')!=-1){E.1t(a)}},1t:7(a){4(a.F.14.K(\'2g\')!=-1){2 b=a.F.14;b=1u(b.2h(b.1v(\'=\')+1,b.1v(\')\')),10)/2i;a.3.N.9.8.14=a.F.14;a.3.C.I.2j=b}},15:7(a){2k(7(){E.1f(a)},1)},2l:7(a){2 b=a.1O(\',\');G(2 i=0;i<b.2m;i++){6.1o.1c(b[i],\'12:2n(E.1P(6))\')}},1f:7(a){a.S.1Q=\'\';6.1R(a);6.16(a);6.1t(a);4(a.O){6.1S(a)}},1T:7(b){2 c=6;2 d={2o:\'16\',2p:\'16\'};4(b.17==\'A\'){2 e={2q:\'15\',2r:\'15\',2s:\'15\',2t:\'15\'};G(2 a M e){d[a]=e[a]}}G(2 h M d){b.11(\'1w\'+h,7(){c[d[h]](b)})}b.11(\'2u\',6.1N)},1x:7(a){a.8.2v=1;4(a.F.Q==\'2w\'){a.8.Q=\'2x\'}},1S:7(a){2 b={\'2y\':P,\'2z\':P,\'2A\':P};G(2 s M b){a.3.N.9.8[s]=a.F[s]}},1R:7(a){4(!a.F){1g}U{2 b=a.F}G(2 v M a.3){a.3[v].9.8.1U=b.1U}a.S.18=\'\';a.S.19=\'\';2 c=(b.18==\'1V\');2 d=P;4(b.19!=\'y\'||a.O){4(!a.O){a.D=b.19;a.D=a.D.2B(5,a.D.1v(\'")\')-5)}U{a.D=a.1h}2 e=6;4(!e.Z[a.D]){2 f=x.1m(\'1J\');e.Z[a.D]=f;f.2C=e.J+\'1K\';f.S.1Q=\'12:y; Q:1p; 1y:-1r; 1d:-1r; 1q:y;\';f.11(\'2D\',7(){6.1i=6.2E;6.1j=6.2F;e.16(a)});f.1h=a.D;f.1W(\'1i\');f.1W(\'1j\');x.1X.1n(f,x.1X.1b)}a.3.C.I.1h=a.D;d=V}a.3.C.I.1w=!d;a.3.C.I.N=\'y\';a.3.N.9.8.18=b.18;a.S.19=\'y\';a.S.18=\'1V\'},16:7(e){2 f=e.F;2 g={\'W\':e.2G+1,\'H\':e.2H+1,\'w\':6.Z[e.D].1i,\'h\':6.Z[e.D].1j,\'L\':e.2I,\'T\':e.2J,\'1k\':e.2K,\'1z\':e.2L};2 i=(g.L+g.1k==1)?1:0;2 j=7(a,l,t,w,h,o){a.2M=w+\',\'+h;a.2N=o+\',\'+o;a.2O=\'2P,1Y\'+w+\',1Y\'+w+\',\'+h+\'2Q,\'+h+\' 2R\';a.8.1i=w+\'u\';a.8.1j=h+\'u\';a.8.1y=l+\'u\';a.8.1d=t+\'u\'};j(e.3.N.9,(g.L+(e.O?0:g.1k)),(g.T+(e.O?0:g.1z)),(g.W-1),(g.H-1),0);j(e.3.C.9,(g.L+g.1k),(g.T+g.1z),(g.W),(g.H),1);2 k={\'X\':0,\'Y\':0};2 m=7(a,b){2 c=P;2S(b){1a\'1y\':1a\'1d\':k[a]=0;1A;1a\'2T\':k[a]=.5;1A;1a\'2U\':1a\'2V\':k[a]=1;1A;1I:4(b.K(\'%\')!=-1){k[a]=1u(b)*.2W}U{c=V}}2 d=(a==\'X\');k[a]=2X.2Y(c?((g[d?\'W\':\'H\']*k[a])-(g[d?\'w\':\'h\']*k[a])):1u(b));4(k[a]==0){k[a]++}};G(2 b M k){m(b,f[\'2Z\'+b])}e.3.C.I.Q=(k.X/g.W)+\',\'+(k.Y/g.H);2 n=f.30;2 p={\'T\':1,\'R\':g.W+i,\'B\':g.H,\'L\':1+i};2 q={\'X\':{\'1B\':\'L\',\'1C\':\'R\',\'d\':\'W\'},\'Y\':{\'1B\':\'T\',\'1C\':\'B\',\'d\':\'H\'}};4(n!=\'1D\'){2 c={\'T\':(k.Y),\'R\':(k.X+g.w),\'B\':(k.Y+g.h),\'L\':(k.X)};4(n.K(\'1D-\')!=-1){2 v=n.1O(\'1D-\')[1].31();c[q[v].1B]=1;c[q[v].1C]=g[q[v].d]}4(c.B>g.H){c.B=g.H}e.3.C.9.8.1Z=\'20(\'+c.T+\'u \'+(c.R+i)+\'u \'+c.B+\'u \'+(c.L+i)+\'u)\'}U{e.3.C.9.8.1Z=\'20(\'+p.T+\'u \'+p.R+\'u \'+p.B+\'u \'+p.L+\'u)\'}},1P:7(a){a.8.12=\'y\';4(a.17==\'32\'||a.17==\'33\'||a.17==\'34\'){1g}a.O=V;4(a.17==\'35\'){4(a.1h.21().K(/\\.22$/)!=-1){a.O=P;a.8.1L=\'1M\'}U{1g}}U 4(a.F.19.21().K(\'.22\')==-1){1g}2 b=E;a.3={N:{},C:{}};2 c={9:{},I:{}};G(2 r M a.3){G(2 e M c){2 d=b.J+\':\'+e;a.3[r][e]=x.1m(d)}a.3[r].9.36=V;a.3[r].9.37(a.3[r].I);a.38.1n(a.3[r].9,a)}a.3.C.9.39=\'y\';a.3.C.I.3a=\'3b\';a.3.N.I.1w=V;b.1T(a);b.1x(a);b.1x(a.3c);b.1f(a)}};3d{x.3e("3f",V,P)}3g(r){}E.1E();E.1G();',62,203,'||var|vml|if||this|function|style|shape|||||||||||||||||||||px|||document|none||||image|vmlBg|DD_belatedPNG|currentStyle|for||fill|ns|search||in|color|isImg|true|position||runtimeStyle||else|false||||imgSize||attachEvent|behavior|event|filter|handlePseudoHover|vmlOffsets|nodeName|backgroundColor|backgroundImage|case|firstChild|addRule|top|propertyName|applyVML|return|src|width|height|bLW|namespaces|createElement|insertBefore|styleSheet|absolute|border|10000px|display|vmlOpacity|parseInt|lastIndexOf|on|giveLayout|left|bTW|break|b1|b2|repeat|createVmlNameSpace|window|createVmlStyleSheet|documentElement|default|img|_sizeFinder|visibility|hidden|readPropertyChange|split|fixPng|cssText|vmlFill|copyImageBorders|attachHandlers|zIndex|transparent|removeAttribute|body|0l|clip|rect|toLowerCase|png|add|urn|schemas|microsoft|com|onbeforeunload|null|url|VML|index|srcElement|background|block|lpha|substring|100|opacity|setTimeout|fix|length|expression|resize|move|mouseleave|mouseenter|focus|blur|onpropertychange|zoom|static|relative|borderStyle|borderWidth|borderColor|substr|className|onload|offsetWidth|offsetHeight|clientWidth|clientHeight|offsetLeft|offsetTop|clientLeft|clientTop|coordsize|coordorigin|path|m0|l0|xe|switch|center|right|bottom|01|Math|ceil|backgroundPosition|backgroundRepeat|toUpperCase|BODY|TD|TR|IMG|stroked|appendChild|parentNode|fillcolor|type|tile|offsetParent|try|execCommand|BackgroundImageCache|catch'.split('|'),0,{}))
@@ -1 +0,0 @@
1
- (function($){$.fn.jCarouselLite=function(o){o=$.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},o||{});return this.each(function(){var b=false,animCss=o.vertical?"top":"left",sizeCss=o.vertical?"height":"width";var c=$(this),ul=$("ul",c),tLi=$("li",ul),tl=tLi.size(),v=o.visible;if(o.circular){ul.prepend(tLi.slice(tl-v-1+1).clone()).append(tLi.slice(0,v).clone());o.start+=v}var f=$("li",ul),itemLength=f.size(),curr=o.start;c.css("visibility","visible");f.css({overflow:"hidden",float:o.vertical?"none":"left"});ul.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});c.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var g=o.vertical?height(f):width(f);var h=g*itemLength;var j=g*v;f.css({width:f.width(),height:f.height()});ul.css(sizeCss,h+"px").css(animCss,-(curr*g));c.css(sizeCss,j+"px");if(o.btnPrev)$(o.btnPrev).click(function(){return go(curr-o.scroll)});if(o.btnNext)$(o.btnNext).click(function(){return go(curr+o.scroll)});if(o.btnGo)$.each(o.btnGo,function(i,a){$(a).click(function(){return go(o.circular?o.visible+i:i)})});if(o.mouseWheel&&c.mousewheel)c.mousewheel(function(e,d){return d>0?go(curr-o.scroll):go(curr+o.scroll)});if(o.auto)setInterval(function(){go(curr+o.scroll)},o.auto+o.speed);function vis(){return f.slice(curr).slice(0,v)};function go(a){if(!b){if(o.beforeStart)o.beforeStart.call(this,vis());if(o.circular){if(a<=o.start-v-1){ul.css(animCss,-((itemLength-(v*2))*g)+"px");curr=a==o.start-v-1?itemLength-(v*2)-1:itemLength-(v*2)-o.scroll}else if(a>=itemLength-v+1){ul.css(animCss,-((v)*g)+"px");curr=a==itemLength-v+1?v+1:v+o.scroll}else curr=a}else{if(a<0||a>itemLength-v)return;else curr=a}b=true;ul.animate(animCss=="left"?{left:-(curr*g)}:{top:-(curr*g)},o.speed,o.easing,function(){if(o.afterEnd)o.afterEnd.call(this,vis());b=false});if(!o.circular){$(o.btnPrev+","+o.btnNext).removeClass("disabled");$((curr-o.scroll<0&&o.btnPrev)||(curr+o.scroll>itemLength-v&&o.btnNext)||[]).addClass("disabled")}}return false}})};function css(a,b){return parseInt($.css(a[0],b))||0};function width(a){return a[0].offsetWidth+css(a,'marginLeft')+css(a,'marginRight')};function height(a){return a[0].offsetHeight+css(a,'marginTop')+css(a,'marginBottom')}})(jQuery);
@@ -1,6 +0,0 @@
1
- /* http://keith-wood.name/countdown.html
2
- Countdown for jQuery v1.6.1.
3
- Written by Keith Wood (kbwood{at}iinet.com.au) January 2008.
4
- Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license.
5
- Please attribute the author if you use it. */
6
- (function($){function Countdown(){this.regional=[];this.regional['']={labels:['Years','Months','Weeks','Days','Hours','Minutes','Seconds'],labels1:['Year','Month','Week','Day','Hour','Minute','Second'],compactLabels:['y','m','w','d'],whichLabels:null,digits:['0','1','2','3','4','5','6','7','8','9'],timeSeparator:':',isRTL:false};this._defaults={until:null,since:null,timezone:null,serverSync:null,format:'dHMS',layout:'',compact:false,significant:0,description:'',expiryUrl:'',expiryText:'',alwaysExpire:false,onExpiry:null,onTick:null,tickInterval:1};$.extend(this._defaults,this.regional['']);this._serverSyncs=[];function timerCallBack(a){var b=(a<1e12?(b=performance.now?(performance.now()+performance.timing.navigationStart):Date.now()):a||new Date().getTime());if(b-d>=1000){x._updateTargets();d=b}c(timerCallBack)}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;var d=0;if(!c||$.noRequestAnimationFrame){$.noRequestAnimationFrame=null;setInterval(function(){x._updateTargets()},980)}else{d=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||new Date().getTime();c(timerCallBack)}}var Y=0;var O=1;var W=2;var D=3;var H=4;var M=5;var S=6;$.extend(Countdown.prototype,{markerClassName:'hasCountdown',propertyName:'countdown',_rtlClass:'countdown_rtl',_sectionClass:'countdown_section',_amountClass:'countdown_amount',_rowClass:'countdown_row',_holdingClass:'countdown_holding',_showClass:'countdown_show',_descrClass:'countdown_descr',_timerTargets:[],setDefaults:function(a){this._resetExtraLabels(this._defaults,a);$.extend(this._defaults,a||{})},UTCDate:function(a,b,c,e,f,g,h,i){if(typeof b=='object'&&b.constructor==Date){i=b.getMilliseconds();h=b.getSeconds();g=b.getMinutes();f=b.getHours();e=b.getDate();c=b.getMonth();b=b.getFullYear()}var d=new Date();d.setUTCFullYear(b);d.setUTCDate(1);d.setUTCMonth(c||0);d.setUTCDate(e||1);d.setUTCHours(f||0);d.setUTCMinutes((g||0)-(Math.abs(a)<30?a*60:a));d.setUTCSeconds(h||0);d.setUTCMilliseconds(i||0);return d},periodsToSeconds:function(a){return a[0]*31557600+a[1]*2629800+a[2]*604800+a[3]*86400+a[4]*3600+a[5]*60+a[6]},_attachPlugin:function(a,b){a=$(a);if(a.hasClass(this.markerClassName)){return}var c={options:$.extend({},this._defaults),_periods:[0,0,0,0,0,0,0]};a.addClass(this.markerClassName).data(this.propertyName,c);this._optionPlugin(a,b)},_addTarget:function(a){if(!this._hasTarget(a)){this._timerTargets.push(a)}},_hasTarget:function(a){return($.inArray(a,this._timerTargets)>-1)},_removeTarget:function(b){this._timerTargets=$.map(this._timerTargets,function(a){return(a==b?null:a)})},_updateTargets:function(){for(var i=this._timerTargets.length-1;i>=0;i--){this._updateCountdown(this._timerTargets[i])}},_optionPlugin:function(a,b,c){a=$(a);var d=a.data(this.propertyName);if(!b||(typeof b=='string'&&c==null)){var e=b;b=(d||{}).options;return(b&&e?b[e]:b)}if(!a.hasClass(this.markerClassName)){return}b=b||{};if(typeof b=='string'){var e=b;b={};b[e]=c}this._resetExtraLabels(d.options,b);$.extend(d.options,b);this._adjustSettings(a,d);var f=new Date();if((d._since&&d._since<f)||(d._until&&d._until>f)){this._addTarget(a[0])}this._updateCountdown(a,d)},_updateCountdown:function(a,b){var c=$(a);b=b||c.data(this.propertyName);if(!b){return}c.html(this._generateHTML(b)).toggleClass(this._rtlClass,b.options.isRTL);if($.isFunction(b.options.onTick)){var d=b._hold!='lap'?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date());if(b.options.tickInterval==1||this.periodsToSeconds(d)%b.options.tickInterval==0){b.options.onTick.apply(a,[d])}}var e=b._hold!='pause'&&(b._since?b._now.getTime()<b._since.getTime():b._now.getTime()>=b._until.getTime());if(e&&!b._expiring){b._expiring=true;if(this._hasTarget(a)||b.options.alwaysExpire){this._removeTarget(a);if($.isFunction(b.options.onExpiry)){b.options.onExpiry.apply(a,[])}if(b.options.expiryText){var f=b.options.layout;b.options.layout=b.options.expiryText;this._updateCountdown(a,b);b.options.layout=f}if(b.options.expiryUrl){window.location=b.options.expiryUrl}}b._expiring=false}else if(b._hold=='pause'){this._removeTarget(a)}c.data(this.propertyName,b)},_resetExtraLabels:function(a,b){var c=false;for(var n in b){if(n!='whichLabels'&&n.match(/[Ll]abels/)){c=true;break}}if(c){for(var n in a){if(n.match(/[Ll]abels[02-9]/)){a[n]=null}}}},_adjustSettings:function(a,b){var c;var d=0;var e=null;for(var i=0;i<this._serverSyncs.length;i++){if(this._serverSyncs[i][0]==b.options.serverSync){e=this._serverSyncs[i][1];break}}if(e!=null){d=(b.options.serverSync?e:0);c=new Date()}else{var f=($.isFunction(b.options.serverSync)?b.options.serverSync.apply(a,[]):null);c=new Date();d=(f?c.getTime()-f.getTime():0);this._serverSyncs.push([b.options.serverSync,d])}var g=b.options.timezone;g=(g==null?-c.getTimezoneOffset():g);b._since=b.options.since;if(b._since!=null){b._since=this.UTCDate(g,this._determineTime(b._since,null));if(b._since&&d){b._since.setMilliseconds(b._since.getMilliseconds()+d)}}b._until=this.UTCDate(g,this._determineTime(b.options.until,c));if(d){b._until.setMilliseconds(b._until.getMilliseconds()+d)}b._show=this._determineShow(b)},_destroyPlugin:function(a){a=$(a);if(!a.hasClass(this.markerClassName)){return}this._removeTarget(a[0]);a.removeClass(this.markerClassName).empty().removeData(this.propertyName)},_pausePlugin:function(a){this._hold(a,'pause')},_lapPlugin:function(a){this._hold(a,'lap')},_resumePlugin:function(a){this._hold(a,null)},_hold:function(a,b){var c=$.data(a,this.propertyName);if(c){if(c._hold=='pause'&&!b){c._periods=c._savePeriods;var d=(c._since?'-':'+');c[c._since?'_since':'_until']=this._determineTime(d+c._periods[0]+'y'+d+c._periods[1]+'o'+d+c._periods[2]+'w'+d+c._periods[3]+'d'+d+c._periods[4]+'h'+d+c._periods[5]+'m'+d+c._periods[6]+'s');this._addTarget(a)}c._hold=b;c._savePeriods=(b=='pause'?c._periods:null);$.data(a,this.propertyName,c);this._updateCountdown(a,c)}},_getTimesPlugin:function(a){var b=$.data(a,this.propertyName);return(!b?null:(!b._hold?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date())))},_determineTime:function(k,l){var m=function(a){var b=new Date();b.setTime(b.getTime()+a*1000);return b};var n=function(a){a=a.toLowerCase();var b=new Date();var c=b.getFullYear();var d=b.getMonth();var e=b.getDate();var f=b.getHours();var g=b.getMinutes();var h=b.getSeconds();var i=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g;var j=i.exec(a);while(j){switch(j[2]||'s'){case's':h+=parseInt(j[1],10);break;case'm':g+=parseInt(j[1],10);break;case'h':f+=parseInt(j[1],10);break;case'd':e+=parseInt(j[1],10);break;case'w':e+=parseInt(j[1],10)*7;break;case'o':d+=parseInt(j[1],10);e=Math.min(e,x._getDaysInMonth(c,d));break;case'y':c+=parseInt(j[1],10);e=Math.min(e,x._getDaysInMonth(c,d));break}j=i.exec(a)}return new Date(c,d,e,f,g,h,0)};var o=(k==null?l:(typeof k=='string'?n(k):(typeof k=='number'?m(k):k)));if(o)o.setMilliseconds(0);return o},_getDaysInMonth:function(a,b){return 32-new Date(a,b,32).getDate()},_normalLabels:function(a){return a},_generateHTML:function(c){var d=this;c._periods=(c._hold?c._periods:this._calculatePeriods(c,c._show,c.options.significant,new Date()));var e=false;var f=0;var g=c.options.significant;var h=$.extend({},c._show);for(var i=Y;i<=S;i++){e|=(c._show[i]=='?'&&c._periods[i]>0);h[i]=(c._show[i]=='?'&&!e?null:c._show[i]);f+=(h[i]?1:0);g-=(c._periods[i]>0?1:0)}var j=[false,false,false,false,false,false,false];for(var i=S;i>=Y;i--){if(c._show[i]){if(c._periods[i]){j[i]=true}else{j[i]=g>0;g--}}}var k=(c.options.compact?c.options.compactLabels:c.options.labels);var l=c.options.whichLabels||this._normalLabels;var m=function(a){var b=c.options['compactLabels'+l(c._periods[a])];return(h[a]?d._translateDigits(c,c._periods[a])+(b?b[a]:k[a])+' ':'')};var n=function(a){var b=c.options['labels'+l(c._periods[a])];return((!c.options.significant&&h[a])||(c.options.significant&&j[a])?'<span class="'+x._sectionClass+'">'+'<span class="'+x._amountClass+'">'+d._translateDigits(c,c._periods[a])+'</span><br/>'+(b?b[a]:k[a])+'</span>':'')};return(c.options.layout?this._buildLayout(c,h,c.options.layout,c.options.compact,c.options.significant,j):((c.options.compact?'<span class="'+this._rowClass+' '+this._amountClass+(c._hold?' '+this._holdingClass:'')+'">'+m(Y)+m(O)+m(W)+m(D)+(h[H]?this._minDigits(c,c._periods[H],2):'')+(h[M]?(h[H]?c.options.timeSeparator:'')+this._minDigits(c,c._periods[M],2):'')+(h[S]?(h[H]||h[M]?c.options.timeSeparator:'')+this._minDigits(c,c._periods[S],2):''):'<span class="'+this._rowClass+' '+this._showClass+(c.options.significant||f)+(c._hold?' '+this._holdingClass:'')+'">'+n(Y)+n(O)+n(W)+n(D)+n(H)+n(M)+n(S))+'</span>'+(c.options.description?'<span class="'+this._rowClass+' '+this._descrClass+'">'+c.options.description+'</span>':'')))},_buildLayout:function(c,d,e,f,g,h){var j=c.options[f?'compactLabels':'labels'];var k=c.options.whichLabels||this._normalLabels;var l=function(a){return(c.options[(f?'compactLabels':'labels')+k(c._periods[a])]||j)[a]};var m=function(a,b){return c.options.digits[Math.floor(a/b)%10]};var o={desc:c.options.description,sep:c.options.timeSeparator,yl:l(Y),yn:this._minDigits(c,c._periods[Y],1),ynn:this._minDigits(c,c._periods[Y],2),ynnn:this._minDigits(c,c._periods[Y],3),y1:m(c._periods[Y],1),y10:m(c._periods[Y],10),y100:m(c._periods[Y],100),y1000:m(c._periods[Y],1000),ol:l(O),on:this._minDigits(c,c._periods[O],1),onn:this._minDigits(c,c._periods[O],2),onnn:this._minDigits(c,c._periods[O],3),o1:m(c._periods[O],1),o10:m(c._periods[O],10),o100:m(c._periods[O],100),o1000:m(c._periods[O],1000),wl:l(W),wn:this._minDigits(c,c._periods[W],1),wnn:this._minDigits(c,c._periods[W],2),wnnn:this._minDigits(c,c._periods[W],3),w1:m(c._periods[W],1),w10:m(c._periods[W],10),w100:m(c._periods[W],100),w1000:m(c._periods[W],1000),dl:l(D),dn:this._minDigits(c,c._periods[D],1),dnn:this._minDigits(c,c._periods[D],2),dnnn:this._minDigits(c,c._periods[D],3),d1:m(c._periods[D],1),d10:m(c._periods[D],10),d100:m(c._periods[D],100),d1000:m(c._periods[D],1000),hl:l(H),hn:this._minDigits(c,c._periods[H],1),hnn:this._minDigits(c,c._periods[H],2),hnnn:this._minDigits(c,c._periods[H],3),h1:m(c._periods[H],1),h10:m(c._periods[H],10),h100:m(c._periods[H],100),h1000:m(c._periods[H],1000),ml:l(M),mn:this._minDigits(c,c._periods[M],1),mnn:this._minDigits(c,c._periods[M],2),mnnn:this._minDigits(c,c._periods[M],3),m1:m(c._periods[M],1),m10:m(c._periods[M],10),m100:m(c._periods[M],100),m1000:m(c._periods[M],1000),sl:l(S),sn:this._minDigits(c,c._periods[S],1),snn:this._minDigits(c,c._periods[S],2),snnn:this._minDigits(c,c._periods[S],3),s1:m(c._periods[S],1),s10:m(c._periods[S],10),s100:m(c._periods[S],100),s1000:m(c._periods[S],1000)};var p=e;for(var i=Y;i<=S;i++){var q='yowdhms'.charAt(i);var r=new RegExp('\\{'+q+'<\\}(.*)\\{'+q+'>\\}','g');p=p.replace(r,((!g&&d[i])||(g&&h[i])?'$1':''))}$.each(o,function(n,v){var a=new RegExp('\\{'+n+'\\}','g');p=p.replace(a,v)});return p},_minDigits:function(a,b,c){b=''+b;if(b.length>=c){return this._translateDigits(a,b)}b='0000000000'+b;return this._translateDigits(a,b.substr(b.length-c))},_translateDigits:function(b,c){return(''+c).replace(/[0-9]/g,function(a){return b.options.digits[a]})},_determineShow:function(a){var b=a.options.format;var c=[];c[Y]=(b.match('y')?'?':(b.match('Y')?'!':null));c[O]=(b.match('o')?'?':(b.match('O')?'!':null));c[W]=(b.match('w')?'?':(b.match('W')?'!':null));c[D]=(b.match('d')?'?':(b.match('D')?'!':null));c[H]=(b.match('h')?'?':(b.match('H')?'!':null));c[M]=(b.match('m')?'?':(b.match('M')?'!':null));c[S]=(b.match('s')?'?':(b.match('S')?'!':null));return c},_calculatePeriods:function(c,d,e,f){c._now=f;c._now.setMilliseconds(0);var g=new Date(c._now.getTime());if(c._since){if(f.getTime()<c._since.getTime()){c._now=f=g}else{f=c._since}}else{g.setTime(c._until.getTime());if(f.getTime()>c._until.getTime()){c._now=f=g}}var h=[0,0,0,0,0,0,0];if(d[Y]||d[O]){var i=x._getDaysInMonth(f.getFullYear(),f.getMonth());var j=x._getDaysInMonth(g.getFullYear(),g.getMonth());var k=(g.getDate()==f.getDate()||(g.getDate()>=Math.min(i,j)&&f.getDate()>=Math.min(i,j)));var l=function(a){return(a.getHours()*60+a.getMinutes())*60+a.getSeconds()};var m=Math.max(0,(g.getFullYear()-f.getFullYear())*12+g.getMonth()-f.getMonth()+((g.getDate()<f.getDate()&&!k)||(k&&l(g)<l(f))?-1:0));h[Y]=(d[Y]?Math.floor(m/12):0);h[O]=(d[O]?m-h[Y]*12:0);f=new Date(f.getTime());var n=(f.getDate()==i);var o=x._getDaysInMonth(f.getFullYear()+h[Y],f.getMonth()+h[O]);if(f.getDate()>o){f.setDate(o)}f.setFullYear(f.getFullYear()+h[Y]);f.setMonth(f.getMonth()+h[O]);if(n){f.setDate(o)}}var p=Math.floor((g.getTime()-f.getTime())/1000);var q=function(a,b){h[a]=(d[a]?Math.floor(p/b):0);p-=h[a]*b};q(W,604800);q(D,86400);q(H,3600);q(M,60);q(S,1);if(p>0&&!c._since){var r=[1,12,4.3482,7,24,60,60];var s=S;var t=1;for(var u=S;u>=Y;u--){if(d[u]){if(h[s]>=t){h[s]=0;p=1}if(p>0){h[u]++;p=0;s=u;t=1}}t*=r[u]}}if(e){for(var u=Y;u<=S;u++){if(e&&h[u]){e--}else if(!e){h[u]=0}}}return h}});var w=['getTimes'];function isNotChained(a,b){if(a=='option'&&(b.length==0||(b.length==1&&typeof b[0]=='string'))){return true}return $.inArray(a,w)>-1}$.fn.countdown=function(a){var b=Array.prototype.slice.call(arguments,1);if(isNotChained(a,b)){return x['_'+a+'Plugin'].apply(x,[this[0]].concat(b))}return this.each(function(){if(typeof a=='string'){if(!x['_'+a+'Plugin']){throw'Unknown command: '+a;}x['_'+a+'Plugin'].apply(x,[this].concat(b))}else{x._attachPlugin(this,a||{})}})};var x=$.countdown=new Countdown()})(jQuery);
@@ -1,14 +0,0 @@
1
- /**
2
- * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>.
3
- * Author: Drew Diller
4
- * Email: drew.diller@gmail.com
5
- * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/
6
- * Version: 0.0.7a
7
- * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
8
- *
9
- * Example usage:
10
- * DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector
11
- * DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement
12
- **/
13
-
14
- eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('2 E={J:\'E\',Z:{},1E:7(){4(x.1l&&!x.1l[6.J]){x.1l.23(6.J,\'24:25-26-27:3\')}4(1F.11){1F.11(\'28\',7(){E=29})}},1G:7(){2 a=x.1m(\'8\');x.1H.1b.1n(a,x.1H.1b.1b);2 b=a.1o;b.1c(6.J+\'\\\\:*\',\'{12:2a(#1I#2b)}\');b.1c(6.J+\'\\\\:9\',\'Q:1p;\');b.1c(\'1J.\'+6.J+\'1K\',\'12:y; 1q:y; Q:1p; z-2c:-1; 1d:-1r; 1L:1M;\');6.1o=b},1N:7(){2 a=13.2d;4(13.1e.K(\'2e\')!=-1||13.1e.K(\'1q\')!=-1){E.1f(a)}4(13.1e==\'8.1s\'){2 b=(a.F.1s==\'y\')?\'y\':\'2f\';G(2 v M a.3){a.3[v].9.8.1s=b}}4(13.1e.K(\'14\')!=-1){E.1t(a)}},1t:7(a){4(a.F.14.K(\'2g\')!=-1){2 b=a.F.14;b=1u(b.2h(b.1v(\'=\')+1,b.1v(\')\')),10)/2i;a.3.N.9.8.14=a.F.14;a.3.C.I.2j=b}},15:7(a){2k(7(){E.1f(a)},1)},2l:7(a){2 b=a.1O(\',\');G(2 i=0;i<b.2m;i++){6.1o.1c(b[i],\'12:2n(E.1P(6))\')}},1f:7(a){a.S.1Q=\'\';6.1R(a);6.16(a);6.1t(a);4(a.O){6.1S(a)}},1T:7(b){2 c=6;2 d={2o:\'16\',2p:\'16\'};4(b.17==\'A\'){2 e={2q:\'15\',2r:\'15\',2s:\'15\',2t:\'15\'};G(2 a M e){d[a]=e[a]}}G(2 h M d){b.11(\'1w\'+h,7(){c[d[h]](b)})}b.11(\'2u\',6.1N)},1x:7(a){a.8.2v=1;4(a.F.Q==\'2w\'){a.8.Q=\'2x\'}},1S:7(a){2 b={\'2y\':P,\'2z\':P,\'2A\':P};G(2 s M b){a.3.N.9.8[s]=a.F[s]}},1R:7(a){4(!a.F){1g}U{2 b=a.F}G(2 v M a.3){a.3[v].9.8.1U=b.1U}a.S.18=\'\';a.S.19=\'\';2 c=(b.18==\'1V\');2 d=P;4(b.19!=\'y\'||a.O){4(!a.O){a.D=b.19;a.D=a.D.2B(5,a.D.1v(\'")\')-5)}U{a.D=a.1h}2 e=6;4(!e.Z[a.D]){2 f=x.1m(\'1J\');e.Z[a.D]=f;f.2C=e.J+\'1K\';f.S.1Q=\'12:y; Q:1p; 1y:-1r; 1d:-1r; 1q:y;\';f.11(\'2D\',7(){6.1i=6.2E;6.1j=6.2F;e.16(a)});f.1h=a.D;f.1W(\'1i\');f.1W(\'1j\');x.1X.1n(f,x.1X.1b)}a.3.C.I.1h=a.D;d=V}a.3.C.I.1w=!d;a.3.C.I.N=\'y\';a.3.N.9.8.18=b.18;a.S.19=\'y\';a.S.18=\'1V\'},16:7(e){2 f=e.F;2 g={\'W\':e.2G+1,\'H\':e.2H+1,\'w\':6.Z[e.D].1i,\'h\':6.Z[e.D].1j,\'L\':e.2I,\'T\':e.2J,\'1k\':e.2K,\'1z\':e.2L};2 i=(g.L+g.1k==1)?1:0;2 j=7(a,l,t,w,h,o){a.2M=w+\',\'+h;a.2N=o+\',\'+o;a.2O=\'2P,1Y\'+w+\',1Y\'+w+\',\'+h+\'2Q,\'+h+\' 2R\';a.8.1i=w+\'u\';a.8.1j=h+\'u\';a.8.1y=l+\'u\';a.8.1d=t+\'u\'};j(e.3.N.9,(g.L+(e.O?0:g.1k)),(g.T+(e.O?0:g.1z)),(g.W-1),(g.H-1),0);j(e.3.C.9,(g.L+g.1k),(g.T+g.1z),(g.W),(g.H),1);2 k={\'X\':0,\'Y\':0};2 m=7(a,b){2 c=P;2S(b){1a\'1y\':1a\'1d\':k[a]=0;1A;1a\'2T\':k[a]=.5;1A;1a\'2U\':1a\'2V\':k[a]=1;1A;1I:4(b.K(\'%\')!=-1){k[a]=1u(b)*.2W}U{c=V}}2 d=(a==\'X\');k[a]=2X.2Y(c?((g[d?\'W\':\'H\']*k[a])-(g[d?\'w\':\'h\']*k[a])):1u(b));4(k[a]==0){k[a]++}};G(2 b M k){m(b,f[\'2Z\'+b])}e.3.C.I.Q=(k.X/g.W)+\',\'+(k.Y/g.H);2 n=f.30;2 p={\'T\':1,\'R\':g.W+i,\'B\':g.H,\'L\':1+i};2 q={\'X\':{\'1B\':\'L\',\'1C\':\'R\',\'d\':\'W\'},\'Y\':{\'1B\':\'T\',\'1C\':\'B\',\'d\':\'H\'}};4(n!=\'1D\'){2 c={\'T\':(k.Y),\'R\':(k.X+g.w),\'B\':(k.Y+g.h),\'L\':(k.X)};4(n.K(\'1D-\')!=-1){2 v=n.1O(\'1D-\')[1].31();c[q[v].1B]=1;c[q[v].1C]=g[q[v].d]}4(c.B>g.H){c.B=g.H}e.3.C.9.8.1Z=\'20(\'+c.T+\'u \'+(c.R+i)+\'u \'+c.B+\'u \'+(c.L+i)+\'u)\'}U{e.3.C.9.8.1Z=\'20(\'+p.T+\'u \'+p.R+\'u \'+p.B+\'u \'+p.L+\'u)\'}},1P:7(a){a.8.12=\'y\';4(a.17==\'32\'||a.17==\'33\'||a.17==\'34\'){1g}a.O=V;4(a.17==\'35\'){4(a.1h.21().K(/\\.22$/)!=-1){a.O=P;a.8.1L=\'1M\'}U{1g}}U 4(a.F.19.21().K(\'.22\')==-1){1g}2 b=E;a.3={N:{},C:{}};2 c={9:{},I:{}};G(2 r M a.3){G(2 e M c){2 d=b.J+\':\'+e;a.3[r][e]=x.1m(d)}a.3[r].9.36=V;a.3[r].9.37(a.3[r].I);a.38.1n(a.3[r].9,a)}a.3.C.9.39=\'y\';a.3.C.I.3a=\'3b\';a.3.N.I.1w=V;b.1T(a);b.1x(a);b.1x(a.3c);b.1f(a)}};3d{x.3e("3f",V,P)}3g(r){}E.1E();E.1G();',62,203,'||var|vml|if||this|function|style|shape|||||||||||||||||||||px|||document|none||||image|vmlBg|DD_belatedPNG|currentStyle|for||fill|ns|search||in|color|isImg|true|position||runtimeStyle||else|false||||imgSize||attachEvent|behavior|event|filter|handlePseudoHover|vmlOffsets|nodeName|backgroundColor|backgroundImage|case|firstChild|addRule|top|propertyName|applyVML|return|src|width|height|bLW|namespaces|createElement|insertBefore|styleSheet|absolute|border|10000px|display|vmlOpacity|parseInt|lastIndexOf|on|giveLayout|left|bTW|break|b1|b2|repeat|createVmlNameSpace|window|createVmlStyleSheet|documentElement|default|img|_sizeFinder|visibility|hidden|readPropertyChange|split|fixPng|cssText|vmlFill|copyImageBorders|attachHandlers|zIndex|transparent|removeAttribute|body|0l|clip|rect|toLowerCase|png|add|urn|schemas|microsoft|com|onbeforeunload|null|url|VML|index|srcElement|background|block|lpha|substring|100|opacity|setTimeout|fix|length|expression|resize|move|mouseleave|mouseenter|focus|blur|onpropertychange|zoom|static|relative|borderStyle|borderWidth|borderColor|substr|className|onload|offsetWidth|offsetHeight|clientWidth|clientHeight|offsetLeft|offsetTop|clientLeft|clientTop|coordsize|coordorigin|path|m0|l0|xe|switch|center|right|bottom|01|Math|ceil|backgroundPosition|backgroundRepeat|toUpperCase|BODY|TD|TR|IMG|stroked|appendChild|parentNode|fillcolor|type|tile|offsetParent|try|execCommand|BackgroundImageCache|catch'.split('|'),0,{}))
@@ -1 +0,0 @@
1
- (function($){$.fn.jCarouselLite=function(o){o=$.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},o||{});return this.each(function(){var b=false,animCss=o.vertical?"top":"right",sizeCss=o.vertical?"height":"width";var c=$(this),ul=$("ul",c),tLi=$("li",ul),tl=tLi.size(),v=o.visible;if(o.circular){ul.prepend(tLi.slice(tl-v-1+1).clone()).append(tLi.slice(0,v).clone());o.start+=v}var f=$("li",ul),itemLength=f.size(),curr=o.start;c.css("visibility","visible");f.css({overflow:"hidden",float:o.vertical?"none":"left"});ul.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});c.css({overflow:"hidden",position:"relative","z-index":"2",right:"0px"});var g=o.vertical?height(f):width(f);var h=g*itemLength;var j=g*v;f.css({width:f.width(),height:f.height()});ul.css(sizeCss,h+"px").css(animCss,-(curr*g));c.css(sizeCss,j+"px");if(o.btnPrev)$(o.btnPrev).click(function(){return go(curr-o.scroll)});if(o.btnNext)$(o.btnNext).click(function(){return go(curr+o.scroll)});if(o.btnGo)$.each(o.btnGo,function(i,a){$(a).click(function(){return go(o.circular?o.visible+i:i)})});if(o.mouseWheel&&c.mousewheel)c.mousewheel(function(e,d){return d>0?go(curr-o.scroll):go(curr+o.scroll)});if(o.auto)setInterval(function(){go(curr+o.scroll)},o.auto+o.speed);function vis(){return f.slice(curr).slice(0,v)};function go(a){if(!b){if(o.beforeStart)o.beforeStart.call(this,vis());if(o.circular){if(a<=o.start-v-1){ul.css(animCss,-((itemLength-(v*2))*g)+"px");curr=a==o.start-v-1?itemLength-(v*2)-1:itemLength-(v*2)-o.scroll}else if(a>=itemLength-v+1){ul.css(animCss,-((v)*g)+"px");curr=a==itemLength-v+1?v+1:v+o.scroll}else curr=a}else{if(a<0||a>itemLength-v)return;else curr=a}b=true;ul.animate(animCss=="right"?{right:-(curr*g)}:{top:-(curr*g)},o.speed,o.easing,function(){if(o.afterEnd)o.afterEnd.call(this,vis());b=false});if(!o.circular){$(o.btnPrev+","+o.btnNext).removeClass("disabled");$((curr-o.scroll<0&&o.btnPrev)||(curr+o.scroll>itemLength-v&&o.btnNext)||[]).addClass("disabled")}}return false}})};function css(a,b){return parseInt($.css(a[0],b))||0};function width(a){return a[0].offsetWidth+css(a,'marginLeft')+css(a,'marginRight')};function height(a){return a[0].offsetHeight+css(a,'marginTop')+css(a,'marginBottom')}})(jQuery);
@@ -1,13 +0,0 @@
1
- /* http://keith-wood.name/countdown.html
2
- Persian (فارسی) initialisation for the jQuery countdown extension
3
- Written by Alireza Ziaie (ziai@magfa.com) Oct 2008. */
4
- (function($) {
5
- $.countdown.regional['fa'] = {
6
- labels: ['‌سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'],
7
- labels1: ['سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'],
8
- compactLabels: ['س', 'م', 'ه', 'ر'],
9
- whichLabels: null,
10
- digits: ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'],
11
- timeSeparator: ':', isRTL: true};
12
- $.countdown.setDefaults($.countdown.regional['fa']);
13
- })(jQuery);
@@ -1,6 +0,0 @@
1
- /* http://keith-wood.name/countdown.html
2
- Countdown for jQuery v1.6.1.
3
- Written by Keith Wood (kbwood{at}iinet.com.au) January 2008.
4
- Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license.
5
- Please attribute the author if you use it. */
6
- (function($){function Countdown(){this.regional=[];this.regional['']={labels:['Years','Months','Weeks','Days','Hours','Minutes','Seconds'],labels1:['Year','Month','Week','Day','Hour','Minute','Second'],compactLabels:['y','m','w','d'],whichLabels:null,digits:['0','1','2','3','4','5','6','7','8','9'],timeSeparator:':',isRTL:false};this._defaults={until:null,since:null,timezone:null,serverSync:null,format:'dHMS',layout:'',compact:false,significant:0,description:'',expiryUrl:'',expiryText:'',alwaysExpire:false,onExpiry:null,onTick:null,tickInterval:1};$.extend(this._defaults,this.regional['']);this._serverSyncs=[];function timerCallBack(a){var b=(a<1e12?(b=performance.now?(performance.now()+performance.timing.navigationStart):Date.now()):a||new Date().getTime());if(b-d>=1000){x._updateTargets();d=b}c(timerCallBack)}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;var d=0;if(!c||$.noRequestAnimationFrame){$.noRequestAnimationFrame=null;setInterval(function(){x._updateTargets()},980)}else{d=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||new Date().getTime();c(timerCallBack)}}var Y=0;var O=1;var W=2;var D=3;var H=4;var M=5;var S=6;$.extend(Countdown.prototype,{markerClassName:'hasCountdown',propertyName:'countdown',_rtlClass:'countdown_rtl',_sectionClass:'countdown_section',_amountClass:'countdown_amount',_rowClass:'countdown_row',_holdingClass:'countdown_holding',_showClass:'countdown_show',_descrClass:'countdown_descr',_timerTargets:[],setDefaults:function(a){this._resetExtraLabels(this._defaults,a);$.extend(this._defaults,a||{})},UTCDate:function(a,b,c,e,f,g,h,i){if(typeof b=='object'&&b.constructor==Date){i=b.getMilliseconds();h=b.getSeconds();g=b.getMinutes();f=b.getHours();e=b.getDate();c=b.getMonth();b=b.getFullYear()}var d=new Date();d.setUTCFullYear(b);d.setUTCDate(1);d.setUTCMonth(c||0);d.setUTCDate(e||1);d.setUTCHours(f||0);d.setUTCMinutes((g||0)-(Math.abs(a)<30?a*60:a));d.setUTCSeconds(h||0);d.setUTCMilliseconds(i||0);return d},periodsToSeconds:function(a){return a[0]*31557600+a[1]*2629800+a[2]*604800+a[3]*86400+a[4]*3600+a[5]*60+a[6]},_attachPlugin:function(a,b){a=$(a);if(a.hasClass(this.markerClassName)){return}var c={options:$.extend({},this._defaults),_periods:[0,0,0,0,0,0,0]};a.addClass(this.markerClassName).data(this.propertyName,c);this._optionPlugin(a,b)},_addTarget:function(a){if(!this._hasTarget(a)){this._timerTargets.push(a)}},_hasTarget:function(a){return($.inArray(a,this._timerTargets)>-1)},_removeTarget:function(b){this._timerTargets=$.map(this._timerTargets,function(a){return(a==b?null:a)})},_updateTargets:function(){for(var i=this._timerTargets.length-1;i>=0;i--){this._updateCountdown(this._timerTargets[i])}},_optionPlugin:function(a,b,c){a=$(a);var d=a.data(this.propertyName);if(!b||(typeof b=='string'&&c==null)){var e=b;b=(d||{}).options;return(b&&e?b[e]:b)}if(!a.hasClass(this.markerClassName)){return}b=b||{};if(typeof b=='string'){var e=b;b={};b[e]=c}this._resetExtraLabels(d.options,b);$.extend(d.options,b);this._adjustSettings(a,d);var f=new Date();if((d._since&&d._since<f)||(d._until&&d._until>f)){this._addTarget(a[0])}this._updateCountdown(a,d)},_updateCountdown:function(a,b){var c=$(a);b=b||c.data(this.propertyName);if(!b){return}c.html(this._generateHTML(b)).toggleClass(this._rtlClass,b.options.isRTL);if($.isFunction(b.options.onTick)){var d=b._hold!='lap'?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date());if(b.options.tickInterval==1||this.periodsToSeconds(d)%b.options.tickInterval==0){b.options.onTick.apply(a,[d])}}var e=b._hold!='pause'&&(b._since?b._now.getTime()<b._since.getTime():b._now.getTime()>=b._until.getTime());if(e&&!b._expiring){b._expiring=true;if(this._hasTarget(a)||b.options.alwaysExpire){this._removeTarget(a);if($.isFunction(b.options.onExpiry)){b.options.onExpiry.apply(a,[])}if(b.options.expiryText){var f=b.options.layout;b.options.layout=b.options.expiryText;this._updateCountdown(a,b);b.options.layout=f}if(b.options.expiryUrl){window.location=b.options.expiryUrl}}b._expiring=false}else if(b._hold=='pause'){this._removeTarget(a)}c.data(this.propertyName,b)},_resetExtraLabels:function(a,b){var c=false;for(var n in b){if(n!='whichLabels'&&n.match(/[Ll]abels/)){c=true;break}}if(c){for(var n in a){if(n.match(/[Ll]abels[02-9]/)){a[n]=null}}}},_adjustSettings:function(a,b){var c;var d=0;var e=null;for(var i=0;i<this._serverSyncs.length;i++){if(this._serverSyncs[i][0]==b.options.serverSync){e=this._serverSyncs[i][1];break}}if(e!=null){d=(b.options.serverSync?e:0);c=new Date()}else{var f=($.isFunction(b.options.serverSync)?b.options.serverSync.apply(a,[]):null);c=new Date();d=(f?c.getTime()-f.getTime():0);this._serverSyncs.push([b.options.serverSync,d])}var g=b.options.timezone;g=(g==null?-c.getTimezoneOffset():g);b._since=b.options.since;if(b._since!=null){b._since=this.UTCDate(g,this._determineTime(b._since,null));if(b._since&&d){b._since.setMilliseconds(b._since.getMilliseconds()+d)}}b._until=this.UTCDate(g,this._determineTime(b.options.until,c));if(d){b._until.setMilliseconds(b._until.getMilliseconds()+d)}b._show=this._determineShow(b)},_destroyPlugin:function(a){a=$(a);if(!a.hasClass(this.markerClassName)){return}this._removeTarget(a[0]);a.removeClass(this.markerClassName).empty().removeData(this.propertyName)},_pausePlugin:function(a){this._hold(a,'pause')},_lapPlugin:function(a){this._hold(a,'lap')},_resumePlugin:function(a){this._hold(a,null)},_hold:function(a,b){var c=$.data(a,this.propertyName);if(c){if(c._hold=='pause'&&!b){c._periods=c._savePeriods;var d=(c._since?'-':'+');c[c._since?'_since':'_until']=this._determineTime(d+c._periods[0]+'y'+d+c._periods[1]+'o'+d+c._periods[2]+'w'+d+c._periods[3]+'d'+d+c._periods[4]+'h'+d+c._periods[5]+'m'+d+c._periods[6]+'s');this._addTarget(a)}c._hold=b;c._savePeriods=(b=='pause'?c._periods:null);$.data(a,this.propertyName,c);this._updateCountdown(a,c)}},_getTimesPlugin:function(a){var b=$.data(a,this.propertyName);return(!b?null:(!b._hold?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date())))},_determineTime:function(k,l){var m=function(a){var b=new Date();b.setTime(b.getTime()+a*1000);return b};var n=function(a){a=a.toLowerCase();var b=new Date();var c=b.getFullYear();var d=b.getMonth();var e=b.getDate();var f=b.getHours();var g=b.getMinutes();var h=b.getSeconds();var i=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g;var j=i.exec(a);while(j){switch(j[2]||'s'){case's':h+=parseInt(j[1],10);break;case'm':g+=parseInt(j[1],10);break;case'h':f+=parseInt(j[1],10);break;case'd':e+=parseInt(j[1],10);break;case'w':e+=parseInt(j[1],10)*7;break;case'o':d+=parseInt(j[1],10);e=Math.min(e,x._getDaysInMonth(c,d));break;case'y':c+=parseInt(j[1],10);e=Math.min(e,x._getDaysInMonth(c,d));break}j=i.exec(a)}return new Date(c,d,e,f,g,h,0)};var o=(k==null?l:(typeof k=='string'?n(k):(typeof k=='number'?m(k):k)));if(o)o.setMilliseconds(0);return o},_getDaysInMonth:function(a,b){return 32-new Date(a,b,32).getDate()},_normalLabels:function(a){return a},_generateHTML:function(c){var d=this;c._periods=(c._hold?c._periods:this._calculatePeriods(c,c._show,c.options.significant,new Date()));var e=false;var f=0;var g=c.options.significant;var h=$.extend({},c._show);for(var i=Y;i<=S;i++){e|=(c._show[i]=='?'&&c._periods[i]>0);h[i]=(c._show[i]=='?'&&!e?null:c._show[i]);f+=(h[i]?1:0);g-=(c._periods[i]>0?1:0)}var j=[false,false,false,false,false,false,false];for(var i=S;i>=Y;i--){if(c._show[i]){if(c._periods[i]){j[i]=true}else{j[i]=g>0;g--}}}var k=(c.options.compact?c.options.compactLabels:c.options.labels);var l=c.options.whichLabels||this._normalLabels;var m=function(a){var b=c.options['compactLabels'+l(c._periods[a])];return(h[a]?d._translateDigits(c,c._periods[a])+(b?b[a]:k[a])+' ':'')};var n=function(a){var b=c.options['labels'+l(c._periods[a])];return((!c.options.significant&&h[a])||(c.options.significant&&j[a])?'<span class="'+x._sectionClass+'">'+'<span class="'+x._amountClass+'">'+d._translateDigits(c,c._periods[a])+'</span><br/>'+(b?b[a]:k[a])+'</span>':'')};return(c.options.layout?this._buildLayout(c,h,c.options.layout,c.options.compact,c.options.significant,j):((c.options.compact?'<span class="'+this._rowClass+' '+this._amountClass+(c._hold?' '+this._holdingClass:'')+'">'+m(Y)+m(O)+m(W)+m(D)+(h[H]?this._minDigits(c,c._periods[H],2):'')+(h[M]?(h[H]?c.options.timeSeparator:'')+this._minDigits(c,c._periods[M],2):'')+(h[S]?(h[H]||h[M]?c.options.timeSeparator:'')+this._minDigits(c,c._periods[S],2):''):'<span class="'+this._rowClass+' '+this._showClass+(c.options.significant||f)+(c._hold?' '+this._holdingClass:'')+'">'+n(Y)+n(O)+n(W)+n(D)+n(H)+n(M)+n(S))+'</span>'+(c.options.description?'<span class="'+this._rowClass+' '+this._descrClass+'">'+c.options.description+'</span>':'')))},_buildLayout:function(c,d,e,f,g,h){var j=c.options[f?'compactLabels':'labels'];var k=c.options.whichLabels||this._normalLabels;var l=function(a){return(c.options[(f?'compactLabels':'labels')+k(c._periods[a])]||j)[a]};var m=function(a,b){return c.options.digits[Math.floor(a/b)%10]};var o={desc:c.options.description,sep:c.options.timeSeparator,yl:l(Y),yn:this._minDigits(c,c._periods[Y],1),ynn:this._minDigits(c,c._periods[Y],2),ynnn:this._minDigits(c,c._periods[Y],3),y1:m(c._periods[Y],1),y10:m(c._periods[Y],10),y100:m(c._periods[Y],100),y1000:m(c._periods[Y],1000),ol:l(O),on:this._minDigits(c,c._periods[O],1),onn:this._minDigits(c,c._periods[O],2),onnn:this._minDigits(c,c._periods[O],3),o1:m(c._periods[O],1),o10:m(c._periods[O],10),o100:m(c._periods[O],100),o1000:m(c._periods[O],1000),wl:l(W),wn:this._minDigits(c,c._periods[W],1),wnn:this._minDigits(c,c._periods[W],2),wnnn:this._minDigits(c,c._periods[W],3),w1:m(c._periods[W],1),w10:m(c._periods[W],10),w100:m(c._periods[W],100),w1000:m(c._periods[W],1000),dl:l(D),dn:this._minDigits(c,c._periods[D],1),dnn:this._minDigits(c,c._periods[D],2),dnnn:this._minDigits(c,c._periods[D],3),d1:m(c._periods[D],1),d10:m(c._periods[D],10),d100:m(c._periods[D],100),d1000:m(c._periods[D],1000),hl:l(H),hn:this._minDigits(c,c._periods[H],1),hnn:this._minDigits(c,c._periods[H],2),hnnn:this._minDigits(c,c._periods[H],3),h1:m(c._periods[H],1),h10:m(c._periods[H],10),h100:m(c._periods[H],100),h1000:m(c._periods[H],1000),ml:l(M),mn:this._minDigits(c,c._periods[M],1),mnn:this._minDigits(c,c._periods[M],2),mnnn:this._minDigits(c,c._periods[M],3),m1:m(c._periods[M],1),m10:m(c._periods[M],10),m100:m(c._periods[M],100),m1000:m(c._periods[M],1000),sl:l(S),sn:this._minDigits(c,c._periods[S],1),snn:this._minDigits(c,c._periods[S],2),snnn:this._minDigits(c,c._periods[S],3),s1:m(c._periods[S],1),s10:m(c._periods[S],10),s100:m(c._periods[S],100),s1000:m(c._periods[S],1000)};var p=e;for(var i=Y;i<=S;i++){var q='yowdhms'.charAt(i);var r=new RegExp('\\{'+q+'<\\}(.*)\\{'+q+'>\\}','g');p=p.replace(r,((!g&&d[i])||(g&&h[i])?'$1':''))}$.each(o,function(n,v){var a=new RegExp('\\{'+n+'\\}','g');p=p.replace(a,v)});return p},_minDigits:function(a,b,c){b=''+b;if(b.length>=c){return this._translateDigits(a,b)}b='0000000000'+b;return this._translateDigits(a,b.substr(b.length-c))},_translateDigits:function(b,c){return(''+c).replace(/[0-9]/g,function(a){return b.options.digits[a]})},_determineShow:function(a){var b=a.options.format;var c=[];c[Y]=(b.match('y')?'?':(b.match('Y')?'!':null));c[O]=(b.match('o')?'?':(b.match('O')?'!':null));c[W]=(b.match('w')?'?':(b.match('W')?'!':null));c[D]=(b.match('d')?'?':(b.match('D')?'!':null));c[H]=(b.match('h')?'?':(b.match('H')?'!':null));c[M]=(b.match('m')?'?':(b.match('M')?'!':null));c[S]=(b.match('s')?'?':(b.match('S')?'!':null));return c},_calculatePeriods:function(c,d,e,f){c._now=f;c._now.setMilliseconds(0);var g=new Date(c._now.getTime());if(c._since){if(f.getTime()<c._since.getTime()){c._now=f=g}else{f=c._since}}else{g.setTime(c._until.getTime());if(f.getTime()>c._until.getTime()){c._now=f=g}}var h=[0,0,0,0,0,0,0];if(d[Y]||d[O]){var i=x._getDaysInMonth(f.getFullYear(),f.getMonth());var j=x._getDaysInMonth(g.getFullYear(),g.getMonth());var k=(g.getDate()==f.getDate()||(g.getDate()>=Math.min(i,j)&&f.getDate()>=Math.min(i,j)));var l=function(a){return(a.getHours()*60+a.getMinutes())*60+a.getSeconds()};var m=Math.max(0,(g.getFullYear()-f.getFullYear())*12+g.getMonth()-f.getMonth()+((g.getDate()<f.getDate()&&!k)||(k&&l(g)<l(f))?-1:0));h[Y]=(d[Y]?Math.floor(m/12):0);h[O]=(d[O]?m-h[Y]*12:0);f=new Date(f.getTime());var n=(f.getDate()==i);var o=x._getDaysInMonth(f.getFullYear()+h[Y],f.getMonth()+h[O]);if(f.getDate()>o){f.setDate(o)}f.setFullYear(f.getFullYear()+h[Y]);f.setMonth(f.getMonth()+h[O]);if(n){f.setDate(o)}}var p=Math.floor((g.getTime()-f.getTime())/1000);var q=function(a,b){h[a]=(d[a]?Math.floor(p/b):0);p-=h[a]*b};q(W,604800);q(D,86400);q(H,3600);q(M,60);q(S,1);if(p>0&&!c._since){var r=[1,12,4.3482,7,24,60,60];var s=S;var t=1;for(var u=S;u>=Y;u--){if(d[u]){if(h[s]>=t){h[s]=0;p=1}if(p>0){h[u]++;p=0;s=u;t=1}}t*=r[u]}}if(e){for(var u=Y;u<=S;u++){if(e&&h[u]){e--}else if(!e){h[u]=0}}}return h}});var w=['getTimes'];function isNotChained(a,b){if(a=='option'&&(b.length==0||(b.length==1&&typeof b[0]=='string'))){return true}return $.inArray(a,w)>-1}$.fn.countdown=function(a){var b=Array.prototype.slice.call(arguments,1);if(isNotChained(a,b)){return x['_'+a+'Plugin'].apply(x,[this[0]].concat(b))}return this.each(function(){if(typeof a=='string'){if(!x['_'+a+'Plugin']){throw'Unknown command: '+a;}x['_'+a+'Plugin'].apply(x,[this].concat(b))}else{x._attachPlugin(this,a||{})}})};var x=$.countdown=new Countdown()})(jQuery);
@@ -1,325 +0,0 @@
1
-
2
- /* === Font Styles === */
3
-
4
- @font-face {
5
- font-family: 'PTSansRegular';
6
- src: url('fonts/pt-sans/PTS55F-webfont.eot');
7
- src: url('fonts/pt-sans/PTS55F-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/pt-sans/PTS55F-webfont.woff') format('woff'), url('fonts/pt-sans/PTS55F-webfont.ttf') format('truetype'), url('fonts/pt-sans/PTS55F-webfont.svg#PTSansRegular') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
-
12
-
13
- /* === General Styles === */
14
-
15
- html,
16
- div,
17
- span,
18
- head,
19
- h1,
20
- h2,
21
- h3,
22
- h4,
23
- h5,
24
- h6,
25
- p,
26
- blockquote,
27
- a,
28
- font,
29
- img,
30
- small,
31
- strong,
32
- ol,
33
- ul,
34
- li {
35
- margin: 0;
36
- padding: 0;
37
- border: 0;
38
- outline: 0;
39
- font-size: 100%;
40
- background: transparent;
41
- }
42
-
43
- ol,
44
- ul { list-style: none }
45
-
46
- blockquote,
47
- q { quotes: none }
48
-
49
- body {
50
- font-family: PTSansRegular;
51
- margin: 0;
52
- padding: 0;
53
- border: 0;
54
- outline: 0;
55
- font-size: 100%;
56
- line-height: 1;
57
- }
58
-
59
- body { background: #aaaaaa url(bg.jpg) repeat scroll 0 0 }
60
-
61
- .container {
62
- width: 885px;
63
- margin: 0 auto;
64
- }
65
-
66
- #main {
67
- background: url(page_background.png) no-repeat scroll 0 0;
68
- margin: 0 auto;
69
- padding: 0;
70
- height: 430px;
71
- }
72
-
73
- /* === Flashes === */
74
- .flash {
75
- text-align: center;
76
- position: relative;
77
- margin: 0 auto;
78
- top: 20px;
79
- width: 300px;
80
- padding: 10px;
81
- -webkit-border-radius: 5px;
82
- -moz-border-radius: 5px;
83
- -ms-border-radius: 5px;
84
- -o-border-radius: 5px;
85
- border-radius: 5px;
86
- }
87
-
88
- .notice {
89
- background-color: #DFF0D8;
90
- border: 1px solid #D6E9C6;
91
- color: #468847;
92
- }
93
-
94
- .alert {
95
- background-color: #F2DEDE;
96
- border: 1px solid #EED3D7;
97
- color: #B94A48;
98
- }
99
-
100
- /* === Header Styles === */
101
-
102
- #header {
103
- margin: auto;
104
- margin-top: 80px;
105
- margin-bottom: 10px;
106
- height: 50px;
107
- }
108
-
109
- #logo {
110
- position: relative;
111
- float: left;
112
- padding-left: 42px;
113
- }
114
-
115
- #contact_details {
116
- float: right;
117
- color: #333333;
118
- font-size: 13px;
119
- font-style: normal;
120
- line-height: 22px;
121
- padding-right: 42px;
122
- text-align: right;
123
- }
124
-
125
- #contact_details a {
126
- color: #333333;
127
- font-size: 13px;
128
- text-decoration: none;
129
- letter-spacing: 0.5px;
130
- }
131
-
132
-
133
- /* === Content Styles === */
134
-
135
- #content { padding: 10px 44px }
136
-
137
- .text {
138
- text-align: center;
139
- margin-top: 40px;
140
- padding-bottom: 40px;
141
- border-bottom: 1px solid #262626;
142
- }
143
-
144
- .text h2 {
145
- font-size: 30px;
146
- color: #e5e5e5;
147
- font-style: normal;
148
- font-variant: normal;
149
- font-weight: lighter;
150
- letter-spacing: 2px;
151
- }
152
-
153
- .counter {
154
- background: url(counter_bg.png) no-repeat scroll center 57px;
155
- width: 797px;
156
- height: 150px;
157
- border-top: 1px solid #4f4f4f;
158
- border-bottom: 1px solid #262626;
159
- text-align: center;
160
- position: relative;
161
- }
162
-
163
- .counter h3 {
164
- font-size: 14px;
165
- color: #e5e5e5;
166
- font-style: normal;
167
- font-variant: normal;
168
- font-weight: lighter;
169
- letter-spacing: 1px;
170
- margin-top: 20px;
171
- }
172
-
173
- .details {
174
- border-top: 1px solid #4f4f4f;
175
- height: 120px;
176
- }
177
-
178
- #sliderwrap {
179
- float: left;
180
- text-align: center;
181
- width: 600px;
182
- overflow: hidden;
183
- position: relative;
184
- height: 110px;
185
- margin-left: 10px;
186
- }
187
-
188
- #slidertext h3 {
189
- font-size: 14px;
190
- font-style: normal;
191
- font-weight: lighter;
192
- color: #e5e5e5;
193
- letter-spacing: 1px;
194
- margin-bottom: 15px;
195
- }
196
-
197
- #slidertext p {
198
- font-size: 12px;
199
- font-style: normal;
200
- font-weight: normal;
201
- color: #CCCCCC;
202
- padding: 0 25px;
203
- }
204
-
205
- a.prev {
206
- float: left;
207
- margin-top: 50px;
208
- margin-left: 50px;
209
- }
210
-
211
- a.next {
212
- float: right;
213
- margin-top: 50px;
214
- margin-right: 50px;
215
- }
216
-
217
- #slidertext {
218
- margin-top: 15px;
219
- float: left;
220
- width: 600px;
221
- overflow: hidden;
222
- position: relative;
223
- }
224
-
225
- #slidertext li {
226
- overflow: hidden;
227
- position: relative;
228
- width: 600px;
229
- height: 100px;
230
- }
231
-
232
- #slidertext ul { width: 600px }
233
-
234
- .social {
235
- position: relative;
236
- text-align: center;
237
- padding-top: 10px;
238
- }
239
-
240
- .social a {
241
- width: 48px;
242
- height: 48px;
243
- margin-right: 20px;
244
- text-indent: -9999px;
245
- display: inline-block;
246
- z-index: 1000;
247
- }
248
-
249
- #slidertext ul li a.twitter { background: url(twitter.png) no-repeat scroll 0 0 }
250
-
251
- #slidertext ul li a.google { background: url(google.png) no-repeat scroll 0 0 }
252
-
253
- #slidertext ul li a.yahoo { background: url(yahoo.png) no-repeat scroll 0 0 }
254
-
255
- #slidertext ul li a.facebook { background: url(facebook.png) no-repeat scroll 0 0 }
256
-
257
- #slidertext ul li a.stumbleupon { background: url(stumbleupon.png) no-repeat scroll 0 0 }
258
-
259
- #slidertext ul li a.deviantart { background: url(deviantart.png) no-repeat scroll 0 0 }
260
-
261
- #slidertext ul li a.skype { background: url(skype.png) no-repeat scroll 0 0 }
262
-
263
- #slidertext ul li a.youtube { background: url(youtube.png) no-repeat scroll 0 0 }
264
-
265
- #slidertext ul li a.google { background: url(google.png) no-repeat scroll 0 0 }
266
-
267
- #slidertext ul li a.googleplus { background: url(googleplus.png) no-repeat scroll 0 0 }
268
-
269
- #slidertext ul li a.flickr { background: url(flickr.png) no-repeat scroll 0 0 }
270
-
271
- #slidertext ul li a.identica { background: url(identica.png) no-repeat scroll 0 0 }
272
-
273
- #subscribeform {
274
- margin-top: 20px;
275
- margin-left: 135px;
276
- }
277
-
278
- input#email {
279
- background: url(mail-bg.png) no-repeat scroll 0 0;
280
- width: 217px;
281
- height: 42px;
282
- border: 0 none;
283
- padding: 0 0 0 20px;
284
- color: #868686;
285
- float: left;
286
- margin-right: 10px;
287
- line-height: 40px;
288
- }
289
-
290
- input#submit {
291
- background: url(button.png) no-repeat scroll 0 0;
292
- width: 92px;
293
- height: 43px;
294
- border: 0 none;
295
- cursor: pointer;
296
- color: #fff;
297
- float: left;
298
- font-weight: bold;
299
- text-shadow: 1px 1px 0px #393939;
300
- }
301
-
302
- .copyright {
303
- text-align: center;
304
- margin-top: 10px;
305
- font-size: 12px;
306
- margin-bottom: 50px;
307
- }
308
-
309
-
310
- /* === jQuery Countdown Styles === */
311
-
312
- #defaultCountdown {
313
- width: 757px;
314
- height: 60px;
315
- }
316
-
317
- .hasCountdown {
318
- text-align: center;
319
- margin-left: 20px;
320
- margin-right: 20px;
321
- color: #E5E5E5;
322
- margin-top: 45px;
323
- font-size: 26px;
324
- font-weight: normal;
325
- }
@@ -1,326 +0,0 @@
1
-
2
- /* === Font Styles === */
3
-
4
- @font-face {
5
- font-family: 'IranianSans';
6
- src: url('/assets/under_construction/site-under-construction-fa/IranianSans.eot');
7
- src: url('/assets/under_construction/site-under-construction-fa/IranianSans.eot?#iefix') format('embedded-opentype'), url('/assets/under_construction/site-under-construction-fa/IranianSans.woff') format('woff'), url('/assets/under_construction/site-under-construction-fa/IranianSans.ttf') format('truetype'), url('/assets/under_construction/site-under-construction-fa/IranianSans.svg#IranianSans') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
-
12
-
13
- /* === General Styles === */
14
-
15
- html,
16
- div,
17
- span,
18
- head,
19
- h1,
20
- h2,
21
- h3,
22
- h4,
23
- h5,
24
- h6,
25
- p,
26
- blockquote,
27
- a,
28
- font,
29
- img,
30
- small,
31
- strong,
32
- ol,
33
- ul,
34
- li {
35
- margin: 0;
36
- padding: 0;
37
- border: 0;
38
- outline: 0;
39
- font-size: 100%;
40
- background: transparent;
41
- }
42
-
43
- ol,
44
- ul { list-style: none }
45
-
46
- blockquote,
47
- q { quotes: none }
48
-
49
- body {
50
- font-family: IranianSans;
51
- margin: 0;
52
- padding: 0;
53
- border: 0;
54
- outline: 0;
55
- font-size: 100%;
56
- line-height: 1;
57
- }
58
-
59
- body { background: #aaaaaa url(bg.jpg) repeat scroll 0 0 }
60
-
61
- .container {
62
- width: 885px;
63
- margin: 0 auto;
64
- }
65
-
66
- #main {
67
- background: url(page_background.png) no-repeat scroll 0 0;
68
- margin: 0 auto;
69
- padding: 0;
70
- height: 430px;
71
- }
72
-
73
- /* === Flashes === */
74
- .flash {
75
- text-align: center;
76
- position: relative;
77
- margin: 0 auto;
78
- top: 20px;
79
- width: 300px;
80
- padding: 10px;
81
- -webkit-border-radius: 5px;
82
- -moz-border-radius: 5px;
83
- -ms-border-radius: 5px;
84
- -o-border-radius: 5px;
85
- border-radius: 5px;
86
- }
87
-
88
- .notice {
89
- background-color: #DFF0D8;
90
- border: 1px solid #D6E9C6;
91
- color: #468847;
92
- }
93
-
94
- .alert {
95
- background-color: #F2DEDE;
96
- border: 1px solid #EED3D7;
97
- color: #B94A48;
98
- }
99
-
100
- /* === Header Styles === */
101
-
102
- #header {
103
- margin: auto;
104
- margin-top: 80px;
105
- margin-bottom: 10px;
106
- height: 50px;
107
- }
108
-
109
- #logo {
110
- position: relative;
111
- float: left;
112
- padding-left: 42px;
113
- }
114
-
115
- #contact_details {
116
- float: right;
117
- color: #333333;
118
- font-size: 13px;
119
- font-style: normal;
120
- line-height: 22px;
121
- padding-right: 42px;
122
- text-align: right;
123
- }
124
-
125
- #contact_details a {
126
- color: #333333;
127
- font-size: 13px;
128
- text-decoration: none;
129
- letter-spacing: 0.5px;
130
- }
131
-
132
-
133
- /* === Content Styles === */
134
-
135
- #content { padding: 10px 44px }
136
-
137
- .text {
138
- text-align: center;
139
- margin-top: 40px;
140
- padding-bottom: 40px;
141
- border-bottom: 1px solid #262626;
142
- }
143
-
144
- .text h2 {
145
- font-size: 30px;
146
- color: #e5e5e5;
147
- font-style: normal;
148
- font-variant: normal;
149
- font-weight: lighter;
150
- letter-spacing: 2px;
151
- }
152
-
153
- .counter {
154
- background: url(counter_bg.png) no-repeat scroll center 57px;
155
- width: 797px;
156
- height: 150px;
157
- border-top: 1px solid #4f4f4f;
158
- border-bottom: 1px solid #262626;
159
- text-align: center;
160
- position: relative;
161
- }
162
-
163
- .counter h3 {
164
- font-size: 14px;
165
- color: #e5e5e5;
166
- font-style: normal;
167
- font-variant: normal;
168
- font-weight: lighter;
169
- letter-spacing: 1px;
170
- margin-top: 20px;
171
- }
172
-
173
- .details {
174
- border-top: 1px solid #4f4f4f;
175
- height: 120px;
176
- }
177
-
178
- #sliderwrap {
179
- float: left;
180
- text-align: center;
181
- width: 600px;
182
- overflow: hidden;
183
- position: relative;
184
- height: 110px;
185
- margin-right: 10px;
186
- }
187
-
188
- #slidertext h3 {
189
- font-size: 14px;
190
- font-style: normal;
191
- font-weight: lighter;
192
- color: #e5e5e5;
193
- letter-spacing: 1px;
194
- margin-bottom: 15px;
195
- }
196
-
197
- #slidertext p {
198
- font-size: 12px;
199
- font-style: normal;
200
- font-weight: normal;
201
- color: #CCCCCC;
202
- padding: 0 25px;
203
- line-height: 2em;
204
- }
205
-
206
- a.prev {
207
- float: left;
208
- margin-top: 50px;
209
- margin-left: 50px;
210
- }
211
-
212
- a.next {
213
- float: right;
214
- margin-top: 50px;
215
- margin-right: 50px;
216
- }
217
-
218
- #slidertext {
219
- margin-top: 15px;
220
- float: left;
221
- width: 600px;
222
- overflow: hidden;
223
- position: relative;
224
- }
225
-
226
- #slidertext li {
227
- overflow: hidden;
228
- position: relative;
229
- width: 600px;
230
- height: 100px;
231
- }
232
-
233
- #slidertext ul { width: 600px }
234
-
235
- .social {
236
- position: relative;
237
- text-align: center;
238
- padding-top: 10px;
239
- }
240
-
241
- .social a {
242
- width: 48px;
243
- height: 48px;
244
- margin-right: 20px;
245
- text-indent: -9999px;
246
- display: inline-block;
247
- z-index: 1000;
248
- }
249
-
250
- #slidertext ul li a.twitter { background: url(twitter.png) no-repeat scroll 0 0 }
251
-
252
- #slidertext ul li a.google { background: url(google.png) no-repeat scroll 0 0 }
253
-
254
- #slidertext ul li a.yahoo { background: url(yahoo.png) no-repeat scroll 0 0 }
255
-
256
- #slidertext ul li a.facebook { background: url(facebook.png) no-repeat scroll 0 0 }
257
-
258
- #slidertext ul li a.stumbleupon { background: url(stumbleupon.png) no-repeat scroll 0 0 }
259
-
260
- #slidertext ul li a.deviantart { background: url(deviantart.png) no-repeat scroll 0 0 }
261
-
262
- #slidertext ul li a.skype { background: url(skype.png) no-repeat scroll 0 0 }
263
-
264
- #slidertext ul li a.youtube { background: url(youtube.png) no-repeat scroll 0 0 }
265
-
266
- #slidertext ul li a.google { background: url(google.png) no-repeat scroll 0 0 }
267
-
268
- #slidertext ul li a.googleplus { background: url(googleplus.png) no-repeat scroll 0 0 }
269
-
270
- #slidertext ul li a.flickr { background: url(flickr.png) no-repeat scroll 0 0 }
271
-
272
- #slidertext ul li a.identica { background: url(identica.png) no-repeat scroll 0 0 }
273
-
274
- #subscribeform {
275
- margin-top: 20px;
276
- margin-left: 135px;
277
- }
278
-
279
- input#email {
280
- background: url(mail-bg.png) no-repeat scroll 0 0;
281
- width: 217px;
282
- height: 42px;
283
- border: 0 none;
284
- padding: 0 20px 0 0;
285
- color: #868686;
286
- float: left;
287
- margin-right: 10px;
288
- line-height: 40px;
289
- }
290
-
291
- input#submit {
292
- background: url(button.png) no-repeat scroll 0 0;
293
- width: 92px;
294
- height: 40px;
295
- border: 0 none;
296
- cursor: pointer;
297
- color: #fff;
298
- float: left;
299
- font-weight: bold;
300
- text-shadow: 1px 1px 0px #393939;
301
- }
302
-
303
- .copyright {
304
- text-align: center;
305
- margin-top: 10px;
306
- font-size: 12px;
307
- margin-bottom: 50px;
308
- }
309
-
310
-
311
- /* === jQuery Countdown Styles === */
312
-
313
- #defaultCountdown {
314
- width: 757px;
315
- height: 60px;
316
- }
317
-
318
- .hasCountdown {
319
- text-align: center;
320
- margin-left: 20px;
321
- margin-right: 20px;
322
- color: #E5E5E5;
323
- margin-top: 45px;
324
- font-size: 26px;
325
- font-weight: normal;
326
- }