// JavaScript Document
var bodyWidth = 0;
var bodyHeight = 0;
function get_WH(offset) {
	// haal hoogte en breedte window op
	if (self.innerHeight) // all except Explorer
	{
		bodyWidth = self.innerWidth;
		bodyHeight = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		bodyWidth = document.documentElement.clientWidth;
		bodyHeight = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		bodyWidth = document.body.clientWidth;
		bodyHeight = document.body.clientHeight;
	}
	document.getElementById("inh").style.width = (bodyWidth + offset) + "px";
}
function _scroll(y, e, l)
{
	if (e != "")
	{
		var element = document.getElementById(e);
		if (l == "bottom")
		{
			y = element.offsetTop + element.offsetHeight;
		}
		else
		{
			y = element.offsetTop;
		}		
	}
	window.scrollTo(0, y);
}
function hide_tip()
{
	setTimeout(hide_tip2, 15000);
}
function hide_tip2()
{
	document.getElementById("tip").style.display = "none";
}
