Difference between revisions of "Team:UCL"

Line 1: Line 1:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"><head>
+
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
<head>
<meta name="generator" content="MediaWiki 1.16.5">
+
<link rel="shortcut icon" href="/favicon.ico">
+
<link rel="search" type="application/opensearchdescription+xml" href="/wiki/opensearch_desc.php" title="2015.igem.org (en)">
+
<link title="Creative Commons" type="application/rdf+xml" href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=creativecommons" rel="meta">
+
<link rel="copyright" href="http://creativecommons.org/licenses/by/4.0/">
+
<link rel="alternate" type="application/atom+xml" title="2015.igem.org Atom feed" href="/wiki/index.php?title=Special:RecentChanges&amp;feed=atom"> <title>Team:UCL/Playingaround3 - 2015.igem.org</title>
+
<style type="text/css" media="screen, projection">/*<![CDATA[*/
+
@import "/wiki/skins/common/shared.css?270";
+
@import "/wiki/skins/igem/main.css?270";
+
/*]]>*/</style>
+
<link rel="stylesheet" type="text/css" media="print" href="/wiki/skins/common/commonPrint.css?270">
+
<!--[if lt IE 5.5000]><style type="text/css">@import "/wiki/skins/igem/IE50Fixes.css?270";</style><![endif]-->
+
<!--[if IE 5.5000]><style type="text/css">@import "/wiki/skins/igem/IE55Fixes.css?270";</style><![endif]-->
+
<!--[if IE 6]><style type="text/css">@import "/wiki/skins/igem/IE60Fixes.css?270";</style><![endif]-->
+
<!--[if IE 7]><style type="text/css">@import "/wiki/skins/igem/IE70Fixes.css?270";</style><![endif]-->
+
<!--[if lt IE 7]><script type="text/javascript" src="/wiki/skins/common/IEFixes.js?270"></script>
+
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+
+
<script id="twitter-wjs" src="http://platform.twitter.com/widgets.js"></script><script>
+
var skin="igem",
+
stylepath="/wiki/skins",
+
wgUrlProtocols="http\\:\\/\\/|https\\:\\/\\/|ftp\\:\\/\\/|irc\\:\\/\\/|gopher\\:\\/\\/|telnet\\:\\/\\/|nntp\\:\\/\\/|worldwind\\:\\/\\/|mailto\\:|news\\:|svn\\:\\/\\/",
+
wgArticlePath="/$1",
+
wgScriptPath="/wiki",
+
wgScriptExtension=".php",
+
wgScript="/wiki/index.php",
+
wgVariantArticlePath=false,
+
wgActionPaths={},
+
wgServer="https://2015.igem.org",
+
wgCanonicalNamespace="",
+
wgCanonicalSpecialPageName=false,
+
wgNamespaceNumber=0,
+
wgPageName="Team:UCL/Playingaround3",
+
wgTitle="Team:UCL/Playingaround3",
+
wgAction="view",
+
wgArticleId=7862,
+
wgIsArticle=true,
+
wgUserName=null,
+
wgUserGroups=null,
+
wgUserLanguage="en",
+
wgContentLanguage="en",
+
wgBreakFrames=false,
+
wgCurRevisionId=32321,
+
wgVersion="1.16.5",
+
wgEnableAPI=true,
+
wgEnableWriteAPI=true,
+
wgSeparatorTransformTable=["", ""],
+
wgDigitTransformTable=["", ""],
+
wgMainPageTitle="Main Page",
+
wgFormattedNamespaces={"-2": "Media", "-1": "Special", "0": "", "1": "Talk", "2": "User", "3": "User talk", "4": "2015.igem.org", "5": "2015.igem.org talk", "6": "File", "7": "File talk", "8": "MediaWiki", "9": "MediaWiki talk", "10": "Template", "11": "Template talk", "12": "Help", "13": "Help talk", "14": "Category", "15": "Category talk"},
+
wgNamespaceIds={"media": -2, "special": -1, "": 0, "talk": 1, "user": 2, "user_talk": 3, "2015.igem.org": 4, "2015.igem.org_talk": 5, "file": 6, "file_talk": 7, "mediawiki": 8, "mediawiki_talk": 9, "template": 10, "template_talk": 11, "help": 12, "help_talk": 13, "category": 14, "category_talk": 15, "image": 6, "image_talk": 7},
+
wgSiteName="2015.igem.org",
+
wgCategories=[],
+
wgMWSuggestTemplate="https://2015.igem.org/wiki/api.php?action=opensearch\x26search={searchTerms}\x26namespace={namespaces}\x26suggest",
+
wgDBname="2015_igem_org",
+
wgSearchNamespaces=[0],
+
wgMWSuggestMessages=["with suggestions", "no suggestions"],
+
wgRestrictionEdit=[],
+
wgRestrictionMove=[];
+
</script>               
+
<script type="text/javascript" src="/wiki/skins/common/wikibits.js?270"><!-- wikibits js --></script>
+
<!-- Head Scripts -->
+
<script src="/wiki/skins/common/ajax.js?270"></script>
+
<script src="/wiki/skins/common/mwsuggest.js?270"></script>
+
<script type="text/javascript" src="/wiki/index.php?title=-&amp;action=raw&amp;gen=js&amp;useskin=igem"><!-- site js --></script>
+
<!-- jQuery Javascript -->
+
<script type="text/javascript" src="/common/jquery-latest.min.js"></script>
+
<script type="text/javascript" src="/common/tablesorter/jquery.tablesorter.min.js"></script>
+
        <link rel="stylesheet" type="text/css" href="/common/tablesorter/themes/groupparts/style.css">
+
        <link rel="stylesheet" type="text/css" href="/common/table_styles.css">
+
        <link rel="stylesheet" type="text/css" href="/forum/forum_styles.css">
+
<script type="text/javascript" src="/forum/forum_scripts.js"></script>
+
        <link rel="stylesheet" type="text/css" href="/wiki/skins/igem/top_menu_14.css">
+
<style type="text/css"></style></head>
+
 
+
<body class="mediawiki  ltr ns-0 ns-subject page-Team_UCL_Playingaround3" data-twttr-rendered="true" data-feedly-mini="yes">
+
  <div id="globalWrapper">
+
  <div id="top_menu_under" class="noprint"></div>
+
  <div id="top_menu_14" class="noprint"><div id="top_menu_inside">
+
 
+
<ul>
+
<li class="has_submenu"><a href="" style="color:white">iGEM</a><div class="submenu" style="display: none;">
+
                  <div id="igem_submenu" class="intro"><div class="section1" style="float:left;cursor:default;font-style: normal;width:200px;"><img src="https://2015.igem.org/wiki/skins/igem/images/IGEM_white_letters.png" style="width:150px;"><br><div style="padding:15px 15px;">The International<br>Genetically<br>Engineered<br>Machine Competition</div></div><div class="section" style="float-left; width:250px;"><div class="h1">Quick Links</div><a href="https://igem.org">igem.org</a><br><a href="https://2015.igem.org">2015.igem.org</a><br><a href="https://2014.igem.org">2014.igem.org</a><br><a href="https://2014.igem.org">2014HS.igem.org</a><br><a href="http://parts.igem.org">parts.igem.org</a><br><a href="https://igem.org/Previous_iGEM_Competitions">Previous iGEM Competitions</a><br></div><div class="section" style="float:left;"><div class="h1">About iGEM</div><a href="https://igem.org/About">iGEM</a><br><a href="http://parts.igem.org/Help:Synthetic_Biology">Synthetic Biology</a><br><a href="http://parts.igem.org/Help:Philosophy">Our Philosophy</a><br><a href="http://parts.igem.org/Help:Parts">Parts</a><br><a href="http://parts.igem.org/Help:Plasmid_Backbones">Plasmid Backbones</a><br><a href="https://igem.org/Labs">iGEM Labs</a><br></div><div class="section" style="float:left; width:250px;"><div class="h1">Contacts</div>hq <span style="font-style:italic">at</span> igem <span style="font-style:italic">dot</span> org<br><br>+ 617.500.3106<br><br>One Kendall Square<br>Suite B6104<br>Cambridge, MA 02139<br>USA<br><a href="https://igem.org/Contact">Contact</a><br></div></div>
+
              </div>
+
              <script>jQuery('#igem_submenu').load('https://2015.igem.org/cgi/top_menu_14/igem_reply.cgi',{t: 'Team%3AUCL%2FPlayingaround3', a: ''});</script></li>
+
<li class="has_submenu"><a href="" style="color:white">wiki tools</a><div class="submenu">
+
                  <div id="wiki_tools_submenu" class="intro"><div class="section" style="float:left;"><div class="h1">Wiki Tools</div><a href="/Team:UCL/Playingaround3">Return to the page</a><br><a href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=edit">Edit this page</a><br><a href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=history">History of this page</a><br><a href="/Special:WhatLinksHere/Team:UCL/Playingaround3">What links here</a><br><a href="/Special:RecentChangesLinked/Team:UCL/Playingaround3">Related changes</a><br><a href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=delete">Delete</a><br><a href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=move">Move</a><br><a href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=protect">Protect</a><br><a href="/wiki/index.php?title=Team:UCL/Playingaround3&amp;action=unprotect">Unprotect</a><br></div><div class="section" style="float-left;"><div class="h1">Upload Tools</div><a href="/Special:Upload">Upload files</a><br><a href="/Special:SpecialPages">Special pages</a><br></div><div class="section" style="float:left"><div class="h1">Other</div><a href="/Special:Recentchanges">Recent changes</a><br><a href="/Special:SpecialPages">Special pages</a><br></div><div class="section1" style="float:right;font-size:18px;line-height:24px;font-family:georgia,serif;font-style:italic;font-weight:400;color:#cccccc; width:250px;">These tools let you edit this page, see the page history, recent changes, upload files, and more.
+
    Starting in 2014, team wiki pages and images may only be modified by members of that team.
+
<div style="display:block;width:100%;font-family:arial;font-style:normal;font-size:13px">
+
    <a style="float:right" href="https://2014.igem.org/Uploading_Files">For more information...</a></div></div><div style="clear:both"></div><div style="border-top: 2px solid gray;margin-top:10px;padding: 10px 5px;font-style:normal;width:100%">
+
          The contents of this web site are available under the
+
          Creative Commons Attribution Copyright license.<a style="float:right" href="http://mediawiki.org"><img src="/wiki/skins/common/images/poweredby_mediawiki_88x31.png"></a></div></div>
+
              </div>
+
              <script>jQuery('#wiki_tools_submenu').load('https://2015.igem.org/cgi/top_menu_14/wiki_tools_reply.cgi',{t: 'Team%3AUCL%2FPlayingaround3', a: ''});</script></li>
+
<li class="has_submenu"><a href="" style="color:white">search</a><div class="submenu" style="display: none;">
+
                  <div id="search_submenu" class="intro"><div class="section" style="float:left;"><div class="h1">Search Tools</div><div class="section" style="float:left;width:600px;font-size:18px;line-height:30px;"><input id="search_text" value="" style="font-size:14px;width:500px;margin-bottom:10px;"><div class="google" style="font-size:14px;line-height:22px;">  Click below to search using Google:<br><span id="igem15_search">2015.igem.org</span><br><span id="igem14_search">2014.igem.org</span><br><span id="igem_search">igem.org</span><br><span id="registry_search">iGEM Registry</span><br><span id="scholar_search">Google Scholar</span><br><span id="web_search">The Web</span></div><div id="page_go">Go to this page (or create it)</div></div></div><div class="section" style=""></div><div class="section1" style="float:right;font-size:18px;line-height:24px;font-family:georgia,serif;font-style:italic;font-weight:400;color:#cccccc;width:250px;"><div>We use a Google site search rather than the built in Mediawiki search tool.</div> </div><div style="clear:both ></div><div class=" section'=""></div>
+
</div>
+
              </div>
+
              <script>jQuery('#search_submenu').load('https://2015.igem.org/cgi/top_menu_14/search_reply.cgi',{t: 'Team%3AUCL%2FPlayingaround3', a: ''});</script></li>
+
<li class="has_submenu"><a href="" style="color:white">toc</a><div class="submenu" style="display: none;">
+
                  <div id="toc_submenu" class="intro"><div class="section" style="float:left;"><div class="h1">Options for the TOC</div><a href="#">Exclude team pages</a><br><a href="#">Show only team pages</a><br></div><div class="section1" style="float:right;font-size:18px;line-height:24px;font-family:georgia,serif;font-style:italic;font-weight:400;color:#cccccc; width:250px;">This Table of Contents tool examines the wiki database to show you an organized list of pages in thei wiki.</div><div style="clear:both"></div></div>
+
              </div>
+
              <script>jQuery('#toc_submenu').load('https://2015.igem.org/cgi/top_menu_14/toc_reply.cgi',{t: 'Team%3AUCL%2FPlayingaround3', a: ''});</script></li>
+
<li class="has_submenu"><a href="" style="color:white">teams</a><div class="submenu" style="display: none;">
+
                  <div id="teams_submenu" class="intro">The team submenu is not avialable at this time.</div>
+
              </div>
+
              <script>jQuery('#teams_submenu').load('https://2015.igem.org/cgi/top_menu_14/teams_reply.cgi',{t: 'Team%3AUCL%2FPlayingaround3', a: ''});</script></li>
+
</ul>
+
<div id="user_item" class="has_submenu">
+
<style>
+
#nlogin_iframe {
+
      display: block;
+
      position:relative;
+
      width: 900px;
+
      height: 220px;
+
      border:  none;
+
      font-family:  ariel, sans-serif;
+
      text-align:  center;
+
      color:        white;
+
      background-color: transparent;
+
      margin-top:  10px;
+
}
+
</style>
+
login</div>
+
          <script>jQuery('#user_item').load('https://2015.igem.org/cgi/top_menu_14/user_reply.cgi',{t: 'Team%3AUCL%2FPlayingaround3'});</script>
+
<script>bars_box_active = true;</script>
+
<div id="bars_item">  <img src="http://parts.igem.org/images/website/bars_20.png" style="height:14px;width:20px;">  <div id="bars_box" style="display:none;">
+
 
+
<!-- start of css -->
+
<style type="text/css">
+
 
+
 
+
#bars_box {
+
display:block;
+
}
+
 
+
/*Main page right column, the on page menu will be placed here */
+
#menu_BarsBox{
+
width: 180px;
+
background-color: #fff;
+
}
+
 
+
 
+
#menu_BarsBox  h4 {
+
color: #656459;
+
padding: 5px 10px;
+
padding-left: 5px;
+
}
+
 
+
 
+
#menu_BarsBox a {
+
text-decoration: none;
+
}
+
 
+
 
+
#menu_BarsBox ul {background: #ffffff;}
+
 
+
/*Styling for the the list item */
+
#menu_BarsBox ul li{
+
+
padding-left: 10px;
+
margin-bottom: -1px;
+
margin-left: 0px;
+
 
+
display:block;
+
border: 1px solid #ccc;
+
border-right: 0px solid white;
+
border-left: 0px solid white;
+
 
+
height:20px;
+
width: 143px;
+
 
+
font-size: 11px;
+
font-weight: bold;
+
color: #565656;
+
list-style: none;
+
 
+
/*animate transition */
+
-webkit-transition: background 0.2s linear;
+
-moz-transition: background 0.2s linear;
+
-ms-transition: background 0.2s linear;
+
-o-transition: background 0.2s linear;
+
transition: background 0.2s linear;
+
}
+
 
+
/*For the list item, changes the color on hover.*/
+
#menu_BarsBox ul li:hover{
+
background-color:#c1dfa6;
+
}
+
 
+
 
+
/*styling for the menu header*/
+
.accordion-header, .accordion-header_noaction {
+
background: #f2f2f2;
+
font-family: "Arial", Gadget, sans-serif;
+
border: 1px solid #ccc;
+
cursor: pointer;
+
/*animate transition */
+
-webkit-transition: background 0.2s linear;
+
-moz-transition: background 0.2s linear;
+
-ms-transition: background 0.2s linear;
+
-o-transition: background 0.2s linear;
+
transition: background 0.2s linear;
+
}
+
 
+
.accordion-header_noaction:hover {
+
background: #c1dfa6;
+
}
+
 
+
/* switches background color to green */
+
.active-header {
+
background: #d3d3d3;
+
}
+
+
/* switches background color to light green */
+
.active-header:hover {
+
background: #c1dfa6;
+
}
+
 
+
/* switches background color to default gray */
+
.inactive-header {
+
background: #f2f2f2;
+
}
+
 
+
/* switches background color to light green */
+
.inactive-header:hover {
+
background: #c1dfa6;
+
}
+
 
+
/* styling for the submenus */
+
.accordion-content {
+
display: none;
+
background: #ffffff;
+
border: 1px solid #cccccc;
+
border-top: 0;
+
float: left;
+
margin-bottom:  10px;
+
}
+
</style>
+
<!-- end of css -->
+
 
+
 
+
 
+
<!-- jquery -->
+
+
<!-- end of jquery-->
+
 
+
 
+
 
+
<!-- menu -->
+
 
+
<div id="menu_BarsBox">
+
 
+
<h5 style="margin:auto;text-align:center; padding:10px 0px;"> 2015 Navigation Menu </h5>
+
<a href="https://2015.igem.org/Main_Page"><h4 class="accordion-header_noaction">Home</h4></a>
+
 
+
<h4 class="accordion-header inactive-header">About iGEM</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://igem.org/About"><li>What is iGEM?</li></a>
+
<a href="https://igem.org/Previous_iGEM_Competitions"><li>Previous Competitions</li></a>
+
<a href="https://igem.org/Contact"><li>iGEM Headquarters </li></a>
+
<a href="https://igem.org/Press_Kit"><li>Press Kit</li></a>
+
<a href="https://igem.org/Newsletters"><li>Join our Newsletter</li></a>
+
<a href="https://igem.org/Sponsorship"><li>Sponsor iGEM</li></a>
+
</ul>
+
</div>
+
 
+
 
+
<h4 class="accordion-header inactive-header">Starting a Team</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Starting_a_Team"><li>Starting a Team</li></a>
+
<a href="https://2015.igem.org/Funding"><li>Funding</li></a>
+
</ul>
+
</div>
+
 
+
 
+
<h4 class="accordion-header inactive-header">Registration &amp; Fees</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://igem.org/IGEM_2015_Registration"><li>Register Now </li></a>
+
<a href="https://2015.igem.org/Registration"><li>How to Register</li></a>
+
<a href="https://2015.igem.org/Fees"><li>Fees</li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Calendar</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Calendar_of_Events"><li>Calendar of Events</li></a>
+
</ul>
+
</div>
+
+
<h4 class="accordion-header inactive-header">Requirements</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Requirements"><li>Requirements</li></a>
+
<a href="https://2015.igem.org/Wiki_Requirements"><li>Wiki Requirements</li></a>
+
<a href="https://2015.igem.org/Sections"><li>Sections</li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Tracks</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Tracks"><li>Complete List</li></a>
+
<a href="https://2015.igem.org/Tracks#New_Tracks"><li>New Tracks</li></a>
+
<a href="https://2015.igem.org/Tracks/HighSchool"><li>High School</li></a>
+
                                                <a href="https://igem.org/Team_Tracks?year=2015"><li>Team Tracks</li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Parts</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="http://parts.igem.org/Help:Registry-at-a-Glance"><li>Registry At-a-Glance</li></a>
+
<a href="https://2015.igem.org/DNA_Distribution"><li>2015 DNA Distribution</li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Resources</h4>
+
<div class="accordion-content">
+
<ul>
+
                                                <a href="https://2015.igem.org/Troubleshooting"><li>Cloning Help</li></a>
+
<a href="https://2015.igem.org/Visa_help"><li>Visa Help</li></a>
+
                                                <a href="https://2015.igem.org/FundingOpportunities"><li> Funding Opportunities</li></a>
+
<a href="https://2015.igem.org/Partner_Special_Offers"><li>Partner Special Offers</li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Giant Jamboree</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Giant_Jamboree"><li>General Information</li></a>
+
<a href="https://2015.igem.org/Giant_Jamboree/Career_Fair"><li>Career Fair</li></a>
+
<a href="https://igem.org/Sponsorship"><li>Sponsorship Opportunities</li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Human Practices</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Practices_Hub"><li>Practices Hub </li></a>
+
<a href="https://2015.igem.org/Judging/Awards#SpecialPrizes"><li>Human Practices Awards</li></a>
+
<a href="https://2015.igem.org/Tracks/Policy_Practices"><li>Policy &amp; Practices Track</li></a>
+
</ul>
+
</div>
+
 
+
 
+
<h4 class="accordion-header inactive-header">Safety</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Safety"><li>Safety Overview</li></a>
+
<a href="https://2015.igem.org/Safety/Risk_Groups"><li>Risk Groups</li></a>
+
<a href="https://2015.igem.org/Safety/WhiteList"><li>White List</li></a>
+
</ul>
+
</div>
+
 
+
 
+
<h4 class="accordion-header inactive-header">Judging</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Judging"><li>Overview</li></a>
+
<a href="https://2015.igem.org/Judging/Awards"><li>Awards</li></a>
+
<a href="https://2015.igem.org/Judging/Medals"><li>Medals</li></a>
+
<a href="https://2015.igem.org/Poster"><li>Poster Guidelines</li></a>
+
<a href="https://2015.igem.org/Judging#forJudges"><li> For Judges </li></a>
+
<a href="https://2015.igem.org/Committees"><li> For Committees </li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Community</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://2015.igem.org/Meetups"><li>Meetups</li></a>
+
<a href="https://2015.igem.org/Community"><li>Community page</li></a>
+
</ul>
+
</div>
+
 
+
 
+
<h4 class="accordion-header inactive-header">2015 Teams</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://igem.org/Team_List?year=2015"><li>Team List </li></a>
+
</ul>
+
</div>
+
 
+
<h4 class="accordion-header inactive-header">Sponsors</h4>
+
<div class="accordion-content">
+
<ul>
+
<a href="https://igem.org/Sponsors"><li>iGEM 2015 Sponsors</li></a>
+
<a href="https://igem.org/Sponsorship"><li>Sponsor iGEM</li></a>
+
                                                <a href="https://2015.igem.org/Partner_Special_Offers"><li>Partner Special Offers</li></a>
+
</ul>
+
</div>
+
 
+
 
+
 
+
</div> <!-- this closes the menu div -->
+
 
+
</div></div><script>jQuery('#bars_box').load('https://2015.igem.org/AJ:Bars_Box?action=raw',{t: 'Team%3AUCL%2FPlayingaround3', o: ''});jQuery('#bars_item img')
+
              .click(function() {
+
                          if ( bars_box_active ) {
+
                              jQuery('#bars_box').toggle();
+
                              if ( jQuery('#bars_box').css('display') == 'block' ) {
+
                                  jQuery('#bars_item').css('backgroundColor','rgb(255, 165, 0)');
+
                              } else {
+
                                  jQuery('#bars_item').css('backgroundColor','');
+
                              }
+
                          }
+
                      } );</script></div><script>
+
jQuery('#top_menu_14 .has_submenu').hover(
+
    function() {
+
        jQuery(this).find('.submenu').show();
+
    },
+
    function() {
+
        jQuery(this).find('.submenu').clearQueue();
+
        jQuery(this).find('.submenu').hide();
+
        jQuery(this).find('.submenu').clearQueue();
+
        jQuery(this).find('.submenu').hide();
+
    }
+
);
+
</script></div> <!-- Will be replaced with the jQuery.load -->
+
  <script>jQuery('#top_menu_14').load('https://2015.igem.org/cgi/top_menu_14/menubar_reply.cgi',
+
      {  t:"Team%3AUCL%2FPlayingaround3",
+
  a:"" });
+
</script>
+
 
+
 
+
    <div id="content">
+
<a name="top" id="top"></a>
+
<h1 class="firstHeading">Team:UCL/Playingaround3</h1>
+
<div id="bodyContent">
+
<p>
+
 
+
  
  
Line 442: Line 6:
 
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
 
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
 
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
 
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Raleway">
+
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Raleway" />
  
 
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
 
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
Line 911: Line 475:
 
</style>
 
</style>
  
 +
</head>
  
 
+
<body>
 
+
<div style="clear: both;"></div>
</p><div style="clear: both;"></div>
+
 
<div id="container">
 
<div id="container">
  
Line 926: Line 490:
 
<a href="https://2015.igem.org/Team:UCL/Experiments"><li>Experiments &amp; Protocols</li></a>   
 
<a href="https://2015.igem.org/Team:UCL/Experiments"><li>Experiments &amp; Protocols</li></a>   
  
<img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpf1/v/t1.0-1/c3.0.160.160/p160x160/11012987_837961202954933_8011043740998938490_n.png?oh=a7923468802678158915746d51d9856f&amp;oe=56338EDF&amp;__gda__=1444695053_c0cc41228f96cc256abdf883df5eb1ca" style="width: 50px; height: 50px; margin-top: 13px;">
+
<img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpf1/v/t1.0-1/c3.0.160.160/p160x160/11012987_837961202954933_8011043740998938490_n.png?oh=a7923468802678158915746d51d9856f&oe=56338EDF&__gda__=1444695053_c0cc41228f96cc256abdf883df5eb1ca" style="width: 50px; height: 50px; margin-top: 13px;">
  
 
     <a href="https://2015.igem.org/Team:UCL/Collaborations"><li>Collaborations</li></a>
 
     <a href="https://2015.igem.org/Team:UCL/Collaborations"><li>Collaborations</li></a>
Line 939: Line 503:
  
 
<div id="header">
 
<div id="header">
<div id="logo">  <img src="http://s8.postimg.org/vaknrdpid/mind_the_gut_logo.png" class="logophoto">  
+
<div id="logo">  <img src="http://s8.postimg.org/vaknrdpid/mind_the_gut_logo.png" class="logophoto" />  
  
  
 
       <div class="intro-buttons" id="box-links">
 
       <div class="intro-buttons" id="box-links">
 
         <a href="#intro1" class="buttonc1">Intro</a>
 
         <a href="#intro1" class="buttonc1">Intro</a>
             <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#abstract" class="buttonc2">Abstract</a>
+
             <a data-scroll data-options='{ "easing": "linear" }' href="#abstract" class="buttonc2">Abstract</a>
               <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#motivation" class="buttonc3">Why to do it?</a>
+
               <a data-scroll data-options='{ "easing": "linear" }' href="#motivation" class="buttonc3">Why to do it?</a>
 
       </div>
 
       </div>
  
Line 954: Line 518:
  
 
<div id="twit">
 
<div id="twit">
<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-timeline twitter-timeline-rendered" allowfullscreen="" style="border: none; max-width: 100%; min-width: 180px; margin: 0px; padding: 0px; display: inline-block; position: static; visibility: visible; width: 200px;" title="Twitter Timeline" height="400"></iframe>
+
<a class="twitter-timeline" href="https://twitter.com/UCLiGEM" data-widget-id="615989246042742784">Tweets by @UCLiGEM</a>
 
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 
</div>
 
</div>
Line 962: Line 526:
 
<div id="intro1">
 
<div id="intro1">
  
<div class="first">  The number of <span style="color: #B66E74;">microorganisms</span> in human <img src="https://static.igem.org/mediawiki/2015/c/c2/UCL2015_gut.png" style="width: 32px; height: 25px"> is higher than the number of human cells in our body. Their <span style="color: #B66E74;">metabolic activity</span> equals that of <img src="https://static.igem.org/mediawiki/2015/d/df/UCL2015_liver.png" style="width: 45px; height: 32px;"> and plays crucial role in many key processes such as  <span style="color: #B66E74;">digestion</span>, <span style="color: #B66E74;">drug metabolism</span>, or functioning of the <span style="color: #B66E74;">immune system</span>...  <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#intro2"><img src="http://icons.iconarchive.com/icons/graphicloads/100-flat-2/32/arrow-next-3-icon.png"></a>   
+
<div class="first">  The number of <span style="color: #B66E74;">microorganisms</span> in human <img src="https://static.igem.org/mediawiki/2015/c/c2/UCL2015_gut.png" style="width: 32px; height: 25px"> is higher than the number of human cells in our body. Their <span style="color: #B66E74;">metabolic activity</span> equals that of <img src="https://static.igem.org/mediawiki/2015/d/df/UCL2015_liver.png" style="width: 45px; height: 32px;"> and plays crucial role in many key processes such as  <span style="color: #B66E74;">digestion</span>, <span style="color: #B66E74;">drug metabolism</span>, or functioning of the <span style="color: #B66E74;">immune system</span>...  <a data-scroll data-options='{ "easing": "linear" }' href="#intro2"><img src="http://icons.iconarchive.com/icons/graphicloads/100-flat-2/32/arrow-next-3-icon.png"/></a>   
  
 
</div>
 
</div>
Line 971: Line 535:
 
<div id="intro2">
 
<div id="intro2">
  
<div class="second"> Studies in <img src="https://static.igem.org/mediawiki/2015/1/13/UCL2015_mice.png" style="width: 60px; height: 32px;"> have shown that the <span style="color: #1E6073;">gut microbiome</span> is also capable of  influencing the chemistry of our <img src="https://static.igem.org/mediawiki/2015/0/09/UCL2015_brain.png" style="width: 38px; height: 32px;">, thus regulating our <span style="color: #1E6073;">behaviour</span> , <span style="color: #1E6073;">anxiety</span> , <span style="color: #1E6073;">mood</span> , <span style="color: #1E6073;">cognition</span>  and <span style="color: #1E6073;">pain</span> ...  <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#intro3"><img src="http://cdn3.iconfinder.com/data/icons/arrows-25/137/Right-10-128.png" style="width: 32px; height: 32px;"></a>  
+
<div class="second"> Studies in <img src="https://static.igem.org/mediawiki/2015/1/13/UCL2015_mice.png" style="width: 60px; height: 32px;"> have shown that the <span style="color: #1E6073;">gut microbiome</span> is also capable of  influencing the chemistry of our <img src="https://static.igem.org/mediawiki/2015/0/09/UCL2015_brain.png" style="width: 38px; height: 32px;">, thus regulating our <span style="color: #1E6073;">behaviour</span> , <span style="color: #1E6073;">anxiety</span> , <span style="color: #1E6073;">mood</span> , <span style="color: #1E6073;">cognition</span>  and <span style="color: #1E6073;">pain</span> ...  <a data-scroll data-options='{ "easing": "linear" }' href="#intro3"><img src="http://cdn3.iconfinder.com/data/icons/arrows-25/137/Right-10-128.png" style="width: 32px; height: 32px;" /></a>  
  
 
</div>
 
</div>
Line 982: Line 546:
  
 
<div class="button-abstract" id="box-links">
 
<div class="button-abstract" id="box-links">
             <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#abstract" id="buttonc4">Abstract</a>
+
             <a data-scroll data-options='{ "easing": "linear" }' href="#abstract" id="buttonc4">Abstract</a>
 
       </div>  
 
       </div>  
 
</div>
 
</div>
Line 994: Line 558:
 
              
 
              
 
         <p>
 
         <p>
         </p><h2> Mind the Gut: Abstract</h2>
+
         <h2> Mind the Gut: Abstract</h2>
 
Lorem Ipsum jest tekstem stosowanym jako przykładowy wypełniacz w przemyśle poligraficznym. Został po raz pierwszy użyty w XV w. przez nieznanego drukarza do wypełnienia tekstem próbnej książki. Pięć wieków później zaczął być używany przemyśle elektronicznym, pozostając praktycznie niezmienionym. Spopularyzował się w latach 60. XX w. wraz z publikacją arkuszy Letrasetu, zawierających fragmenty Lorem Ipsum, a ostatnio z zawierającym różne wersje Lorem Ipsum oprogramowaniem przeznaczonym do realizacji druków na komputerach osobistych, jak Aldus PageMaker  
 
Lorem Ipsum jest tekstem stosowanym jako przykładowy wypełniacz w przemyśle poligraficznym. Został po raz pierwszy użyty w XV w. przez nieznanego drukarza do wypełnienia tekstem próbnej książki. Pięć wieków później zaczął być używany przemyśle elektronicznym, pozostając praktycznie niezmienionym. Spopularyzował się w latach 60. XX w. wraz z publikacją arkuszy Letrasetu, zawierających fragmenty Lorem Ipsum, a ostatnio z zawierającym różne wersje Lorem Ipsum oprogramowaniem przeznaczonym do realizacji druków na komputerach osobistych, jak Aldus PageMaker  
<p></p>
+
</p>
  
  
Line 1,006: Line 570:
  
 
<div id="why2">
 
<div id="why2">
  <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#motivation" class="buttonc2">Why to do it?</a>
+
  <a data-scroll data-options='{ "easing": "linear" }' href="#motivation" class="buttonc2">Why to do it?</a>
 
</div>
 
</div>
  
Line 1,017: Line 581:
 
   
 
   
 
<div class="why">
 
<div class="why">
Why are we doing it?  <br>
+
Why are we doing it?  <br/>
  
 
    
 
    
Line 1,029: Line 593:
 
By 2030, depression alone is likely to be highest contributon to global burden of disease</div>
 
By 2030, depression alone is likely to be highest contributon to global burden of disease</div>
 
<div id="whitebox3"> <div class="icondiv"> <i class="glyphicon glyphicon-piggy-bank"></i> </div> According to WHO, in low income countries, depression represents almost as large problem
 
<div id="whitebox3"> <div class="icondiv"> <i class="glyphicon glyphicon-piggy-bank"></i> </div> According to WHO, in low income countries, depression represents almost as large problem
as does malaria</div> <br>
+
as does malaria</div> <br/>
  
  
Line 1,043: Line 607:
  
 
<div id="why3">
 
<div id="why3">
  <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;linear&quot; }" href="#header" class="buttonc3">Back to top</a>
+
  <a data-scroll data-options='{ "easing": "linear" }' href="#header" class="buttonc3">Back to top</a>
 
</div>
 
</div>
  
Line 1,060: Line 624:
 
</div>
 
</div>
  
 
+
</body>
<script src="https://gist.github.com/galambalazs/6477177.js"></script><link rel="stylesheet" href="https://gist-assets.github.com/assets/embed-b8c853f42bc1486a246eca98739ff795.css"><div id="gist6477177" class="gist">
+
<script src="https://gist.github.com/galambalazs/6477177.js"></script>
        <div class="gist-file">
+
          <div class="gist-data gist-syntax">
+
           
+
 
+
 
+
 
+
    <div class="file-data">
+
      <table cellpadding="0" cellspacing="0" class="lines highlight">
+
        <tbody><tr>
+
          <td class="line-numbers">
+
            <span class="line-number" id="file-smoothscroll-js-L1" rel="file-smoothscroll-js-L1">1</span>
+
            <span class="line-number" id="file-smoothscroll-js-L2" rel="file-smoothscroll-js-L2">2</span>
+
            <span class="line-number" id="file-smoothscroll-js-L3" rel="file-smoothscroll-js-L3">3</span>
+
            <span class="line-number" id="file-smoothscroll-js-L4" rel="file-smoothscroll-js-L4">4</span>
+
            <span class="line-number" id="file-smoothscroll-js-L5" rel="file-smoothscroll-js-L5">5</span>
+
            <span class="line-number" id="file-smoothscroll-js-L6" rel="file-smoothscroll-js-L6">6</span>
+
            <span class="line-number" id="file-smoothscroll-js-L7" rel="file-smoothscroll-js-L7">7</span>
+
            <span class="line-number" id="file-smoothscroll-js-L8" rel="file-smoothscroll-js-L8">8</span>
+
            <span class="line-number" id="file-smoothscroll-js-L9" rel="file-smoothscroll-js-L9">9</span>
+
            <span class="line-number" id="file-smoothscroll-js-L10" rel="file-smoothscroll-js-L10">10</span>
+
            <span class="line-number" id="file-smoothscroll-js-L11" rel="file-smoothscroll-js-L11">11</span>
+
            <span class="line-number" id="file-smoothscroll-js-L12" rel="file-smoothscroll-js-L12">12</span>
+
            <span class="line-number" id="file-smoothscroll-js-L13" rel="file-smoothscroll-js-L13">13</span>
+
            <span class="line-number" id="file-smoothscroll-js-L14" rel="file-smoothscroll-js-L14">14</span>
+
            <span class="line-number" id="file-smoothscroll-js-L15" rel="file-smoothscroll-js-L15">15</span>
+
            <span class="line-number" id="file-smoothscroll-js-L16" rel="file-smoothscroll-js-L16">16</span>
+
            <span class="line-number" id="file-smoothscroll-js-L17" rel="file-smoothscroll-js-L17">17</span>
+
            <span class="line-number" id="file-smoothscroll-js-L18" rel="file-smoothscroll-js-L18">18</span>
+
            <span class="line-number" id="file-smoothscroll-js-L19" rel="file-smoothscroll-js-L19">19</span>
+
            <span class="line-number" id="file-smoothscroll-js-L20" rel="file-smoothscroll-js-L20">20</span>
+
            <span class="line-number" id="file-smoothscroll-js-L21" rel="file-smoothscroll-js-L21">21</span>
+
            <span class="line-number" id="file-smoothscroll-js-L22" rel="file-smoothscroll-js-L22">22</span>
+
            <span class="line-number" id="file-smoothscroll-js-L23" rel="file-smoothscroll-js-L23">23</span>
+
            <span class="line-number" id="file-smoothscroll-js-L24" rel="file-smoothscroll-js-L24">24</span>
+
            <span class="line-number" id="file-smoothscroll-js-L25" rel="file-smoothscroll-js-L25">25</span>
+
            <span class="line-number" id="file-smoothscroll-js-L26" rel="file-smoothscroll-js-L26">26</span>
+
            <span class="line-number" id="file-smoothscroll-js-L27" rel="file-smoothscroll-js-L27">27</span>
+
            <span class="line-number" id="file-smoothscroll-js-L28" rel="file-smoothscroll-js-L28">28</span>
+
            <span class="line-number" id="file-smoothscroll-js-L29" rel="file-smoothscroll-js-L29">29</span>
+
            <span class="line-number" id="file-smoothscroll-js-L30" rel="file-smoothscroll-js-L30">30</span>
+
            <span class="line-number" id="file-smoothscroll-js-L31" rel="file-smoothscroll-js-L31">31</span>
+
            <span class="line-number" id="file-smoothscroll-js-L32" rel="file-smoothscroll-js-L32">32</span>
+
            <span class="line-number" id="file-smoothscroll-js-L33" rel="file-smoothscroll-js-L33">33</span>
+
            <span class="line-number" id="file-smoothscroll-js-L34" rel="file-smoothscroll-js-L34">34</span>
+
            <span class="line-number" id="file-smoothscroll-js-L35" rel="file-smoothscroll-js-L35">35</span>
+
            <span class="line-number" id="file-smoothscroll-js-L36" rel="file-smoothscroll-js-L36">36</span>
+
            <span class="line-number" id="file-smoothscroll-js-L37" rel="file-smoothscroll-js-L37">37</span>
+
            <span class="line-number" id="file-smoothscroll-js-L38" rel="file-smoothscroll-js-L38">38</span>
+
            <span class="line-number" id="file-smoothscroll-js-L39" rel="file-smoothscroll-js-L39">39</span>
+
            <span class="line-number" id="file-smoothscroll-js-L40" rel="file-smoothscroll-js-L40">40</span>
+
            <span class="line-number" id="file-smoothscroll-js-L41" rel="file-smoothscroll-js-L41">41</span>
+
            <span class="line-number" id="file-smoothscroll-js-L42" rel="file-smoothscroll-js-L42">42</span>
+
            <span class="line-number" id="file-smoothscroll-js-L43" rel="file-smoothscroll-js-L43">43</span>
+
            <span class="line-number" id="file-smoothscroll-js-L44" rel="file-smoothscroll-js-L44">44</span>
+
            <span class="line-number" id="file-smoothscroll-js-L45" rel="file-smoothscroll-js-L45">45</span>
+
            <span class="line-number" id="file-smoothscroll-js-L46" rel="file-smoothscroll-js-L46">46</span>
+
            <span class="line-number" id="file-smoothscroll-js-L47" rel="file-smoothscroll-js-L47">47</span>
+
            <span class="line-number" id="file-smoothscroll-js-L48" rel="file-smoothscroll-js-L48">48</span>
+
            <span class="line-number" id="file-smoothscroll-js-L49" rel="file-smoothscroll-js-L49">49</span>
+
            <span class="line-number" id="file-smoothscroll-js-L50" rel="file-smoothscroll-js-L50">50</span>
+
            <span class="line-number" id="file-smoothscroll-js-L51" rel="file-smoothscroll-js-L51">51</span>
+
            <span class="line-number" id="file-smoothscroll-js-L52" rel="file-smoothscroll-js-L52">52</span>
+
            <span class="line-number" id="file-smoothscroll-js-L53" rel="file-smoothscroll-js-L53">53</span>
+
            <span class="line-number" id="file-smoothscroll-js-L54" rel="file-smoothscroll-js-L54">54</span>
+
            <span class="line-number" id="file-smoothscroll-js-L55" rel="file-smoothscroll-js-L55">55</span>
+
            <span class="line-number" id="file-smoothscroll-js-L56" rel="file-smoothscroll-js-L56">56</span>
+
            <span class="line-number" id="file-smoothscroll-js-L57" rel="file-smoothscroll-js-L57">57</span>
+
            <span class="line-number" id="file-smoothscroll-js-L58" rel="file-smoothscroll-js-L58">58</span>
+
            <span class="line-number" id="file-smoothscroll-js-L59" rel="file-smoothscroll-js-L59">59</span>
+
            <span class="line-number" id="file-smoothscroll-js-L60" rel="file-smoothscroll-js-L60">60</span>
+
            <span class="line-number" id="file-smoothscroll-js-L61" rel="file-smoothscroll-js-L61">61</span>
+
            <span class="line-number" id="file-smoothscroll-js-L62" rel="file-smoothscroll-js-L62">62</span>
+
            <span class="line-number" id="file-smoothscroll-js-L63" rel="file-smoothscroll-js-L63">63</span>
+
            <span class="line-number" id="file-smoothscroll-js-L64" rel="file-smoothscroll-js-L64">64</span>
+
            <span class="line-number" id="file-smoothscroll-js-L65" rel="file-smoothscroll-js-L65">65</span>
+
            <span class="line-number" id="file-smoothscroll-js-L66" rel="file-smoothscroll-js-L66">66</span>
+
            <span class="line-number" id="file-smoothscroll-js-L67" rel="file-smoothscroll-js-L67">67</span>
+
            <span class="line-number" id="file-smoothscroll-js-L68" rel="file-smoothscroll-js-L68">68</span>
+
            <span class="line-number" id="file-smoothscroll-js-L69" rel="file-smoothscroll-js-L69">69</span>
+
            <span class="line-number" id="file-smoothscroll-js-L70" rel="file-smoothscroll-js-L70">70</span>
+
            <span class="line-number" id="file-smoothscroll-js-L71" rel="file-smoothscroll-js-L71">71</span>
+
            <span class="line-number" id="file-smoothscroll-js-L72" rel="file-smoothscroll-js-L72">72</span>
+
            <span class="line-number" id="file-smoothscroll-js-L73" rel="file-smoothscroll-js-L73">73</span>
+
            <span class="line-number" id="file-smoothscroll-js-L74" rel="file-smoothscroll-js-L74">74</span>
+
            <span class="line-number" id="file-smoothscroll-js-L75" rel="file-smoothscroll-js-L75">75</span>
+
            <span class="line-number" id="file-smoothscroll-js-L76" rel="file-smoothscroll-js-L76">76</span>
+
            <span class="line-number" id="file-smoothscroll-js-L77" rel="file-smoothscroll-js-L77">77</span>
+
            <span class="line-number" id="file-smoothscroll-js-L78" rel="file-smoothscroll-js-L78">78</span>
+
            <span class="line-number" id="file-smoothscroll-js-L79" rel="file-smoothscroll-js-L79">79</span>
+
            <span class="line-number" id="file-smoothscroll-js-L80" rel="file-smoothscroll-js-L80">80</span>
+
            <span class="line-number" id="file-smoothscroll-js-L81" rel="file-smoothscroll-js-L81">81</span>
+
            <span class="line-number" id="file-smoothscroll-js-L82" rel="file-smoothscroll-js-L82">82</span>
+
            <span class="line-number" id="file-smoothscroll-js-L83" rel="file-smoothscroll-js-L83">83</span>
+
            <span class="line-number" id="file-smoothscroll-js-L84" rel="file-smoothscroll-js-L84">84</span>
+
            <span class="line-number" id="file-smoothscroll-js-L85" rel="file-smoothscroll-js-L85">85</span>
+
            <span class="line-number" id="file-smoothscroll-js-L86" rel="file-smoothscroll-js-L86">86</span>
+
            <span class="line-number" id="file-smoothscroll-js-L87" rel="file-smoothscroll-js-L87">87</span>
+
            <span class="line-number" id="file-smoothscroll-js-L88" rel="file-smoothscroll-js-L88">88</span>
+
            <span class="line-number" id="file-smoothscroll-js-L89" rel="file-smoothscroll-js-L89">89</span>
+
            <span class="line-number" id="file-smoothscroll-js-L90" rel="file-smoothscroll-js-L90">90</span>
+
            <span class="line-number" id="file-smoothscroll-js-L91" rel="file-smoothscroll-js-L91">91</span>
+
            <span class="line-number" id="file-smoothscroll-js-L92" rel="file-smoothscroll-js-L92">92</span>
+
            <span class="line-number" id="file-smoothscroll-js-L93" rel="file-smoothscroll-js-L93">93</span>
+
            <span class="line-number" id="file-smoothscroll-js-L94" rel="file-smoothscroll-js-L94">94</span>
+
            <span class="line-number" id="file-smoothscroll-js-L95" rel="file-smoothscroll-js-L95">95</span>
+
            <span class="line-number" id="file-smoothscroll-js-L96" rel="file-smoothscroll-js-L96">96</span>
+
            <span class="line-number" id="file-smoothscroll-js-L97" rel="file-smoothscroll-js-L97">97</span>
+
            <span class="line-number" id="file-smoothscroll-js-L98" rel="file-smoothscroll-js-L98">98</span>
+
            <span class="line-number" id="file-smoothscroll-js-L99" rel="file-smoothscroll-js-L99">99</span>
+
            <span class="line-number" id="file-smoothscroll-js-L100" rel="file-smoothscroll-js-L100">100</span>
+
            <span class="line-number" id="file-smoothscroll-js-L101" rel="file-smoothscroll-js-L101">101</span>
+
            <span class="line-number" id="file-smoothscroll-js-L102" rel="file-smoothscroll-js-L102">102</span>
+
            <span class="line-number" id="file-smoothscroll-js-L103" rel="file-smoothscroll-js-L103">103</span>
+
            <span class="line-number" id="file-smoothscroll-js-L104" rel="file-smoothscroll-js-L104">104</span>
+
            <span class="line-number" id="file-smoothscroll-js-L105" rel="file-smoothscroll-js-L105">105</span>
+
            <span class="line-number" id="file-smoothscroll-js-L106" rel="file-smoothscroll-js-L106">106</span>
+
            <span class="line-number" id="file-smoothscroll-js-L107" rel="file-smoothscroll-js-L107">107</span>
+
            <span class="line-number" id="file-smoothscroll-js-L108" rel="file-smoothscroll-js-L108">108</span>
+
            <span class="line-number" id="file-smoothscroll-js-L109" rel="file-smoothscroll-js-L109">109</span>
+
            <span class="line-number" id="file-smoothscroll-js-L110" rel="file-smoothscroll-js-L110">110</span>
+
            <span class="line-number" id="file-smoothscroll-js-L111" rel="file-smoothscroll-js-L111">111</span>
+
            <span class="line-number" id="file-smoothscroll-js-L112" rel="file-smoothscroll-js-L112">112</span>
+
            <span class="line-number" id="file-smoothscroll-js-L113" rel="file-smoothscroll-js-L113">113</span>
+
            <span class="line-number" id="file-smoothscroll-js-L114" rel="file-smoothscroll-js-L114">114</span>
+
            <span class="line-number" id="file-smoothscroll-js-L115" rel="file-smoothscroll-js-L115">115</span>
+
            <span class="line-number" id="file-smoothscroll-js-L116" rel="file-smoothscroll-js-L116">116</span>
+
            <span class="line-number" id="file-smoothscroll-js-L117" rel="file-smoothscroll-js-L117">117</span>
+
            <span class="line-number" id="file-smoothscroll-js-L118" rel="file-smoothscroll-js-L118">118</span>
+
            <span class="line-number" id="file-smoothscroll-js-L119" rel="file-smoothscroll-js-L119">119</span>
+
            <span class="line-number" id="file-smoothscroll-js-L120" rel="file-smoothscroll-js-L120">120</span>
+
            <span class="line-number" id="file-smoothscroll-js-L121" rel="file-smoothscroll-js-L121">121</span>
+
            <span class="line-number" id="file-smoothscroll-js-L122" rel="file-smoothscroll-js-L122">122</span>
+
            <span class="line-number" id="file-smoothscroll-js-L123" rel="file-smoothscroll-js-L123">123</span>
+
            <span class="line-number" id="file-smoothscroll-js-L124" rel="file-smoothscroll-js-L124">124</span>
+
            <span class="line-number" id="file-smoothscroll-js-L125" rel="file-smoothscroll-js-L125">125</span>
+
            <span class="line-number" id="file-smoothscroll-js-L126" rel="file-smoothscroll-js-L126">126</span>
+
            <span class="line-number" id="file-smoothscroll-js-L127" rel="file-smoothscroll-js-L127">127</span>
+
            <span class="line-number" id="file-smoothscroll-js-L128" rel="file-smoothscroll-js-L128">128</span>
+
            <span class="line-number" id="file-smoothscroll-js-L129" rel="file-smoothscroll-js-L129">129</span>
+
            <span class="line-number" id="file-smoothscroll-js-L130" rel="file-smoothscroll-js-L130">130</span>
+
            <span class="line-number" id="file-smoothscroll-js-L131" rel="file-smoothscroll-js-L131">131</span>
+
            <span class="line-number" id="file-smoothscroll-js-L132" rel="file-smoothscroll-js-L132">132</span>
+
            <span class="line-number" id="file-smoothscroll-js-L133" rel="file-smoothscroll-js-L133">133</span>
+
            <span class="line-number" id="file-smoothscroll-js-L134" rel="file-smoothscroll-js-L134">134</span>
+
            <span class="line-number" id="file-smoothscroll-js-L135" rel="file-smoothscroll-js-L135">135</span>
+
            <span class="line-number" id="file-smoothscroll-js-L136" rel="file-smoothscroll-js-L136">136</span>
+
            <span class="line-number" id="file-smoothscroll-js-L137" rel="file-smoothscroll-js-L137">137</span>
+
            <span class="line-number" id="file-smoothscroll-js-L138" rel="file-smoothscroll-js-L138">138</span>
+
            <span class="line-number" id="file-smoothscroll-js-L139" rel="file-smoothscroll-js-L139">139</span>
+
            <span class="line-number" id="file-smoothscroll-js-L140" rel="file-smoothscroll-js-L140">140</span>
+
            <span class="line-number" id="file-smoothscroll-js-L141" rel="file-smoothscroll-js-L141">141</span>
+
            <span class="line-number" id="file-smoothscroll-js-L142" rel="file-smoothscroll-js-L142">142</span>
+
            <span class="line-number" id="file-smoothscroll-js-L143" rel="file-smoothscroll-js-L143">143</span>
+
            <span class="line-number" id="file-smoothscroll-js-L144" rel="file-smoothscroll-js-L144">144</span>
+
            <span class="line-number" id="file-smoothscroll-js-L145" rel="file-smoothscroll-js-L145">145</span>
+
            <span class="line-number" id="file-smoothscroll-js-L146" rel="file-smoothscroll-js-L146">146</span>
+
            <span class="line-number" id="file-smoothscroll-js-L147" rel="file-smoothscroll-js-L147">147</span>
+
            <span class="line-number" id="file-smoothscroll-js-L148" rel="file-smoothscroll-js-L148">148</span>
+
            <span class="line-number" id="file-smoothscroll-js-L149" rel="file-smoothscroll-js-L149">149</span>
+
            <span class="line-number" id="file-smoothscroll-js-L150" rel="file-smoothscroll-js-L150">150</span>
+
            <span class="line-number" id="file-smoothscroll-js-L151" rel="file-smoothscroll-js-L151">151</span>
+
            <span class="line-number" id="file-smoothscroll-js-L152" rel="file-smoothscroll-js-L152">152</span>
+
            <span class="line-number" id="file-smoothscroll-js-L153" rel="file-smoothscroll-js-L153">153</span>
+
            <span class="line-number" id="file-smoothscroll-js-L154" rel="file-smoothscroll-js-L154">154</span>
+
            <span class="line-number" id="file-smoothscroll-js-L155" rel="file-smoothscroll-js-L155">155</span>
+
            <span class="line-number" id="file-smoothscroll-js-L156" rel="file-smoothscroll-js-L156">156</span>
+
            <span class="line-number" id="file-smoothscroll-js-L157" rel="file-smoothscroll-js-L157">157</span>
+
            <span class="line-number" id="file-smoothscroll-js-L158" rel="file-smoothscroll-js-L158">158</span>
+
            <span class="line-number" id="file-smoothscroll-js-L159" rel="file-smoothscroll-js-L159">159</span>
+
            <span class="line-number" id="file-smoothscroll-js-L160" rel="file-smoothscroll-js-L160">160</span>
+
            <span class="line-number" id="file-smoothscroll-js-L161" rel="file-smoothscroll-js-L161">161</span>
+
            <span class="line-number" id="file-smoothscroll-js-L162" rel="file-smoothscroll-js-L162">162</span>
+
            <span class="line-number" id="file-smoothscroll-js-L163" rel="file-smoothscroll-js-L163">163</span>
+
            <span class="line-number" id="file-smoothscroll-js-L164" rel="file-smoothscroll-js-L164">164</span>
+
            <span class="line-number" id="file-smoothscroll-js-L165" rel="file-smoothscroll-js-L165">165</span>
+
            <span class="line-number" id="file-smoothscroll-js-L166" rel="file-smoothscroll-js-L166">166</span>
+
            <span class="line-number" id="file-smoothscroll-js-L167" rel="file-smoothscroll-js-L167">167</span>
+
            <span class="line-number" id="file-smoothscroll-js-L168" rel="file-smoothscroll-js-L168">168</span>
+
            <span class="line-number" id="file-smoothscroll-js-L169" rel="file-smoothscroll-js-L169">169</span>
+
            <span class="line-number" id="file-smoothscroll-js-L170" rel="file-smoothscroll-js-L170">170</span>
+
            <span class="line-number" id="file-smoothscroll-js-L171" rel="file-smoothscroll-js-L171">171</span>
+
            <span class="line-number" id="file-smoothscroll-js-L172" rel="file-smoothscroll-js-L172">172</span>
+
            <span class="line-number" id="file-smoothscroll-js-L173" rel="file-smoothscroll-js-L173">173</span>
+
            <span class="line-number" id="file-smoothscroll-js-L174" rel="file-smoothscroll-js-L174">174</span>
+
            <span class="line-number" id="file-smoothscroll-js-L175" rel="file-smoothscroll-js-L175">175</span>
+
            <span class="line-number" id="file-smoothscroll-js-L176" rel="file-smoothscroll-js-L176">176</span>
+
            <span class="line-number" id="file-smoothscroll-js-L177" rel="file-smoothscroll-js-L177">177</span>
+
            <span class="line-number" id="file-smoothscroll-js-L178" rel="file-smoothscroll-js-L178">178</span>
+
            <span class="line-number" id="file-smoothscroll-js-L179" rel="file-smoothscroll-js-L179">179</span>
+
            <span class="line-number" id="file-smoothscroll-js-L180" rel="file-smoothscroll-js-L180">180</span>
+
            <span class="line-number" id="file-smoothscroll-js-L181" rel="file-smoothscroll-js-L181">181</span>
+
            <span class="line-number" id="file-smoothscroll-js-L182" rel="file-smoothscroll-js-L182">182</span>
+
            <span class="line-number" id="file-smoothscroll-js-L183" rel="file-smoothscroll-js-L183">183</span>
+
            <span class="line-number" id="file-smoothscroll-js-L184" rel="file-smoothscroll-js-L184">184</span>
+
            <span class="line-number" id="file-smoothscroll-js-L185" rel="file-smoothscroll-js-L185">185</span>
+
            <span class="line-number" id="file-smoothscroll-js-L186" rel="file-smoothscroll-js-L186">186</span>
+
            <span class="line-number" id="file-smoothscroll-js-L187" rel="file-smoothscroll-js-L187">187</span>
+
            <span class="line-number" id="file-smoothscroll-js-L188" rel="file-smoothscroll-js-L188">188</span>
+
            <span class="line-number" id="file-smoothscroll-js-L189" rel="file-smoothscroll-js-L189">189</span>
+
            <span class="line-number" id="file-smoothscroll-js-L190" rel="file-smoothscroll-js-L190">190</span>
+
            <span class="line-number" id="file-smoothscroll-js-L191" rel="file-smoothscroll-js-L191">191</span>
+
            <span class="line-number" id="file-smoothscroll-js-L192" rel="file-smoothscroll-js-L192">192</span>
+
            <span class="line-number" id="file-smoothscroll-js-L193" rel="file-smoothscroll-js-L193">193</span>
+
            <span class="line-number" id="file-smoothscroll-js-L194" rel="file-smoothscroll-js-L194">194</span>
+
            <span class="line-number" id="file-smoothscroll-js-L195" rel="file-smoothscroll-js-L195">195</span>
+
            <span class="line-number" id="file-smoothscroll-js-L196" rel="file-smoothscroll-js-L196">196</span>
+
            <span class="line-number" id="file-smoothscroll-js-L197" rel="file-smoothscroll-js-L197">197</span>
+
            <span class="line-number" id="file-smoothscroll-js-L198" rel="file-smoothscroll-js-L198">198</span>
+
            <span class="line-number" id="file-smoothscroll-js-L199" rel="file-smoothscroll-js-L199">199</span>
+
            <span class="line-number" id="file-smoothscroll-js-L200" rel="file-smoothscroll-js-L200">200</span>
+
            <span class="line-number" id="file-smoothscroll-js-L201" rel="file-smoothscroll-js-L201">201</span>
+
            <span class="line-number" id="file-smoothscroll-js-L202" rel="file-smoothscroll-js-L202">202</span>
+
            <span class="line-number" id="file-smoothscroll-js-L203" rel="file-smoothscroll-js-L203">203</span>
+
            <span class="line-number" id="file-smoothscroll-js-L204" rel="file-smoothscroll-js-L204">204</span>
+
            <span class="line-number" id="file-smoothscroll-js-L205" rel="file-smoothscroll-js-L205">205</span>
+
            <span class="line-number" id="file-smoothscroll-js-L206" rel="file-smoothscroll-js-L206">206</span>
+
            <span class="line-number" id="file-smoothscroll-js-L207" rel="file-smoothscroll-js-L207">207</span>
+
            <span class="line-number" id="file-smoothscroll-js-L208" rel="file-smoothscroll-js-L208">208</span>
+
            <span class="line-number" id="file-smoothscroll-js-L209" rel="file-smoothscroll-js-L209">209</span>
+
            <span class="line-number" id="file-smoothscroll-js-L210" rel="file-smoothscroll-js-L210">210</span>
+
            <span class="line-number" id="file-smoothscroll-js-L211" rel="file-smoothscroll-js-L211">211</span>
+
            <span class="line-number" id="file-smoothscroll-js-L212" rel="file-smoothscroll-js-L212">212</span>
+
            <span class="line-number" id="file-smoothscroll-js-L213" rel="file-smoothscroll-js-L213">213</span>
+
            <span class="line-number" id="file-smoothscroll-js-L214" rel="file-smoothscroll-js-L214">214</span>
+
            <span class="line-number" id="file-smoothscroll-js-L215" rel="file-smoothscroll-js-L215">215</span>
+
            <span class="line-number" id="file-smoothscroll-js-L216" rel="file-smoothscroll-js-L216">216</span>
+
            <span class="line-number" id="file-smoothscroll-js-L217" rel="file-smoothscroll-js-L217">217</span>
+
            <span class="line-number" id="file-smoothscroll-js-L218" rel="file-smoothscroll-js-L218">218</span>
+
            <span class="line-number" id="file-smoothscroll-js-L219" rel="file-smoothscroll-js-L219">219</span>
+
            <span class="line-number" id="file-smoothscroll-js-L220" rel="file-smoothscroll-js-L220">220</span>
+
            <span class="line-number" id="file-smoothscroll-js-L221" rel="file-smoothscroll-js-L221">221</span>
+
            <span class="line-number" id="file-smoothscroll-js-L222" rel="file-smoothscroll-js-L222">222</span>
+
            <span class="line-number" id="file-smoothscroll-js-L223" rel="file-smoothscroll-js-L223">223</span>
+
            <span class="line-number" id="file-smoothscroll-js-L224" rel="file-smoothscroll-js-L224">224</span>
+
            <span class="line-number" id="file-smoothscroll-js-L225" rel="file-smoothscroll-js-L225">225</span>
+
            <span class="line-number" id="file-smoothscroll-js-L226" rel="file-smoothscroll-js-L226">226</span>
+
            <span class="line-number" id="file-smoothscroll-js-L227" rel="file-smoothscroll-js-L227">227</span>
+
            <span class="line-number" id="file-smoothscroll-js-L228" rel="file-smoothscroll-js-L228">228</span>
+
            <span class="line-number" id="file-smoothscroll-js-L229" rel="file-smoothscroll-js-L229">229</span>
+
            <span class="line-number" id="file-smoothscroll-js-L230" rel="file-smoothscroll-js-L230">230</span>
+
            <span class="line-number" id="file-smoothscroll-js-L231" rel="file-smoothscroll-js-L231">231</span>
+
            <span class="line-number" id="file-smoothscroll-js-L232" rel="file-smoothscroll-js-L232">232</span>
+
            <span class="line-number" id="file-smoothscroll-js-L233" rel="file-smoothscroll-js-L233">233</span>
+
            <span class="line-number" id="file-smoothscroll-js-L234" rel="file-smoothscroll-js-L234">234</span>
+
            <span class="line-number" id="file-smoothscroll-js-L235" rel="file-smoothscroll-js-L235">235</span>
+
            <span class="line-number" id="file-smoothscroll-js-L236" rel="file-smoothscroll-js-L236">236</span>
+
            <span class="line-number" id="file-smoothscroll-js-L237" rel="file-smoothscroll-js-L237">237</span>
+
            <span class="line-number" id="file-smoothscroll-js-L238" rel="file-smoothscroll-js-L238">238</span>
+
            <span class="line-number" id="file-smoothscroll-js-L239" rel="file-smoothscroll-js-L239">239</span>
+
            <span class="line-number" id="file-smoothscroll-js-L240" rel="file-smoothscroll-js-L240">240</span>
+
            <span class="line-number" id="file-smoothscroll-js-L241" rel="file-smoothscroll-js-L241">241</span>
+
            <span class="line-number" id="file-smoothscroll-js-L242" rel="file-smoothscroll-js-L242">242</span>
+
            <span class="line-number" id="file-smoothscroll-js-L243" rel="file-smoothscroll-js-L243">243</span>
+
            <span class="line-number" id="file-smoothscroll-js-L244" rel="file-smoothscroll-js-L244">244</span>
+
            <span class="line-number" id="file-smoothscroll-js-L245" rel="file-smoothscroll-js-L245">245</span>
+
            <span class="line-number" id="file-smoothscroll-js-L246" rel="file-smoothscroll-js-L246">246</span>
+
            <span class="line-number" id="file-smoothscroll-js-L247" rel="file-smoothscroll-js-L247">247</span>
+
            <span class="line-number" id="file-smoothscroll-js-L248" rel="file-smoothscroll-js-L248">248</span>
+
            <span class="line-number" id="file-smoothscroll-js-L249" rel="file-smoothscroll-js-L249">249</span>
+
            <span class="line-number" id="file-smoothscroll-js-L250" rel="file-smoothscroll-js-L250">250</span>
+
            <span class="line-number" id="file-smoothscroll-js-L251" rel="file-smoothscroll-js-L251">251</span>
+
            <span class="line-number" id="file-smoothscroll-js-L252" rel="file-smoothscroll-js-L252">252</span>
+
            <span class="line-number" id="file-smoothscroll-js-L253" rel="file-smoothscroll-js-L253">253</span>
+
            <span class="line-number" id="file-smoothscroll-js-L254" rel="file-smoothscroll-js-L254">254</span>
+
            <span class="line-number" id="file-smoothscroll-js-L255" rel="file-smoothscroll-js-L255">255</span>
+
            <span class="line-number" id="file-smoothscroll-js-L256" rel="file-smoothscroll-js-L256">256</span>
+
            <span class="line-number" id="file-smoothscroll-js-L257" rel="file-smoothscroll-js-L257">257</span>
+
            <span class="line-number" id="file-smoothscroll-js-L258" rel="file-smoothscroll-js-L258">258</span>
+
            <span class="line-number" id="file-smoothscroll-js-L259" rel="file-smoothscroll-js-L259">259</span>
+
            <span class="line-number" id="file-smoothscroll-js-L260" rel="file-smoothscroll-js-L260">260</span>
+
            <span class="line-number" id="file-smoothscroll-js-L261" rel="file-smoothscroll-js-L261">261</span>
+
            <span class="line-number" id="file-smoothscroll-js-L262" rel="file-smoothscroll-js-L262">262</span>
+
            <span class="line-number" id="file-smoothscroll-js-L263" rel="file-smoothscroll-js-L263">263</span>
+
            <span class="line-number" id="file-smoothscroll-js-L264" rel="file-smoothscroll-js-L264">264</span>
+
            <span class="line-number" id="file-smoothscroll-js-L265" rel="file-smoothscroll-js-L265">265</span>
+
            <span class="line-number" id="file-smoothscroll-js-L266" rel="file-smoothscroll-js-L266">266</span>
+
            <span class="line-number" id="file-smoothscroll-js-L267" rel="file-smoothscroll-js-L267">267</span>
+
            <span class="line-number" id="file-smoothscroll-js-L268" rel="file-smoothscroll-js-L268">268</span>
+
            <span class="line-number" id="file-smoothscroll-js-L269" rel="file-smoothscroll-js-L269">269</span>
+
            <span class="line-number" id="file-smoothscroll-js-L270" rel="file-smoothscroll-js-L270">270</span>
+
            <span class="line-number" id="file-smoothscroll-js-L271" rel="file-smoothscroll-js-L271">271</span>
+
            <span class="line-number" id="file-smoothscroll-js-L272" rel="file-smoothscroll-js-L272">272</span>
+
            <span class="line-number" id="file-smoothscroll-js-L273" rel="file-smoothscroll-js-L273">273</span>
+
            <span class="line-number" id="file-smoothscroll-js-L274" rel="file-smoothscroll-js-L274">274</span>
+
            <span class="line-number" id="file-smoothscroll-js-L275" rel="file-smoothscroll-js-L275">275</span>
+
            <span class="line-number" id="file-smoothscroll-js-L276" rel="file-smoothscroll-js-L276">276</span>
+
            <span class="line-number" id="file-smoothscroll-js-L277" rel="file-smoothscroll-js-L277">277</span>
+
            <span class="line-number" id="file-smoothscroll-js-L278" rel="file-smoothscroll-js-L278">278</span>
+
            <span class="line-number" id="file-smoothscroll-js-L279" rel="file-smoothscroll-js-L279">279</span>
+
            <span class="line-number" id="file-smoothscroll-js-L280" rel="file-smoothscroll-js-L280">280</span>
+
            <span class="line-number" id="file-smoothscroll-js-L281" rel="file-smoothscroll-js-L281">281</span>
+
            <span class="line-number" id="file-smoothscroll-js-L282" rel="file-smoothscroll-js-L282">282</span>
+
            <span class="line-number" id="file-smoothscroll-js-L283" rel="file-smoothscroll-js-L283">283</span>
+
            <span class="line-number" id="file-smoothscroll-js-L284" rel="file-smoothscroll-js-L284">284</span>
+
            <span class="line-number" id="file-smoothscroll-js-L285" rel="file-smoothscroll-js-L285">285</span>
+
            <span class="line-number" id="file-smoothscroll-js-L286" rel="file-smoothscroll-js-L286">286</span>
+
            <span class="line-number" id="file-smoothscroll-js-L287" rel="file-smoothscroll-js-L287">287</span>
+
            <span class="line-number" id="file-smoothscroll-js-L288" rel="file-smoothscroll-js-L288">288</span>
+
            <span class="line-number" id="file-smoothscroll-js-L289" rel="file-smoothscroll-js-L289">289</span>
+
            <span class="line-number" id="file-smoothscroll-js-L290" rel="file-smoothscroll-js-L290">290</span>
+
            <span class="line-number" id="file-smoothscroll-js-L291" rel="file-smoothscroll-js-L291">291</span>
+
            <span class="line-number" id="file-smoothscroll-js-L292" rel="file-smoothscroll-js-L292">292</span>
+
            <span class="line-number" id="file-smoothscroll-js-L293" rel="file-smoothscroll-js-L293">293</span>
+
            <span class="line-number" id="file-smoothscroll-js-L294" rel="file-smoothscroll-js-L294">294</span>
+
            <span class="line-number" id="file-smoothscroll-js-L295" rel="file-smoothscroll-js-L295">295</span>
+
            <span class="line-number" id="file-smoothscroll-js-L296" rel="file-smoothscroll-js-L296">296</span>
+
            <span class="line-number" id="file-smoothscroll-js-L297" rel="file-smoothscroll-js-L297">297</span>
+
            <span class="line-number" id="file-smoothscroll-js-L298" rel="file-smoothscroll-js-L298">298</span>
+
            <span class="line-number" id="file-smoothscroll-js-L299" rel="file-smoothscroll-js-L299">299</span>
+
            <span class="line-number" id="file-smoothscroll-js-L300" rel="file-smoothscroll-js-L300">300</span>
+
            <span class="line-number" id="file-smoothscroll-js-L301" rel="file-smoothscroll-js-L301">301</span>
+
            <span class="line-number" id="file-smoothscroll-js-L302" rel="file-smoothscroll-js-L302">302</span>
+
            <span class="line-number" id="file-smoothscroll-js-L303" rel="file-smoothscroll-js-L303">303</span>
+
            <span class="line-number" id="file-smoothscroll-js-L304" rel="file-smoothscroll-js-L304">304</span>
+
            <span class="line-number" id="file-smoothscroll-js-L305" rel="file-smoothscroll-js-L305">305</span>
+
            <span class="line-number" id="file-smoothscroll-js-L306" rel="file-smoothscroll-js-L306">306</span>
+
            <span class="line-number" id="file-smoothscroll-js-L307" rel="file-smoothscroll-js-L307">307</span>
+
            <span class="line-number" id="file-smoothscroll-js-L308" rel="file-smoothscroll-js-L308">308</span>
+
            <span class="line-number" id="file-smoothscroll-js-L309" rel="file-smoothscroll-js-L309">309</span>
+
            <span class="line-number" id="file-smoothscroll-js-L310" rel="file-smoothscroll-js-L310">310</span>
+
            <span class="line-number" id="file-smoothscroll-js-L311" rel="file-smoothscroll-js-L311">311</span>
+
            <span class="line-number" id="file-smoothscroll-js-L312" rel="file-smoothscroll-js-L312">312</span>
+
            <span class="line-number" id="file-smoothscroll-js-L313" rel="file-smoothscroll-js-L313">313</span>
+
            <span class="line-number" id="file-smoothscroll-js-L314" rel="file-smoothscroll-js-L314">314</span>
+
            <span class="line-number" id="file-smoothscroll-js-L315" rel="file-smoothscroll-js-L315">315</span>
+
            <span class="line-number" id="file-smoothscroll-js-L316" rel="file-smoothscroll-js-L316">316</span>
+
            <span class="line-number" id="file-smoothscroll-js-L317" rel="file-smoothscroll-js-L317">317</span>
+
            <span class="line-number" id="file-smoothscroll-js-L318" rel="file-smoothscroll-js-L318">318</span>
+
            <span class="line-number" id="file-smoothscroll-js-L319" rel="file-smoothscroll-js-L319">319</span>
+
            <span class="line-number" id="file-smoothscroll-js-L320" rel="file-smoothscroll-js-L320">320</span>
+
            <span class="line-number" id="file-smoothscroll-js-L321" rel="file-smoothscroll-js-L321">321</span>
+
            <span class="line-number" id="file-smoothscroll-js-L322" rel="file-smoothscroll-js-L322">322</span>
+
            <span class="line-number" id="file-smoothscroll-js-L323" rel="file-smoothscroll-js-L323">323</span>
+
            <span class="line-number" id="file-smoothscroll-js-L324" rel="file-smoothscroll-js-L324">324</span>
+
            <span class="line-number" id="file-smoothscroll-js-L325" rel="file-smoothscroll-js-L325">325</span>
+
            <span class="line-number" id="file-smoothscroll-js-L326" rel="file-smoothscroll-js-L326">326</span>
+
            <span class="line-number" id="file-smoothscroll-js-L327" rel="file-smoothscroll-js-L327">327</span>
+
            <span class="line-number" id="file-smoothscroll-js-L328" rel="file-smoothscroll-js-L328">328</span>
+
            <span class="line-number" id="file-smoothscroll-js-L329" rel="file-smoothscroll-js-L329">329</span>
+
            <span class="line-number" id="file-smoothscroll-js-L330" rel="file-smoothscroll-js-L330">330</span>
+
            <span class="line-number" id="file-smoothscroll-js-L331" rel="file-smoothscroll-js-L331">331</span>
+
            <span class="line-number" id="file-smoothscroll-js-L332" rel="file-smoothscroll-js-L332">332</span>
+
            <span class="line-number" id="file-smoothscroll-js-L333" rel="file-smoothscroll-js-L333">333</span>
+
            <span class="line-number" id="file-smoothscroll-js-L334" rel="file-smoothscroll-js-L334">334</span>
+
            <span class="line-number" id="file-smoothscroll-js-L335" rel="file-smoothscroll-js-L335">335</span>
+
            <span class="line-number" id="file-smoothscroll-js-L336" rel="file-smoothscroll-js-L336">336</span>
+
            <span class="line-number" id="file-smoothscroll-js-L337" rel="file-smoothscroll-js-L337">337</span>
+
            <span class="line-number" id="file-smoothscroll-js-L338" rel="file-smoothscroll-js-L338">338</span>
+
            <span class="line-number" id="file-smoothscroll-js-L339" rel="file-smoothscroll-js-L339">339</span>
+
            <span class="line-number" id="file-smoothscroll-js-L340" rel="file-smoothscroll-js-L340">340</span>
+
            <span class="line-number" id="file-smoothscroll-js-L341" rel="file-smoothscroll-js-L341">341</span>
+
            <span class="line-number" id="file-smoothscroll-js-L342" rel="file-smoothscroll-js-L342">342</span>
+
            <span class="line-number" id="file-smoothscroll-js-L343" rel="file-smoothscroll-js-L343">343</span>
+
            <span class="line-number" id="file-smoothscroll-js-L344" rel="file-smoothscroll-js-L344">344</span>
+
            <span class="line-number" id="file-smoothscroll-js-L345" rel="file-smoothscroll-js-L345">345</span>
+
            <span class="line-number" id="file-smoothscroll-js-L346" rel="file-smoothscroll-js-L346">346</span>
+
            <span class="line-number" id="file-smoothscroll-js-L347" rel="file-smoothscroll-js-L347">347</span>
+
            <span class="line-number" id="file-smoothscroll-js-L348" rel="file-smoothscroll-js-L348">348</span>
+
            <span class="line-number" id="file-smoothscroll-js-L349" rel="file-smoothscroll-js-L349">349</span>
+
            <span class="line-number" id="file-smoothscroll-js-L350" rel="file-smoothscroll-js-L350">350</span>
+
            <span class="line-number" id="file-smoothscroll-js-L351" rel="file-smoothscroll-js-L351">351</span>
+
            <span class="line-number" id="file-smoothscroll-js-L352" rel="file-smoothscroll-js-L352">352</span>
+
            <span class="line-number" id="file-smoothscroll-js-L353" rel="file-smoothscroll-js-L353">353</span>
+
            <span class="line-number" id="file-smoothscroll-js-L354" rel="file-smoothscroll-js-L354">354</span>
+
            <span class="line-number" id="file-smoothscroll-js-L355" rel="file-smoothscroll-js-L355">355</span>
+
            <span class="line-number" id="file-smoothscroll-js-L356" rel="file-smoothscroll-js-L356">356</span>
+
            <span class="line-number" id="file-smoothscroll-js-L357" rel="file-smoothscroll-js-L357">357</span>
+
            <span class="line-number" id="file-smoothscroll-js-L358" rel="file-smoothscroll-js-L358">358</span>
+
            <span class="line-number" id="file-smoothscroll-js-L359" rel="file-smoothscroll-js-L359">359</span>
+
            <span class="line-number" id="file-smoothscroll-js-L360" rel="file-smoothscroll-js-L360">360</span>
+
            <span class="line-number" id="file-smoothscroll-js-L361" rel="file-smoothscroll-js-L361">361</span>
+
            <span class="line-number" id="file-smoothscroll-js-L362" rel="file-smoothscroll-js-L362">362</span>
+
            <span class="line-number" id="file-smoothscroll-js-L363" rel="file-smoothscroll-js-L363">363</span>
+
            <span class="line-number" id="file-smoothscroll-js-L364" rel="file-smoothscroll-js-L364">364</span>
+
            <span class="line-number" id="file-smoothscroll-js-L365" rel="file-smoothscroll-js-L365">365</span>
+
            <span class="line-number" id="file-smoothscroll-js-L366" rel="file-smoothscroll-js-L366">366</span>
+
            <span class="line-number" id="file-smoothscroll-js-L367" rel="file-smoothscroll-js-L367">367</span>
+
            <span class="line-number" id="file-smoothscroll-js-L368" rel="file-smoothscroll-js-L368">368</span>
+
            <span class="line-number" id="file-smoothscroll-js-L369" rel="file-smoothscroll-js-L369">369</span>
+
            <span class="line-number" id="file-smoothscroll-js-L370" rel="file-smoothscroll-js-L370">370</span>
+
            <span class="line-number" id="file-smoothscroll-js-L371" rel="file-smoothscroll-js-L371">371</span>
+
            <span class="line-number" id="file-smoothscroll-js-L372" rel="file-smoothscroll-js-L372">372</span>
+
            <span class="line-number" id="file-smoothscroll-js-L373" rel="file-smoothscroll-js-L373">373</span>
+
            <span class="line-number" id="file-smoothscroll-js-L374" rel="file-smoothscroll-js-L374">374</span>
+
            <span class="line-number" id="file-smoothscroll-js-L375" rel="file-smoothscroll-js-L375">375</span>
+
            <span class="line-number" id="file-smoothscroll-js-L376" rel="file-smoothscroll-js-L376">376</span>
+
            <span class="line-number" id="file-smoothscroll-js-L377" rel="file-smoothscroll-js-L377">377</span>
+
            <span class="line-number" id="file-smoothscroll-js-L378" rel="file-smoothscroll-js-L378">378</span>
+
            <span class="line-number" id="file-smoothscroll-js-L379" rel="file-smoothscroll-js-L379">379</span>
+
            <span class="line-number" id="file-smoothscroll-js-L380" rel="file-smoothscroll-js-L380">380</span>
+
            <span class="line-number" id="file-smoothscroll-js-L381" rel="file-smoothscroll-js-L381">381</span>
+
            <span class="line-number" id="file-smoothscroll-js-L382" rel="file-smoothscroll-js-L382">382</span>
+
            <span class="line-number" id="file-smoothscroll-js-L383" rel="file-smoothscroll-js-L383">383</span>
+
            <span class="line-number" id="file-smoothscroll-js-L384" rel="file-smoothscroll-js-L384">384</span>
+
            <span class="line-number" id="file-smoothscroll-js-L385" rel="file-smoothscroll-js-L385">385</span>
+
            <span class="line-number" id="file-smoothscroll-js-L386" rel="file-smoothscroll-js-L386">386</span>
+
            <span class="line-number" id="file-smoothscroll-js-L387" rel="file-smoothscroll-js-L387">387</span>
+
            <span class="line-number" id="file-smoothscroll-js-L388" rel="file-smoothscroll-js-L388">388</span>
+
            <span class="line-number" id="file-smoothscroll-js-L389" rel="file-smoothscroll-js-L389">389</span>
+
            <span class="line-number" id="file-smoothscroll-js-L390" rel="file-smoothscroll-js-L390">390</span>
+
            <span class="line-number" id="file-smoothscroll-js-L391" rel="file-smoothscroll-js-L391">391</span>
+
            <span class="line-number" id="file-smoothscroll-js-L392" rel="file-smoothscroll-js-L392">392</span>
+
            <span class="line-number" id="file-smoothscroll-js-L393" rel="file-smoothscroll-js-L393">393</span>
+
            <span class="line-number" id="file-smoothscroll-js-L394" rel="file-smoothscroll-js-L394">394</span>
+
            <span class="line-number" id="file-smoothscroll-js-L395" rel="file-smoothscroll-js-L395">395</span>
+
            <span class="line-number" id="file-smoothscroll-js-L396" rel="file-smoothscroll-js-L396">396</span>
+
            <span class="line-number" id="file-smoothscroll-js-L397" rel="file-smoothscroll-js-L397">397</span>
+
            <span class="line-number" id="file-smoothscroll-js-L398" rel="file-smoothscroll-js-L398">398</span>
+
            <span class="line-number" id="file-smoothscroll-js-L399" rel="file-smoothscroll-js-L399">399</span>
+
            <span class="line-number" id="file-smoothscroll-js-L400" rel="file-smoothscroll-js-L400">400</span>
+
            <span class="line-number" id="file-smoothscroll-js-L401" rel="file-smoothscroll-js-L401">401</span>
+
            <span class="line-number" id="file-smoothscroll-js-L402" rel="file-smoothscroll-js-L402">402</span>
+
            <span class="line-number" id="file-smoothscroll-js-L403" rel="file-smoothscroll-js-L403">403</span>
+
            <span class="line-number" id="file-smoothscroll-js-L404" rel="file-smoothscroll-js-L404">404</span>
+
            <span class="line-number" id="file-smoothscroll-js-L405" rel="file-smoothscroll-js-L405">405</span>
+
            <span class="line-number" id="file-smoothscroll-js-L406" rel="file-smoothscroll-js-L406">406</span>
+
            <span class="line-number" id="file-smoothscroll-js-L407" rel="file-smoothscroll-js-L407">407</span>
+
            <span class="line-number" id="file-smoothscroll-js-L408" rel="file-smoothscroll-js-L408">408</span>
+
            <span class="line-number" id="file-smoothscroll-js-L409" rel="file-smoothscroll-js-L409">409</span>
+
            <span class="line-number" id="file-smoothscroll-js-L410" rel="file-smoothscroll-js-L410">410</span>
+
            <span class="line-number" id="file-smoothscroll-js-L411" rel="file-smoothscroll-js-L411">411</span>
+
            <span class="line-number" id="file-smoothscroll-js-L412" rel="file-smoothscroll-js-L412">412</span>
+
            <span class="line-number" id="file-smoothscroll-js-L413" rel="file-smoothscroll-js-L413">413</span>
+
            <span class="line-number" id="file-smoothscroll-js-L414" rel="file-smoothscroll-js-L414">414</span>
+
            <span class="line-number" id="file-smoothscroll-js-L415" rel="file-smoothscroll-js-L415">415</span>
+
            <span class="line-number" id="file-smoothscroll-js-L416" rel="file-smoothscroll-js-L416">416</span>
+
            <span class="line-number" id="file-smoothscroll-js-L417" rel="file-smoothscroll-js-L417">417</span>
+
            <span class="line-number" id="file-smoothscroll-js-L418" rel="file-smoothscroll-js-L418">418</span>
+
            <span class="line-number" id="file-smoothscroll-js-L419" rel="file-smoothscroll-js-L419">419</span>
+
            <span class="line-number" id="file-smoothscroll-js-L420" rel="file-smoothscroll-js-L420">420</span>
+
            <span class="line-number" id="file-smoothscroll-js-L421" rel="file-smoothscroll-js-L421">421</span>
+
            <span class="line-number" id="file-smoothscroll-js-L422" rel="file-smoothscroll-js-L422">422</span>
+
            <span class="line-number" id="file-smoothscroll-js-L423" rel="file-smoothscroll-js-L423">423</span>
+
            <span class="line-number" id="file-smoothscroll-js-L424" rel="file-smoothscroll-js-L424">424</span>
+
            <span class="line-number" id="file-smoothscroll-js-L425" rel="file-smoothscroll-js-L425">425</span>
+
            <span class="line-number" id="file-smoothscroll-js-L426" rel="file-smoothscroll-js-L426">426</span>
+
            <span class="line-number" id="file-smoothscroll-js-L427" rel="file-smoothscroll-js-L427">427</span>
+
            <span class="line-number" id="file-smoothscroll-js-L428" rel="file-smoothscroll-js-L428">428</span>
+
            <span class="line-number" id="file-smoothscroll-js-L429" rel="file-smoothscroll-js-L429">429</span>
+
            <span class="line-number" id="file-smoothscroll-js-L430" rel="file-smoothscroll-js-L430">430</span>
+
            <span class="line-number" id="file-smoothscroll-js-L431" rel="file-smoothscroll-js-L431">431</span>
+
            <span class="line-number" id="file-smoothscroll-js-L432" rel="file-smoothscroll-js-L432">432</span>
+
            <span class="line-number" id="file-smoothscroll-js-L433" rel="file-smoothscroll-js-L433">433</span>
+
            <span class="line-number" id="file-smoothscroll-js-L434" rel="file-smoothscroll-js-L434">434</span>
+
            <span class="line-number" id="file-smoothscroll-js-L435" rel="file-smoothscroll-js-L435">435</span>
+
            <span class="line-number" id="file-smoothscroll-js-L436" rel="file-smoothscroll-js-L436">436</span>
+
            <span class="line-number" id="file-smoothscroll-js-L437" rel="file-smoothscroll-js-L437">437</span>
+
            <span class="line-number" id="file-smoothscroll-js-L438" rel="file-smoothscroll-js-L438">438</span>
+
            <span class="line-number" id="file-smoothscroll-js-L439" rel="file-smoothscroll-js-L439">439</span>
+
            <span class="line-number" id="file-smoothscroll-js-L440" rel="file-smoothscroll-js-L440">440</span>
+
            <span class="line-number" id="file-smoothscroll-js-L441" rel="file-smoothscroll-js-L441">441</span>
+
            <span class="line-number" id="file-smoothscroll-js-L442" rel="file-smoothscroll-js-L442">442</span>
+
            <span class="line-number" id="file-smoothscroll-js-L443" rel="file-smoothscroll-js-L443">443</span>
+
            <span class="line-number" id="file-smoothscroll-js-L444" rel="file-smoothscroll-js-L444">444</span>
+
            <span class="line-number" id="file-smoothscroll-js-L445" rel="file-smoothscroll-js-L445">445</span>
+
            <span class="line-number" id="file-smoothscroll-js-L446" rel="file-smoothscroll-js-L446">446</span>
+
            <span class="line-number" id="file-smoothscroll-js-L447" rel="file-smoothscroll-js-L447">447</span>
+
            <span class="line-number" id="file-smoothscroll-js-L448" rel="file-smoothscroll-js-L448">448</span>
+
            <span class="line-number" id="file-smoothscroll-js-L449" rel="file-smoothscroll-js-L449">449</span>
+
            <span class="line-number" id="file-smoothscroll-js-L450" rel="file-smoothscroll-js-L450">450</span>
+
            <span class="line-number" id="file-smoothscroll-js-L451" rel="file-smoothscroll-js-L451">451</span>
+
            <span class="line-number" id="file-smoothscroll-js-L452" rel="file-smoothscroll-js-L452">452</span>
+
            <span class="line-number" id="file-smoothscroll-js-L453" rel="file-smoothscroll-js-L453">453</span>
+
            <span class="line-number" id="file-smoothscroll-js-L454" rel="file-smoothscroll-js-L454">454</span>
+
            <span class="line-number" id="file-smoothscroll-js-L455" rel="file-smoothscroll-js-L455">455</span>
+
            <span class="line-number" id="file-smoothscroll-js-L456" rel="file-smoothscroll-js-L456">456</span>
+
            <span class="line-number" id="file-smoothscroll-js-L457" rel="file-smoothscroll-js-L457">457</span>
+
            <span class="line-number" id="file-smoothscroll-js-L458" rel="file-smoothscroll-js-L458">458</span>
+
            <span class="line-number" id="file-smoothscroll-js-L459" rel="file-smoothscroll-js-L459">459</span>
+
            <span class="line-number" id="file-smoothscroll-js-L460" rel="file-smoothscroll-js-L460">460</span>
+
            <span class="line-number" id="file-smoothscroll-js-L461" rel="file-smoothscroll-js-L461">461</span>
+
            <span class="line-number" id="file-smoothscroll-js-L462" rel="file-smoothscroll-js-L462">462</span>
+
            <span class="line-number" id="file-smoothscroll-js-L463" rel="file-smoothscroll-js-L463">463</span>
+
            <span class="line-number" id="file-smoothscroll-js-L464" rel="file-smoothscroll-js-L464">464</span>
+
            <span class="line-number" id="file-smoothscroll-js-L465" rel="file-smoothscroll-js-L465">465</span>
+
            <span class="line-number" id="file-smoothscroll-js-L466" rel="file-smoothscroll-js-L466">466</span>
+
            <span class="line-number" id="file-smoothscroll-js-L467" rel="file-smoothscroll-js-L467">467</span>
+
            <span class="line-number" id="file-smoothscroll-js-L468" rel="file-smoothscroll-js-L468">468</span>
+
            <span class="line-number" id="file-smoothscroll-js-L469" rel="file-smoothscroll-js-L469">469</span>
+
            <span class="line-number" id="file-smoothscroll-js-L470" rel="file-smoothscroll-js-L470">470</span>
+
            <span class="line-number" id="file-smoothscroll-js-L471" rel="file-smoothscroll-js-L471">471</span>
+
            <span class="line-number" id="file-smoothscroll-js-L472" rel="file-smoothscroll-js-L472">472</span>
+
            <span class="line-number" id="file-smoothscroll-js-L473" rel="file-smoothscroll-js-L473">473</span>
+
            <span class="line-number" id="file-smoothscroll-js-L474" rel="file-smoothscroll-js-L474">474</span>
+
            <span class="line-number" id="file-smoothscroll-js-L475" rel="file-smoothscroll-js-L475">475</span>
+
            <span class="line-number" id="file-smoothscroll-js-L476" rel="file-smoothscroll-js-L476">476</span>
+
            <span class="line-number" id="file-smoothscroll-js-L477" rel="file-smoothscroll-js-L477">477</span>
+
            <span class="line-number" id="file-smoothscroll-js-L478" rel="file-smoothscroll-js-L478">478</span>
+
            <span class="line-number" id="file-smoothscroll-js-L479" rel="file-smoothscroll-js-L479">479</span>
+
            <span class="line-number" id="file-smoothscroll-js-L480" rel="file-smoothscroll-js-L480">480</span>
+
            <span class="line-number" id="file-smoothscroll-js-L481" rel="file-smoothscroll-js-L481">481</span>
+
            <span class="line-number" id="file-smoothscroll-js-L482" rel="file-smoothscroll-js-L482">482</span>
+
            <span class="line-number" id="file-smoothscroll-js-L483" rel="file-smoothscroll-js-L483">483</span>
+
            <span class="line-number" id="file-smoothscroll-js-L484" rel="file-smoothscroll-js-L484">484</span>
+
            <span class="line-number" id="file-smoothscroll-js-L485" rel="file-smoothscroll-js-L485">485</span>
+
            <span class="line-number" id="file-smoothscroll-js-L486" rel="file-smoothscroll-js-L486">486</span>
+
            <span class="line-number" id="file-smoothscroll-js-L487" rel="file-smoothscroll-js-L487">487</span>
+
            <span class="line-number" id="file-smoothscroll-js-L488" rel="file-smoothscroll-js-L488">488</span>
+
            <span class="line-number" id="file-smoothscroll-js-L489" rel="file-smoothscroll-js-L489">489</span>
+
            <span class="line-number" id="file-smoothscroll-js-L490" rel="file-smoothscroll-js-L490">490</span>
+
            <span class="line-number" id="file-smoothscroll-js-L491" rel="file-smoothscroll-js-L491">491</span>
+
            <span class="line-number" id="file-smoothscroll-js-L492" rel="file-smoothscroll-js-L492">492</span>
+
            <span class="line-number" id="file-smoothscroll-js-L493" rel="file-smoothscroll-js-L493">493</span>
+
            <span class="line-number" id="file-smoothscroll-js-L494" rel="file-smoothscroll-js-L494">494</span>
+
            <span class="line-number" id="file-smoothscroll-js-L495" rel="file-smoothscroll-js-L495">495</span>
+
            <span class="line-number" id="file-smoothscroll-js-L496" rel="file-smoothscroll-js-L496">496</span>
+
            <span class="line-number" id="file-smoothscroll-js-L497" rel="file-smoothscroll-js-L497">497</span>
+
            <span class="line-number" id="file-smoothscroll-js-L498" rel="file-smoothscroll-js-L498">498</span>
+
            <span class="line-number" id="file-smoothscroll-js-L499" rel="file-smoothscroll-js-L499">499</span>
+
            <span class="line-number" id="file-smoothscroll-js-L500" rel="file-smoothscroll-js-L500">500</span>
+
            <span class="line-number" id="file-smoothscroll-js-L501" rel="file-smoothscroll-js-L501">501</span>
+
            <span class="line-number" id="file-smoothscroll-js-L502" rel="file-smoothscroll-js-L502">502</span>
+
            <span class="line-number" id="file-smoothscroll-js-L503" rel="file-smoothscroll-js-L503">503</span>
+
            <span class="line-number" id="file-smoothscroll-js-L504" rel="file-smoothscroll-js-L504">504</span>
+
            <span class="line-number" id="file-smoothscroll-js-L505" rel="file-smoothscroll-js-L505">505</span>
+
            <span class="line-number" id="file-smoothscroll-js-L506" rel="file-smoothscroll-js-L506">506</span>
+
            <span class="line-number" id="file-smoothscroll-js-L507" rel="file-smoothscroll-js-L507">507</span>
+
            <span class="line-number" id="file-smoothscroll-js-L508" rel="file-smoothscroll-js-L508">508</span>
+
            <span class="line-number" id="file-smoothscroll-js-L509" rel="file-smoothscroll-js-L509">509</span>
+
            <span class="line-number" id="file-smoothscroll-js-L510" rel="file-smoothscroll-js-L510">510</span>
+
            <span class="line-number" id="file-smoothscroll-js-L511" rel="file-smoothscroll-js-L511">511</span>
+
            <span class="line-number" id="file-smoothscroll-js-L512" rel="file-smoothscroll-js-L512">512</span>
+
            <span class="line-number" id="file-smoothscroll-js-L513" rel="file-smoothscroll-js-L513">513</span>
+
            <span class="line-number" id="file-smoothscroll-js-L514" rel="file-smoothscroll-js-L514">514</span>
+
            <span class="line-number" id="file-smoothscroll-js-L515" rel="file-smoothscroll-js-L515">515</span>
+
            <span class="line-number" id="file-smoothscroll-js-L516" rel="file-smoothscroll-js-L516">516</span>
+
            <span class="line-number" id="file-smoothscroll-js-L517" rel="file-smoothscroll-js-L517">517</span>
+
            <span class="line-number" id="file-smoothscroll-js-L518" rel="file-smoothscroll-js-L518">518</span>
+
            <span class="line-number" id="file-smoothscroll-js-L519" rel="file-smoothscroll-js-L519">519</span>
+
            <span class="line-number" id="file-smoothscroll-js-L520" rel="file-smoothscroll-js-L520">520</span>
+
            <span class="line-number" id="file-smoothscroll-js-L521" rel="file-smoothscroll-js-L521">521</span>
+
            <span class="line-number" id="file-smoothscroll-js-L522" rel="file-smoothscroll-js-L522">522</span>
+
            <span class="line-number" id="file-smoothscroll-js-L523" rel="file-smoothscroll-js-L523">523</span>
+
            <span class="line-number" id="file-smoothscroll-js-L524" rel="file-smoothscroll-js-L524">524</span>
+
            <span class="line-number" id="file-smoothscroll-js-L525" rel="file-smoothscroll-js-L525">525</span>
+
            <span class="line-number" id="file-smoothscroll-js-L526" rel="file-smoothscroll-js-L526">526</span>
+
            <span class="line-number" id="file-smoothscroll-js-L527" rel="file-smoothscroll-js-L527">527</span>
+
            <span class="line-number" id="file-smoothscroll-js-L528" rel="file-smoothscroll-js-L528">528</span>
+
            <span class="line-number" id="file-smoothscroll-js-L529" rel="file-smoothscroll-js-L529">529</span>
+
            <span class="line-number" id="file-smoothscroll-js-L530" rel="file-smoothscroll-js-L530">530</span>
+
            <span class="line-number" id="file-smoothscroll-js-L531" rel="file-smoothscroll-js-L531">531</span>
+
            <span class="line-number" id="file-smoothscroll-js-L532" rel="file-smoothscroll-js-L532">532</span>
+
            <span class="line-number" id="file-smoothscroll-js-L533" rel="file-smoothscroll-js-L533">533</span>
+
            <span class="line-number" id="file-smoothscroll-js-L534" rel="file-smoothscroll-js-L534">534</span>
+
            <span class="line-number" id="file-smoothscroll-js-L535" rel="file-smoothscroll-js-L535">535</span>
+
            <span class="line-number" id="file-smoothscroll-js-L536" rel="file-smoothscroll-js-L536">536</span>
+
            <span class="line-number" id="file-smoothscroll-js-L537" rel="file-smoothscroll-js-L537">537</span>
+
            <span class="line-number" id="file-smoothscroll-js-L538" rel="file-smoothscroll-js-L538">538</span>
+
            <span class="line-number" id="file-smoothscroll-js-L539" rel="file-smoothscroll-js-L539">539</span>
+
            <span class="line-number" id="file-smoothscroll-js-L540" rel="file-smoothscroll-js-L540">540</span>
+
            <span class="line-number" id="file-smoothscroll-js-L541" rel="file-smoothscroll-js-L541">541</span>
+
            <span class="line-number" id="file-smoothscroll-js-L542" rel="file-smoothscroll-js-L542">542</span>
+
            <span class="line-number" id="file-smoothscroll-js-L543" rel="file-smoothscroll-js-L543">543</span>
+
            <span class="line-number" id="file-smoothscroll-js-L544" rel="file-smoothscroll-js-L544">544</span>
+
            <span class="line-number" id="file-smoothscroll-js-L545" rel="file-smoothscroll-js-L545">545</span>
+
            <span class="line-number" id="file-smoothscroll-js-L546" rel="file-smoothscroll-js-L546">546</span>
+
            <span class="line-number" id="file-smoothscroll-js-L547" rel="file-smoothscroll-js-L547">547</span>
+
            <span class="line-number" id="file-smoothscroll-js-L548" rel="file-smoothscroll-js-L548">548</span>
+
            <span class="line-number" id="file-smoothscroll-js-L549" rel="file-smoothscroll-js-L549">549</span>
+
            <span class="line-number" id="file-smoothscroll-js-L550" rel="file-smoothscroll-js-L550">550</span>
+
            <span class="line-number" id="file-smoothscroll-js-L551" rel="file-smoothscroll-js-L551">551</span>
+
            <span class="line-number" id="file-smoothscroll-js-L552" rel="file-smoothscroll-js-L552">552</span>
+
            <span class="line-number" id="file-smoothscroll-js-L553" rel="file-smoothscroll-js-L553">553</span>
+
            <span class="line-number" id="file-smoothscroll-js-L554" rel="file-smoothscroll-js-L554">554</span>
+
            <span class="line-number" id="file-smoothscroll-js-L555" rel="file-smoothscroll-js-L555">555</span>
+
            <span class="line-number" id="file-smoothscroll-js-L556" rel="file-smoothscroll-js-L556">556</span>
+
            <span class="line-number" id="file-smoothscroll-js-L557" rel="file-smoothscroll-js-L557">557</span>
+
            <span class="line-number" id="file-smoothscroll-js-L558" rel="file-smoothscroll-js-L558">558</span>
+
            <span class="line-number" id="file-smoothscroll-js-L559" rel="file-smoothscroll-js-L559">559</span>
+
            <span class="line-number" id="file-smoothscroll-js-L560" rel="file-smoothscroll-js-L560">560</span>
+
            <span class="line-number" id="file-smoothscroll-js-L561" rel="file-smoothscroll-js-L561">561</span>
+
            <span class="line-number" id="file-smoothscroll-js-L562" rel="file-smoothscroll-js-L562">562</span>
+
            <span class="line-number" id="file-smoothscroll-js-L563" rel="file-smoothscroll-js-L563">563</span>
+
            <span class="line-number" id="file-smoothscroll-js-L564" rel="file-smoothscroll-js-L564">564</span>
+
            <span class="line-number" id="file-smoothscroll-js-L565" rel="file-smoothscroll-js-L565">565</span>
+
            <span class="line-number" id="file-smoothscroll-js-L566" rel="file-smoothscroll-js-L566">566</span>
+
            <span class="line-number" id="file-smoothscroll-js-L567" rel="file-smoothscroll-js-L567">567</span>
+
            <span class="line-number" id="file-smoothscroll-js-L568" rel="file-smoothscroll-js-L568">568</span>
+
            <span class="line-number" id="file-smoothscroll-js-L569" rel="file-smoothscroll-js-L569">569</span>
+
            <span class="line-number" id="file-smoothscroll-js-L570" rel="file-smoothscroll-js-L570">570</span>
+
            <span class="line-number" id="file-smoothscroll-js-L571" rel="file-smoothscroll-js-L571">571</span>
+
            <span class="line-number" id="file-smoothscroll-js-L572" rel="file-smoothscroll-js-L572">572</span>
+
            <span class="line-number" id="file-smoothscroll-js-L573" rel="file-smoothscroll-js-L573">573</span>
+
            <span class="line-number" id="file-smoothscroll-js-L574" rel="file-smoothscroll-js-L574">574</span>
+
            <span class="line-number" id="file-smoothscroll-js-L575" rel="file-smoothscroll-js-L575">575</span>
+
            <span class="line-number" id="file-smoothscroll-js-L576" rel="file-smoothscroll-js-L576">576</span>
+
            <span class="line-number" id="file-smoothscroll-js-L577" rel="file-smoothscroll-js-L577">577</span>
+
            <span class="line-number" id="file-smoothscroll-js-L578" rel="file-smoothscroll-js-L578">578</span>
+
            <span class="line-number" id="file-smoothscroll-js-L579" rel="file-smoothscroll-js-L579">579</span>
+
            <span class="line-number" id="file-smoothscroll-js-L580" rel="file-smoothscroll-js-L580">580</span>
+
            <span class="line-number" id="file-smoothscroll-js-L581" rel="file-smoothscroll-js-L581">581</span>
+
            <span class="line-number" id="file-smoothscroll-js-L582" rel="file-smoothscroll-js-L582">582</span>
+
            <span class="line-number" id="file-smoothscroll-js-L583" rel="file-smoothscroll-js-L583">583</span>
+
            <span class="line-number" id="file-smoothscroll-js-L584" rel="file-smoothscroll-js-L584">584</span>
+
            <span class="line-number" id="file-smoothscroll-js-L585" rel="file-smoothscroll-js-L585">585</span>
+
            <span class="line-number" id="file-smoothscroll-js-L586" rel="file-smoothscroll-js-L586">586</span>
+
            <span class="line-number" id="file-smoothscroll-js-L587" rel="file-smoothscroll-js-L587">587</span>
+
            <span class="line-number" id="file-smoothscroll-js-L588" rel="file-smoothscroll-js-L588">588</span>
+
            <span class="line-number" id="file-smoothscroll-js-L589" rel="file-smoothscroll-js-L589">589</span>
+
            <span class="line-number" id="file-smoothscroll-js-L590" rel="file-smoothscroll-js-L590">590</span>
+
            <span class="line-number" id="file-smoothscroll-js-L591" rel="file-smoothscroll-js-L591">591</span>
+
            <span class="line-number" id="file-smoothscroll-js-L592" rel="file-smoothscroll-js-L592">592</span>
+
            <span class="line-number" id="file-smoothscroll-js-L593" rel="file-smoothscroll-js-L593">593</span>
+
            <span class="line-number" id="file-smoothscroll-js-L594" rel="file-smoothscroll-js-L594">594</span>
+
            <span class="line-number" id="file-smoothscroll-js-L595" rel="file-smoothscroll-js-L595">595</span>
+
            <span class="line-number" id="file-smoothscroll-js-L596" rel="file-smoothscroll-js-L596">596</span>
+
            <span class="line-number" id="file-smoothscroll-js-L597" rel="file-smoothscroll-js-L597">597</span>
+
            <span class="line-number" id="file-smoothscroll-js-L598" rel="file-smoothscroll-js-L598">598</span>
+
            <span class="line-number" id="file-smoothscroll-js-L599" rel="file-smoothscroll-js-L599">599</span>
+
            <span class="line-number" id="file-smoothscroll-js-L600" rel="file-smoothscroll-js-L600">600</span>
+
            <span class="line-number" id="file-smoothscroll-js-L601" rel="file-smoothscroll-js-L601">601</span>
+
            <span class="line-number" id="file-smoothscroll-js-L602" rel="file-smoothscroll-js-L602">602</span>
+
            <span class="line-number" id="file-smoothscroll-js-L603" rel="file-smoothscroll-js-L603">603</span>
+
            <span class="line-number" id="file-smoothscroll-js-L604" rel="file-smoothscroll-js-L604">604</span>
+
            <span class="line-number" id="file-smoothscroll-js-L605" rel="file-smoothscroll-js-L605">605</span>
+
            <span class="line-number" id="file-smoothscroll-js-L606" rel="file-smoothscroll-js-L606">606</span>
+
            <span class="line-number" id="file-smoothscroll-js-L607" rel="file-smoothscroll-js-L607">607</span>
+
            <span class="line-number" id="file-smoothscroll-js-L608" rel="file-smoothscroll-js-L608">608</span>
+
            <span class="line-number" id="file-smoothscroll-js-L609" rel="file-smoothscroll-js-L609">609</span>
+
            <span class="line-number" id="file-smoothscroll-js-L610" rel="file-smoothscroll-js-L610">610</span>
+
            <span class="line-number" id="file-smoothscroll-js-L611" rel="file-smoothscroll-js-L611">611</span>
+
            <span class="line-number" id="file-smoothscroll-js-L612" rel="file-smoothscroll-js-L612">612</span>
+
            <span class="line-number" id="file-smoothscroll-js-L613" rel="file-smoothscroll-js-L613">613</span>
+
            <span class="line-number" id="file-smoothscroll-js-L614" rel="file-smoothscroll-js-L614">614</span>
+
            <span class="line-number" id="file-smoothscroll-js-L615" rel="file-smoothscroll-js-L615">615</span>
+
            <span class="line-number" id="file-smoothscroll-js-L616" rel="file-smoothscroll-js-L616">616</span>
+
            <span class="line-number" id="file-smoothscroll-js-L617" rel="file-smoothscroll-js-L617">617</span>
+
            <span class="line-number" id="file-smoothscroll-js-L618" rel="file-smoothscroll-js-L618">618</span>
+
            <span class="line-number" id="file-smoothscroll-js-L619" rel="file-smoothscroll-js-L619">619</span>
+
            <span class="line-number" id="file-smoothscroll-js-L620" rel="file-smoothscroll-js-L620">620</span>
+
            <span class="line-number" id="file-smoothscroll-js-L621" rel="file-smoothscroll-js-L621">621</span>
+
            <span class="line-number" id="file-smoothscroll-js-L622" rel="file-smoothscroll-js-L622">622</span>
+
            <span class="line-number" id="file-smoothscroll-js-L623" rel="file-smoothscroll-js-L623">623</span>
+
            <span class="line-number" id="file-smoothscroll-js-L624" rel="file-smoothscroll-js-L624">624</span>
+
            <span class="line-number" id="file-smoothscroll-js-L625" rel="file-smoothscroll-js-L625">625</span>
+
            <span class="line-number" id="file-smoothscroll-js-L626" rel="file-smoothscroll-js-L626">626</span>
+
            <span class="line-number" id="file-smoothscroll-js-L627" rel="file-smoothscroll-js-L627">627</span>
+
            <span class="line-number" id="file-smoothscroll-js-L628" rel="file-smoothscroll-js-L628">628</span>
+
            <span class="line-number" id="file-smoothscroll-js-L629" rel="file-smoothscroll-js-L629">629</span>
+
            <span class="line-number" id="file-smoothscroll-js-L630" rel="file-smoothscroll-js-L630">630</span>
+
            <span class="line-number" id="file-smoothscroll-js-L631" rel="file-smoothscroll-js-L631">631</span>
+
            <span class="line-number" id="file-smoothscroll-js-L632" rel="file-smoothscroll-js-L632">632</span>
+
            <span class="line-number" id="file-smoothscroll-js-L633" rel="file-smoothscroll-js-L633">633</span>
+
            <span class="line-number" id="file-smoothscroll-js-L634" rel="file-smoothscroll-js-L634">634</span>
+
            <span class="line-number" id="file-smoothscroll-js-L635" rel="file-smoothscroll-js-L635">635</span>
+
            <span class="line-number" id="file-smoothscroll-js-L636" rel="file-smoothscroll-js-L636">636</span>
+
            <span class="line-number" id="file-smoothscroll-js-L637" rel="file-smoothscroll-js-L637">637</span>
+
            <span class="line-number" id="file-smoothscroll-js-L638" rel="file-smoothscroll-js-L638">638</span>
+
            <span class="line-number" id="file-smoothscroll-js-L639" rel="file-smoothscroll-js-L639">639</span>
+
            <span class="line-number" id="file-smoothscroll-js-L640" rel="file-smoothscroll-js-L640">640</span>
+
            <span class="line-number" id="file-smoothscroll-js-L641" rel="file-smoothscroll-js-L641">641</span>
+
            <span class="line-number" id="file-smoothscroll-js-L642" rel="file-smoothscroll-js-L642">642</span>
+
            <span class="line-number" id="file-smoothscroll-js-L643" rel="file-smoothscroll-js-L643">643</span>
+
            <span class="line-number" id="file-smoothscroll-js-L644" rel="file-smoothscroll-js-L644">644</span>
+
            <span class="line-number" id="file-smoothscroll-js-L645" rel="file-smoothscroll-js-L645">645</span>
+
            <span class="line-number" id="file-smoothscroll-js-L646" rel="file-smoothscroll-js-L646">646</span>
+
            <span class="line-number" id="file-smoothscroll-js-L647" rel="file-smoothscroll-js-L647">647</span>
+
            <span class="line-number" id="file-smoothscroll-js-L648" rel="file-smoothscroll-js-L648">648</span>
+
            <span class="line-number" id="file-smoothscroll-js-L649" rel="file-smoothscroll-js-L649">649</span>
+
            <span class="line-number" id="file-smoothscroll-js-L650" rel="file-smoothscroll-js-L650">650</span>
+
            <span class="line-number" id="file-smoothscroll-js-L651" rel="file-smoothscroll-js-L651">651</span>
+
            <span class="line-number" id="file-smoothscroll-js-L652" rel="file-smoothscroll-js-L652">652</span>
+
            <span class="line-number" id="file-smoothscroll-js-L653" rel="file-smoothscroll-js-L653">653</span>
+
            <span class="line-number" id="file-smoothscroll-js-L654" rel="file-smoothscroll-js-L654">654</span>
+
            <span class="line-number" id="file-smoothscroll-js-L655" rel="file-smoothscroll-js-L655">655</span>
+
            <span class="line-number" id="file-smoothscroll-js-L656" rel="file-smoothscroll-js-L656">656</span>
+
            <span class="line-number" id="file-smoothscroll-js-L657" rel="file-smoothscroll-js-L657">657</span>
+
            <span class="line-number" id="file-smoothscroll-js-L658" rel="file-smoothscroll-js-L658">658</span>
+
            <span class="line-number" id="file-smoothscroll-js-L659" rel="file-smoothscroll-js-L659">659</span>
+
            <span class="line-number" id="file-smoothscroll-js-L660" rel="file-smoothscroll-js-L660">660</span>
+
            <span class="line-number" id="file-smoothscroll-js-L661" rel="file-smoothscroll-js-L661">661</span>
+
            <span class="line-number" id="file-smoothscroll-js-L662" rel="file-smoothscroll-js-L662">662</span>
+
            <span class="line-number" id="file-smoothscroll-js-L663" rel="file-smoothscroll-js-L663">663</span>
+
            <span class="line-number" id="file-smoothscroll-js-L664" rel="file-smoothscroll-js-L664">664</span>
+
            <span class="line-number" id="file-smoothscroll-js-L665" rel="file-smoothscroll-js-L665">665</span>
+
            <span class="line-number" id="file-smoothscroll-js-L666" rel="file-smoothscroll-js-L666">666</span>
+
            <span class="line-number" id="file-smoothscroll-js-L667" rel="file-smoothscroll-js-L667">667</span>
+
            <span class="line-number" id="file-smoothscroll-js-L668" rel="file-smoothscroll-js-L668">668</span>
+
            <span class="line-number" id="file-smoothscroll-js-L669" rel="file-smoothscroll-js-L669">669</span>
+
            <span class="line-number" id="file-smoothscroll-js-L670" rel="file-smoothscroll-js-L670">670</span>
+
            <span class="line-number" id="file-smoothscroll-js-L671" rel="file-smoothscroll-js-L671">671</span>
+
            <span class="line-number" id="file-smoothscroll-js-L672" rel="file-smoothscroll-js-L672">672</span>
+
            <span class="line-number" id="file-smoothscroll-js-L673" rel="file-smoothscroll-js-L673">673</span>
+
            <span class="line-number" id="file-smoothscroll-js-L674" rel="file-smoothscroll-js-L674">674</span>
+
            <span class="line-number" id="file-smoothscroll-js-L675" rel="file-smoothscroll-js-L675">675</span>
+
            <span class="line-number" id="file-smoothscroll-js-L676" rel="file-smoothscroll-js-L676">676</span>
+
            <span class="line-number" id="file-smoothscroll-js-L677" rel="file-smoothscroll-js-L677">677</span>
+
            <span class="line-number" id="file-smoothscroll-js-L678" rel="file-smoothscroll-js-L678">678</span>
+
            <span class="line-number" id="file-smoothscroll-js-L679" rel="file-smoothscroll-js-L679">679</span>
+
            <span class="line-number" id="file-smoothscroll-js-L680" rel="file-smoothscroll-js-L680">680</span>
+
          </td>
+
          <td class="line-data">
+
            <pre class="line-pre"><div class="line" id="file-smoothscroll-js-LC1"><span class="pl-c">//</span>
+
</div><div class="line" id="file-smoothscroll-js-LC2"><span class="pl-c">// SmoothScroll for websites v1.3.8 (Balazs Galambosi)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC3"><span class="pl-c">// Licensed under the terms of the MIT license.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC4"><span class="pl-c">//</span>
+
</div><div class="line" id="file-smoothscroll-js-LC5"><span class="pl-c">// You may use it in your theme if you credit me. </span>
+
</div><div class="line" id="file-smoothscroll-js-LC6"><span class="pl-c">// It is also free to use on any individual website.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC7"><span class="pl-c">//</span>
+
</div><div class="line" id="file-smoothscroll-js-LC8"><span class="pl-c">// Exception:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC9"><span class="pl-c">// The only restriction would be not to publish any  </span>
+
</div><div class="line" id="file-smoothscroll-js-LC10"><span class="pl-c">// extension for browsers or native application</span>
+
</div><div class="line" id="file-smoothscroll-js-LC11"><span class="pl-c">// without getting a written permission first.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC12"><span class="pl-c">//</span>
+
</div><div class="line" id="file-smoothscroll-js-LC13">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC14">(<span class="pl-st">function</span> () {
+
</div><div class="line" id="file-smoothscroll-js-LC15"> 
+
</div><div class="line" id="file-smoothscroll-js-LC16"><span class="pl-c">// Scroll Variables (tweakable)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC17"><span class="pl-s">var</span> defaultOptions <span class="pl-k">=</span> {
+
</div><div class="line" id="file-smoothscroll-js-LC18">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC19">    <span class="pl-c">// Scrolling Core</span>
+
</div><div class="line" id="file-smoothscroll-js-LC20">    frameRate        <span class="pl-k">:</span> <span class="pl-c1">150</span>, <span class="pl-c">// [Hz]</span>
+
</div><div class="line" id="file-smoothscroll-js-LC21">    animationTime    <span class="pl-k">:</span> <span class="pl-c1">400</span>, <span class="pl-c">// [px]</span>
+
</div><div class="line" id="file-smoothscroll-js-LC22">    stepSize        <span class="pl-k">:</span> <span class="pl-c1">120</span>, <span class="pl-c">// [px]</span>
+
</div><div class="line" id="file-smoothscroll-js-LC23">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC24">    <span class="pl-c">// Pulse (less tweakable)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC25">    <span class="pl-c">// ratio of "tail" to "acceleration"</span>
+
</div><div class="line" id="file-smoothscroll-js-LC26">    pulseAlgorithm  <span class="pl-k">:</span> <span class="pl-c1">true</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC27">    pulseScale      <span class="pl-k">:</span> <span class="pl-c1">4</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC28">    pulseNormalize  <span class="pl-k">:</span> <span class="pl-c1">1</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC29">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC30">    <span class="pl-c">// Acceleration</span>
+
</div><div class="line" id="file-smoothscroll-js-LC31">    accelerationDelta <span class="pl-k">:</span> <span class="pl-c1">20</span>,  <span class="pl-c">// 20</span>
+
</div><div class="line" id="file-smoothscroll-js-LC32">    accelerationMax  <span class="pl-k">:</span> <span class="pl-c1">1</span>,  <span class="pl-c">// 1</span>
+
</div><div class="line" id="file-smoothscroll-js-LC33">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC34">    <span class="pl-c">// Keyboard Settings</span>
+
</div><div class="line" id="file-smoothscroll-js-LC35">    keyboardSupport  <span class="pl-k">:</span> <span class="pl-c1">true</span>,  <span class="pl-c">// option</span>
+
</div><div class="line" id="file-smoothscroll-js-LC36">    arrowScroll      <span class="pl-k">:</span> <span class="pl-c1">50</span>,    <span class="pl-c">// [px]</span>
+
</div><div class="line" id="file-smoothscroll-js-LC37">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC38">    <span class="pl-c">// Other</span>
+
</div><div class="line" id="file-smoothscroll-js-LC39">    touchpadSupport  <span class="pl-k">:</span> <span class="pl-c1">true</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC40">    fixedBackground  <span class="pl-k">:</span> <span class="pl-c1">true</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC41">    excluded          <span class="pl-k">:</span> <span class="pl-s1"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>   
+
</div><div class="line" id="file-smoothscroll-js-LC42">};
+
</div><div class="line" id="file-smoothscroll-js-LC43">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC44"><span class="pl-s">var</span> options <span class="pl-k">=</span> defaultOptions;
+
</div><div class="line" id="file-smoothscroll-js-LC45">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC46">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC47"><span class="pl-c">// Other Variables</span>
+
</div><div class="line" id="file-smoothscroll-js-LC48"><span class="pl-s">var</span> isExcluded <span class="pl-k">=</span> <span class="pl-c1">false</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC49"><span class="pl-s">var</span> isFrame <span class="pl-k">=</span> <span class="pl-c1">false</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC50"><span class="pl-s">var</span> direction <span class="pl-k">=</span> { x<span class="pl-k">:</span> <span class="pl-c1">0</span>, y<span class="pl-k">:</span> <span class="pl-c1">0</span> };
+
</div><div class="line" id="file-smoothscroll-js-LC51"><span class="pl-s">var</span> initDone  <span class="pl-k">=</span> <span class="pl-c1">false</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC52"><span class="pl-s">var</span> root <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">documentElement</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC53"><span class="pl-s">var</span> activeElement;
+
</div><div class="line" id="file-smoothscroll-js-LC54"><span class="pl-s">var</span> observer;
+
</div><div class="line" id="file-smoothscroll-js-LC55"><span class="pl-s">var</span> deltaBuffer <span class="pl-k">=</span> [];
+
</div><div class="line" id="file-smoothscroll-js-LC56"><span class="pl-s">var</span> isMac <span class="pl-k">=</span><span class="pl-sr"> <span class="pl-pds">/</span><span class="pl-k">^</span>Mac<span class="pl-pds">/</span></span>.<span class="pl-s3">test</span>(<span class="pl-s3">navigator</span>.<span class="pl-sc">platform</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC57">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC58"><span class="pl-s">var</span> key <span class="pl-k">=</span> { left<span class="pl-k">:</span> <span class="pl-c1">37</span>, up<span class="pl-k">:</span> <span class="pl-c1">38</span>, right<span class="pl-k">:</span> <span class="pl-c1">39</span>, down<span class="pl-k">:</span> <span class="pl-c1">40</span>, spacebar<span class="pl-k">:</span> <span class="pl-c1">32</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC59">            pageup<span class="pl-k">:</span> <span class="pl-c1">33</span>, pagedown<span class="pl-k">:</span> <span class="pl-c1">34</span>, end<span class="pl-k">:</span> <span class="pl-c1">35</span>, home<span class="pl-k">:</span> <span class="pl-c1">36</span> };
+
</div><div class="line" id="file-smoothscroll-js-LC60">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC61">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC62"><span class="pl-c">/***********************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC63"><span class="pl-c"> * SETTINGS</span>
+
</div><div class="line" id="file-smoothscroll-js-LC64"><span class="pl-c"> ***********************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC65">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC66"><span class="pl-s">var</span> options <span class="pl-k">=</span> defaultOptions;
+
</div><div class="line" id="file-smoothscroll-js-LC67">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC68">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC69"><span class="pl-c">/***********************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC70"><span class="pl-c"> * INITIALIZE</span>
+
</div><div class="line" id="file-smoothscroll-js-LC71"><span class="pl-c"> ***********************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC72">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC73"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC74"><span class="pl-c"> * Tests if smooth scrolling is allowed. Shuts down everything if not.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC75"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC76"><span class="pl-st">function</span> <span class="pl-en">initTest</span>() {
+
</div><div class="line" id="file-smoothscroll-js-LC77">    <span class="pl-k">if</span> (options.keyboardSupport) {
+
</div><div class="line" id="file-smoothscroll-js-LC78">        addEvent(<span class="pl-s1"><span class="pl-pds">'</span>keydown<span class="pl-pds">'</span></span>, keydown);
+
</div><div class="line" id="file-smoothscroll-js-LC79">    }
+
</div><div class="line" id="file-smoothscroll-js-LC80">}
+
</div><div class="line" id="file-smoothscroll-js-LC81">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC82"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC83"><span class="pl-c"> * Sets up scrolls array, determines if frames are involved.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC84"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC85"><span class="pl-st">function</span> <span class="pl-en">init</span>() {
+
</div><div class="line" id="file-smoothscroll-js-LC86"> 
+
</div><div class="line" id="file-smoothscroll-js-LC87">    <span class="pl-k">if</span> (initDone <span class="pl-k">||</span> <span class="pl-k">!</span><span class="pl-s3">document</span>.<span class="pl-sc">body</span>) <span class="pl-k">return</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC88">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC89">    initDone <span class="pl-k">=</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC90">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC91">    <span class="pl-s">var</span> body <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">body</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC92">    <span class="pl-s">var</span> html <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">documentElement</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC93">    <span class="pl-s">var</span> windowHeight <span class="pl-k">=</span> <span class="pl-s3">window</span>.<span class="pl-sc">innerHeight</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC94">    <span class="pl-s">var</span> scrollHeight <span class="pl-k">=</span> body.scrollHeight;
+
</div><div class="line" id="file-smoothscroll-js-LC95">   
+
</div><div class="line" id="file-smoothscroll-js-LC96">    <span class="pl-c">// check compat mode for root element</span>
+
</div><div class="line" id="file-smoothscroll-js-LC97">    root <span class="pl-k">=</span> (<span class="pl-s3">document</span>.compatMode.<span class="pl-s3">indexOf</span>(<span class="pl-s1"><span class="pl-pds">'</span>CSS<span class="pl-pds">'</span></span>) <span class="pl-k">&gt;=</span> <span class="pl-c1">0</span>) <span class="pl-k">?</span> html <span class="pl-k">:</span> body;
+
</div><div class="line" id="file-smoothscroll-js-LC98">    activeElement <span class="pl-k">=</span> body;
+
</div><div class="line" id="file-smoothscroll-js-LC99">   
+
</div><div class="line" id="file-smoothscroll-js-LC100">    initTest();
+
</div><div class="line" id="file-smoothscroll-js-LC101">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC102">    <span class="pl-c">// Checks if this script is running in a frame</span>
+
</div><div class="line" id="file-smoothscroll-js-LC103">    <span class="pl-k">if</span> (top <span class="pl-k">!=</span> self) {
+
</div><div class="line" id="file-smoothscroll-js-LC104">        isFrame <span class="pl-k">=</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC105">    }
+
</div><div class="line" id="file-smoothscroll-js-LC106">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC107">    <span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC108"><span class="pl-c">    * This fixes a bug where the areas left and right to </span>
+
</div><div class="line" id="file-smoothscroll-js-LC109"><span class="pl-c">    * the content does not trigger the onmousewheel event</span>
+
</div><div class="line" id="file-smoothscroll-js-LC110"><span class="pl-c">    * on some pages. e.g.: html, body { height: 100% }</span>
+
</div><div class="line" id="file-smoothscroll-js-LC111"><span class="pl-c">    */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC112">    <span class="pl-k">else</span> <span class="pl-k">if</span> (scrollHeight <span class="pl-k">&gt;</span> windowHeight <span class="pl-k">&amp;&amp;</span>
+
</div><div class="line" id="file-smoothscroll-js-LC113">            (body.offsetHeight <span class="pl-k">&lt;=</span> windowHeight <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC114">            html.offsetHeight <span class="pl-k">&lt;=</span> windowHeight)) {
+
</div><div class="line" id="file-smoothscroll-js-LC115">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC116">        <span class="pl-s">var</span> fullPageElem <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-s3">createElement</span>(<span class="pl-s1"><span class="pl-pds">'</span>div<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC117">        fullPageElem.<span class="pl-sc">style</span>.cssText <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>position:absolute; z-index:-10000; <span class="pl-pds">'</span></span> <span class="pl-k">+</span>
+
</div><div class="line" id="file-smoothscroll-js-LC118">                                    <span class="pl-s1"><span class="pl-pds">'</span>top:0; left:0; right:0; height:<span class="pl-pds">'</span></span> <span class="pl-k">+</span>
+
</div><div class="line" id="file-smoothscroll-js-LC119">                                      root.scrollHeight <span class="pl-k">+</span> <span class="pl-s1"><span class="pl-pds">'</span>px<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC120">        <span class="pl-s3">document</span>.<span class="pl-sc">body</span>.<span class="pl-s3">appendChild</span>(fullPageElem);
+
</div><div class="line" id="file-smoothscroll-js-LC121">       
+
</div><div class="line" id="file-smoothscroll-js-LC122">        <span class="pl-c">// DOM changed (throttled) to fix height</span>
+
</div><div class="line" id="file-smoothscroll-js-LC123">        <span class="pl-s">var</span> pendingRefresh;
+
</div><div class="line" id="file-smoothscroll-js-LC124">        <span class="pl-s">var</span> <span class="pl-en">refresh</span> <span class="pl-k">=</span> <span class="pl-st">function</span> () {
+
</div><div class="line" id="file-smoothscroll-js-LC125">            <span class="pl-k">if</span> (pendingRefresh) <span class="pl-k">return</span>; <span class="pl-c">// could also be: clearTimeout(pendingRefresh);</span>
+
</div><div class="line" id="file-smoothscroll-js-LC126">            pendingRefresh <span class="pl-k">=</span> <span class="pl-s3">setTimeout</span>(<span class="pl-st">function</span> () {
+
</div><div class="line" id="file-smoothscroll-js-LC127">                <span class="pl-k">if</span> (isExcluded) <span class="pl-k">return</span>; <span class="pl-c">// could be running after cleanup</span>
+
</div><div class="line" id="file-smoothscroll-js-LC128">                fullPageElem.<span class="pl-sc">style</span>.<span class="pl-sc">height</span> <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>0<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC129">                fullPageElem.<span class="pl-sc">style</span>.<span class="pl-sc">height</span> <span class="pl-k">=</span> root.scrollHeight <span class="pl-k">+</span> <span class="pl-s1"><span class="pl-pds">'</span>px<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC130">                pendingRefresh <span class="pl-k">=</span> <span class="pl-c1">null</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC131">            }, <span class="pl-c1">500</span>); <span class="pl-c">// act rarely to stay fast</span>
+
</div><div class="line" id="file-smoothscroll-js-LC132">        };
+
</div><div class="line" id="file-smoothscroll-js-LC133"> 
+
</div><div class="line" id="file-smoothscroll-js-LC134">        <span class="pl-s3">setTimeout</span>(refresh, <span class="pl-c1">10</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC135">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC136">        <span class="pl-c">// TODO: attributeFilter?</span>
+
</div><div class="line" id="file-smoothscroll-js-LC137">        <span class="pl-s">var</span> config <span class="pl-k">=</span> {
+
</div><div class="line" id="file-smoothscroll-js-LC138">            attributes<span class="pl-k">:</span> <span class="pl-c1">true</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC139">            childList<span class="pl-k">:</span> <span class="pl-c1">true</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC140">            characterData<span class="pl-k">:</span> <span class="pl-c1">false</span>
+
</div><div class="line" id="file-smoothscroll-js-LC141">            <span class="pl-c">// subtree: true</span>
+
</div><div class="line" id="file-smoothscroll-js-LC142">        };
+
</div><div class="line" id="file-smoothscroll-js-LC143">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC144">        observer <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-en">MutationObserver</span>(refresh);
+
</div><div class="line" id="file-smoothscroll-js-LC145">        observer.observe(body, config);
+
</div><div class="line" id="file-smoothscroll-js-LC146">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC147">        <span class="pl-k">if</span> (root.offsetHeight <span class="pl-k">&lt;=</span> windowHeight) {
+
</div><div class="line" id="file-smoothscroll-js-LC148">            <span class="pl-s">var</span> clearfix <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-s3">createElement</span>(<span class="pl-s1"><span class="pl-pds">'</span>div<span class="pl-pds">'</span></span>); 
+
</div><div class="line" id="file-smoothscroll-js-LC149">            clearfix.<span class="pl-sc">style</span>.<span class="pl-sc">clear</span> <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>both<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC150">            body.<span class="pl-s3">appendChild</span>(clearfix);
+
</div><div class="line" id="file-smoothscroll-js-LC151">        }
+
</div><div class="line" id="file-smoothscroll-js-LC152">    }
+
</div><div class="line" id="file-smoothscroll-js-LC153">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC154">    <span class="pl-c">// disable fixed background</span>
+
</div><div class="line" id="file-smoothscroll-js-LC155">    <span class="pl-k">if</span> (<span class="pl-k">!</span>options.fixedBackground <span class="pl-k">&amp;&amp;</span> <span class="pl-k">!</span>isExcluded) {
+
</div><div class="line" id="file-smoothscroll-js-LC156">        body.<span class="pl-sc">style</span>.backgroundAttachment <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>scroll<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC157">        html.<span class="pl-sc">style</span>.backgroundAttachment <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>scroll<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC158">    }
+
</div><div class="line" id="file-smoothscroll-js-LC159">}
+
</div><div class="line" id="file-smoothscroll-js-LC160">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC161"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC162"><span class="pl-c"> * Removes event listeners and other traces left on the page.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC163"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC164"><span class="pl-st">function</span> <span class="pl-en">cleanup</span>() {
+
</div><div class="line" id="file-smoothscroll-js-LC165">    observer <span class="pl-k">&amp;&amp;</span> observer.disconnect();
+
</div><div class="line" id="file-smoothscroll-js-LC166">    removeEvent(wheelEvent, wheel);
+
</div><div class="line" id="file-smoothscroll-js-LC167">    removeEvent(<span class="pl-s1"><span class="pl-pds">'</span>mousedown<span class="pl-pds">'</span></span>, mousedown);
+
</div><div class="line" id="file-smoothscroll-js-LC168">    removeEvent(<span class="pl-s1"><span class="pl-pds">'</span>keydown<span class="pl-pds">'</span></span>, keydown);
+
</div><div class="line" id="file-smoothscroll-js-LC169">}
+
</div><div class="line" id="file-smoothscroll-js-LC170">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC171">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC172"><span class="pl-c">/************************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC173"><span class="pl-c"> * SCROLLING </span>
+
</div><div class="line" id="file-smoothscroll-js-LC174"><span class="pl-c"> ************************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC175">
+
</div><div class="line" id="file-smoothscroll-js-LC176"><span class="pl-s">var</span> que <span class="pl-k">=</span> [];
+
</div><div class="line" id="file-smoothscroll-js-LC177"><span class="pl-s">var</span> pending <span class="pl-k">=</span> <span class="pl-c1">false</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC178"><span class="pl-s">var</span> lastScroll <span class="pl-k">=</span> <span class="pl-s3">Date</span>.now();
+
</div><div class="line" id="file-smoothscroll-js-LC179">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC180"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC181"><span class="pl-c"> * Pushes scroll actions to the scrolling queue.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC182"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC183"><span class="pl-st">function</span> <span class="pl-en">scrollArray</span>(<span class="pl-vpf">elem</span>, <span class="pl-vpf">left</span>, <span class="pl-vpf">top</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC184">   
+
</div><div class="line" id="file-smoothscroll-js-LC185">    directionCheck(left, top);
+
</div><div class="line" id="file-smoothscroll-js-LC186">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC187">    <span class="pl-k">if</span> (options.accelerationMax <span class="pl-k">!=</span> <span class="pl-c1">1</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC188">        <span class="pl-s">var</span> now <span class="pl-k">=</span> <span class="pl-s3">Date</span>.now();
+
</div><div class="line" id="file-smoothscroll-js-LC189">        <span class="pl-s">var</span> elapsed <span class="pl-k">=</span> now <span class="pl-k">-</span> lastScroll;
+
</div><div class="line" id="file-smoothscroll-js-LC190">        <span class="pl-k">if</span> (elapsed <span class="pl-k">&lt;</span> options.accelerationDelta) {
+
</div><div class="line" id="file-smoothscroll-js-LC191">            <span class="pl-s">var</span> factor <span class="pl-k">=</span> (<span class="pl-c1">1</span> <span class="pl-k">+</span> (<span class="pl-c1">50</span> / elapsed)) / <span class="pl-c1">2</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC192">            <span class="pl-k">if</span> (factor <span class="pl-k">&gt;</span> <span class="pl-c1">1</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC193">                factor <span class="pl-k">=</span> <span class="pl-s3">Math</span>.<span class="pl-s3">min</span>(factor, options.accelerationMax);
+
</div><div class="line" id="file-smoothscroll-js-LC194">                left <span class="pl-k">*=</span> factor;
+
</div><div class="line" id="file-smoothscroll-js-LC195">                top  <span class="pl-k">*=</span> factor;
+
</div><div class="line" id="file-smoothscroll-js-LC196">            }
+
</div><div class="line" id="file-smoothscroll-js-LC197">        }
+
</div><div class="line" id="file-smoothscroll-js-LC198">        lastScroll <span class="pl-k">=</span> <span class="pl-s3">Date</span>.now();
+
</div><div class="line" id="file-smoothscroll-js-LC199">    }         
+
</div><div class="line" id="file-smoothscroll-js-LC200">   
+
</div><div class="line" id="file-smoothscroll-js-LC201">    <span class="pl-c">// push a scroll command</span>
+
</div><div class="line" id="file-smoothscroll-js-LC202">    que.<span class="pl-s3">push</span>({
+
</div><div class="line" id="file-smoothscroll-js-LC203">        x<span class="pl-k">:</span> left,
+
</div><div class="line" id="file-smoothscroll-js-LC204">        y<span class="pl-k">:</span> top,
+
</div><div class="line" id="file-smoothscroll-js-LC205">        lastX<span class="pl-k">:</span> (left <span class="pl-k">&lt;</span> <span class="pl-c1">0</span>) <span class="pl-k">?</span> <span class="pl-c1">0.99</span> <span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">0.99</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC206">        lastY<span class="pl-k">:</span> (top  <span class="pl-k">&lt;</span> <span class="pl-c1">0</span>) <span class="pl-k">?</span> <span class="pl-c1">0.99</span> <span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">0.99</span>,
+
</div><div class="line" id="file-smoothscroll-js-LC207">        start<span class="pl-k">:</span> <span class="pl-s3">Date</span>.now()
+
</div><div class="line" id="file-smoothscroll-js-LC208">    });
+
</div><div class="line" id="file-smoothscroll-js-LC209">       
+
</div><div class="line" id="file-smoothscroll-js-LC210">    <span class="pl-c">// don't act if there's a pending queue</span>
+
</div><div class="line" id="file-smoothscroll-js-LC211">    <span class="pl-k">if</span> (pending) {
+
</div><div class="line" id="file-smoothscroll-js-LC212">        <span class="pl-k">return</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC213">    } 
+
</div><div class="line" id="file-smoothscroll-js-LC214">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC215">    <span class="pl-s">var</span> scrollWindow <span class="pl-k">=</span> (elem <span class="pl-k">===</span> <span class="pl-s3">document</span>.<span class="pl-sc">body</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC216">   
+
</div><div class="line" id="file-smoothscroll-js-LC217">    <span class="pl-s">var</span> <span class="pl-en">step</span> <span class="pl-k">=</span> <span class="pl-st">function</span> (<span class="pl-vpf">time</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC218">       
+
</div><div class="line" id="file-smoothscroll-js-LC219">        <span class="pl-s">var</span> now <span class="pl-k">=</span> <span class="pl-s3">Date</span>.now();
+
</div><div class="line" id="file-smoothscroll-js-LC220">        <span class="pl-s">var</span> scrollX <span class="pl-k">=</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC221">        <span class="pl-s">var</span> scrollY <span class="pl-k">=</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC222">   
+
</div><div class="line" id="file-smoothscroll-js-LC223">        <span class="pl-k">for</span> (<span class="pl-s">var</span> i <span class="pl-k">=</span> <span class="pl-c1">0</span>; i <span class="pl-k">&lt;</span> que.<span class="pl-sc">length</span>; i<span class="pl-k">++</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC224">           
+
</div><div class="line" id="file-smoothscroll-js-LC225">            <span class="pl-s">var</span> item <span class="pl-k">=</span> que[i];
+
</div><div class="line" id="file-smoothscroll-js-LC226">            <span class="pl-s">var</span> elapsed  <span class="pl-k">=</span> now <span class="pl-k">-</span> item.<span class="pl-sc">start</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC227">            <span class="pl-s">var</span> finished <span class="pl-k">=</span> (elapsed <span class="pl-k">&gt;=</span> options.animationTime);
+
</div><div class="line" id="file-smoothscroll-js-LC228">           
+
</div><div class="line" id="file-smoothscroll-js-LC229">            <span class="pl-c">// scroll position: [0, 1]</span>
+
</div><div class="line" id="file-smoothscroll-js-LC230">            <span class="pl-s">var</span> position <span class="pl-k">=</span> (finished) <span class="pl-k">?</span> <span class="pl-c1">1</span> <span class="pl-k">:</span> elapsed / options.animationTime;
+
</div><div class="line" id="file-smoothscroll-js-LC231">           
+
</div><div class="line" id="file-smoothscroll-js-LC232">            <span class="pl-c">// easing [optional]</span>
+
</div><div class="line" id="file-smoothscroll-js-LC233">            <span class="pl-k">if</span> (options.pulseAlgorithm) {
+
</div><div class="line" id="file-smoothscroll-js-LC234">                position <span class="pl-k">=</span> pulse(position);
+
</div><div class="line" id="file-smoothscroll-js-LC235">            }
+
</div><div class="line" id="file-smoothscroll-js-LC236">           
+
</div><div class="line" id="file-smoothscroll-js-LC237">            <span class="pl-c">// only need the difference</span>
+
</div><div class="line" id="file-smoothscroll-js-LC238">            <span class="pl-s">var</span> x <span class="pl-k">=</span> (item.<span class="pl-sc">x</span> <span class="pl-k">*</span> position <span class="pl-k">-</span> item.lastX) <span class="pl-k">&gt;&gt;</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC239">            <span class="pl-s">var</span> y <span class="pl-k">=</span> (item.<span class="pl-sc">y</span> <span class="pl-k">*</span> position <span class="pl-k">-</span> item.lastY) <span class="pl-k">&gt;&gt;</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC240">           
+
</div><div class="line" id="file-smoothscroll-js-LC241">            <span class="pl-c">// add this to the total scrolling</span>
+
</div><div class="line" id="file-smoothscroll-js-LC242">            scrollX <span class="pl-k">+=</span> x;
+
</div><div class="line" id="file-smoothscroll-js-LC243">            scrollY <span class="pl-k">+=</span> y;           
+
</div><div class="line" id="file-smoothscroll-js-LC244">           
+
</div><div class="line" id="file-smoothscroll-js-LC245">            <span class="pl-c">// update last values</span>
+
</div><div class="line" id="file-smoothscroll-js-LC246">            item.lastX <span class="pl-k">+=</span> x;
+
</div><div class="line" id="file-smoothscroll-js-LC247">            item.lastY <span class="pl-k">+=</span> y;
+
</div><div class="line" id="file-smoothscroll-js-LC248">       
+
</div><div class="line" id="file-smoothscroll-js-LC249">            <span class="pl-c">// delete and step back if it's over</span>
+
</div><div class="line" id="file-smoothscroll-js-LC250">            <span class="pl-k">if</span> (finished) {
+
</div><div class="line" id="file-smoothscroll-js-LC251">                que.<span class="pl-s3">splice</span>(i, <span class="pl-c1">1</span>); i<span class="pl-k">--</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC252">            }         
+
</div><div class="line" id="file-smoothscroll-js-LC253">        }
+
</div><div class="line" id="file-smoothscroll-js-LC254">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC255">        <span class="pl-c">// scroll left and top</span>
+
</div><div class="line" id="file-smoothscroll-js-LC256">        <span class="pl-k">if</span> (scrollWindow) {
+
</div><div class="line" id="file-smoothscroll-js-LC257">            <span class="pl-s3">window</span>.<span class="pl-s3">scrollBy</span>(scrollX, scrollY);
+
</div><div class="line" id="file-smoothscroll-js-LC258">        }
+
</div><div class="line" id="file-smoothscroll-js-LC259">        <span class="pl-k">else</span> {
+
</div><div class="line" id="file-smoothscroll-js-LC260">            <span class="pl-k">if</span> (scrollX) elem.scrollLeft <span class="pl-k">+=</span> scrollX;
+
</div><div class="line" id="file-smoothscroll-js-LC261">            <span class="pl-k">if</span> (scrollY) elem.scrollTop  <span class="pl-k">+=</span> scrollY;                   
+
</div><div class="line" id="file-smoothscroll-js-LC262">        }
+
</div><div class="line" id="file-smoothscroll-js-LC263">       
+
</div><div class="line" id="file-smoothscroll-js-LC264">        <span class="pl-c">// clean up if there's nothing left to do</span>
+
</div><div class="line" id="file-smoothscroll-js-LC265">        <span class="pl-k">if</span> (<span class="pl-k">!</span>left <span class="pl-k">&amp;&amp;</span> <span class="pl-k">!</span>top) {
+
</div><div class="line" id="file-smoothscroll-js-LC266">            que <span class="pl-k">=</span> [];
+
</div><div class="line" id="file-smoothscroll-js-LC267">        }
+
</div><div class="line" id="file-smoothscroll-js-LC268">       
+
</div><div class="line" id="file-smoothscroll-js-LC269">        <span class="pl-k">if</span> (que.<span class="pl-sc">length</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC270">            requestFrame(step, elem, (<span class="pl-c1">1000</span> / options.frameRate <span class="pl-k">+</span> <span class="pl-c1">1</span>));
+
</div><div class="line" id="file-smoothscroll-js-LC271">        } <span class="pl-k">else</span> {
+
</div><div class="line" id="file-smoothscroll-js-LC272">            pending <span class="pl-k">=</span> <span class="pl-c1">false</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC273">        }
+
</div><div class="line" id="file-smoothscroll-js-LC274">    };
+
</div><div class="line" id="file-smoothscroll-js-LC275">   
+
</div><div class="line" id="file-smoothscroll-js-LC276">    <span class="pl-c">// start a new queue of actions</span>
+
</div><div class="line" id="file-smoothscroll-js-LC277">    requestFrame(step, elem, <span class="pl-c1">0</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC278">    pending <span class="pl-k">=</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC279">}
+
</div><div class="line" id="file-smoothscroll-js-LC280">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC281">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC282"><span class="pl-c">/***********************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC283"><span class="pl-c"> * EVENTS</span>
+
</div><div class="line" id="file-smoothscroll-js-LC284"><span class="pl-c"> ***********************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC285">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC286"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC287"><span class="pl-c"> * Mouse wheel handler.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC288"><span class="pl-c"> * @param {Object} event</span>
+
</div><div class="line" id="file-smoothscroll-js-LC289"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC290"><span class="pl-st">function</span> <span class="pl-en">wheel</span>(<span class="pl-vpf">event</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC291">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC292">    <span class="pl-k">if</span> (<span class="pl-k">!</span>initDone) {
+
</div><div class="line" id="file-smoothscroll-js-LC293">        init();
+
</div><div class="line" id="file-smoothscroll-js-LC294">    }
+
</div><div class="line" id="file-smoothscroll-js-LC295">   
+
</div><div class="line" id="file-smoothscroll-js-LC296">    <span class="pl-s">var</span> target <span class="pl-k">=</span> <span class="pl-s3">event</span>.<span class="pl-sc">target</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC297">    <span class="pl-s">var</span> overflowing <span class="pl-k">=</span> overflowingAncestor(target);
+
</div><div class="line" id="file-smoothscroll-js-LC298">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC299">    <span class="pl-c">// use default if there's no overflowing</span>
+
</div><div class="line" id="file-smoothscroll-js-LC300">    <span class="pl-c">// element or default action is prevented  </span>
+
</div><div class="line" id="file-smoothscroll-js-LC301">    <span class="pl-c">// or it's a zooming event with CTRL </span>
+
</div><div class="line" id="file-smoothscroll-js-LC302">    <span class="pl-k">if</span> (<span class="pl-k">!</span>overflowing <span class="pl-k">||</span> <span class="pl-s3">event</span>.defaultPrevented <span class="pl-k">||</span> <span class="pl-s3">event</span>.ctrlKey) {
+
</div><div class="line" id="file-smoothscroll-js-LC303">        <span class="pl-k">return</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC304">    }
+
</div><div class="line" id="file-smoothscroll-js-LC305">   
+
</div><div class="line" id="file-smoothscroll-js-LC306">    <span class="pl-c">// leave embedded content alone (flash &amp; pdf)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC307">    <span class="pl-k">if</span> (isNodeName(activeElement, <span class="pl-s1"><span class="pl-pds">'</span>embed<span class="pl-pds">'</span></span>) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC308">      (isNodeName(target, <span class="pl-s1"><span class="pl-pds">'</span>embed<span class="pl-pds">'</span></span>) <span class="pl-k">&amp;&amp;</span><span class="pl-sr"> <span class="pl-pds">/</span><span class="pl-cce">\.</span>pdf<span class="pl-pds">/</span>i</span>.<span class="pl-s3">test</span>(target.<span class="pl-sc">src</span>)) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC309">      isNodeName(activeElement, <span class="pl-s1"><span class="pl-pds">'</span>object<span class="pl-pds">'</span></span>)) {
+
</div><div class="line" id="file-smoothscroll-js-LC310">        <span class="pl-k">return</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC311">    }
+
</div><div class="line" id="file-smoothscroll-js-LC312">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC313">    <span class="pl-s">var</span> deltaX <span class="pl-k">=</span> <span class="pl-k">-</span><span class="pl-s3">event</span>.wheelDeltaX <span class="pl-k">||</span> <span class="pl-s3">event</span>.deltaX <span class="pl-k">||</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC314">    <span class="pl-s">var</span> deltaY <span class="pl-k">=</span> <span class="pl-k">-</span><span class="pl-s3">event</span>.wheelDeltaY <span class="pl-k">||</span> <span class="pl-s3">event</span>.deltaY <span class="pl-k">||</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC315">   
+
</div><div class="line" id="file-smoothscroll-js-LC316">    <span class="pl-k">if</span> (isMac) {
+
</div><div class="line" id="file-smoothscroll-js-LC317">        <span class="pl-k">if</span> (<span class="pl-s3">event</span>.wheelDeltaX <span class="pl-k">&amp;&amp;</span> isDivisible(<span class="pl-s3">event</span>.wheelDeltaX, <span class="pl-c1">120</span>)) {
+
</div><div class="line" id="file-smoothscroll-js-LC318">            deltaX <span class="pl-k">=</span> <span class="pl-k">-</span><span class="pl-c1">120</span> <span class="pl-k">*</span> (<span class="pl-s3">event</span>.wheelDeltaX / <span class="pl-s3">Math</span>.<span class="pl-s3">abs</span>(<span class="pl-s3">event</span>.wheelDeltaX));
+
</div><div class="line" id="file-smoothscroll-js-LC319">        }
+
</div><div class="line" id="file-smoothscroll-js-LC320">        <span class="pl-k">if</span> (<span class="pl-s3">event</span>.wheelDeltaY <span class="pl-k">&amp;&amp;</span> isDivisible(<span class="pl-s3">event</span>.wheelDeltaY, <span class="pl-c1">120</span>)) {
+
</div><div class="line" id="file-smoothscroll-js-LC321">            deltaY <span class="pl-k">=</span> <span class="pl-k">-</span><span class="pl-c1">120</span> <span class="pl-k">*</span> (<span class="pl-s3">event</span>.wheelDeltaY / <span class="pl-s3">Math</span>.<span class="pl-s3">abs</span>(<span class="pl-s3">event</span>.wheelDeltaY));
+
</div><div class="line" id="file-smoothscroll-js-LC322">        }
+
</div><div class="line" id="file-smoothscroll-js-LC323">    }
+
</div><div class="line" id="file-smoothscroll-js-LC324">   
+
</div><div class="line" id="file-smoothscroll-js-LC325">    <span class="pl-c">// use wheelDelta if deltaX/Y is not available</span>
+
</div><div class="line" id="file-smoothscroll-js-LC326">    <span class="pl-k">if</span> (<span class="pl-k">!</span>deltaX <span class="pl-k">&amp;&amp;</span> <span class="pl-k">!</span>deltaY) {
+
</div><div class="line" id="file-smoothscroll-js-LC327">        deltaY <span class="pl-k">=</span> <span class="pl-k">-</span><span class="pl-s3">event</span>.wheelDelta <span class="pl-k">||</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC328">    }
+
</div><div class="line" id="file-smoothscroll-js-LC329">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC330">    <span class="pl-c">// line based scrolling (Firefox mostly)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC331">    <span class="pl-k">if</span> (<span class="pl-s3">event</span>.deltaMode <span class="pl-k">===</span> <span class="pl-c1">1</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC332">        deltaX <span class="pl-k">*=</span> <span class="pl-c1">40</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC333">        deltaY <span class="pl-k">*=</span> <span class="pl-c1">40</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC334">    }
+
</div><div class="line" id="file-smoothscroll-js-LC335">   
+
</div><div class="line" id="file-smoothscroll-js-LC336">    <span class="pl-c">// check if it's a touchpad scroll that should be ignored</span>
+
</div><div class="line" id="file-smoothscroll-js-LC337">    <span class="pl-k">if</span> (<span class="pl-k">!</span>options.touchpadSupport <span class="pl-k">&amp;&amp;</span> isTouchpad(deltaY)) {
+
</div><div class="line" id="file-smoothscroll-js-LC338">        <span class="pl-k">return</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC339">    }
+
</div><div class="line" id="file-smoothscroll-js-LC340">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC341">    <span class="pl-c">// scale by step size</span>
+
</div><div class="line" id="file-smoothscroll-js-LC342">    <span class="pl-c">// delta is 120 most of the time</span>
+
</div><div class="line" id="file-smoothscroll-js-LC343">    <span class="pl-c">// synaptics seems to send 1 sometimes</span>
+
</div><div class="line" id="file-smoothscroll-js-LC344">    <span class="pl-k">if</span> (<span class="pl-s3">Math</span>.<span class="pl-s3">abs</span>(deltaX) <span class="pl-k">&gt;</span> <span class="pl-c1">1.2</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC345">        deltaX <span class="pl-k">*=</span> options.stepSize / <span class="pl-c1">120</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC346">    }
+
</div><div class="line" id="file-smoothscroll-js-LC347">    <span class="pl-k">if</span> (<span class="pl-s3">Math</span>.<span class="pl-s3">abs</span>(deltaY) <span class="pl-k">&gt;</span> <span class="pl-c1">1.2</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC348">        deltaY <span class="pl-k">*=</span> options.stepSize / <span class="pl-c1">120</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC349">    }
+
</div><div class="line" id="file-smoothscroll-js-LC350">   
+
</div><div class="line" id="file-smoothscroll-js-LC351">    scrollArray(overflowing, deltaX, deltaY);
+
</div><div class="line" id="file-smoothscroll-js-LC352">    <span class="pl-s3">event</span>.preventDefault();
+
</div><div class="line" id="file-smoothscroll-js-LC353">    scheduleClearCache();
+
</div><div class="line" id="file-smoothscroll-js-LC354">}
+
</div><div class="line" id="file-smoothscroll-js-LC355">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC356"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC357"><span class="pl-c"> * Keydown event handler.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC358"><span class="pl-c"> * @param {Object} event</span>
+
</div><div class="line" id="file-smoothscroll-js-LC359"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC360"><span class="pl-st">function</span> <span class="pl-en">keydown</span>(<span class="pl-vpf">event</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC361">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC362">    <span class="pl-s">var</span> target  <span class="pl-k">=</span> <span class="pl-s3">event</span>.<span class="pl-sc">target</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC363">    <span class="pl-s">var</span> modifier <span class="pl-k">=</span> <span class="pl-s3">event</span>.ctrlKey <span class="pl-k">||</span> <span class="pl-s3">event</span>.altKey <span class="pl-k">||</span> <span class="pl-s3">event</span>.metaKey <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC364">                  (<span class="pl-s3">event</span>.shiftKey <span class="pl-k">&amp;&amp;</span> <span class="pl-s3">event</span>.keyCode <span class="pl-k">!==</span> key.spacebar);
+
</div><div class="line" id="file-smoothscroll-js-LC365">   
+
</div><div class="line" id="file-smoothscroll-js-LC366">    <span class="pl-c">// our own tracked active element could've been removed from the DOM</span>
+
</div><div class="line" id="file-smoothscroll-js-LC367">    <span class="pl-k">if</span> (<span class="pl-k">!</span><span class="pl-s3">document</span>.contains(activeElement)) {
+
</div><div class="line" id="file-smoothscroll-js-LC368">        activeElement <span class="pl-k">=</span> <span class="pl-s3">document</span>.activeElement;
+
</div><div class="line" id="file-smoothscroll-js-LC369">    }
+
</div><div class="line" id="file-smoothscroll-js-LC370">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC371">    <span class="pl-c">// do nothing if user is editing text</span>
+
</div><div class="line" id="file-smoothscroll-js-LC372">    <span class="pl-c">// or using a modifier key (except shift)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC373">    <span class="pl-c">// or in a dropdown</span>
+
</div><div class="line" id="file-smoothscroll-js-LC374">    <span class="pl-c">// or inside interactive elements</span>
+
</div><div class="line" id="file-smoothscroll-js-LC375">    <span class="pl-s">var</span> inputNodeNames <span class="pl-k">=</span><span class="pl-sr"> <span class="pl-pds">/</span><span class="pl-k">^</span>(textarea<span class="pl-k">|</span>select<span class="pl-k">|</span>embed<span class="pl-k">|</span>object)<span class="pl-k">$</span><span class="pl-pds">/</span>i</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC376">    <span class="pl-s">var</span> buttonTypes <span class="pl-k">=</span><span class="pl-sr"> <span class="pl-pds">/</span><span class="pl-k">^</span>(button<span class="pl-k">|</span>submit<span class="pl-k">|</span>radio<span class="pl-k">|</span>checkbox<span class="pl-k">|</span>file<span class="pl-k">|</span>color<span class="pl-k">|</span>image)<span class="pl-k">$</span><span class="pl-pds">/</span>i</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC377">    <span class="pl-k">if</span> ( inputNodeNames.<span class="pl-s3">test</span>(target.<span class="pl-sc">nodeName</span>) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC378">        isNodeName(target, <span class="pl-s1"><span class="pl-pds">'</span>input<span class="pl-pds">'</span></span>) <span class="pl-k">&amp;&amp;</span> <span class="pl-k">!</span>buttonTypes.<span class="pl-s3">test</span>(target.<span class="pl-sc">type</span>) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC379">        isNodeName(activeElement, <span class="pl-s1"><span class="pl-pds">'</span>video<span class="pl-pds">'</span></span>) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC380">        isInsideYoutubeVideo(<span class="pl-s3">event</span>) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC381">        target.isContentEditable <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC382">        <span class="pl-s3">event</span>.defaultPrevented  <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC383">        modifier ) {
+
</div><div class="line" id="file-smoothscroll-js-LC384">      <span class="pl-k">return</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC385">    }
+
</div><div class="line" id="file-smoothscroll-js-LC386">   
+
</div><div class="line" id="file-smoothscroll-js-LC387">    <span class="pl-c">// spacebar should trigger button press</span>
+
</div><div class="line" id="file-smoothscroll-js-LC388">    <span class="pl-k">if</span> ((isNodeName(target, <span class="pl-s1"><span class="pl-pds">'</span>button<span class="pl-pds">'</span></span>) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC389">        isNodeName(target, <span class="pl-s1"><span class="pl-pds">'</span>input<span class="pl-pds">'</span></span>) <span class="pl-k">&amp;&amp;</span> buttonTypes.<span class="pl-s3">test</span>(target.<span class="pl-sc">type</span>)) <span class="pl-k">&amp;&amp;</span>
+
</div><div class="line" id="file-smoothscroll-js-LC390">        <span class="pl-s3">event</span>.keyCode <span class="pl-k">===</span> key.spacebar) {
+
</div><div class="line" id="file-smoothscroll-js-LC391">      <span class="pl-k">return</span> <span class="pl-c1">true</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC392">    }
+
</div><div class="line" id="file-smoothscroll-js-LC393">   
+
</div><div class="line" id="file-smoothscroll-js-LC394">    <span class="pl-s">var</span> shift, x <span class="pl-k">=</span> <span class="pl-c1">0</span>, y <span class="pl-k">=</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC395">    <span class="pl-s">var</span> elem <span class="pl-k">=</span> overflowingAncestor(activeElement);
+
</div><div class="line" id="file-smoothscroll-js-LC396">    <span class="pl-s">var</span> clientHeight <span class="pl-k">=</span> elem.clientHeight;
+
</div><div class="line" id="file-smoothscroll-js-LC397">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC398">    <span class="pl-k">if</span> (elem <span class="pl-k">==</span> <span class="pl-s3">document</span>.<span class="pl-sc">body</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC399">        clientHeight <span class="pl-k">=</span> <span class="pl-s3">window</span>.<span class="pl-sc">innerHeight</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC400">    }
+
</div><div class="line" id="file-smoothscroll-js-LC401">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC402">    <span class="pl-k">switch</span> (<span class="pl-s3">event</span>.keyCode) {
+
</div><div class="line" id="file-smoothscroll-js-LC403">        <span class="pl-k">case</span> key.up<span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC404">            y <span class="pl-k">=</span> <span class="pl-k">-</span>options.arrowScroll;
+
</div><div class="line" id="file-smoothscroll-js-LC405">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC406">        <span class="pl-k">case</span> key.down<span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC407">            y <span class="pl-k">=</span> options.arrowScroll;
+
</div><div class="line" id="file-smoothscroll-js-LC408">            <span class="pl-k">break</span>;       
+
</div><div class="line" id="file-smoothscroll-js-LC409">        <span class="pl-k">case</span> key.spacebar<span class="pl-k">:</span> <span class="pl-c">// (+ shift)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC410">            shift <span class="pl-k">=</span> <span class="pl-s3">event</span>.shiftKey <span class="pl-k">?</span> <span class="pl-c1">1</span> <span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">1</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC411">            y <span class="pl-k">=</span> <span class="pl-k">-</span>shift <span class="pl-k">*</span> clientHeight <span class="pl-k">*</span> <span class="pl-c1">0.9</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC412">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC413">        <span class="pl-k">case</span> key.pageup<span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC414">            y <span class="pl-k">=</span> <span class="pl-k">-</span>clientHeight <span class="pl-k">*</span> <span class="pl-c1">0.9</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC415">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC416">        <span class="pl-k">case</span> key.pagedown<span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC417">            y <span class="pl-k">=</span> clientHeight <span class="pl-k">*</span> <span class="pl-c1">0.9</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC418">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC419">        <span class="pl-k">case</span> key.home<span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC420">            y <span class="pl-k">=</span> <span class="pl-k">-</span>elem.scrollTop;
+
</div><div class="line" id="file-smoothscroll-js-LC421">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC422">        <span class="pl-k">case</span> key.end<span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC423">            <span class="pl-s">var</span> damt <span class="pl-k">=</span> elem.scrollHeight <span class="pl-k">-</span> elem.scrollTop <span class="pl-k">-</span> clientHeight;
+
</div><div class="line" id="file-smoothscroll-js-LC424">            y <span class="pl-k">=</span> (damt <span class="pl-k">&gt;</span> <span class="pl-c1">0</span>) <span class="pl-k">?</span> damt<span class="pl-k">+</span><span class="pl-c1">10</span> <span class="pl-k">:</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC425">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC426">        <span class="pl-k">case</span> key.<span class="pl-sc">left</span><span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC427">            x <span class="pl-k">=</span> <span class="pl-k">-</span>options.arrowScroll;
+
</div><div class="line" id="file-smoothscroll-js-LC428">            <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC429">        <span class="pl-k">case</span> key.<span class="pl-sc">right</span><span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC430">            x <span class="pl-k">=</span> options.arrowScroll;
+
</div><div class="line" id="file-smoothscroll-js-LC431">            <span class="pl-k">break</span>;           
+
</div><div class="line" id="file-smoothscroll-js-LC432">        <span class="pl-k">default</span><span class="pl-k">:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC433">            <span class="pl-k">return</span> <span class="pl-c1">true</span>; <span class="pl-c">// a key we don't care about</span>
+
</div><div class="line" id="file-smoothscroll-js-LC434">    }
+
</div><div class="line" id="file-smoothscroll-js-LC435">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC436">    scrollArray(elem, x, y);
+
</div><div class="line" id="file-smoothscroll-js-LC437">    <span class="pl-s3">event</span>.preventDefault();
+
</div><div class="line" id="file-smoothscroll-js-LC438">    scheduleClearCache();
+
</div><div class="line" id="file-smoothscroll-js-LC439">}
+
</div><div class="line" id="file-smoothscroll-js-LC440">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC441"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC442"><span class="pl-c"> * Mousedown event only for updating activeElement</span>
+
</div><div class="line" id="file-smoothscroll-js-LC443"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC444"><span class="pl-st">function</span> <span class="pl-en">mousedown</span>(<span class="pl-vpf">event</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC445">    activeElement <span class="pl-k">=</span> <span class="pl-s3">event</span>.<span class="pl-sc">target</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC446">}
+
</div><div class="line" id="file-smoothscroll-js-LC447">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC448">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC449"><span class="pl-c">/***********************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC450"><span class="pl-c"> * OVERFLOW</span>
+
</div><div class="line" id="file-smoothscroll-js-LC451"><span class="pl-c"> ***********************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC452">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC453"><span class="pl-s">var</span> uniqueID <span class="pl-k">=</span> (<span class="pl-st">function</span> () {
+
</div><div class="line" id="file-smoothscroll-js-LC454">    <span class="pl-s">var</span> i <span class="pl-k">=</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC455">    <span class="pl-k">return</span> <span class="pl-st">function</span> (<span class="pl-vpf">el</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC456">        <span class="pl-k">return</span> el.<span class="pl-sc">uniqueID</span> <span class="pl-k">||</span> (el.<span class="pl-sc">uniqueID</span> <span class="pl-k">=</span> i<span class="pl-k">++</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC457">    };
+
</div><div class="line" id="file-smoothscroll-js-LC458">})();
+
</div><div class="line" id="file-smoothscroll-js-LC459">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC460"><span class="pl-s">var</span> cache <span class="pl-k">=</span> {}; <span class="pl-c">// cleared out after a scrolling session</span>
+
</div><div class="line" id="file-smoothscroll-js-LC461"><span class="pl-s">var</span> clearCacheTimer;
+
</div><div class="line" id="file-smoothscroll-js-LC462">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC463"><span class="pl-c">//setInterval(function () { cache = {}; }, 10 * 1000);</span>
+
</div><div class="line" id="file-smoothscroll-js-LC464">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC465"><span class="pl-st">function</span> <span class="pl-en">scheduleClearCache</span>() {
+
</div><div class="line" id="file-smoothscroll-js-LC466">    <span class="pl-s3">clearTimeout</span>(clearCacheTimer);
+
</div><div class="line" id="file-smoothscroll-js-LC467">    clearCacheTimer <span class="pl-k">=</span> <span class="pl-s3">setInterval</span>(<span class="pl-st">function</span> () { cache <span class="pl-k">=</span> {}; }, <span class="pl-c1">1</span><span class="pl-k">*</span><span class="pl-c1">1000</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC468">}
+
</div><div class="line" id="file-smoothscroll-js-LC469">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC470"><span class="pl-st">function</span> <span class="pl-en">setCache</span>(<span class="pl-vpf">elems</span>, <span class="pl-vpf">overflowing</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC471">    <span class="pl-k">for</span> (<span class="pl-s">var</span> i <span class="pl-k">=</span> elems.<span class="pl-sc">length</span>; i<span class="pl-k">--</span>;)
+
</div><div class="line" id="file-smoothscroll-js-LC472">        cache[uniqueID(elems[i])] <span class="pl-k">=</span> overflowing;
+
</div><div class="line" id="file-smoothscroll-js-LC473">    <span class="pl-k">return</span> overflowing;
+
</div><div class="line" id="file-smoothscroll-js-LC474">}
+
</div><div class="line" id="file-smoothscroll-js-LC475">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC476"><span class="pl-c">//  (body)                (root)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC477"><span class="pl-c">//        | hidden | visible | scroll |  auto  |</span>
+
</div><div class="line" id="file-smoothscroll-js-LC478"><span class="pl-c">// hidden  |  no  |    no  |  YES  |  YES  |</span>
+
</div><div class="line" id="file-smoothscroll-js-LC479"><span class="pl-c">// visible |  no  |  YES  |  YES  |  YES  |</span>
+
</div><div class="line" id="file-smoothscroll-js-LC480"><span class="pl-c">// scroll  |  no  |  YES  |  YES  |  YES  |</span>
+
</div><div class="line" id="file-smoothscroll-js-LC481"><span class="pl-c">// auto    |  no  |  YES  |  YES  |  YES  |</span>
+
</div><div class="line" id="file-smoothscroll-js-LC482">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC483"><span class="pl-st">function</span> <span class="pl-en">overflowingAncestor</span>(<span class="pl-vpf">el</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC484">    <span class="pl-s">var</span> elems <span class="pl-k">=</span> [];
+
</div><div class="line" id="file-smoothscroll-js-LC485">    <span class="pl-s">var</span> body <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">body</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC486">    <span class="pl-s">var</span> rootScrollHeight <span class="pl-k">=</span> root.scrollHeight;
+
</div><div class="line" id="file-smoothscroll-js-LC487">    <span class="pl-k">do</span> {
+
</div><div class="line" id="file-smoothscroll-js-LC488">        <span class="pl-s">var</span> cached <span class="pl-k">=</span> cache[uniqueID(el)];
+
</div><div class="line" id="file-smoothscroll-js-LC489">        <span class="pl-k">if</span> (cached) {
+
</div><div class="line" id="file-smoothscroll-js-LC490">            <span class="pl-k">return</span> setCache(elems, cached);
+
</div><div class="line" id="file-smoothscroll-js-LC491">        }
+
</div><div class="line" id="file-smoothscroll-js-LC492">        elems.<span class="pl-s3">push</span>(el);
+
</div><div class="line" id="file-smoothscroll-js-LC493">        <span class="pl-k">if</span> (rootScrollHeight <span class="pl-k">===</span> el.scrollHeight) {
+
</div><div class="line" id="file-smoothscroll-js-LC494">            <span class="pl-s">var</span> topOverflowsNotHidden <span class="pl-k">=</span> overflowNotHidden(root) <span class="pl-k">&amp;&amp;</span> overflowNotHidden(body);
+
</div><div class="line" id="file-smoothscroll-js-LC495">            <span class="pl-s">var</span> isOverflowCSS <span class="pl-k">=</span> topOverflowsNotHidden <span class="pl-k">||</span> overflowAutoOrScroll(root);
+
</div><div class="line" id="file-smoothscroll-js-LC496">            <span class="pl-k">if</span> (isFrame <span class="pl-k">&amp;&amp;</span> isContentOverflowing(root) <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC497">              <span class="pl-k">!</span>isFrame <span class="pl-k">&amp;&amp;</span> isOverflowCSS) {
+
</div><div class="line" id="file-smoothscroll-js-LC498">                <span class="pl-k">return</span> setCache(elems, getScrollRoot());
+
</div><div class="line" id="file-smoothscroll-js-LC499">            }
+
</div><div class="line" id="file-smoothscroll-js-LC500">        } <span class="pl-k">else</span> <span class="pl-k">if</span> (isContentOverflowing(el) <span class="pl-k">&amp;&amp;</span> overflowAutoOrScroll(el)) {
+
</div><div class="line" id="file-smoothscroll-js-LC501">            <span class="pl-k">return</span> setCache(elems, el);
+
</div><div class="line" id="file-smoothscroll-js-LC502">        }
+
</div><div class="line" id="file-smoothscroll-js-LC503">    } <span class="pl-k">while</span> (el <span class="pl-k">=</span> el.parentElement);
+
</div><div class="line" id="file-smoothscroll-js-LC504">}
+
</div><div class="line" id="file-smoothscroll-js-LC505">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC506"><span class="pl-st">function</span> <span class="pl-en">isContentOverflowing</span>(<span class="pl-vpf">el</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC507">    <span class="pl-k">return</span> (el.clientHeight <span class="pl-k">+</span> <span class="pl-c1">10</span> <span class="pl-k">&lt;</span> el.scrollHeight);
+
</div><div class="line" id="file-smoothscroll-js-LC508">}
+
</div><div class="line" id="file-smoothscroll-js-LC509">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC510"><span class="pl-c">// typically for &lt;body&gt; and &lt;html&gt;</span>
+
</div><div class="line" id="file-smoothscroll-js-LC511"><span class="pl-st">function</span> <span class="pl-en">overflowNotHidden</span>(<span class="pl-vpf">el</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC512">    <span class="pl-s">var</span> overflow <span class="pl-k">=</span> getComputedStyle(el, <span class="pl-s1"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>).getPropertyValue(<span class="pl-s1"><span class="pl-pds">'</span>overflow-y<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC513">    <span class="pl-k">return</span> (overflow <span class="pl-k">!==</span> <span class="pl-s1"><span class="pl-pds">'</span>hidden<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC514">}
+
</div><div class="line" id="file-smoothscroll-js-LC515">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC516"><span class="pl-c">// for all other elements</span>
+
</div><div class="line" id="file-smoothscroll-js-LC517"><span class="pl-st">function</span> <span class="pl-en">overflowAutoOrScroll</span>(<span class="pl-vpf">el</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC518">    <span class="pl-s">var</span> overflow <span class="pl-k">=</span> getComputedStyle(el, <span class="pl-s1"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>).getPropertyValue(<span class="pl-s1"><span class="pl-pds">'</span>overflow-y<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC519">    <span class="pl-k">return</span> (overflow <span class="pl-k">===</span> <span class="pl-s1"><span class="pl-pds">'</span>scroll<span class="pl-pds">'</span></span> <span class="pl-k">||</span> overflow <span class="pl-k">===</span> <span class="pl-s1"><span class="pl-pds">'</span>auto<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC520">}
+
</div><div class="line" id="file-smoothscroll-js-LC521">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC522">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC523"><span class="pl-c">/***********************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC524"><span class="pl-c"> * HELPERS</span>
+
</div><div class="line" id="file-smoothscroll-js-LC525"><span class="pl-c"> ***********************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC526">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC527"><span class="pl-st">function</span> <span class="pl-en">addEvent</span>(<span class="pl-vpf">type</span>, <span class="pl-vpf">fn</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC528">    <span class="pl-s3">window</span>.addEventListener(type, fn, <span class="pl-c1">false</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC529">}
+
</div><div class="line" id="file-smoothscroll-js-LC530">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC531"><span class="pl-st">function</span> <span class="pl-en">removeEvent</span>(<span class="pl-vpf">type</span>, <span class="pl-vpf">fn</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC532">    <span class="pl-s3">window</span>.removeEventListener(type, fn, <span class="pl-c1">false</span>); 
+
</div><div class="line" id="file-smoothscroll-js-LC533">}
+
</div><div class="line" id="file-smoothscroll-js-LC534">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC535"><span class="pl-st">function</span> <span class="pl-en">isNodeName</span>(<span class="pl-vpf">el</span>, <span class="pl-vpf">tag</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC536">    <span class="pl-k">return</span> (el.<span class="pl-sc">nodeName</span><span class="pl-k">||</span><span class="pl-s1"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>).<span class="pl-s3">toLowerCase</span>() <span class="pl-k">===</span> tag.<span class="pl-s3">toLowerCase</span>();
+
</div><div class="line" id="file-smoothscroll-js-LC537">}
+
</div><div class="line" id="file-smoothscroll-js-LC538">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC539"><span class="pl-st">function</span> <span class="pl-en">directionCheck</span>(<span class="pl-vpf">x</span>, <span class="pl-vpf">y</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC540">    x <span class="pl-k">=</span> (x <span class="pl-k">&gt;</span> <span class="pl-c1">0</span>) <span class="pl-k">?</span> <span class="pl-c1">1</span> <span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">1</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC541">    y <span class="pl-k">=</span> (y <span class="pl-k">&gt;</span> <span class="pl-c1">0</span>) <span class="pl-k">?</span> <span class="pl-c1">1</span> <span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">1</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC542">    <span class="pl-k">if</span> (direction.<span class="pl-sc">x</span> <span class="pl-k">!==</span> x <span class="pl-k">||</span> direction.<span class="pl-sc">y</span> <span class="pl-k">!==</span> y) {
+
</div><div class="line" id="file-smoothscroll-js-LC543">        direction.<span class="pl-sc">x</span> <span class="pl-k">=</span> x;
+
</div><div class="line" id="file-smoothscroll-js-LC544">        direction.<span class="pl-sc">y</span> <span class="pl-k">=</span> y;
+
</div><div class="line" id="file-smoothscroll-js-LC545">        que <span class="pl-k">=</span> [];
+
</div><div class="line" id="file-smoothscroll-js-LC546">        lastScroll <span class="pl-k">=</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC547">    }
+
</div><div class="line" id="file-smoothscroll-js-LC548">}
+
</div><div class="line" id="file-smoothscroll-js-LC549">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC550"><span class="pl-s">var</span> deltaBufferTimer;
+
</div><div class="line" id="file-smoothscroll-js-LC551">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC552"><span class="pl-k">if</span> (<span class="pl-s3">window</span>.localStorage <span class="pl-k">&amp;&amp;</span> localStorage.SS_deltaBuffer) {
+
</div><div class="line" id="file-smoothscroll-js-LC553">    deltaBuffer <span class="pl-k">=</span> localStorage.SS_deltaBuffer.<span class="pl-s3">split</span>(<span class="pl-s1"><span class="pl-pds">'</span>,<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC554">}
+
</div><div class="line" id="file-smoothscroll-js-LC555">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC556"><span class="pl-st">function</span> <span class="pl-en">isTouchpad</span>(<span class="pl-vpf">deltaY</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC557">    <span class="pl-k">if</span> (<span class="pl-k">!</span>deltaY) <span class="pl-k">return</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC558">    <span class="pl-k">if</span> (<span class="pl-k">!</span>deltaBuffer.<span class="pl-sc">length</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC559">        deltaBuffer <span class="pl-k">=</span> [deltaY, deltaY, deltaY];
+
</div><div class="line" id="file-smoothscroll-js-LC560">    }
+
</div><div class="line" id="file-smoothscroll-js-LC561">    deltaY <span class="pl-k">=</span> <span class="pl-s3">Math</span>.<span class="pl-s3">abs</span>(deltaY)
+
</div><div class="line" id="file-smoothscroll-js-LC562">    deltaBuffer.<span class="pl-s3">push</span>(deltaY);
+
</div><div class="line" id="file-smoothscroll-js-LC563">    deltaBuffer.<span class="pl-s3">shift</span>();
+
</div><div class="line" id="file-smoothscroll-js-LC564">    <span class="pl-s3">clearTimeout</span>(deltaBufferTimer);
+
</div><div class="line" id="file-smoothscroll-js-LC565">    deltaBufferTimer <span class="pl-k">=</span> <span class="pl-s3">setTimeout</span>(<span class="pl-st">function</span> () {
+
</div><div class="line" id="file-smoothscroll-js-LC566">        <span class="pl-k">if</span> (<span class="pl-s3">window</span>.localStorage) {
+
</div><div class="line" id="file-smoothscroll-js-LC567">            localStorage.SS_deltaBuffer <span class="pl-k">=</span> deltaBuffer.<span class="pl-s3">join</span>(<span class="pl-s1"><span class="pl-pds">'</span>,<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC568">        }
+
</div><div class="line" id="file-smoothscroll-js-LC569">    }, <span class="pl-c1">1000</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC570">    <span class="pl-k">return</span> <span class="pl-k">!</span>allDeltasDivisableBy(<span class="pl-c1">120</span>) <span class="pl-k">&amp;&amp;</span> <span class="pl-k">!</span>allDeltasDivisableBy(<span class="pl-c1">100</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC571">}
+
</div><div class="line" id="file-smoothscroll-js-LC572">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC573"><span class="pl-st">function</span> <span class="pl-en">isDivisible</span>(<span class="pl-vpf">n</span>, <span class="pl-vpf">divisor</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC574">    <span class="pl-k">return</span> (<span class="pl-s3">Math</span>.<span class="pl-s3">floor</span>(n / divisor) <span class="pl-k">==</span> n / divisor);
+
</div><div class="line" id="file-smoothscroll-js-LC575">}
+
</div><div class="line" id="file-smoothscroll-js-LC576">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC577"><span class="pl-st">function</span> <span class="pl-en">allDeltasDivisableBy</span>(<span class="pl-vpf">divisor</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC578">    <span class="pl-k">return</span> (isDivisible(deltaBuffer[<span class="pl-c1">0</span>], divisor) <span class="pl-k">&amp;&amp;</span>
+
</div><div class="line" id="file-smoothscroll-js-LC579">            isDivisible(deltaBuffer[<span class="pl-c1">1</span>], divisor) <span class="pl-k">&amp;&amp;</span>
+
</div><div class="line" id="file-smoothscroll-js-LC580">            isDivisible(deltaBuffer[<span class="pl-c1">2</span>], divisor));
+
</div><div class="line" id="file-smoothscroll-js-LC581">}
+
</div><div class="line" id="file-smoothscroll-js-LC582">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC583"><span class="pl-st">function</span> <span class="pl-en">isInsideYoutubeVideo</span>(<span class="pl-vpf">event</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC584">    <span class="pl-s">var</span> elem <span class="pl-k">=</span> <span class="pl-s3">event</span>.<span class="pl-sc">target</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC585">    <span class="pl-s">var</span> isControl <span class="pl-k">=</span> <span class="pl-c1">false</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC586">    <span class="pl-k">if</span> (<span class="pl-s3">document</span>.<span class="pl-sc">URL</span>.indexOf (<span class="pl-s1"><span class="pl-pds">'</span>www.youtube.com/watch<span class="pl-pds">'</span></span>) <span class="pl-k">!=</span> <span class="pl-k">-</span><span class="pl-c1">1</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC587">        <span class="pl-k">do</span> {
+
</div><div class="line" id="file-smoothscroll-js-LC588">            isControl <span class="pl-k">=</span> (elem.classList <span class="pl-k">&amp;&amp;</span>
+
</div><div class="line" id="file-smoothscroll-js-LC589">                        elem.classList.contains(<span class="pl-s1"><span class="pl-pds">'</span>html5-video-controls<span class="pl-pds">'</span></span>));
+
</div><div class="line" id="file-smoothscroll-js-LC590">            <span class="pl-k">if</span> (isControl) <span class="pl-k">break</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC591">        } <span class="pl-k">while</span> (elem <span class="pl-k">=</span> elem.<span class="pl-sc">parentNode</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC592">    }
+
</div><div class="line" id="file-smoothscroll-js-LC593">    <span class="pl-k">return</span> isControl;
+
</div><div class="line" id="file-smoothscroll-js-LC594">}
+
</div><div class="line" id="file-smoothscroll-js-LC595">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC596"><span class="pl-s">var</span> requestFrame <span class="pl-k">=</span> (<span class="pl-st">function</span> () {
+
</div><div class="line" id="file-smoothscroll-js-LC597">      <span class="pl-k">return</span> (<span class="pl-s3">window</span>.requestAnimationFrame      <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC598">              <span class="pl-s3">window</span>.webkitRequestAnimationFrame <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC599">              <span class="pl-s3">window</span>.mozRequestAnimationFrame    <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC600">              <span class="pl-st">function</span> (<span class="pl-vpf">callback</span>, <span class="pl-vpf">element</span>, <span class="pl-vpf">delay</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC601">                <span class="pl-s3">window</span>.<span class="pl-s3">setTimeout</span>(callback, delay <span class="pl-k">||</span> (<span class="pl-c1">1000</span>/<span class="pl-c1">60</span>));
+
</div><div class="line" id="file-smoothscroll-js-LC602">            });
+
</div><div class="line" id="file-smoothscroll-js-LC603">})();
+
</div><div class="line" id="file-smoothscroll-js-LC604">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC605"><span class="pl-s">var</span> MutationObserver <span class="pl-k">=</span> (<span class="pl-s3">window</span>.MutationObserver <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC606">                        <span class="pl-s3">window</span>.WebKitMutationObserver <span class="pl-k">||</span>
+
</div><div class="line" id="file-smoothscroll-js-LC607">                        <span class="pl-s3">window</span>.MozMutationObserver); 
+
</div><div class="line" id="file-smoothscroll-js-LC608">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC609"><span class="pl-s">var</span> getScrollRoot <span class="pl-k">=</span> (<span class="pl-st">function</span>() {
+
</div><div class="line" id="file-smoothscroll-js-LC610">  <span class="pl-s">var</span> SCROLL_ROOT;
+
</div><div class="line" id="file-smoothscroll-js-LC611">  <span class="pl-k">return</span> <span class="pl-st">function</span>() {
+
</div><div class="line" id="file-smoothscroll-js-LC612">    <span class="pl-k">if</span> (<span class="pl-k">!</span>SCROLL_ROOT) {
+
</div><div class="line" id="file-smoothscroll-js-LC613">      <span class="pl-s">var</span> dummy <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-s3">createElement</span>(<span class="pl-s1"><span class="pl-pds">'</span>div<span class="pl-pds">'</span></span>);
+
</div><div class="line" id="file-smoothscroll-js-LC614">      dummy.<span class="pl-sc">style</span>.cssText <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>height:10000px;width:1px;<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC615">      <span class="pl-s3">document</span>.<span class="pl-sc">body</span>.<span class="pl-s3">appendChild</span>(dummy);
+
</div><div class="line" id="file-smoothscroll-js-LC616">      <span class="pl-s">var</span> bodyScrollTop  <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">body</span>.scrollTop;
+
</div><div class="line" id="file-smoothscroll-js-LC617">      <span class="pl-s">var</span> docElScrollTop <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">documentElement</span>.scrollTop;
+
</div><div class="line" id="file-smoothscroll-js-LC618">      <span class="pl-s3">window</span>.<span class="pl-s3">scrollBy</span>(<span class="pl-c1">0</span>, <span class="pl-c1">1</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC619">      <span class="pl-k">if</span> (<span class="pl-s3">document</span>.<span class="pl-sc">body</span>.scrollTop <span class="pl-k">!=</span> bodyScrollTop)
+
</div><div class="line" id="file-smoothscroll-js-LC620">        (SCROLL_ROOT <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">body</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC621">      <span class="pl-k">else</span>
+
</div><div class="line" id="file-smoothscroll-js-LC622">        (SCROLL_ROOT <span class="pl-k">=</span> <span class="pl-s3">document</span>.<span class="pl-sc">documentElement</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC623">      <span class="pl-s3">window</span>.<span class="pl-s3">scrollBy</span>(<span class="pl-c1">0</span>, <span class="pl-k">-</span><span class="pl-c1">1</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC624">      <span class="pl-s3">document</span>.<span class="pl-sc">body</span>.<span class="pl-s3">removeChild</span>(dummy);
+
</div><div class="line" id="file-smoothscroll-js-LC625">    }
+
</div><div class="line" id="file-smoothscroll-js-LC626">    <span class="pl-k">return</span> SCROLL_ROOT;
+
</div><div class="line" id="file-smoothscroll-js-LC627">  };
+
</div><div class="line" id="file-smoothscroll-js-LC628">})();
+
</div><div class="line" id="file-smoothscroll-js-LC629">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC630">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC631"><span class="pl-c">/***********************************************</span>
+
</div><div class="line" id="file-smoothscroll-js-LC632"><span class="pl-c"> * PULSE (by Michael Herf)</span>
+
</div><div class="line" id="file-smoothscroll-js-LC633"><span class="pl-c"> ***********************************************/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC634">
+
</div><div class="line" id="file-smoothscroll-js-LC635"><span class="pl-c">/**</span>
+
</div><div class="line" id="file-smoothscroll-js-LC636"><span class="pl-c"> * Viscous fluid with a pulse for part and decay for the rest.</span>
+
</div><div class="line" id="file-smoothscroll-js-LC637"><span class="pl-c"> * - Applies a fixed force over an interval (a damped acceleration), and</span>
+
</div><div class="line" id="file-smoothscroll-js-LC638"><span class="pl-c"> * - Lets the exponential bleed away the velocity over a longer interval</span>
+
</div><div class="line" id="file-smoothscroll-js-LC639"><span class="pl-c"> * - Michael Herf, http://stereopsis.com/stopping/</span>
+
</div><div class="line" id="file-smoothscroll-js-LC640"><span class="pl-c"> */</span>
+
</div><div class="line" id="file-smoothscroll-js-LC641"><span class="pl-st">function</span> <span class="pl-en">pulse_</span>(<span class="pl-vpf">x</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC642">    <span class="pl-s">var</span> val, start, expx;
+
</div><div class="line" id="file-smoothscroll-js-LC643">    <span class="pl-c">// test</span>
+
</div><div class="line" id="file-smoothscroll-js-LC644">    x <span class="pl-k">=</span> x <span class="pl-k">*</span> options.pulseScale;
+
</div><div class="line" id="file-smoothscroll-js-LC645">    <span class="pl-k">if</span> (x <span class="pl-k">&lt;</span> <span class="pl-c1">1</span>) { <span class="pl-c">// acceleartion</span>
+
</div><div class="line" id="file-smoothscroll-js-LC646">        val <span class="pl-k">=</span> x <span class="pl-k">-</span> (<span class="pl-c1">1</span> <span class="pl-k">-</span> <span class="pl-s3">Math</span>.<span class="pl-s3">exp</span>(<span class="pl-k">-</span>x));
+
</div><div class="line" id="file-smoothscroll-js-LC647">    } <span class="pl-k">else</span> {    <span class="pl-c">// tail</span>
+
</div><div class="line" id="file-smoothscroll-js-LC648">        <span class="pl-c">// the previous animation ended here:</span>
+
</div><div class="line" id="file-smoothscroll-js-LC649">        start <span class="pl-k">=</span> <span class="pl-s3">Math</span>.<span class="pl-s3">exp</span>(<span class="pl-k">-</span><span class="pl-c1">1</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC650">        <span class="pl-c">// simple viscous drag</span>
+
</div><div class="line" id="file-smoothscroll-js-LC651">        x <span class="pl-k">-=</span> <span class="pl-c1">1</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC652">        expx <span class="pl-k">=</span> <span class="pl-c1">1</span> <span class="pl-k">-</span> <span class="pl-s3">Math</span>.<span class="pl-s3">exp</span>(<span class="pl-k">-</span>x);
+
</div><div class="line" id="file-smoothscroll-js-LC653">        val <span class="pl-k">=</span> start <span class="pl-k">+</span> (expx <span class="pl-k">*</span> (<span class="pl-c1">1</span> <span class="pl-k">-</span> start));
+
</div><div class="line" id="file-smoothscroll-js-LC654">    }
+
</div><div class="line" id="file-smoothscroll-js-LC655">    <span class="pl-k">return</span> val <span class="pl-k">*</span> options.pulseNormalize;
+
</div><div class="line" id="file-smoothscroll-js-LC656">}
+
</div><div class="line" id="file-smoothscroll-js-LC657">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC658"><span class="pl-st">function</span> <span class="pl-en">pulse</span>(<span class="pl-vpf">x</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC659">    <span class="pl-k">if</span> (x <span class="pl-k">&gt;=</span> <span class="pl-c1">1</span>) <span class="pl-k">return</span> <span class="pl-c1">1</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC660">    <span class="pl-k">if</span> (x <span class="pl-k">&lt;=</span> <span class="pl-c1">0</span>) <span class="pl-k">return</span> <span class="pl-c1">0</span>;
+
</div><div class="line" id="file-smoothscroll-js-LC661">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC662">    <span class="pl-k">if</span> (options.pulseNormalize <span class="pl-k">==</span> <span class="pl-c1">1</span>) {
+
</div><div class="line" id="file-smoothscroll-js-LC663">        options.pulseNormalize <span class="pl-k">/=</span> pulse_(<span class="pl-c1">1</span>);
+
</div><div class="line" id="file-smoothscroll-js-LC664">    }
+
</div><div class="line" id="file-smoothscroll-js-LC665">    <span class="pl-k">return</span> pulse_(x);
+
</div><div class="line" id="file-smoothscroll-js-LC666">}
+
</div><div class="line" id="file-smoothscroll-js-LC667">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC668"><span class="pl-s">var</span> wheelEvent;
+
</div><div class="line" id="file-smoothscroll-js-LC669"><span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-pds">'</span>onwheel<span class="pl-pds">'</span></span> <span class="pl-k">in</span> <span class="pl-s3">document</span>.<span class="pl-s3">createElement</span>(<span class="pl-s1"><span class="pl-pds">'</span>div<span class="pl-pds">'</span></span>))
+
</div><div class="line" id="file-smoothscroll-js-LC670">    wheelEvent <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>wheel<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC671"><span class="pl-k">else</span> <span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-pds">'</span>onmousewheel<span class="pl-pds">'</span></span> <span class="pl-k">in</span> <span class="pl-s3">document</span>.<span class="pl-s3">createElement</span>(<span class="pl-s1"><span class="pl-pds">'</span>div<span class="pl-pds">'</span></span>))
+
</div><div class="line" id="file-smoothscroll-js-LC672">    wheelEvent <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">'</span>mousewheel<span class="pl-pds">'</span></span>;
+
</div><div class="line" id="file-smoothscroll-js-LC673">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC674"><span class="pl-k">if</span> (wheelEvent) {
+
</div><div class="line" id="file-smoothscroll-js-LC675">    addEvent(wheelEvent, wheel);
+
</div><div class="line" id="file-smoothscroll-js-LC676">    addEvent(<span class="pl-s1"><span class="pl-pds">'</span>mousedown<span class="pl-pds">'</span></span>, mousedown);
+
</div><div class="line" id="file-smoothscroll-js-LC677">    addEvent(<span class="pl-s1"><span class="pl-pds">'</span>load<span class="pl-pds">'</span></span>, init);
+
</div><div class="line" id="file-smoothscroll-js-LC678">}
+
</div><div class="line" id="file-smoothscroll-js-LC679">&nbsp;
+
</div><div class="line" id="file-smoothscroll-js-LC680">})();
+
</div></pre>
+
          </td>
+
        </tr>
+
      </tbody></table>
+
    </div>
+
 
+
          </div>
+
          <div class="gist-meta">
+
            <a href="https://gist.github.com/galambalazs/6477177/raw/SmoothScroll.js" style="float:right">view raw</a>
+
            <a href="https://gist.github.com/galambalazs/6477177#file-smoothscroll-js">SmoothScroll.js</a>
+
            hosted with ❤ by <a href="https://github.com">GitHub</a>
+
          </div>
+
        </div>
+
</div>
+
 
+
  
 
<!--
 
<!--
Line 2,467: Line 644:
 
-->
 
-->
  
 
+
</html>
<p></p>
+
<!--
+
NewPP limit report
+
Preprocessor node count: 4/1000000
+
Post-expand include size: 0/2097152 bytes
+
Template argument size: 0/2097152 bytes
+
Expensive parser function count: 0/100
+
-->
+
 
+
<!-- Saved in parser cache with key 2015_igem_org:pcache:idhash:7862-0!1!0!!en!2!edit=0 and timestamp 20150701094237 -->
+
<div class="printfooter">
+
Retrieved from "<a href="https://2015.igem.org/Team:UCL/Playingaround3">https://2015.igem.org/Team:UCL/Playingaround3</a>"</div>
+
<div class="visualClear"></div>
+
+
   
+
<!-- PAGE FOOTER -- ITEMS FROM COLUMN ! HAVE BEEN MOVED HERE  -- RDR  -->
+
<div class="visualClear"></div>
+
+
<script>if (window.runOnloadHook) runOnloadHook();</script>
+
 
+
 
+
 
+
 
+
<iframe id="rufous-sandbox" scrolling="no" frameborder="0" allowtransparency="true" style="display: none;"></iframe><div id="feedly-mini" title="feedly Mini tookit"></div></body></html>
+

Revision as of 11:19, 1 July 2015

The number of microorganisms in human is higher than the number of human cells in our body. Their metabolic activity equals that of and plays crucial role in many key processes such as digestion, drug metabolism, or functioning of the immune system...
Studies in have shown that the gut microbiome is also capable of influencing the chemistry of our , thus regulating our behaviour , anxiety , mood , cognition and pain ...
Being inspired by this emerging research area, UCL 2015 team wants to explore the modulation of the gut bacteria as a strategy for developing novel treatments for mental health disorders. Ultimately, our goal is to harness synthetic biology to make people happy!

Mind the Gut: Abstract

Lorem Ipsum jest tekstem stosowanym jako przykładowy wypełniacz w przemyśle poligraficznym. Został po raz pierwszy użyty w XV w. przez nieznanego drukarza do wypełnienia tekstem próbnej książki. Pięć wieków później zaczął być używany przemyśle elektronicznym, pozostając praktycznie niezmienionym. Spopularyzował się w latach 60. XX w. wraz z publikacją arkuszy Letrasetu, zawierających fragmenty Lorem Ipsum, a ostatnio z zawierającym różne wersje Lorem Ipsum oprogramowaniem przeznaczonym do realizacji druków na komputerach osobistych, jak Aldus PageMaker

W przeciwieństwie do rozpowszechnionych opinii, Lorem Ipsum nie jest tylko przypadkowym tekstem. Ma ono korzenie w klasycznej łacińskiej literaturze z 45 roku przed Chrystusem, czyli ponad 2000 lat temu! Richard McClintock, wykładowca łaciny na uniwersytecie Hampden-Sydney w Virginii, przyjrzał się uważniej jednemu z najbardziej niejasnych słów w Lorem Ipsum – consectetur – i po wielu poszukiwaniach odnalazł niezaprzeczalne źródło: Lorem Ipsum pochodzi z fragmentów (1.10.32 i 1.10.33) „de Finibus Bonorum et Malorum”, czyli „O granicy dobra i zła”, napisanej właśnie w 45 p.n.e. przez Cycerona. Jest to bardzo popularna w czasach renesansu rozprawa na temat etyki. Pierwszy wiersz Lorem Ipsum, „Lorem ipsum dolor sit amet...” pochodzi właśnie z sekcji 1.10.32.

Why are we doing it?
An estimated 450 million people world-wide suffer from mental health problem
By 2030, depression alone is likely to be highest contributon to global burden of disease
According to WHO, in low income countries, depression represents almost as large problem as does malaria

80% of people with severe mental health con-dition do not have access to needed treatment
1 in 5 children suffers from mental health problems. Due to the lack of support, these problems lead to poorer school performance
Fewer than 20% of countries have mental health service organizations that provide community and individual assistance