noodall-ui 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,2 +1,3 @@
1
1
  rvm: 1.9.2
2
2
  env: DB=mongodb
3
+ script: "bundle exec cucumber -t ~@javascript"
data/Gemfile CHANGED
@@ -5,7 +5,6 @@ gemspec
5
5
 
6
6
  # Required for running as demo rails app
7
7
  gem 'rails', '~> 3.0.1'
8
- gem 'rmagick', :require => 'RMagick'
9
8
  gem 'dragonfly', '~> 0.9.4'
10
9
 
11
10
  # Bundle gems for the local environment. Make sure to
@@ -23,6 +22,11 @@ group :development, :test do
23
22
  gem 'factory_girl_rails'
24
23
  gem "faker", "~> 0.3.1"
25
24
  gem "bson_ext"
26
- gem "ruby-debug19"
25
+
26
+ unless ENV["CI"]
27
+ platform :mri_19 do
28
+ gem "ruby-debug19"
29
+ end
30
+ end
27
31
  #gem "SystemTimer", ">= 1.2.0" # Ruby-1.8.7 only
28
32
  end
@@ -67,11 +67,15 @@ module Noodall
67
67
 
68
68
  def pending
69
69
  @asset = Asset.first(:tags => nil, :offset => params[:offset], :order => "created_at DESC")
70
-
71
- respond_to do |format|
72
- format.html { render :form }
73
- format.js { render :form }
74
- format.xml { render :xml => @asset }
70
+ unless @asset.blank?
71
+ respond_to do |format|
72
+ format.html { render :form }
73
+ format.js { render :form }
74
+ format.xml { render :xml => @asset }
75
+ end
76
+ else
77
+ flash[:notice] = "No assets pending"
78
+ redirect_to noodall_admin_assets_path
75
79
  end
76
80
  end
77
81
 
@@ -0,0 +1,10 @@
1
+ module Noodall
2
+ module Admin
3
+ class KeywordsController < BaseController
4
+ def index
5
+ keywords = Noodall::Node.tag_cloud.collect(&:name).uniq.sort
6
+ render :json => keywords
7
+ end
8
+ end
9
+ end
10
+ end
@@ -101,7 +101,7 @@ module Noodall
101
101
  enforce_publish_permission(@node) if @node.published?
102
102
 
103
103
  # Set user stamp
104
- @node.updater = current_user
104
+ @node.updater_id = current_user.id
105
105
 
106
106
  if params[:draft].blank?
107
107
  if @node.update_attributes(params[:node])
@@ -2,8 +2,18 @@ module Noodall
2
2
  module Admin
3
3
  module NodesHelper
4
4
  include Noodall::Permalinks
5
+ include Noodall::NodesHelper
5
6
  include AssetsHelper
6
7
 
8
+ def admin_breadcrumb
9
+ breadcrumbs = breadcrumb_for(
10
+ @parent,
11
+ :node_path => :noodall_admin_node_nodes_path,
12
+ :home_link => content_tag('li', link_to('Contents', noodall_admin_nodes_path))
13
+ )
14
+ content_tag('ul', breadcrumbs.join.html_safe, :class => 'breadcrumb') if breadcrumbs
15
+ end
16
+
7
17
  def sorted_node_tree(tree)
8
18
  nodes = []
9
19
  tree.each do |node|
@@ -37,6 +47,35 @@ module Noodall
37
47
  def can_change_templates?(node)
38
48
  can_publish?(node) and !node.is_a?(Home) and (node.parent.nil? ? Node.template_names : node.parent.class.template_names).length > 1
39
49
  end
50
+
51
+ def updater_name(node)
52
+ begin
53
+ node.updater.full_name if node.updater
54
+ rescue
55
+ logger.warn 'Unable to resolve updater name: ' + $!.message
56
+ 'Unknown'
57
+ end
58
+ end
59
+
60
+ def admin_nodes_column_headings
61
+ html = Array.new
62
+ html << sortable_table_header(:name => "Name", :sort => "admin_title", :class => 'sort')
63
+ html << sortable_table_header(:name => "Type", :sort => "_type", :class => 'sort')
64
+
65
+ # Change 'position' header if we are sorting by position
66
+ if(params[:sort] && params[:sort] != "position" || params[:order] == "descending")
67
+ html << sortable_table_header(:name => "Position", :sort => "position", :class => 'sort')
68
+ else
69
+ html << sortable_table_header(:name => "Position", :sort => "position", :class => 'sort', :colspan => 2)
70
+ end
71
+
72
+ html << content_tag('th', 'Sub Section', :width => "120")
73
+ html << sortable_table_header(:name => "Updated", :sort => "updated_at", :class => 'sort')
74
+ %w{Show Publish Delete}.each{|text| html << content_tag('th', text, :width => '45')}
75
+ html.join("\n").html_safe
76
+ end
77
+
78
+
40
79
  end
41
80
  end
42
81
  end
@@ -7,11 +7,16 @@ module Noodall
7
7
  end
8
8
 
9
9
  def breadcrumb
10
- return if @node.nil?
11
- links = @node.ancestors.inject([]) do |l, n|
12
- l << content_tag( :li, link_to(h(n.title), node_path(n)))
10
+ breadcrumb_for(@node)
11
+ end
12
+
13
+ def breadcrumb_for(node, args = {})
14
+ return if node.nil?
15
+ path_method = args[:node_path] || :node_path
16
+ links = node.ancestors.inject([args[:home_link]]) do |l, n|
17
+ l << content_tag( :li, link_to( n.title , send(path_method, n)))
13
18
  end
14
- links << content_tag( :li, h(@node.title) )
19
+ links << content_tag( :li, node.title )
15
20
  end
16
21
 
17
22
  # Site map related helpers
@@ -13,7 +13,6 @@
13
13
 
14
14
  <!-- END META TAGS -->
15
15
  <title><%= admin_page_title %> | <%= Noodall::UI.app_name %> <%= Noodall::UI.system_name %></title>
16
-
17
16
  <%= stylesheet_link_tag 'admin/reset', 'admin/layout', 'admin/skin', 'admin/typography', 'admin/forms', 'admin/fancybox', :media=>'screen,tv,projection' %>
18
17
  <%= stylesheet_link_tag 'admin/print', :media=>'print' %>
19
18
  <%= stylesheet_link_tag 'admin/handheld', :media=>'handheld' %>
@@ -28,7 +27,7 @@
28
27
  google.load("jquery", "1.4.2");
29
28
  google.load("jqueryui", "1.8");
30
29
  </script>
31
- <%= javascript_include_tag 'rails', 'cufon-yui', 'admin/gotham.font.js', 'fancybox', 'ajaxify', 'admin/application' %>
30
+ <%= javascript_include_tag 'rails', 'fancybox', 'ajaxify', 'admin/application' %>
32
31
  <%= csrf_meta_tag %>
33
32
 
34
33
  <%= yield :header %>
@@ -61,6 +60,5 @@
61
60
 
62
61
  </div>
63
62
  <!-- end screen -->
64
- <!--[if IE]><script type="text/javascript"> Cufon.now(); </script><![endif]-->
65
63
  </body>
66
64
  </html>
@@ -1,3 +1,5 @@
1
+ <%= admin_breadcrumb %>
2
+
1
3
  <h1><%= @parent.nil? ? 'Content Tree' : "Content under '#{@parent.title}'" %></h1>
2
4
 
3
5
  <ul class="choices">
@@ -38,21 +40,7 @@
38
40
  <table border="0" cellspacing="0" cellpadding="0" class="content">
39
41
  <thead>
40
42
  <tr>
41
- <%= sortable_table_header :name => "Title", :sort => "admin_title", :class => 'sort' %>
42
- <%= sortable_table_header :name => "Type", :sort => "_type", :class => 'sort' %>
43
-
44
- <%# Change 'position' header if we are sorting by position %>
45
- <% if(params[:sort] && params[:sort] != "position" || params[:order] == "descending") %>
46
- <%= sortable_table_header :name => "Position", :sort => "position", :class => 'sort' %>
47
- <% else %>
48
- <%= sortable_table_header :name => "Position", :sort => "position", :class => 'sort', :colspan => 2 %>
49
- <% end %>
50
-
51
- <th width="120">Sub Section</th>
52
- <%= sortable_table_header :name => "Updated", :sort => "updated_at", :class => 'sort' %>
53
- <th width="45">Show</th>
54
- <th width="45">Published</th>
55
- <th width="45">Delete</th>
43
+ <%= admin_nodes_column_headings %>
56
44
  </tr>
57
45
  </thead>
58
46
  <tbody>
@@ -77,7 +65,7 @@
77
65
  <%= link_to('Add', new_noodall_admin_node_node_path(node), :title => "Add content under #{h(node.title)}", :class => 'child') if node.class.template_names.any? %>
78
66
  <% end -%>
79
67
  </td>
80
- <td class="date" title="by <%= node.updater.full_name if node.updater %>"><%=h node.updated_at.to_formatted_s(:short_ordinal) %></td>
68
+ <td class="date" title="by <%= updater_name(node) %>"><%=h node.updated_at.to_formatted_s(:short_ordinal) %></td>
81
69
  <td class=""><%= link_to 'Show', node_path(node), :class => 'show', :title => 'View this content' if node.published? %></td>
82
70
  <td class="date" title="<%= node.published? ? 'Published ':'Hidden' %><%= node.published_at.to_formatted_s(:short_ordinal) unless node.published_at.nil? %><%= " - #{node.published_to.to_formatted_s(:short_ordinal)}" unless node.published_to.nil? %>"><%= (node.published? ? '<span class="check">Published</span>' : '<span class="hidden">Hidden</span>').html_safe %></td>
83
71
  <td><%= link_to 'Delete', noodall_admin_node_path(node), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this content' unless node.in_site_map? %></td>
@@ -86,21 +74,7 @@
86
74
  </tbody>
87
75
  <tfoot>
88
76
  <tr>
89
- <%= sortable_table_header :name => "Title", :sort => "admin_title", :class => 'sort' %>
90
- <%= sortable_table_header :name => "Type", :sort => "_type", :class => 'sort' %>
91
-
92
- <%# Change 'position' header if we are sorting by position %>
93
- <% if(params[:sort] && params[:sort] != "position" || params[:order] == "descending") %>
94
- <%= sortable_table_header :name => "Position", :sort => "position", :class => 'sort' %>
95
- <% else %>
96
- <%= sortable_table_header :name => "Position", :sort => "position", :class => 'sort', :colspan => 2 %>
97
- <% end %>
98
-
99
- <th width="120">Sub Section</th>
100
- <%= sortable_table_header :name => "Updated", :sort => "updated_at", :class => 'sort' %>
101
- <th width="45">Show</th>
102
- <th width="45">Published</th>
103
- <th width="45">Delete</th>
77
+ <%= admin_nodes_column_headings %>
104
78
  </tr>
105
79
  </tfoot>
106
80
  </table>
@@ -31,17 +31,17 @@
31
31
  <p>
32
32
  <span class="tooltip" title="Enter a comma seperated list of keywords to describe this content.&quot;website,launch,event&quot;">&nbsp;</span>
33
33
  <%= f.label :keywords, "Keywords" %><br/>
34
- <span class="input-wrap"><%= f.text_field :keywords %></span>
34
+ <span class="input-wrap"><%= f.text_field :keywords, :class => "keywords-completer" %></span>
35
35
  </p>
36
36
 
37
37
  </div>
38
38
 
39
39
  <div class="fixed-form">
40
40
  <div id="buttons">
41
- <%= f.submit 'Publish', :class => 'publish', :name => 'node[publish]' if can_publish?(@node) %>
42
- <%= f.submit 'Draft', :name => "draft", :class => 'draft' %>
43
- <%= link_to 'Versions', noodall_admin_node_versions_path(@node), :id => "versions-button" %>
44
- <%= f.submit 'Hide', :name => 'node[hide]', :id => 'hide' %>
41
+ <%= f.submit 'Publish', :title => "Save and put live", :class => 'publish', :id => "publish", :name => 'node[publish]' if can_publish?(@node) %>
42
+ <%= f.submit 'Draft', :title => "Save this to edit later", :name => "draft", :class => 'draft' %>
43
+ <%= link_to 'Versions', noodall_admin_node_versions_path(@node), :title => "View document history", :id => "versions-button" %>
44
+ <%= f.submit 'Hide', :title => "Temporarily hide this page", :name => 'node[hide]', :id => 'hide' %>
45
45
  <%= link_to 'Cancel', @node.root? ? noodall_admin_nodes_path : noodall_admin_node_nodes_path(@node.parent), :class => 'cancel' %>
46
46
  </div>
47
47
 
@@ -52,7 +52,7 @@
52
52
  <legend class="advanced">Advanced</legend>
53
53
  <div id="advanced">
54
54
 
55
- <div class="published-section">
55
+ <div class="published-section advanced-block">
56
56
  <p class="published">
57
57
  <%= f.label :published_at, "Publish at" %><br/>
58
58
  <span class="input-wrap"><%= f.datetime_select :published_at, :include_blank => true %></span>
@@ -66,12 +66,20 @@
66
66
  %>
67
67
  <span class="input-wrap"><%= f.datetime_select :published_to, :include_blank => true %></span>
68
68
  </p>
69
+
70
+ <div class="version_message_section advanced-block">
71
+ <p>
72
+ <%= f.label :version_message %><br />
73
+ <span class="input-wrap"><%= f.text_field :version_message -%></span>
74
+ </p>
75
+ </div>
76
+
69
77
  </div>
70
78
 
71
79
  <% if current_user.admin? -%>
72
- <div class="permissions-section">
80
+ <div class="permissions-section advanced-block">
73
81
  <fieldset>
74
- <span class="tooltip" title="User Permissions">&nbsp;</span>
82
+ <span class="tooltip" title="If you have created different permission groups for users, you can assign different actions for these users based on their roles. Fill out below to determine which roles can perform certain tasks.">&nbsp;</span>
75
83
  <legend>User Permission</legend>
76
84
  <span class="input-wrap">
77
85
  <table>
@@ -108,7 +116,7 @@
108
116
 
109
117
 
110
118
 
111
- <div class="position-section">
119
+ <div class="position-section advanced-block">
112
120
  <% unless @node.in_site_map? %>
113
121
  <p>
114
122
  <span class="node-mover">Parent Content</span>
@@ -119,10 +127,10 @@
119
127
  <%= f.hidden_field :parent, :value => @node.parent_id %>
120
128
  <%= hidden_field_tag :parent_types, @node.class.parent_classes.join(','), :disabled => true %>
121
129
  </p>
122
-
130
+
123
131
  <!-- PAGE URL -->
124
132
  <p>
125
- <span class="tooltip" title="Enter a custom url or leave it as the default value shown."> &nbsp; </span>
133
+ <span class="tooltip" title="You can leave as default value shown or if you want to create a custom URL for this page do not include a forward slash at the beginning of the URL."> &nbsp; </span>
126
134
  <%= f.label :permalink, 'Page Url' %><br/>
127
135
  <span class="input-wrap"><%= f.text_field :permalink %></span>
128
136
  </p>
@@ -134,6 +142,13 @@
134
142
  <span class="input-wrap"><%= f.text_field :browser_title %></span>
135
143
  </p>
136
144
  </div>
145
+
146
+ <div class="version_message_section">
147
+ <p>
148
+ <%= f.label :version_message %><br />
149
+ <span class="input-wrap"><%= f.text_field :version_message -%></span>
150
+ </p>
151
+ </div>
137
152
  </div>
138
153
  </fieldset>
139
154
  </div>
@@ -1,6 +1,7 @@
1
1
  <table id="versions-list" class="content">
2
2
  <thead>
3
3
  <th> Version </th>
4
+ <th> Message </th>
4
5
  <th> Date </th>
5
6
  <th colspan="2"> Actions </th>
6
7
  </thead>
@@ -8,9 +9,10 @@
8
9
  <% for version in @versions %>
9
10
  <tr class="<%= "active" if version.pos == @node.version_number %>">
10
11
  <td> Version <%= version.pos %> </td>
12
+ <td> <%= version.message %> </td>
11
13
  <td> <%= l version.date %> </td>
12
- <td> <%= link_to "View", noodall_version_path(@node, version) %> </td>
13
- <td> <%= link_to "Use", noodall_admin_node_path(@node, :version_number => version.pos) %> </td>
14
+ <td> <%= link_to "View", noodall_version_path(@node, version), :title => "View this version" %> </td>
15
+ <td> <%= link_to "Use", noodall_admin_node_path(@node, :version_number => version.pos), :title => "Use this version of content" %> </td>
14
16
  </tr>
15
17
  <% end %>
16
18
  </tbody>
@@ -53,7 +53,7 @@ maximum-scale = 1.0 retains dimensions instead of zooming in if page width < dev
53
53
  google.load("swfobject", "2.2");
54
54
  </script>
55
55
 
56
- <%= javascript_include_tag 'rails', 'cufon-yui', 'fancybox', 'carousel.lite', 'application' %>
56
+ <%= javascript_include_tag 'rails', 'fancybox', 'carousel.lite', 'application' %>
57
57
  <%= csrf_meta_tag %>
58
58
 
59
59
  <!-- so:JavaScripts -->
@@ -117,7 +117,6 @@ maximum-scale = 1.0 retains dimensions instead of zooming in if page width < dev
117
117
  </div>
118
118
 
119
119
  </div>
120
- <!--[if IE]><script type="text/javascript"> Cufon.now(); </script><![endif]-->
121
120
  <!-- Last Updated: <%#= GlobalUpdateTime::Stamp.read %> -->
122
121
 
123
122
  </body>
@@ -27,3 +27,8 @@ In order to allow easy access to documents whilst editing a website editor will
27
27
  And I click on the small icon
28
28
  Then the "Image" asset should appear in the content editor
29
29
 
30
+ Scenario: Handle no assets when visiting assets pending
31
+ Given there are no assets
32
+ When I visit the admin assets pending
33
+ Then I should be redirected to the admin assets page
34
+ And I should see the message "No assets pending"
@@ -12,6 +12,15 @@ Feature: Manage Content Tree
12
12
  When I click on a child
13
13
  Then I should see a list of the child's children
14
14
 
15
+ Scenario: content Breadcrumb
16
+ Given I am on the content admin page
17
+ Then I should not see a breadcrumb
18
+ When I click on a root
19
+ Then I should see a breadcrumb title of page
20
+ When I click on a child
21
+ Then I should see a breadcrumb title of page
22
+ And I should see a breadcrumb link to parent
23
+
15
24
  Scenario: Create Root Content
16
25
  Given I am on the content admin page
17
26
  Then I should be able to create a new root
@@ -70,3 +70,20 @@ Then /^the "([^"]*)" asset should appear in the content editor$/ do |asset_type|
70
70
  page.should have_css("#tinymce img[src^='/media/']")
71
71
  end
72
72
  end
73
+
74
+ Given /^there are no assets$/ do
75
+ Asset.count.should == 0
76
+ end
77
+
78
+ When /^I visit the admin assets pending$/ do
79
+ visit '/admin/assets/pending'
80
+ end
81
+
82
+ Then /^I should be redirected to the admin assets page$/ do
83
+ URI.parse(current_url).path.should == noodall_admin_assets_path
84
+ end
85
+
86
+ Then /^I should see the message "(.*)"$/ do |message|
87
+ page.should have_content(message)
88
+ end
89
+
@@ -125,3 +125,23 @@ Then /^I should see a list of the roots$/ do
125
125
  page.should have_content(root.title)
126
126
  end
127
127
  end
128
+
129
+ Then /^I should not see a breadcrumb$/ do
130
+ page.should_not have_css('.breadcrumb')
131
+ end
132
+
133
+ Then /^I should see a breadcrumb title of page$/ do
134
+ page.should have_css('.breadcrumb')
135
+ if @_child
136
+ find('.breadcrumb').should have_content(@_child.title)
137
+ find('.breadcrumb').find('a').should_not have_content(@_child.title)
138
+ else
139
+ find('.breadcrumb').should have_content(@_page.title)
140
+ find('.breadcrumb').should_not have_css('a')
141
+ end
142
+ end
143
+
144
+ Then /^I should see a breadcrumb link to parent$/ do
145
+ find('.breadcrumb').find('a').should have_content(@_page.title)
146
+ end
147
+
@@ -16,8 +16,8 @@ Spork.prefork do
16
16
  require 'cucumber/rails/world'
17
17
  require 'cucumber/web/tableish'
18
18
  require 'cucumber/rspec/doubles'
19
-
20
- require 'ruby-debug'
19
+
20
+ require 'ruby-debug' unless ENV["CI"]
21
21
 
22
22
  require 'capybara/rails'
23
23
  require 'capybara/cucumber'
@@ -38,6 +38,7 @@ module Noodall
38
38
  match 'components/form/:type' => 'components#form'
39
39
 
40
40
  resources :groups
41
+ resources :keywords
41
42
  end
42
43
 
43
44
  get "v/:node_id/:id" => "noodall/nodes#version", :as => :noodall_version
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.4.4"
3
+ VERSION = "0.4.5"
4
4
  end
5
5
  end
@@ -14,16 +14,6 @@ $.extend($.ui.autocomplete, {
14
14
  }
15
15
  });
16
16
 
17
- Cufon.replace('#content h1', {
18
- hover: 'true',
19
- fontFamily: 'Gotham Book'
20
- });
21
-
22
- Cufon.replace('#header h1', {
23
- hover: 'true',
24
- fontFamily: 'Gotham Bold'
25
- });
26
-
27
17
  function setup_tooltips() {
28
18
  // tooltip for question mark icons
29
19
  var version = parseInt($.browser.version.substr(0, 1));
@@ -1,6 +1,6 @@
1
- function groupsAutocomplete() {
2
- $.get('/admin/groups.json', function(data) {
3
- $("input.groups-completer").autocomplete({
1
+ function populateFormFieldAutocomplete(data_source, target_field) {
2
+ $.get(data_source, function(data) {
3
+ $(target_field).autocomplete({
4
4
  minLength: 0,
5
5
  source: function(request, response) {
6
6
  // delegate back to autocomplete, but extract the last term
@@ -23,8 +23,23 @@ function groupsAutocomplete() {
23
23
  }
24
24
  });
25
25
  });
26
- }
26
+ };
27
+
28
+ function formFieldAutocomplete(data_source, target_field) {
29
+ if ($(target_field)) {
30
+ populateFormFieldAutocomplete(data_source, target_field);
31
+ };
32
+ };
33
+
34
+ function groupsAutocomplete() {
35
+ formFieldAutocomplete('/admin/groups.json', "input.groups-completer");
36
+ };
37
+
38
+ function keywordsAutocomplete() {
39
+ formFieldAutocomplete('/admin/keywords.json', "input.keywords-completer");
40
+ };
27
41
 
28
42
  $(function() {
29
43
  groupsAutocomplete();
44
+ keywordsAutocomplete();
30
45
  });
@@ -1,25 +1,20 @@
1
1
  // APPLICATION.JS
2
2
  // In jQuery if you dont mind.
3
3
 
4
-
5
- // Cufon
6
- Cufon.replace( "", {hover: 'true',fontFamily: 'Helvetica Neue LT Std'});
7
-
8
-
9
4
  $(document).ready(function () {
10
-
5
+
11
6
  // Gallery
12
- if($("ul.gallery li").length > 3) {
7
+ if($("ul.gallery li").length > 3) {
13
8
  $("#gallery").prepend("<a class='carousel-back'>Backward</a>");
14
9
  $("#gallery").append("<a class='carousel-forward'>Forward</a>");
15
-
10
+
16
11
  $(".image-gallery").jCarouselLite({
17
12
  visible: 3,
18
13
  btnNext: ".carousel-forward",
19
14
  btnPrev: ".carousel-back"
20
15
  });
21
16
  };
22
-
17
+
23
18
  // Use fancy box on all images that link to an image
24
19
  $("a[href$=jpg], a[href$=png], a[href$=gif]").fancybox({
25
20
  'zoomOpacity' : true,
@@ -29,9 +24,9 @@ $(document).ready(function () {
29
24
  'overlayOpacity' : 0.8,
30
25
  'overlayColor' : '#000'
31
26
  });
32
-
27
+
33
28
  // External links open in a new tab/window
34
29
  $("a[href^=http]").attr('target', '_blank');
35
-
36
30
 
37
- }); // close document.ready
31
+
32
+ }); // close document.ready
@@ -72,10 +72,29 @@ fieldset table th {
72
72
  clear:both;
73
73
  }
74
74
 
75
- fieldset span.tooltip {
76
- top:-30px;
75
+
76
+
77
+
78
+
79
+ #content form .fixed-form div.permissions-section,
80
+ #content form .fixed-form div.position-section p {
81
+ position: relative !important;
82
+ display: block !important;
83
+ }
84
+
85
+ #content form .fixed-form div.permissions-section fieldset{
86
+ position:static !important;
77
87
  }
78
88
 
89
+ #content form .fixed-form span.tooltip {
90
+ top:-4px !important;
91
+ right: 0px !important;
92
+ display: block !important;
93
+ position: absolute !important;
94
+ left: auto !important;
95
+ }
96
+
97
+
79
98
  #form-fields fieldset p span.tooltip {
80
99
  left:116px;
81
100
  top:-4px;
@@ -303,7 +322,7 @@ p.remove span{
303
322
  width:160px;
304
323
  height:56px;
305
324
  cursor:pointer;
306
- border:none;
325
+ border:none;
307
326
  position:absolute;
308
327
  top:20px;
309
328
  right:20px;
@@ -552,4 +571,4 @@ fieldset.template label {
552
571
 
553
572
  .jqTransformHidden {
554
573
  display: none;
555
- }
574
+ }
@@ -12,7 +12,8 @@ body {
12
12
 
13
13
  body.show #content,
14
14
  body.edit #content,
15
- body.new #content {
15
+ body.new #content,
16
+ body.create #content {
16
17
  margin:20px;
17
18
  padding:0 0 130px;
18
19
  }
@@ -736,20 +737,17 @@ li.multi-file span.file-title {
736
737
  li.multi-file .file-detail img {clear:both;float:left;}
737
738
 
738
739
  /*Advanced Sections*/
739
- .published-section {
740
+ .published-section,
741
+ .position-section,
742
+ .permissions-section,
743
+ .version_message_section {
740
744
  width: 356px;
741
745
  float:left;
742
746
  }
743
747
 
744
- .position-section {
745
- width: 356px;
746
- float:left;
747
- margin: 0 0 0 10px;
748
- }
749
-
750
- .permissions-section {
751
- width: 356px;
752
- float:left;
748
+ .position-section,
749
+ .permissions-section,
750
+ .version_message_section {
753
751
  margin: 0 0 0 10px;
754
752
  }
755
753
 
@@ -771,6 +769,14 @@ li.multi-file .file-detail img {clear:both;float:left;}
771
769
  padding: 0 !important;
772
770
  }
773
771
 
772
+ .version_message_section{
773
+ position: relative;
774
+ left: -10px;
775
+ }
776
+
777
+ .version_message_section p {
778
+ min-width: 356px !important;
779
+ }
774
780
 
775
781
  /* -------------- Admin filtering -------------- */
776
782
  #form-filter {
@@ -817,7 +823,8 @@ li.multi-file .file-detail img {clear:both;float:left;}
817
823
  .file-selectable:after,
818
824
  ul.choices:after,
819
825
  #sub-form ol#slot-list li:after,
820
- .slot_tag:after {
826
+ .slot_tag:after,
827
+ .breadcrumb:after {
821
828
  content: ".";
822
829
  display: block;
823
830
  height: 0;
@@ -370,46 +370,46 @@ a.delete, span.delete {
370
370
  }
371
371
 
372
372
  td.spam {
373
- text-align: right;
373
+ text-align: right;
374
374
  }
375
375
 
376
376
  td.spam.flagged {
377
- background:url(/images/admin/spam-flag.png) no-repeat 8px 8px;
377
+ background:url(/images/admin/spam-flag.png) no-repeat 8px 8px;
378
378
  }
379
379
 
380
380
  a.download {
381
- background:url(/images/admin/download.png) no-repeat -1px -4px;
381
+ background:url(/images/admin/download.png) no-repeat -1px -4px;
382
382
  }
383
383
 
384
384
  a.show {
385
- background:url(/images/admin/view.png) no-repeat -1px -4px;
385
+ background:url(/images/admin/view.png) no-repeat -1px -4px;
386
386
  }
387
387
 
388
388
  a.page_up {
389
- background:url(/images/admin/up.png) no-repeat -1px -4px;
389
+ background:url(/images/admin/up.png) no-repeat -1px -4px;
390
390
  }
391
391
 
392
392
  a.page_down {
393
- background:url(/images/admin/down.png) no-repeat -1px -4px;
393
+ background:url(/images/admin/down.png) no-repeat -1px -4px;
394
394
  }
395
395
 
396
396
  span.check {
397
- background:url(/images/admin/check.png) no-repeat -1px -4px;
397
+ background:url(/images/admin/check.png) no-repeat -1px -4px;
398
398
  }
399
399
 
400
400
  span.hidden {
401
- background:url(/images/admin/hidden.png) no-repeat -1px -4px;
401
+ background:url(/images/admin/hidden.png) no-repeat -1px -4px;
402
402
  }
403
403
 
404
404
  a.child, a.add{
405
- background:url(/images/admin/add.png) no-repeat -1px -4px;
405
+ background:url(/images/admin/add.png) no-repeat -1px -4px;
406
406
  }
407
407
 
408
408
  #asset-browser.multi a.add {
409
- background:url(/images/admin/select_image.gif) no-repeat 4px;
409
+ background:url(/images/admin/select_image.gif) no-repeat 4px;
410
410
  }
411
411
  #asset-browser.multi a.add.selected {
412
- background:url(/images/admin/select_image.gif) no-repeat -22px;
412
+ background:url(/images/admin/select_image.gif) no-repeat -22px;
413
413
  }
414
414
  a.delete:hover,
415
415
  span.delete:hover,
@@ -534,7 +534,8 @@ table#node_body_tbl,
534
534
  cursor:help;
535
535
  }
536
536
 
537
- .tooltip {
537
+ span.tooltip,
538
+ #content form .fixed-form span.tooltip {
538
539
  background:url(/images/admin/info.png) no-repeat center center;
539
540
  cursor:help;
540
541
  }
@@ -714,3 +715,36 @@ a:hover {
714
715
  /*span liks*/
715
716
  .link-node, .link-asset {color: #60A0BE;}
716
717
  .link-node:hover, .link-asset:hover {color: #000; cursor: pointer;}
718
+
719
+
720
+ /* BREADCRUMBS */
721
+ .breadcrumb {
722
+ font-size: 12px;
723
+ color: #D3D3D3;
724
+ display: block;
725
+ clear:both;
726
+ margin: 0 0 20px 0;
727
+ }
728
+ .breadcrumb {
729
+ list-style-type: none;
730
+ }
731
+
732
+ .breadcrumb li {
733
+ float: left;
734
+ padding: 0 0 0 10px;
735
+ width: auto;
736
+
737
+ }
738
+
739
+ .breadcrumb li a:after{
740
+ content:" > ";
741
+ }
742
+
743
+
744
+ .breadcrumb li:first-child{
745
+ padding-left:0;
746
+ }
747
+
748
+ .breadcrumb li:first-child span.arrow{
749
+ display:none;
750
+ }
@@ -8,6 +8,10 @@ body, textarea {
8
8
  font-family: 'Arial', verdana, sans-serif;
9
9
  }
10
10
 
11
+ /*#content h1, #header h1{
12
+ }*/
13
+
14
+
11
15
  /* -------------- FONT SIZES -------------- */
12
16
 
13
17
  /* 10px */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-05 00:00:00.000000000Z
12
+ date: 2011-09-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: noodall-core
16
- requirement: &10157760 !ruby/object:Gem::Requirement
16
+ requirement: &10879640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10157760
24
+ version_requirements: *10879640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thoughtbot-sortable_table
27
- requirement: &10150740 !ruby/object:Gem::Requirement
27
+ requirement: &10879100 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.0.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *10150740
35
+ version_requirements: *10879100
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: will_paginate
38
- requirement: &10149800 !ruby/object:Gem::Requirement
38
+ requirement: &10878640 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *10149800
46
+ version_requirements: *10878640
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dynamic_form
49
- requirement: &10148960 !ruby/object:Gem::Requirement
49
+ requirement: &10878140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *10148960
57
+ version_requirements: *10878140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &10147600 !ruby/object:Gem::Requirement
60
+ requirement: &10877660 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 1.0.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *10147600
68
+ version_requirements: *10877660
69
69
  description: Noodall Rails User Interface Engine. Requires Noodall Core
70
70
  email:
71
71
  - steve@wearebeef.co.uk
@@ -85,6 +85,7 @@ files:
85
85
  - app/controllers/noodall/admin/base_controller.rb
86
86
  - app/controllers/noodall/admin/components_controller.rb
87
87
  - app/controllers/noodall/admin/groups_controller.rb
88
+ - app/controllers/noodall/admin/keywords_controller.rb
88
89
  - app/controllers/noodall/admin/nodes_controller.rb
89
90
  - app/controllers/noodall/admin/versions_controller.rb
90
91
  - app/controllers/noodall/nodes_controller.rb
@@ -333,7 +334,6 @@ files:
333
334
  - public/javascripts/admin/application.js
334
335
  - public/javascripts/admin/asset_edit.js
335
336
  - public/javascripts/admin/assets.js
336
- - public/javascripts/admin/gotham.font.js
337
337
  - public/javascripts/admin/jquery.jqtransform.js
338
338
  - public/javascripts/admin/nodes.js
339
339
  - public/javascripts/admin/tiny_mce_config.js
@@ -341,7 +341,6 @@ files:
341
341
  - public/javascripts/ajaxify.js
342
342
  - public/javascripts/application.js
343
343
  - public/javascripts/carousel.lite.js
344
- - public/javascripts/cufon-yui.js
345
344
  - public/javascripts/fancybox.js
346
345
  - public/javascripts/plupload/gears_init.js
347
346
  - public/javascripts/plupload/jquery.plupload.queue.min.js
@@ -657,7 +656,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
657
656
  version: '0'
658
657
  segments:
659
658
  - 0
660
- hash: -366944267144973308
659
+ hash: 3473197974640341888
661
660
  required_rubygems_version: !ruby/object:Gem::Requirement
662
661
  none: false
663
662
  requirements:
@@ -1,20 +0,0 @@
1
- /*!
2
- * The following copyright notice may not be removed under any circumstances.
3
- *
4
- * Copyright:
5
- * HTF Gotham Copr. 2000 The Hoefler Type Foundry, Inc. Info: www.typography.com
6
- *
7
- * Manufacturer:
8
- * HTF Gotham Copr. The Hoefler Type Foundry, Inc
9
- */
10
- Cufon.registerFont({"w":230,"face":{"font-family":"Gotham Book","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 6 3 4 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"4","bbox":"-8 -287 383 58.6664","underline-thickness":"7.2","underline-position":"-40.68","unicode-range":"U+0020-U+00A3"},"glyphs":{" ":{"w":108},"!":{"d":"32,-38r34,0r0,38r-34,0r0,-38xm41,-71r-8,-181r32,0r-8,181r-16,0","w":97},"\"":{"d":"34,-252v10,2,27,-3,34,2r-29,96r-16,0xm105,-252v10,2,27,-3,33,2r-29,96r-15,0","w":158},"#":{"d":"154,-89r13,-76r-69,0r-13,76r69,0xm55,-64r-39,0r0,-25r44,0r13,-76r-43,0r0,-25r47,0r11,-62r25,0r-10,62r68,0r11,-62r25,0r-10,62r38,0r0,25r-43,0r-13,76r42,0r0,25r-46,0r-11,64r-25,0r10,-64r-68,0r-11,64r-25,0","w":252},"$":{"d":"127,-24v46,5,71,-61,25,-78v-6,-3,-15,-6,-25,-8r0,86xm106,-228v-47,-6,-68,60,-24,77v6,3,14,6,24,8r0,-85xm205,-68v0,45,-33,65,-77,68r0,35r-23,0r0,-36v-37,-3,-62,-17,-85,-37r16,-21v21,17,39,31,70,34r0,-90v-45,-12,-76,-24,-76,-71v0,-44,33,-62,75,-66r0,-21r23,0r0,22v31,2,49,14,69,29r-16,21v-16,-13,-32,-21,-54,-26r0,89v45,11,78,25,78,70","w":228},"%":{"d":"224,-106v-45,0,-41,91,1,89v22,-1,32,-20,32,-45v0,-25,-11,-44,-33,-44xm76,-235v-45,1,-42,89,0,89v45,-1,43,-87,0,-89xm281,-62v0,38,-19,65,-57,65v-37,0,-57,-29,-57,-65v0,-36,20,-64,58,-64v37,0,56,28,56,64xm230,-252r25,0r-184,252r-26,0xm133,-191v0,38,-20,65,-57,65v-38,0,-57,-27,-57,-64v0,-37,20,-65,57,-65v36,0,57,28,57,64","w":300},"&":{"d":"45,-69v-3,44,50,59,86,40v10,-6,21,-14,30,-24r-68,-70v-27,11,-46,25,-48,54xm117,-233v-49,0,-43,65,-13,84v26,-10,48,-19,49,-49v1,-20,-16,-36,-36,-35xm231,-120v-11,23,-21,45,-36,63r44,45r-22,17r-39,-41v-22,21,-44,40,-83,40v-47,0,-79,-25,-79,-72v0,-40,29,-59,61,-72v-42,-35,-28,-120,41,-116v38,2,62,21,62,57v0,37,-30,55,-60,66r58,58v12,-17,21,-35,30,-56","w":250},"'":{"d":"34,-252v10,2,27,-3,34,2r-29,96r-16,0","w":88},"(":{"d":"53,-103v0,68,35,104,83,135r-12,19v-81,-35,-133,-152,-74,-243v17,-26,42,-47,74,-65r12,18v-48,31,-83,67,-83,136","w":156},")":{"d":"32,-257v82,34,133,152,74,242v-17,26,-42,48,-74,66r-12,-19v48,-31,84,-66,84,-135v0,-69,-36,-105,-84,-136","w":156},"*":{"d":"72,-188r-37,26r-10,-17r42,-19r-42,-19r10,-17r37,26r-4,-45r19,0r-4,45r37,-26r10,17r-42,19r42,19r-10,17r-37,-26r4,45r-19,0","w":154},"+":{"d":"102,-114r-75,0r0,-26r75,0r0,-74r27,0r0,74r74,0r0,26r-74,0r0,74r-27,0r0,-74"},",":{"d":"17,31v15,-6,25,-13,24,-31r-13,0r0,-38r33,0v2,43,-1,77,-40,82","w":88},"-":{"d":"23,-123r100,0r0,29r-100,0r0,-29","w":146},"\u00ad":{"d":"23,-123r100,0r0,29r-100,0r0,-29","w":146},".":{"d":"28,-38r33,0r0,38r-33,0r0,-38","w":88},"\/":{"d":"159,-287r26,0r-167,333r-26,0","w":182},"0":{"d":"129,-230v-103,1,-103,207,0,208v103,-2,102,-206,0,-208xm235,-127v0,74,-35,131,-106,131v-73,0,-107,-57,-107,-130v0,-72,35,-130,107,-130v71,0,106,56,106,129","w":257},"1":{"d":"64,-224r-47,14r-7,-23v28,-7,47,-23,83,-21r0,254r-29,0r0,-224","w":128},"2":{"d":"113,-256v81,0,95,97,43,144r-96,86r133,0r0,26r-176,0r0,-22v46,-48,113,-79,141,-142v15,-34,-11,-66,-47,-66v-35,1,-50,19,-68,43r-21,-15v20,-29,42,-54,91,-54","w":215},"3":{"d":"196,-72v4,94,-143,93,-178,31r21,-18v18,22,37,37,73,37v33,-1,55,-17,55,-49v0,-42,-40,-50,-86,-49r-6,-17r79,-89r-123,0r0,-26r161,0r0,21r-79,88v46,4,81,23,83,71","w":220},"4":{"d":"156,-84r0,-129r-106,129r106,0xm156,-60r-133,0r-8,-20r143,-174r25,0r0,170r39,0r0,24r-39,0r0,60r-27,0r0,-60","w":241},"5":{"d":"170,-77v2,-59,-78,-64,-115,-40r-19,-12r7,-123r145,0r0,26r-120,0r-6,81v57,-26,137,-3,137,67v0,70,-78,100,-140,71v-15,-7,-28,-17,-40,-29r19,-20v29,42,130,52,132,-21","w":220},"6":{"d":"57,-78v0,38,26,57,63,57v37,0,61,-21,61,-58v0,-36,-25,-54,-61,-54v-37,0,-63,20,-63,55xm210,-80v-3,53,-36,84,-90,84v-70,0,-98,-49,-98,-124v0,-89,54,-159,145,-129v12,4,23,12,34,21r-16,22v-26,-31,-94,-32,-114,7v-11,21,-19,49,-20,80v31,-61,164,-46,159,39","w":232},"7":{"d":"163,-226r-139,0r0,-26r171,0r0,21r-114,231r-32,0","w":214},"8":{"d":"48,-69v0,35,30,48,65,48v35,0,66,-13,66,-48v0,-64,-131,-64,-131,0xm56,-187v0,62,117,61,115,0v-1,-30,-26,-44,-58,-44v-31,0,-57,13,-57,44xm208,-69v0,94,-189,99,-189,1v-1,-35,25,-52,52,-62v-23,-11,-44,-26,-44,-59v0,-45,39,-67,86,-67v47,0,84,22,86,68v1,33,-21,47,-43,58v26,10,52,27,52,61","w":226},"9":{"d":"52,-172v0,37,26,56,62,56v37,0,62,-21,62,-58v0,-37,-27,-57,-64,-57v-36,0,-60,22,-60,59xm211,-133v2,91,-57,161,-148,129v-13,-4,-24,-14,-35,-23r17,-22v26,34,94,35,117,-4v12,-20,19,-47,20,-79v-29,62,-165,49,-159,-39v4,-53,35,-85,90,-85v70,0,97,48,98,123","w":232},":":{"d":"30,-38r33,0r0,38r-33,0r0,-38xm30,-186r33,0r0,38r-33,0r0,-38","w":91},";":{"d":"18,31v15,-5,26,-12,24,-31r-12,0r0,-38r33,0v2,43,-1,77,-40,82xm30,-186r33,0r0,38r-33,0r0,-38","w":91},"\u037e":{"d":"18,31v15,-5,26,-12,24,-31r-12,0r0,-38r33,0v2,43,-1,77,-40,82xm30,-186r33,0r0,38r-33,0r0,-38","w":91},"<":{"d":"26,-115r0,-24r169,-83r0,27r-139,68r139,68r0,28"},"=":{"d":"32,-98r166,0r0,27r-166,0r0,-27xm32,-182r166,0r0,26r-166,0r0,-26"},">":{"d":"36,-59r138,-67r-138,-68r0,-28r168,83r0,24r-168,84r0,-28"},"?":{"d":"72,-38r33,0r0,38r-33,0r0,-38xm74,-130v39,-3,73,-15,73,-53v-1,-31,-22,-47,-52,-47v-30,0,-50,15,-66,34r-18,-17v19,-23,42,-42,84,-42v86,0,109,112,35,137v-9,3,-19,7,-29,8r-3,39r-19,0","w":193},"@":{"d":"177,-158v-62,-6,-85,109,-15,110v61,4,86,-108,15,-110xm275,31v-27,15,-54,28,-95,27v-97,-4,-156,-61,-161,-157v-8,-139,174,-204,269,-114v25,23,46,55,46,99v0,50,-21,85,-68,88v-25,1,-44,-13,-50,-30v-27,47,-124,37,-124,-35v0,-75,98,-122,136,-60r5,-25r24,4r-17,103v0,18,10,30,30,29v38,-2,51,-34,51,-74v0,-80,-61,-130,-144,-130v-89,0,-145,58,-145,145v0,89,57,145,148,145v39,0,63,-9,89,-24","w":352},"A":{"d":"199,-92r-57,-129r-58,129r115,0xm129,-254r27,0r114,254r-30,0r-30,-67r-137,0r-30,67r-29,0","w":284},"B":{"d":"210,-71v-1,-57,-87,-41,-146,-43r0,88v60,-3,147,16,146,-45xm196,-185v0,-54,-78,-39,-132,-41r0,86v57,-1,132,12,132,-45xm239,-69v-2,88,-116,66,-203,69r0,-252v80,2,188,-17,189,63v0,32,-18,49,-40,59v29,9,54,24,54,61","w":259},"C":{"d":"252,-40v-25,24,-52,44,-101,44v-79,0,-122,-52,-127,-130v-8,-119,150,-170,226,-90r-19,21v-21,-19,-42,-35,-79,-35v-61,0,-94,42,-98,104v-6,101,125,134,179,68","w":265},"D":{"d":"228,-125v0,-84,-69,-109,-164,-101r0,200v94,7,164,-16,164,-99xm257,-127v0,112,-97,136,-221,127r0,-252v122,-9,221,14,221,125","w":281},"E":{"d":"36,-252r182,0r0,26r-154,0r0,86r138,0r0,26r-138,0r0,88r156,0r0,26r-184,0r0,-252","w":241},"F":{"d":"36,-252r181,0r0,26r-153,0r0,90r137,0r0,26r-137,0r0,110r-28,0r0,-252","w":236},"G":{"d":"254,-34v-23,20,-58,39,-101,38v-81,-2,-125,-50,-129,-130v-6,-114,138,-169,221,-97r-19,22v-19,-17,-40,-30,-76,-29v-61,2,-92,43,-96,104v-7,96,108,132,172,80r0,-63r-76,0r0,-26r104,0r0,101","w":282},"H":{"d":"36,-252r28,0r0,112r146,0r0,-112r28,0r0,252r-28,0r0,-113r-146,0r0,113r-28,0r0,-252","w":273},"I":{"d":"38,-252r29,0r0,252r-29,0r0,-252","w":104},"J":{"d":"167,-252v-6,104,32,257,-78,256v-40,0,-62,-20,-78,-45r21,-18v14,21,26,36,57,36v32,0,51,-24,50,-60r0,-169r28,0","w":199},"K":{"d":"36,-252r28,0r0,150r145,-150r37,0r-108,110r112,142r-35,0r-97,-122r-54,54r0,68r-28,0r0,-252","w":258},"L":{"d":"36,-252r28,0r0,226r142,0r0,26r-170,0r0,-252","w":222},"M":{"d":"36,-252r28,0r92,138r92,-138r29,0r0,252r-29,0r0,-204r-91,135r-2,0r-92,-135r0,204r-27,0r0,-252","w":312},"N":{"d":"36,-252r26,0r159,202r0,-202r28,0r0,252r-23,0r-163,-207r0,207r-27,0r0,-252","w":284},"O":{"d":"54,-127v0,63,38,105,99,105v62,0,99,-41,99,-104v0,-62,-38,-104,-99,-104v-61,0,-99,41,-99,103xm282,-127v0,78,-49,131,-129,131v-81,0,-129,-53,-129,-130v0,-77,49,-130,129,-130v80,0,129,53,129,129","w":306},"P":{"d":"195,-170v0,-62,-68,-57,-131,-56r0,111v62,1,131,6,131,-55xm224,-172v-1,79,-75,87,-160,83r0,89r-28,0r0,-252v90,-1,190,-10,188,80","w":240},"Q":{"d":"54,-127v-4,84,90,133,157,86r-46,-40r19,-21r46,42v48,-62,10,-175,-77,-170v-61,3,-96,41,-99,103xm153,-256v114,-6,164,138,98,215r34,27r-20,22r-33,-31v-21,15,-44,28,-79,27v-81,-2,-129,-53,-129,-130v0,-77,49,-126,129,-130","w":306},"R":{"d":"206,-175v1,-63,-80,-50,-142,-51r0,103v64,-1,140,11,142,-52xm235,-177v-1,46,-29,66,-68,74r77,103r-35,0r-74,-98r-71,0r0,98r-28,0r0,-252v90,1,199,-16,199,75","w":260},"S":{"d":"208,-68v0,95,-146,84,-189,31r18,-21v25,21,45,32,86,36v55,5,78,-66,23,-82v-49,-14,-118,-17,-117,-83v1,-83,126,-83,172,-38r-17,22v-31,-37,-142,-41,-124,30v31,49,148,21,148,105"},"T":{"d":"102,-226r-84,0r0,-26r198,0r0,26r-85,0r0,226r-29,0r0,-226","w":233},"U":{"d":"242,-108v-1,70,-36,112,-106,112v-68,0,-103,-39,-104,-109r0,-147r28,0r0,145v-1,52,27,86,77,85v48,0,76,-30,76,-83r0,-147r29,0r0,144","w":273},"V":{"d":"14,-252r32,0r89,217r90,-217r31,0r-108,254r-26,0","w":270},"W":{"d":"16,-252r31,0r72,210r69,-211r24,0r69,211r72,-210r30,0r-90,254r-24,0r-70,-205r-69,205r-24,0","w":398},"X":{"d":"113,-129r-93,-123r34,0r77,103r77,-103r33,0r-93,123r96,129r-33,0r-81,-108r-81,108r-32,0","w":261},"Y":{"d":"114,-100r-104,-152r34,0r85,126r86,-126r33,0r-105,152r0,100r-29,0r0,-100","w":257},"Z":{"d":"24,-19r163,-207r-157,0r0,-26r196,0r0,19r-163,207r163,0r0,26r-202,0r0,-19","w":249},"[":{"d":"34,-252r103,0r0,22r-77,0r0,255r77,0r0,22r-103,0r0,-299","w":158},"\\":{"d":"-2,-287r25,0r167,333r-25,0","w":182},"]":{"d":"21,25r77,0r0,-255r-77,0r0,-22r103,0r0,299r-103,0r0,-22","w":158},"^":{"d":"79,-253r22,0r56,76r-25,0r-42,-56r-43,56r-24,0","w":180},"_":{"d":"-1,35r218,0r0,23r-218,0r0,-23","w":216},"`":{"d":"52,-253r29,-13r34,52r-22,0","w":180},"a":{"d":"45,-56v0,26,22,38,47,38v41,0,66,-21,62,-68v-37,-11,-109,-16,-109,30xm153,-28v-26,45,-136,44,-136,-27v0,-64,81,-69,136,-53v9,-63,-72,-65,-111,-42r-9,-23v53,-30,148,-20,148,59r0,114r-28,0r0,-28","w":208},"b":{"d":"58,-94v0,45,25,73,67,73v42,0,65,-28,65,-72v0,-43,-23,-72,-65,-72v-41,0,-67,28,-67,71xm219,-94v0,58,-34,95,-89,98v-37,2,-56,-19,-71,-40r0,36r-28,0r0,-263r28,0r0,114v15,-23,34,-41,71,-41v56,0,89,40,89,96","w":239},"c":{"d":"48,-94v-5,71,91,95,125,46r18,16v-18,20,-39,36,-76,36v-60,-2,-92,-40,-96,-97v-5,-88,116,-129,170,-64r-18,19v-14,-14,-30,-28,-57,-28v-41,0,-63,30,-66,72","w":205},"d":{"d":"49,-94v0,44,23,73,65,73v42,0,67,-29,67,-73v0,-43,-26,-71,-67,-71v-41,0,-65,28,-65,71xm180,-37v-16,22,-34,43,-71,41v-55,-2,-89,-39,-89,-97v0,-57,34,-97,89,-97v36,0,56,18,71,40r0,-113r28,0r0,263r-28,0r0,-37","w":239},"e":{"d":"167,-104v4,-66,-92,-85,-113,-25v-3,8,-5,16,-6,25r119,0xm48,-82v-2,65,91,79,124,36r17,15v-18,21,-39,36,-77,35v-58,-1,-93,-40,-93,-97v0,-56,32,-97,90,-97v60,0,88,43,86,108r-147,0","w":213},"f":{"d":"128,-235v-34,-15,-67,2,-59,50r59,0r0,23r-59,0r0,162r-28,0r0,-162r-25,0r0,-24r25,0v-8,-59,32,-90,87,-74r0,25","w":132},"g":{"d":"49,-103v0,40,26,64,64,64v40,0,68,-23,68,-64v0,-41,-29,-63,-68,-63v-38,0,-64,23,-64,63xm208,-32v9,95,-118,111,-179,64r12,-21v43,36,146,35,140,-43r0,-22v-16,20,-38,42,-73,40v-52,-2,-85,-35,-88,-88v-6,-89,122,-114,160,-51r0,-33r28,0r0,154","w":239},"h":{"d":"114,-165v-73,0,-52,95,-55,165r-28,0r0,-263r28,0r0,109v12,-19,31,-36,63,-36v90,0,71,105,72,190r-28,0v-4,-68,22,-165,-52,-165","w":221},"i":{"d":"33,-186r28,0r0,186r-28,0r0,-186xm32,-257r31,0r0,30r-31,0r0,-30","w":94},"j":{"d":"61,11v1,38,-26,53,-62,46r0,-23v20,3,34,-2,34,-24r0,-196r28,0r0,197xm32,-257r31,0r0,30r-31,0r0,-30","w":94},"k":{"d":"31,-263r28,0r0,182r100,-105r35,0r-78,80r80,106r-33,0r-67,-87r-37,38r0,49r-28,0r0,-263","w":204},"l":{"d":"33,-263r28,0r0,263r-28,0r0,-263","w":94},"m":{"d":"111,-165v-71,1,-49,96,-52,165r-28,0r0,-186r28,0r0,31v18,-44,105,-45,120,2v13,-20,32,-36,65,-37v88,-2,67,106,69,190r-28,0v-5,-66,21,-166,-48,-165v-71,1,-47,97,-51,165r-28,0v-5,-66,21,-165,-47,-165","w":342},"n":{"d":"114,-165v-73,0,-52,95,-55,165r-28,0r0,-186r28,0r0,32v12,-19,31,-36,63,-36v90,0,71,105,72,190r-28,0v-4,-68,22,-165,-52,-165","w":221},"o":{"d":"48,-94v0,43,25,73,69,73v43,0,68,-29,68,-72v0,-43,-27,-73,-69,-73v-42,0,-68,29,-68,72xm213,-94v0,60,-37,98,-97,98v-60,0,-97,-40,-97,-97v0,-58,39,-97,98,-97v57,0,96,38,96,96","w":232},"p":{"d":"58,-94v0,45,25,73,67,73v42,0,65,-28,65,-72v0,-43,-23,-72,-65,-72v-41,0,-67,28,-67,71xm130,4v-37,2,-56,-19,-71,-40r0,94r-28,0r0,-244r28,0r0,37v15,-23,34,-41,71,-41v56,0,89,40,89,97v0,57,-34,94,-89,97","w":239},"q":{"d":"49,-94v0,44,23,73,65,73v42,0,67,-29,67,-73v0,-43,-26,-71,-67,-71v-41,0,-65,28,-65,71xm109,-190v36,0,56,18,71,40r0,-36r28,0r0,244r-28,0r0,-95v-16,22,-34,43,-71,41v-55,-2,-89,-39,-89,-97v0,-57,34,-97,89,-97","w":239},"r":{"d":"135,-159v-80,-3,-80,78,-76,159r-28,0r0,-186r28,0r0,48v13,-29,35,-51,76,-51r0,30","w":145},"s":{"d":"140,-89v42,32,7,98,-47,93v-29,-3,-59,-14,-78,-28r15,-20v17,14,37,21,64,24v32,3,53,-36,24,-51v-34,-19,-92,-14,-94,-65v-2,-64,92,-63,131,-33r-13,21v-24,-24,-106,-27,-87,21v20,21,61,21,85,38","w":179},"t":{"d":"68,-53v-3,33,37,36,59,25r0,23v-36,19,-86,4,-86,-44r0,-113r-26,0r0,-24r26,0r0,-56r27,0r0,56r59,0r0,24r-59,0r0,109","w":145},"u":{"d":"163,-32v-12,20,-32,36,-64,36v-90,0,-69,-105,-71,-190r28,0v5,67,-22,165,51,165v74,0,53,-94,56,-165r27,0r0,186r-27,0r0,-32","w":221},"v":{"d":"13,-186r30,0r63,154r63,-154r30,0r-81,187r-25,0","w":211},"w":{"d":"15,-186r30,0r49,149r50,-150r23,0r50,150r49,-149r29,0r-66,187r-24,0r-50,-146r-50,146r-25,0","w":309},"x":{"d":"87,-95r-70,-91r32,0r55,72r55,-72r31,0r-71,91r74,95r-32,0r-58,-76r-58,76r-31,0","w":206},"y":{"d":"30,27v28,17,61,2,67,-28r-85,-185r31,0r68,155r59,-155r30,0r-78,192v-13,45,-55,66,-102,43","w":212},"z":{"d":"20,-18r124,-145r-120,0r0,-23r157,0r0,18r-123,145r123,0r0,23r-161,0r0,-18","w":200},"{":{"d":"98,-53v-4,56,11,79,56,85r-4,19v-56,-7,-83,-31,-78,-100v2,-33,-16,-46,-52,-44r0,-21v89,17,17,-109,90,-132v10,-4,24,-8,40,-11r4,18v-44,7,-60,28,-56,85v2,30,-14,43,-37,51v22,7,39,20,37,50","w":173},"|":{"d":"43,-287r23,0r0,333r-23,0r0,-333","w":109},"}":{"d":"153,-93v-87,-15,-16,108,-89,133v-10,4,-24,8,-40,11r-5,-19v45,-7,61,-28,57,-85v-2,-30,14,-43,37,-50v-33,-8,-39,-34,-37,-78v2,-42,-22,-49,-57,-58r5,-18v56,7,83,31,78,100v-2,33,15,45,51,43r0,21","w":173},"~":{"d":"110,-89v-25,0,-58,-31,-67,4r-17,-5v8,-22,11,-38,34,-38v26,0,58,33,67,-3r17,4v-7,23,-10,38,-34,38","w":170},"\u00a3":{"d":"134,-229v-48,0,-55,46,-51,98r100,0r0,25r-100,0r0,81r128,0r0,25r-187,0r0,-17r30,-7r0,-82r-30,0r0,-25r30,0v-5,-73,14,-125,80,-125v38,0,60,18,77,39r-22,18v-14,-16,-26,-30,-55,-30","w":231},"\u00a0":{"w":108}}});
11
- /*!
12
- * The following copyright notice may not be removed under any circumstances.
13
- *
14
- * Copyright:
15
- * HTF Gotham Copr. 2000 The Hoefler Type Foundry, Inc. Info: www.typography.com
16
- *
17
- * Manufacturer:
18
- * HTF Gotham Copr. The Hoefler Type Foundry, Inc
19
- */
20
- Cufon.registerFont({"w":230,"face":{"font-family":"Gotham Bold","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 8 3 3 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"4","bbox":"-10 -287 393 58.8846","underline-thickness":"7.2","underline-position":"-40.68","unicode-range":"U+0020-U+00A3"},"glyphs":{" ":{"w":108},"!":{"d":"29,-58r58,0r0,58r-58,0r0,-58xm43,-86r-17,-166r64,0r-17,166r-30,0","w":116},"\"":{"d":"27,-252v19,2,45,-4,60,2r-39,113r-27,0xm112,-252v19,2,45,-4,60,2r-39,113r-28,0","w":187},"#":{"d":"148,-100r9,-53r-53,0r-9,53r53,0xm40,-54r-27,0r0,-46r35,0r9,-53r-32,0r0,-46r40,0r9,-53r47,0r-9,53r53,0r9,-53r47,0r-9,53r27,0r0,46r-35,0r-9,53r32,0r0,46r-40,0r-9,54r-48,0r10,-54r-53,0r-9,54r-47,0","w":252},"$":{"d":"136,-45v24,-2,33,-22,21,-39v-3,-5,-11,-8,-21,-12r0,51xm103,-207v-21,0,-32,21,-20,37v3,4,10,8,20,12r0,-49xm215,-72v0,46,-34,66,-77,72r0,35r-37,0r0,-36v-33,-4,-63,-18,-85,-34r28,-41v19,13,34,24,59,29r0,-57v-41,-13,-78,-25,-78,-77v0,-45,33,-66,76,-71r0,-21r37,0r0,22v27,4,48,12,67,26r-24,42v-14,-8,-28,-16,-45,-21r0,55v46,13,79,28,79,77","w":232},"%":{"d":"209,-62v-1,16,8,32,24,32v16,0,23,-16,23,-32v0,-15,-9,-31,-24,-31v-16,-1,-23,16,-23,31xm54,-191v-1,17,8,32,24,32v16,1,23,-16,23,-31v0,-15,-8,-32,-24,-32v-16,0,-23,16,-23,31xm293,-62v0,39,-23,65,-61,65v-39,0,-61,-25,-61,-65v0,-38,23,-64,62,-64v38,0,60,25,60,64xm225,-252r43,0r-184,252r-43,0xm139,-191v0,39,-23,65,-62,65v-39,0,-61,-26,-61,-64v0,-38,23,-65,62,-65v39,0,61,26,61,64","w":309},"&":{"d":"68,-72v-1,36,52,36,72,16r-49,-49v-13,6,-23,17,-23,33xm119,-213v-31,-1,-30,42,-10,57v18,-7,33,-13,34,-34v0,-14,-10,-23,-24,-23xm237,-114v-10,18,-22,38,-34,54r37,37r-40,28r-29,-29v-44,45,-162,36,-159,-46v1,-37,21,-56,49,-69v-36,-46,-10,-123,59,-117v42,3,71,22,71,64v0,38,-25,54,-53,66r33,33v9,-14,17,-28,25,-43","w":250},"'":{"d":"27,-252v19,2,46,-4,61,2r-39,113r-28,0","w":102},"(":{"d":"76,-103v0,62,32,91,69,117r-24,37v-58,-33,-100,-73,-100,-154v0,-81,42,-122,100,-154r24,36v-37,27,-69,56,-69,118","w":160},")":{"d":"39,-257v58,32,100,73,100,154v0,81,-43,121,-100,154r-24,-37v38,-26,69,-55,70,-117v0,-62,-33,-91,-70,-118","w":160},"*":{"d":"68,-177r-35,27r-15,-26r41,-17r-41,-17r15,-26r35,26r-5,-43r29,0r-6,43r35,-26r15,26r-40,17r40,17r-15,26r-35,-27r6,43r-29,0","w":154},"+":{"d":"90,-102r-66,0r0,-50r66,0r0,-64r51,0r0,64r65,0r0,50r-65,0r0,65r-51,0r0,-65"},",":{"d":"9,36v25,-3,38,-15,36,-36r-23,0r0,-58r59,0v4,64,-2,119,-67,116","w":102},"-":{"d":"18,-138r111,0r0,53r-111,0r0,-53","w":146},"\u00ad":{"d":"18,-138r111,0r0,53r-111,0r0,-53","w":146},".":{"d":"22,-58r59,0r0,58r-59,0r0,-58","w":102},"\/":{"d":"149,-287r47,0r-160,333r-46,0","w":190},"0":{"d":"131,-206v-76,1,-74,159,1,160v75,-1,73,-159,-1,-160xm243,-127v0,75,-38,131,-112,131v-74,0,-112,-55,-112,-130v0,-74,38,-130,113,-130v73,0,111,55,111,129","w":262},"1":{"d":"64,-198r-44,11r-11,-45v35,-9,62,-26,110,-22r0,254r-55,0r0,-198","w":151},"2":{"d":"115,-256v89,-6,110,105,50,152r-71,56r110,0r0,48r-186,0r0,-44v41,-39,95,-66,125,-115v8,-25,-6,-49,-32,-47v-26,2,-36,16,-51,34r-39,-31v21,-30,45,-50,94,-53","w":224},"3":{"d":"203,-79v4,99,-147,103,-189,40r38,-37v17,18,30,30,61,31v20,0,36,-13,35,-32v-1,-30,-37,-34,-72,-32r-9,-35r60,-60r-99,0r0,-48r171,0r0,42r-64,61v40,5,66,25,68,70","w":223},"4":{"d":"143,-99r0,-79r-67,79r67,0xm143,-54r-123,0r-9,-40r138,-160r47,0r0,155r34,0r0,45r-34,0r0,54r-53,0r0,-54","w":248},"5":{"d":"206,-84v0,100,-139,109,-191,51r34,-40v17,15,33,26,60,27v24,0,42,-12,42,-36v0,-40,-58,-39,-87,-25r-32,-21r8,-124r154,0r0,49r-107,0r-3,43v61,-14,122,10,122,76","w":226},"6":{"d":"76,-81v0,23,19,38,44,38v25,0,44,-14,43,-38v0,-23,-19,-37,-44,-37v-25,-1,-43,13,-43,37xm218,-84v-3,57,-39,88,-96,88v-75,0,-97,-46,-103,-123v-8,-113,103,-176,190,-110r-29,43v-25,-27,-91,-26,-98,15v-2,7,-4,15,-5,23v51,-35,145,-10,141,64","w":238},"7":{"d":"143,-204r-119,0r0,-48r182,0r0,42r-113,210r-63,0","w":222},"8":{"d":"70,-74v0,22,19,32,43,32v24,0,44,-11,44,-32v0,-22,-21,-31,-44,-31v-23,0,-43,9,-43,31xm77,-181v0,20,15,32,36,32v21,1,36,-12,36,-31v0,-18,-15,-30,-36,-30v-21,0,-36,12,-36,29xm211,-71v0,53,-43,75,-98,75v-53,0,-95,-22,-97,-74v-1,-34,17,-49,41,-61v-19,-11,-33,-25,-32,-55v3,-48,40,-70,88,-70v49,0,89,21,89,70v0,29,-13,44,-32,55v23,13,41,26,41,60","w":226},"9":{"d":"75,-171v0,24,19,39,44,39v25,0,43,-14,43,-38v1,-24,-18,-40,-44,-39v-26,0,-42,14,-43,38xm219,-134v10,117,-110,177,-193,108r29,-42v20,22,70,33,91,6v8,-11,13,-24,15,-41v-50,37,-147,10,-141,-65v5,-56,38,-88,96,-88v75,0,97,48,103,122","w":238},":":{"d":"24,-58r58,0r0,58r-58,0r0,-58xm24,-193r58,0r0,58r-58,0r0,-58","w":106},";":{"d":"11,36v25,-3,37,-15,35,-36r-22,0r0,-58r58,0v-1,38,4,84,-17,100v-12,9,-28,16,-49,16xm24,-193r58,0r0,58r-58,0r0,-58","w":106},"\u037e":{"d":"11,36v25,-3,37,-15,35,-36r-22,0r0,-58r58,0v-1,38,4,84,-17,100v-12,9,-28,16,-49,16xm24,-193r58,0r0,58r-58,0r0,-58","w":106},"<":{"d":"24,-102r0,-50r175,-76r0,51r-122,50r122,50r0,51"},"=":{"d":"30,-105r171,0r0,50r-171,0r0,-50xm30,-198r171,0r0,49r-171,0r0,-49"},">":{"d":"32,-76r121,-50r-121,-50r0,-52r174,76r0,50r-174,76r0,-50"},"?":{"d":"59,-58r58,0r0,58r-58,0r0,-58xm7,-216v37,-55,179,-57,176,36v-2,47,-32,63,-71,72r-4,22r-37,0r-8,-58v30,-7,64,-5,64,-35v0,-43,-73,-24,-87,-1","w":195},"@":{"d":"176,-146v-47,-4,-63,85,-10,86v46,3,62,-86,10,-86xm88,-93v-8,-74,88,-119,130,-66r4,-19r43,7r-18,108v-1,14,12,23,26,23v35,0,46,-36,46,-74v0,-79,-61,-128,-142,-128v-87,0,-143,57,-143,143v0,88,57,143,146,143v39,0,62,-9,88,-24r7,11v-27,15,-54,28,-95,27v-97,-4,-161,-61,-161,-157v0,-95,63,-157,158,-157v90,0,157,55,157,142v0,53,-22,88,-72,91v-27,1,-44,-11,-55,-22v-37,40,-126,20,-119,-48","w":352},"A":{"d":"175,-105r-34,-82r-33,82r67,0xm117,-254r51,0r108,254r-58,0r-23,-57r-107,0r-23,57r-56,0","w":284},"B":{"d":"189,-76v0,-42,-65,-25,-105,-28r0,55v40,-4,104,14,105,-27xm175,-177v0,-37,-55,-23,-91,-26r0,53v37,-2,91,11,91,-27xm244,-70v0,94,-124,65,-214,70r0,-252v85,3,200,-20,200,66v0,29,-14,44,-33,54v28,12,47,24,47,62","w":259},"C":{"d":"252,-41v-24,26,-54,47,-104,45v-79,-2,-124,-52,-129,-130v-7,-120,153,-170,231,-91r-35,40v-42,-49,-138,-28,-138,51v0,80,99,101,139,50","w":265},"D":{"d":"204,-125v0,-64,-48,-83,-118,-77r0,152v69,6,118,-12,118,-75xm262,-127v0,82,-53,127,-133,127r-99,0r0,-252r99,0v79,4,133,45,133,125","w":281},"E":{"d":"30,-252r190,0r0,49r-135,0r0,51r119,0r0,50r-119,0r0,53r137,0r0,49r-192,0r0,-252","w":241},"F":{"d":"30,-252r192,0r0,50r-136,0r0,54r120,0r0,50r-120,0r0,98r-56,0r0,-252","w":236},"G":{"d":"259,-36v-25,21,-60,41,-107,40v-83,-2,-129,-49,-133,-130v-6,-118,148,-168,231,-96r-35,42v-17,-14,-36,-25,-66,-25v-45,0,-70,33,-72,79v-4,69,76,100,129,65r0,-36r-56,0r0,-48r109,0r0,109","w":282},"H":{"d":"30,-252r56,0r0,100r102,0r0,-100r55,0r0,252r-55,0r0,-101r-102,0r0,101r-56,0r0,-252","w":273},"I":{"d":"33,-252r55,0r0,252r-55,0r0,-252","w":120},"J":{"d":"177,-87v11,99,-126,115,-172,53r35,-39v18,30,80,39,80,-17r0,-162r57,0r0,165","w":203},"K":{"d":"30,-252r56,0r0,110r102,-110r67,0r-103,107r108,145r-67,0r-78,-107r-29,30r0,77r-56,0r0,-252","w":262},"L":{"d":"30,-252r56,0r0,202r125,0r0,50r-181,0r0,-252","w":222},"M":{"d":"30,-252r60,0r66,107r66,-107r60,0r0,252r-55,0r0,-165r-72,108r-70,-106r0,163r-55,0r0,-252","w":312},"N":{"d":"30,-252r51,0r118,155r0,-155r55,0r0,252r-47,0r-122,-160r0,160r-55,0r0,-252","w":284},"O":{"d":"77,-127v0,48,28,80,76,80v48,0,76,-32,76,-79v0,-47,-29,-79,-76,-79v-48,0,-76,32,-76,78xm287,-127v0,81,-53,131,-134,131v-81,0,-134,-50,-134,-130v0,-80,54,-130,134,-130v81,0,134,50,134,129","w":306},"P":{"d":"174,-163v0,-42,-45,-40,-88,-39r0,77v43,2,88,2,88,-38xm230,-165v0,76,-62,94,-144,89r0,76r-56,0r0,-252r103,0v60,0,97,30,97,87","w":240},"Q":{"d":"77,-127v-2,59,52,95,109,73r-41,-35r36,-39r41,37v21,-55,-11,-115,-69,-114v-48,2,-74,32,-76,78xm153,-256v108,-5,167,115,112,202r26,22r-36,40r-27,-25v-21,13,-43,22,-75,21v-81,-3,-134,-50,-134,-130v0,-80,54,-126,134,-130","w":306},"R":{"d":"184,-165v0,-46,-54,-36,-98,-37r0,72v43,-1,98,9,98,-35xm240,-169v0,43,-23,68,-54,79r62,90r-65,0r-54,-81r-43,0r0,81r-56,0r0,-252v96,0,210,-16,210,83","w":260},"S":{"d":"166,-140v81,31,43,154,-46,144v-45,-5,-81,-17,-107,-41r33,-39v21,15,42,28,75,31v39,3,48,-39,11,-49v-50,-13,-109,-20,-109,-86v0,-90,131,-91,182,-44r-29,42v-19,-13,-39,-22,-65,-25v-29,-3,-45,28,-22,42v19,11,55,17,77,25"},"T":{"d":"89,-201r-77,0r0,-51r209,0r0,51r-77,0r0,201r-55,0r0,-201","w":233},"U":{"d":"246,-110v-1,74,-38,113,-111,114v-70,0,-110,-40,-109,-112r0,-144r56,0v8,78,-29,205,54,205v85,1,46,-128,54,-205r56,0r0,142","w":272},"V":{"d":"9,-252r61,0r66,177r66,-177r59,0r-102,254r-48,0","w":270},"W":{"d":"11,-252r59,0r52,171r57,-172r47,0r57,172r52,-171r58,0r-86,254r-48,0r-57,-165r-57,165r-48,0","w":403},"X":{"d":"99,-128r-84,-124r65,0r52,82r54,-82r63,0r-84,123r87,129r-64,0r-57,-86r-57,86r-63,0","w":263},"Y":{"d":"101,-99r-97,-153r65,0r60,101r61,-101r63,0r-96,152r0,100r-56,0r0,-99","w":257},"Z":{"d":"23,-42r138,-161r-134,0r0,-49r206,0r0,42r-139,161r139,0r0,49r-210,0r0,-42","w":254},"[":{"d":"30,-252r116,0r0,43r-64,0r0,213r64,0r0,43r-116,0r0,-299","w":167},"\\":{"d":"-5,-287r46,0r160,333r-47,0","w":190},"]":{"d":"21,4r64,0r0,-213r-64,0r0,-43r117,0r0,299r-117,0r0,-43","w":167},"^":{"d":"71,-252r38,0r53,75r-40,0r-32,-43r-33,43r-39,0","w":180},"_":{"d":"-1,16r218,0r0,42r-218,0r0,-42","w":216},"`":{"d":"40,-257r47,-21r40,64r-41,0","w":180},"a":{"d":"66,-58v0,16,14,25,30,24v26,-1,47,-14,43,-44v-23,-11,-73,-12,-73,20xm138,-110v4,-49,-65,-41,-95,-28r-13,-42v22,-9,42,-15,74,-15v58,0,86,27,86,83r0,112r-52,0r0,-21v-31,39,-125,32,-125,-35v0,-62,74,-72,125,-54","w":213},"b":{"d":"78,-97v0,32,17,54,47,54v29,0,47,-21,47,-54v0,-32,-18,-53,-47,-53v-30,0,-47,22,-47,53xm227,-97v0,61,-32,98,-88,101v-30,2,-46,-14,-60,-29r0,25r-55,0r0,-263r55,0r0,98v14,-17,30,-34,60,-32v55,3,88,40,88,100","w":243},"c":{"d":"69,-97v0,55,67,69,93,34r32,32v-19,19,-40,36,-78,35v-61,-3,-97,-39,-101,-100v-6,-93,122,-134,178,-68r-33,36v-23,-36,-91,-22,-91,31","w":205},"d":{"d":"71,-97v0,33,18,54,47,54v30,0,47,-23,47,-54v0,-31,-17,-53,-47,-53v-29,0,-47,21,-47,53xm164,-28v-14,17,-30,34,-60,32v-56,-3,-88,-40,-88,-101v0,-60,32,-97,88,-100v30,-2,46,14,60,29r0,-95r55,0r0,263r-55,0r0,-28","w":243},"e":{"d":"151,-112v0,-34,-44,-55,-68,-29v-7,7,-12,17,-14,29r82,0xm195,-32v-17,22,-41,36,-79,36v-62,-2,-101,-38,-101,-100v0,-60,36,-101,96,-101v67,0,96,48,93,120r-135,0v5,42,70,47,94,18","w":220},"f":{"d":"132,-215v-19,-7,-50,-7,-44,24r44,0r0,45r-43,0r0,146r-55,0r0,-146r-23,0r0,-45r23,0v-10,-64,44,-86,98,-69r0,45","w":137},"g":{"d":"71,-107v-1,27,20,47,46,46v30,-1,48,-18,48,-46v0,-27,-19,-44,-48,-44v-28,0,-45,16,-46,44xm16,-106v-6,-85,104,-118,148,-62r0,-25r55,0r0,149v11,107,-115,121,-193,82r18,-41v40,27,132,29,121,-44v-15,18,-31,31,-63,31v-54,-2,-82,-35,-86,-90","w":243},"h":{"d":"113,-147v-57,0,-27,94,-34,147r-55,0r0,-263r55,0r0,97v13,-16,29,-30,57,-31v88,-1,61,114,65,197r-54,0v-7,-53,23,-147,-34,-147","w":224},"i":{"d":"27,-193r55,0r0,193r-55,0r0,-193xm26,-263r57,0r0,49r-57,0r0,-49","w":108},"j":{"d":"82,-3v2,51,-35,68,-86,60r0,-43v19,4,31,-2,31,-22r0,-185r55,0r0,190xm26,-263r57,0r0,49r-57,0r0,-49","w":108},"k":{"d":"24,-263r55,0r0,140r64,-70r66,0r-74,76r76,117r-62,0r-51,-79r-19,20r0,59r-55,0r0,-263","w":213},"l":{"d":"27,-263r55,0r0,263r-55,0r0,-263","w":108},"m":{"d":"112,-147v-55,0,-26,95,-33,147r-55,0r0,-193r55,0r0,27v18,-36,96,-43,111,0v32,-49,129,-40,129,40r0,126r-55,0v-7,-53,22,-147,-32,-147v-55,0,-26,95,-33,147r-55,0v-7,-53,22,-147,-32,-147","w":342},"n":{"d":"113,-147v-57,0,-27,94,-34,147r-55,0r0,-193r55,0r0,27v13,-16,29,-30,57,-31v88,-1,61,114,65,197r-54,0v-7,-53,23,-147,-34,-147","w":224},"o":{"d":"69,-97v0,32,18,54,51,54v33,0,50,-22,50,-53v0,-31,-19,-53,-51,-53v-33,0,-50,21,-50,52xm224,-97v0,63,-42,101,-105,101v-63,0,-104,-38,-104,-100v0,-62,42,-101,105,-101v62,0,104,38,104,100","w":239},"p":{"d":"78,-97v0,32,17,54,47,54v29,0,47,-21,47,-54v0,-32,-18,-53,-47,-53v-30,0,-47,22,-47,53xm139,4v-30,2,-46,-14,-60,-29r0,83r-55,0r0,-251r55,0r0,28v14,-17,30,-34,60,-32v56,3,88,40,88,101v0,60,-32,97,-88,100","w":243},"q":{"d":"71,-97v0,33,18,54,47,54v30,0,47,-23,47,-54v0,-31,-17,-53,-47,-53v-29,0,-47,21,-47,53xm104,-197v30,-2,46,14,60,29r0,-25r55,0r0,251r-55,0r0,-86v-14,17,-30,34,-60,32v-56,-3,-88,-40,-88,-101v0,-60,32,-97,88,-100","w":243},"r":{"d":"141,-139v-70,-5,-63,71,-62,139r-55,0r0,-193r55,0r0,39v11,-24,28,-45,62,-43r0,58","w":150},"s":{"d":"128,-109v65,22,36,121,-36,113v-34,-4,-61,-13,-83,-30r24,-36v18,13,35,23,61,23v24,0,30,-21,11,-28v-37,-14,-86,-17,-86,-68v-1,-71,98,-73,143,-39r-21,38v-16,-9,-33,-16,-52,-18v-22,-3,-28,20,-9,27","w":180},"t":{"d":"133,-8v-40,23,-100,11,-100,-47r0,-91r-23,0r0,-47r23,0r0,-49r55,0r0,49r46,0r0,47r-46,0r0,82v-2,24,30,22,45,12r0,44","w":149},"u":{"d":"145,-27v-13,15,-29,30,-56,31v-89,3,-62,-114,-66,-197r55,0v7,53,-23,147,33,147v57,0,27,-94,34,-147r55,0r0,193r-55,0r0,-27","w":224},"v":{"d":"7,-193r58,0r43,129r44,-129r57,0r-76,194r-50,0","w":216},"w":{"d":"9,-193r55,0r31,117r36,-118r48,0r36,118r32,-117r54,0r-60,194r-49,0r-37,-118r-38,118r-49,0","w":309},"x":{"d":"76,-98r-65,-95r58,0r36,56r37,-56r57,0r-65,94r68,99r-59,0r-39,-60r-38,60r-58,0","w":210},"y":{"d":"40,6v12,7,38,13,43,-5r-76,-194r58,0r44,131r42,-131r57,0r-74,198v-9,47,-67,70,-112,40","w":216},"z":{"d":"18,-39r100,-110r-97,0r0,-44r165,0r0,39r-100,110r100,0r0,44r-168,0r0,-39","w":202},"{":{"d":"117,-55v0,43,7,64,42,69r-9,37v-54,-8,-90,-29,-83,-96v3,-32,-16,-38,-49,-37r0,-42v85,15,13,-103,91,-123v11,-3,24,-7,41,-10r9,36v-34,6,-50,25,-42,69v-1,29,-15,40,-38,49v23,8,38,19,38,48","w":176},"|":{"d":"41,-287r44,0r0,333r-44,0r0,-333","w":126},"}":{"d":"159,-82v-86,-17,-13,101,-91,122v-11,3,-24,8,-41,11r-10,-37v35,-7,43,-24,43,-69v0,-29,14,-40,37,-48v-31,-8,-36,-34,-36,-75v0,-30,-19,-36,-44,-43r10,-36v56,7,89,29,83,96v-3,32,16,38,49,37r0,42","w":176},"~":{"d":"121,-84v-28,0,-62,-32,-74,3r-29,-9v8,-23,14,-49,44,-49v30,0,63,31,75,-4r29,9v-7,26,-17,49,-45,50","w":183},"\u00a3":{"d":"173,-180v-13,-29,-69,-34,-68,10r0,28r82,0r0,46r-82,0r0,48r110,0r0,48r-193,0r0,-36r27,-9r0,-51r-27,0r0,-46r27,0v-25,-113,111,-149,166,-72","w":231},"\u00a0":{"w":108}}});
@@ -1,8 +0,0 @@
1
- /*
2
- * Copyright (c) 2009 Simo Kinnunen.
3
- * Licensed under the MIT license.
4
- *
5
- * @version 1.02
6
- */
7
- var Cufon=(function(){var m=function()
8
- {return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),hasClass:function(C,B){return RegExp("(?:^|\\s)"+B+"(?=\\s|$)").test(C.className)},quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textDecoration:function(G,F){if(!F){F=this.getStyle(G)}var C={underline:null,overline:null,"line-through":null};for(var B=G;B.parentNode&&B.parentNode.nodeType==1;){var E=true;for(var D in C){if(!k(C,D)||C[D]){continue}if(F.get("textDecoration").indexOf(D)!=-1){C[D]=F.get("color")}E=false}if(E){break}F=this.getStyle(B=B.parentNode)}return C},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var B={inline:1,"inline-block":1,"run-in":1};return function(E,C,D){if(B[C.get("display")]){return E}if(!D.previousSibling){E=E.replace(/^\s+/,"")}if(!D.nextSibling){E=E.replace(/\s+$/,"")}return E}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(C){var B=this.face=C.face;this.glyphs=C.glyphs;this.w=C.w;this.baseSize=parseInt(B["units-per-em"],10);this.family=B["font-family"].toLowerCase();this.weight=B["font-weight"];this.style=B["font-style"]||"normal";this.viewBox=(function(){var E=B.bbox.split(/\s+/);var D={minX:parseInt(E[0],10),minY:parseInt(E[1],10),maxX:parseInt(E[2],10),maxY:parseInt(E[3],10)};D.width=D.maxX-D.minX;D.height=D.maxY-D.minY;D.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return D})();this.ascent=-parseInt(B.ascent,10);this.descent=-parseInt(B.descent,10);this.height=-this.ascent+this.descent}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>I&&L>I)?M<L:M>L:(M<I&&L<I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this)}function E(F){C(this)}function C(F){setTimeout(function(){m.replace(F,d.get(F).options,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var B={},D,F;for(var E=0,C=arguments.length;D=arguments[E],E<C;++E){for(F in D){if(k(D,F)){B[F]=D[F]}}}return B}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(C,J){var B=n.getStyle(v(C,J)).extend(J);var D=c(C,B),E,H,G,F,I;for(E=C.firstChild;E;E=G){H=E.nodeType;G=E.nextSibling;if(H==3){if(F){F.appendData(E.data);C.removeChild(E)}else{F=E}if(G){continue}}if(F){C.replaceChild(o(D,n.whiteSpace(F.data,B,F),B,J,E,C),F);F=null}if(H==1&&E.firstChild){if(n.hasClass(E,"cufon")){z[J.engine](D,null,B,J,E,C)}else{arguments.callee(E,J)}}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={enableTextDecoration:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textShadow:"none"};var p={words:/[^\S\u00a0]+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode((".cufon-canvas{text-indent:0;}@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}.cufon-canvas .cufon-alt{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?".cufon-canvas canvas{position:relative;}":".cufon-canvas canvas{position:absolute;}")+"}@media print{.cufon-canvas{padding:0;}.cufon-canvas canvas{display:none;}.cufon-canvas .cufon-alt{display:inline;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(ah,H,Z,D,L,ai){var n=(H===null);if(n){H=L.alt}var J=ah.viewBox;var p=Z.getSize("fontSize",ah.baseSize);var X=Z.get("letterSpacing");X=(X=="normal")?0:p.convertFrom(parseInt(X,10));var K=0,Y=0,W=0,F=0;var I=D.textShadow,U=[];if(I){for(var ag=I.length;ag--;){var O=I[ag];var T=p.convertFrom(parseFloat(O.offX));var R=p.convertFrom(parseFloat(O.offY));U[ag]=[T,R];if(R<K){K=R}if(T>Y){Y=T}if(R>W){W=R}if(T<F){F=T}}}var al=Cufon.CSS.textTransform(H,Z).split(""),B;var o=ah.glyphs,E,r,ac;var h=0,v,N=[];for(var ag=0,ae=0,ab=al.length;ag<ab;++ag){E=o[B=al[ag]]||ah.missingGlyph;if(!E){continue}if(r){h-=ac=r[B]||0;N[ae-1]-=ac}h+=v=N[ae++]=~~(E.w||ah.w)+X;r=E.k}if(v===undefined){return null}Y+=J.width-v;F+=J.minX;var C,q;if(n){C=L;q=L.firstChild}else{C=document.createElement("span");C.className="cufon cufon-canvas";C.alt=H;q=document.createElement("canvas");C.appendChild(q);if(D.printable){var ad=document.createElement("span");ad.className="cufon-alt";ad.appendChild(document.createTextNode(H));C.appendChild(ad)}}var am=C.style;var Q=q.style;var m=p.convert(J.height);var ak=Math.ceil(m);var V=ak/m;var P=V*Cufon.CSS.fontStretch(Z.get("fontStretch"));var S=h*P;var aa=Math.ceil(p.convert(S+Y-F));var t=Math.ceil(p.convert(J.height-K+W));q.width=aa;q.height=t;Q.width=aa+"px";Q.height=t+"px";K+=J.minY;Q.top=Math.round(p.convert(K-ah.ascent))+"px";Q.left=Math.round(p.convert(F))+"px";var A=Math.ceil(p.convert(S))+"px";if(a){am.width=A;am.height=p.convert(ah.height)+"px"}else{am.paddingLeft=A;am.paddingBottom=(p.convert(ah.height)-1)+"px"}var aj=q.getContext("2d"),M=m/J.height;aj.scale(M,M*V);aj.translate(-F,-K);aj.lineWidth=ah.face["underline-thickness"];aj.save();function s(i,g){aj.strokeStyle=g;aj.beginPath();aj.moveTo(0,i);aj.lineTo(h,i);aj.stroke()}var u=D.enableTextDecoration?Cufon.CSS.textDecoration(ai,Z):{};if(u.underline){s(-ah.face["underline-position"],u.underline)}if(u.overline){s(ah.ascent,u.overline)}function af(){aj.scale(P,1);for(var x=0,k=0,g=al.length;x<g;++x){var y=o[al[x]]||ah.missingGlyph;if(!y){continue}if(y.d){aj.beginPath();if(y.code){c(y.code,aj)}else{y.code=d("m"+y.d,aj)}aj.fill()}aj.translate(N[k++],0)}aj.restore()}if(I){for(var ag=I.length;ag--;){var O=I[ag];aj.save();aj.fillStyle=O.color;aj.translate.apply(aj,U[ag]);af()}}var z=D.textGradient;if(z){var G=z.stops,w=aj.createLinearGradient(0,J.minY,0,J.maxY);for(var ag=0,ab=G.length;ag<ab;++ag){w.addColorStop.apply(w,G[ag])}aj.fillStyle=w}else{aj.fillStyle=Z.get("color")}af();if(u["line-through"]){s(-ah.descent,u["line-through"])}return C}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var g=(document.documentMode||0)<8;document.write(('<style type="text/css">.cufon-vml-canvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}.cufon-vml-canvas{position:absolute;text-align:left;}.cufon-vml{display:inline-block;position:relative;vertical-align:'+(g?"middle":"text-bottom")+";}.cufon-vml .cufon-alt{position:absolute;left:-10000in;font-size:1px;}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none;}.cufon-vml .cufon-alt{display:inline;}}</style>").replace(/;/g,"!important;"));function c(h,i){return a(h,/(?:em|ex|%)$|^[a-z-]+$/i.test(i)?"1em":i)}function a(k,l){if(/px$/i.test(l)){return parseFloat(l)}var j=k.style.left,i=k.runtimeStyle.left;k.runtimeStyle.left=k.currentStyle.left;k.style.left=l.replace("%","em");var h=k.style.pixelLeft;k.style.left=j;k.runtimeStyle.left=i;return h}var f={};function d(o){var p=o.id;if(!f[p]){var m=o.stops,n=document.createElement("cvml:fill"),h=[];n.type="gradient";n.angle=180;n.focus="0";n.method="sigma";n.color=m[0][1];for(var l=1,i=m.length-1;l<i;++l){h.push(m[l][0]*100+"% "+m[l][1])}n.colors=h.join(",");n.color2=m[i][1];f[p]=n}return f[p]}return function(aj,K,ad,G,O,ak,ab){var o=(K===null);if(o){K=O.alt}var M=aj.viewBox;var q=ad.computedFontSize||(ad.computedFontSize=new Cufon.CSS.Size(c(ak,ad.get("fontSize"))+"px",aj.baseSize));var aa=ad.computedLSpacing;if(aa==undefined){aa=ad.get("letterSpacing");ad.computedLSpacing=aa=(aa=="normal")?0:~~q.convertFrom(a(ak,aa))}var C,r;if(o){C=O;r=O.firstChild}else{C=document.createElement("span");C.className="cufon cufon-vml";C.alt=K;r=document.createElement("span");r.className="cufon-vml-canvas";C.appendChild(r);if(G.printable){var ag=document.createElement("span");ag.className="cufon-alt";ag.appendChild(document.createTextNode(K));C.appendChild(ag)}if(!ab){C.appendChild(document.createElement("cvml:shape"))}}var ap=C.style;var V=r.style;var m=q.convert(M.height),am=Math.ceil(m);var Z=am/m;var T=Z*Cufon.CSS.fontStretch(ad.get("fontStretch"));var Y=M.minX,X=M.minY;V.height=am;V.top=Math.round(q.convert(X-aj.ascent));V.left=Math.round(q.convert(Y));ap.height=q.convert(aj.height)+"px";var v=G.enableTextDecoration?Cufon.CSS.textDecoration(ak,ad):{};var J=ad.get("color");var ao=Cufon.CSS.textTransform(K,ad).split(""),B;var p=aj.glyphs,H,s,af;var h=0,P=[],W=0,x;var z,L=G.textShadow;for(var ai=0,ah=0,ae=ao.length;ai<ae;++ai){H=p[B=ao[ai]]||aj.missingGlyph;if(!H){continue}if(s){h-=af=s[B]||0;P[ah-1]-=af}h+=x=P[ah++]=~~(H.w||aj.w)+aa;s=H.k}if(x===undefined){return null}var A=-Y+h+(M.width-x);var an=q.convert(A*T),ac=Math.round(an);var S=A+","+M.height,n;var N="r"+S+"ns";var y=G.textGradient&&d(G.textGradient);for(ai=0,ah=0;ai<ae;++ai){H=p[ao[ai]]||aj.missingGlyph;if(!H){continue}if(o){z=r.childNodes[ah];while(z.firstChild){z.removeChild(z.firstChild)}}else{z=document.createElement("cvml:shape");r.appendChild(z)}z.stroked="f";z.coordsize=S;z.coordorigin=n=(Y-W)+","+X;z.path=(H.d?"m"+H.d+"xe":"")+"m"+n+N;z.fillcolor=J;if(y){z.appendChild(y.cloneNode(false))}var al=z.style;al.width=ac;al.height=am;if(L){var u=L[0],t=L[1];var F=Cufon.CSS.color(u.color),D;var R=document.createElement("cvml:shadow");R.on="t";R.color=F.color;R.offset=u.offX+","+u.offY;if(t){D=Cufon.CSS.color(t.color);R.type="double";R.color2=D.color;R.offset2=t.offX+","+t.offY}R.opacity=F.opacity||(D&&D.opacity)||1;z.appendChild(R)}W+=P[ah++]}var Q=z.nextSibling,w,E;if(G.forceHitArea){if(!Q){Q=document.createElement("cvml:rect");Q.stroked="f";Q.className="cufon-vml-cover";w=document.createElement("cvml:fill");w.opacity=0;Q.appendChild(w);r.appendChild(Q)}E=Q.style;E.width=ac;E.height=am}else{if(Q){r.removeChild(Q)}}ap.width=Math.max(Math.ceil(q.convert(h*T)),0);if(g){var U=ad.computedYAdjust;if(U===undefined){var I=ad.get("lineHeight");if(I=="normal"){I="1em"}else{if(!isNaN(I)){I+="em"}}ad.computedYAdjust=U=0.5*(a(ak,I)-parseFloat(ap.height))}if(U){ap.marginTop=Math.ceil(U)+"px";ap.marginBottom=U+"px"}}return C}})());