Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
var url = document.URL; | var url = document.URL; | ||
var splitted = new Array(); | var splitted = new Array(); | ||
+ | if (url.search("2011.igem.org/Team:Freiburg/")<0){ | ||
+ | alert(null); | ||
+ | } | ||
splitted = url.split("2011.igem.org/Team:Freiburg/"); | splitted = url.split("2011.igem.org/Team:Freiburg/"); | ||
url = splitted[1].toLowerCase(); | url = splitted[1].toLowerCase(); |
Revision as of 08:18, 4 July 2011