// Galeria sztuki Olgi Krężel -  malarstwo, fotografia, obrazy olejne, pastele, akwarele
// rysunki, portrety, grafiki, ilustracje do ksiażek, herby, znaki graficzne, szyldy, gobeliny, usługi plastyczne
// http://galeria.tu15.com
document.write("<body onselectstart=\"return false\">");
<!--
if (window.Event) 
  document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu()  
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
function norightclick(e) 
{
 if (window.Event) 
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
}
document.oncontextmenu = nocontextmenu;  
document.onmousedown = norightclick; 
file://-->


<!-- 
function displayWindow(url, width, height) { 
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=no,scrollbars=no,menubar=no,toolbar=no,fullscreen=no, status=no,location=no,directories=no,left=50,top=50' );} 
//--> 


<!-- 
function displayWindow2(url, width, height) { 
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=no,scrollbars=no,menubar=no,toolbar=no,fullscreen=no, status=no,location=no,directories=no,left=400,top=50');} 
//--> 

<!--
if (window.Event) 
  document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu()  
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
 
function norightclick(e) 
{
 if (window.Event) 
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
}
document.oncontextmenu = nocontextmenu;  
document.onmousedown = norightclick; 
file://-->
<!-- Begin
var data = "0123456789";
var done = 1;
function statusIn(text) {
decrypt(text, 2, 1);
}
function statusOut() {
self.status = '';
done = 1;
}

function decrypt(text, max, delay) {
if (done) {
done = 0;
decrypt_helper(text, max, delay,  0, max);
   }
}
function decrypt_helper(text, runs_left, delay, charvar, max) {
if (!done) {
runs_left = runs_left - 1;
var status = text.substring(0, charvar);
for (var current_char = charvar; current_char < text.length; current_char++) {
status += data.charAt(Math.round(Math.random()*data.length));
}
window.status = status;
var rerun = "decrypt_helper('" + text + "'," + runs_left + "," + delay + "," + charvar + "," + max + ");"
var new_char = charvar + 1;
var next_char = "decrypt_helper('" + text + "'," + max + "," + delay + "," + new_char + "," + max + ");"
if(runs_left > 0) {
setTimeout(rerun, delay);
}
else {
if (charvar < text.length) {
setTimeout(next_char, Math.round(delay*(charvar+3)/(charvar+1)));
}
else {
done = 1;
         }
      }
   }
}
//  End -->
