
<?
function Button($Text, $URL)
{
  $RandId = rand(10000, 99999);
  $URL = 'http://wow.zdechov.net'.$URL;
  echo('<a href="'.$URL.'" onMouseOver="document[\'image\'+'.$RandId.'].src = \'/buttons/button.php?text='.$Text.'&b=1\'" 
  onMouseOut="document[\'image\'+'.$RandId.'].src = \'/buttons/button.php?text='.$Text.'\'">');
  echo('<img border="0" src="button.php?text='.$Text.'" alt="'.$Text.'" name="image'.$RandId.'"><br>');
  echo('</a>');
}

Button('Home', '/');
Button('Server', '/server.php');
Button('Dotace', '/donate.php');
Button('Stahování', '/download_soubory.php');
Button('Jak zacít', '/jak_zacit.php');
Button('Odkazy', '/link.php');
Button('Mapa', '/mapa.php');
Button('Guildy', '/guildy.php');
Button('Fórum', '/forum/');
Button('Registrace', '/registrace.php');
Button('Online hráci', '/online_player.php');
Button('Honor', '/honor.php');
Button('Rasy', '/Death%20dealers%20hratelne%20rasy.php');
Button('Povolání', '/Death%20dealers%20povolani.php');
Button('Profese', '/Death%20dealers%20profese.php');

?>

