/* SVN FILE:   $Id: System.js 703 2009-07-02 14:33:50Z a.rouel $
 * SVN HEADER: 1.0
 ***
 * $title           Core/System
 *
 * $description
 *    Schnittstelle zwischen einem Dokument und deren JavaScript-Funktionen.
 *    Angepasst für die Standortkarte der AHG. Lädt in Abhängigkeit der Domain
 *    unterschiedliche Schlüssel für die Nutzung der Google Maps API.
 *
 *    Verwendung:
 *      <body onload="System.load()" onunload="System.unload()"> 
 *
 *
 * $classname       System
 * $author          a.rouel
 * $copyright       $Copyright$
 * $version         $Revision: 703 $
 * $lastrevision    $Date: 2009-07-02 16:33:50 +0200 (Do, 02 Jul 2009) $
 * $modifiedby      $LastChangedBy: a.rouel $
 * $lastmodified    $LastChangedDate: 2009-07-02 16:33:50 +0200 (Do, 02 Jul 2009) $
 * $filesource      $URL: http://svn.babiel.com/Bundestag/trunk/Projekte/Relaunch2009/Projekte/HTML-Prototyp/html/includes/js/System.js $
 * $keywords        Google, Map, Karte, marker, Markierung, faculty, facility, Einrichtung, Fachbereich
 * $require         Google Maps API
 *
 */

var config = "/includes/js/config.json";
var configType = "jsonFile";
//var config = {"configuration": {"unsupportedUserAgents": {"userAgent":[ {"browserName":"Explorer", "browserVersion":5}, {"browserName":"Explorer", "browserVersion":5.5}, {"browserName":"Firefox", "browserVersion":1}, {"browserName":"Netscape", "browserVersion":4}, {"browserName":"Safari", "browserVersion":1}]}, "controllerLogger": {"object":"com.babiel.application.jsctrl.ConsoleLogger", "constructorArg":[ {"index":0, "value":"warn"}], "property":[ {"name":"name", "value":"ControllerLog"}]}, "components": {"component":[ {"id":"componentLog", "object":"com.babiel.application.jsctrl.ConsoleLogger", "constructorArg":[ {"index":0, "value":"warn"}], "property":[ {"name":"name", "value":"ComponentLog"}]}, {"object":"com.babiel.bundestag.application.ClearTextElementsInitialValueComponent"}, {"object":"com.babiel.bundestag.application.PrintComponent", "constructorArg":[ {"index":0, "value":".drucken"}, {"index":1, "value":"/includes/css/print_ohne.css"}]}, {"object":"com.babiel.bundestag.application.PrintComponent", "constructorArg":[ {"index":0, "value":".drucken_bilder"}, {"index":1, "value":"/includes/css/print.css"}]}, {"object":"com.babiel.bundestag.application.BookmarkComponent", "constructorArg":[ {"index":0, "value":".lesezeichen"}]}, {"object":"com.babiel.bundestag.application.QuickSearchComponent", "property":[ {"name":"htmlElementId", "value":"form_schnellsuche"}], "event":[ {"type":"focus", "method":"clear", "htmlElementId":"form_schnellsuche"}, {"type":"blur", "method":"reset", "htmlElementId":"form_schnellsuche"}]}, {"object":"com.babiel.bundestag.application.FoldOutBoxComponent", "constructorArg":[ {"index":0, "value":".klappBox"}, {"index":1, "value":".klappBoxTitel"}, {"index":2, "value":"aktiv"}, {"index":3, "value":".content"}]}]}}};
//var configType = "json";
var System = new com.babiel.application.jsctrl.Controller( configType, config );
