var FblibConf = []; 
/**
* Base-URL of the CRS system.<br/>
* Please do not modify if you don"t know what you"re doing!
*/
FblibConf.FBRESA = "http://www.fastbookings.biz/DIRECTORY/";


/**
* Enable Google Analytics e-commerce interface setting this true.<br/>
* Default is false.
*/
FblibConf.googleAnalytics = {
	"useGa": false,
	"asynch": false,
	"varName": "pageTracker"
};

FblibConf.bookingForm = {
	"formId": "idForm",
	"FB_nb_day_delay": 7, 
	"type": "hidden",
	"nbnights" : true,
	"events": {
		'onLoad': [function (fblib) {
			jQuery('#datepick').val(FBBFDates.formatDate(fblib.form._getArrivalDate().getDateObject(),"dd/mm/yyyy"));
			jQuery('#datepick').dpSetSelected(fblib.form._getArrivalDate().getDateObject().asString());
			jQuery('#datepick').datePicker({clickInput:true, createButton: false})
						.bind('dateSelected', function(e, selectedDate, $td)
							{
								fblib.form._getArrivalDate().setDateObject(selectedDate);
							}
						);
				
		} ]
	}
	
	};
	
/**
* Enable debugging
**/
FblibConf.debug = false;

/**
* DO NOT MODIFY BELOW THIS LINE
*/
FblibConf.bookingForms = [];
var log = {
		toggle: function() {},
		move: function() {},
		resize: function() {},
		clear: function() {},
		debug: function() {},
		info: function() {},
		warn: function() {},
		error: function() {},
		profile: function() {}
	};
if ( FblibConf.debug === true ) {
	(function() {
		var bbjs = document.createElement('script'); bbjs.type = 'text/javascript'; bbjs.async = true;
		bbjs.src = 'http://store.demo-site.it/demofblibrary/blackbird/blackbird.js';
		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(bbjs);
		var bbcss = document.createElement('link'); bbcss.rel = 'stylesheet' ; bbcss.type="text/css";
		bbcss.href= 'http://store.demo-site.it/demofblibrary/blackbird/blackbird.css';
		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(bbcss);

	})();
} 
