//blokada zaznaczania
//document.write("<body onselectstart=\"return false\">");

//funkcje przewijania
function scrollstop() {
msg.scrollAmount = 0;
ostat = true;
}
function scrollplay() {
msg.scrollAmount = 3;
ostat = false;
}

//blokada prawego przycisku myszy
//am = "Kolegium Sędziów PZKOL";
//bV  = parseInt(navigator.appVersion)
//bNS = navigator.appName=="Netscape"
//bIE = navigator.appName=="Microsoft Internet Explorer"
//function nrc(e) {
//   if (bNS && e.which > 1){
//      alert(am)
//	  return false
//  } else if (bIE && (event.button >1)) {
//     alert(am)
//     return false;
//   }
//}
//document.onmousedown = nrc;
//if (document.layers) window.captureEvents(Event.MOUSEDOWN);
//if (bNS && bV<5) window.onmousedown = nrc;


//pasek statusu
  var timerID = null
  var timerRunning = false
  function MakeArray(size) 
  {
  this.length = size;
  for(var i = 1; i <= size; i++)
  {
  this[i] = "";
  }
  return this;
  }
  function stopclock (){
  if(timerRunning)
  clearTimeout(timerID);
  timerRunning = false
  }
  function showtime () {
  var now = new Date();
  var year = now.getYear();
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var timeValue = "";
  timeValue += "Kolegium Sędziów PZKOL               ";
  timeValue += ((hours <= 12) ? hours : hours );
  timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
  timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
  timeValue += (hours) ? "" : "";
  timeValue += "               ";
  timeValue += date + "." + ((month < 10) ? "0" : "") + month + ".";
  timeValue += year + "    ";
  timeValue += "               www.kspzkol.pl";
  window.status = timeValue;
  timerID = setTimeout("showtime()",1);
  timerRunning = true
  }
  function startclock () {
  stopclock();
  showtime()
  }