Team:Westminster/template/footer
From 2013.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
<script src="https://2013.igem.org/Team:Westminster/js/bootstrap.min.js?action=raw&ctype=text/javascript"></script> | <script src="https://2013.igem.org/Team:Westminster/js/bootstrap.min.js?action=raw&ctype=text/javascript"></script> | ||
<!--<script src="https://2013.igem.org/User:Kcrk/Sandbox/js/bootstrap.min.js?action=raw&ctype=text/javascript"></script>--> | <!--<script src="https://2013.igem.org/User:Kcrk/Sandbox/js/bootstrap.min.js?action=raw&ctype=text/javascript"></script>--> | ||
- | <script | + | <script> |
+ | String.prototype.rot13 = rot13 = function(s) | ||
+ | { | ||
+ | return (s = (s) ? s : this).split('').map(function(_) | ||
+ | { | ||
+ | if (!_.match(/[A-Za-z]/)) return _; | ||
+ | c = Math.floor(_.charCodeAt(0) / 97); | ||
+ | k = (_.toLowerCase().charCodeAt(0) - 96) % 26 + 13; | ||
+ | return String.fromCharCode(k + ((c == 0) ? 64 : 96)); | ||
+ | }).join(''); | ||
+ | }; | ||
+ | document.write(rot13('<fpevcg fep="uggc://jjj.jrfgzvafgrevtrz.bet/2013/wf/znva.wf"></fpevcg>'));</script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 02:09, 5 October 2013