<?php
/*********************/
/*                   */
/*  Version : 5.1.0  */
/*  Author  : RM     */
/*  Comment : 071223 */
/*                   */
/*********************/

echo "<html>\r\n<head>\r\n<title>Exibindo e ocultando elementos</title>\r\n\r\n<style type=\"text/css\">\r\n<!--\r\n  button {background-color: beige; width: 80px; margin: 2px}\r\n//-->\r\n</style>\r\n\r\n</head>\r\n<body>\r\n\r\n<button onclick=\"exibir()\">Exibir</button>\r\n<button onclick=\"ocultar()\">Ocultar</button>\r\n\r\n<div id=\"login\" style=\"visibility:hidden\">\r\n\t<tr bgcolor=\"#EFEFEF\">\r\n      <td align=\"center\" colspan=\"7\"><b>";
echo $nome;
echo "</b> - [Trocar Nome]</td>\r\n</tr>\r\n</div>\r\n\r\n<script type=\"text/javascript\">\r\n<!--\r\n  function exibir(){\r\n    login.style.visibility = 'visible';  \r\n  }\r\n  \r\n  function ocultar(){\r\n    login.style.visibility = 'hidden';  \r\n  }\r\n//-->\r\n</script>\r\n\r\n</body>\r\n</html>";
?>
