// JavaScript Code by DJDaca (orangesoft.cz) for holiday-in-athens.com


function out()
{
	e = document.getElementById('bublina');
	if( e )
	{
		e.style.display = 'none';
	}
}
function over(t,l,hotelname,txt,img)

{
    l = eval(l)+35;
    t = eval(t)-5;
    text = document.getElementById('bublina');
    time=window.setTimeout("zobraz()",0);
    
    text.style.left=( l )+'px';
    text.style.top=( t )+'px';
    
    data = 
           "<img src=\""+img+"\" alt=\"\" style=\"float:left;\" />"+
           "<span><strong>"+hotelname+"</strong>"+
           ""+txt+"</span>"
           
            text.innerHTML = data
}

function zobraz()
{
    
    z = document.getElementById('bublina');
    z.style.display="";
       
}
function left(howmuch) 
{

   hor = document.getElementById('horinput');
   h = document.getElementById('hotel');
  
   h_hor_po = hor.value;
   
   vysledek = eval(h_hor_po+howmuch);
   hor.value = vysledek ;
   h.style.left = (vysledek) +'px';

}
function top(howmuch) 
{

   ver = document.getElementById('verinput');
   h = document.getElementById('hotel');
  
   h_ver_po = ver.value;
   
   vysledek = eval(h_ver_po+howmuch);
   ver.value = vysledek ;
   h.style.top = (vysledek) +'px';
   
}
function hnihor(where,what) 
{

  var h_hor_po = new String(what);
   h = document.getElementById('hotel');
   h.style.left = (h_hor_po) +'px';
   
}
function hniver(where,what) 
{

  var h_ver_po = new String(what);
   h = document.getElementById('hotel');
   h.style.top = (h_ver_po) +'px';

}
function hidden(w) 
{
  schovej = document.getElementById( w );
  schovej.style.display="none";
  
} 
function show(w) 
{
  uka = document.getElementById( w );
  uka.style.display="";
  
} 

