function showImgMove(status,id)
{
	if( status == 'over' )
	{
		$("#showImg-"+id).css( { marginLeft : "-1px", marginTop : "-1px", marginBottom: "40px", borderBottom : "1px solid #666", borderRight : "1px solid #999" } );
	}
	if( status == 'out' )
	{
		$("#showImg-"+id).css( { marginLeft : "0px", marginTop : "0px", marginBottom: "40px", borderBottom : "0px solid #000000", borderRight : "0px solid #000000" } );
	}
	if( status == 'down' )
	{
		$("#showImg-"+id).css( { marginLeft : "0px", marginTop : "0px", marginBottom: "39px", borderBottom : "1px solid #666", borderRight : "1px solid #999" } );
	}
}
projectId = 2;
function showProject(id)
{
	if( $("#artikel").css( "marginTop" ) == "0px" )
	{
		$(".artikel-plaats").animate( { marginLeft : "20px" }, 150 );
		$(".artikel-plaats").animate( { marginLeft : "-1000px" }, 400 );
		$(".artikel-plaats").animate( { marginLeft : "-1000px" }, 50 );
		$(".artikel-plaats").animate( { marginLeft : "1000px" }, 1 );
		$(".artikel-plaats").animate( { marginLeft : "0px" }, 400 );
		setTimeout("showProject2('"+id+"')", 550);
	}
	else
	{
		showProject2(id);
		$("#artikel").animate( { marginTop : "40px" }, 300 );
		$("#artikel").animate( { marginTop : "0px" }, 100 );
	}
}
function showProject2(id)
{
	projectId = id;
	
	$(".artikel-plaats").css( { display : "none" } );
	$("#artikel-"+projectId).css( { display : "block" } );
}
function closeProject()
{
	if($("#artikel").css( "marginTop" ) == '0px' )
	{
		$("#artikel").animate( { marginTop : "30px" }, 100 );
		$("#artikel").animate( { marginTop : "-690px" }, 300 );
	}
}

function showFotoFromThumb(album,foto,formaat)
{
	document.getElementById('artikelImgHolder-'+album).innerHTML = '<img class="'+formaat+'" src="./userfiles/fotos/'+album+'/'+foto+'" />';
}
