/*

Developed by:

      ___           ___                 
     /__/|         /__/\        ___     
    |  |:|         \  \:\      /  /\    
    |  |:|          \  \:\    /  /:/    
  __|  |:|      _____\__\:\  /__/::\    
 /__/\_|:|____ /__/::::::::\ \__\/\:\__ 
 \  \:\/:::::/ \  \:\~~\~~\/    \  \:\/\
  \  \::/~~~~   \  \:\  ~~~      \__\::/
   \  \:\        \  \:\          /__/:/ 
    \  \:\        \  \:\         \__\/  
     \__\/         \__\/               

*/

/*******************************
  Debug & Console
*******************************/
// Allow for console.log to not break IE
if (typeof console == "undefined" || typeof console.log == "undefined") {
	var console = { 
		log: function() {}
	};
}

/*******************************
        HTML5 Shiv
*******************************/
// Allow for console.log to not break IE





/*******************************
  Configuration Settings
*******************************/

// Declare Global Namespace
if(typeof(lbox) == 'undefined') {
	var lbox = {};	
}


/* Account Configuration */
lbox.settings = {
		
	// language
	language: 'en-us',
	
	chromeFrameRequired: true,
	
	// results detail page
	resultsActiveImage: 0,
	
	errors: {
		server: {
			// if AJAX request times out
			timeOutError: "Request timed out",
			
			// Generic no results error
			noResultsError: "We're sorry there are no results available for your query",
			
			// AJAX returns a server-side error message instead of a data object
			malformedResponseError: "We're currently experiencing technical difficulties, please check back later"
		},			
		form: {
			// Generic error message displayed above a form if using inline warnings
			generic: "This field is required",
			
			// Text before a list of errors to fix 
			errorListTitle: "Please fix the following errors:",
			
			// No first name entered
			noFirstName: "Please enter a first name",
			
			// No last name entered
			noLastName: "Please enter a last name",
			
			// No phone number entered
			noPhoneNumber: "Please enter a phone number",
			
			// No email entered
			noEmail: "Please enter an email address",
			
			// Invalid email entered
			invalidEmail: "Please enter a valid email address",
			
			// No contact subject has been entered 
			noSubject: "Please enter a subject",
			
			// No contact message has been entered
			noMessage: "Please enter a message",
			
			noZipcode: "Please enter your zip code",
			
			// Email address does not match confirmation email address
			emailMatch: "Please verify that your confirmation email matches your email address"
		}
	}
	
};
jQuery.extend(lbox, lbox.settings);

// after attached to lbox, unset temporary settings  object 
delete lbox.settings;
