var __booking_load_listeners = __booking_load_listeners || [];

function __LoadOnce(obj, url) {
  if (window[obj] || window['__loaded_'+obj]) return;

  if (document.readyState && (document.readyState == 'complete' || document.readyState == 'loaded')) {
    var e = document.createElement("script");
    e.src = url;
    e.type = "text/javascript";
    if (typeof(document.getElementsByTagName("body")[0]) != 'undefined')
      document.getElementsByTagName("body")[0].appendChild(e);
  }
  else
    document.write("<scr"+"ipt type='text/javascript' src='"+url+"'></scr"+"ipt>");
    
  window['__loaded_'+obj] = true;
}

function jsonpRequest(url) {
  var jsonpScript = document.createElement('script');
  jsonpScript.src = url;

  jsonpScript.onload = function() {
   this.parentNode.removeChild(this);
  }

  jsonpScript.onreadystatechange = function() {
    if (this.readyState == 'loaded') {
      this.parentNode.removeChild(this);
    }
  }

  document.body.appendChild(jsonpScript);
}

function __Submodal_ready_load(fn) {
  var __Submodal_ready = function() {
    Submodal.addEvent(window, 'load', fn);
  };
  if (typeof Submodal != 'undefined')
    __Submodal_ready();
  else
    __booking_load_listeners.push(__Submodal_ready);
} 
__LoadOnce('Booking2', 'http://wis.profitroom.pl/client/Booking.js?&site=dworoliwski&locale=pl');


document.write("<style type=\"text/css\">/*css*/ #kupPrez { float:right; width:330px; padding:0 0 15px 0; } #kupPrez a { float:left; width:330px; text-decoration:none; height:100px; color:#464646; overflow:hidden; background:url(http://res.profitroom.pl/hotelspadrirenaeriswzgorzadylewskie/images/voucher/kupPrez.jpg) no-repeat 0 0; font:normal 12px/18px Tahoma, Arial, Helvetica, sans-serif; } #kupPrez a:hover { background-position:0 -100px; text-decoration:none; color:#797979; } #kupPrez a .holder { float:right; width:314px } #kupPrez a .holderIn { float:left; width:183px } #kupPrez a .title { float:left; width:100%; font-size:18px; padding:11px 0 3px; } #kupPrez a .text { float:left; width:100%; height:35px; overflow:hidden; } #kupPrez a .button { float:right; width:100px; color:#fff; text-align:center; padding:6px 0 0; }</style><style type=\"text/css\">/*css*/ #profitroom_vouchers { float:left; width:100%; position:relative; height:27px; } #profitroom_vouchers .vouchers_button { position:absolute; left:10px; top:-17px; width:131px; } #profitroom_vouchers .vouchers_button a { float:left; width:100%; height:30px; cursor:pointer; overflow:hidden; background:url(http://res.profitroom.pl/dworoliwski/images/kup_voucher.gif) no-repeat 0 0; } #profitroom_vouchers .vouchers_button a:hover { background-position:0 -30px; } #profitroom_vouchers .vouchers_button a span { float:left; width:100%; padding:50px 0 0; cursor:pointer; } </style> <div id=\"profitroom_vouchers\"> <div class=\"vouchers_button\"> <!--<a href=\"#\" onclick=\"Booking.OpenVouchers(); return false;\" title=\"Kup prezent\"><span>Kup prezent</span></a>--> <a href=\"http://www.dworoliwski.pl/pl_PL/menu-glowne/oferty-specjalne\"><span>Kup prezent</span></a> </div></div>");

