$ = function(id) {
	return document.getElementById(id)
}

Element.prototype.hide = function() {
	this.style.display = "none";
}

Element.prototype.show = function() {
	this.style.display = "";
}

Element.prototype.toggle = function() {
	if (this.style.display == "")
		this.hide();
	else
		this.show();
}




switchTo = function(el) {
	var i = 0;
	if ($(el).style.display == "") i = 1;
	$('about').hide();
	$('how-it-works').hide();
	if ( i == 0 )
		$(el).show();
}