$(document).ready(function() {

var tween = new TweenMax.set(["#kontener_3"], {transformPerspective:600});

$("#pokaz_3").click(function() {
	   var tween = new TweenMax.to($("#kontener_3"), 12, {rotationX:360, transformOrigin:"left 50% 150", ease:Elastic.easeOut});
     var tween = new TweenMax.to($("#kontener_3"), 12, {borderRadius:"50%"});
	    });
$("#pokaz_3a").click(function() {
	   var tween = new TweenMax.to($("#kontener_3"), 12, {rotationX:-360, transformOrigin:"left 50% 150", ease:Elastic.easeOut});
     var tween = new TweenMax.to($("#kontener_3"), 12, {borderRadius:"0px 10px 20px 20px"});
	});
});