
function keyboard_all_keys() {
	$('#inter').keyboard({
		display: {
			'bksp'   : '⌧ Back',//\u2190
			'normal' : 'ABC',
			'meta1'  : '?123',
			'accept' : 'Enter',
			'clear' : 'Clear',
			'cancel' :	'<i class="glyphicon glyphicon-remove-circle close_details"></i>' 
		},
		layout: 'custom',
		customLayout: {
			'normal': [
				'q w e r t y u i o p',
				'a s d f g h j k l',
				'{s} z x c v b n m {accept}',
				'{meta1} {space} @ . {bksp} {clear} {cancel}'
			],
			'shift': [
				'Q W E R T Y U I O P',
				'A S D F G H J K L',
				'{s} Z X C V B N M {accept}',
				'{meta1} {space} @ . {bksp} {clear} {cancel}'
			],
			'meta1': [
				'1 2 3',
				'4 5 6',
				'7 9 8 0',
				'{normal} {accept} {bksp} {clear} {cancel}',
			]
		}
		,
		css: {
			// input & preview
			// "label-default" for a darker background
			// "light" for white text
			input: 'form-control input-sm dark',
			// keyboard container
			container: 'center-block well',
			// default state
			buttonDefault: 'btn btn-default',
			// hovered button
			buttonHover: 'btn-primary',
			// Action keys (e.g. Accept, Cancel, Tab, etc);
			// this replaces "actionClass" option
			buttonAction: 'active',
			// used when disabling the decimal button {dec}
			// when a decimal exists in the input area
			buttonDisabled: 'disabled'
		},
		accepted : function(e, keyboard, el){
			search_details(el);
		}
	});
}
function keyboard_num_keys() {
	$('#inter').keyboard({
		display: {
			'bksp'   : '⌧ Back',//\u2190
			'normal' : 'ABC',
			'meta1'  : '?123',
			'accept' : 'Enter',
			'clear' : 'Clear',
			'cancel' : '<i class="glyphicon glyphicon-remove-circle close_details"></i>' 
		},
		layout: 'custom',
		customLayout: {
			'normal': [
				'1 2 3',
				'4 5 6',
				'7 9 8 0',
				'{accept} {bksp} {clear} {cancel}'
			]
		}
		,
		css: {
			// input & preview
			// "label-default" for a darker background
			// "light" for white text
			input: 'form-control input-sm dark',
			// keyboard container
			container: 'center-block well',
			// default state
			buttonDefault: 'btn btn-default',
			// hovered button
			buttonHover: 'btn-primary',
			// Action keys (e.g. Accept, Cancel, Tab, etc);
			// this replaces "actionClass" option
			buttonAction: 'active',
			// used when disabling the decimal button {dec}
			// when a decimal exists in the input area
			buttonDisabled: 'disabled'
		},
		accepted : function(e, keyboard, el){
			search_details(el);
		}
	});
}
