var rotatie=6; //rotatie in seconden
var dorotate=true;

$(document).ready(function() {
Cufon.replace('div#eyecatch a,h1,h2,h3,h4', { fontFamily: 'Myriad Pro', hover: 'true' });

$("#slider").jFlow({
            slides: "#slides1",
            width: "199px",
            height: "400px"
});


$("ul#menu > li").each(function(){
if($(this).children().size()<2){
$(this).addClass("nodesc");
}
});
var max=0;
$("div#cwrap > div.onecolumn,div#cwrap > div.twocolumn").each(function(){
max=Math.max(max,$(this).height());
});
$("div#cwrap > div.onecolumn,div#cwrap > div.twocolumn").height(max);

});



function slide(){if(dorotate===true){$("div#slider .jFlowNext").click();setTimeout('slide();',rotatie*1000);}}
function stoprotate(){dorotate=false;}
setTimeout('slide();',rotatie*1000);
