/*	Translation Resources for using in JavaScripts.
*/

var en_trans = new Array();	// English
var nl_trans = new Array();	// Dutch

en_trans["msg.ClassicLayout.timeout"]="Sorry, Your session has timed out!";
nl_trans["msg.ClassicLayout.timeout"]="Excuus, Uw participatie is be?indigd!";

en_trans["msg.MyProfile.delContactAddress"]="It is not possible to delete default contact address. You have to define first another default contact address.";
nl_trans["msg.MyProfile.delContactAddress"]="Het is niet mogelijk een standaard adres te verwijderen. Gelieve eerst een ander standaard adres in te geven.";

en_trans["msg.MyProfile.delDefaultCV"]="It is not possible to delete default CV. You have to define first another default CV.";
nl_trans["msg.MyProfile.delDefaultCV"]="Het is niet mogelijk een standaard CV te verwijderen. Gelieve eerst een ander standaard CV in te geven.";

en_trans["msg.MyProfile.askDelSearchProf"]="Do You want to delete search profile?";
nl_trans["msg.MyProfile.askDelSearchProf"]="";

en_trans["msg.MyProfile.askDelCV"]="Do You want to delete this cv?";
nl_trans["msg.MyProfile.askDelCV"]="Wenst u dit CV te verwijderen?";

en_trans["msg.MyProfile.askDelAddress"]="Do You want to delete address?";
nl_trans["msg.MyProfile.askDelAddress"]="Wenst u dit adres te verwijderen?";

en_trans["msg.ValidStartDate"]="Please select a valid day for start date.";
nl_trans["msg.ValidStartDate"]="Gelieve voor de begindatum een geldige dag te selecteren";

en_trans["msg.SelectCurrency.1"]="Please select currency for the";
nl_trans["msg.SelectCurrency.1"]="Gelieve voor het veld";
en_trans["msg.SelectCurrency.2"]="field.";
nl_trans["msg.SelectCurrency.2"]="een munteenheid te selecteren.";

en_trans["msg.EnterDigits.1"]="Please enter only digits in the";
nl_trans["msg.EnterDigits.1"]="Gelieve in het veld";
en_trans["msg.EnterDigits.2"]="field.";
nl_trans["msg.EnterDigits.2"]="enkel cijfers in te geven.";

en_trans["msg.SelectValid.Day.Start"]="Please select a valid day for start date.";
nl_trans["msg.SelectValid.Day.Start"]="Gelieve voor de begindatum een geldige dag te selecteren.";

en_trans["msg.SelectValid.Month.Start"]="Please select a valid month for start date.";
nl_trans["msg.SelectValid.Month.Start"]="Gelieve voor de begindatum een geldige maand te selecteren.";

en_trans["msg.SelectValid.Year.Start"]="Please select a valid year for start date.";
nl_trans["msg.SelectValid.Year.Start"]="Gelieve voor de begindatum een geldig jaar te selecteren.";

en_trans["msg.SelectValid.Day.End"]="Please select a valid day for end date.";
nl_trans["msg.SelectValid.Day.End"]="Gelieve voor de einddatum een geldige dag te selecteren.";

en_trans["msg.SelectValid.Month.End"]="Please select a valid month for end date.";
nl_trans["msg.SelectValid.Month.End"]="Gelieve voor de einddatum een geldige maand te selecteren.";

en_trans["msg.SelectValid.Year.End"]="Please select a valid year for end date.";
nl_trans["msg.SelectValid.Year.End"]="Gelieve voor de einddatum een geldig jaar te selecteren.";

en_trans["msg.EndDate.Greater.StartDate"]="The end date must be greater than or equal to the start date.";
nl_trans["msg.EndDate.Greater.StartDate"]="De einddatum moet groter of gelijk zijn aan de begindatum.";


en_trans["msg.EndDate.Greater2.StartDate"]="The end date must be greater then the start date.";
nl_trans["msg.EndDate.Greater2.StartDate"]="De einddatum moet groter zijn aan de begindatum.";

en_trans["msg.Delete.Project"]="Do you want to delete the project?";
nl_trans["msg.Delete.Project"]="Wilt u het project verwijderen?";
 
en_trans["msg.Delete.StaffMember"]="Do you want to delete the staff member?";
nl_trans["msg.Delete.StaffMember"]="Wilt u de staf medewerker verwijderen?";

en_trans["msg.Delete.FundingProgramm"]="Do you want to delete the funding program?";
nl_trans["msg.Delete.FundingProgramm"]="Wilt u het funding programma verwijderen?";

en_trans["msg.Delete.Publication"]="Do you want to delete the publication?";
nl_trans["msg.Delete.Publication"]="Do you want to delete the publication?";

en_trans["msg.Delete.Product"]="Do you want to delete the product?";
nl_trans["msg.Delete.Product"]="Do you want to delete the product?";

en_trans["msg.Delete.AssocResearchOrg"]="Do you want to delete associated research organization?";
nl_trans["msg.Delete.AssocResearchOrg"]="Wilt u het gelieerde onderzoeks organisatie verwijderen?";

en_trans["msg.Delete.AssocStaffMemb"]="Delete the associated staff member?";
nl_trans["msg.Delete.AssocStaffMemb"]="Verwijder de gelieerde staf medewerker?";

en_trans["msg.Delete.AssocFundProg"]="Delete the associated funding programm?";
nl_trans["msg.Delete.AssocFundProg"]="Verwijder het gelieerde funding programma?";

en_trans["msg.Delete.AssocProject"]="Delete the associated project?";
nl_trans["msg.Delete.AssocProject"]="Delete the associated project?";

en_trans["msg.Delete.Manufacturer"]="Delete equipment manufacturer?";
nl_trans["msg.Delete.Manufacturer"]="Verwijder de manufacturer?";

en_trans["msg.Delete.AssocOrg"]="Delete the associated organisation?";
nl_trans["msg.Delete.AssocOrg"]="Verwijder de gelieerde organisatie?";

en_trans["msg.Delete.Info"]="Do you want to delete this information?";
nl_trans["msg.Delete.Info"]="Wilt u deze informatie verwijderen?";

en_trans["msg.Delete.Org"]="Do you want to delete organization?";
nl_trans["msg.Delete.Org"]="Wilt u deze organisatie verwijderen?";

en_trans["msg.Generate.Pass"]="Do you want the system to generate a new password?";
nl_trans["msg.Generate.Pass"]="Wil je dat het systeem een nieuw wachtwoord aanmaakt?";

en_trans["msg.Delete.User"]="Delete the user?";
nl_trans["msg.Delete.User"]="Wis gebruiker?";

en_trans["msg.Delete.Cannot"]="Can not delete a user with relations!";
nl_trans["msg.Delete.Cannot"]="Kan geen gebruiker met relaties wissen!";

en_trans["msg.TitleFieldEmpty"]="Please insert text into the title field.";
nl_trans["msg.TitleFieldEmpty"]="";

en_trans["msg.SummaryFieldEmpty"]="Please insert text into the summary field.";
nl_trans["msg.SummaryFieldEmpty"]="";

en_trans["msg.SelectedFileFieldEmpty"]="Please select the file to upload.";
nl_trans["msg.SelectedFileFieldEmpty"]="";

en_trans["msg.SelectedFileNotFound"]="Selected file not found.";
nl_trans["msg.SelectedFileNotFound"]="";

en_trans["msg.Delete.AssocPatent"]="Delete the associated patent?";
nl_trans["msg.Delete.AssocPatent"]="";

en_trans["msg.Delete.AssocFacility"]="Delete the associated facility?";
nl_trans["msg.Delete.AssocFacility"]="";

en_trans["msg.Delete.AssocAward"]="Delete the associated award?";
nl_trans["msg.Delete.AssocAward"]="";

en_trans["msg.Delete.AssocExpSkill"]="Delete the associated expertise/skill?";
nl_trans["msg.Delete.AssocExpSkill"]="";

en_trans["msg.Delete.AssocPublication"]="Delete the associated publication?";
nl_trans["msg.Delete.AssocPublication"]="";

en_trans["msg.Delete.MediaAttachment"]="Delete the media attachment?";
nl_trans["msg.Delete.MediaAttachment"]="";

en_trans["msg.Delete.AssocExpertiseSkill"]="Delete the associated expertise/skill?";
nl_trans["msg.Delete.AssocExpertiseSkill"]="";

en_trans["msg.Delete.AssocService"]="Delete the associated service?";
nl_trans["msg.Delete.AssocService"]="";

en_trans["msg.Delete.AssocFacility"]="Delete the associated facility?";
nl_trans["msg.Delete.AssocFacility"]="";

en_trans["msg.Delete.AssocEquipment"]="Delete the associated equipment?";
nl_trans["msg.Delete.AssocEquipment"]="";

en_trans["msg.Delete.AssocEvent"]="Delete the associated event?";
nl_trans["msg.Delete.AssocEvent"]="";

en_trans["msg.Validate.Numeric"]="Please, enter numeric value with a period as a decimal separator for the Efforts Spent field.";
nl_trans["msg.Validate.Numeric"]="";

/** 	Author: Uldis R.
		Description: This function will return Resource String for specific launguage.
		Parameters:	trID - Resource Name
					language - Translation Language 
		Return:		Resource String in specific language
*/
function getTranslStr(trID, language) {
	if (language == 'EN')
		return en_trans[trID];
	if (language == 'NL')
		return nl_trans[trID];
	return '';
}


function call_example() {
	alert('It is ' + getTranslStr('msg.MyProfile.delContactAddress','EN') );
}

