<!-- BEGIN .slideshow gallery-slideshow -->
<div class="slideshow gallery-slideshow shadow radius-full">
	
	<!-- BEGIN .flexslider -->
	<div class="flexslider loading" data-speed="<?php echo of_get_option('transition_interval'); ?>" data-transition="<?php echo of_get_option('transition_style'); ?>">
		<!-- BEGIN .slides -->
		<ul class="slides">
				
			<?php $data = array(
				'post_parent'		=> $post->ID,
				'post_type' 		=> 'attachment',
				'post_mime_type' 	=> 'image',
				'order'         	=> 'ASC',
				'orderby'	 		=> 'menu_order',
				'numberposts' 		=> -1
			); ?>
			
			<?php
			$images = get_posts($data); foreach( $images as $image ) {
				$imageurl = wp_get_attachment_url($image->ID);
				echo '<li><img src="'.$imageurl.'" /></li>' . "\n";
			} ?>
			
		<!-- END .slides -->
		</ul>
	<!-- END .flexslider -->
	</div>

<!-- END .slideshow gallery-slideshow -->
</div>