function gotohref(adresa) {
  window.location = adresa;
}

function display_details_description(action) {
  if(document.getElementById('nab-description').style.display == "none") {
    document.getElementById('nab-description').style.display = "block";
    document.getElementById('continue_btn').innerHTML = "";
  } else {
    document.getElementById('nab-description').style.display = "none";
    document.getElementById('continue_btn').innerHTML = "Pokračování &raquo;";
  }
}

function show_photo() 
{
  var winl = (screen.width - 700) / 2;
  var wint = (screen.height - 525) / 2;
  winprops = 'height=525,width=700,top='+wint+',left='+winl+',scrollbars=no'
  win = window.open('http://www.e-finance-reality.cz/contents/nabidka/fotka-k-nabidce.php?id=' + document.getElementById('actual_photo_id').value, 'fotografie', winprops)
  if (parseInt(navigator.appVersion) >=4) 
  { 
    win.window.focus(); 
  }
}

function show(element_id) {  
  if(document.getElementById(element_id).style.display == "none") {
    document.getElementById(element_id).style.display = "block";
  } else {
    document.getElementById(element_id).style.display = "none";
  }
}

function getLayer(name) {
	return document.getElementById(name);
} 
