$(document).ready(function () {	
  $('#nav').droppy();
  $('#thumbgallery a').lightBox();
  $('#slider').nivoSlider({ effect:'fade', slices:20, animSpeed:500, pauseTime:2000, startSlide:0, directionNav:false, directionNavHide:true, controlNav:false, controlNavThumbs:false, controlNavThumbsFromRel:false, controlNavThumbsSearch: '.jpg', controlNavThumbsReplace: '_thumb.jpg', keyboardNav:true, pauseOnHover:true, manualAdvance:false, captionOpacity:0.8, beforeChange: function(){}, afterChange: function(){}, slideshowEnd: function(){}	});
  hoogte = $('div#content').height()+350+73; //380
  hoogte2 = $('div#container-left').height();
  hoogte3 = $('div#container-right').height();
  //alert ('1: '+hoogte+' 2: '+hoogte2+' 3: '+hoogte3);
  $('div#container').height(hoogte);
  /*iframehoogte = $('iframe').height()-11; if (iframehoogte<500) iframehoogte = 500;
  $('iframe').height(iframehoogte);*/
});

function searchTip(val){
	if (document.getElementById('searchquery').value==val) document.getElementById('searchquery').value='';
}

function searchTipOut(val){
	if (document.getElementById('searchquery').value=='') document.getElementById('searchquery').value=val;
}

