if ($cats) { $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("$cats&paged=$paged"); } ?>