	function verifica(msg) {
		if ( confirm(msg) ) {
			return true;
		} else {
			return false;
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verNume()
	{
			with (document.forms[0])
				{
					if (nume_persoana.value.length>0)
						{
							return true;
							
						}
					else 
						{
							return false;
							 
						}
				}
	};
		
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
		
	function verContact()
	{
			with (document.forms[0])
				{
					if (date_contact.value.length>0)
						{
							return true;
							
						}
					else 
						{
							return false;
							 
						}
				}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	
	String.prototype.right=function(lung) 
	{ 
		if (this.length<=lung) return this; 
		return this.substring(this.length-lung, this.length); 
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
		
	function verFoto1() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto1.value.right(4).toUpperCase(); 
			var ext2 = foto1.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verFoto2() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto2.value.right(4).toUpperCase(); 
			var ext2 = foto2.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verFoto3() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto3.value.right(4).toUpperCase(); 
			var ext2 = foto3.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verFoto4() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto4.value.right(4).toUpperCase(); 
			var ext2 = foto4.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verFoto5() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto5.value.right(4).toUpperCase(); 
			var ext2 = foto5.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verFoto6() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto6.value.right(4).toUpperCase(); 
			var ext2 = foto6.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	function verFoto7() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto7.value.right(4).toUpperCase(); 
			var ext2 = foto7.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verFoto8() { 
		var listext = '.jpg,.gif,.png,.bmp,.jpeg';
		with (document.forms[0]){
			var ext = foto8.value.right(4).toUpperCase(); 
			var ext2 = foto8.value.right(5).toUpperCase(); 
			if (listext.toUpperCase().indexOf(ext)==-1 && listext.toUpperCase().indexOf(ext2)==-1) { 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	}; 
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verPdf(){

		with (document.forms[0]){
			var listext=".pdf";
			var ext = docpdf.value.right(4).toUpperCase();
			if (listext.toUpperCase().indexOf(ext)==-1){ 
				return false; 
				
			} else { 
			  return true; 
			   
			} 
		}
	
	}
	//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
	function verificaFormularArie() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		var raspuns;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tCampul Nume nu a fost completat.\n";
		}

		if (verContact()==false) {
			erori = true;
			text = text + "\tCampul Email/Telefon nu a fost completat.\n";
		}
		verifica = verFoto1();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 1 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto2();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 2 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto3();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 3 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto4();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 4 nu are o extensie acceptata.\n";
		}
		
		if (erori==false) {
			if (document.forms[0]==document.forms["form_modifica_arie"]){
				if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
					document.forms[0].submit();
				} else {
					document.forms[0].submit();
				}
		} else {
				msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	function verificaFormularObiectiv() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tCampul Nume nu a fost completat.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tCampul Email/Telefon nu a fost completat.\n";
		}
		
		verifica = verFoto1();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 1 nu are o extensie acceptata.\n";
		}
				
		verifica = verFoto2();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 2 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto3();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 3 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto4();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 4 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto5();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 5 nu are o extensie acceptata.\n";
		}
		
		if (erori==false) {
			if (document.forms[0]==document.forms["form_modifica_obiectiv"]){
					if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
						document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {
				msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	function verificaFormularCazare() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tCampul Nume nu a fost completat.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tCampul Email/Telefon nu a fost completat.\n";
		}
		
		verifica = verFoto1();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 1 nu are o extensie acceptata.\n";
		}
				
		verifica = verFoto2();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 2 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto3();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 3 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto4();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 4 nu are o extensie acceptata.\n";
		}
		
		verifica = verFoto5();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 5 nu are o extensie acceptata.\n";
		}
		verifica = verFoto6();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 6 nu are o extensie acceptata.\n";
		}
		verifica = verFoto7();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 7 nu are o extensie acceptata.\n";
		}
		verifica = verFoto8();
		if (verifica==false){
			erori = true;
			text = text + "\tFisierul atasat campului Foto 8 nu are o extensie acceptata.\n";
		}
		if (erori==false) {
			if ((document.forms[0]==document.forms["form_modifica_cazare"]) || (document.forms[0]==document.forms["form_modifica_punct"])){
				if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {
				msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verificaFormularTraseu() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tCampul Nume nu a fost completat.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tCampul Contact nu a fost completat.\n";
		}
		

		if (erori==false) {
			if ((document.forms[0]==document.forms["form_modifica_traseu"]) || (document.forms[0]==document.forms["form_modifica_referinta"])){
				if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {
				msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verificaFormularCercetare(){
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tCampul Nume nu a fost completat.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tCampul Email/Telefon nu a fost completat.\n";
		}
		
		if (verPdf()==false) {
			erori = true;
			text = text + "\tTrebuie sa atasati un fisier cu extensia .pdf.\n";
		}

		if (erori==false) {
			if (document.forms[0]==document.forms["form_modifica_cercetare"])
				if (confirm("Sunteti sigur ca doriti sa modificati datele?")){
					document.forms[0].submit();
				} else {
				}
			else 
					document.forms[0].submit();
		} else {
				msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
				msg = msg + text;
				alert(msg);
		}
		
	
	};
	
	function verificaFormularObiectivCustode(){
	
		if (document.forms[0].id_arie.value>0){
			document.forms[0].Submit.disabled='';
		} else {
			document.forms[0].Submit.disabled='disabled';
		}
	
	};
	function verificaFormularPunctCustode(){
	
		if (document.forms[0].id_traseu.value>0){
			document.forms[0].Submit.disabled='';
		} else {
			document.forms[0].Submit.disabled='disabled';
		}
	
	};
	function activeaza_form_mesaje(){
		
		var myObj = document.getElementById('tabelComentarii');
		myObj.style.visibility = 'visible';
	};
	

	function enableSelect(){
	
		if (document.getElementById("rang").value==1 || document.getElementById("rang").value==2)
		
			document.getElementById("valabilitate").disabled = true;
		
		else 
		
			document.getElementById("valabilitate").disabled = false;
	
	
	};
	
	function checkEmail() {
		var email = document.getElementById('adresaemail');
		var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		if (!filter.test(email.value)) {
		return false;
		}
	};
	
	function valideazaFormularUtilizator(){
	var erori = false;
	var text = "";
		if (document.getElementById("rang").value==0){
			erori = true;
			text = text + "\tVa rog alegeti un rang\n";
		}
		
		if (checkEmail()==false){
			
			erori = true;
			text = text + "\tAdresa de email nu este valida\n";
			
		
		}
		if (erori==false){
			if ((document.forms[0]==document.forms["form_edit_utilizator"]) ){
				if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {	
			
			msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
			msg = msg + text;
			alert(msg);
		
		}		
	
	};
	function valideazaFormularAV(){
	var erori = false;
	var text = "";

		if (checkEmail()==false){
			
			erori = true;
			text = text + "\tAdresa de email nu este valida\n";
			
		
		}
		
		if (document.getElementById("parola1").value!=document.getElementById("parola").value){
			erori = true;
			text = text + "\tParolele nu coincid\n";
		}
			
		
		if (erori==false){
			if ((document.forms[0]==document.forms["form_edit_utilizator"]) ){
				if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {	
			
			msg = "Datele nu vor putea fi introduse pana la rezolvarea erorilor:\n\n";
			msg = msg + text;
			alert(msg);
		
		}		
	
	};
	
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	function valideazaFormularUtilizatorEn(){
	var erori = false;
	var text = "";
		if (document.getElementById("rang").value==0){
			erori = true;
			text = text + "\tPlease choose a\n";
		}
		
		if (checkEmail()==false){
			
			erori = true;
			text = text + "\tThe email adress is not valid\n";
			
		
		}
		if (erori==false){
			if ((document.forms[0]==document.forms["form_edit_utilizator"]) ){
				if (confirm("Are you sure you want to modify data?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {	
			
			msg = "You have to resolve this errors in order to introduce data:\n\n";
			msg = msg + text;
			alert(msg);
		
		}		
	
	};
	function valideazaFormularAVEn(){
	var erori = false;
	var text = "";
		
		if (checkEmail()==false){
			
			erori = true;
			text = text + "\tThe email adress is not valid\n";
			
		
		}
		
		if (document.getElementById("parola1").value!=document.getElementById("parola").value){
			erori = true;
			text = text + "\tThe passwords are different\n";
		}
			
		
		if (erori==false){
			if ((document.forms[0]==document.forms["form_edit_utilizator"]) ){
				if (confirm("Are you sure you want to modify data?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {	
			
			msg = "You have to resolve this errors in order to introduce data:\n\n";
			msg = msg + text;
			alert(msg);
		
		}		
	
	};
	
		function verificaFormularArieEn() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		var raspuns;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tName field is empty.\n";
		}

		if (verContact()==false) {
			erori = true;
			text = text + "\tEmail/Telefon field is empty.\n";
		}
		verifica = verFoto1();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 1 has an invalid value.\n";
		}
		
		verifica = verFoto2();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 2 has an invalid value.\n";
		}
		
		verifica = verFoto3();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 3 has an invalid value.\n";
		}
		
		verifica = verFoto4();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 4 has an invalid value.\n";
		}
		
		if (erori==false) {
			if (document.forms[0]==document.forms["form_modifica_arie"]){
				if (confirm("Are you sure you want to modify data?"))
					document.forms[0].submit();
				} else {
					document.forms[0].submit();
				}
		} else {
				msg = "You have to resolve this errors in order to introduce data:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	function verificaFormularObiectivEn() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tName field is empty.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tEmail/Telephone field is empty.\n";
		}
		
		verifica = verFoto1();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 1 has an invalid value.\n";
		}
				
		verifica = verFoto2();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 2 has an invalid value.\n";
		}
		
		verifica = verFoto3();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 3 has an invalid value.\n";
		}
		
		verifica = verFoto4();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 4 has an invalid value.\n";
		}
		
		verifica = verFoto5();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 5 has an invalid value.\n";
		}
		
		if (erori==false) {
			if (document.forms[0]==document.forms["form_modifica_obiectiv"]){
					if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
						document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {
				msg = "You have to resolve this errors in order to introduce data:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	function verificaFormularCazareEn() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tName field is empty.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tEmail/Telephone field is empty.\n";
		}
		
		verifica = verFoto1();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 1 has an invalid value.\n";
		}
				
		verifica = verFoto2();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 2 has an invalid value..\n";
		}
		
		verifica = verFoto3();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 3 has an invalid value.\n";
		}
		
		verifica = verFoto4();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 4 has an invalid value.\n";
		}
		
		verifica = verFoto5();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 5 has an invalid value.\n";
		}
		verifica = verFoto6();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 6 has an invalid value.\n";
		}
		verifica = verFoto7();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 7 has an invalid value.\n";
		}
		verifica = verFoto8();
		if (verifica==false){
			erori = true;
			text = text + "\tThe field Photo 8 has an invalid value.\n";
		}
		if (erori==false) {
			if ((document.forms[0]==document.forms["form_modifica_cazare"]) || (document.forms[0]==document.forms["form_modifica_punct"])){
				if (confirm("Are you sure you want to modify data?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {
				msg = "You have to resolve this errors in order to introduce data:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	function verificaFormularTraseuEn() {
	
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tName field is empty.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tEmail/Telephone field is empty.\n";
		}
		

		if (erori==false) {
			if ((document.forms[0]==document.forms["form_modifica_traseu"]) || (document.forms[0]==document.forms["form_modifica_referinta"])){
				if (confirm("Sunteti sigur ca doriti sa modificati datele?"))
					document.forms[0].submit();
			} else {
				document.forms[0].submit();
			}
		} else {
				msg = "You have to resolve this errors in order to introduce data:\n\n";
				msg = msg + text;
				alert(msg);
		}
	};
	
	//------------------------------------------------------------------------------------------------------------------------------------------------------------//
	
	
	function verificaFormularCercetareEn(){
	
		var erori = false;
		var verifica;
		var msg;
		var text;
		text="";

		if (verNume()==false) {
			erori = true;
			text = "\tName field is empty.\n";
		}
		
		if (verContact()==false) {
			erori = true;
			text = text + "\tEmail/Telephone field is empty.\n";
		}
		
		if (verPdf()==false) {
			erori = true;
			text = text + "\tThe file must have the extension .pdf.\n";
		}

		if (erori==false) {
			if (document.forms[0]==document.forms["form_modifica_cercetare"])
				if (confirm("Sunteti sigur ca doriti sa modificati datele?")){
					document.forms[0].submit();
				} else {
				}
			else 
					document.forms[0].submit();
		} else {
				msg = "You have to resolve this errors in order to introduce data:\n\n";
				msg = msg + text;
				alert(msg);
		}
		
	
	};
	
	function activeazaFormReactivareCont(){
	
		var myObj = document.getElementById('tabelComentarii');
		myObj.style.visibility = 'visible';
		
	};

	function ariiMM(cale){
	
		if (document.harta_mm){
				Image1= new Image(900,450);
				Image1.src = cale + "/maramures open fin 01.gif";

				Image2 = new Image(900,450);
				Image2.src = cale + "/muntii maramuresului fin 01.gif";

				Image3 = new Image(900,450);
				Image3.src = cale + "/ariile maramuresului fin 01.gif";
			}

	   if (document.harta_mm)
	    {
	      arii = Image3.src;
	      document.harta_mm.src= arii;
	    }
		
	};
	function ariiMMOut(cale){
	
		if (document.harta_mm){
				Image1= new Image(900,450);
				Image1.src = cale + "/maramures open fin 01.gif";

				Image2 = new Image(900,450);
				Image2.src = cale + "/muntii maramuresului fin 01.gif";

				Image3 = new Image(900,450);
				Image3.src = cale + "/ariile maramuresului fin 01.gif";
			}

	   if (document.harta_mm)
	    {
	      arii = Image1.src;
	      document.harta_mm.src= arii;
	    }
		
	};
	
	function ariiPM(cale){
	
		if (document.harta_mm){
				Image1= new Image(900,450);
				Image1.src = cale + "/maramures open fin 01.gif";

				Image2 = new Image(900,450);
				Image2.src = cale + "/muntii maramuresului fin 01.gif";

				Image3 = new Image(900,450);
				Image3.src = cale + "/ariile maramuresului fin 01.gif";
			}

	   if (document.harta_mm)
	    {
	      arii = Image2.src;
	      document.harta_mm.src= arii;
	    }
		
	};
	function ariiPMOut(cale){
	
		if (document.harta_mm){
				Image1= new Image(900,450);
				Image1.src = cale + "/maramures open fin 01.gif";

				Image2 = new Image(900,450);
				Image2.src = cale + "/muntii maramuresului fin 01.gif";

				Image3 = new Image(900,450);
				Image3.src = cale + "/ariile maramuresului fin 01.gif";
			}

	   if (document.harta_mm)
	    {
	      arii = Image1.src;
	      document.harta_mm.src= arii;
	    }
		
	};

	
	

	

	
	

