
function display(id){
  //alert(id);
  if(document.getElementById(id).style.display=='none'){
    document.getElementById(id).style.display = 'block';
  }
  else{
    document.getElementById(id).style.display = 'none';
  }
}
function display1(id){
  document.getElementById(id).style.display = 'block';
}
function display2(id){
  document.getElementById(id).style.display = 'none';
}


function buttMenuOver(N, id) {
  document.getElementById(id).src = 'images/button_on_' + N + '.jpg';
}
function buttMenuOut(N, id) {
  document.getElementById(id).src = 'images/button_' + N + '.jpg';
}


function potvrzeni_ul(url, dotaz) {
  if( confirm(dotaz) ) {
    location.replace(url);
  }
}
function potvrzeni_l(url, dotaz) {
  if( confirm(dotaz) ) {
    window.location.href = url;
  }
}


function ohodnotit(url) {
  location.replace(url);
}
function relink_re(url) {
  location.replace(url);
}
function relink(url) {
  window.location.href = url;
}



function resizeText(size) {
	text = document.getElementById('textShow');
	text.style.fontSize = size + "px";
}


function menuMouseOver(ID) {
  ID.style.background = 'url(images/menu_back_aktiv.gif)';
}
function menuMouseOut(ID) {
  ID.style.background = 'url(images/menu_back.gif)';
}


function rowMouseOver(ID) {
  ID.style.background = '#E2E1E3';
}
function rowMouseOut(ID, lichysudy) {
  if ( lichysudy == 1 )
    ID.style.background = 'none';
  else if ( lichysudy == 3 )
    ID.style.background = '#FFDDDD';
  else
    ID.style.background = '#F7F1F1';
}

