

/*****************

  (c) 2006 Q42 B.V.

  The contents of this file, partially or in whole, may not be reproduced
  without prior written permission by Q42 B.V.

*****************/

function Resources() {
}

Resources.prototype = {
  
  culture: 'en-GB',
  id: '302',
  isselectcamp: 'True',
  iscamp2relax: 'False',
  usealternateresultcheck: 'False',
  showdecimals: 'True',
  loggerpath: '',
  loggerweb: 'False',
  messages: {
    and: "and",
    formvalidator: {
      header:									"Please correct the following fields before proceeding:",
      url:										" is incorrectly formatted",
      email:									" is incorrectly formatted",
      clientcode:							" is ongeldig",
      compareEmailAddresses:	" must be the same as E-mail address",
      birthdate:							" must be valid date of birth",
      birthdate18:						"Booking can only be done by a person aged 18 and over",
			number:									" number required",
      numberLoose:        		" must include digit",
      numberStrict:       		" must be a digit",
      numberPhone:        		" must be a digit. Only use digits, you probably used a - .\n    Fill in phone no. as example : 0721234567",
			numberPhoneRegEx:    		" must be a digit. Only use digits, you probably used a - .\n    Fill in phone no. as example : 0721234567",
      already_exists:     		" existing",
      required:           		" is required",
      dateDMY:            		" valid date required (example 12-03-2005).",
      dateDay:            		" must be valid date (1-31)",
      dateMonth:          		" must be valid month (1-12)",
      dateYear:           		" must be valid year",
      postcode:								" is false",
      inbetween:							" are invalid",
      homepage_name:      		": please fill in name!",
      formvalidator_header: 	"Please correct the following fields before proceeding:"
    },
    favorites: {
      no_cookies:         "Your web browser does not support cookies.\nYou have to activate or allow these first if you wish to save favourites.\nFor further information check your web browser.",
      add_confirm:        "Are you certain you wish to add this destination to your favourites?\nClick on top right hand 'favourites' to view at a later stage.",
      already_added:      "Added to favourites",
      added_notice:       'Destination added to <a href="/Favourites/Default.aspx">your favourites</a>.',
      removed_notice:     'The selection has been removed from your favourites.',
      add_to_favorites:   'Add to favourites'
    },
    comparison: {
      select_only_2_to_3:     "Please only select 2-3 destinations to compare.",
      first_select_2_to_3:    "First select 2-3 destinations to compare.",
      go_to_page:             '<a href="/Comparing.aspx" class="notice-compare">Do to compare page.</a>',
      remove_from_comparison: "Remove from comparison"
    },
    clicktracker: {
      ct_search_period_month:							"/searchmodule/period/month/",
      ct_search_period_nextmonth:					"/searchmodule/period/month/next",
      ct_search_period_prevmonth:					"/searchmodule/period/month/previous",
      ct_search_period_day:								"/searchmodule/period/day/",
      ct_search_ca_country:								"/searchmodule/countryandregion/country/",
      ct_search_ca_countries:							"/zoekmodule/landenengebieden/land/",
      ct_search_ca_area:									"/searchmodule/countryandregion/region/",
      ct_search_ca_areas:									"/zoekmodule/landenengebieden/gebied/",
      ct_search_ca_resetmap:							"/searchmodule/countryandregion/resetgooglemap",
      ct_search_ca_zoommap:								"/searchmodule/countryandregion/zoomgooglemap",
      ct_search_ca_dragmap:								"/searchmodule/countryandregion/draggooglemap",
      ct_search_price_min:								"/searchmodule/prices/minimalprice/",
      ct_search_price_max:								"/searchmodule/prices/maximumprics/",
      ct_search_resetall:									"/searchmodule/resetall",
      ct_search_ca_reset:									"/searchmodule/countryandregion/reset",
      ct_search_period_reset:							"/searchmodule/period/reset",
      ct_search_acco_reset:								"/searchmodule/accommodation/reset",
      ct_search_price_reset:							"/searchmodule/prices/reset",
      ct_search_travelparty_reset:				"/searchmodule/numberofpersons/reset",
      ct_search_code_reset:								"/searchmodule/code/reset",
      ct_search_acco:											"/searchmodule/accommodation/",
      ct_search_acco_rooms:								"/searchmodule/accommodation/minimumnumberofrooms/",
      ct_search_travelparty_persons:			"/searchmodule/numberofpersons/numberofpersons/",
      ct_search_offer:										"/searchmodule/offers",
      ct_search_lastminute:								"/searchmodule/lastminutes",
      ct_search_searchbutton:							"/searchmodule/searchbutton",
      ct_search_mapbutton:								"/searchmodule/mapbutton",
      ct_search_codebutton:								"/searchmodule/codezoekknop",
      ct_search_period_duration:					"/searchmodule/period/duration/",
      ct_search_period_exact:							"/searchmodule/period/exactarrivaldate",
      ct_search_period_marge5:						"/searchmodule/period/searchwith5daysmargin",
      ct_search_tab_holiday:							"/searchmodule/tab/holiday_search",
      ct_search_tab_code:									"/searchmodule/tab/code",
      ct_search_tab_sitemap:							"/searchmodule/tab/sitemap",
      ct_acco:														"/productpage/##name##/page",
      ct_acco_tab:												"/productpage/##name##/tab/",
      ct_acco_select_product:							"/productpage/##name##/product/",
      ct_acco_select_persons:							"/productpage/##name##/numberofpersons/",
      ct_acco_select_month:								"/productpage/##name##/month/",
      ct_acco_select_nextmonth:						"/productpage/##name##/month/next",
      ct_acco_select_prevmonth:						"/productpage/##name##/month/previous",
      ct_acco_select_day:									"/productpage/##name##/day/",
      ct_acco_select_price:								"/productpage/##name##/price/",
      ct_acco_book_step1:									"/productpage/##name##/booking/step1",
      ct_acco_book_step2:									"/productpage/##name##/booking/step2",
      ct_acco_book_step3:									"/productpage/##name##/booking/step3",
      ct_acco_book_submit:								"/productpage/##name##/booking/submit",
      ct_acco_book_thanks:								"/productpage/##name##/booking/thankyou",
      ct_acco_book_plusperson:								"/accommodatie/##name##/boeken/persoonmeer",
      ct_acco_book_minperson:								"/accommodatie/##name##/boeken/persoonminder",
      ct_result:													"/searchresults/",
      ct_resultmap:												"/map/"
    },
    you_must_agree_to_the_terms_and_conditions: 'You must first agree to the terms and conditions before reservation can be completed.',
    you_must_agree_to_the_terms_and_conditions2:'You must first agree to the terms and conditions before reservation can be completed.',
		you_must_select_a_payment_method:						'U moet een van de betalingsmethoden selecteren voordat u uw reservering kunt afronden.',
		you_must_select_a_payment_method2:					'U moet een van de betalingsmethoden selecteren.',
    cancellation_text:													"Without cancellation insurance you risk financial loss if holiday must be aborted . No compensation for residing days, if your holiday is abruptly cancelled.\n\nAre you sure you do not require cancellation insurance?",
    discontinuance_text:												"",
    travel_text: 																"",
    cancellation_text2:													"Without cancellation insurance you risk financial loss if holiday must be aborted . No compensation for residing days, if your holiday is abruptly cancelled.\n\nAre you sure you do not require cancellation insurance?",
    discontinuance_text2:												"",
    travel_text2: 															"",
    error_checktermsofuse: 											'The reservation will only proceed when you agree with the general terms and conditions of Campingselection.co.uk.',
    calendar_select_date: 											'Please select a date between today and',
    homepage_newsletter_lastname: 							'Your surname',
    homepage_newsletter_initials: 							'Initials',
    no_preference: 															'No preference',
    error_budget_selectperiod: 									'First select a period before choosing a budget.',
    from: 																			'from',
    areas: 																			'areas',
    search_persons: 														'people',
    search_morethan8persons: 										'more than 8 people',
    search_morethan9persons: 										'9 - 20 personen',
    search_morethan20persons: 									'meer dan 20 personen',
    choose:																			'Choose',
    capitalize:																	'true',
    expandAll:                                  'All/ more options',
    collapseAll:                                'Lose all',
    legendClose:                                'Close Search Engine',
    legendOpen:                                 'Open Search Engine',
    mapSelection:                               '(with map)',
    booking_age_under_18:                       'Booking can only be done by a person aged 18 and over',
    less_info:																	'collapse',
    more_info:																	'expand',
    click_for_area:														  "Click here for the de environment photo&#39;s",
    click_for_accomodation:                     "Click here for the accommodation photo&#39;s",
    free_text_example:                          'e.g. "Holiday France" or "Camping Weekend"',
    booking_payment_conditions:                 'general conditions',
    searchtextsingle:														'',
    searchtextmultiple:													''
  },
  SpecialDecode: function(text)
  {
    return text.split("&uuml;").join("ü").split("&ouml;").join("ö").split("&auml;").join("ä").split("&Uuml;").join("Ü").split("&Ouml;").join("Ö").split("&Auml;").join("Ä").split("&#0223;").join("ß");
  },
  SpecialEncode: function(text)
  {
    return text.split("ü").join("&uuml;").split("ö").join("&ouml;").split("ä").join("&auml;").split("Ü").join("&Uuml;").split("Ö").join("&Ouml;").split("Ä").join("&Auml;").split("ß").join("&#0223;");
  },
  RemoveDiacritics: function(text)
  {
		var result = '';
		var i = 0;
		
		for (i = 0; i < text.length; i++)
		{
			switch (text.charAt(i))
			{
				case 'ü':
					result += 'u';
					break;
				case 'ö':
					result += 'o';
					break;
				case 'ä':
					result += 'a';
					break;
				case 'Ü':
					result += 'U';
					break;
				case 'Ö':
					result += 'O';
					break;
				case 'Ä':
					result += 'A';
					break;
				case 'ß':
					result += 'sz';
					break;
				case 'Ë':
					result += 'E';
					break;
				case 'ë':
					result += 'e';
					break;
				case 'è':
					result += 'e';
					break;
				case 'é':
					result += 'e';
					break;
				case 'È':
					result += 'E';
					break;
				case 'É':
					result += 'E';
					break;
				case 'æ':
					result += "ae";
					break;
				case 'Ø':
					result += 'o';
					break;
				case ' ':
					result += '-';
					break;
				default:
					result += text.charAt(i);
					break;
			}
		}

    return result;
  }
};

var resources = new Resources();
