Ciao raga, c'è una parte di una mia pagina nella quale c'è un select, una volta selezionato un'opzione, mi appare un div con dentro 2 pulsanti radio, e una volta premuto uno di loro 2, dovrebbe aprirsi un div. Ora, il primo div si apre perfettamente, mentre il secondo invece no...
codice:
<?php

ini_set('session.cookie_lifetime',60*60*24*365);

session_start();

$logflag=false;

if ($_SESSION['nick']!="")
{
	$logflag=true;
}

$logout=$_POST['logout'];
if ($logout=="vero")
{
	session_destroy();
	$logflag=false;
}

include("menu.php");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
	<meta http-equiv="content-type" content="text/html;charset=windows-1252;">
	<link rel="stylesheet" type="text/css" href="css.css">
	<title>All Rock - Interagisci</title>
	<script language="javascript" type="text/javascript">
		function mostra(d)
		{
			if(document.getElementById(d).style.display == "none")
			{
				document.getElementById(d).style.display = "block";
			}
		}
		
		function media(x)
		{
			if (x=="immagini")
			{
				document.getElementById(x).style.display="block";
				document.getElementById("video").style.display="none";
			}
			else
			if (x=="video")
			{
				document.getElementById(x).style.display="block";
				document.getElementById("immagini").style.display="none";
			}
		}
	</script>
 </head>
 <body>
	
	<div class="container">
	
		<?php
		
			logo();
		
			if ($logflag==false)
			{
				login();
			}
			else
			{
				in();
			}
		
			echo "<div style=\"clear:both;\"></div>";
			
			menus();
  
		?>
  
		<div class="index">
			Torna all'Home
			<h3>- Interagisci -</h3>
			<div style="width:250px;margin-left:auto;margin-right:auto;">
				<form action="salvamedia.php" method="post">
					<table style="text-align:center;">
						<tr>
							<td><select id="texto" name="artista" style="width:250px;" onchange="mostra('text');">
								<option>- Seleziona un artista dall'elenco-</option>
								<?php
								include("database/db_connessione.php");
								$ris=mysql_query("select artista from artisti order by artista",$db);
								while ($row=mysql_fetch_row($ris))
								{								
									echo "<option>$row[0]</option>";
								}
								mysql_close($db);
								?>
							</select></td>
						</tr>
					</table>
					<div id="text" style="display:none;">	
						<span style="color:lightblue;font-weight:bold;">Aggiungi:</span> <input type="radio" name="media" value="immagine" onclick="media('immagini');">Immagine <input type="radio" name="media" value="video" onclick="media('video');">Video
						<div id="immagini" style="display:none;">
							Aggiungi immagine: <input type="file" name="immagine" value="">
						</div>
						<div id="video" style="display:none;">
							Aggiungi video: <input type="text" name="video" value="">
						</div>
						<input type="submit" value="Salva">
					</div>
				</form>
			</div>
		</div>
  
		<?php
			
			menud();
  
		?>
		
		<div style="clear:both;"></div>
	
	</div>
	
 </body>
</html>
Qualcuno può aiutarmi?