var PageFunctions = new Class(
{
	options:
	{
		lang: "nl"
	},

	initialize:	function(options)
	{
		this.setOptions(options);
		this.setEvents();
	},

	setEvents: function()
	{
		/* Logo klikbaar naar home */

		$('logo').addEvent('click', function()
		{
			location.href = "./" + this.options.lang + "/home";
		}.bind(this));

		/* Taalselectie */

		/*$('nl').addEvent('click', function()
		{
			location.href = "./nl/home";
		}.bind(this));

		$('en').addEvent('click', function()
		{
			location.href = "./gb/home";
		}.bind(this));	*/

		/* logootjes rechtsonder */

		$('hilmar').setStyle('cursor', 'pointer');
		$('hilmar').addEvent('click', function()
		{
			location.href = "http://www.hilmarbv.com";
		}.bind(this));

	}
});
PageFunctions.implement(new Options, new Events);