$(document).ready(function()
{
  //hide the all of the elements with class moretext
  $(".moretext").hide();
  
  //show the more link for users with javascript enabled
  $(".morelesslink").show();
  
  //toggle the content to be displayed
  $(".morelesslink").click(function()
  {   
    
      if ($(this).prev(".moretext").is(":hidden"))
               {
                    $(this).html("lees minder");
                    $(this).prev(".moretext").slideToggle(600);
                    $(this).addClass("less");
                    $(this).removeClass("more");
               } else {
                   $(this).html("lees meer");
                   $(this).prev(".moretext").slideToggle(600);
                   $(this).addClass("more");
                   $(this).removeClass("less");
               }
                
  });
});


$(document).ready(function()
	  {
	        // JFlow Slider
	        $("#items").jFlow
			({
			      slides: ".mySlides",
				  width: "333px",
				  height: "214px",
				  duration: 200
			});
			
			$('.folio-box:last').css('border', '0px').css('padding-bottom', '0px').css('margin-bottom', '8px');
			
			$('#show-logos').click(function()
			{
				  $('#sidebar li').css('font-weight', 'normal');
				  $(this).css('font-weight', 'bold');
				  $('.website').hide('fast');
				  $('.webdev').hide('fast');
				  $('.logo').show('fast');
				  $('.logo:last').addClass('nopadborder');
			});
			
			$('#show-websites').click(function()
			{
				  $('#sidebar li').css('font-weight', 'normal');
				  $(this).css('font-weight', 'bold');
				  $('.logo').hide('fast');
				  $('.website').show('fast');
				  $('.website:last').addClass('nopadborder');
				  $('.webdev').hide('fast');
			});
			
			$('#show-webdev').click(function()
			{
				  $('#sidebar li').css('font-weight', 'normal');
				  $(this).css('font-weight', 'bold');
				  $('.webdev').show('fast');
				  $('.webdev:last').addClass('nopadborder');
				  $('.logo').hide('fast');
				  $('.website').hide('fast');
			});
			
	  });

function myFocus(element) 
{
	if (element.value == element.defaultValue) 
			{
                  element.value = '';
            }
      }
      function myBlur(element) 
	  {
            if (element.value == '') 
			{
                  element.value = element.defaultValue;
            }
      };
	  

