$(document).ready(function() { 
 
    // select #flowplanes and make it scrollable. use circular and navigator plugins 
  	 var api =  $("#scrollable").scrollable({
   		size: 1,
   		clickable: false
   		}).circular();
 
    }); 
    

$(function() {
	var idee=2;
	
	$("#nav").click(function() {
	
	var url = "/static/images/idee_"+idee+".jpg";
	var wrap = $("#idPic");

	var img = new Image();

	// call this function after it's loaded
	img.onload = function() {
		wrap.attr("src", url);
	};

	img.src = url;
	
	idee=(idee%5)+1;

	});

});
