jQuery.noConflict();

function align_body()
{
	document.getElementById('body_align_container').style.height = (getWindowHeight()-186)+'px';
	//document.getElementById('category_container').style.height = (getWindowHeight()-201)+'px';
}

function getWindowHeight()
{
	if (window.self && self.innerHeight) {return self.innerHeight;}
	if (document.documentElement && document.documentElement.clientHeight) {return document.documentElement.clientHeight;}return 0;
}

function updateBody(url)
{
	document.getElementById('content_container').innerHTML ='<div class="laden">Bezig met laden</div>';
	jQuery.ajax({
	   type: "GET",
	   url: url,
	   success: function(html){
	     jQuery("#content_container").html(html);
	   }
	 });	
	scrolltotop();
}

function printPage(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=450,height=500,left = 460,top = 100');");
}

function voegToe(form)
{
	document.getElementById(form).submit();
}

function scrolltotop()
{
	if(document.documentElement){document.documentElement.scrollTop = 0;}
	if(document.body){document.body.scrollTop = 0;}
}
