 $(document).ready
 (
	function()
	{
		fx('#ppd_b_close');
		$('#ppd_b_close').click(function(){$('.ppd_div').hide(); $('#bg-news').hide(); openVideoConteiner();});
		$(".article .thebody").hide();
		$('.show_div0').click(function(){
		$(".ppd_div").left = "50px";
		$(".ppd_div").fadeIn();
		var size = getSceeneSize();
		$(".ppd_div").css("left", size["Width"] / 2 - $(".img0").width() / 2);
		$(".ppd_div").css("top", size["Height"] / 2 - $(".img0").height() / 2);
		});
	}
 );
 
 function fx_show(tar1, tar2)
 {
	$(tar1).click( function() { $(tar2).fadeIn(); } );
	$('body').mousedown(function() { $(tar2).fadeOut("slow"); });
 }
 
function fx(tar)
{
	$(tar).cycle
	(
		{ 
			timeout: 0, 
			speed:   300, 
			startingSlide: 2 
		}
	)
		
	$(tar).mouseover(
		function() 
		{ 
			$(tar).cycle(1); 
		    return false; 
		}
	);
		
	$(tar).mouseout
	(
		function() 
		{ 
			$(tar).cycle(0); 
		    return false; 
		}
	);
}
