/**
 *	NS Application Config
 *	--------------------------
 *	Lost Boys - http://www.lostboys.nl
 *
 *	This file contains message and url properties for all applications within 
 *	the NS website. The generic POST urls "autocomplete" and "validate" are 
 *	defaults unless overwritten by individual applications.
 *	Applications may do so by adding a hidden input to the app's <form> with
 *	the same name as the global variable's. The input's value then indicates 
 *	the alternate url to post to.
 *	
 */


var Globals = {
		
	// messages
	MSG_REQUIRED:		'Niet alle verplichte velden zijn (juist) ingevuld.',
	MSG_ILLEGAL:		'Niet alle velden zijn (juist) ingevuld',
	MSG_DEPENDENT:		'Het veld is afhankelijk van een ander veld.',
	MSG_LOADING:		'Ik ben bezig de juiste informatie voor u op te zoeken. Een ogenblik geduld a.u.b.',

	MSG_REQUIRED_EN:	'Not all mandatory fields are filled out correctly.',
	MSG_ILLEGAL_EN:		'Not all fields are filled out correctly.',
	MSG_DEPENDENT_EN:	'the field is dependent on another field.',
	MSG_LOADING_EN:		'Ik ben bezig de juiste informatie voor u op te zoeken. Een ogenblik geduld a.u.b.',

	
	// locations
	URL_PRINT_PREVIEW:	'printspipreview.html',
	URL_SHOP_POPUP:		'NS.OVChip.Tx.Uitloggen_BestellingNietGeplaatst.html',
	URL_PRINT_MAP:		'printmap.html',
	URL_NETSTAT:		'http://nl.sitestat.com/ns/ns/s',


	// generic posts
	POST_AUTOCOMPLETE:	'static/xml/reisplanner/autocomplete.xml',
	POST_VALIDATE:		'static/xml/reisplanner/validatie.xml',


	// reisplanner posts
	POST_ALT_TRAVEL:	'static/xml/reisplanner/alttravel.xml',
	POST_ADVICE:		'static/xml/reisplanner/reisadvies.xml',
	POST_TIMETABLE:		'static/xml/reisplanner/reistijden.xml',
	POST_PREFERENCES:	'static/xml/reisplanner/preferences.xml',
	POST_TICKETRATES:	'static/xml/reisplanner/tarieven.xml',
	POST_STOPS:			'static/xml/reisplanner/tussenstations.xml',
	POST_RETURNFORM:	'static/xml/reisplanner/terugreis.xml',

	POST_SMS_DETAILS:	'static/xml/sms/details.xml',	// post of the first form
	POST_SMS_SUBSCRIBE:	'static/xml/sms/subscribe.xml',
	

	// OV Chip posts
	POST_OVCHIP_ORDER:		'static/xml/ovchipkaart/bestelling.xml',
	POST_OVCHIP_DETAILS:	'static/xml/ovchipkaart/details.xml',
	//POST_OVCHIP_DETAILS:	'static/xml/ovchipkaart/error.xml',
	POST_OVCHIP_PRICE:		'static/xml/ovchipkaart/prijs.xml',
	POST_OVCHIP_NUMBERS:	'static/xml/ovchipkaart/anderechips.xml',
	

	// tochtenplanner posts
	POST_TOCHT_DETAILS:		'static/xml/tochtenplanner/details.xml',
	POST_TOCHT_OPTIONS:		'static/xml/tochtenplanner/options.xml',
	POST_TOCHT_RECOMMEND:	'static/xml/tochtenplanner/aanbevelen.xml',


	// actuele vertrektijden posts
	POST_AVT_DETAILS: 'static/xml/actuele-vertrektijden/details.xml',
	//POST_AVT_DETAILS: 'static/xml/actuele-vertrektijden/error.xml', // error demo


	// stationsvoorzieningen posts
	POST_FACILITIES: 'static/xml/voorzieningen/details.xml',


	// wonderkaartje posts
	POST_WK_REDUCTIE:		'static/xml/wonderkaartje/kaartaantal.xml',
	POST_WK_CARDTYPES:		'static/xml/wonderkaartje/kaartsoorten.xml',
	POST_WK_ARRIVALSTATION:	'static/xml/wonderkaartje/aankomststation.xml',

	// Vergaderen posts
	POST_MEETINGS:			'static/xml/reisplanner/autocomplete.xml',
	
	// vraag en antwoord
	POST_VEA_DETAILS:	'static/xml/vraagenantwoord/details.xml',
	POST_VEA_ZIP:		'static/xml/vraagenantwoord/zipcode.xml',
	GET_VEA_LOADER:		'static/images/icons/loader.gif',
	GET_VEA_AGENT:		'static/swf/vera.swf',
	GET_VEA_BASE:		'static/swf/',
	

	// alt locations for searching, contains static html fragments
	GET_ALT_LOCATIONS:	'static/xml/reisplanner/alternatiefzoeken.xml',


	// static sms info
	GET_SMS_INFO:		'static/xml/sms/informatie.xml',
	GET_SMS_DETAILINFO:	'static/xml/sms/doorlopendinfo.xml',
	GET_SMS_EXAMPLE:	'static/xml/sms/voorbeeld.xml',
	GET_SMS_FORM:		'static/xml/sms/form.xml',


	//static servicepunten info
	GET_SERVICEPOINTS_INFO:	'static/xml/servicepunten/informatie_servicepunten.xml',


	//static vergoedingen info
	GET_COMPENSATION_INFO:	'static/xml/vergoeding/informatie_vergoedingen.xml',


	// static recommendation form
	GET_RECOMMENDATION_FORM:	'static/xml/tochtenplanner/aanbevelenform.xml',

	
	// external locations, used for dialogs
	URL_STATION_VERTREKTIJDEN:'http://www.ns.nl/?type=vertrektijden',
	URL_STATION_VOORZIENINGEN:'http://www.ns.nl/?type=voorzieningen'	
}