// CHANGE TITLE // document.title += " :: some page"; // document.title = "Aberdeen /Scotland - Team - 2014.igem.org"; var ind = document.title.lastIndexOf("/"); if (ind > 0) { var DocTitle = document.title.substring(document.title.lastIndexOf("/")+1,document.title.indexOf("-")); document.title = DocTitle + " - Aberdeen Scotland - 2014.igem.org"; } else { document.title = "Aberdeen Scotland - 2014.igem.org"; };