﻿// JScript File
function getJSPH(ph) {
	var t;
	switch (ph) {
//Login
		case "RemediatiProblemele":
			t = "Please solve the following problems:\n"; break;
		case "IntroducetiNume":
			t = " - enter your last name and first name;\n"; break;
		case "IntroducetiAdresa":
	        t = " - enter your adress;\n"; break;
		case "AlegetiJudet":
	        t = " - pick a county;\n"; break;
		case "CompletatiLocalitate":
		    t = " - fill the following field:\"City\";\n"; break;
		case "TelefonValid":
			t = " - enter a valid telephone number;\n"; break; 
		case "EmailValid":
			t = " - enter a valid e-mail adress;\n"; break; 	
		case "ParolaDinNou":
		    t = " - fill the \"Password, again\" field;\n"; break;
		case "Minim6Caractere":
	        t = " - The \"Password\" data must be at least 6 characters long;\n"; break; 
		case "IntroducetiParola":
		    t = " - enter a password; \n"; break;
		case "IntroducetiEmailValid":
		    t = " - please enter a valid e-mail adress;\n"; break;	
		case "DetaliiProdus9_15":
			t = "This product is not available right now."; break;
			
//Recuperare parola	
		case "RecuperareParola":
			t = " Please fill the \"E-mail adress\" field;\n"; break;
		
//RSchimbare parola	
		case "SchimbareParola":
			t = " - please fill the \"Current password\" field;\n"; break;
		case "AcelasiText":
			t = " - enter the same text in the following fields: \"New password\" si \"New password, again\"; \n"; break;	
		
		
		
		
		
		
//Contact
		case "Contact_CompletatiNume":
			t = " - fill the \"Name \" field;\n"; break;
		case "Contact_CompletatiMesaj":
		    t = " - fill the \"Message\" field;\n"; break;	
		case "Contact_CompletatiAdresa":
	        t = " - fill the \"Adress\" field;\n"; break;
		case "Contact_CompletatiOras":
			t = " - fill the \"City\" field;\n"; break;
		case "Contact_ValidTelefonEmail":
			t = " - enter valid data in the following fields: \"Telephone\" or \"E-mail\";\n"; break;	  
      		
//Modificare date    
		
		
		
// Contact 		
		      
		case "Contact_EmailValid":
			t = "- The \"E-mail\" field must contain a valid e-mail adress;\n"; break;
		case "Contact_CompletatiTelefon":
			t = "- You must fill the \"Telephone\" field;\n"; break;
        case "Contact_TelefonValid":
			t = "- The \"Telephone\" field must contain a valid telephone number;\n"; break;					
		case "Contact_CompletatiTelefonEmail":
			t = "- You must use a valid telephone number or e-mail adress;\n"; break;        	  	
	       	 	        
		default:
			t = "Undefined message!";	
        }
	return t;
}



