Taalwissel

if ( $post->post_parent > 0 ) 
{ 
	$parent = array_pop( get_post_ancestors($post->ID) ); 
}
else 
{ 
	$parent = $post->post_parent; 
}

echo "<body data-scrolltop='100' data-scrollclass='scrolled' ";
body_class(); 
echo ">";

if ( $parent == 182798 || in_category(1857) ) 
{
	...
}
else
{
	...
}