function myOnLoad()
	{
	var xmlHttp;
	try
	  {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	  }
	catch (e)
	  {
	  // Internet Explorer
	  try
	    {
	    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	    }
	  catch (e)
	    {
	    try
	      {
	      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	      }
	    catch (e)
	      {
	      alert("Your browser does not support AJAX!");
	      return false;
	      }
	    }
	  }
	  
	  
	  xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
     	   var xmlDoc=xmlHttp.responseXML.documentElement;
        
        	if (document.getElementById('burza') != null) {
	           	document.getElementById('burza').innerHTML = "(" + xmlDoc.getElementsByTagName('burza')[0].childNodes[0].nodeValue + ")";
	        }
	        if (document.getElementById('ine') != null) {
           		document.getElementById('ine').innerHTML = "(" + xmlDoc.getElementsByTagName('ine')[0].childNodes[0].nodeValue + ")";
	        }
	        if (document.getElementById('rady') != null) {
           		document.getElementById('rady').innerHTML = "(" + xmlDoc.getElementsByTagName('rady')[0].childNodes[0].nodeValue + ")";
           	}
            if (document.getElementById('recepty') != null) {
           		document.getElementById('recepty').innerHTML = "(" + xmlDoc.getElementsByTagName('recepty')[0].childNodes[0].nodeValue + ")";                                 
           	}
           	if (document.getElementById('chyt_a_pust') != null) {
           		document.getElementById('chyt_a_pust').innerHTML = "(" + xmlDoc.getElementsByTagName('chyt_a_pust')[0].childNodes[0].nodeValue + ")";                                 
           	}
        }
      }
      xmlHttp.open("GET", "/dbxml.php", true);
	  xmlHttp.send(null);
	}
	
	
	
function LoadIt(url, where)
{
	var xmlHttp;
	try
	  {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	  }
	catch (e)
	  {
	  // Internet Explorer
	  try
	    {
	    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	    }
	  catch (e)
	    {
	    try
	      {
	      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	      }
	    catch (e)
	      {
	      alert("Your browser does not support AJAX!");
	      return false;
	      }
	    }
	  }
	  
	  
	  xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
     	   var Doc=xmlHttp.responseText;
        
        	if (document.getElementById(where) != null) {
	           	document.getElementById(where).parentNode.innerHTML = Doc;
	        }
        }
      }
      xmlHttp.open("GET", url, true);
	  xmlHttp.send(null);
}
		
	
