'page',
'post__in' => $page_ids,
'posts_per_page' => $Posts,
'offset'=> $offset,
'orderby' => 'rand'
);
if ( !empty( $attrs['paged'] ) && $attrs['paged'] == 'y' )
$args[ 'paged' ] = get_query_var('paged');
else $args[ 'no_found_rows' ] = 1 ;
$cat_query = new WP_Query($args);
$count = 0;
?>