$(document).ready(function() {

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

$("#pokaz_1").click(function() {
	    var tween_1 = new TweenMax.to($("#kontener_1"), 3, {rotationY:360, transformOrigin:"left bottom", ease:Bounce.easeOut});
      var tween_1 = new TweenMax.to($("#kontener_1"), 3, {borderRadius:"50px 50px 50px 0px", delay:3});
	    });
$("#pokaz_1a").click(function() {
	    var tween_1 = new TweenMax.to($("#kontener_1"), 3, {rotationY:-360, transformOrigin:"left bottom", ease:Bounce.easeOut});
      var tween_1 = new TweenMax.to($("#kontener_1"), 3, {borderRadius:"0px 10px 20px 20px"});
	});
});