// JavaScript Document

function ptrShowPop() {
  myBody = document.body;
  posX = (myBody.clientWidth / 2) - 288;

  myPop = document.getElementById("popup");
  myPop.style.top = "50px";
  myPop.style.left = posX;
  myPop.style.display = "block";
}

function ptrHidePop() {
  myPop = document.getElementById("popup");
  myPop.style.display = "none";

}

function ptrHidePop2() {
  myPop = document.getElementById("popup");
  myPop.style.display = "none";
  location.href='http://cosk.pl/beta/index.php?pokaz=symulacja';
}
