var isIE = (navigator.appName.indexOf('Microsoft')   != -1);

/*--- originele versie


function fixH(){
	var hh=document.getElementById('header').offsetHeight;/*--- hoogte header opvragen */

	/*var lh=document.getElementById('lcol').offsetHeight;--- hoogte lcol opvragen */
	/*var rh=document.getElementById('rcol').offsetHeight;--- hoogte rcol opvragen */
	/*document.getElementById('rcol').style.height=(lh>rh)? lh+"px" : rh+"px";--- vergelijken en hoogte aan rcol meegeven */
	/*document.getElementById('lcol').style.height=(rh>lh)? rh+"px" : lh+"px";--- vergelijken en hoogte aan lcol meegeven */
/*	
}

*/



function fixH(){
	var cch=document.getElementById('container').offsetHeight;/*hoogte container opvragen*/
	var lh=document.getElementById('lcol').offsetHeight;
	var rh=document.getElementById('rcol').offsetHeight;
	var ch=document.getElementById('content').offsetHeight+300;/*--- hoogte content opvragen, op 080505 is +300 erbij gekomen voor pagina 'aanbevelingen' */
	var bh=document.getElementById('home').offsetHeight;
	
	if(isIE){
		var rh=document.getElementById('rcol').offsetHeight;
	}
	/*--- hoogste hoogte bepalen uit lcol, content en rcol */
	
	var hoogste=rh;
	if(lh>ch){
		if(lh>rh){
			var hoogste=lh;}}
	if(rh>lh){
		if(rh>ch){
			var hoogste=rh;}}
	if(ch>lh){
		if(ch>rh){
			var hoogste=ch;}}
	var toff=hoogste;
	var toff=toff+"px";
	
	/*--- hoogste hoogte toewijzen */
	//if(!isIE)document.getElementById('content').style.border="1px solid red";
	document.getElementById('rcol').style.height=toff;/*--- vergelijken en hoogte aan rcol meegeven */
	document.getElementById('lcol').style.height=toff;/*--- vergelijken en hoogte aan lcol meegeven */
	document.getElementById('content').style.height=toff;
	//alert(document.getElementById('lcol').style.height);

	/*--- Hier wordt de margin voor het topmenu gefixed */
		if(isIE){
			document.getElementById('_9').style.marginLeft="20px";
			document.getElementById('_10').style.marginLeft="20px";
		}
}





/*** 
    Simple jQuery Slideshow Script
    Released by Jon Raasch (jonraasch.com) under FreeBSD license: free to use or modify, not responsible for anything, etc.  Please link out to me if you like it :)
***/

/*
function slideSwitch() {
    var $active = $('#slideshow IMG.active');

    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');

    // use this to pull the images in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow IMG:first');

    // uncomment the 3 lines below to pull the images in random order
    
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );


    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5000 );
});
*/


