/**
 * Custom javascript for faq 
 *
 * Author Silvio Merucci.
 */

var amersfoortJS = Class.create({
	
	current : '',
	
	initialize: function() {

	},
	
	faq: function(id) {
		
		if (this.current != id && this.current != "") {
			document.getElementById(this.current).style.display = "none";
		}
		
		document.getElementById(id).style.display == "block" ? document.getElementById(id).style.display = "none" : document.getElementById(id).style.display = "block";
			
		this.current = id;
		
	}
});

var amersfoort = new amersfoortJS();
