			<div class="box">
				<div class="top">
					<div class="bottom">
<div class="stripe">
  <h4>
    <strong><?php echo $this->videoklip['name'];?></strong>   
  </h4>
</div>
<object width="425" height="344">
 <param name="movie" value="http://www.youtube.com/watch/v/<?php echo $this->videoklip['url'];?>">
 </param>
 <param name="allowFullScreen" value="true"></param>
 <param name="allowscriptaccess" value="always"></param>
 <embed src="http://www.youtube.com/watch/v/<?php echo $this->videoklip['url'];?>" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
 </embed>
</object>
<div class="cl">&nbsp;</div>

					</div>
				</div>
			</div>			



			<!-- Box  -->
			<div class="simple">
				<h2><a href="#" class="rss">&nbsp;</a> Podobné videá</h2>
				<div class="cl">&nbsp;</div>
				<div class="frame">				  
				<?php 
				$count = 0;
				$celkovo = count($this->related);
				$celkovo = $celkovo -1;
				//echo $celkovo;
				foreach ($this->related as $videoklip){
					if($count % 4 == 0 && $count != 0){
						echo '</div>';	
					}
					
					if($count % 4 == 0 && $count != 0){
						echo '<div class="cl">&nbsp;</div><div class="frame" #>';	
					}
					//echo $count.' <> '.$celkovo;
					++$count;
					?>
						<div class="holder">
						<a class="space image" href="/videoklipy/view/id/<?php echo $videoklip->getVideoId(); ?>"><img src="<?php echo $videoklip->mediaGroup->thumbnail[0]->url; ?>" alt="" /></a>
						<div class="cl">&nbsp;</div>
						<a href="/videoklipy/view/id/<?php echo $videoklip->getVideoId(); ?>" class="blue"><?php echo $videoklip->mediaGroup->title;?></a>
					</div>	
					<?php 					
				}							
				echo '</div>';	
				?>							
				<div class="cl">&nbsp;</div>
			</div>	
			
