	  function verifica_nume() {
		if ( document.getElementById('xnume').value=='aa')
   		     { 
			 parent.bottomFrame.location.href='familie.html' 
			 }
		else
		{
		  alert ('Nume neacceptat');
		 parent.bottomFrame.location.href='about.html' 		  
		}
        document.getElementById('xnume').style.visibility="hidden" ;
	    document.getElementById('xbutonnume').style.visibility="hidden" ;	  

			 }

	  function incarca_frame_dr(varhtml) {
			parent.frame_dreapta.location.href=varhtml;
      }


	  function cere_nume(varhtml2) {
		var selection=
		 prompt('Enter first and last name: (ex. ramona jitianu )','');
         selection=selection.toUpperCase();
		 switch (selection)
		 {
		  case 'IO':
				parent.bottomFrame.location.href="images/famfriends/index.html";
					break;
		  case 'ANDREI CIORAN':
				parent.bottomFrame.location.href="images/famfriends/index.html";
				   break;
		  case 'PETRA CIORAN':
				parent.bottomFrame.location.href="images/famfriends/index.html";
				break;
		  case 'SIMONA CIORTAN':
				parent.bottomFrame.location.href="images/famfriends/index.html";
					break;
		  case 'SILVIU CIORTAN':
				parent.bottomFrame.location.href="images/famfriends/index.html";
					break;
		  case 'BIANCA ALFONSO':
				parent.bottomFrame.location.href="images/famfriends/index.html";
					break;
		  case 'SORIN ASLAU':
				parent.bottomFrame.location.href="images/famfriends/index.html";
					break;
		default:
		     alert('Utilizator neinregistrat');
   			 parent.bottomFrame.location.href='about.html' 
		}
	  }
	  
	  function arata_nume() {
	  document.getElementById('xnume').value='' ;
	  document.getElementById('xnume').style.visibility="visible" ;
	  document.getElementById('xbutonnume').style.visibility="visible" ;	  
	  }
