document.getElementById('kolleft').innerHTML = document.getElementById('menu').innerHTML;
document.getElementById('menu').style.display = 'none';
	var mida = document.getElementById('aanbl').getElementsByTagName('div');
	
	for (i = 0; i < mida.length; i++)
	{
		mida[i].onmouseover = function ()
		{
			this.oldbg = this.style.backgroundColor;
			this.style.backgroundColor = '#AF0000';
			this.style.cursor = 'pointer';
			this.title = 'boek ' + this.getElementsByTagName('h3')[0].innerHTML +' nu!';
		}
		
		mida[i].onmouseout = function()
		{
			this.style.backgroundColor = this.oldbg;
		}
		
		mida[i].onclick = function()
		{
			if (this.getElementsByTagName('a')[0])
			{
				document.location.href = this.getElementsByTagName('a')[0].href;
				return false;
			}
		}
	}

	if (document.getElementById('aanbr'))
	{
		var midr = document.getElementById('aanbr').getElementsByTagName('div');
		
		for (i = 0; i < midr.length; i++)
		{
			midr[i].onmouseover = function ()
			{
				this.oldbg = this.style.backgroundColor;
				this.style.backgroundColor = '#000000';
				this.getElementsByTagName('h3')[0].oldcolor = this.getElementsByTagName('h3')[0].style.color;
				this.getElementsByTagName('h3')[0].style.color = '#FFFFFF';
				this.style.cursor = 'pointer';
			}
			
			midr[i].onmouseout = function()
			{
				this.style.backgroundColor = this.oldbg;
				this.getElementsByTagName('h3')[0].style.color = this.getElementsByTagName('h3')[0].oldcolor;
			}
			
			midr[i].onclick = function()
			{
				if (this.getElementsByTagName('a')[0])
				{
					document.location.href = this.getElementsByTagName('a')[0].href;
					return false;
				}
			}		
		}
	}
	
	
	
	
if (document.getElementById('tos'))
{
	var tobs = document.getElementById('tos').getElementsByTagName('div');
	var isIE = (navigator.userAgent.indexOf("MSIE") > -1);

	for (i = 0; i < tobs.length; i++)
	{
		if (tobs[i].className == 'blok')
		{
			if (document.cookie.indexOf(tobs[i].id + "=") == -1 && isIE && (1==1 || tobs[i].getElementsByTagName('div')[0].className == 'framed'))
			{
				var date = new Date();
				date.setTime(date.getTime()+(24*60*60*1000));
				var expires = "; expires="+date.toGMTString();
				tobs[i].getElementsByTagName('div')[0].style.display = 'none';
				tobs[i].innerHTML += '<iframe src="' + tobs[i].getElementsByTagName('a')[0].href + '" frameborder="0" border="0"></iframe>';	
				document.cookie = tobs[i].id+ "=true"+ expires + "; path=/; domain=.lastminutereisburo.nl";				
			}
			
			tobs[i].onmouseover = function ()
			{
				window.status = 'Boek nu bij ' + this.getElementsByTagName('a')[0].title;
				this.style.cursor = 'pointer';
				this.oldi = this.getElementsByTagName('div')[0].innerHTML;
				this.oldcc = this.getElementsByTagName('a')[0].style.color;
				this.oldbg = this.style.backgroundColor;
				this.style.backgroundColor = '#000000';
				this.getElementsByTagName('a')[0].style.color = '#FFFFFF';
				return true;
			}
			tobs[i].onmouseout = function ()
			{
				window.status = '';
				this.style.backgroundColor = this.oldbg;
				this.getElementsByTagName('a')[0].style.color = this.oldcc;
			}
			tobs[i].onclick = function()
			{
				window.open(this.getElementsByTagName('a')[0].href);
				return false;
			}
		}
	}
}	

document.getElementById('head').onclick = function()
{
	document.location.href = '/';
}
document.getElementById('head').style.cursor = 'pointer';
document.getElementById('head').title = 'Home';


