
	$(document).ready(function() {
			
			$('.toggle').click(function(){

				$(this).parent().siblings().slideToggle("slow");
			});
			
			
			//pomanjsanje ifrema
			$('.bigvideo iframe').each( function()
			{		
				$(this).attr('height',225);
				$(this).attr('width',406);	
				$('.video-content iframe').css('display', 'block');
			})
			
			//pomanjsanje ifrema
			$('.video iframe').each( function()
			{		
				$(this).attr('height',193);
				$(this).attr('width',293);	
				$('.video-content iframe').css('display', 'block');
			})
			
			//pomanjsanje ifrema
			$('.smallvideo iframe').each( function()
			{		
				$(this).attr('height',100);
				$(this).attr('width',135);	
				$('.smallvideo iframe').css('display', 'block');
			})
			
			
			//pomanjsanje videa
			$('.bigvideo object').each( function()
			{		
				$(this).attr('height',225);
				$(this).attr('width',406);	
				$('.video-content object').css('display', 'block');
			})
			
			$('.bigvideo object>embed').each( function()
			{
				$(this).attr('height',225);
				$(this).attr('width',406);
				$('.video-content object').css('display', 'block');
								
			})
			
			//pomanjsanje videa
			$('.video object').each( function()
			{		
				$(this).attr('height',193);
				$(this).attr('width',293);	
				$('.video-content object').css('display', 'block');
			})
			
			$('.video object>embed').each( function()
			{
				$(this).attr('height',193);
				$(this).attr('width',293);
				$('.video-content object').css('display', 'block');
								
			})
			
			
			$('.smallvideo object').each( function()
			{		
				$(this).attr('height',100);
				$(this).attr('width',135);	
				$('.smallvideo-content object').css('display', 'block');
			})
			
			$('.smallvideo object>embed').each( function()
			{
			
				$(this).attr('height',100);
				$(this).attr('width',135);
				$('.smallvideo-content object').css('display', 'block');
								
			})
			
			$('.video').show();
			$('.smallvideo').show();
			
			//pomanjsanje videa na prvi strani
			$('#video-article object').each( function()
			{		
				$(this).attr('height',240);
				$(this).attr('width',360);		
			})
			
			$('#video-article object>embed').each( function()
			{
			
				$(this).attr('height',240);
				$(this).attr('width',360);
								
			})
			
			$('#video-article').show();
			
			
			//mp3 player 
			$.fn.media.defaults.mp3Player = '/mediaplayer.swf';
			$('a.media').media( { width: 200, height: 20 } );
			
			
			//fb likebox - hide footer
			
			$('.fbConnectWidgetFooter').show();
		
		})
