Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial Commit to GitHub - version 1.5.3

The HTML5 Responsive Shell for WordPress has been developed by
mimoYmima.com a web dev team in Brooklyn since WordPress v.2.3  We're
committing it to GitHub to hopefully bolster community involvement in
making it better and increasing it's user base!
  • Loading branch information...
commit 217fd35b41bb5157ffed0d8c295c25fd15569fa4 0 parents
@mimoYmima authored
Showing with 2,760 additions and 0 deletions.
  1. +27 −0 404.php
  2. +70 −0 503.php
  3. +83 −0 archive.php
  4. +63 −0 category.php
  5. +148 −0 comments.php
  6. +11 −0 css/ie7.css
  7. +1 −0  css/ie8.css
  8. +3 −0  css/iphone.css
  9. +70 −0 example_custom-pg-template.php
  10. BIN  fonts/StMarie-Thin-webfont.eot
  11. +150 −0 fonts/StMarie-Thin-webfont.svg
  12. BIN  fonts/StMarie-Thin-webfont.ttf
  13. BIN  fonts/StMarie-Thin-webfont.woff
  14. +51 −0 footer.php
  15. +211 −0 functions.php
  16. +127 −0 header.php
  17. BIN  images/avatar_default.png
  18. BIN  images/icon_checkmark.png
  19. BIN  images/icon_comment.png
  20. BIN  images/icon_document.png
  21. BIN  images/icon_link_arrow.png
  22. BIN  images/icon_link_plus_minus.png
  23. BIN  images/icon_pdf_big.png
  24. BIN  images/icon_pdf_lg.png
  25. BIN  images/icon_pdf_sm.png
  26. BIN  images/icon_pdf_x-sm.png
  27. BIN  images/icon_rss_lg.png
  28. BIN  images/icon_rss_sm.png
  29. BIN  images/icon_social_xs.png
  30. BIN  images/icon_vcf.png
  31. +66 −0 index.php
  32. +44 −0 js/functions.js
  33. +1 −0  js/jquery_local.js
  34. +1,116 −0 js/modernizr_2_0_6_dev.js
  35. +53 −0 page.php
  36. BIN  screenshot.png
  37. +74 −0 search.php
  38. +7 −0 searchform.php
  39. +16 −0 sidebar-SidebarLeft.php
  40. +16 −0 sidebar-SidebarRight.php
  41. +58 −0 single.php
  42. +294 −0 style.css
27 404.php
@@ -0,0 +1,27 @@
+<?php get_header(); ?>
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" role="main">
+
+ <h1>Keep searching.</h1>
+
+ <p style="margin-top: 1em;">The URL you've come to doesn't exist...<br /> If it's an error with our site <a href="/contact/">please tell us about it</a>, if not use the searchbox below to find what you're looking for.</p>
+ <?php get_search_form(); ?>
+
+ <h2>Or Choose A Popular Topic</h2>
+ <p><?php wp_tag_cloud(''); ?> </p>
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+<?php get_footer(); ?>
70 503.php
@@ -0,0 +1,70 @@
+<?php $iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone"); ?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<!--NOTE: you can't use includes in a 503 document so put your header and footer content in here manually-->
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+
+ <title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('description'); } ?> &#8212; <?php bloginfo('name'); ?></title>
+
+ <!-- Meta Tags Handled by All In One SEO -->
+
+ <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/basic.css" media="all" />
+ <!--link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/print.css" media="print" /-->
+ <!--link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/handheld.css" media="handheld" /-->
+ <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" media="screen" />
+
+ <?php $iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone"); ?>
+ <?php if ($iphone == true) : ?>
+ <link href="<?php bloginfo('template_url'); ?>/css/iphone.css" type="text/css" rel="stylesheet" />
+ <!--meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" /-->
+ <?php endif; ?>
+
+ <!--BEGIN: IE Specific Stylesheets-->
+ <!--[if IE 8]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie8.css" media="screen" /><![endif]-->
+ <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie7.css" media="screen" /><![endif]-->
+ <!--[if lt IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie6.css" media="screen" /><![endif]-->
+ <!--END: IE Specific Stylesheets-->
+
+ <link rel="copyright" href="#copyright" />
+ <link rel="icon" href="/favicon.ico" type="image/x-icon" />
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+
+</head>
+
+<body id="splash" class="maintenance">
+
+<header>
+ <div id="masthead" role="banner">
+ <div class="title"><a href="/"><?php bloginfo('name'); ?></a></div>
+ <div class="description"><?php echo get_bloginfo ( 'description' ); ?></div>
+ </div>
+</header>
+
+<div id="content" class="clear-fix" role="main">
+
+ <h1>Our site is getting a tune-up <br /> be back soon.</h1>
+
+</div>
+
+<footer id="footer" role="contentinfo">
+
+ <!--BEGIN: mimoYmima.com credit-->
+ <h3 id="mym-credit">
+ <a href="http://www.mimoymima.com" title="web design Brooklyn, NY &amp; Madrid, Spain">mimoYmima<br />
+ creative website design<br />
+ Brooklyn &amp; Madrid</a>
+ </h3>
+ <!--END: mimoYmima.com credit-->
+
+</footer>
+<!--END: Footer-->
+
+</body>
+</html>
83 archive.php
@@ -0,0 +1,83 @@
+<?php get_header(); ?>
+
+<?php // to disable this sidebar on a page by page basis just add a custom field to your page or post of disableSidebarLeft = true
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" role="main">
+
+ <?php if (have_posts()) : ?>
+
+ <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
+ <?php /* If this is a category archive */ if (is_category()) { ?>
+ <h1 class="page-title">Archive for &#8216;<?php single_cat_title(); ?>&#8217;</h1>
+ <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
+ <h1 class="page-title">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h1>
+ <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
+ <h1 class="page-title">Archive for <?php the_time('F jS, Y'); ?></h1>
+ <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
+ <h1 class="page-title">Archive for <?php the_time('F, Y'); ?></h1>
+ <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
+ <h1 class="page-title">Archive for <?php the_time('Y'); ?></h1>
+ <?php /* If this is an author archive */ } elseif (is_author()) { ?>
+ <h1 class="page-title">Author Archive</h1>
+ <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
+ <h1 class="page-title">Blog Archives</h1>
+ <?php } ?>
+
+ <!--BEGIN: Archive-->
+ <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+
+ <small><?php the_time('l, F jS, Y') ?></small>
+
+ <div class="entry">
+ <?php the_content() ?>
+ </div>
+
+ <?php if(!is_tag()): // don't show this stuff on tag pages '?>
+ <!--BEGIN: Post Meta Data-->
+ <footer class="post-meta-data">
+ <ul class="no-bullet">
+ <li class="add-comment"><?php comments_popup_link('Share your comments', '1 Comment', '% Comments'); ?></li>
+ <li>Posted in <?php the_category(', ') ?></li>
+ <li><?php edit_post_link('[Edit]', '<small>', '</small>'); ?></li>
+ <li><?php the_tags('Tags: ', ', ', '<br />'); ?></li>
+ </ul>
+ </footer>
+ <!--END: Post Meta Data-->
+ <?php endif; ?>
+
+ </article>
+ <!--END: Archive-->
+
+ <?php endwhile; ?>
+
+ <nav class="navigation">
+ <h1>Page Navigation</h1>
+ <?php posts_nav_link('&nbsp;','<div class="alignright">Newer Entries &raquo;</div>','<div class="alignleft">&laquo; Older Entries</div>') ?>
+ </nav>
+
+ <?php else : // ERROR: nothing found ?>
+
+ <h2>No posts were found :(</h2>
+
+ <?php endif; ?>
+
+ </article>
+ <!--END: Archive-->
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+<?php get_footer(); ?>
63 category.php
@@ -0,0 +1,63 @@
+<?php get_header(); ?>
+
+<?php // to disable this sidebar on a page by page basis just add a custom field to your page or post of disableSidebarLeft = true
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" class="clear-fix" role="main">
+
+ <?php if (have_posts()) : ?>
+
+ <h1>Posts in <?php single_cat_title(); ?></h1>
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <!--BEGIN: Post-->
+ <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+
+ <header>
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title='Click to read: "<?php strip_tags(the_title()); ?>"'><?php the_title(); ?></a></h2>
+ <p class="post-date"><?php the_time('F jS, Y') ?> &#8212; <?php the_category(', ') ?></p>
+ </header>
+
+ <div class="entry">
+ <?php the_excerpt("Continue reading &rarr;"); ?>
+ </div>
+
+ <!--BEGIN: Post Meta Data-->
+ <footer class="post-meta-data">
+ <ul class="horiz-list">
+ <li><?php the_time('F jS, Y') ?> by <?php the_author() ?></li>
+ <li class="add-comment"><?php comments_popup_link('Share Your Comments', '1 Comment', '% Comments'); ?></li>
+ <li><?php edit_post_link('[Edit]', '<small>', '</small>'); ?></li>
+ <li><div class="utw"><?php if(function_exists ('UTW_ShowTagsForCurrentPost')) {UTW_ShowTagsForCurrentPost("commalist","",0); } ?></div></li>
+ </ul>
+ </footer>
+ <!--END: Post Meta Data-->
+
+ </article>
+ <!--END: Post-->
+
+ <?php endwhile; ?>
+
+ <div class="navigation">
+ <?php posts_nav_link('&nbsp;','<div class="alignleft">&laquo; Previous Page</div>','<div class="alignright">Next Page &raquo;</div>') ?>
+ </div>
+
+ <?php else : //ERROR: nothing was found ?>
+
+ <h2>No posts were found :(</h2>
+
+ <?php endif; ?>
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+<?php get_footer(); ?>
148 comments.php
@@ -0,0 +1,148 @@
+<?php
+/*
+thanks to:
+http://themeshaper.com/2009/07/01/wordpress-theme-comments-template-tutorial/
+http://ponderwell.net/2010/07/html5-forms-and-wp-3-0-comments/
+*/
+?>
+
+<div id="comments">
+
+<?php // Run some checks for bots and password protected posts
+ $req = get_option('require_name_email'); // Checks if fields are required.
+ if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) )
+ die ( 'Please do not load this page directly. Thanks!' );
+ if ( ! empty($post->post_password) ) :
+ if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) :
+?>
+
+ <div class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'your-theme') ?></div>
+
+ </div><!-- .comments -->
+
+<?php
+ return;
+ endif;
+endif;
+?>
+
+<?php if ( have_comments() ) : // See IF there are comments and do the comments stuff! ?>
+
+<?php //Count the number of comments and trackbacks (or pings)
+$ping_count = $comment_count = 0;
+foreach ( $comments as $comment )
+ get_comment_type() == "comment" ? ++$comment_count : ++$ping_count;
+?>
+
+<?php /* IF there are comments, show the comments */ ?>
+<?php if ( ! empty($comments_by_type['comment']) ) : ?>
+
+ <div id="comments-list" class="comments">
+ <h3><?php printf($comment_count > 1 ? __('<span>%d</span> Comments', 'your-theme') : __('<span>One</span> Comment', 'your-theme'), $comment_count) ?></h3>
+
+<?php /* If there are enough comments, build the comment navigation */ ?>
+<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?>
+ <div id="comments-nav-above" class="comments-navigation">
+ <div class="paginated-comments-links"><?php paginate_comments_links(); ?></div>
+ </div><!-- #comments-nav-above -->
+<?php endif; ?>
+
+<?php /* An ordered list of our custom comments callback, custom_comments(), in functions.php */ ?>
+
+ <ol>
+ <?php wp_list_comments('type=comment&callback=custom_comments'); ?>
+ </ol>
+
+<?php /* If there are enough comments, build the comment navigation */ ?>
+<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?>
+ <div id="comments-nav-below" class="comments-navigation">
+ <div class="paginated-comments-links"><?php paginate_comments_links(); ?></div>
+ </div><!-- #comments-nav-below -->
+<?php endif; ?>
+
+</div><!-- #comments-list .comments -->
+
+<?php endif; // ($comment_count) ?>
+
+<?php // If there are trackbacks(pings), show the trackbacks ?>
+<?php if ( ! empty($comments_by_type['pings']) ) : ?>
+
+ <div id="trackbacks-list" class="comments">
+ <h3><?php printf($ping_count > 1 ? __('<span>%d</span> Trackbacks', 'your-theme') : __('<span>One</span> Trackback', 'your-theme'), $ping_count) ?></h3>
+
+ <?php /* An ordered list of our custom trackbacks callback, custom_pings(), in functions.php */ ?>
+ <ol>
+ <?php wp_list_comments('type=pings&callback=custom_pings'); ?>
+ </ol>
+ </div><!-- #trackbacks-list .comments -->
+
+<?php endif // ($ping_count) ?>
+<?php endif // ($comments) ?>
+
+<?php /* If comments are open, build the respond form */ ?>
+<?php if ( 'open' == $post->comment_status ) : ?>
+ <div id="respond">
+ <h3><?php comment_form_title( __('Post a Comment', 'your-theme'), __('Post a Reply to %s', 'your-theme') ); ?></h3>
+
+ <div id="cancel-comment-reply"><?php cancel_comment_reply_link() ?></div>
+
+<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
+ <p id="login-req"><?php printf(__('You must be <a href="%s" title="Log in">logged in</a> to post a comment.', 'your-theme'),
+ get_option('siteurl') . '/wp-login.php?redirect_to=' . get_permalink() ) ?></p>
+
+<?php else : ?>
+ <div class="formcontainer">
+
+ <form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
+
+<?php if ( $user_ID ) : ?>
+ <p id="login"><?php printf(__('<span class="loggedin">Logged in as <a href="%1$s" title="Logged in as %2$s">%2$s</a>.</span> <span class="logout"><a href="%3$s" title="Log out of this account">Log out?</a></span>', 'your-theme'),
+ get_option('siteurl') . '/wp-admin/profile.php',
+ wp_specialchars($user_identity, true),
+ wp_logout_url(get_permalink()) ) ?></p>
+
+<?php else : ?>
+
+ <p id="comment-notes"><?php _e('Your email is <em>never</em> published nor shared.', 'your-theme') ?> <?php if ($req) _e('Required fields are marked <span class="required">*</span>', 'your-theme') ?></p>
+
+ <div id="form-section-author" class="form-section">
+ <div class="form-label"><label for="author"><?php _e('Name', 'your-theme') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'your-theme') ?></div>
+ <div class="form-input"><input id="author" name="author" type="text" value="<?php echo $comment_author ?>" size="30" maxlength="20" tabindex="3" /></div>
+ </div><!-- #form-section-author .form-section -->
+
+ <div id="form-section-email" class="form-section">
+ <div class="form-label"><label for="email"><?php _e('Email', 'your-theme') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'your-theme') ?></div>
+ <div class="form-input"><input id="email" name="email" type="text" value="<?php echo $comment_author_email ?>" size="30" maxlength="50" tabindex="4" /></div>
+ </div><!-- #form-section-email .form-section -->
+
+ <div id="form-section-url" class="form-section">
+ <div class="form-label"><label for="url"><?php _e('Website', 'your-theme') ?></label></div>
+ <div class="form-input"><input id="url" name="url" type="text" value="<?php echo $comment_author_url ?>" size="30" maxlength="50" tabindex="5" /></div>
+ </div><!-- #form-section-url .form-section -->
+
+<?php endif /* if ( $user_ID ) */ ?>
+
+ <div id="form-section-comment" class="form-section">
+ <div class="form-label"><label for="comment"><?php _e('Comment', 'your-theme') ?></label></div>
+ <div class="form-textarea"><textarea id="comment" name="comment" cols="45" rows="8" tabindex="6"></textarea></div>
+ </div><!-- #form-section-comment .form-section -->
+
+ <div id="form-allowed-tags" class="form-section">
+ <p><span><?php _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'your-theme') ?></span> <code><?php echo allowed_tags(); ?></code></p>
+ </div>
+
+<?php do_action('comment_form', $post->ID); ?>
+
+ <div class="form-submit"><input id="submit" name="submit" type="submit" value="<?php _e('Post Comment', 'your-theme') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></div>
+
+<?php comment_id_fields(); ?>
+
+<?php /* Just … end everything. We're done here. Close it up. */ ?>
+
+ </form><!-- #commentform -->
+ </div><!-- .formcontainer -->
+<?php endif /* if ( get_option('comment_registration') && !$user_ID ) */ ?>
+ </div><!-- #respond -->
+<?php endif /* if ( 'open' == $post->comment_status ) */ ?>
+
+</div><!-- #comments -->
11 css/ie7.css
@@ -0,0 +1,11 @@
+/* add ie7 css hacks here */
+
+/* Self Clearing Floats */
+.clear-fix { min-height: 1%; }
+
+
+/* if bullet images are dissapearing for li's, uncomment this stuff below
+
+#container-name li { width: 100%; }
+
+*/
1  css/ie8.css
@@ -0,0 +1 @@
+/* IE8 hacks - hopefully none are needed */
3  css/iphone.css
@@ -0,0 +1,3 @@
+/* you can feed css just to the iphone with this stylesheet */
+
+.iPhoneHide { position: absolute !important; left: -999em !important; }
70 example_custom-pg-template.php
@@ -0,0 +1,70 @@
+<?php
+/*
+Template Name: template-name
+*/
+?>
+
+<?
+// This template is used to list posts in a specific category. Don't forget to change the 'category_name=' below to the category you want to use
+?>
+
+<?php get_header(); ?>
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" class="clear-fix" role="main">
+
+ <?php // this is an example of a custom Query -- shows just posts from a certain category -- change the name of the category below from 'blog' to whatever you want
+ $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
+ $wp_query = new WP_Query();
+ $wp_query -> query('category_name=blog&posts_per_page=5&paged=' . $paged);
+ ?>
+
+ <?php if (have_posts()) : //BEGIN: The Loop ?>
+
+ <h1>Posts in <?php the_category(', ') ?></h1>
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <!--BEGIN: Post-->
+ <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
+
+ <h2><?php the_title(); ?></h2>
+
+ <time datetime="<?php the_time('c'); ?>" pubdate="pubdate"><?php the_time('F jS, Y'); ?></time>
+
+ <div class="entry">
+ <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?>
+ <?php the_excerpt("Continue reading &rarr;"); ?>
+ </div>
+
+ </div>
+ <!--END: Post-->
+
+ <?php endwhile; ?>
+
+ <div class="navigation">
+ <?php posts_nav_link('&nbsp;','<div class="alignleft">&laquo; Previous Page</div>','<div class="alignright">Next Page &raquo;</div>') ?>
+ </div>
+
+ <?php else : // ERROR: nothing found ?>
+
+ <h2>No posts were found :(</h2>
+
+ <?php endif; ?>
+
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+
+<?php get_footer(); ?>
BIN  fonts/StMarie-Thin-webfont.eot
Binary file not shown
150 fonts/StMarie-Thin-webfont.svg
@@ -0,0 +1,150 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata>
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Copyright c 2010 by Stereotypesde All rights reserved
+Designer : Sascha Timplan
+Foundry : Stereotypesde
+</metadata>
+<defs>
+<font id="webfont9hr7Olye" horiz-adv-x="493" >
+<font-face units-per-em="2048" ascent="1536" descent="-512" />
+<missing-glyph horiz-adv-x="425" />
+<glyph unicode=" " horiz-adv-x="425" />
+<glyph unicode="&#x09;" horiz-adv-x="425" />
+<glyph unicode="&#xa0;" horiz-adv-x="425" />
+<glyph unicode="!" d="M195 57q0 25 18 43q16 16 39 17q27 0 43 -16.5t16 -43.5q0 -23 -18 -41q-16 -16 -41 -16q-20 0 -38.5 18.5t-18.5 38.5zM229 1434h50l-3 -713l-4 -404h-36l-5 404z" />
+<glyph unicode="&#x22;" horiz-adv-x="428" d="M82 1434h51l-8 -451h-35zM297 1434h51l-8 -451h-35z" />
+<glyph unicode="#" horiz-adv-x="1501" d="M55 340l4 37h365l90 534h-393l4 37h395l84 486h41l-84 -486h514l84 486h41l-84 -486h332l-4 -37h-334l-90 -534h362l-4 -37h-364l-82 -483h-41l82 483h-514l-82 -483h-41l82 483h-363zM465 377h514l90 534h-514z" />
+<glyph unicode="$" horiz-adv-x="1214" d="M201 88l35 373h16q4 0 9 -1l5 -1l-24 -371q156 -68 352 -68v699q-209 76 -293 162t-84 229q0 139 105 229q106 92 272 107v205h41v-201q168 0 340 -47l8 -23l-27 -250h-16q-4 0 -9 2l-5 1l12 237q-126 43 -276 43q-2 0 -6.5 -1t-8.5 -1h-12v-666q338 -125 391 -339 q10 -51 10 -91q0 -129 -106 -225q-104 -95 -295 -104v-179h-41v177q-129 0 -209 18q-82 18 -178 59zM262 1110q0 -131 70 -201q72 -72 262 -147v647q-88 -10 -152 -35q-68 -27 -125 -96q-55 -68 -55 -168zM635 23q154 10 276 92q84 102 84 200q0 131 -82 222 q-84 92 -278 165v-679z" />
+<glyph unicode="%" horiz-adv-x="2187" d="M164 1034q0 188 108 303q106 113 279 113q188 0 292.5 -110.5t104.5 -295.5q0 -190 -106 -301q-104 -109 -289 -108q-168 0 -278.5 110.5t-110.5 288.5zM205 1032q0 -160 98 -260q98 -102 250 -102q156 0 264 90q90 121 90 282q0 166 -94 271q-92 102 -264 102 q-123 0 -232 -74q-112 -133 -112 -309zM733 -31l680 1512l33 -17l-678 -1509zM1241 387q0 190 106.5 303t280.5 113q188 0 292.5 -110.5t104.5 -295.5q0 -194 -104 -301q-104 -109 -291 -108q-170 0 -280 110q-109 109 -109 289zM1282 385q0 -156 100 -260q98 -102 248 -102 q156 0 264 90q90 121 91 282q0 169 -93 271q-92 102 -266 102q-123 0 -231 -74q-113 -133 -113 -309z" />
+<glyph unicode="&#x26;" horiz-adv-x="1703" d="M184 408q0 152 72 247q74 98 213 189q-49 127 -49 237q0 184 73.5 276.5t249.5 92.5q186 0 334 -68l-37 -233l-28 2l18 209q-117 53 -289 53q-125 0 -219 -72q-61 -100 -61 -260q0 -207 170 -438q166 -225 430 -428q180 205 227 524l-307 19v20h569l-2 -20l-221 -19 q-43 -330 -235 -546q96 -72 247 -162l234 -11l-2 -20h-256q-145 84 -252 164q-180 -180 -414 -180q-240 0 -352 116q-113 115 -113 308zM225 403q0 -176 101 -278q101 -104 319 -105q221 0 387 166q-408 311 -547 621q-127 -82 -194 -172q-66 -91 -66 -232z" />
+<glyph unicode="'" horiz-adv-x="212" d="M82 1434h51l-8 -451h-35z" />
+<glyph unicode="(" horiz-adv-x="749" d="M238 651q0 262 84 508q84 244 215 397l32 -20q-127 -158 -202 -397q-80 -250 -80 -488q0 -481 286 -884l-34 -23q-152 207 -228 428q-73 218 -73 479z" />
+<glyph unicode=")" horiz-adv-x="749" d="M168 1534l35 22q162 -217 229 -426q72 -219 72 -479q0 -264 -82 -508q-82 -242 -217 -399l-33 20q127 158 203 398q80 248 80 489q0 480 -287 883z" />
+<glyph unicode="*" horiz-adv-x="669" d="M102 1235l9 22q18 28 104 -6l115 -47l6 129l-25 97q20 0 25 -3q33 -10 26 -100l-8 -123l123 35l84 53l8 -24q0 -31 -86 -56l-125 -30l74 -105l78 -65q-14 -8 -21 -15q-33 -12 -81 70l-66 102l-82 -104l-37 -92q-4 2 -18 16q-23 29 39 94l80 99l-121 47z" />
+<glyph unicode="+" horiz-adv-x="950" d="M123 508v37h334v334h37v-334h335v-37h-335v-336h-37v336h-334z" />
+<glyph unicode="," d="M178 -104q47 51 68 104q-23 0 -41 18q-16 16 -17 39q0 27 16.5 43.5t41 16.5t43.5 -19q16 -16 16 -49q0 -78 -100 -180z" />
+<glyph unicode="-" horiz-adv-x="909" d="M143 520v41h625v-41h-625z" />
+<glyph unicode="." d="M188 57q0 27 16.5 43.5t41.5 16.5q27 0 43 -16.5t16 -43.5q0 -23 -18 -41q-16 -16 -41 -16q-23 0 -41 18q-17 16 -17 39z" />
+<glyph unicode="/" horiz-adv-x="548" d="M72 -143l366 1679h41l-366 -1679h-41z" />
+<glyph unicode="0" horiz-adv-x="1382" d="M164 559q0 270 143 438q141 166 373 166q254 0 397.5 -163.5t143.5 -446.5q0 -258 -140 -412q-141 -158 -383 -157q-244 0 -389 159q-145 162 -145 416zM205 559q0 -244 135 -391.5t360 -147.5q170 0 332 107q147 187 148 424q0 266 -133 422q-132 154 -363 153 q-154 0 -315 -106q-84 -96 -125 -205q-39 -104 -39 -256z" />
+<glyph unicode="1" horiz-adv-x="806" d="M145 0l2 20l244 11v1085l-246 10l2 21h517l-2 -21l-230 -10v-1085l234 -11l-2 -20h-519z" />
+<glyph unicode="2" horiz-adv-x="1054" d="M82 53q178 80 336 193q168 121 287 274q123 160 122 301q0 138 -79 221q-80 84 -252 84q-186 0 -322 -55l-8 -291l-27 2l-14 287l8 23q137 72 363 71q186 0 278 -94t92 -248q0 -111 -73.5 -233.5t-182 -225t-235.5 -188.5q-113 -76 -240 -131l2 -8l795 6l-2 -41h-846z " />
+<glyph unicode="3" horiz-adv-x="1157" d="M164 -158l18 31q150 -88 318 -88q143 0 213 29q78 33 145 88q80 104 80 229q0 154 -127 246q-123 90 -336 90l-2 27q190 0 322 65q106 115 106 254q0 125 -92 219t-268 94q-164 0 -322 -39l-8 -256l-31 3l-6 237l10 41q145 51 359 51q184 0 291 -102q104 -102 104 -248 q0 -117 -76 -213t-188 -119v-8q123 -27 213 -115q88 -86 88 -225q0 -166 -121 -276q-117 -109 -354 -109q-184 0 -336 94z" />
+<glyph unicode="4" horiz-adv-x="1167" d="M119 39l364 1108h33v-23l-356 -1085h686v524l10 90h31v-614h231l-2 -39h-229v-186l-10 -80h-31v266h-723z" />
+<glyph unicode="5" horiz-adv-x="1165" d="M156 -190l16 32q176 -86 360 -86q244 0 396 144q68 113 67 243q0 180 -127 284.5t-317 104.5q-150 0 -336 -51l-4 37l16 629h764l-2 -37h-723l-16 -582q147 41 301 41q211 0 348 -112.5t137 -313.5q0 -197 -135 -309q-137 -115 -369 -115q-214 1 -376 91z" />
+<glyph unicode="6" horiz-adv-x="1150" d="M133 684q0 319 149.5 524t368.5 205q186 0 338 -63l-20 -37q-133 63 -316 63q-197 0 -338 -194.5t-141 -499.5q206 123 424 123q221 0 330 -107q111 -109 110 -311q0 -190 -116 -297q-115 -106 -324 -106q-219 0 -342 176t-123 524zM174 641q12 -621 426 -621 q172 0 309 95q86 119 86 272q0 184 -100 282.5t-297 98.5q-217 0 -424 -127z" />
+<glyph unicode="7" horiz-adv-x="1103" d="M88 1147h918l4 -35q-420 -627 -541 -1378h-41l-4 18q144 759 534 1358h-825l-6 -297l-29 2z" />
+<glyph unicode="8" horiz-adv-x="1142" d="M133 346q0 137 90 229q90 94 234 144q-283 121 -283 366q0 143 109 236q108 92 282 92q176 0 289 -102q109 -100 109 -246q0 -121 -80 -219t-203 -154q162 -51 239.5 -139t77.5 -223q0 -150 -106 -248q-109 -98 -324 -98q-211 0 -321 102q-113 104 -113 260zM174 346 q0 -143 102 -235q98 -90 293 -91q176 0 318 97q70 100 69 211q0 143 -88 223q-90 80 -284 127q-55 14 -78 22q-332 -114 -332 -354zM215 1083q0 -137 100 -229q102 -92 275 -135l41 -10q125 43 209 139q82 94 82 213q0 139 -94.5 227t-270.5 88q-133 0 -266 -84 q-76 -94 -76 -209z" />
+<glyph unicode="9" horiz-adv-x="1155" d="M117 743q0 203 106 314q104 106 344 106q436 0 437 -755q0 -315 -121 -496q-121 -178 -359 -178q-207 0 -372 98l22 37q151 -98 350 -98q438 0 439 657q-164 -90 -428 -90q-186 0 -304 106q-114 104 -114 299zM158 741q0 -182 102 -274q104 -94 277 -94q264 0 424 92 q-6 329 -99 498q-92 168 -295 167q-172 0 -311 -81q-98 -121 -98 -308z" />
+<glyph unicode=":" d="M188 57q0 27 16.5 43.5t41.5 16.5q27 0 43 -16.5t16 -43.5q0 -23 -18 -41q-16 -16 -41 -16q-23 0 -41 18q-17 16 -17 39zM188 924q0 27 16.5 43t41.5 16q27 0 43 -16.5t16 -42.5q0 -23 -18 -41q-16 -16 -41 -16.5t-41.5 16t-16.5 41.5z" />
+<glyph unicode=";" d="M178 -104q47 51 68 104q-23 0 -41 18q-16 16 -17 39q0 27 16.5 43.5t41 16.5t43.5 -19q16 -16 16 -49q0 -78 -100 -180zM188 924q0 27 16.5 43t41.5 16q27 0 43 -16.5t16 -42.5q0 -23 -18 -41q-16 -16 -41 -16.5t-41.5 16t-16.5 41.5z" />
+<glyph unicode="&#x3c;" horiz-adv-x="894" d="M123 471v41l590 461l22 -27l-579 -454l579 -455l-22 -27z" />
+<glyph unicode="=" horiz-adv-x="950" d="M123 379v41h706v-41h-706zM123 645v41h706v-41h-706z" />
+<glyph unicode="&#x3e;" horiz-adv-x="894" d="M162 37l579 455l-579 454l22 27l590 -461v-41l-590 -461z" />
+<glyph unicode="?" horiz-adv-x="835" d="M78 1407q86 27 203 27q218 0 337 -142q121 -143 121 -391q0 -70 -110 -137q-113 -70 -373 -160q-20 -20 -20 -72q-4 -96 36 -206l-36 -15q-43 123 -43 228q0 33 18 63.5t45 38.5q324 121 428 207q14 27 14 70q0 199 -110 339q-109 139 -307 140q-109 0 -152 -8l-4 -215 h-29zM262 57q0 27 16.5 43.5t40.5 16.5q27 0 43.5 -16.5t16.5 -43.5q0 -25 -16.5 -41t-43.5 -16q-23 0 -40 18q-17 16 -17 39z" />
+<glyph unicode="@" horiz-adv-x="1753" d="M164 541q0 283 202.5 487.5t532.5 204.5q307 0 499.5 -180.5t192.5 -473t-151 -456.5h-279l-10 84q-109 -94 -277 -94q-158 0 -251 106q-92 104 -93 293q0 193 92.5 311.5t272.5 118.5q139 0 256 -92l12 84h25v-770l233 -10q129 137 129 426q0 283 -178 448 q-176 164 -473 164q-145 0 -250 -35q-88 -29 -223 -110q-221 -221 -221 -502q0 -305 194 -482q193 -174 525 -174h264l2 -14q-147 -23 -285 -22q-338 0 -538 186q-203 187 -203 502zM571 512q0 -172 80 -268q80 -94 223 -94q158 0 273 96v559q-100 100 -256 100 q-131 0 -240 -84q-80 -125 -80 -309z" />
+<glyph unicode="A" horiz-adv-x="1488" d="M20 0l3 20l159 11l527 1403h67l531 -1401l163 -13l-2 -20h-409l2 20l203 11l-158 415h-727l-156 -415l205 -11l-2 -20h-406zM391 483h701l-347 918h-10z" />
+<glyph unicode="B" horiz-adv-x="1257" d="M102 0l2 20l213 11v1372l-200 10l2 21h565q188 0 293 -103q109 -104 108 -268q0 -273 -233 -338q123 -35 192 -127q72 -96 72 -223q0 -166 -102 -269q-106 -106 -340 -106h-572zM358 41q78 -10 295 -10q244 0 369 119q53 89 53 212v13q-4 147 -100 239q-96 90 -260 91 h-357v-664zM358 741h357q121 0 213 45q117 106 116 275q0 147 -98 242q-100 96 -270 96h-318v-658z" />
+<glyph unicode="C" horiz-adv-x="1404" d="M143 707q0 356 183 550q180 193 473 193q262 0 444 -74l6 -30l-14 -283l-29 2l2 272q-150 76 -407 76q-174 0 -361 -96q-135 -117 -194 -256q-61 -143 -62 -354q0 -317 160 -502t447 -185q147 0 253 25q98 23 226 94l14 -30q-113 -68 -231 -97q-115 -29 -262 -28 q-303 0 -475.5 192.5t-172.5 530.5z" />
+<glyph unicode="D" horiz-adv-x="1519" d="M102 0l2 20l203 11v1372l-190 10l2 21h485q369 0 571.5 -184.5t202.5 -530.5q0 -336 -182 -529q-180 -190 -532 -190h-562zM348 37q49 -6 316 -6q180 0 292 43q119 45 215 129q86 113 125 225q41 117 41 291q0 338 -190.5 510t-560.5 172q-180 0 -238 -8v-1356z" />
+<glyph unicode="E" horiz-adv-x="1200" d="M143 1413l2 21h914l-6 -332l-25 2l-12 297h-635v-660h442l19 191l24 -2v-398l-24 3l-19 174h-442v-676h670l10 305l24 -2l5 -336h-945l2 20l193 11v1372z" />
+<glyph unicode="F" horiz-adv-x="1150" d="M143 1413l2 21h906l-7 -330l-24 2l-12 291h-631v-662h416l14 164l24 -2v-385l-24 2l-14 184h-416v-667l264 -11l-2 -20h-494l2 20l189 11v1372z" />
+<glyph unicode="G" horiz-adv-x="1527" d="M143 713q0 356 194.5 546.5t512.5 190.5q227 0 418 -88l14 -29l-33 -286l-28 2l18 284q-55 29 -174 56q-111 25 -215 24q-184 0 -371 -78q-295 -201 -295 -624q0 -313 162 -502t436 -189q258 0 439 164v363l-328 12v23h532v-27l-163 -8v-547h-29l-10 137 q-184 -154 -441 -153q-289 0 -465 200q-174 199 -174 529z" />
+<glyph unicode="H" horiz-adv-x="1540" d="M102 0l2 20l177 11v1372l-162 10l2 21h373l-2 -21l-170 -10v-651h897v651l-168 10l2 21h379l-2 -21l-170 -10v-1372l180 -11l-2 -20h-394l3 20l172 11v684h-897v-684l180 -11l-2 -20h-398z" />
+<glyph unicode="I" horiz-adv-x="768" d="M164 1413l2 21h430l-2 -21l-191 -10v-1372l203 -11l-2 -20h-438l2 20l190 11v1372z" />
+<glyph unicode="J" horiz-adv-x="768" d="M158 1413l2 21h446l-2 -21l-198 -10v-1241q0 -147 -46 -236q-47 -92 -170 -184l-20 22q113 94 149 173q41 88 41 215v1251z" />
+<glyph unicode="K" horiz-adv-x="1361" d="M143 1413l2 21h424l-2 -21l-184 -10v-666h68l622 666l-151 10l2 21h338l-2 -21l-136 -10l-632 -674v-14q131 -158 348 -373q209 -209 356 -311l127 -11l-2 -20h-150q-139 104 -358 319q-203 199 -362 383h-68v-671l199 -11l-2 -20h-416l2 20l172 11v1372z" />
+<glyph unicode="L" horiz-adv-x="1095" d="M143 0l2 20l193 11v1372l-170 10l2 21h436l-2 -21l-225 -10v-1370h625l14 346l26 -2l3 -377h-904z" />
+<glyph unicode="M" horiz-adv-x="2041" d="M123 0l2 20l172 11l119 1372l-164 10l2 21h414l-2 -21l-174 -10l542 -1311h4l525 1311l-146 10l2 21h357l-2 -21l-146 -10l125 -1372l168 -11v-20h-389l2 20l172 11l-113 1345l-532 -1335h-53l-553 1337l-113 -1347l172 -11l-2 -20h-389z" />
+<glyph unicode="N" horiz-adv-x="1769" d="M143 1413l2 21h248l1028 -1371v1340l-196 10l2 21h432l-2 -21l-195 -10v-1403h-39l-1032 1372v-1341l219 -11l-2 -20h-461l3 20l200 11v1372z" />
+<glyph unicode="O" horiz-adv-x="1624" d="M143 698q0 338 184.5 545t475.5 207q324 0 502 -200.5t178 -532.5q0 -348 -180.5 -540.5t-497.5 -192.5q-286 0 -473 196q-189 199 -189 518zM184 696q0 -295 178.5 -483t442.5 -188q152 0 262 43q119 47 213 129q162 229 162 518q0 313 -166 503.5t-477 190.5 q-227 0 -416 -149q-199 -238 -199 -564z" />
+<glyph unicode="P" horiz-adv-x="1230" d="M143 0l2 23l187 8v1372l-189 10l2 21h545q197 0 309 -109q111 -109 111 -299q0 -217 -108.5 -313.5t-346.5 -96.5h-282v-585l233 -11l-2 -20h-461zM373 653h307q174 0 293 70q94 113 94 303q0 174 -100 274q-96 96 -285 97h-309v-744z" />
+<glyph unicode="Q" horiz-adv-x="1624" d="M143 698q0 338 184.5 545t475.5 207q324 0 502 -200.5t178 -532.5q0 -248 -97 -422q-96 -172 -272 -252q98 -125 309 -236q188 -96 463 -129l-6 -36q-272 29 -467 127q-223 113 -340 258q-127 -43 -268 -43q-286 0 -473 196q-189 199 -189 518zM184 696 q0 -295 178.5 -483t442.5 -188q152 0 262 43q119 47 213 129q162 229 162 518q0 313 -166 503.5t-477 190.5q-227 0 -416 -149q-199 -238 -199 -564z" />
+<glyph unicode="R" horiz-adv-x="1394" d="M150 1413l2 21h536q217 0 330 -113q115 -115 115 -305q0 -158 -101 -258q-102 -102 -264 -127q55 -135 174 -324q111 -178 201 -276l139 -11l-2 -20h-162q-96 109 -209 289q-117 184 -186 338q-10 -2 -51 -2h-285v-594l188 -11l-2 -20h-413l2 20l184 11v1372zM387 662 h188q175 0 265 24q86 25 170 94q88 113 88 234q0 176 -106.5 280.5t-321.5 104.5h-283v-737z" />
+<glyph unicode="S" horiz-adv-x="1243" d="M205 88l35 373l30 -2l-24 -371q154 -68 346 -68q180 0 323 95q84 102 84 200q0 131 -81 222q-84 92 -287 170q-230 86 -320 172t-90 231q0 158 127 248q129 92 318 92q143 0 313 -47l8 -23l-26 -250l-31 3l12 237q-126 43 -276 43q-168 0 -314 -90q-86 -94 -86 -213 q0 -137 76 -206.5t295 -155.5q213 -82 309 -187q94 -104 94 -246q0 -133 -118 -233q-117 -98 -330 -98q-127 0 -207 18q-72 16 -174 59z" />
+<glyph unicode="T" horiz-adv-x="1251" d="M61 1434h1131l-6 -338l-25 2l-10 301h-504v-1368l215 -11l-2 -20h-467l2 20l211 11v1368h-506l-8 -303l-24 -2z" />
+<glyph unicode="U" horiz-adv-x="1576" d="M135 1413l2 21h400l-2 -21l-175 -10v-846q0 -281 101 -407q101 -129 350 -130q213 0 344 109q52 77 74 172q23 100 22 256v846l-174 10l2 21h387l-2 -21l-176 -10v-862q0 -285 -102 -422q-101 -135 -375 -135q-264 0 -379 139q-113 137 -113 418v862z" />
+<glyph unicode="V" horiz-adv-x="1552" d="M20 1413l3 21h440l-2 -21l-232 -10l547 -1366h4l537 1366l-201 10l2 21h416l-2 -21l-174 -10l-553 -1403h-57l-564 1403z" />
+<glyph unicode="W" horiz-adv-x="2234" d="M20 1413l3 21h409l-2 -21l-201 -10l461 -1370h2l387 1124l-86 246l-182 10l2 21h477l-2 -21l-250 -10l482 -1370h4l469 1370l-217 10l2 21h438l-2 -21l-180 -10l-482 -1403h-65l-387 1098l-377 -1098h-66l-473 1403z" />
+<glyph unicode="X" horiz-adv-x="1458" d="M20 0l3 20l151 11l510 721l-494 651l-133 10l2 21h344l-2 -21l-159 -10l471 -621l446 621l-176 10l2 21h375l-2 -21l-150 -10l-473 -651l549 -721l156 -11l-2 -20h-389l2 20l180 11l-524 690l-488 -690l174 -11l-2 -20h-371z" />
+<glyph unicode="Y" horiz-adv-x="1380" d="M20 1413l3 21h415l-2 -21l-203 -10l451 -737h4l467 737l-190 10l2 21h395l-2 -21l-162 -10l-496 -785v-587l195 -11l-2 -20h-444l2 20l209 11v592l-478 780z" />
+<glyph unicode="Z" horiz-adv-x="1476" d="M184 39l1061 1358h-971l-10 -350l-28 2l-15 385h1067l6 -39l-1058 -1358h995l16 356l29 -2l2 -391h-1090z" />
+<glyph unicode="[" horiz-adv-x="669" d="M256 -176v1659h252v-37h-211v-1585h211v-37h-252z" />
+<glyph unicode="\" horiz-adv-x="548" d="M72 1536h41l366 -1679h-41z" />
+<glyph unicode="]" horiz-adv-x="669" d="M164 -139h211v1585h-211v37h252v-1659h-252v37z" />
+<glyph unicode="^" horiz-adv-x="987" d="M225 1155l248 322h41l248 -322l-37 -10l-231 287l-232 -287z" />
+<glyph unicode="_" horiz-adv-x="1114" d="M41 -211h1034v-37h-1034v37z" />
+<glyph unicode="`" horiz-adv-x="1124" d="M360 1466l50 11l247 -322l-36 -10z" />
+<glyph unicode="a" horiz-adv-x="1130" d="M113 227q0 125 39 209q242 53 655 72v115q0 160 -76 251q-74 90 -225 91q-131 0 -260 -37l-2 -242l-33 -2l-18 242l6 28q141 45 307 45q342 0 342 -372v-596l182 -11l-2 -20h-211l-10 190q-176 -207 -408 -206q-141 0 -213 69q-73 70 -73 174zM154 238q0 -96 63 -158 q65 -61 184 -62q125 0 232 66q102 63 174 160v229q-424 -14 -625 -67q-28 -80 -28 -168z" />
+<glyph unicode="b" horiz-adv-x="1138" d="M61 1561v22l170 14h43l7 -51v-690q66 61 165 102q98 41 187 41q169 0 276 -122q109 -125 109 -375q0 -238 -119 -377q-121 -141 -342 -141q-205 0 -317 69v1508h-179zM281 80q129 -59 276 -60q172 0 303 99q57 76 86 164q27 82 27 217q0 233 -94 350q-92 113 -248 113 q-102 0 -219 -52q-66 -41 -131 -110v-721z" />
+<glyph unicode="c" horiz-adv-x="1024" d="M123 502q0 225 127 362q127 135 325 135q188 0 306 -67l8 -37l-31 -227l-33 2l21 235q-23 12 -117 37q-82 20 -151 21q-141 0 -279 -91q-135 -152 -135 -368q0 -227 100 -354q100 -129 291 -130q188 0 330 97l16 -29q-147 -104 -348 -104q-203 0 -317 139 q-113 137 -113 379z" />
+<glyph unicode="d" horiz-adv-x="1150" d="M123 481q0 250 125 383q126 135 325 135q186 0 299 -84v646h-178v22l170 14h43l6 -51v-1515l179 -11l-2 -20h-207l-11 96q-121 -113 -321 -112q-186 0 -307 139t-121 358zM164 483q0 -199 108 -331q106 -131 281 -132q109 0 219 43q41 27 100 82v723q-113 94 -299 95 q-123 0 -251 -68q-158 -164 -158 -412z" />
+<glyph unicode="e" horiz-adv-x="1050" d="M123 498q0 224 123 362q123 139 319 139q178 0 276.5 -118.5t98.5 -341.5l-12 -54l-764 -10q6 -213 114.5 -334t297 -121t339.5 107l17 -27q-137 -117 -357 -116q-211 0 -331.5 139t-120.5 375zM164 512l737 14q0 211 -90 324q-88 109 -246 113q-127 0 -254 -78 q-143 -156 -147 -373z" />
+<glyph unicode="f" horiz-adv-x="776" d="M82 958l2 25h207v168q0 182 88 283q90 102 239 102q119 0 228 -35l14 -37l-18 -194l-29 2l12 201q-98 33 -206.5 32.5t-212.5 -80.5q-74 -98 -74 -274v-168h309l-2 -25l-307 -12v-915l205 -11l-2 -20h-400l2 20l154 11v915z" />
+<glyph unicode="g" horiz-adv-x="1095" d="M119 -223q0 129 98 233q-55 37 -55 133q0 109 102 248q-113 86 -112 266q0 143 94 244q92 98 248 98q168 0 260 -96l102 58l35 172h29l-25 -195l-125 -53q68 -83 68 -221q0 -164 -90 -252q-94 -90 -250 -90q-119 0 -201 47q-94 -137 -94 -226q0 -123 143 -123h426 q117 0 170 -40.5t53 -131.5q0 -150 -135 -241.5t-354 -91.5q-188 0 -287 73q-100 76 -100 189zM160 -225q0 -95 92 -160q90 -63 256 -64q203 0 325.5 80t122.5 217q0 74 -43 105t-145 31h-440q-39 0 -76 10q-92 -96 -92 -219zM193 655q0 -139 79.5 -219t223.5 -80 q123 0 225 68q76 88 76 240q0 141 -80 221q-78 78 -223 78q-86 0 -197 -56q-104 -105 -104 -252z" />
+<glyph unicode="h" horiz-adv-x="1261" d="M102 1561v22l170 14h43l7 -51v-741q123 195 344 194q360 0 360 -381v-587l176 -11l-2 -20h-215v614q0 346 -319 347q-96 0 -199 -43q-96 -88 -145 -185v-702l178 -11l-2 -20h-383l2 20l164 11v1530h-179z" />
+<glyph unicode="i" horiz-adv-x="595" d="M123 963l2 20h201l6 -43v-909l164 -11l-2 -20h-355l2 20l150 11v921zM236 1319q0 18 18 37q20 20 37 20q18 0 38.5 -20.5t20.5 -38.5q0 -20 -18.5 -38.5t-39 -18.5t-38.5 18t-18 41z" />
+<glyph unicode="j" horiz-adv-x="573" d="M102 -281q96 59 142 138q47 82 47 219v876l-168 11l2 20h201l6 -43v-854q0 -141 -49.5 -233.5t-163.5 -157.5zM236 1319q0 18 18 37q20 20 37 20q18 0 38.5 -20.5t20.5 -38.5q0 -20 -18.5 -38.5t-39 -18.5t-38.5 18t-18 41z" />
+<glyph unicode="k" horiz-adv-x="1077" d="M102 1561v22l170 14h43l7 -51v-1005h77l365 411l-129 11l2 20h293l-2 -20l-115 -11l-375 -420v-16q169 -233 449 -485l151 -11l-2 -20h-170q-258 227 -467 504h-77v-473l178 -11l-2 -20h-383l2 20l164 11v1530h-179z" />
+<glyph unicode="l" horiz-adv-x="620" d="M123 1561v22l170 14h43l6 -51v-1515l178 -11l-2 -20h-383l2 20l164 11v1530h-178z" />
+<glyph unicode="m" horiz-adv-x="1923" d="M82 946v25l172 12h37l10 -63v-113q123 193 338 192q274 0 336 -227q63 113 149 170t209 57q354 0 355 -381v-587l176 -11l-2 -20h-215v614q0 166 -72 256.5t-242 90.5q-95 0 -190 -43q-100 -88 -156 -203q6 -47 6 -97v-587l176 -11l-2 -20h-215v614q0 166 -71.5 256.5 t-241.5 90.5q-95 0 -190 -43q-90 -76 -148 -185v-702l164 -11l-2 -20h-352l2 20l147 11v915h-178z" />
+<glyph unicode="n" horiz-adv-x="1241" d="M82 946v25l172 12h37l10 -65v-113q123 195 344 194q360 0 361 -381v-587l176 -11l-2 -20h-215v614q0 346 -320 347q-101 0 -196 -43q-92 -77 -148 -185v-702l164 -11l-2 -20h-352l2 20l147 11v915h-178z" />
+<glyph unicode="o" horiz-adv-x="1122" d="M123 492q0 242 127 374.5t328 132.5q184 0 303 -135q121 -137 120 -379q0 -229 -108 -366q-106 -135 -313 -135q-223 0 -340 139.5t-117 368.5zM168 489q0 -209 106 -339q104 -129 306 -130q133 0 260 86q61 82 90 166q29 82 28 215q0 219 -110 349q-109 127 -277 127 q-137 0 -256 -76q-147 -150 -147 -398z" />
+<glyph unicode="p" horiz-adv-x="1181" d="M82 946v25l172 12h37l10 -147q135 164 367 163q76 0 137 -26q68 -29 125 -80t94 -148q37 -94 37 -219q0 -255 -105 -399q-104 -143 -299 -143q-224 0 -356 104v-528l164 -11l-2 -20h-352l2 20l147 11v1386h-178zM301 133q127 -113 354 -113q137 0 238 82q68 86 96 174 q31 92 31 242q0 231 -106.5 338t-258.5 107q-135 0 -243 -60q-70 -59 -111 -125v-645z" />
+<glyph unicode="q" horiz-adv-x="1153" d="M123 500q0 215 127 358q127 141 311 141q182 0 311 -112l11 96h28v-1423l162 -11l-2 -20h-360l2 20l157 11v532q-145 -109 -313 -108q-211 0 -324 137q-110 135 -110 379zM164 500q0 -223 98 -353q96 -127 297 -127q104 0 225 50q63 49 86 71v697q-113 125 -311 125 q-123 0 -264 -103q-131 -145 -131 -360z" />
+<glyph unicode="r" horiz-adv-x="823" d="M82 946v25l172 12h37q10 -66 10 -174q80 86 201 135q127 53 254 55l8 -30l-8 -215l-27 2l-6 207q-274 -25 -422 -205v-727l164 -11l-2 -20h-352l2 20l147 11v915h-178z" />
+<glyph unicode="s" horiz-adv-x="913" d="M143 86l35 217l29 -2l-21 -231q98 -49 269 -50q135 0 225 50q51 63 51 155q0 76 -53 131q-55 59 -211 123t-225 127q-68 61 -68 154q0 121 96.5 180t212.5 59q125 0 267 -43l4 -22l-27 -195l-33 4l15 187q-92 33 -230 33q-104 0 -209 -56q-51 -53 -51 -141q0 -78 62 -133 q55 -51 202 -119q160 -72 224 -129q66 -59 65 -160q0 -115 -82 -178t-235 -63q-184 0 -305 57z" />
+<glyph unicode="t" horiz-adv-x="710" d="M82 958l2 25h203l16 301l25 2v-303h309l-2 -25l-307 -6v-749q0 -80 43 -125t106 -45h172l2 -15q-92 -18 -172 -18q-92 0 -141 59q-51 61 -51 162v731z" />
+<glyph unicode="u" horiz-adv-x="1282" d="M102 946v21l166 16h47l9 -63v-564q0 -162 82 -250q80 -86 202 -86q145 0 271 60q76 70 120 135v731h-180v21l164 16h51l6 -63v-889l162 -11l-2 -20h-188l-13 156q-139 -172 -391 -172q-141 0 -233 96t-92 266v600h-181z" />
+<glyph unicode="v" horiz-adv-x="1157" d="M10 963l2 20h359l-2 -20l-174 -11l389 -919h8l373 919l-160 11l2 20h342l-2 -20l-137 -11l-392 -952h-65l-403 952z" />
+<glyph unicode="w" horiz-adv-x="1603" d="M10 963l2 20h328l-2 -20l-152 -11l320 -913h6l276 715l-67 198l-154 11l2 20h408l-2 -20l-211 -11l315 -913h6l324 913l-166 11l2 20h350l-2 -20l-143 -11l-340 -952h-59l-244 700l-270 -700h-58l-338 952z" />
+<glyph unicode="x" horiz-adv-x="1089" d="M31 0l2 20l129 11l348 481l-340 440l-125 11l2 20h322l-2 -20l-140 -11l314 -409l295 409l-146 11l2 20h326l-2 -20l-131 -11l-322 -440l369 -481l129 -11l-2 -20h-330l2 20l152 11l-351 452l-323 -452l162 -11l-2 -20h-338z" />
+<glyph unicode="y" horiz-adv-x="1181" d="M10 963l2 20h330l-2 -20l-150 -11l369 -915h31l373 915l-162 11l2 20h371l-3 -20l-163 -11l-451 -1079q-125 -297 -379 -297h-135l-8 14l6 29l10 6l129 -14q238 0 348 276l47 117l-30 -4l-21 23l-379 929z" />
+<glyph unicode="z" horiz-adv-x="1064" d="M133 45l737 901h-673l-2 -291l-31 2l-14 295l6 31h751l6 -45l-733 -901h709l6 299l31 -2l8 -297l-4 -37h-793z" />
+<glyph unicode="{" horiz-adv-x="671" d="M143 621v51q43 0 78 28q33 27 33 88v492q0 203 156 203h100v-37h-96q-61 0 -90 -37q-29 -39 -29 -133v-494q0 -57 -33 -96q-31 -37 -65 -37v-6q31 0 65 -47q33 -45 33 -109v-497q0 -129 102 -129h113v-37h-117q-68 0 -104 43q-35 41 -35 117v495q0 63 -33 102.5t-78 39.5 z" />
+<glyph unicode="|" horiz-adv-x="428" d="M195 -143v1679h41v-1679h-41z" />
+<glyph unicode="}" horiz-adv-x="671" d="M164 -139h96q61 0 90 39t29 131v493q0 59 30.5 96t67.5 37v7q-31 0 -65 47q-33 45 -33 108v498q0 129 -103 129h-112v37h117q68 0 104 -43q35 -41 35 -117v-496q0 -63 32.5 -102t77.5 -39v-51q-43 0 -77 -29q-33 -27 -33 -88v-491q0 -203 -156 -203h-100v37z" />
+<glyph unicode="~" horiz-adv-x="1189" d="M215 1257q117 139 174 140q41 0 207 -72t207 -72l131 133l29 -14q-111 -150 -175 -149q-59 0 -221 71q-158 70 -207 70l-116 -123z" />
+<glyph unicode="&#xa2;" horiz-adv-x="989" d="M143 502q0 215 113 346q117 135 293 149v185h41v-183q197 0 311 -67l8 -37l-30 -227q-2 0 -7.5 1t-9.5 1h-16l20 235q-20 12 -118 37q-82 20 -158 21v-943q176 0 315 97l17 -29q-144 -101 -332 -104v-154h-41v154q-193 8 -299.5 145t-106.5 373zM184 504q0 -217 92 -346 q92 -127 273 -138v941q-104 -10 -230 -89q-135 -150 -135 -368z" />
+<glyph unicode="&#xa3;" horiz-adv-x="1214" d="M119 0l2 20l203 11v626h-150v37h150v185q0 287 108 430q108 141 338 141q154 0 305 -78l4 -29l-28 -215l-23 2l16 218q-147 66 -274 65q-164 0 -295 -96q-80 -125 -94 -221q-16 -109 -16 -402h516v-37h-516v-624h708l12 297l29 -2l4 -328h-999z" />
+<glyph unicode="&#xa5;" horiz-adv-x="1380" d="M20 1413l3 21h415l-2 -21l-203 -10l451 -737h4l467 737l-190 10l2 21h395l-2 -21l-162 -10l-496 -785v-587l195 -11l-2 -20h-444l2 20l209 11v592l-478 780zM254 629v37h860v-37h-414l-4 -8v-125h420v-37h-860v37h414v125l-4 8h-412z" />
+<glyph unicode="&#xa9;" horiz-adv-x="1662" d="M186 715q0 295 176.5 471t468.5 176q297 0 474 -176q174 -174 174 -471q0 -287 -176 -467q-176 -178 -472 -178q-287 0 -466 180q-179 178 -179 465zM227 714.5q0 -274.5 164 -440.5q166 -168 440.5 -168t440.5 168t166 441q0 281 -162 444q-162 166 -445 166 q-276 0 -440 -168t-164 -442.5zM498 702q0 172 96 268.5t246 96.5q139 0 229 -39l6 -18l-14 -148l-29 2l2 137q-76 35 -196 35q-82 0 -174 -43q-121 -109 -121 -291q0 -150 75 -233q78 -86 218 -86q137 0 243 57l13 -24q-114 -68 -258 -68q-156 0 -246 96t-90 258z" />
+<glyph unicode="&#xad;" horiz-adv-x="909" d="M143 520v41h625v-41h-625z" />
+<glyph unicode="&#xae;" horiz-adv-x="1662" d="M186 715q0 295 176.5 471t468.5 176q297 0 474 -176q174 -174 174 -471q0 -287 -176 -467q-176 -178 -472 -178q-287 0 -466 180q-179 178 -179 465zM227 714.5q0 -274.5 164 -440.5q166 -168 440.5 -168t440.5 168t166 441q0 281 -162 444q-162 166 -445 166 q-276 0 -440 -168t-164 -442.5zM555 1047l2 22h285q111 0 172 -55.5t61 -149.5q0 -78 -51 -129q-47 -47 -129 -63q37 -76 88 -154q53 -80 96 -123l72 -6l-2 -22h-96q-51 53 -107 139q-59 92 -92 162h-158v-273l97 -6l-2 -22h-230v22l94 6v645zM696 696h129q98 0 154 43 q57 45 57 121q0 80 -53 129q-52 49 -154 49h-133v-342z" />
+<glyph unicode="&#xb4;" horiz-adv-x="1124" d="M387 1155l248 322l49 -11l-260 -321z" />
+<glyph unicode="&#x2000;" horiz-adv-x="823" />
+<glyph unicode="&#x2001;" horiz-adv-x="1650" />
+<glyph unicode="&#x2002;" horiz-adv-x="823" />
+<glyph unicode="&#x2003;" horiz-adv-x="1650" />
+<glyph unicode="&#x2004;" horiz-adv-x="548" />
+<glyph unicode="&#x2005;" horiz-adv-x="411" />
+<glyph unicode="&#x2006;" horiz-adv-x="274" />
+<glyph unicode="&#x2007;" horiz-adv-x="274" />
+<glyph unicode="&#x2008;" horiz-adv-x="204" />
+<glyph unicode="&#x2009;" horiz-adv-x="329" />
+<glyph unicode="&#x200a;" horiz-adv-x="90" />
+<glyph unicode="&#x2010;" horiz-adv-x="909" d="M143 520v41h625v-41h-625z" />
+<glyph unicode="&#x2011;" horiz-adv-x="909" d="M143 520v41h625v-41h-625z" />
+<glyph unicode="&#x2012;" horiz-adv-x="909" d="M143 520v41h625v-41h-625z" />
+<glyph unicode="&#x2013;" horiz-adv-x="1155" d="M143 520v41h871v-41h-871z" />
+<glyph unicode="&#x2014;" horiz-adv-x="1441" d="M143 520v41h1157v-41h-1157z" />
+<glyph unicode="&#x2018;" d="M203 1376q0 78 100 180l27 -26q-47 -51 -68 -105q23 0 39 -16q18 -18 18 -41q0 -25 -18 -43q-16 -16 -39 -16q-25 0 -43 18q-16 16 -16 49z" />
+<glyph unicode="&#x2019;" d="M178 1214q47 51 68 105q-23 0 -41 18q-16 16 -17 39q0 27 16.5 43.5t41 16.5t43.5 -19q16 -16 16 -49q0 -78 -100 -180z" />
+<glyph unicode="&#x201c;" horiz-adv-x="692" d="M178 1380q0 78 101 181l26 -27q-52 -58 -67 -104q25 0 41 -16.5t16 -41t-19 -43.5q-16 -16 -38 -16q-25 0 -43 18q-17 16 -17 49zM375 1380q0 78 100 181l27 -27q-47 -51 -68 -104q25 0 41.5 -16.5t16.5 -41.5q0 -27 -16.5 -43t-41 -16t-43.5 18q-16 16 -16 49z" />
+<glyph unicode="&#x201d;" horiz-adv-x="692" d="M178 1212q47 51 68 105q-23 0 -41 18q-16 16 -17 39q0 27 16.5 43.5t41 16.5t43.5 -19q16 -16 16 -49q0 -78 -100 -180zM375 1212q52 58 67 105q-23 0 -41 18q-16 16 -16 39q0 25 18 43q16 16 39 17q25 0 43 -19q16 -16 17 -49q0 -78 -101 -180z" />
+<glyph unicode="&#x2022;" horiz-adv-x="608" d="M221 459q0 35 21 55q23 23 53 23q33 0 55.5 -22.5t22.5 -55.5q0 -29 -22.5 -51.5t-55.5 -22.5q-31 0 -53 23q-21 20 -21 51z" />
+<glyph unicode="&#x2026;" horiz-adv-x="983" d="M184 57q0 27 16.5 43.5t41.5 16.5q27 0 43 -16.5t16 -43.5q0 -23 -18 -41q-16 -16 -41 -16q-23 0 -41 18q-17 16 -17 39zM434 57q0 27 16.5 43.5t41.5 16.5q27 0 43 -16.5t16 -43.5q0 -23 -19 -41q-16 -16 -40 -16q-23 0 -41 18q-17 16 -17 39zM684 57q0 25 18 43 q16 16 39 17q27 0 43.5 -16.5t16.5 -43.5q0 -25 -16.5 -41t-43.5 -16q-23 0 -41 18q-16 16 -16 39z" />
+<glyph unicode="&#x202f;" horiz-adv-x="329" />
+<glyph unicode="&#x205f;" horiz-adv-x="411" />
+<glyph unicode="&#x20ac;" horiz-adv-x="1505" d="M31 563v41h217q-4 45 -4 103q0 70 2 88h-215v41h219q33 295 211 456q172 158 438 158q264 0 444 -74l7 -30l-15 -283l-28 2l2 272q-150 76 -408 76q-178 0 -360 -96q-219 -186 -250 -481h610v-41h-614q-2 -18 -2 -88q0 -16 4 -103h612v-41h-608q33 -252 190 -399 q152 -143 408 -144q145 0 254 25q98 23 225 94l14 -30q-113 -68 -231 -97q-115 -29 -262 -28q-267 0 -436 153q-170 154 -203 426h-221z" />
+<glyph unicode="&#x2122;" horiz-adv-x="1888" d="M68 1434h637l-5 -191l-28 2l-6 158h-258v-701l114 -6v-22h-272v22l115 6v701h-259l-6 -158l-28 -2zM795 674l2 22l94 6l63 703l-92 6l2 23h252l-2 -23l-94 -6l285 -660h2l274 660l-80 6l2 23h219l-2 -23l-80 -6l66 -703l92 -6v-22h-229l2 22l92 6l-59 676l-279 -684h-47 l-293 684l-55 -676l94 -6l-2 -22h-227z" />
+<glyph unicode="&#xe000;" horiz-adv-x="985" d="M0 985h985v-985h-985v985z" />
+<glyph unicode="&#xfb01;" horiz-adv-x="1333" d="M82 958l2 25h207v127q0 175 117 295q117 119 315 119q160 0 260 -72t100 -135l-36 -2l-13 24q-23 70 -102 111q-83 43 -209 43q-162 0 -295 -102q-96 -131 -96 -287v-121h309l-2 -25l-307 -12v-915l205 -11l-2 -20h-400l2 20l154 11v915zM860 963l2 20h201l6 -43v-909 l164 -11l-2 -20h-354l2 20l149 11v921zM969 1319q0 18 18 37q20 20 37 20q18 0 38.5 -20.5t20.5 -38.5q0 -20 -18 -38.5t-39 -18.5q-23 0 -41 18q-16 16 -16 41z" />
+<glyph unicode="&#xfb02;" horiz-adv-x="1337" d="M82 958l2 25h207v168q0 184 108.5 286.5t296.5 102.5q246 0 353 -86l-21 -22q-131 78 -332 77q-86 0 -149 -24q-72 -29 -141 -80q-74 -98 -74 -254v-168h309l-2 -25l-307 -12v-915l205 -11l-2 -20h-400l2 20l154 11v915zM852 0l2 20l164 11v1566h35l6 -51v-1515l178 -11 l-2 -20h-383z" />
+<glyph unicode="&#xfb03;" horiz-adv-x="2172" d="M82 958l2 25h207v168q0 184 80 280.5t231 96.5q111 0 219 -35l15 -37l-19 -194l-29 2l13 200q-98 33 -199 33q-111 0 -207 -74q-63 -113 -63 -272v-168h659v115q0 193 119 309.5t311 116.5q164 0 265 -72q98 -71 98 -135q0 -20 -18.5 -38.5t-39.5 -18.5q-23 0 -40 18 q-16 16 -17 41q0 16 17 37q14 18 32 20q-86 117 -288 117q-158 0 -302 -102q-96 -125 -96 -297v-111h731l6 -43v-909l164 -11l-2 -20h-354l2 20l150 11v915h-697v-915l205 -11l-2 -20h-399l2 20l153 11v915h-659v-915l205 -11l-2 -20h-400l2 20l154 11v915z" />
+<glyph unicode="&#xfb04;" horiz-adv-x="2037" d="M82 958l2 25h207v168q0 184 80 280.5t231 96.5q111 0 219 -35l15 -37l-19 -194l-29 2l13 200q-98 33 -199 33q-111 0 -207 -74q-63 -113 -63 -272v-168h659v162q0 186 104.5 290.5t301.5 104.5q201 0 321 -63v120h35l6 -51v-1515l178 -11l-2 -20h-383l2 20l164 11v1407 q-139 72 -321 71q-150 0 -291 -104q-74 -101 -74 -270v-152h309l-2 -25l-307 -12v-915l205 -11l-2 -20h-399l2 20l153 11v915h-659v-915l205 -11l-2 -20h-400l2 20l154 11v915z" />
+</font>
+</defs></svg>
BIN  fonts/StMarie-Thin-webfont.ttf
Binary file not shown
BIN  fonts/StMarie-Thin-webfont.woff
Binary file not shown
51 footer.php
@@ -0,0 +1,51 @@
+<!--BEGIN: Footer Section-->
+<footer id="footer" class="clear-fix">
+
+ <!--BEGIN: Footer Nav-->
+ <nav role="navigation">
+ <h1>Footer Navigation</h1>
+ <ul class="horiz-list">
+ <?php wp_nav_menu('menu=footerNav'); // create the footerNav menu inside Appearance menus and go to town -- for more on menus see: http://templatic.com/news/wordpress-3-0-menu-management ?>
+ </ul>
+ </nav>
+ <!--END: Footer Nav-->
+
+ <!--BEGIN: Optional Contact Info using microformats: http://microformats.org/-->
+ <!--dl class="vcard">
+ <dt class="org fn">OrgName or Full Name of person - remove one or the other class</dt>
+ <dd class="adr">
+ <span class="street-address"></span>
+ <span class="locality">City</span>
+ <span class="region">State</span>
+ <span class="postal-code">xxxxx</span>
+ </dd>
+ <dd class="tel"></dd>
+ <dd class="tel"></dd>
+ <dd class="email"><a href="mailto:"></a></dd>
+ <dd class="fax"></dd>
+ </dl-->
+ <!--END: Contact Info-->
+
+ <!--BEGIN: Credit if you use the shell please either make a donation or keep this ad on the site-->
+ <section id="mym-credit">
+ <small><a id="cred" href="http://html5.mimoymima.com" title="Build your Wordpress themes faster - HTML5 WordPress Shell">built with the HTML5 Wordpress shell</a></small>
+ </section>
+ <!--END: Credit-->
+
+ <p id="copyright"><small>&copy; <?php echo date('Y'); ?> <?php bloginfo('name')?></small></p>
+
+ <!-- wp_footer hook for Plugins -->
+ <?php wp_footer(); ?>
+
+</footer>
+<!--END: Footer Section-->
+
+<!--Javascript Indicator-->
+<div class="indicator" id="js-ind"><a href="http://www.mimoymima.com/help/turning-javascript-on-and-off/" title="You don't have javascript enabled, click here to learn more.">Enable Javascript</a></div>
+<!--Javascript Indicator-->
+
+</div>
+<!--END: page~wrapper-->
+
+</body>
+</html>
211 functions.php
@@ -0,0 +1,211 @@
+<?php
+
+// BEGIN: if you are logged into the admin area, show what template someone is using on the top of all pages
+ if (is_user_logged_in()) { add_action('wp_head', 'show_template'); }
+
+ function show_template() {
+ global $template;
+ print_r($template);
+ //global $wp_taxonomies;
+ //print_r($wp_taxonomies['sections']);
+ }
+
+// allows you to make custom templates for posts with name structure like single-postID.php (the id is the number not the name) see: http://www.nathanrice.net/blog/wordpress-single-post-templates/
+add_filter('single_template', create_function('$t', 'foreach( (array) get_the_category() as $cat ) { if ( file_exists(TEMPLATEPATH . "/single-{$cat->term_id}.php") ) return TEMPLATEPATH . "/single-{$cat->term_id}.php"; } return $t;' ));
+
+
+// removes tags generated in the WordPress Head that we don't use, you could read up and re-enable them if you think they're needed
+remove_action('wp_head', 'wlwmanifest_link');
+remove_action('wp_head', 'rsd_link');
+remove_action('wp_head', 'wp_generator');
+
+
+// loads jQuery from the Google CDN, loading jquery this way ensures it won't be included twice with plugins that include it
+
+ function my_init_method() {
+ if (!is_admin()) {
+ wp_deregister_script( 'jquery' );
+ wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js');
+ wp_enqueue_script( 'jquery' );
+ }
+ }
+ add_action('init', 'my_init_method');
+
+
+// activates menu features
+ if (function_exists('add_theme_support')) {
+ add_theme_support('menus');
+ }
+
+
+// activates Featured Image function
+ add_theme_support( 'post-thumbnails' );
+
+
+// removes the automatic paragraph tags from the excerpt, we leave it on for the content and have a custom field you can use to turn it off on a page by page basis --> wpautop = false
+ remove_filter('the_excerpt', 'wpautop');
+
+
+// Wigetized sidebar, we're registering two, you can add as many as you want
+ if ( function_exists('register_sidebar') )
+ register_sidebar(array('name'=>'Main Sidebar', 'id' => 'main-sidebar'));
+ register_sidebar(array('name'=>'Footer Sidebar', 'id' => 'footer-sidebar'));
+
+
+// This function is used to get the slug of the page
+ function get_the_slug() {
+ global $post;
+ if ( is_single() || is_page() ) {
+ return $post->post_name;
+ } else {
+ return "";
+ }
+ }
+
+// Custom callback to list comments in the your-theme style
+// http://themeshaper.com/2009/07/01/wordpress-theme-comments-template-tutorial/
+function custom_comments($comment, $args, $depth) {
+ $GLOBALS['comment'] = $comment;
+ $GLOBALS['comment_depth'] = $depth;
+ ?>
+ <li id="comment-<?php comment_ID() ?>" <?php comment_class() ?>>
+ <div class="comment-author vcard"><?php commenter_link() ?></div>
+ <div class="comment-meta"><?php printf(__('Posted %1$s at %2$s <span class="meta-sep">|</span> <a href="%3$s" title="Permalink to this comment">Permalink</a>', 'your-theme'),
+ get_comment_date(),
+ get_comment_time(),
+ '#comment-' . get_comment_ID() );
+ edit_comment_link(__('Edit', 'your-theme'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?></div>
+ <?php if ($comment->comment_approved == '0') _e("\t\t\t\t\t<span class='unapproved'>Your comment is awaiting moderation.</span>\n", 'your-theme') ?>
+ <div class="comment-content">
+ <?php comment_text() ?>
+ </div>
+ <?php // echo the comment reply link
+ if($args['type'] == 'all' || get_comment_type() == 'comment') :
+ comment_reply_link(array_merge($args, array(
+ 'reply_text' => __('Reply','your-theme'),
+ 'login_text' => __('Log in to reply.','your-theme'),
+ 'depth' => $depth,
+ 'before' => '<div class="comment-reply-link">',
+ 'after' => '</div>'
+ )));
+ endif;
+ ?>
+<?php } // end custom_comments
+
+// Custom callback to list pings
+function custom_pings($comment, $args, $depth) {
+ $GLOBALS['comment'] = $comment;
+ ?>
+ <li id="comment-<?php comment_ID() ?>" <?php comment_class() ?>>
+ <div class="comment-author"><?php printf(__('By %1$s on %2$s at %3$s', 'your-theme'),
+ get_comment_author_link(),
+ get_comment_date(),
+ get_comment_time() );
+ edit_comment_link(__('Edit', 'your-theme'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?></div>
+ <?php if ($comment->comment_approved == '0') _e('\t\t\t\t\t<span class="unapproved">Your trackback is awaiting moderation.</span>\n', 'your-theme') ?>
+ <div class="comment-content">
+ <?php comment_text() ?>
+ </div>
+<?php } // end custom_pings
+
+// Produces an avatar image with the hCard-compliant photo class
+function commenter_link() {
+ $commenter = get_comment_author_link();
+ if ( ereg( '<a[^>]* class=[^>]+>', $commenter ) ) {
+ $commenter = ereg_replace( '(<a[^>]* class=[\'"]?)', '\\1url ' , $commenter );
+ } else {
+ $commenter = ereg_replace( '(<a )/', '\\1class="url "' , $commenter );
+ }
+ $avatar_email = get_comment_author_email();
+ $avatar = str_replace( "class='avatar", "class='photo avatar", get_avatar( $avatar_email, 80 ) );
+ echo $avatar . ' <span class="fn n">' . $commenter . '</span>';
+} // end commenter_link
+
+
+/*
+THE BELOW FUNCTIONS ARE USED TO REMOVE UNUSED PARTS OF THE ADMIN AREA
+TO MAKE IT EASIER FOR YOUR CLIENT TO UNDERSTAND WHAT'S GOING ON
+IT'S ALL COMMENTED OUT BY DEFAULT, JUST UNCOMMENT AND THEN CUSTOMIZE IT
+TUTORIAL: http://webdesignfan.com/customizing-the-wordpress-admin-area/
+*/
+
+/* BEGIN comment, remove this line and the END comment line below to uncomment
+
+// remove dashboard widgets if they're not needed
+
+ function remove_dashboard_widgets() {
+
+ // load the metaboxes array as a global variable
+ >global $wp_meta_boxes;
+
+ // we need to manually unset each widget
+ unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']);
+ unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']);
+ }
+
+ // REFERENCE: DASHBOARD WIDGETS YOU CAN REMOVE IF NEEDED
+ // Main column
+ // $wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']
+ // $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']
+ // $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']
+ // $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']
+ //
+ // Side Column
+ // $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']
+ // $wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']
+ // $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']
+ // $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']
+
+
+ // Hook into the 'wp_dashboard_setup' action to remove the widgets defined above
+ add_action('wp_dashboard_setup', 'remove_dashboard_widgets' );
+
+
+// remove unused menu items
+ // example function removing Links, Tools, Settings, Comments -- obviously you wouldn't want to remove all this stuff
+ function remove_menus()
+ {
+ // setup the global menu variable
+ >global $menu;
+ // this is an array of the menu item names we wish to remove
+ $restricted = array( __('Links'),__('Tools'),__('Settings'),__('Comments'));
+ end ($menu);
+
+ while (prev($menu))
+ {
+ $value = explode(' ',$menu[key($menu)][0]);
+
+ if(in_array($value[0] != NULL?$value[0]:"" , $restricted))
+ {
+ unset($menu[key($menu)]);
+ }
+ }
+ }
+ // hook into the action that creates the menu
+ add_action('admin_menu', 'remove_menus');
+
+// function remove_extra_meta_boxes() {
+ remove_meta_box( 'postcustom' , 'post' , 'normal' ); // custom fields for posts
+ remove_meta_box( 'postcustom' , 'page' , 'normal' ); // custom fields for pages
+ remove_meta_box( 'postexcerpt' , 'post' , 'normal' ); // post excerpts
+ remove_meta_box( 'postexcerpt' , 'page' , 'normal' ); // page excerpts
+ remove_meta_box( 'commentsdiv' , 'post' , 'normal' ); // recent comments for posts
+ remove_meta_box( 'commentsdiv' , 'page' , 'normal' ); // recent comments for pages
+ remove_meta_box( 'tagsdiv-post_tag' , 'post' , 'side' ); // post tags
+ remove_meta_box( 'tagsdiv-post_tag' , 'page' , 'side' ); // page tags
+ remove_meta_box( 'trackbacksdiv' , 'post' , 'normal' ); // post trackbacks
+ remove_meta_box( 'trackbacksdiv' , 'page' , 'normal' ); // page trackbacks
+ remove_meta_box( 'commentstatusdiv' , 'post' , 'normal' ); // allow comments for posts
+ remove_meta_box( 'commentstatusdiv' , 'page' , 'normal' ); // allow comments for pages
+ remove_meta_box('slugdiv','post','normal'); // post slug
+ remove_meta_box('slugdiv','page','normal'); // page slug
+ remove_meta_box('pageparentdiv','page','side'); // Page Parent
+ }
+ add_action( 'admin_menu' , 'remove_extra_meta_boxes' );
+
+END commenting, remove this line to uncomment */
+
+// some other good reading for learning about editing the admin area here
+// http://sixrevisions.com/wordpress/how-to-customize-the-wordpress-admin-area/
+
+?>
127 header.php
@@ -0,0 +1,127 @@
+<?php
+// store a few user agent variables, don't delete, we'll use these later
+$iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone");
+$ipad = strpos($_SERVER['HTTP_USER_AGENT'],"iPad");
+?>
+
+<!DOCTYPE html>
+
+<html <?php language_attributes(); ?> class="no-js" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#">
+
+<head>
+
+ <meta charset="<?php bloginfo( 'charset' ); // lets you change the charset from within wp, defaults to UTF8 ?>" />
+
+ <!--Forces latest IE rendering engine & chrome frame-->
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+
+ <title>
+ <?php // from 2011 theme - prints the title based on what is being viewed
+ global $page, $paged;
+
+ wp_title( '|', true, 'right' );
+
+ // Add the blog name.
+ bloginfo( 'name' );
+
+ // Add the blog description for the home/front page.
+ $site_description = get_bloginfo( 'description', 'display' );
+ if ( $site_description && ( is_home() || is_front_page() ) )
+ echo " | $site_description";
+
+ // Add a page number if necessary:
+ if ( $paged >= 2 || $page >= 2 )
+ echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
+ ?>
+ </title>
+
+ <!-- Meta description and keywords Handled by the SEO plugin, don't add your own here just activate the plugin -->
+
+ <!-- BEGIN: Open Graph meta tags for Facebook... Add in your App ID and or Admins here -->
+ <meta property="fb:app_id" content="your_app_id" />
+ <meta property="fb:admins" content="your_admin_id" />
+
+ <meta property="og:title" content="<?php global $page, $paged; wp_title( '|', true, 'right' ); bloginfo( 'name' );/* Add a page number if necessary: */if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', '' ), max( $paged, $page ) ); ?>" />
+ <meta property="og:url" content="<?php the_permalink() ?>"/>
+
+ <meta property="og:site_name" content="<?php bloginfo('name'); ?>"/>
+
+ <?php if (is_single() || is_page()): ?>
+ <meta property="og:description" content="<?php echo strip_tags(get_the_excerpt($post->ID)); ?>" />
+ <meta property="og:type" content="article" />
+
+ <?php if (function_exists('get_the_image')) $imgArray = get_the_image(array('format' => 'array')); //get the image array ?>
+ <meta property="og:image" content="<?php if($imgArray != null) echo $imgArray[src]; else echo wp_get_attachment_thumb_url( get_post_thumbnail_id( $post->ID ) ) ?>" />
+
+ <?php else: ?>
+ <meta property="og:description" content="<?php bloginfo('description'); ?>" />
+ <meta property="og:type" content="website" />
+ <meta property="og:image" content="<?php bloginfo('template_url') ?>/path/to-your/logo.jpg" />
+ <?php endif; ?>
+
+ <!--END: Open Graph facebook tags-->
+
+ <!-- favicon & other link Tags -->
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+ <link rel="icon" href="/favicon.ico" type="image/x-icon" />
+ <link rel="apple-touch-icon" href="/images/custom_icon.png"/><!-- 114x114 icon for iphones and ipads -->
+ <link rel="copyright" href="#copyright" />
+ <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
+ <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
+
+ <!-- CSS -->
+ <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" media="screen" />
+
+ <!-- BEGIN: IE Specific Hacks -->
+ <!--[if IE 8]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie8.css" media="screen" /><![endif]-->
+ <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie7.css" media="screen" /><![endif]-->
+ <!--END: IE Specific Hacks-->
+
+ <!--BEGIN: include iphone stylesheet-->
+ <?php if ($iphone == true) : ?>
+ <link href="<?php echo $templateURL; ?>/css/iphone.css" type="text/css" rel="stylesheet" />
+ <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
+ <?php endif; ?>
+ <!--END: include iphone stylesheet-->
+
+ <?php if(!is_home() || !is_front_page()): // if not on the home page preload the home page, doesn't work in all browsers but doesn't do any harm if they don't support it ?>
+ <link rel="prefetch" href="/" />
+ <?php endif;?>
+
+ <!--wp_head hook for Plugins ~ always keep this just before the /head -->
+ <?php wp_head(); ?>
+
+ <!--SCRIPTS-->
+ <script type="text/JavaScript" src="<?php bloginfo('template_url'); ?>/js/functions.js"></script>
+ <!--this is the development version of modernizr, you should get a production version before going live ~ see http://www.modernizr.com-->
+ <script type="text/JavaScript" src="<?php bloginfo('template_url'); ?>/js/modernizr_2_0_6_dev.js"></script>
+
+</head>
+
+<!--see http://www.mimoymima.com/2010/03/lab/wordpress-body-tag/-->
+<body id="<?php $post_parent = get_post($post->post_parent); $parentSlug = $post_parent->post_name; if (is_category()) { echo "category-template"; } elseif (is_archive()) { echo "archive-template"; } elseif (is_search()) { echo "search-results"; } elseif (is_tag()) { echo "tag-template"; } else { echo $parentSlug; } ?>" class="<?php global $wp_query; $template_name = get_post_meta( $wp_query->post->ID, '_wp_page_template', true ); $tn = str_replace(".php", "", $template_name); echo "template-".$tn." "; ?><?php if (is_category()) { echo 'category'; } elseif (is_search()) { echo 'search'; } elseif (is_tag()) { echo "tag"; } elseif (is_home()) { echo "home"; } elseif (is_404()) { echo "page404"; } else { echo $post->post_name; } ?>">
+
+ <!--div id="preloader"></div-->
+
+ <!--BEGIN: page~wrapper-->
+ <div id="page-wrapper">
+
+ <header id="site-header" role="banner">
+
+ <?php if (( is_home() || is_front_page() )): // if front page we'll include the site title and description ?>
+ <hgroup>
+ <h1 id="site-title"><?php wp_title(); ?> : <?php bloginfo( 'name' ); ?></h1>
+ <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
+ </hgroup>
+ <?php else: // else just the site title ?>
+ <h1 id="site-title"><?php wp_title(); ?> : <?php bloginfo( 'name' ); ?></h1>
+ <?php endif; ?>
+
+ </header>
+
+ <nav id="main-nav" role="navigation">
+ <h1>Main Navigation</h1>
+ <ul class="horiz-list">
+ <?php wp_nav_menu('menu=mainNav'); // create the mainNav menu inside Appearance menus and go to town -- for more on menus see: http://templatic.com/news/wordpress-3-0-menu-management ?>
+ </ul>
+ </nav>
BIN  images/avatar_default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_checkmark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_comment.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_document.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_link_arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_link_plus_minus.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_pdf_big.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_pdf_lg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_pdf_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_pdf_x-sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_rss_lg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_rss_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_social_xs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/icon_vcf.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 index.php
@@ -0,0 +1,66 @@
+<?php get_header(); ?>
+
+<div id="content" class="clear-fix" role="main">
+
+ <?php if (have_posts()) : while (have_posts()) : the_post(); //BEGIN: The Loop ?>
+
+ <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+
+ <header>
+ <h1><?php the_title(); ?></h1>
+ <time datetime="<?php the_time('c'); ?>" pubdate="pubdate"><?php the_time('F jS, Y'); ?></time>
+ <p>by <?php the_author() ?></p>
+ </header>
+
+ <div class="entry">
+ <?php the_content(); ?>
+ </div>
+
+ <footer id="post-meta-data">
+ <ul class="no-bullet">
+ <li class="add-comment"><?php comments_popup_link('Share your comments', '1 Comment', '% Comments'); ?></li>
+ <li>Posted in <?php the_category(', ') ?></li>
+ <li><?php edit_post_link('[Edit]', '<small>', '</small>'); ?></li>
+ <li><?php the_tags('Tags: ', ', ', '<br />'); ?></li>
+ </ul>
+ </footer>
+
+ </article>
+
+ <?php endwhile; ?>
+
+ <?php wp_link_pages(); //this allows for multi-page posts -- not 100% sure this is the best spot for it ?>
+
+ <?php else : ?>
+
+ <h2>No posts were found :(</h2>
+
+ <?php endif; ?>
+
+ <?php if ( $wp_query->max_num_pages > 1 ) : // if there's more pages show next and previous links ?>
+
+ <nav>
+ <h1 class="hide">Main Navigation</h1>
+ <?php posts_nav_link('&nbsp;','<div class="alignleft">&laquo; Previous Page</div>','<div class="alignright">Next Page &raquo;</div>') ?>
+ </nav>
+
+ <?php endif; ?>
+
+</div>
+<!--END: Content div-->
+
+<!--BEGIN: Main Sidebar-->
+<?php // to disable this sidebar on a page by page basis just add a custom field to your page or post of disableSidebarLeft = true
+$disableSidebarMain = get_post_meta($post->ID, 'disableSidebarMain', $single = true);
+if ($disableSidebarMain !== 'true'): ?>
+
+<aside id="sidebar-main">
+ <ul>
+ <?php dynamic_sidebar('main-sidebar'); ?>
+ </ul>
+</aside>
+
+<?php endif; ?>
+<!--END: Main Sidebar-->
+
+<?php get_footer(); ?>
44 js/functions.js
@@ -0,0 +1,44 @@
+// mYm Functions v 1.5 - brent@mimoymima.com
+// last edited: Nov 27, 2011
+
+
+// DOCUMENT READY FUNCTION: uses noConflict to work with other libraries
+jQuery(document).ready(function($) {
+
+// // site preloader -- also uncomment the div in the header and the css style for #preloader
+// $(window).load(function(){
+// $('#preloader').fadeOut('slow',function(){$(this).remove();});
+// });
+
+// //-----Select Linker -- To use, add the class LinkSelect to your form -- by mimoYmima.com
+// $('.link-select select').change(function(){
+// var LinkTo = $('.link-select select').val();
+// top.location.href = LinkTo;
+// });
+
+//-----Show and Hide Stuff
+ $(".toggle")
+ .addClass('make-link') // make headings look like links
+ .addClass('header-hidden')
+ .click(function(){
+ var $this = $(this);
+ if( $this.is('.header-shown') ) {
+ $this.next().slideToggle('normal');
+ $this.removeClass('header-shown');
+ $this.addClass('header-hidden');
+ }
+ else {
+ $this.next().slideToggle('normal');
+ $this.removeClass('header-hidden');
+ $this.addClass('header-shown');
+ }
+ return false;
+ });
+
+
+//-----Make a link with the class of popup open in a new window
+ $('.popup').attr('target', '_blank');
+
+
+});//<--- this is the end of the document ready function don't delete it
+
1  js/jquery_local.js
@@ -0,0 +1 @@
+eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7(1C 1w.6=="T"){1w.T=1w.T;B 6=u(a,c){7(1w==q)v 1p 6(a,c);a=a||17;7(6.1t(a))v 1p 6(17)[6.E.27?"27":"2O"](a);7(1C a=="23"){B m=/^[^<]*(<(.|\\s)+>)[^>]*$/.2Q(a);7(m)a=6.3k([m[1]]);J v 1p 6(c).2o(a)}v q.6r(a.1l==2y&&a||(a.3Y||a.I&&a!=1w&&!a.24&&a[0]!=T&&a[0].24)&&6.3M(a)||[a])};7(1C $!="T")6.2S$=$;B $=6;6.E=6.8p={3Y:"1.1.2",8q:u(){v q.I},I:0,2b:u(1T){v 1T==T?6.3M(q):q[1T]},2r:u(a){B L=6(a);L.6p=q;v L},6r:u(a){q.I=0;[].1g.14(q,a);v q},K:u(E,1E){v 6.K(q,E,1E)},2h:u(1c){B 4c=-1;q.K(u(i){7(q==1c)4c=i});v 4c},1I:u(1Y,O,C){B 1c=1Y;7(1Y.1l==3t)7(O==T)v q.I&&6[C||"1I"](q[0],1Y)||T;J{1c={};1c[1Y]=O}v q.K(u(2h){P(B H 1x 1c)6.1I(C?q.1q:q,H,6.H(q,1c[H],C,2h,H))})},1m:u(1Y,O){v q.1I(1Y,O,"30")},2L:u(e){7(1C e=="23")v q.3u().3r(17.8t(e));B t="";6.K(e||q,u(){6.K(q.2I,u(){7(q.24!=8)t+=q.24!=1?q.60:6.E.2L([q])})});v t},2K:u(){B a=6.3k(1A);v q.K(u(){B b=a[0].3l(U);q.11.2X(b,q);22(b.1b)b=b.1b;b.4C(q)})},3r:u(){v q.3j(1A,U,1,u(a){q.4C(a)})},5i:u(){v q.3j(1A,U,-1,u(a){q.2X(a,q.1b)})},5j:u(){v q.3j(1A,12,1,u(a){q.11.2X(a,q)})},5t:u(){v q.3j(1A,12,-1,u(a){q.11.2X(a,q.2e)})},4g:u(){v q.6p||6([])},2o:u(t){v q.2r(6.31(q,u(a){v 6.2o(t,a)}),t)},4Y:u(4N){v q.2r(6.31(q,u(a){B a=a.3l(4N!=T?4N:U);a.$1H=16;v a}))},1D:u(t){v q.2r(6.1t(t)&&6.2q(q,u(2z,2h){v t.14(2z,[2h])})||6.3z(t,q))},2g:u(t){v q.2r(t.1l==3t&&6.3z(t,q,U)||6.2q(q,u(a){v(t.1l==2y||t.3Y)?6.3y(a,t)<0:a!=t}))},1M:u(t){v q.2r(6.2k(q.2b(),t.1l==3t?6(t).2b():t.I!=T&&(!t.1f||t.1f=="8v")?t:[t]))},4l:u(1s){v 1s?6.1D(1s,q).r.I>0:12},1a:u(1a){v 1a==T?(q.I?q[0].O:16):q.1I("O",1a)},4U:u(1a){v 1a==T?(q.I?q[0].2t:16):q.3u().3r(1a)},3j:u(1E,1P,3Z,E){B 4Y=q.I>1;B a=6.3k(1E);7(3Z<0)a.8w();v q.K(u(){B 1c=q;7(1P&&6.1f(q,"1P")&&6.1f(a[0],"3m"))1c=q.5J("20")[0]||q.4C(17.6n("20"));6.K(a,u(){E.14(1c,[4Y?q.3l(U):q])})})}};6.1z=6.E.1z=u(){B 1O=1A[0],a=1;7(1A.I==1){1O=q;a=0}B H;22(H=1A[a++])P(B i 1x H)1O[i]=H[i];v 1O};6.1z({8x:u(){7(6.2S$)$=6.2S$;v 6},1t:u(E){v!!E&&1C E!="23"&&!E.1f&&1C E[0]=="T"&&/u/i.1n(E+"")},4B:u(D){v D.66&&D.5I&&!D.5I.64},1f:u(D,Y){v D.1f&&D.1f.3K()==Y.3K()},K:u(1c,E,1E){7(1c.I==T)P(B i 1x 1c)E.14(1c[i],1E||[i,1c[i]]);J P(B i=0,6q=1c.I;i<6q;i++)7(E.14(1c[i],1E||[i,1c[i]])===12)3O;v 1c},H:u(D,O,C,2h,H){7(6.1t(O))O=O.3n(D,[2h]);B 6s=/z-?2h|7P-?8A|1d|58|8B-?28/i;v O&&O.1l==3Q&&C=="30"&&!6s.1n(H)?O+"4S":O},19:{1M:u(D,c){6.K(c.3o(/\\s+/),u(i,Q){7(!6.19.2V(D.19,Q))D.19+=(D.19?" ":"")+Q})},2f:u(D,c){D.19=c?6.2q(D.19.3o(/\\s+/),u(Q){v!6.19.2V(c,Q)}).6t(" "):""},2V:u(t,c){t=t.19||t;c=c.1R(/([\\.\\\\\\+\\*\\?\\[\\^\\]\\$\\(\\)\\{\\}\\=\\!\\<\\>\\|\\:])/g,"\\\\$1");v t&&1p 4v("(^|\\\\s)"+c+"(\\\\s|$)").1n(t)}},4d:u(e,o,f){P(B i 1x o){e.1q["1N"+i]=e.1q[i];e.1q[i]=o[i]}f.14(e,[]);P(B i 1x o)e.1q[i]=e.1q["1N"+i]},1m:u(e,p){7(p=="28"||p=="3V"){B 1N={},46,3P,d=["7d","8C","8D","8E"];6.K(d,u(){1N["8F"+q]=0;1N["8G"+q+"8H"]=0});6.4d(e,1N,u(){7(6.1m(e,"1h")!="1Z"){46=e.8I;3P=e.8J}J{e=6(e.3l(U)).2o(":4j").5l("2Z").4g().1m({4n:"1G",45:"8K",1h:"2D",7I:"0",8M:"0"}).5z(e.11)[0];B 3d=6.1m(e.11,"45");7(3d==""||3d=="4b")e.11.1q.45="6x";46=e.6y;3P=e.6z;7(3d==""||3d=="4b")e.11.1q.45="4b";e.11.33(e)}});v p=="28"?46:3P}v 6.30(e,p)},30:u(D,H,53){B L;7(H=="1d"&&6.W.1j)v 6.1I(D.1q,"1d");7(H=="4h"||H=="2v")H=6.W.1j?"3T":"2v";7(!53&&D.1q[H])L=D.1q[H];J 7(17.44&&17.44.4W){7(H=="2v"||H=="3T")H="4h";H=H.1R(/([A-Z])/g,"-$1").4m();B Q=17.44.4W(D,16);7(Q)L=Q.55(H);J 7(H=="1h")L="1Z";J 6.4d(D,{1h:"2D"},u(){B c=17.44.4W(q,"");L=c&&c.55(H)||""})}J 7(D.51){B 56=H.1R(/\\-(\\w)/g,u(m,c){v c.3K()});L=D.51[H]||D.51[56]}v L},3k:u(a){B r=[];6.K(a,u(i,1r){7(!1r)v;7(1r.1l==3Q)1r=1r.6C();7(1C 1r=="23"){B s=6.35(1r),1V=17.6n("1V"),2i=[];B 2K=!s.18("<1u")&&[1,"<42>","</42>"]||(!s.18("<6D")||!s.18("<20")||!s.18("<6E"))&&[1,"<1P>","</1P>"]||!s.18("<3m")&&[2,"<1P><20>","</20></1P>"]||(!s.18("<6F")||!s.18("<6G"))&&[3,"<1P><20><3m>","</3m></20></1P>"]||[0,"",""];1V.2t=2K[1]+s+2K[2];22(2K[0]--)1V=1V.1b;7(6.W.1j){7(!s.18("<1P")&&s.18("<20")<0)2i=1V.1b&&1V.1b.2I;J 7(2K[1]=="<1P>"&&s.18("<20")<0)2i=1V.2I;P(B n=2i.I-1;n>=0;--n)7(6.1f(2i[n],"20")&&!2i[n].2I.I)2i[n].11.33(2i[n])}1r=[];P(B i=0,l=1V.2I.I;i<l;i++)1r.1g(1V.2I[i])}7(1r.I===0&&!6.1f(1r,"3w"))v;7(1r[0]==T||6.1f(1r,"3w"))r.1g(1r);J r=6.2k(r,1r)});v r},1I:u(D,Y,O){B 2j=6.4B(D)?{}:{"P":"6J","6L":"19","4h":6.W.1j?"3T":"2v",2v:6.W.1j?"3T":"2v",2t:"2t",19:"19",O:"O",2W:"2W",2Z:"2Z",89:"6N",2Y:"2Y"};7(Y=="1d"&&6.W.1j&&O!=T){D.58=1;v D.1D=D.1D.1R(/4i\\([^\\)]*\\)/6O,"")+(O==1?"":"4i(1d="+O*6g+")")}J 7(Y=="1d"&&6.W.1j)v D.1D?4T(D.1D.6P(/4i\\(1d=(.*)\\)/)[1])/6g:1;7(Y=="1d"&&6.W.3h&&O==1)O=0.6R;7(2j[Y]){7(O!=T)D[2j[Y]]=O;v D[2j[Y]]}J 7(O==T&&6.W.1j&&6.1f(D,"3w")&&(Y=="81"||Y=="80"))v D.6T(Y).60;J 7(D.66){7(O!=T)D.6V(Y,O);7(6.W.1j&&/5E|3e/.1n(Y)&&!6.4B(D))v D.36(Y,2);v D.36(Y)}J{Y=Y.1R(/-([a-z])/6W,u(z,b){v b.3K()});7(O!=T)D[Y]=O;v D[Y]}},35:u(t){v t.1R(/^\\s+|\\s+$/g,"")},3M:u(a){B r=[];7(a.1l!=2y)P(B i=0,2R=a.I;i<2R;i++)r.1g(a[i]);J r=a.3N(0);v r},3y:u(b,a){P(B i=0,2R=a.I;i<2R;i++)7(a[i]==b)v i;v-1},2k:u(2u,3H){B r=[].3N.3n(2u,0);P(B i=0,5b=3H.I;i<5b;i++)7(6.3y(3H[i],r)==-1)2u.1g(3H[i]);v 2u},2q:u(1U,E,4k){7(1C E=="23")E=1p 4w("a","i","v "+E);B 1i=[];P(B i=0,2z=1U.I;i<2z;i++)7(!4k&&E(1U[i],i)||4k&&!E(1U[i],i))1i.1g(1U[i]);v 1i},31:u(1U,E){7(1C E=="23")E=1p 4w("a","v "+E);B 1i=[],r=[];P(B i=0,2z=1U.I;i<2z;i++){B 1a=E(1U[i],i);7(1a!==16&&1a!=T){7(1a.1l!=2y)1a=[1a];1i=1i.6Z(1a)}}B r=1i.I?[1i[0]]:[];5f:P(B i=1,5e=1i.I;i<5e;i++){P(B j=0;j<i;j++)7(1i[i]==r[j])5F 5f;r.1g(1i[i])}v r}});1p u(){B b=7L.71.4m();6.W={2N:/5D/.1n(b),3f:/3f/.1n(b),1j:/1j/.1n(b)&&!/3f/.1n(b),3h:/3h/.1n(b)&&!/(72|5D)/.1n(b)};6.7H=!6.W.1j||17.74=="75"};6.K({5u:"a.11",4z:"6.4z(a)",76:"6.2a(a,2,\'2e\')",7D:"6.2a(a,2,\'5s\')",78:"6.2B(a.11.1b,a)",79:"6.2B(a.1b)"},u(i,n){6.E[i]=u(a){B L=6.31(q,n);7(a&&1C a=="23")L=6.3z(a,L);v q.2r(L)}});6.K({5z:"3r",7b:"5i",2X:"5j",7e:"5t"},u(i,n){6.E[i]=u(){B a=1A;v q.K(u(){P(B j=0,2R=a.I;j<2R;j++)6(a[j])[n](q)})}});6.K({5l:u(1Y){6.1I(q,1Y,"");q.7g(1Y)},7h:u(c){6.19.1M(q,c)},7i:u(c){6.19.2f(q,c)},7k:u(c){6.19[6.19.2V(q,c)?"2f":"1M"](q,c)},2f:u(a){7(!a||6.1D(a,[q]).r.I)q.11.33(q)},3u:u(){22(q.1b)q.33(q.1b)}},u(i,n){6.E[i]=u(){v q.K(n,1A)}});6.K(["5q","5n","5p","5v"],u(i,n){6.E[n]=u(1T,E){v q.1D(":"+n+"("+1T+")",E)}});6.K(["28","3V"],u(i,n){6.E[n]=u(h){v h==T?(q.I?6.1m(q[0],n):16):q.1m(n,h.1l==3t?h:h+"4S")}});6.1z({1s:{"":"m[2]==\'*\'||6.1f(a,m[2])","#":"a.36(\'2J\')==m[2]",":":{5n:"i<m[3]-0",5p:"i>m[3]-0",2a:"m[3]-0==i",5q:"m[3]-0==i",2u:"i==0",2T:"i==r.I-1",5R:"i%2==0",5S:"i%2","2a-3s":"6.2a(a.11.1b,m[3],\'2e\',a)==a","2u-3s":"6.2a(a.11.1b,1,\'2e\')==a","2T-3s":"6.2a(a.11.7n,1,\'5s\')==a","7p-3s":"6.2B(a.11.1b).I==1",5u:"a.1b",3u:"!a.1b",5v:"6.E.2L.14([a]).18(m[3])>=0",3i:\'a.C!="1G"&&6.1m(a,"1h")!="1Z"&&6.1m(a,"4n")!="1G"\',1G:\'a.C=="1G"||6.1m(a,"1h")=="1Z"||6.1m(a,"4n")=="1G"\',7v:"!a.2W",2W:"a.2W",2Z:"a.2Z",2Y:"a.2Y||6.1I(a,\'2Y\')",2L:"a.C==\'2L\'",4j:"a.C==\'4j\'",5x:"a.C==\'5x\'",4G:"a.C==\'4G\'",5y:"a.C==\'5y\'",4R:"a.C==\'4R\'",5A:"a.C==\'5A\'",5B:"a.C==\'5B\'",3x:\'a.C=="3x"||6.1f(a,"3x")\',5C:"/5C|42|7A|3x/i.1n(a.1f)"},".":"6.19.2V(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z&&!z.18(m[4])","$=":"z&&z.2U(z.I - m[4].I,m[4].I)==m[4]","*=":"z&&z.18(m[4])>=0","":"z",4u:u(m){v["",m[1],m[3],m[2],m[5]]},5P:"z=a[m[3]];7(!z||/5E|3e/.1n(m[3]))z=6.1I(a,m[3]);"},"[":"6.2o(m[2],a).I"},5M:[/^\\[ *(@)([a-2m-3C-]*) *([!*$^=]*) *(\'?"?)(.*?)\\4 *\\]/i,/^(\\[)\\s*(.*?(\\[.*?\\])?[^[]*?)\\s*\\]/,/^(:)([a-2m-3C-]*)\\("?\'?(.*?(\\(.*?\\))?[^(]*?)"?\'?\\)/i,/^([:.#]*)([a-2m-3C*-]*)/i],1Q:[/^(\\/?\\.\\.)/,"a.11",/^(>|\\/)/,"6.2B(a.1b)",/^(\\+)/,"6.2a(a,2,\'2e\')",/^(~)/,u(a){B s=6.2B(a.11.1b);v s.3N(6.3y(a,s)+1)}],3z:u(1s,1U,2g){B 1N,Q=[];22(1s&&1s!=1N){1N=1s;B f=6.1D(1s,1U,2g);1s=f.t.1R(/^\\s*,\\s*/,"");Q=2g?1U=f.r:6.2k(Q,f.r)}v Q},2o:u(t,1B){7(1C t!="23")v[t];7(1B&&!1B.24)1B=16;1B=1B||17;7(!t.18("//")){1B=1B.4H;t=t.2U(2,t.I)}J 7(!t.18("/")){1B=1B.4H;t=t.2U(1,t.I);7(t.18("/")>=1)t=t.2U(t.18("/"),t.I)}B L=[1B],2c=[],2T=16;22(t&&2T!=t){B r=[];2T=t;t=6.35(t).1R(/^\\/\\//i,"");B 3B=12;B 1J=/^[\\/>]\\s*([a-2m-9*-]+)/i;B m=1J.2Q(t);7(m){6.K(L,u(){P(B c=q.1b;c;c=c.2e)7(c.24==1&&(6.1f(c,m[1])||m[1]=="*"))r.1g(c)});L=r;t=t.1R(1J,"");7(t.18(" ")==0)5F;3B=U}J{P(B i=0;i<6.1Q.I;i+=2){B 1J=6.1Q[i];B m=1J.2Q(t);7(m){r=L=6.31(L,6.1t(6.1Q[i+1])?6.1Q[i+1]:u(a){v 40(6.1Q[i+1])});t=6.35(t.1R(1J,""));3B=U;3O}}}7(t&&!3B){7(!t.18(",")){7(L[0]==1B)L.4L();6.2k(2c,L);r=L=[1B];t=" "+t.2U(1,t.I)}J{B 34=/^([a-2m-3C-]+)(#)([a-2m-9\\\\*2S-]*)/i;B m=34.2Q(t);7(m){m=[0,m[2],m[3],m[1]]}J{34=/^([#.]?)([a-2m-9\\\\*2S-]*)/i;m=34.2Q(t)}7(m[1]=="#"&&L[L.I-1].4X){B 2l=L[L.I-1].4X(m[2]);7(6.W.1j&&2l&&2l.2J!=m[2])2l=6(\'[@2J="\'+m[2]+\'"]\',L[L.I-1])[0];L=r=2l&&(!m[3]||6.1f(2l,m[3]))?[2l]:[]}J{7(m[1]==".")B 4r=1p 4v("(^|\\\\s)"+m[2]+"(\\\\s|$)");6.K(L,u(){B 3E=m[1]!=""||m[0]==""?"*":m[2];7(6.1f(q,"7J")&&3E=="*")3E="3g";6.2k(r,m[1]!=""&&L.I!=1?6.4x(q,[],m[1],m[2],4r):q.5J(3E))});7(m[1]=="."&&L.I==1)r=6.2q(r,u(e){v 4r.1n(e.19)});7(m[1]=="#"&&L.I==1){B 5K=r;r=[];6.K(5K,u(){7(q.36("2J")==m[2]){r=[q];v 12}})}L=r}t=t.1R(34,"")}}7(t){B 1a=6.1D(t,r);L=r=1a.r;t=6.35(1a.t)}}7(L&&L[0]==1B)L.4L();6.2k(2c,L);v 2c},1D:u(t,r,2g){22(t&&/^[a-z[({<*:.#]/i.1n(t)){B p=6.5M,m;6.K(p,u(i,1J){m=1J.2Q(t);7(m){t=t.7M(m[0].I);7(6.1s[m[1]].4u)m=6.1s[m[1]].4u(m);v 12}});7(m[1]==":"&&m[2]=="2g")r=6.1D(m[3],r,U).r;J 7(m[1]=="."){B 1J=1p 4v("(^|\\\\s)"+m[2]+"(\\\\s|$)");r=6.2q(r,u(e){v 1J.1n(e.19||"")},2g)}J{B f=6.1s[m[1]];7(1C f!="23")f=6.1s[m[1]][m[2]];40("f = u(a,i){"+(6.1s[m[1]].5P||"")+"v "+f+"}");r=6.2q(r,f,2g)}}v{r:r,t:t}},4x:u(o,r,1Q,Y,1J){P(B s=o.1b;s;s=s.2e)7(s.24==1){B 1M=U;7(1Q==".")1M=s.19&&1J.1n(s.19);J 7(1Q=="#")1M=s.36("2J")==Y;7(1M)r.1g(s);7(1Q=="#"&&r.I)3O;7(s.1b)6.4x(s,r,1Q,Y,1J)}v r},4z:u(D){B 4A=[];B Q=D.11;22(Q&&Q!=17){4A.1g(Q);Q=Q.11}v 4A},2a:u(Q,1i,3Z,D){1i=1i||1;B 1T=0;P(;Q;Q=Q[3Z]){7(Q.24==1)1T++;7(1T==1i||1i=="5R"&&1T%2==0&&1T>1&&Q==D||1i=="5S"&&1T%2==1&&Q==D)v Q}},2B:u(n,D){B r=[];P(;n;n=n.2e){7(n.24==1&&(!D||n!=D))r.1g(n)}v r}});6.G={1M:u(S,C,1o,F){7(6.W.1j&&S.3L!=T)S=1w;7(F)1o.F=F;7(!1o.2A)1o.2A=q.2A++;7(!S.$1H)S.$1H={};B 38=S.$1H[C];7(!38){38=S.$1H[C]={};7(S["39"+C])38[0]=S["39"+C]}38[1o.2A]=1o;S["39"+C]=q.5Y;7(!q.1k[C])q.1k[C]=[];q.1k[C].1g(S)},2A:1,1k:{},2f:u(S,C,1o){7(S.$1H){B i,j,k;7(C&&C.C){1o=C.1o;C=C.C}7(C&&S.$1H[C])7(1o)5U S.$1H[C][1o.2A];J P(i 1x S.$1H[C])5U S.$1H[C][i];J P(j 1x S.$1H)q.2f(S,j);P(k 1x S.$1H[C])7(k){k=U;3O}7(!k)S["39"+C]=16}},1S:u(C,F,S){F=6.3M(F||[]);7(!S)6.K(q.1k[C]||[],u(){6.G.1S(C,F,q)});J{B 1o=S["39"+C],1a,E=6.1t(S[C]);7(1o){F.61(q.2j({C:C,1O:S}));7((1a=1o.14(S,F))!==12)q.4F=U}7(E&&1a!==12)S[C]();q.4F=12}},5Y:u(G){7(1C 6=="T"||6.G.4F)v;G=6.G.2j(G||1w.G||{});B 3R;B c=q.$1H[G.C];B 1E=[].3N.3n(1A,1);1E.61(G);P(B j 1x c){1E[0].1o=c[j];1E[0].F=c[j].F;7(c[j].14(q,1E)===12){G.2n();G.2H();3R=12}}7(6.W.1j)G.1O=G.2n=G.2H=G.1o=G.F=16;v 3R},2j:u(G){7(!G.1O&&G.63)G.1O=G.63;7(G.65==T&&G.67!=T){B e=17.4H,b=17.64;G.65=G.67+(e.68||b.68);G.7Y=G.7Z+(e.6c||b.6c)}7(6.W.2N&&G.1O.24==3){B 3a=G;G=6.1z({},3a);G.1O=3a.1O.11;G.2n=u(){v 3a.2n()};G.2H=u(){v 3a.2H()}}7(!G.2n)G.2n=u(){q.3R=12};7(!G.2H)G.2H=u(){q.82=U};v G}};6.E.1z({3U:u(C,F,E){v q.K(u(){6.G.1M(q,C,E||F,F)})},6u:u(C,F,E){v q.K(u(){6.G.1M(q,C,u(G){6(q).6f(G);v(E||F).14(q,1A)},F)})},6f:u(C,E){v q.K(u(){6.G.2f(q,C,E)})},1S:u(C,F){v q.K(u(){6.G.1S(C,F,q)})},3X:u(){B a=1A;v q.6j(u(e){q.4M=q.4M==0?1:0;e.2n();v a[q.4M].14(q,[e])||12})},83:u(f,g){u 4O(e){B p=(e.C=="41"?e.84:e.85)||e.86;22(p&&p!=q)2G{p=p.11}2w(e){p=q};7(p==q)v 12;v(e.C=="41"?f:g).14(q,[e])}v q.41(4O).6k(4O)},27:u(f){7(6.3W)f.14(17,[6]);J{6.3c.1g(u(){v f.14(q,[6])})}v q}});6.1z({3W:12,3c:[],27:u(){7(!6.3W){6.3W=U;7(6.3c){6.K(6.3c,u(){q.14(17)});6.3c=16}7(6.W.3h||6.W.3f)17.87("6o",6.27,12)}}});1p u(){6.K(("88,8a,2O,8b,8d,52,6j,8e,"+"8f,8g,8h,41,6k,8j,42,"+"4R,8k,8l,8m,2C").3o(","),u(i,o){6.E[o]=u(f){v f?q.3U(o,f):q.1S(o)}});7(6.W.3h||6.W.3f)17.8n("6o",6.27,12);J 7(6.W.1j){17.8o("<8r"+"8s 2J=62 8u=U "+"3e=//:><\\/2d>");B 2d=17.4X("62");7(2d)2d.37=u(){7(q.3D!="1X")v;q.11.33(q);6.27()};2d=16}J 7(6.W.2N)6.50=3L(u(){7(17.3D=="8y"||17.3D=="1X"){4p(6.50);6.50=16;6.27()}},10);6.G.1M(1w,"2O",6.27)};7(6.W.1j)6(1w).6u("52",u(){B 1k=6.G.1k;P(B C 1x 1k){B 4Z=1k[C],i=4Z.I;7(i&&C!=\'52\')6w 6.G.2f(4Z[i-1],C);22(--i)}});6.E.1z({6A:u(V,21,M){q.2O(V,21,M,1)},2O:u(V,21,M,1W){7(6.1t(V))v q.3U("2O",V);M=M||u(){};B C="5d";7(21)7(6.1t(21)){M=21;21=16}J{21=6.3g(21);C="5V"}B 4e=q;6.3v({V:V,C:C,F:21,1W:1W,1X:u(2P,15){7(15=="2M"||!1W&&15=="5L")4e.1I("2t",2P.3G).4V().K(M,[2P.3G,15,2P]);J M.14(4e,[2P.3G,15,2P])}});v q},6B:u(){v 6.3g(q)},4V:u(){v q.2o("2d").K(u(){7(q.3e)6.59(q.3e);J 6.4a(q.2L||q.6H||q.2t||"")}).4g()}});7(!1w.3p)3p=u(){v 1p 6I("6K.6M")};6.K("5m,5Q,5O,5W,5N,5H".3o(","),u(i,o){6.E[o]=u(f){v q.3U(o,f)}});6.1z({2b:u(V,F,M,C,1W){7(6.1t(F)){M=F;F=16}v 6.3v({V:V,F:F,2M:M,4t:C,1W:1W})},6Q:u(V,F,M,C){v 6.2b(V,F,M,C,1)},59:u(V,M){v 6.2b(V,16,M,"2d")},6S:u(V,F,M){v 6.2b(V,F,M,"6m")},6U:u(V,F,M,C){7(6.1t(F)){M=F;F={}}v 6.3v({C:"5V",V:V,F:F,2M:M,4t:C})},6X:u(29){6.3q.29=29},6Y:u(5c){6.1z(6.3q,5c)},3q:{1k:U,C:"5d",29:0,5r:"70/x-73-3w-77",5h:U,48:U,F:16},3S:{},3v:u(s){s=6.1z({},6.3q,s);7(s.F){7(s.5h&&1C s.F!="23")s.F=6.3g(s.F);7(s.C.4m()=="2b"){s.V+=((s.V.18("?")>-1)?"&":"?")+s.F;s.F=16}}7(s.1k&&!6.4E++)6.G.1S("5m");B 4y=12;B N=1p 3p();N.7j(s.C,s.V,s.48);7(s.F)N.3A("7l-7m",s.5r);7(s.1W)N.3A("7o-4K-7q",6.3S[s.V]||"7s, 7t 7w 7x 4o:4o:4o 7z");N.3A("X-7B-7C","3p");7(N.7E)N.3A("7F","7G");7(s.5G)s.5G(N);7(s.1k)6.G.1S("5H",[N,s]);B 37=u(4s){7(N&&(N.3D==4||4s=="29")){4y=U;7(3I){4p(3I);3I=16}B 15;2G{15=6.5Z(N)&&4s!="29"?s.1W&&6.69(N,s.V)?"5L":"2M":"2C";7(15!="2C"){B 3F;2G{3F=N.4P("6b-4K")}2w(e){}7(s.1W&&3F)6.3S[s.V]=3F;B F=6.6i(N,s.4t);7(s.2M)s.2M(F,15);7(s.1k)6.G.1S("5N",[N,s])}J 6.3J(s,N,15)}2w(e){15="2C";6.3J(s,N,15,e)}7(s.1k)6.G.1S("5O",[N,s]);7(s.1k&&!--6.4E)6.G.1S("5Q");7(s.1X)s.1X(N,15);7(s.48)N=16}};B 3I=3L(37,13);7(s.29>0)57(u(){7(N){N.7N();7(!4y)37("29")}},s.29);2G{N.7Q(s.F)}2w(e){6.3J(s,N,16,e)}7(!s.48)37();v N},3J:u(s,N,15,e){7(s.2C)s.2C(N,15,e);7(s.1k)6.G.1S("5W",[N,s,e])},4E:0,5Z:u(r){2G{v!r.15&&7V.7W=="4G:"||(r.15>=5X&&r.15<7X)||r.15==6d||6.W.2N&&r.15==T}2w(e){}v 12},69:u(N,V){2G{B 6e=N.4P("6b-4K");v N.15==6d||6e==6.3S[V]||6.W.2N&&N.15==T}2w(e){}v 12},6i:u(r,C){B 4Q=r.4P("8c-C");B F=!C&&4Q&&4Q.18("N")>=0;F=C=="N"||F?r.8i:r.3G;7(C=="2d")6.4a(F);7(C=="6m")40("F = "+F);7(C=="4U")6("<1V>").4U(F).4V();v F},3g:u(a){B s=[];7(a.1l==2y||a.3Y)6.K(a,u(){s.1g(2x(q.Y)+"="+2x(q.O))});J P(B j 1x a)7(a[j]&&a[j].1l==2y)6.K(a[j],u(){s.1g(2x(j)+"="+2x(q))});J s.1g(2x(j)+"="+2x(a[j]));v s.6t("&")},4a:u(F){7(1w.54)1w.54(F);J 7(6.W.2N)1w.57(F,0);J 40.3n(1w,F)}});6.E.1z({1L:u(R,M){B 1G=q.1D(":1G");R?1G.26({28:"1L",3V:"1L",1d:"1L"},R,M):1G.K(u(){q.1q.1h=q.2E?q.2E:"";7(6.1m(q,"1h")=="1Z")q.1q.1h="2D"});v q},1K:u(R,M){B 3i=q.1D(":3i");R?3i.26({28:"1K",3V:"1K",1d:"1K"},R,M):3i.K(u(){q.2E=q.2E||6.1m(q,"1h");7(q.2E=="1Z")q.2E="2D";q.1q.1h="1Z"});v q},5g:6.E.3X,3X:u(E,4I){B 1E=1A;v 6.1t(E)&&6.1t(4I)?q.5g(E,4I):q.K(u(){6(q)[6(q).4l(":1G")?"1L":"1K"].14(6(q),1E)})},7a:u(R,M){v q.26({28:"1L"},R,M)},7c:u(R,M){v q.26({28:"1K"},R,M)},7f:u(R,M){v q.K(u(){B 5k=6(q).4l(":1G")?"1L":"1K";6(q).26({28:5k},R,M)})},7r:u(R,M){v q.26({1d:"1L"},R,M)},7u:u(R,M){v q.26({1d:"1K"},R,M)},7y:u(R,43,M){v q.26({1d:43},R,M)},26:u(H,R,1v,M){v q.1F(u(){q.2F=6.1z({},H);B 1u=6.R(R,1v,M);P(B p 1x H){B e=1p 6.3b(q,1u,p);7(H[p].1l==3Q)e.2s(e.Q(),H[p]);J e[H[p]](H)}})},1F:u(C,E){7(!E){E=C;C="3b"}v q.K(u(){7(!q.1F)q.1F={};7(!q.1F[C])q.1F[C]=[];q.1F[C].1g(E);7(q.1F[C].I==1)E.14(q)})}});6.1z({R:u(R,1v,E){B 1u=R&&R.1l==7K?R:{1X:E||!E&&1v||6.1t(R)&&R,25:R,1v:E&&1v||1v&&1v.1l!=4w&&1v};1u.25=(1u.25&&1u.25.1l==3Q?1u.25:{7R:7S,7T:5X}[1u.25])||7U;1u.1N=1u.1X;1u.1X=u(){6.6a(q,"3b");7(6.1t(1u.1N))1u.1N.14(q)};v 1u},1v:{},1F:{},6a:u(D,C){C=C||"3b";7(D.1F&&D.1F[C]){D.1F[C].4L();B f=D.1F[C][0];7(f)f.14(D)}},3b:u(D,1e,H){B z=q;B y=D.1q;B 4D=6.1m(D,"1h");y.5T="1G";z.a=u(){7(1e.49)1e.49.14(D,[z.2p]);7(H=="1d")6.1I(y,"1d",z.2p);J 7(6l(z.2p))y[H]=6l(z.2p)+"4S";y.1h="2D"};z.6v=u(){v 4T(6.1m(D,H))};z.Q=u(){B r=4T(6.30(D,H));v r&&r>-8z?r:z.6v()};z.2s=u(4f,43){z.4J=(1p 5o()).5w();z.2p=4f;z.a();z.4q=3L(u(){z.49(4f,43)},13)};z.1L=u(){7(!D.1y)D.1y={};D.1y[H]=q.Q();1e.1L=U;z.2s(0,D.1y[H]);7(H!="1d")y[H]="5a"};z.1K=u(){7(!D.1y)D.1y={};D.1y[H]=q.Q();1e.1K=U;z.2s(D.1y[H],0)};z.3X=u(){7(!D.1y)D.1y={};D.1y[H]=q.Q();7(4D=="1Z"){1e.1L=U;7(H!="1d")y[H]="5a";z.2s(0,D.1y[H])}J{1e.1K=U;z.2s(D.1y[H],0)}};z.49=u(32,47){B t=(1p 5o()).5w();7(t>1e.25+z.4J){4p(z.4q);z.4q=16;z.2p=47;z.a();7(D.2F)D.2F[H]=U;B 2c=U;P(B i 1x D.2F)7(D.2F[i]!==U)2c=12;7(2c){y.5T="";y.1h=4D;7(6.1m(D,"1h")=="1Z")y.1h="2D";7(1e.1K)y.1h="1Z";7(1e.1K||1e.1L)P(B p 1x D.2F)7(p=="1d")6.1I(y,p,D.1y[p]);J y[p]=""}7(2c&&6.1t(1e.1X))1e.1X.14(D)}J{B n=t-q.4J;B p=n/1e.25;z.2p=1e.1v&&6.1v[1e.1v]?6.1v[1e.1v](p,n,32,(47-32),1e.25):((-6h.7O(p*6h.8L)/2)+0.5)*(47-32)+32;z.a()}}}})}',62,545,'||||||jQuery|if|||||||||||||||||||this||||function|return||||||var|type|elem|fn|data|event|prop|length|else|each|ret|callback|xml|value|for|cur|speed|element|undefined|true|url|browser||name|||parentNode|false||apply|status|null|document|indexOf|className|val|firstChild|obj|opacity|options|nodeName|push|display|result|msie|global|constructor|css|test|handler|new|style|arg|expr|isFunction|opt|easing|window|in|orig|extend|arguments|context|typeof|filter|args|queue|hidden|events|attr|re|hide|show|add|old|target|table|token|replace|trigger|num|elems|div|ifModified|complete|key|none|tbody|params|while|string|nodeType|duration|animate|ready|height|timeout|nth|get|done|script|nextSibling|remove|not|index|tb|fix|merge|oid|z0|preventDefault|find|now|grep|pushStack|custom|innerHTML|first|cssFloat|catch|encodeURIComponent|Array|el|guid|sibling|error|block|oldblock|curAnim|try|stopPropagation|childNodes|id|wrap|text|success|safari|load|res|exec|al|_|last|substr|has|disabled|insertBefore|selected|checked|curCSS|map|firstNum|removeChild|re2|trim|getAttribute|onreadystatechange|handlers|on|originalEvent|fx|readyList|parPos|src|opera|param|mozilla|visible|domManip|clean|cloneNode|tr|call|split|XMLHttpRequest|ajaxSettings|append|child|String|empty|ajax|form|button|inArray|multiFilter|setRequestHeader|foundToken|9_|readyState|tag|modRes|responseText|second|ival|handleError|toUpperCase|setInterval|makeArray|slice|break|oWidth|Number|returnValue|lastModified|styleFloat|bind|width|isReady|toggle|jquery|dir|eval|mouseover|select|to|defaultView|position|oHeight|lastNum|async|step|globalEval|static|pos|swap|self|from|end|float|alpha|radio|inv|is|toLowerCase|visibility|00|clearInterval|timer|rec|isTimeout|dataType|_resort|RegExp|Function|getAll|requestDone|parents|matched|isXMLDoc|appendChild|oldDisplay|active|triggered|file|documentElement|fn2|startTime|Modified|shift|lastToggle|deep|handleHover|getResponseHeader|ct|submit|px|parseFloat|html|evalScripts|getComputedStyle|getElementById|clone|els|safariTimer|currentStyle|unload|force|execScript|getPropertyValue|newProp|setTimeout|zoom|getScript|1px|sl|settings|GET|rl|check|_toggle|processData|prepend|before|state|removeAttr|ajaxStart|lt|Date|gt|eq|contentType|previousSibling|after|parent|contains|getTime|checkbox|password|appendTo|image|reset|input|webkit|href|continue|beforeSend|ajaxSend|ownerDocument|getElementsByTagName|tmp|notmodified|parse|ajaxSuccess|ajaxComplete|_prefix|ajaxStop|even|odd|overflow|delete|POST|ajaxError|200|handle|httpSuccess|nodeValue|unshift|__ie_init|srcElement|body|pageX|tagName|clientX|scrollLeft|httpNotModified|dequeue|Last|scrollTop|304|xmlRes|unbind|100|Math|httpData|click|mouseout|parseInt|json|createElement|DOMContentLoaded|prevObject|ol|setArray|exclude|join|one|max|do|relative|clientHeight|clientWidth|loadIfModified|serialize|toString|thead|tfoot|td|th|textContent|ActiveXObject|htmlFor|Microsoft|class|XMLHTTP|readOnly|gi|match|getIfModified|9999|getJSON|getAttributeNode|post|setAttribute|ig|ajaxTimeout|ajaxSetup|concat|application|userAgent|compatible|www|compatMode|CSS1Compat|next|urlencoded|siblings|children|slideDown|prependTo|slideUp|Top|insertAfter|slideToggle|removeAttribute|addClass|removeClass|open|toggleClass|Content|Type|lastChild|If|only|Since|fadeIn|Thu|01|fadeOut|enabled|Jan|1970|fadeTo|GMT|textarea|Requested|With|prev|overrideMimeType|Connection|close|boxModel|right|object|Object|navigator|substring|abort|cos|font|send|slow|600|fast|400|location|protocol|300|pageY|clientY|method|action|cancelBubble|hover|fromElement|toElement|relatedTarget|removeEventListener|blur|readonly|focus|resize|content|scroll|dblclick|mousedown|mouseup|mousemove|responseXML|change|keydown|keypress|keyup|addEventListener|write|prototype|size|scr|ipt|createTextNode|defer|FORM|reverse|noConflict|loaded|10000|weight|line|Bottom|Right|Left|padding|border|Width|offsetHeight|offsetWidth|absolute|PI|left'.split('|'),0,{}));jQuery.noConflict();
1,116 js/modernizr_2_0_6_dev.js
@@ -0,0 +1,1116 @@
+/*!
+ * Modernizr v2.0.6
+ * http://www.modernizr.com
+ *
+ * Copyright (c) 2009-2011 Faruk Ates, Paul Irish, Alex Sexton
+ * Dual-licensed under the BSD or MIT licenses: www.modernizr.com/license/
+ */
+
+/*
+ * Modernizr tests which native CSS3 and HTML5 features are available in
+ * the current UA and makes the results available to you in two ways:
+ * as properties on a global Modernizr object, and as classes on the
+ * <html> element. This information allows you to progressively enhance
+ * your pages with a granular level of control over the experience.
+ *
+ * Modernizr has an optional (not included) conditional resource loader
+ * called Modernizr.load(), based on Yepnope.js (yepnopejs.com).
+ * To get a build that includes Modernizr.load(), as well as choosing
+ * which tests to include, go to www.modernizr.com/download/
+ *
+ * Authors Faruk Ates, Paul Irish, Alex Sexton,
+ * Contributors Ryan Seddon, Ben Alman
+ */
+
+window.Modernizr = (function( window, document, undefined ) {
+
+ var version = '2.0.6',
+
+ Modernizr = {},
+
+ // option for enabling the HTML classes to be added
+ enableClasses = true,
+
+ docElement = document.documentElement,
+ docHead = document.head || document.getElementsByTagName('head')[0],
+
+ /**
+ * Create our "modernizr" element that we do most feature tests on.
+ */
+ mod = 'modernizr',
+ modElem = document.createElement(mod),
+ mStyle = modElem.style,
+
+ /**
+ * Create the input element for various Web Forms feature tests.
+ */
+ inputElem = document.createElement('input'),
+
+ smile = ':)',
+
+ toString = Object.prototype.toString,
+
+ // List of property values to set for css tests. See ticket #21
+ prefixes = ' -webkit- -moz- -o- -ms- -khtml- '.split(' '),
+
+ // Following spec is to expose vendor-specific style properties as:
+ // elem.style.WebkitBorderRadius
+ // and the following would be incorrect:
+ // elem.style.webkitBorderRadius
+
+ // Webkit ghosts their properties in lowercase but Opera & Moz do not.
+ // Microsoft foregoes prefixes entirely <= IE8, but appears to
+ // use a lowercase `ms` instead of the correct `Ms` in IE9
+
+ // More here: http://github.com/Modernizr/Modernizr/issues/issue/21
+ domPrefixes = 'Webkit Moz O ms Khtml'.split(' '),
+
+ ns = {'svg': 'http://www.w3.org/2000/svg'},
+
+ tests = {},
+ inputs = {},
+ attrs = {},
+
+ classes = [],
+
+ featureName, // used in testing loop
+
+
+ // Inject element with style element and some CSS rules
+ injectElementWithStyles = function( rule, callback, nodes, testnames ) {
+
+ var style, ret, node,
+ div = document.createElement('div');
+
+ if ( parseInt(nodes, 10) ) {
+ // In order not to give false positives we create a node for each test
+ // This also allows the method to scale for unspecified uses
+ while ( nodes-- ) {
+ node = document.createElement('div');
+ node.id = testnames ? testnames[nodes] : mod + (nodes + 1);
+ div.appendChild(node);
+ }
+ }
+
+ // <style> elements in IE6-9 are considered 'NoScope' elements and therefore will be removed
+ // when injected with innerHTML. To get around this you need to prepend the 'NoScope' element
+ // with a 'scoped' element, in our case the soft-hyphen entity as it won't mess with our measurements.
+ // http://msdn.microsoft.com/en-us/library/ms533897%28VS.85%29.aspx
+ style = ['&shy;', '<style>', rule, '</style>'].join('');
+ div.id = mod;
+ div.innerHTML += style;
+ docElement.appendChild(div);
+
+ ret = callback(div, rule);
+ div.parentNode.removeChild(div);
+
+ return !!ret;
+
+ },
+
+
+ // adapted from matchMedia polyfill
+ // by Scott Jehl and Paul Irish
+ // gist.github.com/786768
+ testMediaQuery = function( mq ) {
+
+ if ( window.matchMedia ) {
+ return matchMedia(mq).matches;
+ }
+
+ var bool;
+
+ injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', function( node ) {
+ bool = (window.getComputedStyle ?
+ getComputedStyle(node, null) :
+ node.currentStyle)['position'] == 'absolute';
+ });
+
+ return bool;
+
+ },
+
+
+ /**
+ * isEventSupported determines if a given element supports the given event
+ * function from http://yura.thinkweb2.com/isEventSupported/
+ */
+ isEventSupported = (function() {
+
+ var TAGNAMES = {
+ 'select': 'input', 'change': 'input',
+ 'submit': 'form', 'reset': 'form',
+ 'error': 'img', 'load': 'img', 'abort': 'img'
+ };
+
+ function isEventSupported( eventName, element ) {
+
+ element = element || document.createElement(TAGNAMES[eventName] || 'div');
+ eventName = 'on' + eventName;
+
+ // When using `setAttribute`, IE skips "unload", WebKit skips "unload" and "resize", whereas `in` "catches" those
+ var isSupported = eventName in element;
+
+ if ( !isSupported ) {
+ // If it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element
+ if ( !element.setAttribute ) {
+ element = document.createElement('div');
+ }
+ if ( element.setAttribute && element.removeAttribute ) {
+ element.setAttribute(eventName, '');
+ isSupported = is(element[eventName], 'function');
+
+ // If property was created, "remove it" (by setting value to `undefined`)
+ if ( !is(element[eventName], undefined) ) {
+ element[eventName] = undefined;
+ }
+ element.removeAttribute(eventName);
+ }
+ }
+
+ element = null;
+ return isSupported;
+ }
+ return isEventSupported;
+ })();
+
+ // hasOwnProperty shim by kangax needed for Safari 2.0 support
+ var _hasOwnProperty = ({}).hasOwnProperty, hasOwnProperty;
+ if ( !is(_hasOwnProperty, undefined) && !is(_hasOwnProperty.call, undefined) ) {
+ hasOwnProperty = function (object, property) {
+ return _hasOwnProperty.call(object, property);
+ };
+ }
+ else {
+ hasOwnProperty = function (object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */
+ return ((property in object) && is(object.constructor.prototype[property], undefined));
+ };
+ }
+
+ /**
+ * setCss applies given styles to the Modernizr DOM node.
+ */
+ function setCss( str ) {
+ mStyle.cssText = str;
+ }
+
+ /**
+ * setCssAll extrapolates all vendor-specific css strings.
+ */
+ function setCssAll( str1, str2 ) {
+ return setCss(prefixes.join(str1 + ';') + ( str2 || '' ));
+ }
+
+ /**
+ * is returns a boolean for if typeof obj is exactly type.
+ */
+ function is( obj, type ) {
+ return typeof obj === type;
+ }
+
+ /**
+ * contains returns a boolean for if substr is found within str.
+ */
+ function contains( str, substr ) {
+ return !!~('' + str).indexOf(substr);
+ }
+
+ /**
+ * testProps is a generic CSS / DOM property test; if a browser supports
+ * a certain property, it won't return undefined for it.
+ * A supported CSS property returns empty string when its not yet set.
+ */
+ function testProps( props, prefixed ) {
+ for ( var i in props ) {
+ if ( mStyle[ props[i] ] !== undefined ) {
+ return prefixed == 'pfx' ? props[i] : true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * testPropsAll tests a list of DOM properties we want to check against.
+ * We specify literally ALL possible (known and/or likely) properties on
+ * the element including the non-vendor prefixed one, for forward-
+ * compatibility.
+ */
+ function testPropsAll( prop, prefixed ) {
+
+ var ucProp = prop.charAt(0).toUpperCase() + prop.substr(1),
+ props = (prop + ' ' + domPrefixes.join(ucProp + ' ') + ucProp).split(' ');
+
+ return testProps(props, prefixed);
+ }
+
+ /**
+ * testBundle tests a list of CSS features that require element and style injection.
+ * By bundling them together we can reduce the need to touch the DOM multiple times.
+ */
+ /*>>testBundle*/
+ var testBundle = (function( styles, tests ) {
+ var style = styles.join(''),
+ len = tests.length;
+
+ injectElementWithStyles(style, function( node, rule ) {
+ var style = document.styleSheets[document.styleSheets.length - 1],
+ // IE8 will bork if you create a custom build that excludes both fontface and generatedcontent tests.
+ // So we check for cssRules and that there is a rule available
+ // More here: https://github.com/Modernizr/Modernizr/issues/288 & https://github.com/Modernizr/Modernizr/issues/293
+ cssText = style.cssRules && style.cssRules[0] ? style.cssRules[0].cssText : style.cssText || "",
+ children = node.childNodes, hash = {};
+
+ while ( len-- ) {
+ hash[children[len].id] = children[len];
+ }
+
+ /*>>touch*/ Modernizr['touch'] = ('ontouchstart' in window) || hash['touch'].offsetTop === 9; /*>>touch*/
+ /*>>csstransforms3d*/ Modernizr['csstransforms3d'] = hash['csstransforms3d'].offsetLeft === 9; /*>>csstransforms3d*/
+ /*>>generatedcontent*/Modernizr['generatedcontent'] = hash['generatedcontent'].offsetHeight >= 1; /*>>generatedcontent*/
+ /*>>fontface*/ Modernizr['fontface'] = /src/i.test(cssText) &&
+ cssText.indexOf(rule.split(' ')[0]) === 0; /*>>fontface*/
+ }, len, tests);
+
+ })([
+ // Pass in styles to be injected into document
+ /*>>fontface*/ '@font-face {font-family:"font";src:url("https://")}' /*>>fontface*/
+
+ /*>>touch*/ ,['@media (',prefixes.join('touch-enabled),('),mod,')',
+ '{#touch{top:9px;position:absolute}}'].join('') /*>>touch*/
+
+ /*>>csstransforms3d*/ ,['@media (',prefixes.join('transform-3d),('),mod,')',
+ '{#csstransforms3d{left:9px;position:absolute}}'].join('')/*>>csstransforms3d*/
+
+ /*>>generatedcontent*/,['#generatedcontent:after{content:"',smile,'";visibility:hidden}'].join('') /*>>generatedcontent*/
+ ],
+ [
+ /*>>fontface*/ 'fontface' /*>>fontface*/
+ /*>>touch*/ ,'touch' /*>>touch*/
+ /*>>csstransforms3d*/ ,'csstransforms3d' /*>>csstransforms3d*/
+ /*>>generatedcontent*/,'generatedcontent' /*>>generatedcontent*/
+
+ ]);/*>>testBundle*/
+
+
+ /**
+ * Tests
+ * -----
+ */
+
+ tests['flexbox'] = function() {
+ /**
+ * setPrefixedValueCSS sets the property of a specified element
+ * adding vendor prefixes to the VALUE of the property.
+ * @param {Element} element
+ * @param {string} property The property name. This will not be prefixed.
+ * @param {string} value The value of the property. This WILL be prefixed.
+ * @param {string=} extra Additional CSS to append unmodified to the end of
+ * the CSS string.
+ */
+ function setPrefixedValueCSS( element, property, value, extra ) {
+ property += ':';
+ element.style.cssText = (property + prefixes.join(value + ';' + property)).slice(0, -property.length) + (extra || '');
+ }
+
+ /**
+ * setPrefixedPropertyCSS sets the property of a specified element
+ * adding vendor prefixes to the NAME of the property.
+ * @param {Element} element
+ * @param {string} property The property name. This WILL be prefixed.
+ * @param {string} value The value of the property. This will not be prefixed.
+ * @param {string=} extra Additional CSS to append unmodified to the end of
+ * the CSS string.
+ */
+ function setPrefixedPropertyCSS( element, property, value, extra ) {
+ element.style.cssText = prefixes.join(property + ':' + value + ';') + (extra || '');
+ }
+
+ var c = document.createElement('div'),
+ elem = document.createElement('div');
+
+ setPrefixedValueCSS(c, 'display', 'box', 'width:42px;padding:0;');
+ setPrefixedPropertyCSS(elem, 'box-flex', '1', 'width:10px;');
+
+ c.appendChild(elem);
+ docElement.appendChild(c);
+
+ var ret = elem.offsetWidth === 42;
+
+ c.removeChild(elem);
+ docElement.removeChild(c);
+
+ return ret;
+ };
+
+ // On the S60 and BB Storm, getContext exists, but always returns undefined
+ // http://github.com/Modernizr/Modernizr/issues/issue/97/
+
+ tests['canvas'] = function() {
+ var elem = document.createElement('canvas');
+ return !!(elem.getContext && elem.getContext('2d'));
+ };
+
+ tests['canvastext'] = function() {
+ return !!(Modernizr['canvas'] && is(document.createElement('canvas').getContext('2d').fillText, 'function'));
+ };
+
+ // This WebGL test may false positive.
+ // But really it's quite impossible to know whether webgl will succeed until after you create the context.
+ // You might have hardware that can support a 100x100 webgl canvas, but will not support a 1000x1000 webgl
+ // canvas. So this feature inference is weak, but intentionally so.
+
+ // It is known to false positive in FF4 with certain hardware and the iPad 2.
+
+ tests['webgl'] = function() {
+ return !!window.WebGLRenderingContext;
+ };
+
+ /*
+ * The Modernizr.touch test only indicates if the browser supports
+ * touch events, which does not necessarily reflect a touchscreen
+ * device, as evidenced by tablets running Windows 7 or, alas,
+ * the Palm Pre / WebOS (touch) phones.
+ *
+ * Additionally, Chrome (desktop) used to lie about its support on this,
+ * but that has since been rectified: http://crbug.com/36415
+ *
+ * We also test for Firefox 4 Multitouch Support.
+ *
+ * For more info, see: http://modernizr.github.com/Modernizr/touch.html
+ */
+
+ tests['touch'] = function() {
+ return Modernizr['touch'];
+ };
+
+ /**
+ * geolocation tests for the new Geolocation API specification.
+ * This test is a standards compliant-only test; for more complete
+ * testing, including a Google Gears fallback, please see:
+ * http://code.google.com/p/geo-location-javascript/
+ * or view a fallback solution using google's geo API:
+ * http://gist.github.com/366184
+ */
+ tests['geolocation'] = function() {
+ return !!navigator.geolocation;
+ };
+
+ // Per 1.6:
+ // This used to be Modernizr.crosswindowmessaging but the longer
+ // name has been deprecated in favor of a shorter and property-matching one.
+ // The old API is still available in 1.6, but as of 2.0 will throw a warning,
+ // and in the first release thereafter disappear entirely.
+ tests['postmessage'] = function() {
+ return !!window.postMessage;
+ };
+
+ // Web SQL database detection is tricky:
+
+ // In chrome incognito mode, openDatabase is truthy, but using it will
+ // throw an exception: http://crbug.com/42380
+ // We can create a dummy database, but there is no way to delete it afterwards.
+
+ // Meanwhile, Safari users can get prompted on any database creation.
+ // If they do, any page with Modernizr will give them a prompt:
+ // http://github.com/Modernizr/Modernizr/issues/closed#issue/113
+
+ // We have chosen to allow the Chrome incognito false positive, so that Modernizr
+ // doesn't litter the web with these test databases. As a developer, you'll have
+ // to account for this gotcha yourself.
+ tests['websqldatabase'] = function() {
+ var result = !!window.openDatabase;
+ /* if (result){
+ try {
+ result = !!openDatabase( mod + "testdb", "1.0", mod + "testdb", 2e4);
+ } catch(e) {
+ }
+ } */
+ return result;
+ };
+
+ // Vendors had inconsistent prefixing with the experimental Indexed DB:
+ // - Webkit's implementation is accessible through webkitIndexedDB
+ // - Firefox shipped moz_indexedDB before FF4b9, but since then has been mozIndexedDB
+ // For speed, we don't test the legacy (and beta-only) indexedDB
+ tests['indexedDB'] = function() {
+ for ( var i = -1, len = domPrefixes.length; ++i < len; ){
+ if ( window[domPrefixes[i].toLowerCase() + 'IndexedDB'] ){
+ return true;
+ }
+ }
+ return !!window.indexedDB;
+ };
+
+ // documentMode logic from YUI to filter out IE8 Compat Mode
+ // which false positives.
+ tests['hashchange'] = function() {
+ return isEventSupported('hashchange', window) && (document.documentMode === undefined || document.documentMode > 7);
+ };
+
+ // Per 1.6:
+ // This used to be Modernizr.historymanagement but the longer
+ // name has been deprecated in favor of a shorter and property-matching one.
+ // The old API is still available in 1.6, but as of 2.0 will throw a warning,
+ // and in the first release thereafter disappear entirely.
+ tests['history'] = function() {
+ return !!(window.history && history.pushState);
+ };
+
+ tests['draganddrop'] = function() {
+ return isEventSupported('dragstart') && isEventSupported('drop');
+ };
+
+ // Mozilla is targeting to land MozWebSocket for FF6
+ // bugzil.la/659324
+ tests['websockets'] = function() {
+ for ( var i = -1, len = domPrefixes.length; ++i < len; ){
+ if ( window[domPrefixes[i] + 'WebSocket'] ){
+ return true;
+ }
+ }
+ return 'WebSocket' in window;
+ };
+
+
+ // http://css-tricks.com/rgba-browser-support/
+ tests['rgba'] = function() {
+ // Set an rgba() color and check the returned value
+
+ setCss('background-color:rgba(150,255,150,.5)');
+
+ return contains(mStyle.backgroundColor, 'rgba');
+ };
+
+ tests['hsla'] = function() {
+ // Same as rgba(), in fact, browsers re-map hsla() to rgba() internally,
+ // except IE9 who retains it as hsla
+
+ setCss('background-color:hsla(120,40%,100%,.5)');
+
+ return contains(mStyle.backgroundColor, 'rgba') || contains(mStyle.backgroundColor, 'hsla');
+ };
+
+ tests['multiplebgs'] = function() {
+ // Setting multiple images AND a color on the background shorthand property
+ // and then querying the style.background property value for the number of
+ // occurrences of "url(" is a reliable method for detecting ACTUAL support for this!
+
+ setCss('background:url(https://),url(https://),red url(https://)');
+
+ // If the UA supports multiple backgrounds, there should be three occurrences
+ // of the string "url(" in the return value for elemStyle.background
+
+ return /(url\s*\(.*?){3}/.test(mStyle.background);
+ };
+
+
+ // In testing support for a given CSS property, it's legit to test:
+ // `elem.style[styleName] !== undefined`
+ // If the property is supported it will return an empty string,
+ // if unsupported it will return undefined.
+
+ // We'll take advantage of this quick test and skip setting a style
+ // on our modernizr element, but instead just testing undefined vs
+ // empty string.
+
+
+ tests['backgroundsize'] = function() {
+ return testPropsAll('backgroundSize');
+ };
+
+ tests['borderimage'] = function() {
+ return testPropsAll('borderImage');
+ };
+
+
+ // Super comprehensive table about all the unique implementations of
+ // border-radius: http://muddledramblings.com/table-of-css3-border-radius-compliance
+
+ tests['borderradius'] = function() {
+ return testPropsAll('borderRadius');
+ };
+
+ // WebOS unfortunately false positives on this test.
+ tests['boxshadow'] = function() {
+ return testPropsAll('boxShadow');
+ };
+
+ // FF3.0 will false positive on this test
+ tests['textshadow'] = function() {
+ return document.createElement('div').style.textShadow === '';
+ };
+
+
+ tests['opacity'] = function() {
+ // Browsers that actually have CSS Opacity implemented have done so
+ // according to spec, which means their return values are within the
+ // range of [0.0,1.0] - including the leading zero.
+
+ setCssAll('opacity:.55');
+
+ // The non-literal . in this regex is intentional:
+ // German Chrome returns this value as 0,55
+ // https://github.com/Modernizr/Modernizr/issues/#issue/59/comment/516632
+ return /^0.55$/.test(mStyle.opacity);
+ };
+
+
+ tests['cssanimations'] = function() {
+ return testPropsAll('animationName');
+ };
+
+
+ tests['csscolumns'] = function() {
+ return testPropsAll('columnCount');
+ };
+
+
+ tests['cssgradients'] = function() {
+ /**
+ * For CSS Gradients syntax, please see:
+ * http://webkit.org/blog/175/introducing-css-gradients/
+ * https://developer.mozilla.org/en/CSS/-moz-linear-gradient
+ * https://developer.mozilla.org/en/CSS/-moz-radial-gradient
+ * http://dev.w3.org/csswg/css3-images/#gradients-
+ */
+
+ var str1 = 'background-image:',
+ str2 = 'gradient(linear,left top,right bottom,from(#9f9),to(white));',
+ str3 = 'linear-gradient(left top,#9f9, white);';
+
+ setCss(
+ (str1 + prefixes.join(str2 + str1) + prefixes.join(str3 + str1)).slice(0, -str1.length)
+ );
+
+ return contains(mStyle.backgroundImage, 'gradient');
+ };
+
+
+ tests['cssreflections'] = function() {
+ return testPropsAll('boxReflect');
+ };
+
+
+ tests['csstransforms'] = function() {
+ return !!testProps(['transformProperty', 'WebkitTransform', 'MozTransform', 'OTransform', 'msTransform']);
+ };
+
+
+ tests['csstransforms3d'] = function() {
+
+ var ret = !!testProps(['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']);
+
+ // Webkit’s 3D transforms are passed off to the browser's own graphics renderer.
+ // It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in
+ // some conditions. As a result, Webkit typically recognizes the syntax but
+ // will sometimes throw a false positive, thus we must do a more thorough check:
+ if ( ret && 'webkitPerspective' in docElement.style ) {
+
+ // Webkit allows this media query to succeed only if the feature is enabled.
+ // `@media (transform-3d),(-o-transform-3d),(-moz-transform-3d),(-ms-transform-3d),(-webkit-transform-3d),(modernizr){ ... }`
+ ret = Modernizr['csstransforms3d'];
+ }
+ return ret;
+ };
+
+
+ tests['csstransitions'] = function() {
+ return testPropsAll('transitionProperty');
+ };
+
+
+ /*>>fontface*/
+ // @font-face detection routine by Diego Perini
+ // http://javascript.nwbox.com/CSSSupport/
+ tests['fontface'] = function() {
+ return Modernizr['fontface'];
+ };
+ /*>>fontface*/
+
+ // CSS generated content detection
+ tests['generatedcontent'] = function() {
+ return Modernizr['generatedcontent'];
+ };
+
+
+
+ // These tests evaluate support of the video/audio elements, as well as
+ // testing what types of content they support.
+ //
+ // We're using the Boolean constructor here, so that we can extend the value
+ // e.g. Modernizr.video // true
+ // Modernizr.video.ogg // 'probably'
+ //
+ // Codec values from : http://github.com/NielsLeenheer/html5test/blob/9106a8/index.html#L845
+ // thx to NielsLeenheer and zcorpan
+
+ // Note: in FF 3.5.1 and 3.5.0, "no" was a return value instead of empty string.
+ // Modernizr does not normalize for that.
+
+ tests['video'] = function() {
+ var elem = document.createElement('video'),
+ bool = false;
+
+ // IE9 Running on Windows Server SKU can cause an exception to be thrown, bug #224
+ try {
+ if ( bool = !!elem.canPlayType ) {
+ bool = new Boolean(bool);
+ bool.ogg = elem.canPlayType('video/ogg; codecs="theora"');
+
+ // Workaround required for IE9, which doesn't report video support without audio codec specified.
+ // bug 599718 @ msft connect