Source: septima.search.js

/**
 * @fileOverview Septima Search<br/>
 * Search local and remote sources.<br/><br/>
 * Simple demo (including source) <a href="../examples/simple/index.html">here</a><br/><br/>
 * See it in action here:<br/>
 * <a href="http://labs.septima.dk/search/cvr.html">http://labs.septima.dk/search/cvr.html</a>, and<br/>
 * <a href="http://sps-demo.septima.dk/cbkort?">http://sps-demo.septima.dk/cbkort?</a><br/>
 * 
 * @example <caption>Include these scripts:</caption>
 * &lt;!-- Include jquery --&gt;
 * &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
 * &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /&gt;
 * 
 * &lt;!-- Include common javascript libraries --&gt;
 * &lt;script type="text/javascript" src="http://common.cdn.septima.dk/latest/js/septima.js"&gt;&lt;/script&gt;
 * &lt;script type="text/javascript" src="http://common.cdn.septima.dk/latest/js/json2.js"&gt;&lt;/script&gt;
 * 
 * &lt;!-- Include septimaSearch --&gt;
 * &lt;script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"&gt;&lt;/script&gt;
 * &lt;link rel="stylesheet" type="text/css" href="http://search.cdn.septima.dk/{version}/css/defaultView.css"&gt;
 * 
 * @example <caption>Create an array of searchers:</caption>
 * var searchers = [];
 * var adressSearchOptions = {
 *     apiKey : 'FCF3FC50-C9F6-4D89-9D7E-6E3706C1A0BD',
 *     area : 'muncode0101',
 *     onSelect : adressHit};
 * 
 * searchers.push({title : 'Adresse', searcher : new Septima.Search.AddressSearcher(adressSearchOptions)});
 * 
 * @example <caption>Set up the search box:</caption>
 * var view = new Septima.Search.DefaultView({input : 'inputcontainer', placeholder : 'Søg'});
 * 
 * @example <caption>Initialize and start a controller:</caption>
 * var controller = new Septima.Search.Controller(
 * searchers,
 * view,
 * {onError : doSomethingWithError);
 * 
 * @example <caption>Do something when the user selects a hit:</caption>
 *function adressHit(result){
 *	alert("adress selected: " + result.data.presentationString);
 *}
 * 
 * @author Septima P/S www.septima.dk
 *
 * @version {version}
 *
 *
 *
 */
Septima.Search = {};