/*

Pre-Launch, Beta Version

WARNIING: This code is unoptimised and not too pretty to look at.

*/

// Hide sub-sections
document.getElementById("sub-section_standards").className += " hidden";
document.getElementById("sub-section_promises").className += " hidden";

//document.getElementById("pair_work-two").className += " hidden";
document.getElementById("pair_work-three").className += " hidden";
document.getElementById("pair_work-four").className += " hidden";
document.getElementById("pair_work-five").className += " hidden";

// News items
document.getElementById("sub-section_news-two").className += " hidden";
document.getElementById("sub-section_news-three").className += " hidden";
document.getElementById("sub-section_news-four").className += " hidden";

// Anti-spambot e-mail link code
var address_one = "design";
var address_two = "eoghanmccabe.com";
var address = address_one + "@" + address_two;
var html = "<a href=\"mailto:" + address + "\" title=\"E-Mail Eoghan\"><span class=\"highlight\">" + address + "</span></a>";
document.getElementById("email_detail_contact").innerHTML = html;

// Apply behaviours
Behaviour.apply();