function init()
{
        if(document.getElementById('left-column').offsetHeight)
        {
		if( parseInt(document.getElementById('left-column').offsetHeight) > parseInt(document.getElementById('right-column').offsetHeight) )
        	{
	                hoogte = parseInt(document.getElementById('left-column').offsetHeight);
			document.getElementById('right-column').style.height = hoogte + 'px';
		}
        }
        
        if( document.getElementById('left-content-half-left')  )
        {
        	if( document.getElementById('left-content-half-left') ) {
	        	leftColumn = document.getElementById('left-content-half-left');
	        }
		else {
			return;
		}
		
		if( document.getElementById('left-content-half-right') ) {
	        	rightColumn = document.getElementById('left-content-half-right');
        	}
        	else {
        		return;	
        	}
        	
        	if( parseInt(leftColumn.offsetHeight) > parseInt(rightColumn.offsetHeight) )
        	{
        		hoogte = parseInt(document.getElementById('last-angrylog').offsetHeight);
        			
        		verschil = parseInt(leftColumn.offsetHeight) - parseInt(rightColumn.offsetHeight);
        		
        		document.getElementById('last-angrylog').style.height = (hoogte + verschil) + 'px';
        	}
        	else
        	{
        		hoogte = parseInt(document.getElementById('last-link').offsetHeight);
        		
        		verschil = parseInt(rightColumn.offsetHeight) - parseInt(leftColumn.offsetHeight);
        		
        		document.getElementById('last-link').style.height = (hoogte + verschil) + 'px';
        	}
        }
}

function displayPassword(field)
{
	document.getElementById(field).style.display = '';   
}
function showphoto(id){
	url="/page/showphoto/"+id;
	window.open(url, "blank_photo","toolbar=no,width=200,height=200");
}
function showmedia(id){
	url="/page/showmedia/"+id;
	window.open(url, "blank_media","toolbar=no,width=200,height=200");
}