var lang = {
	//General
	New : 'New',
	add : 'Add',
	loading : 'Loading...',
	downloads : 'Downloads',
	
	//slideset title
	minLengthText : 'Title must be at least {0} characters long', 
	maxLengthText : 'Title can be no longer than {0} characters',
	
	volume_button : 'Choose topic',
		
	//Figures
	unavailable : 'Images are currently unavailable',
	zoom : 'Zoom',
	add_to_slideset : 'Add to Image Set',
	filter : 'Filter',
	filter_all : 'All',
	filter_photographs : 'Photographs',
	filter_pathologies : 'Pathologies',
	filter_xrays : 'X-rays',
	view : 'View',
	view_show_titles : 'Titles: on',
	view_hide_titles : 'Titles: off',
	searching : 'Searching for \'{0}\'...',

	//MySlidesets
	slideset : 'Image set',
	my_slidesets : 'My Image Sets',
	create : 'Create a new image set',
	download : 'Download',
	download_selected : 'Download the selected image set',
	download_empty : 'Cannot download an empty image set',
	slideset_default_title : 'Image set 1',

	//Figure details
	figure_title : 'Image Detail',
	figure_email : 'Email this Image',
	figure_unavailable : 'Image details unavailable',
	figure_rating : 'Rated <b>{0}</b> by {1} users',
	figure_rating_updating : 'Updating...',
	figure_rating_error : 'Error updating',
	figure_rating_befirst : 'Rate this image',
	
		
	//Search
	search_button : 'Search',
	search_default : '',
	search_info : 'Showing search results {0} - {1} of {2} for <em>{3}</em>',
	search_info_none : 'No matches found for \'{0}\'',
	search_results : 'Search Results',
		
	//Download
	download_title : 'Download Image Set',
	download_sample_title : 'Download Sample Image Set',
	download_error : 'Error downloading image set',
	download_loading : 'Generating image set...',
	
	//Email
	email_title : 'Email this Image',
	
	//Help
	help_panel_title : 'Help',
	help_title : 'About The Braunwald ImageBank',
	help_unavailable : 'We are sorry but we are unable to display the about information at the moment',
	
	//Errors/Info
	error_heading : "Information",
	error_max_slideset_size : 'We are unable to add this image to this image set. The current image set is full. Image sets can contain up to ' + config.maxSlidesetSize + ' images.',
	error_max_slidesets : 'We are unable to create a new image set. A maximum of only ' + config.maxSlidesets + ' image sets can be created.',
	error_duplicate_figure : 'This image is already part of this image set. Images may be added to an image set only once.',
	error_server_conn : 'We are unable to connect to the server to save your image sets.',
	info_slideset_full : 'The image set is now full. Image sets can contain up to ' + config.maxSlidesetSize + ' images.',
	error_server : "There has been a problem saving your image sets.",
	
	//Register
	register_button : 'Register',
	register_title : 'Registration',
	register_error : {
		'-1' : 'We are sorry but there was an error processing your registration. Please try again.',
		'4' : 'Your email address has already been registered.'
	},
	register_invalid_email : 'Please enter a valid email address.',
	register_password_length : 'Your password must be at least 6 characters long.',
	register_password_match : 'The passwords you have entered do not match',

	//Login
	login_button : 'Log-in',
	
	//Offline
	offline_retry : 'Retry',
	
	//Email
	email_send : 'Send Email',
	email_message : 'Please enter a message.',
	email_invalid_from : 'Your email address is not valid.',
	email_invalid_to : 'The recipient&apos;s email address is not valid.',
	
	email_sending : 'Sending your email...',
	//email_sent : 'Your email has been sent.',
	email_error : 'There was an error sending your email. Please try again.',
	
	//Feedback
	feedback_send : 'Send',
	feedback_title : 'Feedback',
	feedback_invalid_email : 'Your email address is not valid.',
	feedback_empty_msg : 'Please enter a message.',
	feedback_sending : 'Sending your feedback...',
	//feedback_sent : 'Your feedback has been sent.',
	feedback_error : 'There was an error sending your feedback. Please try again.',
	
	//Home
	most_saved_figure : 'Most Downloaded',
	unrated_figure : 'Rate This Image',
	top_rated_figure : 'Top-Rated Image',
	
	//Confirm Delete Set
 	delete_set_title : 'Delete Image Set',
 	delete_set_msg : 'Are you sure you want to delete this image set?'

};