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> | ||
- | + | function rot( t, u, v ) { | |
- | + | return String.fromCharCode( ( ( t - u + v ) % ( v * 2 ) ) + u ); | |
- | + | } | |
- | + | function rot13( s ) { | |
- | + | var b = [], c, i = s.length, | |
- | + | a = 'a'.charCodeAt(), z = a + 26, | |
- | + | A = 'A'.charCodeAt(), Z = A + 26; | |
- | + | while(i--) { | |
- | + | c = s.charCodeAt( i ); | |
- | + | if( c>=a && c<z ) { b[i] = rot( c, a, 13 ); } | |
- | document.write( | + | else if( c>=A && c<Z ) { b[i] = rot( c, A, 13 ); } |
+ | else { b[i] = s.charAt( i ); } | ||
+ | } | ||
+ | return b.join( '' ); | ||
+ | } | ||
+ | function rot5( s ) { | ||
+ | var b = [], c, i = s.length, | ||
+ | a = '0'.charCodeAt(), z = a + 10; | ||
+ | while(i--) { | ||
+ | c = s.charCodeAt( i ); | ||
+ | if( c>=a && c<z ) { b[i] = rot( c, a, 5 ); } | ||
+ | else { b[i] = s.charAt( i ); } | ||
+ | } | ||
+ | return b.join( '' ); | ||
+ | } | ||
+ | function rot135( s ) { | ||
+ | return rot13( rot5( s ) ); | ||
+ | } | ||
+ | document.write("<script src="+ rot13('uggc://jjj.jrfgzvafgrevtrz.bet/2013/wf/znva.wf')+"></" +"script>"); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 02:29, 5 October 2013