$(document).ready(function() {

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

$("#pokaz_2").click(function() {
	   var tween = new TweenMax.to($("#kontener_2"), 12, {rotationY:360, transformOrigin:"left 50% -600", ease:Elastic.easeOut});
     var tween = new TweenMax.to($("#kontener_2"), 12, {borderRadius:"30%"});
	    });
$("#pokaz_2a").click(function() {
	   var tween = new TweenMax.to($("#kontener_2"), 12, {rotationY:-360, transformOrigin:"left 50% -600", ease:Elastic.easeOut});
     var tween = new TweenMax.to($("#kontener_2"), 12, {borderRadius:"0px 10px 20px 20px"});
	});
});