code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
/** * ProxyStore is a superclass of {@link Ext.data.Store} and {@link Ext.data.BufferedStore}. It's never used directly, * but offers a set of methods used by both of those subclasses. * * We've left it here in the docs for reference purposes, but unless you need to make a whole new type of Store, what * you're probably looking for is {@link Ext.data.Store}. If you're still interested, here's a brief description of what * ProxyStore is and is not. * * ProxyStore provides the basic configuration for anything that can be considered a Store. It expects to be * given a {@link Ext.data.Model Model} that represents the type of data in the Store. It also expects to be given a * {@link Ext.data.proxy.Proxy Proxy} that handles the loading of data into the Store. * * ProxyStore provides a few helpful methods such as {@link #method-load} and {@link #sync}, which load and save data * respectively, passing the requests through the configured {@link #proxy}. * * Built-in Store subclasses add extra behavior to each of these functions. Note also that each ProxyStore subclass * has its own way of storing data - in {@link Ext.data.Store} the data is saved as a flat {@link Ext.util.Collection Collection}, * whereas in {@link Ext.data.BufferedStore BufferedStore} we use a {@link Ext.data.PageMap} to maintain a client side cache of pages of records. * * The store provides filtering and sorting support. This sorting/filtering can happen on the client side * or can be completed on the server. This is controlled by the {@link Ext.data.Store#remoteSort remoteSort} and * {@link Ext.data.Store#remoteFilter remoteFilter} config options. For more information see the {@link #method-sort} and * {@link Ext.data.Store#filter filter} methods. */ Ext.define('Ext.data.ProxyStore', { extend: 'Ext.data.AbstractStore', requires: [ 'Ext.data.Model', 'Ext.data.proxy.Proxy', 'Ext.data.proxy.Memory', 'Ext.data.operation.*' ], config: { // @cmd-auto-dependency {aliasPrefix: "model.", mvc: true, blame: "all"} /** * @cfg {String/Ext.data.Model} model * Name of the {@link Ext.data.Model Model} associated with this store. See * {@link Ext.data.Model#entityName}. * * May also be the actual Model subclass. * * This config is required for the store to be able to read data unless you have defined * the {@link #fields} config which will create an anonymous `Ext.data.Model`. */ model: undefined, // @cmd-auto-dependency {aliasPrefix: "data.field."} /** * @cfg {Object[]} fields * This may be used in place of specifying a {@link #model} configuration. The fields should be a * set of {@link Ext.data.Field} configuration objects. The store will automatically create a {@link Ext.data.Model} * with these fields. In general this configuration option should only be used for simple stores like * a two-field store of ComboBox. For anything more complicated, such as specifying a particular id property or * associations, a {@link Ext.data.Model} should be defined and specified for the {@link #model} * config. * @since 2.3.0 */ fields: null, // @cmd-auto-dependency {aliasPrefix : "proxy."} /** * @cfg {String/Ext.data.proxy.Proxy/Object} proxy * The Proxy to use for this Store. This can be either a string, a config object or a Proxy instance - * see {@link #setProxy} for details. * @since 1.1.0 */ proxy: undefined, /** * @cfg {Boolean/Object} autoLoad * If data is not specified, and if autoLoad is true or an Object, this store's load method is automatically called * after creation. If the value of autoLoad is an Object, this Object will be passed to the store's load method. * * It's important to note that {@link Ext.data.TreeStore Tree Stores} will * load regardless of autoLoad's value if expand is set to true on the * {@link Ext.data.TreeStore#root root node}. * * @since 2.3.0 */ autoLoad: undefined, /** * @cfg {Boolean} autoSync * True to automatically sync the Store with its Proxy after every edit to one of its Records. Defaults to false. */ autoSync: false, /** * @cfg {String} batchUpdateMode * Sets the updating behavior based on batch synchronization. 'operation' (the default) will update the Store's * internal representation of the data after each operation of the batch has completed, 'complete' will wait until * the entire batch has been completed before updating the Store's data. 'complete' is a good choice for local * storage proxies, 'operation' is better for remote proxies, where there is a comparatively high latency. */ batchUpdateMode: 'operation', /** * @cfg {Boolean} sortOnLoad * If true, any sorters attached to this Store will be run after loading data, before the datachanged event is fired. * Defaults to true, ignored if {@link Ext.data.Store#remoteSort remoteSort} is true */ sortOnLoad: true, /** * @cfg {Boolean} [trackRemoved=true] * This config controls whether removed records are remembered by this store for * later saving to the server. */ trackRemoved: true, /** * @private. * The delay time to kick of the initial autoLoad task */ autoLoadDelay: 1 }, onClassExtended: function(cls, data, hooks) { var model = data.model, onBeforeClassCreated; if (typeof model === 'string') { onBeforeClassCreated = hooks.onBeforeCreated; hooks.onBeforeCreated = function() { var me = this, args = arguments; Ext.require(model, function() { onBeforeClassCreated.apply(me, args); }); }; } }, /** * @private * @property {Boolean} * The class name of the model that this store uses if no explicit {@link #model} is given */ implicitModel: 'Ext.data.Model', blockLoadCounter: 0, loadsWhileBlocked: 0, /** * @property {Object} lastOptions * Property to hold the last options from a {@link #method-load} method call. This object is used for the {@link #method-reload} * to reuse the same options. Please see {@link #method-reload} for a simple example on how to use the lastOptions property. */ /** * @property {Number} autoSyncSuspended * A counter to track suspensions. * @private */ autoSyncSuspended: 0, //documented above constructor: function(config) { var me = this; // <debug> var configModel = me.model; // </debug> /** * @event beforeload * Fires before a request is made for a new data object. If the beforeload handler returns false the load * action will be canceled. * @param {Ext.data.Store} store This Store * @param {Ext.data.operation.Operation} operation The Ext.data.operation.Operation object that will be passed to the Proxy to * load the Store * @since 1.1.0 */ /** * @event load * Fires whenever the store reads data from a remote data source. * @param {Ext.data.Store} this * @param {Ext.data.Model[]} records An array of records * @param {Boolean} successful True if the operation was successful. * @since 1.1.0 */ /** * @event write * Fires whenever a successful write has been made via the configured {@link #proxy Proxy} * @param {Ext.data.Store} store This Store * @param {Ext.data.operation.Operation} operation The {@link Ext.data.operation.Operation Operation} object that was used in * the write * @since 3.4.0 */ /** * @event beforesync * Fired before a call to {@link #sync} is executed. Return false from any listener to cancel the sync * @param {Object} options Hash of all records to be synchronized, broken down into create, update and destroy */ /** * @event metachange * Fires when this store's underlying reader (available via the proxy) provides new metadata. * Metadata usually consists of new field definitions, but can include any configuration data * required by an application, and can be processed as needed in the event handler. * This event is currently only fired for JsonReaders. * @param {Ext.data.Store} this * @param {Object} meta The JSON metadata * @since 1.1.0 */ /** * Temporary cache in which removed model instances are kept until successfully * synchronised with a Proxy, at which point this is cleared. * * This cache is maintained unless you set `trackRemoved` to `false`. * * @protected * @property {Ext.data.Model[]} removed */ me.removed = []; me.blockLoad(); me.callParent(arguments); me.unblockLoad(); // <debug> if (!me.getModel() && me.useModelWarning !== false && me.getStoreId() !== 'ext-empty-store') { // There are a number of ways things could have gone wrong, try to give as much information as possible var logMsg = [ Ext.getClassName(me) || 'Store', ' created with no model.' ]; if (typeof configModel === 'string') { logMsg.push(" The name '", configModel, "'", ' does not correspond to a valid model.'); } Ext.log.warn(logMsg.join('')); } // </debug> }, updateAutoLoad: function(autoLoad) { var me = this, task; // Ensure the data collection is set up me.getData(); if (autoLoad) { task = me.loadTask || (me.loadTask = new Ext.util.DelayedTask(null, null, null, null, false)); // Defer the load until the store (and probably the view) is fully constructed task.delay(me.autoLoadDelay, me.attemptLoad, me, Ext.isObject(autoLoad) ? [autoLoad] : undefined); } }, /** * Returns the total number of {@link Ext.data.Model Model} instances that the {@link Ext.data.proxy.Proxy Proxy} * indicates exist. This will usually differ from {@link #getCount} when using paging - getCount returns the * number of records loaded into the Store at the moment, getTotalCount returns the number of records that * could be loaded into the Store if the Store contained all data * @return {Number} The total number of Model instances available via the Proxy. 0 returned if * no value has been set via the reader. */ getTotalCount: function() { return this.totalCount || 0; }, applyFields: function(fields) { if (fields) { this.createImplicitModel(fields); } }, applyModel: function(model) { if (model) { model = Ext.data.schema.Schema.lookupEntity(model); } // If no model, ensure that the fields config is converted to a model. else { this.getFields(); model = this.getModel() || this.createImplicitModel(); } return model; }, applyProxy: function(proxy) { var model = this.getModel(); if (proxy !== null) { if (proxy) { if (proxy.isProxy) { proxy.setModel(model); } else { if (Ext.isString(proxy)) { proxy = { type: proxy, model: model }; } else if (!proxy.model) { proxy = Ext.apply({ model: model }, proxy); } proxy = Ext.createByAlias('proxy.' + proxy.type, proxy); proxy.autoCreated = true; } } else if (model) { proxy = model.getProxy(); } if (!proxy) { proxy = Ext.createByAlias('proxy.memory'); proxy.autoCreated = true; } } return proxy; }, applyState: function (state) { var me = this, doLoad = me.getAutoLoad() || me.isLoaded(); me.blockLoad(); me.callParent([state]); me.unblockLoad(doLoad); }, updateProxy: function(proxy, oldProxy) { this.proxyListeners = Ext.destroy(this.proxyListeners); }, updateTrackRemoved: function (track) { this.cleanRemoved(); this.removed = track ? [] : null; }, /** * @private */ onMetaChange: function(proxy, meta) { this.fireEvent('metachange', this, meta); }, //saves any phantom records create: function(data, options) { var me = this, Model = me.getModel(), instance = new Model(data), operation; options = Ext.apply({}, options); if (!options.records) { options.records = [instance]; } options.internalScope = me; options.internalCallback = me.onProxyWrite; operation = me.createOperation('create', options); return operation.execute(); }, read: function() { return this.load.apply(this, arguments); }, update: function(options) { var me = this, operation; options = Ext.apply({}, options); if (!options.records) { options.records = me.getUpdatedRecords(); } options.internalScope = me; options.internalCallback = me.onProxyWrite; operation = me.createOperation('update', options); return operation.execute(); }, /** * @private * Callback for any write Operation over the Proxy. Updates the Store's MixedCollection to reflect * the updates provided by the Proxy */ onProxyWrite: function(operation) { var me = this, success = operation.wasSuccessful(), records = operation.getRecords(); switch (operation.getAction()) { case 'create': me.onCreateRecords(records, operation, success); break; case 'update': me.onUpdateRecords(records, operation, success); break; case 'destroy': me.onDestroyRecords(records, operation, success); break; } if (success) { me.fireEvent('write', me, operation); me.fireEvent('datachanged', me); } }, // may be implemented by store subclasses onCreateRecords: Ext.emptyFn, // may be implemented by store subclasses onUpdateRecords: Ext.emptyFn, /** * Removes any records when a write is returned from the server. * @private * @param {Ext.data.Model[]} records The array of removed records * @param {Ext.data.operation.Operation} operation The operation that just completed * @param {Boolean} success True if the operation was successful */ onDestroyRecords: function(records, operation, success) { if (success) { this.cleanRemoved(); } }, // tells the attached proxy to destroy the given records // @since 3.4.0 erase: function(options) { var me = this, operation; options = Ext.apply({}, options); if (!options.records) { options.records = me.getRemovedRecords(); } options.internalScope = me; options.internalCallback = me.onProxyWrite; operation = me.createOperation('destroy', options); return operation.execute(); }, /** * @private * Attached as the 'operationcomplete' event listener to a proxy's Batch object. By default just calls through * to onProxyWrite. */ onBatchOperationComplete: function(batch, operation) { return this.onProxyWrite(operation); }, /** * @private * Attached as the 'complete' event listener to a proxy's Batch object. Iterates over the batch operations * and updates the Store's internal data MixedCollection. */ onBatchComplete: function(batch, operation) { var me = this, operations = batch.operations, length = operations.length, i; if (me.batchUpdateMode !== 'operation') { me.suspendEvents(); for (i = 0; i < length; i++) { me.onProxyWrite(operations[i]); } me.resumeEvents(); } me.isSyncing = false; me.fireEvent('datachanged', me); }, /** * @private */ onBatchException: function(batch, operation) { // //decide what to do... could continue with the next operation // batch.start(); // // //or retry the last operation // batch.retry(); }, /** * @private * Filter function for new records. */ filterNew: function(item) { // only want phantom records that are valid return item.phantom === true && item.isValid(); }, /** * Returns all Model instances that are either currently a phantom (e.g. have no id), or have an ID but have not * yet been saved on this Store (this happens when adding a non-phantom record from another Store into this one) * @return {Ext.data.Model[]} The Model instances */ getNewRecords: function() { return []; }, /** * Returns all valid, non-phantom Model instances that have been updated in the Store but not yet synchronized with the Proxy. * @return {Ext.data.Model[]} The updated Model instances */ getUpdatedRecords: function() { return []; }, /** * Gets all {@link Ext.data.Model records} added or updated since the last commit. Note that the order of records * returned is not deterministic and does not indicate the order in which records were modified. Note also that * removed records are not included (use {@link #getRemovedRecords} for that). * @return {Ext.data.Model[]} The added and updated Model instances */ getModifiedRecords : function(){ return [].concat(this.getNewRecords(), this.getUpdatedRecords()); }, /** * @private * Filter function for updated records. */ filterUpdated: function(item) { // only want dirty records, not phantoms that are valid return item.dirty === true && item.phantom !== true && item.isValid(); }, /** * Returns any records that have been removed from the store but not yet destroyed on the proxy. * @return {Ext.data.Model[]} The removed Model instances */ getRemovedRecords: function() { return this.removed; }, /** * Synchronizes the store with its {@link #proxy}. This asks the proxy to batch together any new, updated * and deleted records in the store, updating the store's internal representation of the records * as each operation completes. * * @param {Object} [options] Object containing one or more properties supported by the sync method (these get * passed along to the underlying proxy's {@link Ext.data.Proxy#batch batch} method): * * @param {Ext.data.Batch/Object} [options.batch] A {@link Ext.data.Batch} object (or batch config to apply * to the created batch). If unspecified a default batch will be auto-created as needed. * * @param {Function} [options.callback] The function to be called upon completion of the sync. * The callback is called regardless of success or failure and is passed the following parameters: * @param {Ext.data.Batch} options.callback.batch The {@link Ext.data.Batch batch} that was processed, * containing all operations in their current state after processing * @param {Object} options.callback.options The options argument that was originally passed into sync * * @param {Function} [options.success] The function to be called upon successful completion of the sync. The * success function is called only if no exceptions were reported in any operations. If one or more exceptions * occurred then the failure function will be called instead. The success function is called * with the following parameters: * @param {Ext.data.Batch} options.success.batch The {@link Ext.data.Batch batch} that was processed, * containing all operations in their current state after processing * @param {Object} options.success.options The options argument that was originally passed into sync * * @param {Function} [options.failure] The function to be called upon unsuccessful completion of the sync. The * failure function is called when one or more operations returns an exception during processing (even if some * operations were also successful). In this case you can check the batch's {@link Ext.data.Batch#exceptions * exceptions} array to see exactly which operations had exceptions. The failure function is called with the * following parameters: * @param {Ext.data.Batch} options.failure.batch The {@link Ext.data.Batch} that was processed, containing all * operations in their current state after processing * @param {Object} options.failure.options The options argument that was originally passed into sync * * @param {Object} [options.params] Additional params to send during the sync Operation(s). * * @param {Object} [options.scope] The scope in which to execute any callbacks (i.e. the `this` object inside * the callback, success and/or failure functions). Defaults to the store's proxy. * * @return {Ext.data.Store} this */ sync: function(options) { var me = this, operations = {}, toCreate = me.getNewRecords(), toUpdate = me.getUpdatedRecords(), toDestroy = me.getRemovedRecords(), needsSync = false; //<debug> if (me.isSyncing) { Ext.log.warn('Sync called while a sync operation is in progress. Consider configuring autoSync as false.'); } //</debug> me.needsSync = false; if (toCreate.length > 0) { operations.create = toCreate; needsSync = true; } if (toUpdate.length > 0) { operations.update = toUpdate; needsSync = true; } if (toDestroy.length > 0) { operations.destroy = toDestroy; needsSync = true; } if (needsSync && me.fireEvent('beforesync', operations) !== false) { me.isSyncing = true; options = options || {}; me.proxy.batch(Ext.apply(options, { operations: operations, listeners: me.getBatchListeners() })); } return me; }, /** * @private * Returns an object which is passed in as the listeners argument to proxy.batch inside this.sync. * This is broken out into a separate function to allow for customisation of the listeners * @return {Object} The listeners object */ getBatchListeners: function() { var me = this, listeners = { scope: me, exception: me.onBatchException, complete: me.onBatchComplete }; if (me.batchUpdateMode === 'operation') { listeners.operationcomplete = me.onBatchOperationComplete; } return listeners; }, /** * Saves all pending changes via the configured {@link #proxy}. Use {@link #sync} instead. * @deprecated 4.0.0 Will be removed in the next major version */ save: function() { return this.sync.apply(this, arguments); }, /** * Loads the Store using its configured {@link #proxy}. * @param {Object} [options] This is passed into the {@link Ext.data.operation.Operation Operation} * object that is created and then sent to the proxy's {@link Ext.data.proxy.Proxy#read} function * * @return {Ext.data.Store} this * @since 1.1.0 */ load: function(options) { // Prevent loads from being triggered while applying initial configs if (this.isLoadBlocked()) { return; } var me = this, operation; me.setLoadOptions(options); if (me.getRemoteSort() && options.sorters) { me.fireEvent('beforesort', me, options.sorters); } operation = Ext.apply({ internalScope: me, internalCallback: me.onProxyLoad, scope: me }, options); me.lastOptions = operation; operation = me.createOperation('read', operation); if (me.fireEvent('beforeload', me, operation) !== false) { me.onBeforeLoad(operation); me.loading = true; me.clearLoadTask(); operation.execute(); } return me; }, /** * Reloads the store using the last options passed to the {@link #method-load} method. You can use the reload method to reload the * store using the parameters from the last load() call. For example: * * store.load({ * params : { * userid : 22216 * } * }); * * //... * * store.reload(); * * The initial {@link #method-load} execution will pass the `userid` parameter in the request. The {@link #reload} execution * will also send the same `userid` parameter in its request as it will reuse the `params` object from the last {@link #method-load} call. * * You can override a param by passing in the config object with the `params` object: * * store.load({ * params : { * userid : 22216, * foo : 'bar' * } * }); * * //... * * store.reload({ * params : { * userid : 1234 * } * }); * * The initial {@link #method-load} execution sends the `userid` and `foo` parameters but in the {@link #reload} it only sends * the `userid` paramter because you are overriding the `params` config not just overriding the one param. To only change a single param * but keep other params, you will have to get the last params from the {@link #lastOptions} property: * * var lastOptions = store.lastOptions, * lastParams = Ext.clone(lastOptions.params); // make a copy of the last params so we don't affect future reload() calls * * lastParams.userid = 1234; * * store.reload({ * params : lastParams * }); * * This will now send the `userid` parameter as `1234` and the `foo` param as `'bar'`. * * @param {Object} [options] A config object which contains options which may override the options passed to the previous load call. See the * {@link #method-load} method for valid configs. */ reload: function(options) { var o = Ext.apply({}, options, this.lastOptions); return this.load(o); }, onEndUpdate: function() { var me = this; if (me.needsSync && me.autoSync && !me.autoSyncSuspended) { me.sync(); } }, /** * @private * A model instance should call this method on the Store it has been {@link Ext.data.Model#join joined} to.. * @param {Ext.data.Model} record The model instance that was edited * @since 3.4.0 */ afterReject: function(record) { var me = this; // Must pass the 5th param (modifiedFieldNames) as null, otherwise the // event firing machinery appends the listeners "options" object to the arg list // which may get used as the modified fields array by a handler. // This array is used for selective grid cell updating by Grid View. // Null will be treated as though all cells need updating. if (me.contains(record)) { me.onUpdate(record, Ext.data.Model.REJECT, null); me.fireEvent('update', me, record, Ext.data.Model.REJECT, null); } }, /** * @private * A model instance should call this method on the Store it has been {@link Ext.data.Model#join joined} to. * @param {Ext.data.Model} record The model instance that was edited * @since 3.4.0 */ afterCommit: function(record, modifiedFieldNames) { var me = this; if (!modifiedFieldNames) { modifiedFieldNames = null; } if (me.contains(record)) { me.onUpdate(record, Ext.data.Model.COMMIT, modifiedFieldNames); me.fireEvent('update', me, record, Ext.data.Model.COMMIT, modifiedFieldNames); } }, afterErase: function(record) { this.onErase(record); }, onErase: Ext.emptyFn, onUpdate: Ext.emptyFn, /** * @private */ onDestroy: function() { var me = this, proxy = me.getProxy(); me.blockLoad(); me.clearData(); me.setProxy(null); if (proxy.autoCreated) { proxy.destroy(); } me.setModel(null); }, /** * Returns true if the store has a pending load task. * @return {Boolean} `true` if the store has a pending load task. * @private */ hasPendingLoad: function() { return !!this.loadTask || this.isLoading(); }, /** * Returns true if the Store is currently performing a load operation * @return {Boolean} `true` if the Store is currently loading */ isLoading: function() { return !!this.loading; }, /** * Returns `true` if the Store has been loaded. * @return {Boolean} `true` if the Store has been loaded. */ isLoaded: function() { return this.loadCount > 0; }, /** * Suspends automatically syncing the Store with its Proxy. Only applicable if {@link #autoSync} is `true` */ suspendAutoSync: function() { ++this.autoSyncSuspended; }, /** * Resumes automatically syncing the Store with its Proxy. Only applicable if {@link #autoSync} is `true` * @param {Boolean} syncNow Pass `true` to synchronize now. Only synchronizes with the Proxy if the suspension * count has gone to zero (We are not under a higher level of suspension) * */ resumeAutoSync: function(syncNow) { var me = this; //<debug> if (!me.autoSyncSuspended) { Ext.log.warn('Mismatched call to resumeAutoSync - auto synchronization is currently not suspended.'); } //</debug> if (me.autoSyncSuspended && ! --me.autoSyncSuspended) { if (syncNow) { me.sync(); } } }, /** * Removes all records from the store. This method does a "fast remove", * individual remove events are not called. The {@link #clear} event is * fired upon completion. * @method * @since 1.1.0 */ removeAll: Ext.emptyFn, // individual store subclasses should implement a "fast" remove // and fire a clear event afterwards // to be implemented by subclasses clearData: Ext.emptyFn, privates: { onExtraParamsChanged: function() { }, attemptLoad: function(options) { if (this.isLoadBlocked()) { ++this.loadsWhileBlocked; return; } this.load(options); }, blockLoad: function (value) { ++this.blockLoadCounter; }, clearLoadTask: function() { var loadTask = this.loadTask; if (loadTask) { loadTask.cancel(); this.loadTask = null; } }, cleanRemoved: function() { var removed = this.removed, len, i; if (removed) { for (i = 0, len = removed.length; i < len; ++i) { removed[i].unjoin(this); } removed.length = 0; } }, createOperation: function(type, options) { var me = this, proxy = me.getProxy(), listeners; if (!me.proxyListeners) { listeners = { scope: me, destroyable: true, beginprocessresponse: me.beginUpdate, endprocessresponse: me.endUpdate }; if (!me.disableMetaChangeEvent) { listeners.metachange = me.onMetaChange; } me.proxyListeners = proxy.on(listeners); } return proxy.createOperation(type, options); }, createImplicitModel: function(fields) { var me = this, modelCfg = { extend: me.implicitModel, statics: { defaultProxy: 'memory' } }, proxy, model; if (fields) { modelCfg.fields = fields; } model = Ext.define(null, modelCfg); me.setModel(model); proxy = me.getProxy(); if (proxy) { model.setProxy(proxy); } else { me.setProxy(model.getProxy()); } }, isLoadBlocked: function () { return !!this.blockLoadCounter; }, loadsSynchronously: function() { return this.getProxy().isSynchronous; }, onBeforeLoad: Ext.privateFn, removeFromRemoved: function(record) { var removed = this.removed; if (removed) { Ext.Array.remove(removed, record); record.unjoin(this); } }, setLoadOptions: function(options) { var me = this, filters, sorters; if (me.getRemoteFilter()) { filters = me.getFilters(false); if (filters && filters.getCount()) { options.filters = filters.getRange(); } } if (me.getRemoteSort()) { sorters = me.getSorters(false); if (sorters && sorters.getCount()) { options.sorters = sorters.getRange(); } } }, unblockLoad: function (doLoad) { var me = this, loadsWhileBlocked = me.loadsWhileBlocked; --me.blockLoadCounter; if (!me.blockLoadCounter) { me.loadsWhileBlocked = 0; if (doLoad && loadsWhileBlocked) { me.load(); } } } } });
AlexeyPopovUA/Learning-ExtJS-6-Classes
ext/packages/core/src/data/ProxyStore.js
JavaScript
gpl-2.0
35,909
USETEXTLINKS = 1 STARTALLOPEN = 0 WRAPTEXT = 1 PRESERVESTATE = 0 HIGHLIGHT = 1 ICONPATH = 'file:////Users/eric/github/popgenDB/sims_for_structure_paper/2PopDNAnorec_0.5_1000/' //change if the gif's folder is a subfolder, for example: 'images/' foldersTree = gFld("<i>ARLEQUIN RESULTS (2PopDNAnorec_1_76.arp)</i>", "") insDoc(foldersTree, gLnk("R", "Arlequin log file", "Arlequin_log.txt")) aux1 = insFld(foldersTree, gFld("Run of 31/07/18 at 17:02:31", "2PopDNAnorec_1_76.xml#31_07_18at17_02_31")) insDoc(aux1, gLnk("R", "Settings", "2PopDNAnorec_1_76.xml#31_07_18at17_02_31_run_information")) aux2 = insFld(aux1, gFld("Genetic structure (samp=pop)", "2PopDNAnorec_1_76.xml#31_07_18at17_02_31_pop_gen_struct")) insDoc(aux2, gLnk("R", "AMOVA", "2PopDNAnorec_1_76.xml#31_07_18at17_02_31_pop_amova")) insDoc(aux2, gLnk("R", "Pairwise distances", "2PopDNAnorec_1_76.xml#31_07_18at17_02_31_pop_pairw_diff"))
DIPnet/popgenDB
sims_for_structure_paper/2PopDNAnorec_0.5_1000/2PopDNAnorec_1_76.res/2PopDNAnorec_1_76.js
JavaScript
gpl-2.0
916
// Most of it was made by xPaw: https://gist.github.com/xPaw/73f8ae2031b4e528abf7 // Add following lines into manifest.json under content_scripts section (and tweak or remove date below): // { // "js": [ "js/autojoinSteamQueue.js" ], // "matches": [ "*://store.steampowered.com/*" ] // } const summer2018 = new Date(2018, 6, 6); if (Date.now() < summer2018) { // I will update extension after the sale and remove this injection but.. in case I die you're not stuck with useless button :) // We have to inject it like this to access global functions and variables const scriptToInject = `var DiscoveryQueueModal, GenerateQueue = function(queueNumber) { DiscoveryQueueModal = ShowBlockingWaitDialog('Exploring queue...', 'Generating new discovery queue #' + ++queueNumber); jQuery.post('//store.steampowered.com/explore/generatenewdiscoveryqueue', { sessionid: g_sessionID, queuetype: 0 }).done(function(data) { var requests = [], done = 0, errorShown; for (var i = 0; i < data.queue.length; i++) { var request = jQuery.post('//store.steampowered.com/app/10', { appid_to_clear_from_queue: data.queue[i], sessionid: g_sessionID }); request.done(function() { if (errorShown) { return; } DiscoveryQueueModal.Dismiss(); DiscoveryQueueModal = ShowBlockingWaitDialog('Exploring the queue...', 'Request ' + ++done + ' of ' + data.queue.length); }); request.fail(function() { errorShown = true; DiscoveryQueueModal.Dismiss(); DiscoveryQueueModal = ShowConfirmDialog('Error', 'Failed to clear queue item #' + ++done, 'Try again').done(function() { GenerateQueue(queueNumber - 1); }); }); requests.push(request); } jQuery.when.apply(jQuery, requests).done(function() { DiscoveryQueueModal.Dismiss(); if (queueNumber < 3) { GenerateQueue(queueNumber); } else { DiscoveryQueueModal = ShowConfirmDialog('Done', 'Queue has been explored ' + queueNumber + ' times', 'Reload the page').done(function() { ShowBlockingWaitDialog('Reloading the page'); window.location.reload(); }); } }); }).fail(function() { DiscoveryQueueModal.Dismiss(); DiscoveryQueueModal = ShowConfirmDialog('Error', 'Failed to generate new queue #' + queueNumber, 'Try again').done(function() { GenerateQueue(queueNumber - 1); }); }); };`; const script = document.createElement('script'); script.innerHTML = scriptToInject; document.body.appendChild(script); document.querySelector('.supernav_container') .insertAdjacentHTML('beforeend', '<a class="menuitem supernav" style="cursor: pointer; color: #FFD700" title="This button will be removed after the sale. Visit AutoJoin Steam group for more details." onclick="GenerateQueue(0)">AutoJoin Queue</a>'); }
ge-ku/AutoJoin-for-SteamGifts
js/autojoinSteamQueue.js
JavaScript
gpl-2.0
2,924
'use strict'; /** * Load all public assets, e.g js, css, images */ exports.register = function (server, options, next) { server.route({ method: 'GET', path: '/public/{params*}', config: { description: 'load assets', auth: false, handler: { directory: { path: 'public' } } } }); return next(); }; exports.register.attributes = { name: 'Assets' };
heron2014/Bubbles
lib/assets/index.js
JavaScript
gpl-2.0
425
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'image', 'ja', { alertUrl: 'イメージのURLを入力してください。', alt: '代替テキスト', border: 'ボーダー', btnUpload: 'サーバーに送信', button2Img: '選択したボタンを画像に置き換えますか?', hSpace: '横間隔', img2Button: '選択した画像をボタンに置き換えますか?', infoTab: 'イメージ 情報', linkTab: 'リンク', lockRatio: 'ロック比率', menu: 'イメージ プロパティ', resetSize: 'サイズリセット', title: 'イメージ プロパティ', titleButton: '画像ボタン プロパティ', upload: 'アップロード', urlMissing: 'イメージのURLを入力してください。', vSpace: '縦間隔', validateBorder: 'ボーダーは数値で入力してください。', validateHSpace: '横間隔は数値で入力してください。', validateVSpace: '縦間隔は数値で入力してください。' });
Gargadon/BanchouBlog
ckeditor/plugins/image/lang/ja.js
JavaScript
gpl-2.0
1,095
import {COMMENT_REPLY} from './../bundles/comment/actions' import { COMMENTS_RECEIVE } from './../bundles/thread/actions' function comments(state = {}, action) { switch (action.type) { case COMMENTS_RECEIVE: return { ...state, ...action.list } // case COMMENT_REPLY: // return { // ...state, // [action.id]: { // ...state[action.id], // _reply: !state[action.id]['_reply'] // } // } default: return state } } export default comments
pinchtools/piplet
app/javascript/packs/reducers/comments.js
JavaScript
gpl-2.0
541
/* * This file is part of Invenio. * Copyright (C) 2015 CERN. * * Invenio is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * Invenio is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Invenio; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ define( [ 'jquery', 'js/other/awesomplete' ], function($) { $('.circ_id_complete').each(function(i, element) { var awesomplete = new Awesomplete(element, {list: []}); var entity = $(element).data('entity'); var last_input = null; function success(data) { data = JSON.parse(data); var res = []; $(data).each(function(i, val) { res.push({label: val.value, value: val.id}); }); awesomplete.list = res; awesomplete.evaluate(); } $(element).on('input', function(event) { var search = {entity: entity, search: event.target.value}; var ajax_query = { type: "POST", url: "/circulation/api/entity/search_autocomplete", data: JSON.stringify(JSON.stringify(search)), success: success, contentType: 'application/json', }; function run() { var now = new Date(); if (now - last_input > 800) { $.ajax(ajax_query); } } last_input = new Date(); setTimeout(run, 1000); }); }); });
mvesper/invenio-circulation
invenio_circulation/static/js/circulation/circ_id_complete.js
JavaScript
gpl-2.0
2,045
(function ($) { /** * Attach the child dialog behavior to new content. */ Drupal.behaviors.overlayChild = { attach: function (context, settings) { // Make sure this behavior is not processed more than once. if (this.processed) { return; } this.processed = true; // If we cannot reach the parent window, break out of the overlay. if (!parent.Drupal || !parent.Drupal.overlay) { window.location = window.location.href.replace(/([?&]?)render=overlay&?/g, '$1').replace(/\?$/, ''); } var settings = settings.overlayChild || {}; // If the entire parent window should be refreshed when the overlay is // closed, pass that information to the parent window. if (settings.refreshPage) { parent.Drupal.overlay.refreshPage = true; } // If a form has been submitted successfully, then the server side script // may have decided to tell the parent window to close the popup dialog. if (settings.closeOverlay) { parent.Drupal.overlay.bindChild(window, true); // Use setTimeout to close the child window from a separate thread, // because the current one is busy processing Drupal behaviors. setTimeout(function () { if (typeof settings.redirect == 'string') { parent.Drupal.overlay.redirect(settings.redirect); } else { parent.Drupal.overlay.close(); } }, 1); return; } // If one of the regions displaying outside the overlay needs to be // reloaded immediately, let the parent window know. if (settings.refreshRegions) { parent.Drupal.overlay.refreshRegions(settings.refreshRegions); } // Ok, now we can tell the parent window we're ready. parent.Drupal.overlay.bindChild(window); // IE8 crashes on certain pages if this isn't called; reason unknown. window.scrollTo(window.scrollX, window.scrollY); // Attach child related behaviors to the iframe document. Drupal.overlayChild.attachBehaviors(context, settings); // There are two links within the message that informs people about the // overlay and how to disable it. Make sure both links are visible when // either one has focus and add a class to the wrapper for styling purposes. $('#overlay-disable-message', context) .focusin(function () { $(this).addClass('overlay-disable-message-focused'); $('a.element-focusable', this).removeClass('element-invisible'); }) .focusout(function () { $(this).removeClass('overlay-disable-message-focused'); $('a.element-focusable', this).addClass('element-invisible'); }); } }; /** * Overlay object for child windows. */ Drupal.overlayChild = Drupal.overlayChild || { behaviors: {} }; Drupal.overlayChild.prototype = {}; /** * Attach child related behaviors to the iframe document. */ Drupal.overlayChild.attachBehaviors = function (context, settings) { $.each(this.behaviors, function () { this(context, settings); }); }; /** * Capture and handle clicks. * * Instead of binding a click event handler to every link we bind one to the * document and handle events that bubble up. This also allows other scripts * to bind their own handlers to links and also to prevent overlay's handling. */ Drupal.overlayChild.behaviors.addClickHandler = function (context, settings) { $(document).bind('click.drupal-overlay mouseup.drupal-overlay', $.proxy(parent.Drupal.overlay, 'eventhandlerOverrideLink')); }; /** * Modify forms depending on their relation to the overlay. * * By default, forms are assumed to keep the flow in the overlay. Thus their * action attribute get a ?render=overlay suffix. */ Drupal.overlayChild.behaviors.parseForms = function (context, settings) { $('form', context).once('overlay', function () { // Obtain the action attribute of the form. var action = $(this).attr('action'); // Keep internal forms in the overlay. if (action == undefined || (action.indexOf('http') != 0 && action.indexOf('https') != 0)) { action += (action.indexOf('?') > -1 ? '&' : '?') + 'render=overlay'; $(this).attr('action', action); } // Submit external forms into a new window. else { $(this).attr('target', '_new'); } }); }; /** * Replace the overlay title with a message while loading another page. */ Drupal.overlayChild.behaviors.loading = function (context, settings) { var $title; var text = Drupal.t('Loading'); var dots = ''; $(document).bind('drupalOverlayBeforeLoad.drupal-overlay.drupal-overlay-child-loading', function () { $title = $('#overlay-title').text(text); var id = setInterval(function () { dots = (dots.length > 10) ? '' : dots + '.'; $title.text(text + dots); }, 500); }); }; /** * Switch active tab immediately. */ Drupal.overlayChild.behaviors.tabs = function (context, settings) { var $tabsLinks = $('#overlay-tabs > li > a'); $('#overlay-tabs > li > a').bind('click.drupal-overlay', function () { var active_tab = Drupal.t('(active tab)'); $tabsLinks.parent().siblings().removeClass('active').find('element-invisible:contains(' + active_tab + ')').appendTo(this); $(this).parent().addClass('active'); }); }; /** * If the shortcut add/delete button exists, move it to the overlay titlebar. */ Drupal.overlayChild.behaviors.shortcutAddLink = function (context, settings) { // Remove any existing shortcut button markup from the titlebar. $('#overlay-titlebar').find('.add-or-remove-shortcuts').remove(); // If the shortcut add/delete button exists, move it to the titlebar. var $addToShortcuts = $('.add-or-remove-shortcuts'); if ($addToShortcuts.length) { $addToShortcuts.insertAfter('#overlay-title'); } $(document).bind('drupalOverlayBeforeLoad.drupal-overlay.drupal-overlay-child-loading', function () { $('#overlay-titlebar').find('.add-or-remove-shortcuts').remove(); }); }; /** * Use displacement from parent window. */ Drupal.overlayChild.behaviors.alterTableHeaderOffset = function (context, settings) { if (Drupal.settings.tableHeaderOffset) { Drupal.overlayChild.prevTableHeaderOffset = Drupal.settings.tableHeaderOffset; } Drupal.settings.tableHeaderOffset = 'Drupal.overlayChild.tableHeaderOffset'; }; /** * Callback for Drupal.settings.tableHeaderOffset. */ Drupal.overlayChild.tableHeaderOffset = function () { var topOffset = Drupal.overlayChild.prevTableHeaderOffset ? eval(Drupal.overlayChild.prevTableHeaderOffset + '()') : 0; return topOffset + parseInt($(document.body).css('marginTop')); }; })(jQuery); ; (function ($) { /** * Retrieves the summary for the first element. */ $.fn.drupalGetSummary = function () { var callback = this.data('summaryCallback'); return (this[0] && callback) ? $.trim(callback(this[0])) : ''; }; /** * Sets the summary for all matched elements. * * @param callback * Either a function that will be called each time the summary is * retrieved or a string (which is returned each time). */ $.fn.drupalSetSummary = function (callback) { var self = this; // To facilitate things, the callback should always be a function. If it's // not, we wrap it into an anonymous function which just returns the value. if (typeof callback != 'function') { var val = callback; callback = function () { return val; }; } return this .data('summaryCallback', callback) // To prevent duplicate events, the handlers are first removed and then // (re-)added. .unbind('formUpdated.summary') .bind('formUpdated.summary', function () { self.trigger('summaryUpdated'); }) // The actual summaryUpdated handler doesn't fire when the callback is // changed, so we have to do this manually. .trigger('summaryUpdated'); }; /** * Sends a 'formUpdated' event each time a form element is modified. */ Drupal.behaviors.formUpdated = { attach: function (context) { // These events are namespaced so that we can remove them later. var events = 'change.formUpdated click.formUpdated blur.formUpdated keyup.formUpdated'; $(context) // Since context could be an input element itself, it's added back to // the jQuery object and filtered again. .find(':input').andSelf().filter(':input') // To prevent duplicate events, the handlers are first removed and then // (re-)added. .unbind(events).bind(events, function () { $(this).trigger('formUpdated'); }); } }; /** * Prepopulate form fields with information from the visitor cookie. */ Drupal.behaviors.fillUserInfoFromCookie = { attach: function (context, settings) { $('form.user-info-from-cookie').once('user-info-from-cookie', function () { var formContext = this; $.each(['name', 'mail', 'homepage'], function () { var $element = $('[name=' + this + ']', formContext); var cookie = $.cookie('Drupal.visitor.' + this); if ($element.length && cookie) { $element.val(cookie); } }); }); } }; })(jQuery); ; (function ($) { /** * The base States namespace. * * Having the local states variable allows us to use the States namespace * without having to always declare "Drupal.states". */ var states = Drupal.states = { // An array of functions that should be postponed. postponed: [] }; /** * Attaches the states. */ Drupal.behaviors.states = { attach: function (context, settings) { for (var selector in settings.states) { for (var state in settings.states[selector]) { new states.Dependent({ element: $(selector), state: states.State.sanitize(state), dependees: settings.states[selector][state] }); } } // Execute all postponed functions now. while (states.postponed.length) { (states.postponed.shift())(); } } }; /** * Object representing an element that depends on other elements. * * @param args * Object with the following keys (all of which are required): * - element: A jQuery object of the dependent element * - state: A State object describing the state that is dependent * - dependees: An object with dependency specifications. Lists all elements * that this element depends on. */ states.Dependent = function (args) { $.extend(this, { values: {}, oldValue: undefined }, args); for (var selector in this.dependees) { this.initializeDependee(selector, this.dependees[selector]); } }; /** * Comparison functions for comparing the value of an element with the * specification from the dependency settings. If the object type can't be * found in this list, the === operator is used by default. */ states.Dependent.comparisons = { 'RegExp': function (reference, value) { return reference.test(value); }, 'Function': function (reference, value) { // The "reference" variable is a comparison function. return reference(value); }, 'Number': function (reference, value) { // If "reference" is a number and "value" is a string, then cast reference // as a string before applying the strict comparison in compare(). Otherwise // numeric keys in the form's #states array fail to match string values // returned from jQuery's val(). return (value.constructor.name === 'String') ? compare(String(reference), value) : compare(reference, value); } }; states.Dependent.prototype = { /** * Initializes one of the elements this dependent depends on. * * @param selector * The CSS selector describing the dependee. * @param dependeeStates * The list of states that have to be monitored for tracking the * dependee's compliance status. */ initializeDependee: function (selector, dependeeStates) { var self = this; // Cache for the states of this dependee. self.values[selector] = {}; $.each(dependeeStates, function (state, value) { state = states.State.sanitize(state); // Initialize the value of this state. self.values[selector][state.pristine] = undefined; // Monitor state changes of the specified state for this dependee. $(selector).bind('state:' + state, function (e) { var complies = self.compare(value, e.value); self.update(selector, state, complies); }); // Make sure the event we just bound ourselves to is actually fired. new states.Trigger({ selector: selector, state: state }); }); }, /** * Compares a value with a reference value. * * @param reference * The value used for reference. * @param value * The value to compare with the reference value. * @return * true, undefined or false. */ compare: function (reference, value) { if (reference.constructor.name in states.Dependent.comparisons) { // Use a custom compare function for certain reference value types. return states.Dependent.comparisons[reference.constructor.name](reference, value); } else { // Do a plain comparison otherwise. return compare(reference, value); } }, /** * Update the value of a dependee's state. * * @param selector * CSS selector describing the dependee. * @param state * A State object describing the dependee's updated state. * @param value * The new value for the dependee's updated state. */ update: function (selector, state, value) { // Only act when the 'new' value is actually new. if (value !== this.values[selector][state.pristine]) { this.values[selector][state.pristine] = value; this.reevaluate(); } }, /** * Triggers change events in case a state changed. */ reevaluate: function () { var value = undefined; // Merge all individual values to find out whether this dependee complies. for (var selector in this.values) { for (var state in this.values[selector]) { state = states.State.sanitize(state); var complies = this.values[selector][state.pristine]; value = ternary(value, invert(complies, state.invert)); } } // Only invoke a state change event when the value actually changed. if (value !== this.oldValue) { // Store the new value so that we can compare later whether the value // actually changed. this.oldValue = value; // Normalize the value to match the normalized state name. value = invert(value, this.state.invert); // By adding "trigger: true", we ensure that state changes don't go into // infinite loops. this.element.trigger({ type: 'state:' + this.state, value: value, trigger: true }); } } }; states.Trigger = function (args) { $.extend(this, args); if (this.state in states.Trigger.states) { this.element = $(this.selector); // Only call the trigger initializer when it wasn't yet attached to this // element. Otherwise we'd end up with duplicate events. if (!this.element.data('trigger:' + this.state)) { this.initialize(); } } }; states.Trigger.prototype = { initialize: function () { var self = this; var trigger = states.Trigger.states[this.state]; if (typeof trigger == 'function') { // We have a custom trigger initialization function. trigger.call(window, this.element); } else { $.each(trigger, function (event, valueFn) { self.defaultTrigger(event, valueFn); }); } // Mark this trigger as initialized for this element. this.element.data('trigger:' + this.state, true); }, defaultTrigger: function (event, valueFn) { var self = this; var oldValue = valueFn.call(this.element); // Attach the event callback. this.element.bind(event, function (e) { var value = valueFn.call(self.element, e); // Only trigger the event if the value has actually changed. if (oldValue !== value) { self.element.trigger({ type: 'state:' + self.state, value: value, oldValue: oldValue }); oldValue = value; } }); states.postponed.push(function () { // Trigger the event once for initialization purposes. self.element.trigger({ type: 'state:' + self.state, value: oldValue, oldValue: undefined }); }); } }; /** * This list of states contains functions that are used to monitor the state * of an element. Whenever an element depends on the state of another element, * one of these trigger functions is added to the dependee so that the * dependent element can be updated. */ states.Trigger.states = { // 'empty' describes the state to be monitored empty: { // 'keyup' is the (native DOM) event that we watch for. 'keyup': function () { // The function associated to that trigger returns the new value for the // state. return this.val() == ''; } }, checked: { 'change': function () { return this.attr('checked'); } }, // For radio buttons, only return the value if the radio button is selected. value: { 'keyup': function () { // Radio buttons share the same :input[name="key"] selector. if (this.length > 1) { // Initial checked value of radios is undefined, so we return false. return this.filter(':checked').val() || false; } return this.val(); }, 'change': function () { // Radio buttons share the same :input[name="key"] selector. if (this.length > 1) { // Initial checked value of radios is undefined, so we return false. return this.filter(':checked').val() || false; } return this.val(); } }, collapsed: { 'collapsed': function(e) { return (e !== undefined && 'value' in e) ? e.value : this.is('.collapsed'); } } }; /** * A state object is used for describing the state and performing aliasing. */ states.State = function(state) { // We may need the original unresolved name later. this.pristine = this.name = state; // Normalize the state name. while (true) { // Iteratively remove exclamation marks and invert the value. while (this.name.charAt(0) == '!') { this.name = this.name.substring(1); this.invert = !this.invert; } // Replace the state with its normalized name. if (this.name in states.State.aliases) { this.name = states.State.aliases[this.name]; } else { break; } } }; /** * Create a new State object by sanitizing the passed value. */ states.State.sanitize = function (state) { if (state instanceof states.State) { return state; } else { return new states.State(state); } }; /** * This list of aliases is used to normalize states and associates negated names * with their respective inverse state. */ states.State.aliases = { 'enabled': '!disabled', 'invisible': '!visible', 'invalid': '!valid', 'untouched': '!touched', 'optional': '!required', 'filled': '!empty', 'unchecked': '!checked', 'irrelevant': '!relevant', 'expanded': '!collapsed', 'readwrite': '!readonly' }; states.State.prototype = { invert: false, /** * Ensures that just using the state object returns the name. */ toString: function() { return this.name; } }; /** * Global state change handlers. These are bound to "document" to cover all * elements whose state changes. Events sent to elements within the page * bubble up to these handlers. We use this system so that themes and modules * can override these state change handlers for particular parts of a page. */ { $(document).bind('state:disabled', function(e) { // Only act when this change was triggered by a dependency and not by the // element monitoring itself. if (e.trigger) { $(e.target) .attr('disabled', e.value) .filter('.form-element') .closest('.form-item, .form-submit, .form-wrapper')[e.value ? 'addClass' : 'removeClass']('form-disabled'); // Note: WebKit nightlies don't reflect that change correctly. // See https://bugs.webkit.org/show_bug.cgi?id=23789 } }); $(document).bind('state:required', function(e) { if (e.trigger) { if (e.value) { $(e.target).closest('.form-item, .form-wrapper').find('label').append('<span class="form-required">*</span>'); } else { $(e.target).closest('.form-item, .form-wrapper').find('label .form-required').remove(); } } }); $(document).bind('state:visible', function(e) { if (e.trigger) { $(e.target).closest('.form-item, .form-submit, .form-wrapper')[e.value ? 'show' : 'hide'](); } }); $(document).bind('state:checked', function(e) { if (e.trigger) { $(e.target).attr('checked', e.value); } }); $(document).bind('state:collapsed', function(e) { if (e.trigger) { if ($(e.target).is('.collapsed') !== e.value) { $('> legend a', e.target).click(); } } }); } /** * These are helper functions implementing addition "operators" and don't * implement any logic that is particular to states. */ { // Bitwise AND with a third undefined state. function ternary (a, b) { return a === undefined ? b : (b === undefined ? a : a && b); }; // Inverts a (if it's not undefined) when invert is true. function invert (a, invert) { return (invert && a !== undefined) ? !a : a; }; // Compares two values while ignoring undefined values. function compare (a, b) { return (a === b) ? (a === undefined ? a : true) : (a === undefined || b === undefined); } } })(jQuery); ;
sghinescu/baschetmania
sites/default/files/js/js_Fc4I144XPrPKyUpaWv36lNESuazCkfla6EpZyDPBOQk.js
JavaScript
gpl-2.0
21,554
//Menu teaser (function(){ jQuery(document).ready(function(){ if ( jQuery('header.header').hasClass("teaser-menu") ) { missTheme.options.header.params.teaser = 13; } jQuery('header.header.teaser-menu').find("nav > ul li a").each( function () { if ( jQuery(this).attr('title') ) { jQuery( '<small class="teaser">' + jQuery(this).attr('title') + '</small>' ).appendTo(this).animate({opacity: '1'},800); } } ); }); })();
qyom/pipstation
wp-content/themes/im-startup/assets/scripts/static/jquery/jquery.theme.menuteaser.js
JavaScript
gpl-2.0
450
var svg = d3.select("svg.header") .append("g") .translate((window.innerWidth-620)/2, 120) var radius = d3.scale.linear() .domain([0, 5]) .range([50, 10]) var theta = function(d){ switch(d){ case 0: return 102; case 1: return 173; case 2: return 232; case 3: return 278; case 4: return 315; case 5: return 340; } } svg.selectAll("circle") .data(d3.range(6)) .enter() .append("circle") .attr("r", radius) .attr("transform", function(d){ return "translate(90, 0) rotate("+theta(d)+",-90,0)"}) .attr("class", function(d){ return ["x", "y"][Math.floor(d/3)]+((d%3)+1) }) svg = d3.select("svg.footer") .append("g") .translate(620/2, 10) var x = d3.scale.linear() .domain([0, 5]) .range([-50, 50]) svg.selectAll("circle") .data(d3.range(6)) .enter() .append("circle") .attr("r", 7) .translate(function(d){ return [x(d), 0] }) .attr("class", function(d){ return ["x", "y"][Math.floor(d/3)]+((d%3)+1) })
mgold/Invitation-to-Another-Dimension
js/header.js
JavaScript
gpl-2.0
1,046
Template.comment.helpers({ submittedText: function() { var date = new Date(this.submitted); console.log("vote =====>", this); var d=date.getDate(); var m=date.getMonth()+1; var y=date.getFullYear(); return m + " - " + d + " - " + y; }, postID : function(postID){ this.postID = postID; return postID; }, up: function(){ var userId = Meteor.userId(); if (userId && _.include(this.upvoters, userId)) { return true; } else{ return false; } }, down: function(){ var userId = Meteor.userId(); if (userId && _.include(this.downvoters, userId)) { return true; }else{ return false; } }, // we will have to edit this function upvotedClass: function() { var userId = Meteor.userId(); if (userId && ( !_.include(this.upvoters, userId) || _.include(this.downvoters, userId) ) ) { return 'upvotable'; } else { return 'disabled'; } }, downvotedClass: function() { var userId = Meteor.userId(); if (userId && ( !_.include(this.downvoters, userId) || _.include(this.upvoters, userId) ) ) { return 'downvotable'; } else { return 'disabled'; } }, }); Template.comment.events({ 'click .upvotable': function(e) { e.preventDefault(); console.log("e =====>", e); var postID = this.postID; Meteor.call('upvoteComment', this._id, postID); }, 'click .downvotable': function(e) { e.preventDefault(); console.log("e =====>", e); var postID = this.postID; Meteor.call('downvoteComment', this._id, postID); }, 'click .translatable': function(e,t) { var curTarget = $(e.currentTarget), srcTxt = this.body, srcLang = 'en', tarLang = 'de'; Meteor.call('getTranslation', srcTxt, srcLang, tarLang, function(err, res){ if (res.error) {console.log("err", res.message); curTarget.closest('div.row').find('.translated-text').text('(' + "sorry, something went wrong" + ')');} else curTarget.closest('div.row').find('.translated-text').text('(' + res.message + ')'); }); } });
the-sumit/sumit-prototype
app/client/views/comments/comment.js
JavaScript
gpl-2.0
2,225
/* global _, angular */ angular.module('bidos') .controller('Subdomains', Subdomains); function Subdomains(Resources, $scope, $state) { Resources.get().then(function(data) { $scope.subdomains = _.filter(data.subdomains, {domain_id: parseInt($state.params.domainId)}); }); $scope.select = function (subdomain) { $state.go('bidos.domains.subdomains.items', {subdomainId: parseInt(subdomain.id)}); }; }
rwilhelm/bidos
app/src/core/components/subdomains/subdomains.controller.js
JavaScript
gpl-2.0
420
/** * @file * A JavaScript file for the theme. * * In order for this JavaScript to be loaded on pages, see the instructions in * the README.txt next to this file. */ // JavaScript should be made compatible with libraries other than jQuery by // wrapping it with an "anonymous closure". See: // - http://drupal.org/node/1446420 // - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth (function($, Drupal, window, document, undefined) { $(document).ready( function(){ if($("#block-nice-menus-1").length > 0){ $('#block-nice-menus-1').meanmenu({ meanMenuContainer: '.region-header', meanScreenWidth: "1100", meanRemoveAttrs: true, meanDisplay: "table", meanMenuOpen: "<span></span><span></span><span></span>", meanRevealPosition: "left", meanMenuClose: "<span></span><span></span><span></span>" }); jQuery("#block-block-10 .social-icon .search").click(function(event){ event.preventDefault(); jQuery("#block-search-form").fadeToggle("fast"); }); } jQuery('#toggle-text').click(function () { if(jQuery('#content-text').hasClass('.open')){ jQuery('#content-text').hide('slow').removeClass('.open'); jQuery('#toggle-text').html('Read More'); }else{ jQuery('#content-text').addClass('.open').show('slow'); jQuery('#toggle-text').html('Read Less'); } }); }); // Place your code here. })(jQuery, Drupal, this, this.document);
namitgarg/multi
sites/www.gonyon.com/themes/GonyonPlasticSurgery/js/script.js
JavaScript
gpl-2.0
1,610
function loadCashier(){ var data = 'action=loadCashier'; data += '&' + $('#osForm').serialize(); $.ajax({ url: 'OverShortCashierPage.php', data: data, success: function(response){ $('#display').html(response); $('#countSCA').focus(); } }); $('#date').val(''); $('#empno').val(''); } function resumSheet(){ var countTotal = 0; var osTotal = 0; var posTotal = 0; $('.tenderCode').each(function(){ var c = 0; var code = $(this).val(); if (code != 'CK') c = Number($('#count'+code).val()); else c = Number($('#countCK').html()); var p = Number($('#pos'+code).html()); var os = Math.round( (c - p)*100 ) / 100; if (code == 'CA'){ var sca = Number($('#countSCA').val()); posTotal += sca; os = Math.round( (c - p - sca)*100 ) / 100; } osTotal += os; countTotal += c; posTotal += p; $('#os'+code).html(os); }); $('#posT').html(Math.round(posTotal*100)/100); $('#countT').html(Math.round(countTotal*100)/100); $('#osT').html(Math.round(osTotal*100)/100); } function resumChecks(){ var checks = $('#checklisting').val(); var tmp = checks.split("\n"); var sum = 0; for (var i = 0; i < tmp.length; i++){ sum += Number(tmp[i]); } $('#countCK').html(Math.round(sum*100)/100); resumSheet(); } function save(){ var tenders = saveTenders(); var checks = saveChecks(); var notes = escape($('#notes').val()); var empno = $('#current_empno').val(); var tdate = $('#current_date').val(); var args = 'action=save&empno='+empno+'&date='+tdate+'&tenders='+tenders+'&checks='+checks+'&notes='+notes; $.ajax({ url: 'OverShortCashierPage.php', type: 'post', data: args, success: function(data){ alert(data); } }); } function saveTenders(){ var ret = ''; var sca = $('#countSCA').val(); ret += "SCA:"+sca; $('.tenderCode').each(function(){ var code = $(this).val(); ret += "|"+code+":"; if (code != 'CK') ret += $('#count'+code).val(); else ret += $('#count'+code).html(); }); return ret; } function saveChecks(){ var ret = ''; var checks = $('#checklisting').val(); var tmp = checks.split("\n") for (var i=0; i<tmp.length;i++){ ret += tmp[i]+","; } ret = ret.substring(0,ret.length - 1); return ret; } function sumCashCounter() { var entry = $('#cash-counter').val(); var regexp = /[0-9\.]+/g; var numbers = entry.match(regexp); var sum = 0.0; for (var i=0; i<numbers.length; i++) { sum += Number(numbers[i]); } if (sum > 0) { $('#countCA').val(sum); } }
GeorgeStreetCoop/CORE-POS
fannie/modules/plugins2.0/OverShortTools/js/cashier.js
JavaScript
gpl-2.0
2,531
spellEffects[ 'junglecreatures' ] = function( args ) { var self = this, _ccd = Component.bugcraft.currentCharacterObject.characterData, _moveFrames = {}, _tc = args.targetCharacter, _tcd = _tc.characterData, _changeFrameFunctionPointer = null, _currentIndex = 1, _maxFrames = 1, _backgroundSound = null; this.ID = spellEffects.layer[0].push( this ) - 1; this.characterSpellEffectID = _tc._internal.spellEffects.push( this ) - 1; this.offsetX = 20; this.offsetY = 20; this.rotation = _tcd.character_rotation; this.deleteRange = 40; this.previousX = _tcd.character_zone_x - this.offsetX; this.previousY = _tcd.character_zone_y - this.offsetY; // initialize var _soundLoop = function() { _backgroundSound = Application.sound.playExclusive({ url: '/components/bugcraft/resources/public/component.bugcraft.spellEffects/sounds/junglecreatures/junglecreatures.mp3', volume: spellEffects.volumeByRangeVoice( _ccd.character_zone_x, _ccd.character_zone_y, _tcd.character_zone_x, _tcd.character_zone_y, spellEffects.volumeRangeLong ), onFinish: function() { _soundLoop(); } }); } // for(var i=1;i<=_maxFrames;i++) // { // _moveFrames[ i ] = { image: new Image(), alpha: 0 }; // _moveFrames[ i ].image.src = '/components/bugcraft/resources/public/component.bugcraft.spellEffects/images/junglecreatures/junglecreatures' + i + '.png'; // } //draw the bombardierBeetleDeath spatter this.draw = function() { // Map.ctx.save(); // Map.ctx.translate( self.previousX + self.offsetX + Map.viewPortX, self.previousY + self.offsetY + Map.viewPortY ); // Map.ctx.rotate( ( self.rotation - 90 ) * Math.PI / 180 ); // Map.ctx.shadowColor = 'rgba(0, 0, 0, 0.7)'; // Map.ctx.shadowOffsetX = 3; // Map.ctx.shadowOffsetY = 3; // Map.ctx.drawImage( // _moveFrames[ _currentIndex ].image, // - self.offsetX, // - self.offsetY // ); // Map.ctx.restore(); // Map.ctx.globalAlpha = 1; } //remove the deathDecay this.remove = function() { clearTimeout( _changeFrameFunctionPointer ); if( _backgroundSound ) { _backgroundSound.stop(); } spellEffects.layerCleaner.push( this ); spellEffects.layer[0][ this.ID ] = null; delete _tc._internal.spellEffects[ this.characterSpellEffectID ]; } var _changeFrameFunction = function() { _currentIndex++; if( _currentIndex > _maxFrames ) { _currentIndex = 1; setTimeout( _changeFrameFunction, 2000 + Math.random() * 5000 ); return; } _changeFrameFunctionPointer = setTimeout( _changeFrameFunction, 100 ); } _soundLoop(); // _changeFrameFunction(); } //end bombardierBeetleDeath
victoralex/gameleon
public_web/components/bugcraft/resources/public/component.bugcraft.spellEffects/class.spellEffects.junglecreatures.js
JavaScript
gpl-2.0
3,074
define([ "helpers/contract", "helpers/types", "components/content/views/content/single/view", "components/content/views/content/multi/view" ], function(contract, types, SingleView, MultiView) { function getView(options) { contract(options, "object_type"); var type = types.baseObjectType(options.object_type); // if this is a singular wordpress type, return the SingleView. // otherwise, its a MultiView by default. // To override this behavior, specify or register a custom view factory. if (type === "post" || type === "page") return SingleView; else return MultiView; } return { getView: getView }; });
localnerve/wpspa
app/components/content/views/content/main.js
JavaScript
gpl-2.0
674
var mdf_range_update = false; jQuery(function() { if (!jQuery('#pn_html_buffer').length) { jQuery('body').append('<div id="pn_html_buffer" class="mdf_info_popup" style="display: none;"></div>'); jQuery('body').append('<div id="pn_html_buffer2" style="display: none;"></div>'); } //+++ mdf_hide_empty_blocks_titles(); //*** if (post_features_panel_auto == 1) { var mdf_title_data = jQuery('.mdf_title_data'); jQuery.each(mdf_title_data, function(index, value) { var clone = jQuery(value).clone(); jQuery(value).parents(':eq(' + under_title_out + ')').after(clone); jQuery(value).remove(); }); } jQuery('.mdf_title_data').show(); //+++ mdf_tooltip_init(); mdf_init_checkboxes_scroll(); mdf_init_selects(); //+++ jQuery('.mdf_range_min').life('change', function() { var slider_id = jQuery(this).data('slider-id'); mdf_range_update = true; jQuery("#" + slider_id).ionRangeSlider("update", { from: parseInt(jQuery(this).val(), 10) }); mdf_range_update = false; //jQuery("#" + slider_id).slider("values", 0, parseInt(jQuery(this).val(), 10)); }); jQuery('.mdf_range_max').life('change', function() { var slider_id = jQuery(this).data('slider-id'); mdf_range_update = true; jQuery("#" + slider_id).ionRangeSlider("update", { to: parseInt(jQuery(this).val(), 10) }); mdf_range_update = false; //jQuery("#" + slider_id).slider("values", 1, parseInt(jQuery(this).val(), 10)); }); //css selects mdf_init_selects(); //work with taxonomy //select jQuery('.mdf_taxonomy').life('change', function() { mdf_deinit_chosen_selects(); var tax_name = jQuery(this).data('tax-name'); if (tax_name == 'post_tag') { //return true; } //+++ jQuery(this).next('.mdf_taxonomy_child_container').show(200); var _this = this; var is_auto_submit = jQuery(this).parents('.mdf_input_container').hasClass('mdf_tax_auto_submit'); var slug = jQuery(this).parents('form').find('input[name="mdf[mdf_widget_options][slug]"]').val(); var form = jQuery(this).parents('form'); var data = { action: "mdf_draw_term_childs", type: 'select', tax_name: tax_name, mdf_parent_id: jQuery(this).val(), hide: jQuery(this).data('hide'), page_mdf: jQuery(this).parents('form').find('.hidden_page_mdf_for_ajax').val(), meta_data_filter_cat: jQuery(this).parents('form').find('input[name="mdf[mdf_widget_options][meta_data_filter_cat]"]').val(), slug: slug, is_auto_submit: is_auto_submit }; jQuery.post(ajaxurl, data, function(content) { if (is_auto_submit) { jQuery(_this).next('.mdf_taxonomy_child_container').hide(); } jQuery(_this).next('.mdf_taxonomy_child_container').html(content); if (!content) { jQuery(_this).next('.mdf_taxonomy_child_container').hide().html(mdf_tax_loader); } if (jQuery(_this).parents('.mdf_input_container').hasClass('mdf_tax_auto_submit')) { jQuery(_this).parents('form').submit(); } //ajax recount if (jQuery(form).hasClass('mdf_ajax_auto_recount')) { mdf_ajax_data_recount(jQuery(form).attr('id'), slug); } }); return true; }); //checkbox jQuery('.mdf_taxonomy_checkbox').life('click', function() { var tax_name = jQuery(this).data('tax-name'); var is_auto_submit = jQuery(this).parents('.mdf_input_container').hasClass('mdf_tax_auto_submit'); var form = jQuery(this).parents('form'); if (!jQuery(this).hasClass('mdf_has_childs') && !jQuery(form).hasClass('mdf_ajax_auto_recount')) { if (is_auto_submit) { jQuery(this).parents('form').submit(); } return true; } //+++ if (tax_name == 'post_tag') { //return true; } //+++ var _this = this; var term_id = jQuery(this).val(); var slug = jQuery(this).parents('form').find('input[name="mdf[mdf_widget_options][slug]"]').val(); //+++ if (jQuery(this).is(":checked")) { jQuery(this).prev("input[type=hidden]").val(term_id); jQuery(_this).parent().find('.mdf_taxonomy_child_container').show(200); var data = { action: "mdf_draw_term_childs", type: 'checkbox', tax_name: tax_name, mdf_parent_id: term_id, hide: jQuery(this).data('hide'), page_mdf: jQuery(this).parents('form').find('.hidden_page_mdf_for_ajax').val(), meta_data_filter_cat: jQuery(this).parents('form').find('input[name="mdf[mdf_widget_options][meta_data_filter_cat]"]').val(), slug: slug, is_auto_submit: is_auto_submit }; jQuery.post(ajaxurl, data, function(content) { if (is_auto_submit) { jQuery(_this).parent().find('.mdf_taxonomy_child_container').hide(); } jQuery(_this).parent().find('.mdf_taxonomy_child_container').html(content); if (!content) { jQuery(_this).parent().find('.mdf_taxonomy_child_container').hide().html(mdf_tax_loader); } if (jQuery(_this).parents('.mdf_input_container').hasClass('mdf_tax_auto_submit')) { jQuery(_this).parents('form').submit(); } //ajax recount if (jQuery(form).hasClass('mdf_ajax_auto_recount')) { mdf_ajax_data_recount(jQuery(form).attr('id'), slug); } }); } else { jQuery(_this).parent().find('.mdf_taxonomy_child_container').hide().html(mdf_tax_loader); if (jQuery(this).parents('.mdf_input_container').hasClass('mdf_tax_auto_submit')) { jQuery(this).parents('form').submit(); } //ajax recount if (jQuery(form).hasClass('mdf_ajax_auto_recount')) { mdf_ajax_data_recount(jQuery(form).attr('id'), slug); } } return true; }); //+++ //for shortcode try { jQuery('.mdf_shortcode_container .mdf_widget_found_count span').html(mdf_found_totally); } catch (e) { } }); function mdf_draw_ui_slider_items(act_without_button, uniqid) { var items = jQuery(".ui_slider_item_" + uniqid); jQuery.each(items, function(key, item) { var input = jQuery(item).next('input'); mdf_init_range_sliders(item, input, act_without_button, uniqid); }); } function mdf_get_ui_slider_step(input) { var step = jQuery(input).data('step'); if (!step) { step = Math.ceil(parseInt((jQuery(input).data('max') - jQuery(input).data('min')) / 100, 10)); } return step; } function mdf_init_range_sliders(item, input, act_without_button, uniqid) { try { jQuery(item).ionRangeSlider({ min: jQuery(input).data('min'), max: jQuery(input).data('max'), from: jQuery(input).data('min-now'), to: jQuery(input).data('max-now'), type: 'double', prefix: jQuery(input).data('slider-prefix'), postfix: jQuery(input).data('slider-postfix'), //maxPostfix: "+", prettify: jQuery(input).data('slider-prettify'), hideMinMax: false, hideFromTo: false, hasGrid: true, step: mdf_get_ui_slider_step(input), onFinish: function(ui) { jQuery(input).val(ui.fromNumber + '^' + ui.toNumber); jQuery(input).parent().find('.mdf_range .mdf_range_min').val(ui.fromNumber); jQuery(input).parent().find('.mdf_range .mdf_range_max').val(ui.toNumber); if (act_without_button) { jQuery("#meta_data_filter_" + uniqid).submit(); } //ajax recount if (jQuery("#meta_data_filter_" + uniqid).hasClass('mdf_ajax_auto_recount')) { mdf_ajax_data_recount(jQuery("#meta_data_filter_" + uniqid).attr('id'), jQuery("#meta_data_filter_" + uniqid).data('slug')); } return false; }, onChange: function(ui) { jQuery(input).val(ui.fromNumber + '^' + ui.toNumber); jQuery(input).parent().find('.mdf_range .mdf_range_min').val(ui.fromNumber); jQuery(input).parent().find('.mdf_range .mdf_range_max').val(ui.toNumber); }, onLoad: function(ui) { if (mdf_range_update) { jQuery(input).val(ui.fromNumber + '^' + ui.toNumber); jQuery(input).parent().find('.mdf_range .mdf_range_min').val(ui.fromNumber); jQuery(input).parent().find('.mdf_range .mdf_range_max').val(ui.toNumber); if (act_without_button) { jQuery("#meta_data_filter_" + uniqid).submit(); } //ajax recount if (jQuery("#meta_data_filter_" + uniqid).hasClass('mdf_ajax_auto_recount')) { mdf_ajax_data_recount(jQuery("#meta_data_filter_" + uniqid).attr('id'), jQuery("#meta_data_filter_" + uniqid).data('slug')); } return false; } } }); } catch (e) { /* jQuery(item).slider({ min: jQuery(input).data('min'), max: jQuery(input).data('max'), values: [jQuery(input).data('min-now'), jQuery(input).data('max-now')], range: true, step: mdf_get_ui_slider_step(input), slide: function(event, ui) { jQuery(input).val(ui.values[0] + '^' + ui.values[1]); jQuery(input).parent().find('.mdf_range .mdf_range_min').val(ui.values[0]); jQuery(input).parent().find('.mdf_range .mdf_range_max').val(ui.values[1]); }, change: function(event, ui) { jQuery(input).val(ui.values[0] + '^' + ui.values[1]); jQuery(input).parent().find('.mdf_range .mdf_range_min').val(ui.values[0]); jQuery(input).parent().find('.mdf_range .mdf_range_max').val(ui.values[1]); if (act_without_button) { jQuery("#meta_data_filter_" + uniqid).submit(); } //ajax recount if (jQuery("#meta_data_filter_" + uniqid).hasClass('mdf_ajax_auto_recount')) { mdf_ajax_data_recount(jQuery("#meta_data_filter_" + uniqid).attr('id'), jQuery("#meta_data_filter_" + uniqid).data('slug')); } } }); */ } } function mdf_click_checkbox(_this) { if (jQuery(_this).is(":checked")) { jQuery(_this).prev("input[type=hidden]").val(1); jQuery(_this).next("input[type=hidden]").val(1); jQuery(_this).val(1); } else { jQuery(_this).prev("input[type=hidden]").val('~'); jQuery(_this).next("input[type=hidden]").val('~'); jQuery(_this).val('~'); } return true; } function mdf_init_search_form(uniqid, slug, search_url, act_without_button, ajax_searching) { if (act_without_button === 1) { //checkbox actions jQuery("#meta_data_filter_" + uniqid + " .mdf_option_checkbox").life('click', function() { mdf_click_checkbox(this); jQuery("#meta_data_filter_" + uniqid).submit(); return true; }); //select actions jQuery("#meta_data_filter_" + uniqid + " .mdf_filter_select").life('change', function() { jQuery("#meta_data_filter_" + uniqid).submit(); return true; }); } else { jQuery("#meta_data_filter_" + uniqid + " .mdf_option_checkbox").unbind('click'); jQuery("#meta_data_filter_" + uniqid + " .mdf_option_checkbox").life('click', function() { mdf_click_checkbox(this); //recount items count by ajax if (ajax_searching) { mdf_ajax_data_recount("meta_data_filter_" + uniqid, slug); } }); jQuery("#meta_data_filter_" + uniqid + " .mdf_filter_select").unbind('change'); jQuery("#meta_data_filter_" + uniqid + " .mdf_filter_select").life('change', function() { //recount items count by ajax if (ajax_searching) { mdf_ajax_data_recount("meta_data_filter_" + uniqid, slug); } }); } //+++ mdf_draw_ui_slider_items(act_without_button, uniqid); //+++ mdf_init_submit_button(uniqid, slug, search_url); } function mdf_init_submit_button(uniqid, slug, search_url) { var submit_mode = 'submit'; jQuery('#meta_data_filter_' + uniqid + ' .mdf_reset_button').click(function() { submit_mode = 'reset'; jQuery("#meta_data_filter_" + uniqid).submit(); return false; }); var form_id = "meta_data_filter_" + uniqid; var is_ajaxed_reset = false; //check is form inserted in popup var is_in_popup = false; if (jQuery(this).parents('.advanced_wp_popup_content')) { is_in_popup = true; is_ajaxed_reset = true; } //*** var type = 'widget'; var shortcode_id = 0; var widget_id = 0; var sidebar_name = ""; var sidebar_id = 0; if (jQuery("#" + form_id).hasClass('mdf_shortcode_form')) { type = 'shortcode'; shortcode_id = jQuery("#" + form_id).data('shortcode-id'); } if (type == 'widget') { sidebar_name = jQuery("#" + form_id).data('sidebar-name'); sidebar_id = jQuery("#" + form_id).data('sidebar-id'); widget_id = jQuery("#" + form_id).data('widget-id'); } jQuery("#meta_data_filter_" + uniqid).submit(function() { jQuery(this).find("input[type='submit'], .mdf_reset_button").replaceWith(mdf_tax_loader); jQuery("#meta_data_filter_" + uniqid + " .mdf_one_moment_txt span").show(); var mdf_widget_search_url = search_url + "slg=" + slug + "&"; var data = { action: "mdf_encode_search_get_params", vars: jQuery(this).serialize(), mode: submit_mode, mdf_front_qtrans_lang: mdf_front_qtrans_lang, type: type, shortcode_id: shortcode_id, sidebar_id: sidebar_id, sidebar_name: sidebar_name, widget_id: widget_id, is_ajaxed_reset: is_ajaxed_reset }; jQuery.post(ajaxurl, data, function(response) { if (is_ajaxed_reset && submit_mode == 'reset' && type == 'shortcode') { jQuery("#meta_data_filter_" + uniqid).parents('.mdf_shortcode_container').replaceWith(response); mdf_init_selects(); //mdf_ajax_data_recount(form_id, slug); } else { if (mdf_widget_search_url.substring(0, 4) == 'self') { mdf_widget_search_url = mdf_widget_search_url.replace('self', (mdf_current_page_url.length>0 ? mdf_current_page_url : window.location.href)); } if (mdf_widget_search_url.match(/\?/g).length > 1) { var index = mdf_widget_search_url.lastIndexOf('?'); mdf_widget_search_url = mdf_widget_search_url.substr(0, index) + '&' + mdf_widget_search_url.substr(index + 1); } //only for project TODO //mdf_widget_search_url = mdf_widget_search_url.replace("#butique_woo_products", ""); window.location = mdf_widget_search_url + response; } }); return false; }); } var mdf_ajax_lock = false;//remove twice ajax request on the same time function mdf_ajax_data_recount(form_id, slug) { if (mdf_ajax_lock) { return; } mdf_ajax_lock = true; //+++ mdf_show_stat_info_popup(lang_one_moment); var type = 'widget'; var shortcode_id = 0; var widget_id = 0; var sidebar_name = ""; var sidebar_id = 0; if (jQuery("#" + form_id).hasClass('mdf_shortcode_form')) { type = 'shortcode'; shortcode_id = jQuery("#" + form_id).data('shortcode-id'); } if (type == 'widget') { sidebar_id = jQuery("#" + form_id).data('sidebar-id'); sidebar_name = jQuery("#" + form_id).data('sidebar-name'); widget_id = jQuery("#" + form_id).data('widget-id'); } var data = { action: "mdf_get_ajax_auto_recount_data", vars: jQuery("#" + form_id).serialize(), slug: slug, type: type, shortcode_id: shortcode_id, sidebar_id: sidebar_id, sidebar_name: sidebar_name, widget_id: widget_id, mode: 'submit', mdf_front_qtrans_lang: mdf_front_qtrans_lang, mdf_front_wpml_lang: mdf_front_wpml_lang }; jQuery.post(ajaxurl, data, function(response) { mdf_hide_stat_info_popup(); if (type == 'shortcode') { jQuery("#" + form_id).parents('.mdf_shortcode_container').replaceWith(response); } else { jQuery('#pn_html_buffer2').html(response); var widget = jQuery('#pn_html_buffer2').find('.widget-meta-data-filter').clone(); //jQuery("#" + form_id).parents('.widget-meta-data-filter').replaceWith(widget); jQuery("#" + form_id).parents('.widget-meta-data-filter').replaceWith(response); jQuery('#pn_html_buffer2').html(""); mdf_draw_ui_slider_items(false, jQuery(widget).find('form').data('unique-id')); mdf_hide_empty_blocks_titles(); mdf_init_submit_button(jQuery(widget).find('form').data('unique-id'), slug, jQuery(widget).find('form').data('search-url')); } mdf_tooltip_init(); mdf_init_checkboxes_scroll(); mdf_init_selects(); mdf_ajax_lock = false; }); } function mdf_hide_empty_blocks_titles() { var section = jQuery('.widget-meta-data-filter .mdf_filter_section'); jQuery.each(section, function(index, value) { var count = jQuery(value).find('table').find('tr').size(); if (!count) { jQuery(value).hide(); jQuery(value).find('table').hide(); jQuery(value).prev('h4.data-filter-section-title').hide(); } }); } function mdf_tooltip_init() { try { jQuery('.mdf_tooltip').tooltipster({ maxWidth: tooltip_max_width, //iconDesktop:true, animation: 'fade', delay: 200, theme: 'tooltipster-' + mdf_tooltip_theme, touchDevices: false, trigger: 'hover', contentAsHTML: true //content: jQuery('<span><strong>' + jQuery(this).find('i').html() + '</strong></span>') }); } catch (e) { console.log(e); } } function mdf_init_checkboxes_scroll() { try { jQuery(".mdf_tax_filter_section, .mdf_filter_section").mCustomScrollbar('destroy'); jQuery(".mdf_tax_filter_section, .mdf_filter_section").mCustomScrollbar({ scrollButtons: { enable: true }, advanced: { updateOnContentResize: true, updateOnBrowserResize: true }, theme: "dark-2", horizontalScroll: false, mouseWheel: true, scrollType: 'pixels', contentTouchScroll: true }); } catch (e) { console.log(e); } } //by chosen js function mdf_init_selects() { mdf_deinit_chosen_selects(); /* if (mdf_use_chosen_js_w) { jQuery(".mdf_widget_form select").chosen(); } if (mdf_use_chosen_js_s) { jQuery(".mdf_shortcode_container select").chosen(); } */ } function mdf_deinit_chosen_selects() { try { if (mdf_use_chosen_js_w) { jQuery(".mdf_widget_form select").chosen('destroy').trigger("liszt:updated"); } if (mdf_use_chosen_js_s) { jQuery(".mdf_shortcode_container select").chosen('destroy').trigger("liszt:updated"); } } catch (e) { } //jQuery(".mdf_shortcode_form select, .mdf_widget_form select").removeClass("chzn-done").css('display', 'inline').data('chosen', null); //jQuery("*[class*=chzn]").remove(); } function mdf_show_stat_info_popup(text) { jQuery("#pn_html_buffer").text(text); jQuery("#pn_html_buffer").fadeTo(200, 0.9); } function mdf_hide_stat_info_popup() { window.setTimeout(function() { jQuery("#pn_html_buffer").fadeOut(400); }, 500); }
NeverWithout/Fragrance-Bar
wp-content/plugins/wp-meta-data-filter-and-taxonomy-filter/js/front.js
JavaScript
gpl-2.0
21,044
/*! * CC Slider by Chop-chop * http://shop.chop-chop.org */ (function($){ 'use strict'; var defaults = { // basic mode: 'fade', autoPlay: 3000, pauseOnHover: true, animationSpeed: 1000, pagination: true, arrows: true, loop: false, keyboard: true, mousewheel: true, touch: true, lockDuringAnimation: false, synchronize: null, remoteControl: null, // advanced startAt: 0, // zero-based changePaginations: 'before', // before or after animationMethod: 'css', // css, velocity or js slidesListSelector: 'ul.slides', slidesSelector: 'ul.slides > li', // technical namespace: 'scc', syncNamespace: 'scc', remoteNamespace: 'scc', arrowTexts: { prev: 'Previous slide', next: 'Next slide' }, limitWidthToParent: true }; if(!console){ var consoleFix = function() {}; window.console = {log:consoleFix, info:consoleFix, warn:consoleFix, debug:consoleFix, error:consoleFix}; } if(!$) { console.error('[CC Slider] No jQuery detected.'); return false; } var Slider = function(elem, opts){ this.$wrap = $(elem); if(!this.$wrap.data('slidercc')){ if($.isEmptyObject(this.modes)) { console.error('[CC Slider] No modules found.'); return false; } this.mode = this.modes[opts.mode || defaults.mode]; if(!this.mode) { for(var firstMod in this.modes) { break; } this.mode = this.modes[firstMod]; } this.mode = new this.mode(); this.mode.slider = this; this.opts = $.extend({}, $.fn.slidercc.defaults, this.mode.defaults, opts); this.$wrap.data('slidercc', this.opts); this.namespace = this.opts.namespace; this.$wrap.addClass(this.namespace+'-wrapper'); this.init(); } else { this.$wrap.trigger(this.$wrap.data('slidercc').namespace+'-reset', opts); } }; Slider.prototype.modes = {}; Slider.prototype.init = function(){ var _this = this; this.loadSlides(); if(this.testSlideLength()){ this.makeViewport(); this.$wrap.css('opacity', 0); if(this.opts.arrows) this.makeArrows(); if(this.opts.pagination) this.makePagination(); this.current = Math.min(this.opts.startAt, this.slideCount-1); this.next = this.current; this.wrapWidth = this.$wrap.width(); this.setActiveClasses(); this.bind(); this.checkAnimationMethod(); this.setAnimations(); if(this.opts.synchronize!=null){ this.$sync = $(this.opts.synchronize); if(!this.$sync.length) this.opts.synchronize = null; else { this.synchronize(); } } if(this.opts.remoteControl!=null){ this.$remote = $(this.opts.remoteControl); if(!this.$remote.length) this.opts.remoteControl = null; else { this.remoteControl(); } } this.mode.init(); this.$slides.eq(this.current).imagesLoaded(function(){ _this.animate.fadeIn(_this.$wrap); _this.ready = true; // console.log('Slider.init imagesLoaded',_this.$wrap.attr('id')); _this.$wrap.trigger(_this.namespace+'-ready'); }); } }; Slider.prototype.loadSlides = function(){ this.$slideList = $(this.$wrap).find(this.opts.slidesListSelector); this.$slides = $(this.$wrap).find(this.opts.slidesSelector); this.slideCount = this.$slides.length; this.opts.$slides = this.$slides; }; Slider.prototype.testSlideLength = function(){ if(!this.slideCount){ console.warn('[CC Slider] No slides found.'); return false; } return true; }; Slider.prototype.bind = function(){ var _this = this; $(window).on('resize', $.proxy(this.resize, this)); this.$wrap.on(this.namespace+'-reset', $.proxy(this.reset, this)); this.$wrap.on(this.namespace+'-'+this.opts.changePaginations+' '+this.namespace+'-ready', $.proxy(this.setActiveClasses, this)); if(this.opts.arrows){ this.arrows.$prev.on('click.'+this.namespace, function(e){ e.preventDefault(); _this.$wrap.trigger(_this.namespace+'-prev'); }); this.arrows.$next.on('click.'+this.namespace, function(e){ e.preventDefault(); _this.$wrap.trigger(_this.namespace+'-next'); }); } if(this.opts.pagination){ this.$pagination.find('a').on('click.'+this.namespace, function(e){ e.preventDefault(); _this.$wrap.trigger(_this.namespace+'-slideTo', $(this).attr('href').replace('#', '')); }); } if(this.opts.keyboard && !$('body').data('slidercc-keyboard')) this.bindKeyboard(); if(this.opts.mousewheel && $.event.special.mousewheel) this.bindMousewheel(); if(this.opts.touch && $.event.special.swipeleft && $.event.special.swiperight) this.bindTouch(); if(this.opts.autoPlay){ _this.startAutoplay(); if(this.opts.pauseOnHover){ this.$wrap.on('mouseenter.'+this.namespace, function(e){ // console.log('mouseenter', _this.$wrap.attr('id')); e.preventDefault(); _this.stopAutoplay(); }); this.$wrap.on('mouseleave.'+this.namespace, function(e){ e.preventDefault(); _this.startAutoplay(); }); } } }; Slider.prototype.bindKeyboard = function(){ var _this = this; $('body').data('slidercc-keyboard', this.$wrap); $(window).on('keyup', function(e){ var key = e.keyCode; if(key==37) _this.$wrap.trigger(_this.namespace+'-prev'); else if(key==39) _this.$wrap.trigger(_this.namespace+'-next'); }); }; Slider.prototype.bindMousewheel = function(){ var _this = this; this.$wrap.on('mousewheel', function(e){ e.preventDefault(); if(e.deltaY<0 || e.deltaY==0 && e.deltaX>0){ _this.$wrap.trigger(_this.namespace+'-next'); } else { _this.$wrap.trigger(_this.namespace+'-prev'); } }); }; Slider.prototype.bindTouch = function(){ var _this = this; this.$wrap.on('swiperight', function(e){ e.preventDefault(); _this.$wrap.trigger(_this.namespace+'-prev'); _this.opts.autoPlay = false; _this.stopAutoplay(); }); this.$wrap.on('swipeleft', function(e){ console.log(e); e.preventDefault(); _this.$wrap.trigger(_this.namespace+'-next'); _this.opts.autoPlay = false; _this.stopAutoplay(); }); }; Slider.prototype.synchronize = function(){ this.$wrap.on(this.namespace+'-slideTo', $.proxy(function(e, d, force, squash){ if(squash) return; var target = e instanceof jQuery.Event ? d : e; this.$sync.trigger(this.opts.syncNamespace+'-slideTo', [target, force, true]); }, this)); }; Slider.prototype.remoteControl = function(){ var _this = this; this.$slides.on('click.'+this.namespace, $.proxy(function(e){ e.preventDefault(); var target = this.$slides.index(e.currentTarget); this.$remote.add(this.$wrap).trigger(this.opts.remoteNamespace+'-slideTo', [target, null, true]); }, this)); this.$wrap.on('mouseenter.'+this.namespace, function(e){ _this.$remote.trigger('mouseenter'); }); this.$wrap.on('mouseleave.'+this.namespace, function(e){ _this.$remote.trigger('mouseleave'); }); }; Slider.prototype.unbind = function(){ this.$wrap.off(this.namespace+'-reset'); }; Slider.prototype.destroy = function(){ this.unbind(); this.$arrows.remove(); this.$pagination.remove(); this.$viewport.after(this.$viewport.children()).remove(); this.removeData('slidercc'); }; Slider.prototype.reset = function(){ $.extend(this.opts, arguments[arguments.length-1]); this.mode.reset(); }; Slider.prototype.checkAnimationMethod = function(){ // var _this = this; if(this.opts.animationMethod=='css' && window.Modernizr && (Modernizr.csstransforms==false || Modernizr.csstransitions==false)) { // if($.fn.velocity) { // this.opts.animationMethod = 'velocity'; // } // else { this.opts.animationMethod = 'js'; // } } }; Slider.prototype.setAnimations = function(){ var _this = this; if(this.opts.animationMethod=='css'){ this.animate = { fadeOut: function(elem){ elem.css('opacity', 0); }, fadeIn: function(elem){ elem.css('opacity', 1); }, slide: function(elem, val, force){ if(force) { elem.addClass(_this.namespace+'-no-trans'); setTimeout(function(){ elem.removeClass(_this.namespace+'-no-trans'); }, 10); } elem.css('transform', 'translate3d('+val+'px,0,0)'); } }; this.$wrap.css('transition', 'opacity '+this.opts.animationSpeed+'ms'); if(this.opts.animateHeight){ this.$viewport.css('transition', 'height '+this.opts.animationSpeed+'ms'); } } else if(this.opts.animationMethod=='velocity') { this.animate = { fadeOut: function(elem){ elem.velocity('stop').velocity('fadeOut', {duration: _this.opts.animationSpeed, display: 'block'}); }, fadeIn: function(elem){ elem.velocity('stop').velocity('fadeIn', {duration: _this.opts.animationSpeed}); }, slide: function(elem, val, force){ elem.velocity('stop').velocity({translateX: val}, {duration: force ? 0 : _this.opts.animationSpeed}); } }; } else { this.animate = { fadeOut: function(elem){ elem.stop(1,0).fadeTo(_this.opts.animationSpeed, 0); }, fadeIn: function(elem){ elem.stop(1,0).fadeTo(_this.opts.animationSpeed, 1); }, slide: function(elem, val, force){ elem.stop(1,0).animate({marginLeft: val}, force ? 0 : _this.opts.animationSpeed); } }; } }; Slider.prototype.makeViewport = function(){ this.$viewport = $('<div class="'+this.namespace+'-viewport"></div>'); this.$wrap.append(this.$viewport); this.$viewport.append(this.$wrap.children()); }; Slider.prototype.makeArrows = function(){ this.$arrows = $('<div class="'+this.namespace+'-arrows"></div>'); this.arrows = { $prev: $('<a href="#" class="'+this.namespace+'-prev">'+this.opts.arrowTexts.prev+'</a>'), $next: $('<a href="#" class="'+this.namespace+'-next">'+this.opts.arrowTexts.next+'</a>') }; this.$arrows.append(this.arrows.$prev, this.arrows.$next); this.$wrap.append(this.$arrows); }; Slider.prototype.makePagination = function(){ var html = '<div class="'+this.namespace+'-pagination">'; for(var i=0; i<this.slideCount; i++){ html += '<a href="#'+i+'">'+(i+1)+'</a>'; } html += '</div>'; this.$pagination = $(html); this.$wrap.append(this.$pagination); }; Slider.prototype.setActiveClasses = function(){ var current = this.opts.changePaginations=='after' ? this.current : this.next; this.$slides.removeClass(this.namespace+'-active'); this.$slides.eq(current).addClass(this.namespace+'-active'); if(this.opts.arrows && !this.opts.loop){ if(current==0){ this.arrows.$prev.addClass(this.namespace+'-disabled'); } else { this.arrows.$prev.removeClass(this.namespace+'-disabled'); } if(current==this.slideCount-1){ this.arrows.$next.addClass(this.namespace+'-disabled'); } else { this.arrows.$next.removeClass(this.namespace+'-disabled'); } } if(this.opts.pagination){ this.$pagination.find('a[href=#'+current+']').addClass(this.namespace+'-active').siblings().removeClass(this.namespace+'-active'); } }; Slider.prototype.startAutoplay = function(){ var _this = this; if(this.autoTimer) clearInterval(this.autoTimer); this.autoTimer = setInterval(function(){ _this.$wrap.trigger(_this.namespace+'-next', {auto: true}); }, this.opts.autoPlay); }; Slider.prototype.stopAutoplay = function(){ if(this.autoTimer) clearInterval(this.autoTimer); }; Slider.prototype.resize = function(){ if(this.opts.limitWidthToParent){ this.$wrap.width(''); if(this.$wrap.width() > this.$wrap.parent().width()){ this.$wrap.width( this.$wrap.parent().width() ); } } this.wrapWidth = this.$wrap.width(); this.mode.resize(); }; $.fn.slidercc = function(args){ return this.each(function(){ new Slider(this, args); }); }; $.fn.slidercc.defaults = defaults; $.fn.slidercc.modeDefaults = {}; $.fn.slidercc.insertMode = function(name, mode){ var newMode = {}; newMode[name] = mode; // $.extend(Slider.prototype.modes, newMode); Slider.prototype.modes[name] = mode; $.fn.slidercc.modeDefaults[name] = mode.prototype.defaults; }; })(jQuery);
mayomm/YKB
wp-content/plugins/slider-cc/public/templates/js/slidercc.core.js
JavaScript
gpl-2.0
11,980
'use strict'; var Offers = require('./OffersService'); module.exports.offerinfo = function offerinfo (req, res, next) { Offers.offerinfo(req.swagger.params, res, next); }; module.exports.offerlink = function offerlink (req, res, next) { Offers.offerlink(req.swagger.params, res, next); }; module.exports.offernew = function offernew (req, res, next) { Offers.offernew(req.swagger.params, res, next); }; module.exports.offerupdate = function offerupdate (req, res, next) { Offers.offerupdate(req.swagger.params, res, next); };
syscoin/syscoin-api
server/nodejs/controllers/Offers.js
JavaScript
gpl-2.0
540
/** * PhilaeCMS * Copyright (C) 2014 Daniel Budick * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /** * These functions check privileges of the user. * Privileges: * - isRoot: User is a godlike individual and can write, view and update everything * - isAdmin: User can write, view and update almost everything * - isEditor: User can change content (Plaintext and HTML) * - isDesigner: User can change css * - canUpload: User can upload data * - isBackendUser: User can visit the backend * - isUserManager: User can write, view and update user-data. Even Admin cannot do this. Important for countries with high privacy standards. * - isIntern: Interns should not be able to destroy anything. They can create content, but cannot write HTML */ Privilege = { /** * @param privilege is the name of the privilege, that is to check * @param user is the Userobject which permission is to check * @returns {boolean} false: the user has not the permission. true, the user has the permission. */ checkPrivilege: function (privilege, user) { if (user === null || user === undefined) return false; if (user.profile === undefined) { throwError('User has no profile. This should not happen.'); return false; } if (user.profile.privileges === undefined) { throwError('User has no privileges. This should not happen.'); return false; } if (user.profile.privileges.isRoot === true) return true; //overwrites everything. This user has godlike powers! if (user.profile.privileges[privilege] === undefined) return false; if (user.profile.privileges[privilege] === true) return true; return false; //the user has not the sufficient permission }, /** * isAdmin: User can write, view and update almost everything * @param user is the Userobject which permission is to check * @returns {boolean} false: the user is not an admin. */ isAdmin: function (user) { return this.checkPrivilege('isAdmin', user); }, /** * isEditor: User can change content (Plaintext and HTML) * @param user is the Userobject which permission is to check * @returns {boolean} false: the user cannot change content */ isEditor: function (user) { return this.checkPrivilege('isEditor', user); }, /** * isDesigner: User can change CSS * @param user is the Userobject which permission is to check * @returns {boolean} false: the user cannot change CSS */ isDesigner: function (user) { return this.checkPrivilege('isDesigner', user); }, /** * canUpload: User can upload data * @param user is the Userobject which permission is to check * @returns {boolean} false: the user cannot upload data */ canUpload: function (user) { return this.checkPrivilege('canUpload', user); }, /** * isBackendUser: User can visit the backend * @param user is the Userobject which permission is to check * @returns {boolean} false: the user cannot access the backend */ isBackendUser: function (user) { return this.checkPrivilege('isBackendUser', user); }, /** * isUserManager: User can write, view and update user-data. Even Admin cannot do this. Important for countries with high privacy standards. * @param user is the Userobject which permission is to check * @returns {boolean} false: the user is not an UserManager */ isUserManager: function (user) { return this.checkPrivilege('isUserManager', user); }, /** * isIntern: Interns should not be able to destroy anything. They can create content, but cannot write HTML * @param user is the Userobject which permission is to check * @returns {boolean} false: the user is not an intern */ isIntern: function (user) { return this.checkPrivilege('isIntern', user); } };
BudickDa/PhilaeCMS
philae/lib/privileges.js
JavaScript
gpl-2.0
4,715
window.chartColors = { red: 'rgb(255, 99, 132)', orange: 'rgb(255, 159, 64)', yellow: 'rgb(255, 205, 86)', green: 'rgb(75, 192, 192)', blue: 'rgb(54, 162, 235)', purple: 'rgb(153, 102, 255)', grey: 'rgb(231,233,237)' }; ES.WidgetLive = ES.Widget.extend({ init: function() { var me = this, idInstance = ES.getActiveInstanceId(); me._super('widget-livedata'); var $component = $('#'+ me.cssId); $component.find('.widget-body').append('<canvas id="testChart"></canvas>'); var config = { type: 'line', data: { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [{ label: "My First dataset", backgroundColor: window.chartColors.red, borderColor: window.chartColors.red, data: [ 10, 2, 5, 7, 2, 1, 8 ], fill: false }, { label: "My Second dataset", fill: false, backgroundColor: window.chartColors.blue, borderColor: window.chartColors.blue, data: [ 10, 6, 6, 7, 2, 7, 8 ] }] }, options: { responsive: true, maintainAspectRatio: false, title:{ display:true, text:'Chart.js Line Chart' }, tooltips: { mode: 'index', intersect: false }, hover: { mode: 'nearest', intersect: true }, scales: { xAxes: [{ display: true, scaleLabel: { display: true, labelString: 'Month' } }], yAxes: [{ display: true, scaleLabel: { display: true, labelString: 'Value' } }] } } }; window.myLine = new Chart($("#testChart"), config); //ES.ajax({ // url: BASE_URL + "api/instances/"+ idInstance +"/data", // success: function(data) { // debugger; // } //}); } // var me = this; // me._super('widget-live'); // // setInterval(function() { // me.requestChartData() // }, 120000); // // this.temperatureChart = new Highcharts.Chart({ // chart: { // renderTo: 'temperatureChart', // marginTop: 50, // height: 320, // defaultSeriesType: 'spline' // }, credits: { // enabled: false // }, // title: { // text: '' // }, // exporting: { // enabled: false // }, // legend: { // verticalAlign: 'top' // }, // scrollbar: { // enabled: roomTemperatureData.length > 10 // }, // xAxis: { // type: 'datetime', // min: roomTemperatureData.length > 10 ? roomTemperatureData[roomTemperatureData.length - 11].x : null, // max: roomTemperatureData.length > 10 ? roomTemperatureData[roomTemperatureData.length -1].x : null // }, // yAxis: { // minPadding: 0.2, // maxPadding: 0.2, // minRange: 0.5, // title: { // text: I18n.valueInCelsius, // margin: 25 // }, // plotBands: [{ // Cold // from: 0, // to: 18, // color: 'rgba(68, 170, 213, 0.1)', // label: { // text: I18n.cold, // style: { // color: '#606060' // } // } // }, { // Hot // from: 35, // to: 60, // color: 'rgba(191, 11, 35, 0.1)', // label: { // text: I18n.hot, // style: { // color: '#606060' // } // } // }] // }, // series: [{ // name: I18n.roomTemperature + ' (°C)', // color: '#BF0B23', // dashStyle: 'ShortDash', // data: roomTemperatureData // },{ // name: I18n.tankTemperature + '(°C)', // color: '#0066FF', // dashStyle: 'ShortDash', // data: tankTemperatureData // }] // }); // // this.humidityChart = new Highcharts.Chart({ // chart: { // renderTo: 'humidityChart', // marginTop: 50, // height: 320, // defaultSeriesType: 'spline' // }, // credits: { // enabled: false // }, // title: { // text: '' // }, // exporting: { // enabled: false // }, // legend: { // verticalAlign: 'top' // }, // scrollbar: { // enabled: humidityData.length > 10 // }, // xAxis: { // type: 'datetime', // min: humidityData.length > 10 ? humidityData[humidityData.length - 11].x : null, // max: humidityData.length > 10 ? humidityData[humidityData.length -1].x : null // }, // yAxis: { // minPadding: 0.5, // maxPadding: 0.5, // minRange: 5, // max: 100, // min: 0, // title: { // text: I18n.valueInPercent, // margin: 25 // }, // plotBands: [{ // Low // from: 0, // to: 20, // color: 'rgba(191, 11, 35, 0.1)', // label: { // text: I18n.low, // style: { // color: '#606060' // } // } // }, { // High // from: 50, // to: 100, // color: 'rgba(68, 170, 213, 0.1)', // label: { // text: I18n.high, // style: { // color: '#606060' // } // } // }] // }, // series: [{ // name: I18n.humidityPercent, // color: '#44aad5', // dashStyle: 'ShortDash', // data: humidityData // }] // }); //}, //requestChartData: function() { // var me = this; // $.ajax({ // url: BASE_URL + 'ajax/chartLiveData/' + ES.getActiveInstanceId(), // cache: false, // dataType: "json", // success: function(point) { // /*if(point.roomTemperature.length > 0 && // temperatureChart.series[0].data.length > 0 && // temperatureChart.series[0].data[temperatureChart.series[0].data.length-1].x != point.roomTemperature[0]) { // var series = temperatureChart.series[0], // shift = series.data.length > 40; // // temperatureChart.series[0].addPoint(eval(point.roomTemperature), true, shift); // }*/ // // me.addChartData(point.roomTemperature, me.temperatureChart.series[0]); // // /*if(point.tankTemperature.length > 0 && // temperatureChart.series[1].data.length > 0 && // temperatureChart.series[1].data[temperatureChart.series[1].data.length-1].x != point.tankTemperature[0]) { // var series = temperatureChart.series[1], // shift = series.data.length > 40; // // temperatureChart.series[1].addPoint(eval(point.tankTemperature), true, shift); // }*/ // // me.addChartData(point.tankTemperature, me.temperatureChart.series[1]); // } // }); //}, //addChartData: function(data, chartSerie) { // if(data.length > 0 && // chartSerie.data.length > 0 && // chartSerie.data[chartSerie.data.length-1].x != data[0]) { // var shift = chartSerie.data.length > 80; // // chartSerie.addPoint(eval(data), true, shift); // } //} });
eoto88/EcoSystems
assets/js/widgets/live.js
JavaScript
gpl-2.0
9,559
'use strict'; angular.module('agileimApp') .factory('authExpiredInterceptor', function ($rootScope, $q, $injector, localStorageService) { return { responseError: function(response) { // If we have an unauthorized request we redirect to the login page // Don't do this check on the account API to avoid infinite loop if (response.status == 401 && response.data.path !== undefined && response.data.path.indexOf("/api/account") == -1){ var Auth = $injector.get('Auth'); var $state = $injector.get('$state'); var to = $rootScope.toState; var params = $rootScope.toStateParams; Auth.logout(); $rootScope.previousStateName = to; $rootScope.previousStateNameParams = params; $state.go('login'); } return $q.reject(response); } }; });
lazcatluc/agileim
src/main/webapp/scripts/components/interceptor/auth.interceptor.js
JavaScript
gpl-2.0
1,016
showWord(["n. ","branch medikal ki espesyalize nan trete granmoun ki avanse nan laj.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/jeryatri.js
JavaScript
gpl-2.0
91
/* jslint node: true */ var FILENAME = 'modules/empathy.js', ALL_JAVASCRIPT_FILES = ['Gruntfile.js', '*/*.js', 'public/javascripts/*.js']; module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jshint: { options: { jshintrc:true }, all: ALL_JAVASCRIPT_FILES }, clean: { // Clean any pre-commit hooks in .git/hooks directory hooks: ['.git/hooks/pre-commit'] }, // Run shell commands shell: { hooks: { // Copy the project's pre-commit hook into .git/hooks command: 'cp git-hooks/pre-commit .git/hooks/pre-commit' }, rmclogs: { // Run the script command: 'bash pre-build/script.bash' } }, watch: { scripts: { files: ALL_JAVASCRIPT_FILES, tasks: ['jshint'], options: { spawn: false }, }, } }); grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-shell'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); // Clean the .git/hooks/pre-commit file then copy in the latest version grunt.registerTask('hookmeup', ['clean:hooks', 'shell:hooks']); //build task grunt.registerTask('build', ['hookmeup']); grunt.event.on('watch', function(action, filepath) { grunt.log.writeln(filepath + ' has ' + action); }); };
prometheansacrifice/Socialysis
Gruntfile.js
JavaScript
gpl-2.0
1,733
/** * @version $Id: gantry-totop.js 58623 2012-12-15 22:01:32Z btowles $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3.0(\'j\',1(){2 a=f.d(\'c-9\');8(a){2 b=6 5.4(3);a.7(\'g\',\'h\').0(\'i\',1(e){e.k();b.l()})}});',22,22,'addEvent|function|var|window|Scroll|Fx|new|setStyle|if|totop|||gantry|id||document|outline|none|click|domready|stop|toTop'.split('|'),0,{}))
moveloaded/moveloaded
wp-content/plugins/gantry/js/gantry-totop.js
JavaScript
gpl-2.0
761
tinyMCE.addI18n('ja.emojiau',{ desc:"au\u7d75\u6587\u5b57", title:"au\u7d75\u6587\u5b57" });
ivywe/geeklog-ivywe
extended/public_html/tinymce/js/tiny_mce/plugins/emojiau/langs/ja.js
JavaScript
gpl-2.0
92
showWord(["n. ","Zouti pou moun ka wè bagay ki lwen nan syèl la. Si ou gen lajan ou ka achte yon teleskòp.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/telesk~op.js
JavaScript
gpl-2.0
116
var allTestCases = [ { world: "small", utterance: "take an object", interpretations: [["holding(e)", "holding(f)", "holding(g)", "holding(k)", "holding(l)", "holding(m)"]] }, { world: "small", utterance: "take a blue object", interpretations: [["holding(g)", "holding(m)"]] }, { world: "small", utterance: "take a box", interpretations: [["holding(k)", "holding(l)", "holding(m)"]] }, { world: "small", utterance: "put a ball in a box", interpretations: [["inside(e,k)", "inside(e,l)", "inside(f,k)", "inside(f,l)", "inside(f,m)"]] }, { world: "small", utterance: "put a ball on a table", interpretations: [] }, { world: "small", utterance: "put a ball above a table", interpretations: [["above(e,g)", "above(f,g)"]] }, { world: "small", utterance: "put a big ball in a small box", interpretations: [] }, { world: "small", utterance: "put a ball left of a ball", interpretations: [["leftof(e,f)", "leftof(f,e)"]] }, { world: "small", utterance: "take a white object beside a blue object", interpretations: [["holding(e)"]] }, { world: "small", utterance: "put a white object beside a blue object", interpretations: [["beside(e,g) | beside(e,m)"]] }, { world: "small", utterance: "put a ball in a box on the floor", interpretations: [["inside(e,k)", "inside(f,k)"], ["ontop(f,floor)"]] }, { world: "small", utterance: "put a white ball in a box on the floor", interpretations: [["inside(e,k)"]] }, { world: "small", utterance: "put a black ball in a box on the floor", interpretations: [["inside(f,k)"], ["ontop(f,floor)"]] }, // Under { world: "small", utterance: "put the yellow box below the blue box", interpretations: [["under(k,m)"]] }, { world: "small", utterance: "put the yellow box on the floor beside the blue box", interpretations: [["beside(k,m)"]] }, { world: "small", utterance: "take a ball in a box right of a table", interpretations: [["holding(f)"], ["holding(f)"]] }, { world: "small", utterance: "take the floor", interpretations: [] }, { world: "small", utterance: "take a ball left of a table", interpretations: [["holding(e)"]] }, { world: "small", utterance: "take a ball right of a table", interpretations: [["holding(f)"]] }, { world: "small", utterance: "put a ball below the floor", interpretations: [] }, { world: "small", utterance: "take a ball below the floor", interpretations: [] }, { world: "small", utterance: "take a ball beside a table beside a box", interpretations: [["holding(e)"]] }, { world: "small", utterance: "put a box beside the floor", interpretations: [] }, { world: "small", utterance: "put a ball on a floor under the table", interpretations: [] }, { world: "small", utterance: "put a ball on the red floor", interpretations: [] }, { world: "small", utterance: "drop it on the floor", interpretations: [["ontop(a,floor)"]] }, ]; // /* Simple test cases for the ALL quantifier, uncomment if you want */ // allTestCases.push( // {world: "small", // utterance: "put all balls on the floor", // interpretations: [["ontop(e,floor) & ontop(f,floor)"]] // }, // {world: "small", // utterance: "put every ball to the right of all blue things", // interpretations: [["rightof(e,g) & rightof(e,m) & rightof(f,g) & rightof(f,m)"]] // }, // {world: "small", // utterance: "put all balls left of a box on the floor", // interpretations: [["leftof(e,k) & leftof(f,k)"], ["ontop(e,floor)"]] // } // ); // /* More dubious examples for the ALL quantifier */ // /* (i.e., it's not clear that these interpretations are the best) */ // allTestCases.push( // {world: "small", // utterance: "put a ball in every large box", // interpretations: [["inside(e,k) & inside(f,k)", "inside(e,l) & inside(f,k)", // "inside(e,k) & inside(f,l)", "inside(e,l) & inside(f,l)"]] // }, // {world: "small", // utterance: "put every ball in a box", // interpretations: [["inside(e,k) & inside(f,k)", "inside(e,l) & inside(f,k)", // "inside(e,k) & inside(f,l)", "inside(e,l) & inside(f,l)", // "inside(e,k) & inside(f,m)", "inside(e,l) & inside(f,m)"]] // } // ); //# sourceMappingURL=InterpreterTestCases.js.map
Clink92/shrdlite-course-project
InterpreterTestCases.js
JavaScript
gpl-3.0
4,895
import mockContext from "/imports/test-utils/helpers/mockContext"; import groupQuery from "./group"; const fakeShopId = "FAKE_SHOP_ID"; const fakeGroup = { _id: "FAKE_GROUP_ID", name: "fake", shopId: fakeShopId }; const fakeAccount = { _id: "FAKE_ACCOUNT_ID", groups: ["group1", "group2"] }; beforeEach(() => { jest.resetAllMocks(); }); test("throws not-found if the group does not exist", async () => { mockContext.collections.Groups.findOne.mockReturnValueOnce(undefined); const result = groupQuery(mockContext, fakeGroup._id); return expect(result).rejects.toThrowErrorMatchingSnapshot(); }); test("returns the group if userHasPermission returns true", async () => { mockContext.collections.Groups.findOne.mockReturnValueOnce(fakeGroup); mockContext.userHasPermission.mockReturnValueOnce(true); const result = await groupQuery(mockContext, fakeGroup._id); expect(mockContext.collections.Groups.findOne).toHaveBeenCalledWith({ _id: fakeGroup._id }); expect(mockContext.userHasPermission).toHaveBeenCalledWith(["owner", "admin", "reaction-accounts"], fakeGroup.shopId); expect(result).toEqual(fakeGroup); }); test("returns the group if userHasPermission returns false but the current user is in the group", async () => { mockContext.collections.Groups.findOne.mockReturnValueOnce(fakeGroup); mockContext.userHasPermission.mockReturnValueOnce(false); mockContext.collections.Accounts.findOne.mockReturnValueOnce(fakeAccount); const result = await groupQuery(mockContext, fakeGroup._id); expect(mockContext.collections.Groups.findOne).toHaveBeenCalledWith({ _id: fakeGroup._id }); expect(mockContext.userHasPermission).toHaveBeenCalledWith(["owner", "admin", "reaction-accounts"], fakeGroup.shopId); expect(mockContext.collections.Accounts.findOne).toHaveBeenCalledWith({ _id: mockContext.userId, groups: fakeGroup._id }, { projection: { _id: 1 } }); expect(result).toEqual(fakeGroup); }); test("throws access-denied if not allowed", async () => { mockContext.collections.Groups.findOne.mockReturnValueOnce(fakeGroup); mockContext.userHasPermission.mockReturnValueOnce(false); mockContext.collections.Accounts.findOne.mockReturnValueOnce(undefined); const result = groupQuery(mockContext, fakeGroup._id); return expect(result).rejects.toThrowErrorMatchingSnapshot(); });
anthonybrown/reaction
imports/plugins/core/accounts/server/no-meteor/queries/group.test.js
JavaScript
gpl-3.0
2,348
var stream = require('getstream'); // Instantiate a new client (server side) client = stream.connect('9jtyb249ejzp', 'jnbe82eryq4qvquj4wn5dc8nh85bry33jpbmu84jn58xc3uk4y697xke4rcz9kyk', '24985'); // Instantiate a new client (client side) //client = stream.connect('9jtyb249ejzp', null, '24985'); var p1 = client.feed('project_aggregated', 'd0bbf3d8-c6da-460e-b7cf-ab99b79e9986'); // Read 'timeline' for jack - the post by chris will show up: p1.get({ limit: 10 }).then(function(results) { var activityData = results; console.log('Activity data:', activityData); // Read the next page, using id filtering for optimal performance: p1.get({ limit: 10, id_lte: activityData[activityData.length-1].id }).then(function(results) { var nextActivityData = results; console.log('Activity data:', activityData); }); });
resamsel/translatr
playground/streamio-consumer.js
JavaScript
gpl-3.0
819
/*! * jQuery ScotiaVideo Plugin * TODO */ // IE fix for origin if (!window.location.origin) { window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: ''); } (function($, window, document, _config){ 'use strict'; // setup an instance of QuickCache for use withing this scope -SH var _appLang = $('html').attr('lang'); var _quickCache = new QuickCache(); var _playerInstances = new QuickCache(); var _youTubeIframeRdy = false; var _eventLoopInterval = null, _playerSliderInterval = null, _firstLoad = null; var _pbLangDict = { "default": { "en": "normal", "fr": "normale", "es": "normal" } }; var _qltyLangDict = { "large":{ "fr":"grand", "es":"grande" }, "medium":{ "fr":"moyen", "es":"medio" }, "small":{ "fr":"petit", "es":"pequeña" }, "tiny":{ "fr":"minuscule", "es":"minúsculo" } }; function parseVideoHrefSrc(hrefUrl) { var index = hrefUrl.indexOf('watch?v='); var indexShift = 8; if(index > -1) { return hrefUrl.substring(index + indexShift); } return false; } function parseScotiaVideoKeys(jqObj) { var tempKeyList = []; jqObj.each(function(index, ele) { var tempCode = parseVideoHrefSrc($(ele).attr('href')); tempCode && tempKeyList.push(tempCode); }); return tempKeyList; } function classHardReset($jqObj){ $jqObj.removeClass('show-video'); $jqObj.removeClass('show-transcript-en'); $jqObj.removeClass('show-transcript-fr'); $jqObj.removeClass('show-transcript-es'); $jqObj.removeClass('show-transcript-cn'); } function showCurrentDialogSection($jqObj, $prntObj, callback) { var viewDataObj = (function(viewData){ var match = _getTranLangCode(viewData); if (match) { return { selector: '.youtube-overlay', classAttr: match[0] }; } return { selector: '.youtube-overlay', classAttr: 'show-video' }; })(($jqObj && $jqObj.data('view')) || null); //nuke all the styles classHardReset($prntObj); $prntObj.addClass(viewDataObj.classAttr); //swap aria-hidden attr -SH if(viewDataObj.classAttr === 'show-video') { $prntObj.find('.career-video-transcript').attr('aria-hidden', true); $prntObj.find('.career-video').attr('aria-hidden', false); } else { $prntObj.find('.career-video').attr('aria-hidden', true); $prntObj.find('.career-video-transcript').attr('aria-hidden', false); } if(callback && (typeof callback === 'function')) callback(); } function openDialogOverlay($htmlOverlay) { $('body').append($htmlOverlay) .find('#main_video_overlay') .show(); } function closeDialogOverlay() { $('#main_video_overlay').remove(); } function _getDialogAsParent($jqObj) { return $jqObj .parents('.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable') .find('.youtube-overlay'); } function dialogObjFactory(onOpen, onClose, dialogOpts, onCleanUp) { var opts = dialogOpts || {}; return { resizable: opts.resizable || false, modal: opts.modal || true, width: opts.width || 980, dialogClass: 'scotia-video-dialog', open: (onOpen && (typeof onOpen === 'function')? onOpen : function(){}), close: (onClose && (typeof onClose === 'function')? onClose : function(){}), beforeClose: (onCleanUp && (typeof onCleanUp === 'function')? onCleanUp : function(){}) }; } function initClick(jqObj, onClick, dialogObj) { jqObj.live('click', (onClick && (typeof onClick === 'function')? onClick : function(){}) ); } function loadTranscripts(transPaths, callback, fallback) { var deferreds = []; for (var i = transPaths.length - 1; i >= 0; i--) { deferreds.push($.get(transPaths[i].href)); }; $.when.apply($, deferreds) .done(callback) .fail(fallback); } function applyTranscriptData(dialogObj, linkDataObj, videoCode) { var transcripts = linkDataObj.transcripts.split(','); var transcriptsList = []; for (var transCode in transcripts) { var trans = transcripts[transCode]; if(('transcript-'+trans) in linkDataObj) { // TODO: Allow overides from data obj -SH } else { var transObj = {}; transObj.langCode = trans; var langFull = ''; // set some default language codes switch(trans){ case 'en': langFull = 'English'; break; case 'fr': langFull = 'French'; break; case 'es': langFull = 'Spanish'; break; } transObj.langFull = langFull; transObj.href = _config.transcript_path+'/'+videoCode+'_'+trans+_config.transcript_ext;; transcriptsList.push(transObj); } } if(transcriptsList.length) { dialogObj.transcriptsList = transcriptsList; } } function _getTransViewState($jqDialog){ var $ytOverlay = $jqDialog; var classAttr = $ytOverlay.attr('class'); var ytIndex = classAttr.indexOf('show-'); if( ytIndex >= 0) { return classAttr.substring(ytIndex, classAttr.length); } return false; } function _focusTranscripts($videoDialog, classAdd, markupOverride) { var classAdditions = (classAdd && classAdd.length)? ('.'+classAdd.join(' ')) : ""; $videoDialog.find('.transcripts'+classAdditions+' '+(markupOverride ? markupOverride : 'a.youtube:eq(0)')).focus(); } function _parseTrans(item) { return item[0]; } function _parseTransClass(item) { var itemClass = $(item).attr('class'); return itemClass.replace(' ', '.'); } function _parseTransHtml(item) { return $(item).html(); } function _parseLangCode(htmlString) { var startAt = 17; return htmlString[0].substr(startAt, 2); } function _getTranLangCode(string) { return /show-transcript-(\w{2})/i.exec(string); } function applyTransHtml(item, $parentObj, beforeHtml, afterHtml) { var transItem = _parseTrans(item); var bHtml = beforeHtml ? beforeHtml : ''; var aHtml = afterHtml ? afterHtml : ''; var html = bHtml+_parseTransHtml(transItem)+aHtml; $parentObj.find('.career-video-transcript .'+_parseTransClass(transItem)).html(html); } function _isDialogVideoHidden($parentObj) { return $parentObj.find('.career-video').attr('aria-hidden'); } function buildDialog(videoCode, linkDataObj, templateHelper, contentModelObj) { // TODO: This sucks and needs to be refactored -SH var dialogObj = { dialogTitle: "", dialogID: videoCode, iFrameObj: { width: 640, height: 385, src: '//www.youtube.com/embed/'+videoCode+'?enablejsapi=1&version=3&controls=0&cc_load_policy=1&origin='+window.location.origin }, copy: { title: contentModelObj.getItemPart(videoCode, 'title', ''), body: contentModelObj.getItemPart(videoCode, 'description', '') }, duration: contentModelObj.getItemPart(videoCode, 'duration', '') }; return _quickCache.getItem(videoCode, function(){ // see if we have any transcript data if ('transcripts' in linkDataObj) { applyTranscriptData(dialogObj, linkDataObj, videoCode); } var $videoDialog = $(templateHelper.buildModalDialog(dialogObj)) .attr('id', videoCode) .css('display', 'none'); // $('body').append($videoDialog); //TODO: possibly append this item to something else at this point. Currently no need. -SH if(dialogObj.transcriptsList) { loadTranscripts(dialogObj.transcriptsList, function() { var langTabindex = 1; var returnData = (typeof arguments[1] === 'string' && arguments[1] === 'success')? [arguments] : arguments; for (var i = returnData.length - 1; i >= 0; i--) { var langCode = _parseLangCode(returnData[i]); var beforeHtml = '<a id="'+dialogObj.dialogID+'-trans-box-'+langCode+'" tabindex="'+langTabindex+'" class="transcript-anchor-wrap">'; var afterHtml = '</a>'; applyTransHtml(returnData[i], $videoDialog, beforeHtml, afterHtml); langTabindex++; }; }, function(err) { // console.log('error: ',err); }); } return $videoDialog; }); } function _ytIframeApiLoader(){ //TODO Break this out into a generic driver loader call -SH var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubeIframeAPIReady = function() { _youTubeIframeRdy = true; } } function _getAvialableRates(videoPlayerObj){ var rates = videoPlayerObj.getAvailablePlaybackRates(); var ratesLangArr = []; for (var i = 0; i < rates.length; i++) { if(typeof _pbLangDict[rates[i]] !== "undefined" && typeof _pbLangDict[rates[i]][_appLang] !== "undefined"){ ratesLangArr.push({text: _pbLangDict[rates[i]][_appLang], val: rates[i]}); } else { ratesLangArr.push({text: ((rates[i] === 1)? _pbLangDict['default'][_appLang] : rates[i]+'x'), val:rates[i]}); } } return ratesLangArr; } function _getAvialableQuality(videoPlayerObj){ var quality = videoPlayerObj.getAvailableQualityLevels(); var qualityLangArr = []; for (var i = 0; i < quality.length; i++) { if(typeof _qltyLangDict[quality[i]] !== "undefined" && typeof _qltyLangDict[quality[i]][_appLang] !== "undefined"){ qualityLangArr.push({text: _qltyLangDict[quality[i]][_appLang], val: quality[i]}); } else { qualityLangArr.push({text: quality[i], val: quality[i]}); } } return qualityLangArr; } function _ytIframeApiFactory(options, $dialog){ //TODO Break this out into a generic dirver loader call -SH var player; function onPlayerStateChange(event) { //get the quality levels var $pbQualitySelect = $("#videoQuality_"+options.videoId); if(!$pbQualitySelect.find('option').length){ var qualityValues = _getAvialableQuality(event.target); for (var i = 0; i < qualityValues.length; i++) { $pbQualitySelect.append('<option value="'+qualityValues[i].val+'">'+qualityValues[i].text+'</option>'); } } if(event.target.getPlaybackQuality() !== 'unkown'){ $pbQualitySelect.find('option').each(function(index, ele){ if(event.target.getPlaybackQuality() === $(ele).attr('value')){ $(ele).attr('selected','selected'); } }); } }; function onPlaybackQualityChange (event) { var $pbQualitySelect = $("#videoQuality_"+options.videoId); var selectVal = $pbQualitySelect.val() || 'default'; event.target.setPlaybackQuality(selectVal); }; // The API will call this function when the video player is ready. function onPlayerReady(event) { var videoPlayer = event.target; var maxDuration = videoPlayer.getDuration(); var minDuration = 0; // var playbackRates = _getAvialableRates(videoPlayer); // TODO: Refactor the snot of out this -SH $('#btn_play_pause_'+options.videoId).click(function(){ var aria_pressed = $(this).attr('aria-pressed'); var $img = $(this).find('img'); var src = $img.attr('src'); var srcParsed = src.split('/'); if(aria_pressed && (aria_pressed === 'true')){ $(this).attr('aria-pressed',false); $(this).removeClass('pause'); $(this).addClass('play'); if(srcParsed) { srcParsed.pop(); srcParsed.push('button-play.png'); $img.attr('src', srcParsed.join('/')); $img.attr('alt', 'Play'); } videoPlayer.pauseVideo(); } else { $(this).attr('aria-pressed', true); $(this).removeClass('play'); $(this).addClass('pause'); if(srcParsed) { srcParsed.pop(); srcParsed.push('button-pause.png'); $img.attr('src', srcParsed.join('/')); $img.attr('alt', 'Pause'); } videoPlayer.playVideo(); } return false; }); $('#btn_volUp_'+options.videoId).click(function(){ var maxVolume = 100; var currentVolume = videoPlayer.getVolume(); currentVolume += 10; if(currentVolume >= maxVolume) currentVolume = maxVolume; videoPlayer.setVolume(currentVolume); return false; }); $('#btn_volDown_'+options.videoId).click(function(){ var minVolume = 0; var currentVolume = videoPlayer.getVolume(); currentVolume -= 10; if(currentVolume <= minVolume) currentVolume = minVolume; videoPlayer.setVolume(currentVolume); return false; }); $('#btn_volMute_'+options.videoId).click(function(){ if(videoPlayer.isMuted()){ videoPlayer.unMute(); $(this).removeClass('muted'); } else{ videoPlayer.mute(); $(this).addClass('muted'); } return false; }); $('#btn_seekForward_'+options.videoId).click(function(){ var currentSeek = videoPlayer.getCurrentTime(); var incrementLength = (maxDuration*0.10); currentSeek += incrementLength; if(currentSeek >= maxDuration) currentSeek = maxDuration; videoPlayer.seekTo(currentSeek, true); return false; }); $('#btn_seekReverse_'+options.videoId).click(function(){ var currentSeek = videoPlayer.getCurrentTime(); var decrementLength = (maxDuration*0.10); currentSeek -= decrementLength; if(currentSeek <= minDuration) currentSeek = minDuration; videoPlayer.seekTo(currentSeek, true); return false; }); var $pbRateSelect = $("#playbackRate_"+options.videoId); if($pbRateSelect.find('option').length <= 1){ // var pbRates = videoPlayer.getAvailablePlaybackRates(); var pbRates = _getAvialableRates(videoPlayer); for (var i = 0; i < pbRates.length; i++) { $pbRateSelect.append('<option value="'+pbRates[i].val+'" '+((pbRates[i].val === 1)? ' selected="selected" ' : '')+'>'+pbRates[i].text+'</option>'); }; } $pbRateSelect.on('change', function(e){ e.preventDefault(); var newRate = parseFloat($(this).val()); if(newRate) videoPlayer.setPlaybackRate(newRate); }); // need consistent way to stop videos function bnsStopVideo(videoPlayerObj){ if(navigator.userAgent.indexOf('Windows NT 6.1; WOW64; Trident/7.0;') >= 0){ videoPlayerObj.pauseVideo(); } else { videoPlayerObj.stopVideo(); } } var $pbQualitySelect = $("#videoQuality_"+options.videoId); $pbQualitySelect.change(function(e){ e.preventDefault(); var currentSeek = videoPlayer.getCurrentTime(); var newQuality = $(this).val(); if(newQuality){ bnsStopVideo(videoPlayer); videoPlayer.setPlaybackQuality(newQuality); videoPlayer.seekTo(currentSeek, true); videoPlayer.playVideo(); } }); //scrubber $( "#video_scrubber_"+options.videoId ).slider({ min: minDuration, max: maxDuration, change: function(event, ui) {}, slide: function(event, ui) { var originalState = videoPlayer.getPlayerState(); if(originalState === YT.PlayerState.PLAYING) videoPlayer.pauseVideo(); videoPlayer.seekTo(ui.value, true); if(originalState === YT.PlayerState.PLAYING) videoPlayer.playVideo(); }, start: function(event, ui) {}, stop: function(event, ui) {} }); // Check for Ready state (This is a work around) -SH _eventLoopInterval = setInterval(function () { //handle to buffer bar loading $( "#video_scrubber_"+options.videoId ).find('.buffer-bar').css('right', (100-parseFloat(videoPlayer.getVideoLoadedFraction()*100).toFixed(0))+'%'); if(videoPlayer.getPlayerState) { if(videoPlayer.getPlayerState() === YT.PlayerState.PLAYING) { if(!_playerSliderInterval) { _playerSliderInterval = setInterval(function () { $( "#video_scrubber_"+options.videoId ).slider("value", parseInt(videoPlayer.getCurrentTime())); //self cleaning for when the dialog closes // if(!$( "div#"+options.videoId).length) {} }, 100); } } if((videoPlayer.getPlayerState() === YT.PlayerState.CUED || (videoPlayer.getPlayerState() === -1)) && !_firstLoad ) { _firstLoad = true; $('#btn_play_pause_'+options.videoId).trigger('click'); } if(videoPlayer.getPlayerState() !== YT.PlayerState.PLAYING) { clearInterval(_playerSliderInterval); _playerSliderInterval = null; } } }, 100); } player = new YT.Player(options.selector, { videoId: options.videoId, events: { 'onReady': onPlayerReady, 'onStateChange': onPlayerStateChange, 'onPlaybackQualityChange': onPlaybackQualityChange } }); return player; } $.fn.scotiaVideo = function(options) { if (! this.length) return this; var defaults = { postInit: null, contentModelObj: null }; var opts = $.extend(true, {}, defaults, options); var scotiaTemplate = new ScotiaVideoTemplate(); var clickEvent = function(e) { e.preventDefault(); var $videoLink = $(this); var videoSrc = parseVideoHrefSrc($(this).attr('href')); var $videoDialog = buildDialog(videoSrc, $videoLink.data(), scotiaTemplate, opts.contentModelObj); var onDialogOpen = function() { var $videoOverlay = $(scotiaTemplate.buildModalOverlay()); $videoOverlay.on('click', closeDialogOverlay()); openDialogOverlay($videoOverlay); showCurrentDialogSection($videoLink, $videoDialog); if(opts.onDialogOpen && (typeof opts.onDialogOpen === 'function')) { opts.onDialogOpen($videoLink, $videoDialog); } }; var onDialogClose = function() { closeDialogOverlay(); $(this).remove(); // kill the old and remake anew initClick($videoLink, clickEvent); $videoLink.focus(); }; var onCleanUp = function() { var dialogCode = $videoDialog.attr('id'); var playerInstance = _playerInstances.getItem('player_'+dialogCode); if($('#btn_play_pause_'+dialogCode).attr('aria-pressed') === 'true') { $('#btn_play_pause_'+dialogCode).trigger('click'); } if(playerInstance && playerInstance.stopVideo()) playerInstance.stopVideo(); clearInterval(_playerSliderInterval); clearInterval(_eventLoopInterval); _eventLoopInterval = null; _playerSliderInterval = null; _firstLoad = null; }; $videoDialog.dialog(dialogObjFactory(onDialogOpen, onDialogClose, {}, onCleanUp)); return false; }; for (var sVideo = 0; sVideo < this.length; sVideo++) { initClick($(this[sVideo]), clickEvent); } var transClick = function(e){ e.preventDefault(); var $linkObj = $(this); var parentID = $linkObj.data('parent'); var $parentObj = $(this).parents('div[id='+parentID+']'); showCurrentDialogSection($linkObj, $parentObj, function(){ if(_getTransViewState($parentObj) === 'show-video') { e.preventDefault(); $parentObj.find('.video-button.play').focus(); } else { $($linkObj.attr('href')).focus(); //manually set focus to avoid screen jump browser behaviour -SH // Firefox has issue focusing on elements that are not visible when focus is shifted -SH if(/Firefox/i.test(navigator.userAgent)){ setTimeout(function(){ var eleName = $linkObj.attr('href').substring(1); $('a[name='+eleName+']').focus(); },500); } } }); return false; }; // setup transcript clicks $('.transcripts a.youtube').live('click', transClick); $('.career-video-transcript a.red-btn.youtube').live('click', transClick); $('.ui-dialog-titlebar-close.ui-corner-all').live('keydown', function(e){ switch(e.which){ case 13: // hit enter on the close button _getDialogAsParent($(this)).dialog('close'); break; case 9: // tab off the close button var $parentDialogObj = _getDialogAsParent($(this)); if(_isDialogVideoHidden($parentDialogObj) === "true") { var langCode = _getTranLangCode($parentDialogObj.attr('class')); $parentDialogObj.find('.career-video-transcript .copy.'+langCode[1]+' .transcript-anchor-wrap').focus(); } else { $parentDialogObj.find('.video-button.visual.first').focus(); } break; } }); $('button.ui-slider-handle.ui-state-default.ui-corner-all').live('keydown', function(e){ var $parentDialogObj = _getDialogAsParent($(this)); switch(e.which){ case 9: if(e.shiftKey) { $parentDialogObj.find('.youtube.watch').focus(); } else { $(this).parent().parent().parent().prev().find('a.ui-dialog-titlebar-close').focus(); return false; } break; } }); $('.career-video-transcript .copy .transcript-anchor-wrap').live('keydown', function(e){ switch(e.which){ case 9: // tab off if(e.shiftKey) { $(this).parent().parent().parent().prev().find('a.ui-dialog-titlebar-close').focus(); return false; } break; } }); if(opts.postInit && (typeof opts.postInit === 'function')) { opts.postInit($(this)); } return this; }; // start $(function() { $(document).ready(function(){ var $scotia_videos = $(".scotia-video"); youTubeVideoListFactory(parseScotiaVideoKeys($scotia_videos), function(youTubeVideoList){ $scotia_videos.scotiaVideo({contentModelObj: youTubeVideoList, onDialogOpen: function($link, $dialog){ var videoCode = parseVideoHrefSrc($link.attr('href')); var ytPlayer = _playerInstances.getItem('player_'+videoCode, function(){ return _ytIframeApiFactory({ selector: 'player_'+videoCode, videoId: videoCode }, $dialog); }); }, postInit: function($video){ _ytIframeApiLoader(); } }); }); }); }); })(jQuery, window, document, videoConfig);
dahukish/bns_yt_handler
example/scotia-video.1.0.0.js
JavaScript
gpl-3.0
25,894
var class_passed_message = [ [ "direction_t", "class_passed_message.html#a11c83e74aa007c495b32ec3ed4953a50", [ [ "INCOMING", "class_passed_message.html#a11c83e74aa007c495b32ec3ed4953a50a43c42d4afa45cd04736e0d59167260a4", null ], [ "OUTGOING", "class_passed_message.html#a11c83e74aa007c495b32ec3ed4953a50a862e80d4bad52c451a413eef983c16ae", null ] ] ], [ "gates_t", "class_passed_message.html#a7738b6f08855f784d1012de87fbfd9e6", [ [ "UPPER_DATA", "class_passed_message.html#a7738b6f08855f784d1012de87fbfd9e6adf76d3ca7bb9a62bed70965639d59859", null ], [ "UPPER_CONTROL", "class_passed_message.html#a7738b6f08855f784d1012de87fbfd9e6aea991e99dac6c91c9e3e89f902f1075d", null ], [ "LOWER_DATA", "class_passed_message.html#a7738b6f08855f784d1012de87fbfd9e6a97265ac51f333c88508670c5d3f5ded9", null ], [ "LOWER_CONTROL", "class_passed_message.html#a7738b6f08855f784d1012de87fbfd9e6afb379d2a15495f1ef2f290dc9ac97299", null ] ] ], [ "direction", "class_passed_message.html#af55219a6ed1e656af091cb7583467f5b", null ], [ "fromModule", "class_passed_message.html#a6c340595cb29a4e8a4c55ea0503dffad", null ], [ "gateType", "class_passed_message.html#a41f11b3139f3552cf2de3bb648c1ff55", null ], [ "kind", "class_passed_message.html#ab4e2bf6d2317196af7e9c98ed2c406a6", null ], [ "name", "class_passed_message.html#a8a4eb44ad1e43205d1881fec0c00a6d7", null ] ];
JoeAlisson/ITSA
Veins-ITSA/doc/doxy/class_passed_message.js
JavaScript
gpl-3.0
1,412
describe('Home Page', () => { it('Should load correctly', () => { cy.visit('/') cy.get('div.marketing-content') .should('contain', 'Real-time Retrospectives') }); it('Should login and write a post', () => { cy.get('.MuiButton-root').click(); cy.get('.MuiTabs-flexContainer > [tabindex="-1"]').click(); cy.get('.MuiInput-input').focus().type('Zelensky'); cy.get('.MuiDialogContent-root .MuiButton-root').click(); // Home page should display the user name cy.get('#content').should('contain', 'Welcome, Zelensky'); // And then allow creating a new session cy.get('button').contains('Create a new session').click(); // And write a post cy.get('input[placeholder*="What went well"]').focus().type('Slava Ukraini!{enter}'); // Reload the page cy.reload(); // The post should still be there cy.get('#content').should('contain', 'Slava Ukraini!'); }); });
antoinejaussoin/retro-board
integration/cypress/integration/test.spec.js
JavaScript
gpl-3.0
936
/* Prototype JavaScript framework, version 1.6.0 * (c) 2005-2007 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://www.prototypejs.org/ * *--------------------------------------------------------------------------*/ var Prototype = { Version: '1.6.0', Browser: { IE: !!(window.attachEvent && !window.opera), Opera: !!window.opera, WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1, MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) }, BrowserFeatures: { XPath: !!document.evaluate, ElementExtensions: !!window.HTMLElement, SpecificElementExtensions: document.createElement('div').__proto__ && document.createElement('div').__proto__ !== document.createElement('form').__proto__ }, ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>', JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/, emptyFunction: function() { }, K: function(x) { return x } }; if (Prototype.Browser.MobileSafari) Prototype.BrowserFeatures.SpecificElementExtensions = false; if (Prototype.Browser.WebKit) Prototype.BrowserFeatures.XPath = false; /* Based on Alex Arnell's inheritance implementation. */ var Class = { create: function() { var parent = null, properties = $A(arguments); if (Object.isFunction(properties[0])) parent = properties.shift(); function klass() { this.initialize.apply(this, arguments); } Object.extend(klass, Class.Methods); klass.superclass = parent; klass.subclasses = []; if (parent) { var subclass = function() { }; subclass.prototype = parent.prototype; klass.prototype = new subclass; parent.subclasses.push(klass); } for (var i = 0; i < properties.length; i++) klass.addMethods(properties[i]); if (!klass.prototype.initialize) klass.prototype.initialize = Prototype.emptyFunction; klass.prototype.constructor = klass; return klass; } }; Class.Methods = { addMethods: function(source) { var ancestor = this.superclass && this.superclass.prototype; var properties = Object.keys(source); if (!Object.keys({ toString: true }).length) properties.push("toString", "valueOf"); for (var i = 0, length = properties.length; i < length; i++) { var property = properties[i], value = source[property]; if (ancestor && Object.isFunction(value) && value.argumentNames().first() == "$super") { var method = value, value = Object.extend((function(m) { return function() { return ancestor[m].apply(this, arguments) }; })(property).wrap(method), { valueOf: function() { return method }, toString: function() { return method.toString() } }); } this.prototype[property] = value; } return this; } }; var Abstract = { }; Object.extend = function(destination, source) { for (var property in source) destination[property] = source[property]; return destination; }; Object.extend(Object, { inspect: function(object) { try { if (object === undefined) return 'undefined'; if (object === null) return 'null'; return object.inspect ? object.inspect() : object.toString(); } catch (e) { if (e instanceof RangeError) return '...'; throw e; } }, toJSON: function(object) { var type = typeof object; switch (type) { case 'undefined': case 'function': case 'unknown': return; case 'boolean': return object.toString(); } if (object === null) return 'null'; if (object.toJSON) return object.toJSON(); if (Object.isElement(object)) return; var results = []; for (var property in object) { var value = Object.toJSON(object[property]); if (value !== undefined) results.push(property.toJSON() + ': ' + value); } return '{' + results.join(', ') + '}'; }, toQueryString: function(object) { return $H(object).toQueryString(); }, toHTML: function(object) { return object && object.toHTML ? object.toHTML() : String.interpret(object); }, keys: function(object) { var keys = []; for (var property in object) keys.push(property); return keys; }, values: function(object) { var values = []; for (var property in object) values.push(object[property]); return values; }, clone: function(object) { return Object.extend({ }, object); }, isElement: function(object) { return object && object.nodeType == 1; }, isArray: function(object) { return object && object.constructor === Array; }, isHash: function(object) { return object instanceof Hash; }, isFunction: function(object) { return typeof object == "function"; }, isString: function(object) { return typeof object == "string"; }, isNumber: function(object) { return typeof object == "number"; }, isUndefined: function(object) { return typeof object == "undefined"; } }); Object.extend(Function.prototype, { argumentNames: function() { var names = this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip"); return names.length == 1 && !names[0] ? [] : names; }, bind: function() { if (arguments.length < 2 && arguments[0] === undefined) return this; var __method = this, args = $A(arguments), object = args.shift(); return function() { return __method.apply(object, args.concat($A(arguments))); } }, bindAsEventListener: function() { var __method = this, args = $A(arguments), object = args.shift(); return function(event) { return __method.apply(object, [event || window.event].concat(args)); } }, curry: function() { if (!arguments.length) return this; var __method = this, args = $A(arguments); return function() { return __method.apply(this, args.concat($A(arguments))); } }, delay: function() { var __method = this, args = $A(arguments), timeout = args.shift() * 1000; return window.setTimeout(function() { return __method.apply(__method, args); }, timeout); }, wrap: function(wrapper) { var __method = this; return function() { return wrapper.apply(this, [__method.bind(this)].concat($A(arguments))); } }, methodize: function() { if (this._methodized) return this._methodized; var __method = this; return this._methodized = function() { return __method.apply(null, [this].concat($A(arguments))); }; } }); Function.prototype.defer = Function.prototype.delay.curry(0.01); Date.prototype.toJSON = function() { return '"' + this.getUTCFullYear() + '-' + (this.getUTCMonth() + 1).toPaddedString(2) + '-' + this.getUTCDate().toPaddedString(2) + 'T' + this.getUTCHours().toPaddedString(2) + ':' + this.getUTCMinutes().toPaddedString(2) + ':' + this.getUTCSeconds().toPaddedString(2) + 'Z"'; }; var Try = { these: function() { var returnValue; for (var i = 0, length = arguments.length; i < length; i++) { var lambda = arguments[i]; try { returnValue = lambda(); break; } catch (e) { } } return returnValue; } }; RegExp.prototype.match = RegExp.prototype.test; RegExp.escape = function(str) { return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); }; /*--------------------------------------------------------------------------*/ var PeriodicalExecuter = Class.create({ initialize: function(callback, frequency) { this.callback = callback; this.frequency = frequency; this.currentlyExecuting = false; this.registerCallback(); }, registerCallback: function() { this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); }, execute: function() { this.callback(this); }, stop: function() { if (!this.timer) return; clearInterval(this.timer); this.timer = null; }, onTimerEvent: function() { if (!this.currentlyExecuting) { try { this.currentlyExecuting = true; this.execute(); } finally { this.currentlyExecuting = false; } } } }); Object.extend(String, { interpret: function(value) { return value == null ? '' : String(value); }, specialChar: { '\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '\\': '\\\\' } }); Object.extend(String.prototype, { gsub: function(pattern, replacement) { var result = '', source = this, match; replacement = arguments.callee.prepareReplacement(replacement); while (source.length > 0) { if (match = source.match(pattern)) { result += source.slice(0, match.index); result += String.interpret(replacement(match)); source = source.slice(match.index + match[0].length); } else { result += source, source = ''; } } return result; }, sub: function(pattern, replacement, count) { replacement = this.gsub.prepareReplacement(replacement); count = count === undefined ? 1 : count; return this.gsub(pattern, function(match) { if (--count < 0) return match[0]; return replacement(match); }); }, scan: function(pattern, iterator) { this.gsub(pattern, iterator); return String(this); }, truncate: function(length, truncation) { length = length || 30; truncation = truncation === undefined ? '...' : truncation; return this.length > length ? this.slice(0, length - truncation.length) + truncation : String(this); }, strip: function() { return this.replace(/^\s+/, '').replace(/\s+$/, ''); }, stripTags: function() { return this.replace(/<\/?[^>]+>/gi, ''); }, stripScripts: function() { return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); }, extractScripts: function() { var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); return (this.match(matchAll) || []).map(function(scriptTag) { return (scriptTag.match(matchOne) || ['', ''])[1]; }); }, evalScripts: function() { return this.extractScripts().map(function(script) { return eval(script) }); }, escapeHTML: function() { var self = arguments.callee; self.text.data = this; return self.div.innerHTML; }, unescapeHTML: function() { var div = new Element('div'); div.innerHTML = this.stripTags(); return div.childNodes[0] ? (div.childNodes.length > 1 ? $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) : div.childNodes[0].nodeValue) : ''; }, toQueryParams: function(separator) { var match = this.strip().match(/([^?#]*)(#.*)?$/); if (!match) return { }; return match[1].split(separator || '&').inject({ }, function(hash, pair) { if ((pair = pair.split('='))[0]) { var key = decodeURIComponent(pair.shift()); var value = pair.length > 1 ? pair.join('=') : pair[0]; if (value != undefined) value = decodeURIComponent(value); if (key in hash) { if (!Object.isArray(hash[key])) hash[key] = [hash[key]]; hash[key].push(value); } else hash[key] = value; } return hash; }); }, toArray: function() { return this.split(''); }, succ: function() { return this.slice(0, this.length - 1) + String.fromCharCode(this.charCodeAt(this.length - 1) + 1); }, times: function(count) { return count < 1 ? '' : new Array(count + 1).join(this); }, camelize: function() { var parts = this.split('-'), len = parts.length; if (len == 1) return parts[0]; var camelized = this.charAt(0) == '-' ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1) : parts[0]; for (var i = 1; i < len; i++) camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1); return camelized; }, capitalize: function() { return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); }, underscore: function() { return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase(); }, dasherize: function() { return this.gsub(/_/,'-'); }, inspect: function(useDoubleQuotes) { var escapedString = this.gsub(/[\x00-\x1f\\]/, function(match) { var character = String.specialChar[match[0]]; return character ? character : '\\u00' + match[0].charCodeAt().toPaddedString(2, 16); }); if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"'; return "'" + escapedString.replace(/'/g, '\\\'') + "'"; }, toJSON: function() { return this.inspect(true); }, unfilterJSON: function(filter) { return this.sub(filter || Prototype.JSONFilter, '#{1}'); }, isJSON: function() { var str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); }, evalJSON: function(sanitize) { var json = this.unfilterJSON(); try { if (!sanitize || json.isJSON()) return eval('(' + json + ')'); } catch (e) { } throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); }, include: function(pattern) { return this.indexOf(pattern) > -1; }, startsWith: function(pattern) { return this.indexOf(pattern) === 0; }, endsWith: function(pattern) { var d = this.length - pattern.length; return d >= 0 && this.lastIndexOf(pattern) === d; }, empty: function() { return this == ''; }, blank: function() { return /^\s*$/.test(this); }, interpolate: function(object, pattern) { return new Template(this, pattern).evaluate(object); } }); if (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, { escapeHTML: function() { return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;'); }, unescapeHTML: function() { return this.replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>'); } }); String.prototype.gsub.prepareReplacement = function(replacement) { if (Object.isFunction(replacement)) return replacement; var template = new Template(replacement); return function(match) { return template.evaluate(match) }; }; String.prototype.parseQuery = String.prototype.toQueryParams; Object.extend(String.prototype.escapeHTML, { div: document.createElement('div'), text: document.createTextNode('') }); with (String.prototype.escapeHTML) div.appendChild(text); var Template = Class.create({ initialize: function(template, pattern) { this.template = template.toString(); this.pattern = pattern || Template.Pattern; }, evaluate: function(object) { if (Object.isFunction(object.toTemplateReplacements)) object = object.toTemplateReplacements(); return this.template.gsub(this.pattern, function(match) { if (object == null) return ''; var before = match[1] || ''; if (before == '\\') return match[2]; var ctx = object, expr = match[3]; var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/, match = pattern.exec(expr); if (match == null) return before; while (match != null) { var comp = match[1].startsWith('[') ? match[2].gsub('\\\\]', ']') : match[1]; ctx = ctx[comp]; if (null == ctx || '' == match[3]) break; expr = expr.substring('[' == match[3] ? match[1].length : match[0].length); match = pattern.exec(expr); } return before + String.interpret(ctx); }.bind(this)); } }); Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/; var $break = { }; var Enumerable = { each: function(iterator, context) { var index = 0; iterator = iterator.bind(context); try { this._each(function(value) { iterator(value, index++); }); } catch (e) { if (e != $break) throw e; } return this; }, eachSlice: function(number, iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var index = -number, slices = [], array = this.toArray(); while ((index += number) < array.length) slices.push(array.slice(index, index+number)); return slices.collect(iterator, context); }, all: function(iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var result = true; this.each(function(value, index) { result = result && !!iterator(value, index); if (!result) throw $break; }); return result; }, any: function(iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var result = false; this.each(function(value, index) { if (result = !!iterator(value, index)) throw $break; }); return result; }, collect: function(iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var results = []; this.each(function(value, index) { results.push(iterator(value, index)); }); return results; }, detect: function(iterator, context) { iterator = iterator.bind(context); var result; this.each(function(value, index) { if (iterator(value, index)) { result = value; throw $break; } }); return result; }, findAll: function(iterator, context) { iterator = iterator.bind(context); var results = []; this.each(function(value, index) { if (iterator(value, index)) results.push(value); }); return results; }, grep: function(filter, iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var results = []; if (Object.isString(filter)) filter = new RegExp(filter); this.each(function(value, index) { if (filter.match(value)) results.push(iterator(value, index)); }); return results; }, include: function(object) { if (Object.isFunction(this.indexOf)) if (this.indexOf(object) != -1) return true; var found = false; this.each(function(value) { if (value == object) { found = true; throw $break; } }); return found; }, inGroupsOf: function(number, fillWith) { fillWith = fillWith === undefined ? null : fillWith; return this.eachSlice(number, function(slice) { while(slice.length < number) slice.push(fillWith); return slice; }); }, inject: function(memo, iterator, context) { iterator = iterator.bind(context); this.each(function(value, index) { memo = iterator(memo, value, index); }); return memo; }, invoke: function(method) { var args = $A(arguments).slice(1); return this.map(function(value) { return value[method].apply(value, args); }); }, max: function(iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var result; this.each(function(value, index) { value = iterator(value, index); if (result == undefined || value >= result) result = value; }); return result; }, min: function(iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var result; this.each(function(value, index) { value = iterator(value, index); if (result == undefined || value < result) result = value; }); return result; }, partition: function(iterator, context) { iterator = iterator ? iterator.bind(context) : Prototype.K; var trues = [], falses = []; this.each(function(value, index) { (iterator(value, index) ? trues : falses).push(value); }); return [trues, falses]; }, pluck: function(property) { var results = []; this.each(function(value) { results.push(value[property]); }); return results; }, reject: function(iterator, context) { iterator = iterator.bind(context); var results = []; this.each(function(value, index) { if (!iterator(value, index)) results.push(value); }); return results; }, sortBy: function(iterator, context) { iterator = iterator.bind(context); return this.map(function(value, index) { return {value: value, criteria: iterator(value, index)}; }).sort(function(left, right) { var a = left.criteria, b = right.criteria; return a < b ? -1 : a > b ? 1 : 0; }).pluck('value'); }, toArray: function() { return this.map(); }, zip: function() { var iterator = Prototype.K, args = $A(arguments); if (Object.isFunction(args.last())) iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { return iterator(collections.pluck(index)); }); }, size: function() { return this.toArray().length; }, inspect: function() { return '#<Enumerable:' + this.toArray().inspect() + '>'; } }; Object.extend(Enumerable, { map: Enumerable.collect, find: Enumerable.detect, select: Enumerable.findAll, filter: Enumerable.findAll, member: Enumerable.include, entries: Enumerable.toArray, every: Enumerable.all, some: Enumerable.any }); function $A(iterable) { if (!iterable) return []; if (iterable.toArray) return iterable.toArray(); var length = iterable.length, results = new Array(length); while (length--) results[length] = iterable[length]; return results; } if (Prototype.Browser.WebKit) { function $A(iterable) { if (!iterable) return []; if (!(Object.isFunction(iterable) && iterable == '[object NodeList]') && iterable.toArray) return iterable.toArray(); var length = iterable.length, results = new Array(length); while (length--) results[length] = iterable[length]; return results; } } Array.from = $A; Object.extend(Array.prototype, Enumerable); if (!Array.prototype._reverse) Array.prototype._reverse = Array.prototype.reverse; Object.extend(Array.prototype, { _each: function(iterator) { for (var i = 0, length = this.length; i < length; i++) iterator(this[i]); }, clear: function() { this.length = 0; return this; }, first: function() { return this[0]; }, last: function() { return this[this.length - 1]; }, compact: function() { return this.select(function(value) { return value != null; }); }, flatten: function() { return this.inject([], function(array, value) { return array.concat(Object.isArray(value) ? value.flatten() : [value]); }); }, without: function() { var values = $A(arguments); return this.select(function(value) { return !values.include(value); }); }, reverse: function(inline) { return (inline !== false ? this : this.toArray())._reverse(); }, reduce: function() { return this.length > 1 ? this : this[0]; }, uniq: function(sorted) { return this.inject([], function(array, value, index) { if (0 == index || (sorted ? array.last() != value : !array.include(value))) array.push(value); return array; }); }, intersect: function(array) { return this.uniq().findAll(function(item) { return array.detect(function(value) { return item === value }); }); }, clone: function() { return [].concat(this); }, size: function() { return this.length; }, inspect: function() { return '[' + this.map(Object.inspect).join(', ') + ']'; }, toJSON: function() { var results = []; this.each(function(object) { var value = Object.toJSON(object); if (value !== undefined) results.push(value); }); return '[' + results.join(', ') + ']'; } }); // use native browser JS 1.6 implementation if available if (Object.isFunction(Array.prototype.forEach)) Array.prototype._each = Array.prototype.forEach; if (!Array.prototype.indexOf) Array.prototype.indexOf = function(item, i) { i || (i = 0); var length = this.length; if (i < 0) i = length + i; for (; i < length; i++) if (this[i] === item) return i; return -1; }; if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf = function(item, i) { i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; var n = this.slice(0, i).reverse().indexOf(item); return (n < 0) ? n : i - n - 1; }; Array.prototype.toArray = Array.prototype.clone; function $w(string) { if (!Object.isString(string)) return []; string = string.strip(); return string ? string.split(/\s+/) : []; } if (Prototype.Browser.Opera){ Array.prototype.concat = function() { var array = []; for (var i = 0, length = this.length; i < length; i++) array.push(this[i]); for (var i = 0, length = arguments.length; i < length; i++) { if (Object.isArray(arguments[i])) { for (var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++) array.push(arguments[i][j]); } else { array.push(arguments[i]); } } return array; }; } Object.extend(Number.prototype, { toColorPart: function() { return this.toPaddedString(2, 16); }, succ: function() { return this + 1; }, times: function(iterator) { $R(0, this, true).each(iterator); return this; }, toPaddedString: function(length, radix) { var string = this.toString(radix || 10); return '0'.times(length - string.length) + string; }, toJSON: function() { return isFinite(this) ? this.toString() : 'null'; } }); $w('abs round ceil floor').each(function(method){ Number.prototype[method] = Math[method].methodize(); }); function $H(object) { return new Hash(object); } var Hash = Class.create(Enumerable, (function() { if (function() { var i = 0, Test = function(value) { this.key = value }; Test.prototype.key = 'foo'; for (var property in new Test('bar')) i++; return i > 1; }()) { function each(iterator) { var cache = []; for (var key in this._object) { var value = this._object[key]; if (cache.include(key)) continue; cache.push(key); var pair = [key, value]; pair.key = key; pair.value = value; iterator(pair); } } } else { function each(iterator) { for (var key in this._object) { var value = this._object[key], pair = [key, value]; pair.key = key; pair.value = value; iterator(pair); } } } function toQueryPair(key, value) { if (Object.isUndefined(value)) return key; return key + '=' + encodeURIComponent(String.interpret(value)); } return { initialize: function(object) { this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); }, _each: each, set: function(key, value) { return this._object[key] = value; }, get: function(key) { return this._object[key]; }, unset: function(key) { var value = this._object[key]; delete this._object[key]; return value; }, toObject: function() { return Object.clone(this._object); }, keys: function() { return this.pluck('key'); }, values: function() { return this.pluck('value'); }, index: function(value) { var match = this.detect(function(pair) { return pair.value === value; }); return match && match.key; }, merge: function(object) { return this.clone().update(object); }, update: function(object) { return new Hash(object).inject(this, function(result, pair) { result.set(pair.key, pair.value); return result; }); }, toQueryString: function() { return this.map(function(pair) { var key = encodeURIComponent(pair.key), values = pair.value; if (values && typeof values == 'object') { if (Object.isArray(values)) return values.map(toQueryPair.curry(key)).join('&'); } return toQueryPair(key, values); }).join('&'); }, inspect: function() { return '#<Hash:{' + this.map(function(pair) { return pair.map(Object.inspect).join(': '); }).join(', ') + '}>'; }, toJSON: function() { return Object.toJSON(this.toObject()); }, clone: function() { return new Hash(this); } } })()); Hash.prototype.toTemplateReplacements = Hash.prototype.toObject; Hash.from = $H; var ObjectRange = Class.create(Enumerable, { initialize: function(start, end, exclusive) { this.start = start; this.end = end; this.exclusive = exclusive; }, _each: function(iterator) { var value = this.start; while (this.include(value)) { iterator(value); value = value.succ(); } }, include: function(value) { if (value < this.start) return false; if (this.exclusive) return value < this.end; return value <= this.end; } }); var $R = function(start, end, exclusive) { return new ObjectRange(start, end, exclusive); }; var Ajax = { getTransport: function() { return Try.these( function() {return new XMLHttpRequest()}, function() {return new ActiveXObject('Msxml2.XMLHTTP')}, function() {return new ActiveXObject('Microsoft.XMLHTTP')} ) || false; }, activeRequestCount: 0 }; Ajax.Responders = { responders: [], _each: function(iterator) { this.responders._each(iterator); }, register: function(responder) { if (!this.include(responder)) this.responders.push(responder); }, unregister: function(responder) { this.responders = this.responders.without(responder); }, dispatch: function(callback, request, transport, json) { this.each(function(responder) { if (Object.isFunction(responder[callback])) { try { responder[callback].apply(responder, [request, transport, json]); } catch (e) { } } }); } }; Object.extend(Ajax.Responders, Enumerable); Ajax.Responders.register({ onCreate: function() { Ajax.activeRequestCount++ }, onComplete: function() { Ajax.activeRequestCount-- } }); Ajax.Base = Class.create({ initialize: function(options) { this.options = { method: 'post', asynchronous: true, contentType: 'application/x-www-form-urlencoded', encoding: 'UTF-8', parameters: '', evalJSON: true, evalJS: true }; Object.extend(this.options, options || { }); this.options.method = this.options.method.toLowerCase(); if (Object.isString(this.options.parameters)) this.options.parameters = this.options.parameters.toQueryParams(); } }); Ajax.Request = Class.create(Ajax.Base, { _complete: false, initialize: function($super, url, options) { $super(options); this.transport = Ajax.getTransport(); this.request(url); }, request: function(url) { this.url = url; this.method = this.options.method; var params = Object.clone(this.options.parameters); if (!['get', 'post'].include(this.method)) { // simulate other verbs over post params['_method'] = this.method; this.method = 'post'; } this.parameters = params; if (params = Object.toQueryString(params)) { // when GET, append parameters to URL if (this.method == 'get') this.url += (this.url.include('?') ? '&' : '?') + params; else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) params += '&_='; } try { var response = new Ajax.Response(this); if (this.options.onCreate) this.options.onCreate(response); Ajax.Responders.dispatch('onCreate', this, response); this.transport.open(this.method.toUpperCase(), this.url, this.options.asynchronous); if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1); this.transport.onreadystatechange = this.onStateChange.bind(this); this.setRequestHeaders(); this.body = this.method == 'post' ? (this.options.postBody || params) : null; this.transport.send(this.body); /* Force Firefox to handle ready state 4 for synchronous requests */ if (!this.options.asynchronous && this.transport.overrideMimeType) this.onStateChange(); } catch (e) { this.dispatchException(e); } }, onStateChange: function() { var readyState = this.transport.readyState; if (readyState > 1 && !((readyState == 4) && this._complete)) this.respondToReadyState(this.transport.readyState); }, setRequestHeaders: function() { var headers = { 'X-Requested-With': 'XMLHttpRequest', 'X-Prototype-Version': Prototype.Version, 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' }; if (this.method == 'post') { headers['Content-type'] = this.options.contentType + (this.options.encoding ? '; charset=' + this.options.encoding : ''); /* Force "Connection: close" for older Mozilla browsers to work * around a bug where XMLHttpRequest sends an incorrect * Content-length header. See Mozilla Bugzilla #246651. */ if (this.transport.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005) headers['Connection'] = 'close'; } // user-defined headers if (typeof this.options.requestHeaders == 'object') { var extras = this.options.requestHeaders; if (Object.isFunction(extras.push)) for (var i = 0, length = extras.length; i < length; i += 2) headers[extras[i]] = extras[i+1]; else $H(extras).each(function(pair) { headers[pair.key] = pair.value }); } for (var name in headers) this.transport.setRequestHeader(name, headers[name]); }, success: function() { var status = this.getStatus(); return !status || (status >= 200 && status < 300); }, getStatus: function() { try { return this.transport.status || 0; } catch (e) { return 0 } }, respondToReadyState: function(readyState) { var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this); if (state == 'Complete') { try { this._complete = true; (this.options['on' + response.status] || this.options['on' + (this.success() ? 'Success' : 'Failure')] || Prototype.emptyFunction)(response, response.headerJSON); } catch (e) { this.dispatchException(e); } var contentType = response.getHeader('Content-type'); if (this.options.evalJS == 'force' || (this.options.evalJS && contentType && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) this.evalResponse(); } try { (this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON); Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON); } catch (e) { this.dispatchException(e); } if (state == 'Complete') { // avoid memory leak in MSIE: clean up this.transport.onreadystatechange = Prototype.emptyFunction; } }, getHeader: function(name) { try { return this.transport.getResponseHeader(name); } catch (e) { return null } }, evalResponse: function() { try { return eval((this.transport.responseText || '').unfilterJSON()); } catch (e) { this.dispatchException(e); } }, dispatchException: function(exception) { (this.options.onException || Prototype.emptyFunction)(this, exception); Ajax.Responders.dispatch('onException', this, exception); } }); Ajax.Request.Events = ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; Ajax.Response = Class.create({ initialize: function(request){ this.request = request; var transport = this.transport = request.transport, readyState = this.readyState = transport.readyState; if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { this.status = this.getStatus(); this.statusText = this.getStatusText(); this.responseText = String.interpret(transport.responseText); this.headerJSON = this._getHeaderJSON(); } if(readyState == 4) { var xml = transport.responseXML; this.responseXML = xml === undefined ? null : xml; this.responseJSON = this._getResponseJSON(); } }, status: 0, statusText: '', getStatus: Ajax.Request.prototype.getStatus, getStatusText: function() { try { return this.transport.statusText || ''; } catch (e) { return '' } }, getHeader: Ajax.Request.prototype.getHeader, getAllHeaders: function() { try { return this.getAllResponseHeaders(); } catch (e) { return null } }, getResponseHeader: function(name) { return this.transport.getResponseHeader(name); }, getAllResponseHeaders: function() { return this.transport.getAllResponseHeaders(); }, _getHeaderJSON: function() { var json = this.getHeader('X-JSON'); if (!json) return null; json = decodeURIComponent(escape(json)); try { return json.evalJSON(this.request.options.sanitizeJSON); } catch (e) { this.request.dispatchException(e); } }, _getResponseJSON: function() { var options = this.request.options; if (!options.evalJSON || (options.evalJSON != 'force' && !(this.getHeader('Content-type') || '').include('application/json'))) return null; try { return this.transport.responseText.evalJSON(options.sanitizeJSON); } catch (e) { this.request.dispatchException(e); } } }); Ajax.Updater = Class.create(Ajax.Request, { initialize: function($super, container, url, options) { this.container = { success: (container.success || container), failure: (container.failure || (container.success ? null : container)) }; options = options || { }; var onComplete = options.onComplete; options.onComplete = (function(response, param) { this.updateContent(response.responseText); if (Object.isFunction(onComplete)) onComplete(response, param); }).bind(this); $super(url, options); }, updateContent: function(responseText) { var receiver = this.container[this.success() ? 'success' : 'failure'], options = this.options; if (!options.evalScripts) responseText = responseText.stripScripts(); if (receiver = $(receiver)) { if (options.insertion) { if (Object.isString(options.insertion)) { var insertion = { }; insertion[options.insertion] = responseText; receiver.insert(insertion); } else options.insertion(receiver, responseText); } else receiver.update(responseText); } if (this.success()) { if (this.onComplete) this.onComplete.bind(this).defer(); } } }); Ajax.PeriodicalUpdater = Class.create(Ajax.Base, { initialize: function($super, container, url, options) { $super(options); this.onComplete = this.options.onComplete; this.frequency = (this.options.frequency || 2); this.decay = (this.options.decay || 1); this.updater = { }; this.container = container; this.url = url; this.start(); }, start: function() { this.options.onComplete = this.updateComplete.bind(this); this.onTimerEvent(); }, stop: function() { this.updater.options.onComplete = undefined; clearTimeout(this.timer); (this.onComplete || Prototype.emptyFunction).apply(this, arguments); }, updateComplete: function(response) { if (this.options.decay) { this.decay = (response.responseText == this.lastText ? this.decay * this.options.decay : 1); this.lastText = response.responseText; } this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency); }, onTimerEvent: function() { this.updater = new Ajax.Updater(this.container, this.url, this.options); } }); function $(element) { if (arguments.length > 1) { for (var i = 0, elements = [], length = arguments.length; i < length; i++) elements.push($(arguments[i])); return elements; } if (Object.isString(element)) element = document.getElementById(element); return Element.extend(element); } if (Prototype.BrowserFeatures.XPath) { document._getElementsByXPath = function(expression, parentElement) { var results = []; var query = document.evaluate(expression, $(parentElement) || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); for (var i = 0, length = query.snapshotLength; i < length; i++) results.push(Element.extend(query.snapshotItem(i))); return results; }; } /*--------------------------------------------------------------------------*/ if (!window.Node) var Node = { }; if (!Node.ELEMENT_NODE) { // DOM level 2 ECMAScript Language Binding Object.extend(Node, { ELEMENT_NODE: 1, ATTRIBUTE_NODE: 2, TEXT_NODE: 3, CDATA_SECTION_NODE: 4, ENTITY_REFERENCE_NODE: 5, ENTITY_NODE: 6, PROCESSING_INSTRUCTION_NODE: 7, COMMENT_NODE: 8, DOCUMENT_NODE: 9, DOCUMENT_TYPE_NODE: 10, DOCUMENT_FRAGMENT_NODE: 11, NOTATION_NODE: 12 }); } (function() { var element = this.Element; this.Element = function(tagName, attributes) { attributes = attributes || { }; tagName = tagName.toLowerCase(); var cache = Element.cache; if (Prototype.Browser.IE && attributes.name) { tagName = '<' + tagName + ' name="' + attributes.name + '">'; delete attributes.name; return Element.writeAttribute(document.createElement(tagName), attributes); } if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName)); return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); }; Object.extend(this.Element, element || { }); }).call(window); Element.cache = { }; Element.Methods = { visible: function(element) { return $(element).style.display != 'none'; }, toggle: function(element) { element = $(element); Element[Element.visible(element) ? 'hide' : 'show'](element); return element; }, hide: function(element) { $(element).style.display = 'none'; return element; }, show: function(element) { $(element).style.display = ''; return element; }, remove: function(element) { element = $(element); element.parentNode.removeChild(element); return element; }, update: function(element, content) { element = $(element); if (content && content.toElement) content = content.toElement(); if (Object.isElement(content)) return element.update().insert(content); content = Object.toHTML(content); element.innerHTML = content.stripScripts(); content.evalScripts.bind(content).defer(); return element; }, replace: function(element, content) { element = $(element); if (content && content.toElement) content = content.toElement(); else if (!Object.isElement(content)) { content = Object.toHTML(content); var range = element.ownerDocument.createRange(); range.selectNode(element); content.evalScripts.bind(content).defer(); content = range.createContextualFragment(content.stripScripts()); } element.parentNode.replaceChild(content, element); return element; }, insert: function(element, insertions) { element = $(element); if (Object.isString(insertions) || Object.isNumber(insertions) || Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) insertions = {bottom:insertions}; var content, t, range; for (position in insertions) { content = insertions[position]; position = position.toLowerCase(); t = Element._insertionTranslations[position]; if (content && content.toElement) content = content.toElement(); if (Object.isElement(content)) { t.insert(element, content); continue; } content = Object.toHTML(content); range = element.ownerDocument.createRange(); t.initializeRange(element, range); t.insert(element, range.createContextualFragment(content.stripScripts())); content.evalScripts.bind(content).defer(); } return element; }, wrap: function(element, wrapper, attributes) { element = $(element); if (Object.isElement(wrapper)) $(wrapper).writeAttribute(attributes || { }); else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); else wrapper = new Element('div', wrapper); if (element.parentNode) element.parentNode.replaceChild(wrapper, element); wrapper.appendChild(element); return wrapper; }, inspect: function(element) { element = $(element); var result = '<' + element.tagName.toLowerCase(); $H({'id': 'id', 'className': 'class'}).each(function(pair) { var property = pair.first(), attribute = pair.last(); var value = (element[property] || '').toString(); if (value) result += ' ' + attribute + '=' + value.inspect(true); }); return result + '>'; }, recursivelyCollect: function(element, property) { element = $(element); var elements = []; while (element = element[property]) if (element.nodeType == 1) elements.push(Element.extend(element)); return elements; }, ancestors: function(element) { return $(element).recursivelyCollect('parentNode'); }, descendants: function(element) { return $A($(element).getElementsByTagName('*')).each(Element.extend); }, firstDescendant: function(element) { element = $(element).firstChild; while (element && element.nodeType != 1) element = element.nextSibling; return $(element); }, immediateDescendants: function(element) { if (!(element = $(element).firstChild)) return []; while (element && element.nodeType != 1) element = element.nextSibling; if (element) return [element].concat($(element).nextSiblings()); return []; }, previousSiblings: function(element) { return $(element).recursivelyCollect('previousSibling'); }, nextSiblings: function(element) { return $(element).recursivelyCollect('nextSibling'); }, siblings: function(element) { element = $(element); return element.previousSiblings().reverse().concat(element.nextSiblings()); }, match: function(element, selector) { if (Object.isString(selector)) selector = new Selector(selector); return selector.match($(element)); }, up: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(element.parentNode); var ancestors = element.ancestors(); return expression ? Selector.findElement(ancestors, expression, index) : ancestors[index || 0]; }, down: function(element, expression, index) { element = $(element); if (arguments.length == 1) return element.firstDescendant(); var descendants = element.descendants(); return expression ? Selector.findElement(descendants, expression, index) : descendants[index || 0]; }, previous: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); var previousSiblings = element.previousSiblings(); return expression ? Selector.findElement(previousSiblings, expression, index) : previousSiblings[index || 0]; }, next: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element)); var nextSiblings = element.nextSiblings(); return expression ? Selector.findElement(nextSiblings, expression, index) : nextSiblings[index || 0]; }, select: function() { var args = $A(arguments), element = $(args.shift()); return Selector.findChildElements(element, args); }, adjacent: function() { var args = $A(arguments), element = $(args.shift()); return Selector.findChildElements(element.parentNode, args).without(element); }, identify: function(element) { element = $(element); var id = element.readAttribute('id'), self = arguments.callee; if (id) return id; do { id = 'anonymous_element_' + self.counter++ } while ($(id)); element.writeAttribute('id', id); return id; }, readAttribute: function(element, name) { element = $(element); if (Prototype.Browser.IE) { var t = Element._attributeTranslations.read; if (t.values[name]) return t.values[name](element, name); if (t.names[name]) name = t.names[name]; if (name.include(':')) { return (!element.attributes || !element.attributes[name]) ? null : element.attributes[name].value; } } return element.getAttribute(name); }, writeAttribute: function(element, name, value) { element = $(element); var attributes = { }, t = Element._attributeTranslations.write; if (typeof name == 'object') attributes = name; else attributes[name] = value === undefined ? true : value; for (var attr in attributes) { var name = t.names[attr] || attr, value = attributes[attr]; if (t.values[attr]) name = t.values[attr](element, value); if (value === false || value === null) element.removeAttribute(name); else if (value === true) element.setAttribute(name, name); else element.setAttribute(name, value); } return element; }, getHeight: function(element) { return $(element).getDimensions().height; }, getWidth: function(element) { return $(element).getDimensions().width; }, classNames: function(element) { return new Element.ClassNames(element); }, hasClassName: function(element, className) { if (!(element = $(element))) return; var elementClassName = element.className; return (elementClassName.length > 0 && (elementClassName == className || new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); }, addClassName: function(element, className) { if (!(element = $(element))) return; if (!element.hasClassName(className)) element.className += (element.className ? ' ' : '') + className; return element; }, removeClassName: function(element, className) { if (!(element = $(element))) return; element.className = element.className.replace( new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip(); return element; }, toggleClassName: function(element, className) { if (!(element = $(element))) return; return element[element.hasClassName(className) ? 'removeClassName' : 'addClassName'](className); }, // removes whitespace-only text node children cleanWhitespace: function(element) { element = $(element); var node = element.firstChild; while (node) { var nextNode = node.nextSibling; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) element.removeChild(node); node = nextNode; } return element; }, empty: function(element) { return $(element).innerHTML.blank(); }, descendantOf: function(element, ancestor) { element = $(element), ancestor = $(ancestor); if (element.compareDocumentPosition) return (element.compareDocumentPosition(ancestor) & 8) === 8; if (element.sourceIndex && !Prototype.Browser.Opera) { var e = element.sourceIndex, a = ancestor.sourceIndex, nextAncestor = ancestor.nextSibling; if (!nextAncestor) { do { ancestor = ancestor.parentNode; } while (!(nextAncestor = ancestor.nextSibling) && ancestor.parentNode); } if (nextAncestor) return (e > a && e < nextAncestor.sourceIndex); } while (element = element.parentNode) if (element == ancestor) return true; return false; }, scrollTo: function(element) { element = $(element); var pos = element.cumulativeOffset(); window.scrollTo(pos[0], pos[1]); return element; }, getStyle: function(element, style) { element = $(element); style = style == 'float' ? 'cssFloat' : style.camelize(); var value = element.style[style]; if (!value) { var css = document.defaultView.getComputedStyle(element, null); value = css ? css[style] : null; } if (style == 'opacity') return value ? parseFloat(value) : 1.0; return value == 'auto' ? null : value; }, getOpacity: function(element) { return $(element).getStyle('opacity'); }, setStyle: function(element, styles) { element = $(element); var elementStyle = element.style, match; if (Object.isString(styles)) { element.style.cssText += ';' + styles; return styles.include('opacity') ? element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element; } for (var property in styles) if (property == 'opacity') element.setOpacity(styles[property]); else elementStyle[(property == 'float' || property == 'cssFloat') ? (elementStyle.styleFloat === undefined ? 'cssFloat' : 'styleFloat') : property] = styles[property]; return element; }, setOpacity: function(element, value) { element = $(element); element.style.opacity = (value == 1 || value === '') ? '' : (value < 0.00001) ? 0 : value; return element; }, getDimensions: function(element) { element = $(element); var display = $(element).getStyle('display'); if (display != 'none' && display != null) // Safari bug return {width: element.offsetWidth, height: element.offsetHeight}; // All *Width and *Height properties give 0 on elements with display none, // so enable the element temporarily var els = element.style; var originalVisibility = els.visibility; var originalPosition = els.position; var originalDisplay = els.display; els.visibility = 'hidden'; els.position = 'absolute'; els.display = 'block'; var originalWidth = element.clientWidth; var originalHeight = element.clientHeight; els.display = originalDisplay; els.position = originalPosition; els.visibility = originalVisibility; return {width: originalWidth, height: originalHeight}; }, makePositioned: function(element) { element = $(element); var pos = Element.getStyle(element, 'position'); if (pos == 'static' || !pos) { element._madePositioned = true; element.style.position = 'relative'; // Opera returns the offset relative to the positioning context, when an // element is position relative but top and left have not been defined if (window.opera) { element.style.top = 0; element.style.left = 0; } } return element; }, undoPositioned: function(element) { element = $(element); if (element._madePositioned) { element._madePositioned = undefined; element.style.position = element.style.top = element.style.left = element.style.bottom = element.style.right = ''; } return element; }, makeClipping: function(element) { element = $(element); if (element._overflow) return element; element._overflow = Element.getStyle(element, 'overflow') || 'auto'; if (element._overflow !== 'hidden') element.style.overflow = 'hidden'; return element; }, undoClipping: function(element) { element = $(element); if (!element._overflow) return element; element.style.overflow = element._overflow == 'auto' ? '' : element._overflow; element._overflow = null; return element; }, cumulativeOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; element = element.offsetParent; } while (element); return Element._returnOffset(valueL, valueT); }, positionedOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; element = element.offsetParent; if (element) { if (element.tagName == 'BODY') break; var p = Element.getStyle(element, 'position'); if (p == 'relative' || p == 'absolute') break; } } while (element); return Element._returnOffset(valueL, valueT); }, absolutize: function(element) { element = $(element); if (element.getStyle('position') == 'absolute') return; // Position.prepare(); // To be done manually by Scripty when it needs it. var offsets = element.positionedOffset(); var top = offsets[1]; var left = offsets[0]; var width = element.clientWidth; var height = element.clientHeight; element._originalLeft = left - parseFloat(element.style.left || 0); element._originalTop = top - parseFloat(element.style.top || 0); element._originalWidth = element.style.width; element._originalHeight = element.style.height; element.style.position = 'absolute'; element.style.top = top + 'px'; element.style.left = left + 'px'; element.style.width = width + 'px'; element.style.height = height + 'px'; return element; }, relativize: function(element) { element = $(element); if (element.getStyle('position') == 'relative') return; // Position.prepare(); // To be done manually by Scripty when it needs it. element.style.position = 'relative'; var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); element.style.top = top + 'px'; element.style.left = left + 'px'; element.style.height = element._originalHeight; element.style.width = element._originalWidth; return element; }, cumulativeScrollOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.scrollTop || 0; valueL += element.scrollLeft || 0; element = element.parentNode; } while (element); return Element._returnOffset(valueL, valueT); }, getOffsetParent: function(element) { if (element.offsetParent) return $(element.offsetParent); if (element == document.body) return $(element); while ((element = element.parentNode) && element != document.body) if (Element.getStyle(element, 'position') != 'static') return $(element); return $(document.body); }, viewportOffset: function(forElement) { var valueT = 0, valueL = 0; var element = forElement; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; // Safari fix if (element.offsetParent == document.body && Element.getStyle(element, 'position') == 'absolute') break; } while (element = element.offsetParent); element = forElement; do { if (!Prototype.Browser.Opera || element.tagName == 'BODY') { valueT -= element.scrollTop || 0; valueL -= element.scrollLeft || 0; } } while (element = element.parentNode); return Element._returnOffset(valueL, valueT); }, clonePosition: function(element, source) { var options = Object.extend({ setLeft: true, setTop: true, setWidth: true, setHeight: true, offsetTop: 0, offsetLeft: 0 }, arguments[2] || { }); // find page position of source source = $(source); var p = source.viewportOffset(); // find coordinate system to use element = $(element); var delta = [0, 0]; var parent = null; // delta [0,0] will do fine with position: fixed elements, // position:absolute needs offsetParent deltas if (Element.getStyle(element, 'position') == 'absolute') { parent = element.getOffsetParent(); delta = parent.viewportOffset(); } // correct by body offsets (fixes Safari) if (parent == document.body) { delta[0] -= document.body.offsetLeft; delta[1] -= document.body.offsetTop; } // set position if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; if (options.setWidth) element.style.width = source.offsetWidth + 'px'; if (options.setHeight) element.style.height = source.offsetHeight + 'px'; return element; } }; Element.Methods.identify.counter = 1; Object.extend(Element.Methods, { getElementsBySelector: Element.Methods.select, childElements: Element.Methods.immediateDescendants }); Element._attributeTranslations = { write: { names: { className: 'class', htmlFor: 'for' }, values: { } } }; if (!document.createRange || Prototype.Browser.Opera) { Element.Methods.insert = function(element, insertions) { element = $(element); if (Object.isString(insertions) || Object.isNumber(insertions) || Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) insertions = { bottom: insertions }; var t = Element._insertionTranslations, content, position, pos, tagName; for (position in insertions) { content = insertions[position]; position = position.toLowerCase(); pos = t[position]; if (content && content.toElement) content = content.toElement(); if (Object.isElement(content)) { pos.insert(element, content); continue; } content = Object.toHTML(content); tagName = ((position == 'before' || position == 'after') ? element.parentNode : element).tagName.toUpperCase(); if (t.tags[tagName]) { var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); if (position == 'top' || position == 'after') fragments.reverse(); fragments.each(pos.insert.curry(element)); } else element.insertAdjacentHTML(pos.adjacency, content.stripScripts()); content.evalScripts.bind(content).defer(); } return element; }; } if (Prototype.Browser.Opera) { Element.Methods._getStyle = Element.Methods.getStyle; Element.Methods.getStyle = function(element, style) { switch(style) { case 'left': case 'top': case 'right': case 'bottom': if (Element._getStyle(element, 'position') == 'static') return null; default: return Element._getStyle(element, style); } }; Element.Methods._readAttribute = Element.Methods.readAttribute; Element.Methods.readAttribute = function(element, attribute) { if (attribute == 'title') return element.title; return Element._readAttribute(element, attribute); }; } else if (Prototype.Browser.IE) { $w('positionedOffset getOffsetParent viewportOffset').each(function(method) { Element.Methods[method] = Element.Methods[method].wrap( function(proceed, element) { element = $(element); var position = element.getStyle('position'); if (position != 'static') return proceed(element); element.setStyle({ position: 'relative' }); var value = proceed(element); element.setStyle({ position: position }); return value; } ); }); Element.Methods.getStyle = function(element, style) { element = $(element); style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); var value = element.style[style]; if (!value && element.currentStyle) value = element.currentStyle[style]; if (style == 'opacity') { if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/)) if (value[1]) return parseFloat(value[1]) / 100; return 1.0; } if (value == 'auto') { if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none')) return element['offset' + style.capitalize()] + 'px'; return null; } return value; }; Element.Methods.setOpacity = function(element, value) { function stripAlpha(filter){ return filter.replace(/alpha\([^\)]*\)/gi,''); } element = $(element); var currentStyle = element.currentStyle; if ((currentStyle && !currentStyle.hasLayout) || (!currentStyle && element.style.zoom == 'normal')) element.style.zoom = 1; var filter = element.getStyle('filter'), style = element.style; if (value == 1 || value === '') { (filter = stripAlpha(filter)) ? style.filter = filter : style.removeAttribute('filter'); return element; } else if (value < 0.00001) value = 0; style.filter = stripAlpha(filter) + 'alpha(opacity=' + (value * 100) + ')'; return element; }; Element._attributeTranslations = { read: { names: { 'class': 'className', 'for': 'htmlFor' }, values: { _getAttr: function(element, attribute) { return element.getAttribute(attribute, 2); }, _getAttrNode: function(element, attribute) { var node = element.getAttributeNode(attribute); return node ? node.value : ""; }, _getEv: function(element, attribute) { var attribute = element.getAttribute(attribute); return attribute ? attribute.toString().slice(23, -2) : null; }, _flag: function(element, attribute) { return $(element).hasAttribute(attribute) ? attribute : null; }, style: function(element) { return element.style.cssText.toLowerCase(); }, title: function(element) { return element.title; } } } }; Element._attributeTranslations.write = { names: Object.clone(Element._attributeTranslations.read.names), values: { checked: function(element, value) { element.checked = !!value; }, style: function(element, value) { element.style.cssText = value ? value : ''; } } }; Element._attributeTranslations.has = {}; $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' + 'encType maxLength readOnly longDesc').each(function(attr) { Element._attributeTranslations.write.names[attr.toLowerCase()] = attr; Element._attributeTranslations.has[attr.toLowerCase()] = attr; }); (function(v) { Object.extend(v, { href: v._getAttr, src: v._getAttr, type: v._getAttr, action: v._getAttrNode, disabled: v._flag, checked: v._flag, readonly: v._flag, multiple: v._flag, onload: v._getEv, onunload: v._getEv, onclick: v._getEv, ondblclick: v._getEv, onmousedown: v._getEv, onmouseup: v._getEv, onmouseover: v._getEv, onmousemove: v._getEv, onmouseout: v._getEv, onfocus: v._getEv, onblur: v._getEv, onkeypress: v._getEv, onkeydown: v._getEv, onkeyup: v._getEv, onsubmit: v._getEv, onreset: v._getEv, onselect: v._getEv, onchange: v._getEv }); })(Element._attributeTranslations.read.values); } else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) { Element.Methods.setOpacity = function(element, value) { element = $(element); element.style.opacity = (value == 1) ? 0.999999 : (value === '') ? '' : (value < 0.00001) ? 0 : value; return element; }; } else if (Prototype.Browser.WebKit) { Element.Methods.setOpacity = function(element, value) { element = $(element); element.style.opacity = (value == 1 || value === '') ? '' : (value < 0.00001) ? 0 : value; if (value == 1) if(element.tagName == 'IMG' && element.width) { element.width++; element.width--; } else try { var n = document.createTextNode(' '); element.appendChild(n); element.removeChild(n); } catch (e) { } return element; }; // Safari returns margins on body which is incorrect if the child is absolutely // positioned. For performance reasons, redefine Position.cumulativeOffset for // KHTML/WebKit only. Element.Methods.cumulativeOffset = function(element) { var valueT = 0, valueL = 0; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; if (element.offsetParent == document.body) if (Element.getStyle(element, 'position') == 'absolute') break; element = element.offsetParent; } while (element); return Element._returnOffset(valueL, valueT); }; } if (Prototype.Browser.IE || Prototype.Browser.Opera) { // IE and Opera are missing .innerHTML support for TABLE-related and SELECT elements Element.Methods.update = function(element, content) { element = $(element); if (content && content.toElement) content = content.toElement(); if (Object.isElement(content)) return element.update().insert(content); content = Object.toHTML(content); var tagName = element.tagName.toUpperCase(); if (tagName in Element._insertionTranslations.tags) { $A(element.childNodes).each(function(node) { element.removeChild(node) }); Element._getContentFromAnonymousElement(tagName, content.stripScripts()) .each(function(node) { element.appendChild(node) }); } else element.innerHTML = content.stripScripts(); content.evalScripts.bind(content).defer(); return element; }; } if (document.createElement('div').outerHTML) { Element.Methods.replace = function(element, content) { element = $(element); if (content && content.toElement) content = content.toElement(); if (Object.isElement(content)) { element.parentNode.replaceChild(content, element); return element; } content = Object.toHTML(content); var parent = element.parentNode, tagName = parent.tagName.toUpperCase(); if (Element._insertionTranslations.tags[tagName]) { var nextSibling = element.next(); var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); parent.removeChild(element); if (nextSibling) fragments.each(function(node) { parent.insertBefore(node, nextSibling) }); else fragments.each(function(node) { parent.appendChild(node) }); } else element.outerHTML = content.stripScripts(); content.evalScripts.bind(content).defer(); return element; }; } Element._returnOffset = function(l, t) { var result = [l, t]; result.left = l; result.top = t; return result; }; Element._getContentFromAnonymousElement = function(tagName, html) { var div = new Element('div'), t = Element._insertionTranslations.tags[tagName]; div.innerHTML = t[0] + html + t[1]; t[2].times(function() { div = div.firstChild }); return $A(div.childNodes); }; Element._insertionTranslations = { before: { adjacency: 'beforeBegin', insert: function(element, node) { element.parentNode.insertBefore(node, element); }, initializeRange: function(element, range) { range.setStartBefore(element); } }, top: { adjacency: 'afterBegin', insert: function(element, node) { element.insertBefore(node, element.firstChild); }, initializeRange: function(element, range) { range.selectNodeContents(element); range.collapse(true); } }, bottom: { adjacency: 'beforeEnd', insert: function(element, node) { element.appendChild(node); } }, after: { adjacency: 'afterEnd', insert: function(element, node) { element.parentNode.insertBefore(node, element.nextSibling); }, initializeRange: function(element, range) { range.setStartAfter(element); } }, tags: { TABLE: ['<table>', '</table>', 1], TBODY: ['<table><tbody>', '</tbody></table>', 2], TR: ['<table><tbody><tr>', '</tr></tbody></table>', 3], TD: ['<table><tbody><tr><td>', '</td></tr></tbody></table>', 4], SELECT: ['<select>', '</select>', 1] } }; (function() { this.bottom.initializeRange = this.top.initializeRange; Object.extend(this.tags, { THEAD: this.tags.TBODY, TFOOT: this.tags.TBODY, TH: this.tags.TD }); }).call(Element._insertionTranslations); Element.Methods.Simulated = { hasAttribute: function(element, attribute) { attribute = Element._attributeTranslations.has[attribute] || attribute; var node = $(element).getAttributeNode(attribute); return node && node.specified; } }; Element.Methods.ByTag = { }; Object.extend(Element, Element.Methods); if (!Prototype.BrowserFeatures.ElementExtensions && document.createElement('div').__proto__) { window.HTMLElement = { }; window.HTMLElement.prototype = document.createElement('div').__proto__; Prototype.BrowserFeatures.ElementExtensions = true; } Element.extend = (function() { if (Prototype.BrowserFeatures.SpecificElementExtensions) return Prototype.K; var Methods = { }, ByTag = Element.Methods.ByTag; var extend = Object.extend(function(element) { if (!element || element._extendedByPrototype || element.nodeType != 1 || element == window) return element; var methods = Object.clone(Methods), tagName = element.tagName, property, value; // extend methods for specific tags if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]); for (property in methods) { value = methods[property]; if (Object.isFunction(value) && !(property in element)) element[property] = value.methodize(); } element._extendedByPrototype = Prototype.emptyFunction; return element; }, { refresh: function() { // extend methods for all tags (Safari doesn't need this) if (!Prototype.BrowserFeatures.ElementExtensions) { Object.extend(Methods, Element.Methods); Object.extend(Methods, Element.Methods.Simulated); } } }); extend.refresh(); return extend; })(); Element.hasAttribute = function(element, attribute) { if (element.hasAttribute) return element.hasAttribute(attribute); return Element.Methods.Simulated.hasAttribute(element, attribute); }; Element.addMethods = function(methods) { var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag; if (!methods) { Object.extend(Form, Form.Methods); Object.extend(Form.Element, Form.Element.Methods); Object.extend(Element.Methods.ByTag, { "FORM": Object.clone(Form.Methods), "INPUT": Object.clone(Form.Element.Methods), "SELECT": Object.clone(Form.Element.Methods), "TEXTAREA": Object.clone(Form.Element.Methods) }); } if (arguments.length == 2) { var tagName = methods; methods = arguments[1]; } if (!tagName) Object.extend(Element.Methods, methods || { }); else { if (Object.isArray(tagName)) tagName.each(extend); else extend(tagName); } function extend(tagName) { tagName = tagName.toUpperCase(); if (!Element.Methods.ByTag[tagName]) Element.Methods.ByTag[tagName] = { }; Object.extend(Element.Methods.ByTag[tagName], methods); } function copy(methods, destination, onlyIfAbsent) { onlyIfAbsent = onlyIfAbsent || false; for (var property in methods) { var value = methods[property]; if (!Object.isFunction(value)) continue; if (!onlyIfAbsent || !(property in destination)) destination[property] = value.methodize(); } } function findDOMClass(tagName) { var klass; var trans = { "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph", "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList", "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading", "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote", "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION": "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD": "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR": "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET": "FrameSet", "IFRAME": "IFrame" }; if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element'; if (window[klass]) return window[klass]; klass = 'HTML' + tagName + 'Element'; if (window[klass]) return window[klass]; klass = 'HTML' + tagName.capitalize() + 'Element'; if (window[klass]) return window[klass]; window[klass] = { }; window[klass].prototype = document.createElement(tagName).__proto__; return window[klass]; } if (F.ElementExtensions) { copy(Element.Methods, HTMLElement.prototype); copy(Element.Methods.Simulated, HTMLElement.prototype, true); } if (F.SpecificElementExtensions) { for (var tag in Element.Methods.ByTag) { var klass = findDOMClass(tag); if (Object.isUndefined(klass)) continue; copy(T[tag], klass.prototype); } } Object.extend(Element, Element.Methods); delete Element.ByTag; if (Element.extend.refresh) Element.extend.refresh(); Element.cache = { }; }; document.viewport = { getDimensions: function() { var dimensions = { }; $w('width height').each(function(d) { var D = d.capitalize(); dimensions[d] = self['inner' + D] || (document.documentElement['client' + D] || document.body['client' + D]); }); return dimensions; }, getWidth: function() { return this.getDimensions().width; }, getHeight: function() { return this.getDimensions().height; }, getScrollOffsets: function() { return Element._returnOffset( window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); } }; /* Portions of the Selector class are derived from Jack Slocum’s DomQuery, * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style * license. Please see http://www.yui-ext.com/ for more information. */ var Selector = Class.create({ initialize: function(expression) { this.expression = expression.strip(); this.compileMatcher(); }, compileMatcher: function() { // Selectors with namespaced attributes can't use the XPath version if (Prototype.BrowserFeatures.XPath && !(/(\[[\w-]*?:|:checked)/).test(this.expression)) return this.compileXPathMatcher(); var e = this.expression, ps = Selector.patterns, h = Selector.handlers, c = Selector.criteria, le, p, m; if (Selector._cache[e]) { this.matcher = Selector._cache[e]; return; } this.matcher = ["this.matcher = function(root) {", "var r = root, h = Selector.handlers, c = false, n;"]; while (e && le != e && (/\S/).test(e)) { le = e; for (var i in ps) { p = ps[i]; if (m = e.match(p)) { this.matcher.push(Object.isFunction(c[i]) ? c[i](m) : new Template(c[i]).evaluate(m)); e = e.replace(m[0], ''); break; } } } this.matcher.push("return h.unique(n);\n}"); eval(this.matcher.join('\n')); Selector._cache[this.expression] = this.matcher; }, compileXPathMatcher: function() { var e = this.expression, ps = Selector.patterns, x = Selector.xpath, le, m; if (Selector._cache[e]) { this.xpath = Selector._cache[e]; return; } this.matcher = ['.//*']; while (e && le != e && (/\S/).test(e)) { le = e; for (var i in ps) { if (m = e.match(ps[i])) { this.matcher.push(Object.isFunction(x[i]) ? x[i](m) : new Template(x[i]).evaluate(m)); e = e.replace(m[0], ''); break; } } } this.xpath = this.matcher.join(''); Selector._cache[this.expression] = this.xpath; }, findElements: function(root) { root = root || document; if (this.xpath) return document._getElementsByXPath(this.xpath, root); return this.matcher(root); }, match: function(element) { this.tokens = []; var e = this.expression, ps = Selector.patterns, as = Selector.assertions; var le, p, m; while (e && le !== e && (/\S/).test(e)) { le = e; for (var i in ps) { p = ps[i]; if (m = e.match(p)) { // use the Selector.assertions methods unless the selector // is too complex. if (as[i]) { this.tokens.push([i, Object.clone(m)]); e = e.replace(m[0], ''); } else { // reluctantly do a document-wide search // and look for a match in the array return this.findElements(document).include(element); } } } } var match = true, name, matches; for (var i = 0, token; token = this.tokens[i]; i++) { name = token[0], matches = token[1]; if (!Selector.assertions[name](element, matches)) { match = false; break; } } return match; }, toString: function() { return this.expression; }, inspect: function() { return "#<Selector:" + this.expression.inspect() + ">"; } }); Object.extend(Selector, { _cache: { }, xpath: { descendant: "//*", child: "/*", adjacent: "/following-sibling::*[1]", laterSibling: '/following-sibling::*', tagName: function(m) { if (m[1] == '*') return ''; return "[local-name()='" + m[1].toLowerCase() + "' or local-name()='" + m[1].toUpperCase() + "']"; }, className: "[contains(concat(' ', @class, ' '), ' #{1} ')]", id: "[@id='#{1}']", attrPresence: "[@#{1}]", attr: function(m) { m[3] = m[5] || m[6]; return new Template(Selector.xpath.operators[m[2]]).evaluate(m); }, pseudo: function(m) { var h = Selector.xpath.pseudos[m[1]]; if (!h) return ''; if (Object.isFunction(h)) return h(m); return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m); }, operators: { '=': "[@#{1}='#{3}']", '!=': "[@#{1}!='#{3}']", '^=': "[starts-with(@#{1}, '#{3}')]", '$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']", '*=': "[contains(@#{1}, '#{3}')]", '~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]", '|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]" }, pseudos: { 'first-child': '[not(preceding-sibling::*)]', 'last-child': '[not(following-sibling::*)]', 'only-child': '[not(preceding-sibling::* or following-sibling::*)]', 'empty': "[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]", 'checked': "[@checked]", 'disabled': "[@disabled]", 'enabled': "[not(@disabled)]", 'not': function(m) { var e = m[6], p = Selector.patterns, x = Selector.xpath, le, m, v; var exclusion = []; while (e && le != e && (/\S/).test(e)) { le = e; for (var i in p) { if (m = e.match(p[i])) { v = Object.isFunction(x[i]) ? x[i](m) : new Template(x[i]).evaluate(m); exclusion.push("(" + v.substring(1, v.length - 1) + ")"); e = e.replace(m[0], ''); break; } } } return "[not(" + exclusion.join(" and ") + ")]"; }, 'nth-child': function(m) { return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m); }, 'nth-last-child': function(m) { return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m); }, 'nth-of-type': function(m) { return Selector.xpath.pseudos.nth("position() ", m); }, 'nth-last-of-type': function(m) { return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m); }, 'first-of-type': function(m) { m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m); }, 'last-of-type': function(m) { m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m); }, 'only-of-type': function(m) { var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m); }, nth: function(fragment, m) { var mm, formula = m[6], predicate; if (formula == 'even') formula = '2n+0'; if (formula == 'odd') formula = '2n+1'; if (mm = formula.match(/^(\d+)$/)) // digit only return '[' + fragment + "= " + mm[1] + ']'; if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b if (mm[1] == "-") mm[1] = -1; var a = mm[1] ? Number(mm[1]) : 1; var b = mm[2] ? Number(mm[2]) : 0; predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " + "((#{fragment} - #{b}) div #{a} >= 0)]"; return new Template(predicate).evaluate({ fragment: fragment, a: a, b: b }); } } } }, criteria: { tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;', className: 'n = h.className(n, r, "#{1}", c); c = false;', id: 'n = h.id(n, r, "#{1}", c); c = false;', attrPresence: 'n = h.attrPresence(n, r, "#{1}"); c = false;', attr: function(m) { m[3] = (m[5] || m[6]); return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}"); c = false;').evaluate(m); }, pseudo: function(m) { if (m[6]) m[6] = m[6].replace(/"/g, '\\"'); return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m); }, descendant: 'c = "descendant";', child: 'c = "child";', adjacent: 'c = "adjacent";', laterSibling: 'c = "laterSibling";' }, patterns: { // combinators must be listed first // (and descendant needs to be last combinator) laterSibling: /^\s*~\s*/, child: /^\s*>\s*/, adjacent: /^\s*\+\s*/, descendant: /^\s/, // selectors follow tagName: /^\s*(\*|[\w\-]+)(\b|$)?/, id: /^#([\w\-\*]+)(\b|$)/, className: /^\.([\w\-\*]+)(\b|$)/, pseudo: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s)|(?=:))/, attrPresence: /^\[([\w]+)\]/, attr: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ }, // for Selector.match and Element#match assertions: { tagName: function(element, matches) { return matches[1].toUpperCase() == element.tagName.toUpperCase(); }, className: function(element, matches) { return Element.hasClassName(element, matches[1]); }, id: function(element, matches) { return element.id === matches[1]; }, attrPresence: function(element, matches) { return Element.hasAttribute(element, matches[1]); }, attr: function(element, matches) { var nodeValue = Element.readAttribute(element, matches[1]); return Selector.operators[matches[2]](nodeValue, matches[3]); } }, handlers: { // UTILITY FUNCTIONS // joins two collections concat: function(a, b) { for (var i = 0, node; node = b[i]; i++) a.push(node); return a; }, // marks an array of nodes for counting mark: function(nodes) { for (var i = 0, node; node = nodes[i]; i++) node._counted = true; return nodes; }, unmark: function(nodes) { for (var i = 0, node; node = nodes[i]; i++) node._counted = undefined; return nodes; }, // mark each child node with its position (for nth calls) // "ofType" flag indicates whether we're indexing for nth-of-type // rather than nth-child index: function(parentNode, reverse, ofType) { parentNode._counted = true; if (reverse) { for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { var node = nodes[i]; if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; } } else { for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; } }, // filters out duplicates and extends all nodes unique: function(nodes) { if (nodes.length == 0) return nodes; var results = [], n; for (var i = 0, l = nodes.length; i < l; i++) if (!(n = nodes[i])._counted) { n._counted = true; results.push(Element.extend(n)); } return Selector.handlers.unmark(results); }, // COMBINATOR FUNCTIONS descendant: function(nodes) { var h = Selector.handlers; for (var i = 0, results = [], node; node = nodes[i]; i++) h.concat(results, node.getElementsByTagName('*')); return results; }, child: function(nodes) { var h = Selector.handlers; for (var i = 0, results = [], node; node = nodes[i]; i++) { for (var j = 0, children = [], child; child = node.childNodes[j]; j++) if (child.nodeType == 1 && child.tagName != '!') results.push(child); } return results; }, adjacent: function(nodes) { for (var i = 0, results = [], node; node = nodes[i]; i++) { var next = this.nextElementSibling(node); if (next) results.push(next); } return results; }, laterSibling: function(nodes) { var h = Selector.handlers; for (var i = 0, results = [], node; node = nodes[i]; i++) h.concat(results, Element.nextSiblings(node)); return results; }, nextElementSibling: function(node) { while (node = node.nextSibling) if (node.nodeType == 1) return node; return null; }, previousElementSibling: function(node) { while (node = node.previousSibling) if (node.nodeType == 1) return node; return null; }, // TOKEN FUNCTIONS tagName: function(nodes, root, tagName, combinator) { tagName = tagName.toUpperCase(); var results = [], h = Selector.handlers; if (nodes) { if (combinator) { // fastlane for ordinary descendant combinators if (combinator == "descendant") { for (var i = 0, node; node = nodes[i]; i++) h.concat(results, node.getElementsByTagName(tagName)); return results; } else nodes = this[combinator](nodes); if (tagName == "*") return nodes; } for (var i = 0, node; node = nodes[i]; i++) if (node.tagName.toUpperCase() == tagName) results.push(node); return results; } else return root.getElementsByTagName(tagName); }, id: function(nodes, root, id, combinator) { var targetNode = $(id), h = Selector.handlers; if (!targetNode) return []; if (!nodes && root == document) return [targetNode]; if (nodes) { if (combinator) { if (combinator == 'child') { for (var i = 0, node; node = nodes[i]; i++) if (targetNode.parentNode == node) return [targetNode]; } else if (combinator == 'descendant') { for (var i = 0, node; node = nodes[i]; i++) if (Element.descendantOf(targetNode, node)) return [targetNode]; } else if (combinator == 'adjacent') { for (var i = 0, node; node = nodes[i]; i++) if (Selector.handlers.previousElementSibling(targetNode) == node) return [targetNode]; } else nodes = h[combinator](nodes); } for (var i = 0, node; node = nodes[i]; i++) if (node == targetNode) return [targetNode]; return []; } return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : []; }, className: function(nodes, root, className, combinator) { if (nodes && combinator) nodes = this[combinator](nodes); return Selector.handlers.byClassName(nodes, root, className); }, byClassName: function(nodes, root, className) { if (!nodes) nodes = Selector.handlers.descendant([root]); var needle = ' ' + className + ' '; for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) { nodeClassName = node.className; if (nodeClassName.length == 0) continue; if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle)) results.push(node); } return results; }, attrPresence: function(nodes, root, attr) { if (!nodes) nodes = root.getElementsByTagName("*"); var results = []; for (var i = 0, node; node = nodes[i]; i++) if (Element.hasAttribute(node, attr)) results.push(node); return results; }, attr: function(nodes, root, attr, value, operator) { if (!nodes) nodes = root.getElementsByTagName("*"); var handler = Selector.operators[operator], results = []; for (var i = 0, node; node = nodes[i]; i++) { var nodeValue = Element.readAttribute(node, attr); if (nodeValue === null) continue; if (handler(nodeValue, value)) results.push(node); } return results; }, pseudo: function(nodes, name, value, root, combinator) { if (nodes && combinator) nodes = this[combinator](nodes); if (!nodes) nodes = root.getElementsByTagName("*"); return Selector.pseudos[name](nodes, value, root); } }, pseudos: { 'first-child': function(nodes, value, root) { for (var i = 0, results = [], node; node = nodes[i]; i++) { if (Selector.handlers.previousElementSibling(node)) continue; results.push(node); } return results; }, 'last-child': function(nodes, value, root) { for (var i = 0, results = [], node; node = nodes[i]; i++) { if (Selector.handlers.nextElementSibling(node)) continue; results.push(node); } return results; }, 'only-child': function(nodes, value, root) { var h = Selector.handlers; for (var i = 0, results = [], node; node = nodes[i]; i++) if (!h.previousElementSibling(node) && !h.nextElementSibling(node)) results.push(node); return results; }, 'nth-child': function(nodes, formula, root) { return Selector.pseudos.nth(nodes, formula, root); }, 'nth-last-child': function(nodes, formula, root) { return Selector.pseudos.nth(nodes, formula, root, true); }, 'nth-of-type': function(nodes, formula, root) { return Selector.pseudos.nth(nodes, formula, root, false, true); }, 'nth-last-of-type': function(nodes, formula, root) { return Selector.pseudos.nth(nodes, formula, root, true, true); }, 'first-of-type': function(nodes, formula, root) { return Selector.pseudos.nth(nodes, "1", root, false, true); }, 'last-of-type': function(nodes, formula, root) { return Selector.pseudos.nth(nodes, "1", root, true, true); }, 'only-of-type': function(nodes, formula, root) { var p = Selector.pseudos; return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root); }, // handles the an+b logic getIndices: function(a, b, total) { if (a == 0) return b > 0 ? [b] : []; return $R(1, total).inject([], function(memo, i) { if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i); return memo; }); }, // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type nth: function(nodes, formula, root, reverse, ofType) { if (nodes.length == 0) return []; if (formula == 'even') formula = '2n+0'; if (formula == 'odd') formula = '2n+1'; var h = Selector.handlers, results = [], indexed = [], m; h.mark(nodes); for (var i = 0, node; node = nodes[i]; i++) { if (!node.parentNode._counted) { h.index(node.parentNode, reverse, ofType); indexed.push(node.parentNode); } } if (formula.match(/^\d+$/)) { // just a number formula = Number(formula); for (var i = 0, node; node = nodes[i]; i++) if (node.nodeIndex == formula) results.push(node); } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b if (m[1] == "-") m[1] = -1; var a = m[1] ? Number(m[1]) : 1; var b = m[2] ? Number(m[2]) : 0; var indices = Selector.pseudos.getIndices(a, b, nodes.length); for (var i = 0, node, l = indices.length; node = nodes[i]; i++) { for (var j = 0; j < l; j++) if (node.nodeIndex == indices[j]) results.push(node); } } h.unmark(nodes); h.unmark(indexed); return results; }, 'empty': function(nodes, value, root) { for (var i = 0, results = [], node; node = nodes[i]; i++) { // IE treats comments as element nodes if (node.tagName == '!' || (node.firstChild && !node.innerHTML.match(/^\s*$/))) continue; results.push(node); } return results; }, 'not': function(nodes, selector, root) { var h = Selector.handlers, selectorType, m; var exclusions = new Selector(selector).findElements(root); h.mark(exclusions); for (var i = 0, results = [], node; node = nodes[i]; i++) if (!node._counted) results.push(node); h.unmark(exclusions); return results; }, 'enabled': function(nodes, value, root) { for (var i = 0, results = [], node; node = nodes[i]; i++) if (!node.disabled) results.push(node); return results; }, 'disabled': function(nodes, value, root) { for (var i = 0, results = [], node; node = nodes[i]; i++) if (node.disabled) results.push(node); return results; }, 'checked': function(nodes, value, root) { for (var i = 0, results = [], node; node = nodes[i]; i++) if (node.checked) results.push(node); return results; } }, operators: { '=': function(nv, v) { return nv == v; }, '!=': function(nv, v) { return nv != v; }, '^=': function(nv, v) { return nv.startsWith(v); }, '$=': function(nv, v) { return nv.endsWith(v); }, '*=': function(nv, v) { return nv.include(v); }, '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, '|=': function(nv, v) { return ('-' + nv.toUpperCase() + '-').include('-' + v.toUpperCase() + '-'); } }, matchElements: function(elements, expression) { var matches = new Selector(expression).findElements(), h = Selector.handlers; h.mark(matches); for (var i = 0, results = [], element; element = elements[i]; i++) if (element._counted) results.push(element); h.unmark(matches); return results; }, findElement: function(elements, expression, index) { if (Object.isNumber(expression)) { index = expression; expression = false; } return Selector.matchElements(elements, expression || '*')[index || 0]; }, findChildElements: function(element, expressions) { var exprs = expressions.join(','), expressions = []; exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { expressions.push(m[1].strip()); }); var results = [], h = Selector.handlers; for (var i = 0, l = expressions.length, selector; i < l; i++) { selector = new Selector(expressions[i].strip()); h.concat(results, selector.findElements(element)); } return (l > 1) ? h.unique(results) : results; } }); function $$() { return Selector.findChildElements(document, $A(arguments)); } var Form = { reset: function(form) { $(form).reset(); return form; }, serializeElements: function(elements, options) { if (typeof options != 'object') options = { hash: !!options }; else if (options.hash === undefined) options.hash = true; var key, value, submitted = false, submit = options.submit; var data = elements.inject({ }, function(result, element) { if (!element.disabled && element.name) { key = element.name; value = $(element).getValue(); if (value != null && (element.type != 'submit' || (!submitted && submit !== false && (!submit || key == submit) && (submitted = true)))) { if (key in result) { // a key is already present; construct an array of values if (!Object.isArray(result[key])) result[key] = [result[key]]; result[key].push(value); } else result[key] = value; } } return result; }); return options.hash ? data : Object.toQueryString(data); } }; Form.Methods = { serialize: function(form, options) { return Form.serializeElements(Form.getElements(form), options); }, getElements: function(form) { return $A($(form).getElementsByTagName('*')).inject([], function(elements, child) { if (Form.Element.Serializers[child.tagName.toLowerCase()]) elements.push(Element.extend(child)); return elements; } ); }, getInputs: function(form, typeName, name) { form = $(form); var inputs = form.getElementsByTagName('input'); if (!typeName && !name) return $A(inputs).map(Element.extend); for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { var input = inputs[i]; if ((typeName && input.type != typeName) || (name && input.name != name)) continue; matchingInputs.push(Element.extend(input)); } return matchingInputs; }, disable: function(form) { form = $(form); Form.getElements(form).invoke('disable'); return form; }, enable: function(form) { form = $(form); Form.getElements(form).invoke('enable'); return form; }, findFirstElement: function(form) { var elements = $(form).getElements().findAll(function(element) { return 'hidden' != element.type && !element.disabled; }); var firstByIndex = elements.findAll(function(element) { return element.hasAttribute('tabIndex') && element.tabIndex >= 0; }).sortBy(function(element) { return element.tabIndex }).first(); return firstByIndex ? firstByIndex : elements.find(function(element) { return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); }); }, focusFirstElement: function(form) { form = $(form); form.findFirstElement().activate(); return form; }, request: function(form, options) { form = $(form), options = Object.clone(options || { }); var params = options.parameters, action = form.readAttribute('action') || ''; if (action.blank()) action = window.location.href; options.parameters = form.serialize(true); if (params) { if (Object.isString(params)) params = params.toQueryParams(); Object.extend(options.parameters, params); } if (form.hasAttribute('method') && !options.method) options.method = form.method; return new Ajax.Request(action, options); } }; /*--------------------------------------------------------------------------*/ Form.Element = { focus: function(element) { $(element).focus(); return element; }, select: function(element) { $(element).select(); return element; } }; Form.Element.Methods = { serialize: function(element) { element = $(element); if (!element.disabled && element.name) { var value = element.getValue(); if (value != undefined) { var pair = { }; pair[element.name] = value; return Object.toQueryString(pair); } } return ''; }, getValue: function(element) { element = $(element); var method = element.tagName.toLowerCase(); return Form.Element.Serializers[method](element); }, setValue: function(element, value) { element = $(element); var method = element.tagName.toLowerCase(); Form.Element.Serializers[method](element, value); return element; }, clear: function(element) { $(element).value = ''; return element; }, present: function(element) { return $(element).value != ''; }, activate: function(element) { element = $(element); try { element.focus(); if (element.select && (element.tagName.toLowerCase() != 'input' || !['button', 'reset', 'submit'].include(element.type))) element.select(); } catch (e) { } return element; }, disable: function(element) { element = $(element); element.blur(); element.disabled = true; return element; }, enable: function(element) { element = $(element); element.disabled = false; return element; } }; /*--------------------------------------------------------------------------*/ var Field = Form.Element; var $F = Form.Element.Methods.getValue; /*--------------------------------------------------------------------------*/ Form.Element.Serializers = { input: function(element, value) { switch (element.type.toLowerCase()) { case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element, value); default: return Form.Element.Serializers.textarea(element, value); } }, inputSelector: function(element, value) { if (value === undefined) return element.checked ? element.value : null; else element.checked = !!value; }, textarea: function(element, value) { if (value === undefined) return element.value; else element.value = value; }, select: function(element, index) { if (index === undefined) return this[element.type == 'select-one' ? 'selectOne' : 'selectMany'](element); else { var opt, value, single = !Object.isArray(index); for (var i = 0, length = element.length; i < length; i++) { opt = element.options[i]; value = this.optionValue(opt); if (single) { if (value == index) { opt.selected = true; return; } } else opt.selected = index.include(value); } } }, selectOne: function(element) { var index = element.selectedIndex; return index >= 0 ? this.optionValue(element.options[index]) : null; }, selectMany: function(element) { var values, length = element.length; if (!length) return null; for (var i = 0, values = []; i < length; i++) { var opt = element.options[i]; if (opt.selected) values.push(this.optionValue(opt)); } return values; }, optionValue: function(opt) { // extend element because hasAttribute may not be native return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text; } }; /*--------------------------------------------------------------------------*/ Abstract.TimedObserver = Class.create(PeriodicalExecuter, { initialize: function($super, element, frequency, callback) { $super(callback, frequency); this.element = $(element); this.lastValue = this.getValue(); }, execute: function() { var value = this.getValue(); if (Object.isString(this.lastValue) && Object.isString(value) ? this.lastValue != value : String(this.lastValue) != String(value)) { this.callback(this.element, value); this.lastValue = value; } } }); Form.Element.Observer = Class.create(Abstract.TimedObserver, { getValue: function() { return Form.Element.getValue(this.element); } }); Form.Observer = Class.create(Abstract.TimedObserver, { getValue: function() { return Form.serialize(this.element); } }); /*--------------------------------------------------------------------------*/ Abstract.EventObserver = Class.create({ initialize: function(element, callback) { this.element = $(element); this.callback = callback; this.lastValue = this.getValue(); if (this.element.tagName.toLowerCase() == 'form') this.registerFormCallbacks(); else this.registerCallback(this.element); }, onElementEvent: function() { var value = this.getValue(); if (this.lastValue != value) { this.callback(this.element, value); this.lastValue = value; } }, registerFormCallbacks: function() { Form.getElements(this.element).each(this.registerCallback, this); }, registerCallback: function(element) { if (element.type) { switch (element.type.toLowerCase()) { case 'checkbox': case 'radio': Event.observe(element, 'click', this.onElementEvent.bind(this)); break; default: Event.observe(element, 'change', this.onElementEvent.bind(this)); break; } } } }); Form.Element.EventObserver = Class.create(Abstract.EventObserver, { getValue: function() { return Form.Element.getValue(this.element); } }); Form.EventObserver = Class.create(Abstract.EventObserver, { getValue: function() { return Form.serialize(this.element); } }); if (!window.Event) var Event = { }; Object.extend(Event, { KEY_BACKSPACE: 8, KEY_TAB: 9, KEY_RETURN: 13, KEY_ESC: 27, KEY_LEFT: 37, KEY_UP: 38, KEY_RIGHT: 39, KEY_DOWN: 40, KEY_DELETE: 46, KEY_HOME: 36, KEY_END: 35, KEY_PAGEUP: 33, KEY_PAGEDOWN: 34, KEY_INSERT: 45, cache: { }, relatedTarget: function(event) { var element; switch(event.type) { case 'mouseover': element = event.fromElement; break; case 'mouseout': element = event.toElement; break; default: return null; } return Element.extend(element); } }); Event.Methods = (function() { var isButton; if (Prototype.Browser.IE) { var buttonMap = { 0: 1, 1: 4, 2: 2 }; isButton = function(event, code) { return event.button == buttonMap[code]; }; } else if (Prototype.Browser.WebKit) { isButton = function(event, code) { switch (code) { case 0: return event.which == 1 && !event.metaKey; case 1: return event.which == 1 && event.metaKey; default: return false; } }; } else { isButton = function(event, code) { return event.which ? (event.which === code + 1) : (event.button === code); }; } return { isLeftClick: function(event) { return isButton(event, 0) }, isMiddleClick: function(event) { return isButton(event, 1) }, isRightClick: function(event) { return isButton(event, 2) }, element: function(event) { var node = Event.extend(event).target; return Element.extend(node.nodeType == Node.TEXT_NODE ? node.parentNode : node); }, findElement: function(event, expression) { var element = Event.element(event); return element.match(expression) ? element : element.up(expression); }, pointer: function(event) { return { x: event.pageX || (event.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft)), y: event.pageY || (event.clientY + (document.documentElement.scrollTop || document.body.scrollTop)) }; }, pointerX: function(event) { return Event.pointer(event).x }, pointerY: function(event) { return Event.pointer(event).y }, stop: function(event) { Event.extend(event); event.preventDefault(); event.stopPropagation(); event.stopped = true; } }; })(); Event.extend = (function() { var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { m[name] = Event.Methods[name].methodize(); return m; }); if (Prototype.Browser.IE) { Object.extend(methods, { stopPropagation: function() { this.cancelBubble = true }, preventDefault: function() { this.returnValue = false }, inspect: function() { return "[object Event]" } }); return function(event) { if (!event) return false; if (event._extendedByPrototype) return event; event._extendedByPrototype = Prototype.emptyFunction; var pointer = Event.pointer(event); Object.extend(event, { target: event.srcElement, relatedTarget: Event.relatedTarget(event), pageX: pointer.x, pageY: pointer.y }); return Object.extend(event, methods); }; } else { Event.prototype = Event.prototype || document.createEvent("HTMLEvents").__proto__; Object.extend(Event.prototype, methods); return Prototype.K; } })(); Object.extend(Event, (function() { var cache = Event.cache; function getEventID(element) { if (element._eventID) return element._eventID; arguments.callee.id = arguments.callee.id || 1; return element._eventID = ++arguments.callee.id; } function getDOMEventName(eventName) { if (eventName && eventName.include(':')) return "dataavailable"; return eventName; } function getCacheForID(id) { return cache[id] = cache[id] || { }; } function getWrappersForEventName(id, eventName) { var c = getCacheForID(id); return c[eventName] = c[eventName] || []; } function createWrapper(element, eventName, handler) { var id = getEventID(element); var c = getWrappersForEventName(id, eventName); if (c.pluck("handler").include(handler)) return false; var wrapper = function(event) { if (!Event || !Event.extend || (event.eventName && event.eventName != eventName)) return false; Event.extend(event); handler.call(element, event) }; wrapper.handler = handler; c.push(wrapper); return wrapper; } function findWrapper(id, eventName, handler) { var c = getWrappersForEventName(id, eventName); return c.find(function(wrapper) { return wrapper.handler == handler }); } function destroyWrapper(id, eventName, handler) { var c = getCacheForID(id); if (!c[eventName]) return false; c[eventName] = c[eventName].without(findWrapper(id, eventName, handler)); } function destroyCache() { for (var id in cache) for (var eventName in cache[id]) cache[id][eventName] = null; } if (window.attachEvent) { window.attachEvent("onunload", destroyCache); } return { observe: function(element, eventName, handler) { element = $(element); var name = getDOMEventName(eventName); var wrapper = createWrapper(element, eventName, handler); if (!wrapper) return element; if (element.addEventListener) { element.addEventListener(name, wrapper, false); } else { element.attachEvent("on" + name, wrapper); } return element; }, stopObserving: function(element, eventName, handler) { element = $(element); var id = getEventID(element), name = getDOMEventName(eventName); if (!handler && eventName) { getWrappersForEventName(id, eventName).each(function(wrapper) { element.stopObserving(eventName, wrapper.handler); }); return element; } else if (!eventName) { Object.keys(getCacheForID(id)).each(function(eventName) { element.stopObserving(eventName); }); return element; } var wrapper = findWrapper(id, eventName, handler); if (!wrapper) return element; if (element.removeEventListener) { element.removeEventListener(name, wrapper, false); } else { element.detachEvent("on" + name, wrapper); } destroyWrapper(id, eventName, handler); return element; }, fire: function(element, eventName, memo) { element = $(element); if (element == document && document.createEvent && !element.dispatchEvent) element = document.documentElement; if (document.createEvent) { var event = document.createEvent("HTMLEvents"); event.initEvent("dataavailable", true, true); } else { var event = document.createEventObject(); event.eventType = "ondataavailable"; } event.eventName = eventName; event.memo = memo || { }; if (document.createEvent) { element.dispatchEvent(event); } else { element.fireEvent(event.eventType, event); } return event; } }; })()); Object.extend(Event, Event.Methods); Element.addMethods({ fire: Event.fire, observe: Event.observe, stopObserving: Event.stopObserving }); Object.extend(document, { fire: Element.Methods.fire.methodize(), observe: Element.Methods.observe.methodize(), stopObserving: Element.Methods.stopObserving.methodize() }); (function() { /* Support for the DOMContentLoaded event is based on work by Dan Webb, Matthias Miller, Dean Edwards and John Resig. */ var timer, fired = false; function fireContentLoadedEvent() { if (fired) return; if (timer) window.clearInterval(timer); document.fire("dom:loaded"); fired = true; } if (document.addEventListener) { if (Prototype.Browser.WebKit) { timer = window.setInterval(function() { if (/loaded|complete/.test(document.readyState)) fireContentLoadedEvent(); }, 0); Event.observe(window, "load", fireContentLoadedEvent); } else { document.addEventListener("DOMContentLoaded", fireContentLoadedEvent, false); } } else { document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>"); $("__onDOMContentLoaded").onreadystatechange = function() { if (this.readyState == "complete") { this.onreadystatechange = null; fireContentLoadedEvent(); } }; } })(); /*------------------------------- DEPRECATED -------------------------------*/ Hash.toQueryString = Object.toQueryString; var Toggle = { display: Element.toggle }; Element.Methods.childOf = Element.Methods.descendantOf; var Insertion = { Before: function(element, content) { return Element.insert(element, {before:content}); }, Top: function(element, content) { return Element.insert(element, {top:content}); }, Bottom: function(element, content) { return Element.insert(element, {bottom:content}); }, After: function(element, content) { return Element.insert(element, {after:content}); } }; var $continue = new Error('"throw $continue" is deprecated, use "return" instead'); // This should be moved to script.aculo.us; notice the deprecated methods // further below, that map to the newer Element methods. var Position = { // set to true if needed, warning: firefox performance problems // NOT neeeded for page scrolling, only if draggable contained in // scrollable elements includeScrollOffsets: false, // must be called before calling withinIncludingScrolloffset, every time the // page is scrolled prepare: function() { this.deltaX = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0; this.deltaY = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; }, // caches x/y coordinate pair to use with overlap within: function(element, x, y) { if (this.includeScrollOffsets) return this.withinIncludingScrolloffsets(element, x, y); this.xcomp = x; this.ycomp = y; this.offset = Element.cumulativeOffset(element); return (y >= this.offset[1] && y < this.offset[1] + element.offsetHeight && x >= this.offset[0] && x < this.offset[0] + element.offsetWidth); }, withinIncludingScrolloffsets: function(element, x, y) { var offsetcache = Element.cumulativeScrollOffset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.offset = Element.cumulativeOffset(element); return (this.ycomp >= this.offset[1] && this.ycomp < this.offset[1] + element.offsetHeight && this.xcomp >= this.offset[0] && this.xcomp < this.offset[0] + element.offsetWidth); }, // within must be called directly before overlap: function(mode, element) { if (!mode) return 0; if (mode == 'vertical') return ((this.offset[1] + element.offsetHeight) - this.ycomp) / element.offsetHeight; if (mode == 'horizontal') return ((this.offset[0] + element.offsetWidth) - this.xcomp) / element.offsetWidth; }, // Deprecation layer -- use newer Element methods now (1.5.2). cumulativeOffset: Element.Methods.cumulativeOffset, positionedOffset: Element.Methods.positionedOffset, absolutize: function(element) { Position.prepare(); return Element.absolutize(element); }, relativize: function(element) { Position.prepare(); return Element.relativize(element); }, realOffset: Element.Methods.cumulativeScrollOffset, offsetParent: Element.Methods.getOffsetParent, page: Element.Methods.viewportOffset, clone: function(source, target, options) { options = options || { }; return Element.clonePosition(target, source, options); } }; /*--------------------------------------------------------------------------*/ if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){ function iter(name) { return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' " + name + " ')]"; } instanceMethods.getElementsByClassName = Prototype.BrowserFeatures.XPath ? function(element, className) { className = className.toString().strip(); var cond = /\s/.test(className) ? $w(className).map(iter).join('') : iter(className); return cond ? document._getElementsByXPath('.//*' + cond, element) : []; } : function(element, className) { className = className.toString().strip(); var elements = [], classNames = (/\s/.test(className) ? $w(className) : null); if (!classNames && !className) return elements; var nodes = $(element).getElementsByTagName('*'); className = ' ' + className + ' '; for (var i = 0, child, cn; child = nodes[i]; i++) { if (child.className && (cn = ' ' + child.className + ' ') && (cn.include(className) || (classNames && classNames.all(function(name) { return !name.toString().blank() && cn.include(' ' + name + ' '); })))) elements.push(Element.extend(child)); } return elements; }; return function(className, parentElement) { return $(parentElement || document.body).getElementsByClassName(className); }; }(Element.Methods); /*--------------------------------------------------------------------------*/ Element.ClassNames = Class.create(); Element.ClassNames.prototype = { initialize: function(element) { this.element = $(element); }, _each: function(iterator) { this.element.className.split(/\s+/).select(function(name) { return name.length > 0; })._each(iterator); }, set: function(className) { this.element.className = className; }, add: function(classNameToAdd) { if (this.include(classNameToAdd)) return; this.set($A(this).concat(classNameToAdd).join(' ')); }, remove: function(classNameToRemove) { if (!this.include(classNameToRemove)) return; this.set($A(this).without(classNameToRemove).join(' ')); }, toString: function() { return $A(this).join(' '); } }; Object.extend(Element.ClassNames.prototype, Enumerable); /*--------------------------------------------------------------------------*/ Element.addMethods();
amastov/studiocracy-public
vendor/bundle/ruby/2.2.0/gems/json-1.8.2/data/prototype.js
JavaScript
gpl-3.0
124,134
/*jshint unused: vars */ /* define(['angular', 'angular-mocks', 'app'], function(angular, mocks, app) { 'use strict'; describe('Directive: progressBar', function () { // load the directive's module beforeEach(module('oslerApp.directives.ProgressBar')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); it('should make hidden element visible', inject(function ($compile) { element = angular.element('<progress-bar></progress-bar>'); element = $compile(element)(scope); expect(element.text()).toBe('this is the progressBar directive'); })); }); }); */
varco/askoldpro
test/spec/directives/progressbarSpec.js
JavaScript
gpl-3.0
663
import { LOAD_MORE_MESSAGES, requestMessages, getNextOffset } from '../modules/message'; const loadMoreHandler = ({ store, action }) => { if (action.type !== LOAD_MORE_MESSAGES) { return; } const { type, key } = action.payload; const collectionState = store.getState().message.messagesCollections[type][key]; const offset = getNextOffset(collectionState); const { params = {} } = collectionState.request; store.dispatch(requestMessages(type, key, { ...params, offset })); }; export default store => next => (action) => { const result = next(action); loadMoreHandler({ store, action }); return result; };
CaliOpen/CaliOpen
src/frontend/web_application/src/store/middlewares/messages-middleware.js
JavaScript
gpl-3.0
633
'use strict' // const foo = (msg) => { // Função anónima... MAS o this tem outro significado // const foo = function(msg) { // Função anónima function foo(msg) { // if(msg == undefined) return console.log('Empty msg') if(!msg) return console.log('Empty msg') let str = '' for(let i = 0; i < arguments.length; i++){ str += arguments[i] + ', ' } console.log('this = ' + this + '; ' + msg + ' (args = ' + str + ')') } foo() foo('ola mundo') foo(3,4,4,5) foo.apply(null, [3,4,4,5]) foo.call(null, 'ola', 87364, 22, 'abc', 2, 3) const d = new foo(89) // !!!!!! NÃO FAZER const g = foo g('Calling foo through g') new g(76) // !!!!!! NÃO FAZER const obj = {} // <=> new Object() obj.xpto = foo obj.xpto(345) // this = obj obj.xpto.call(d, 6328) // this = d /* Cenas malucas !!!! foo.bar = foo foo.bar(6666) */
isel-leic-pi/1617v-LI51N
aula02-functions-and-objects/app02-functions.js
JavaScript
gpl-3.0
872
/** * @plugin.js * @App Options Dependency Manager Plugin JS * * @License: http://www.siteeditor.org/license * @Contributing: http://www.siteeditor.org/contributing */ /*global siteEditor:true */ (function( exports, $ ){ var api = sedApp.editor; api.pageConditions = api.pageConditions || {}; api.OptionDependency = api.Class.extend({ initialize: function( id , options ){ this.queries = {}; this.operators = []; this.fieldType = "control"; $.extend( this, options || {} ); this.id = id; }, changeActiveRender : function(){ if( _.isEmpty( this.id ) || !_.isString( this.id ) || !this.id ){ return ; } var isShow = this.isActive(); if( this.fieldType == "control" ){ var control = api.control.instance( this.id ); control.active.set( isShow ); }else{ var selector = '#sed-app-panel-' + this.id; if( isShow ) { $(selector).parents(".row_settings:first").removeClass("sed-hide-dependency").fadeIn("slow"); }else{ $( selector ).parents(".row_settings:first").addClass("sed-hide-dependency").fadeOut( 200 ); } } }, isActive : function( ){ return this.checkQueries( this.queries ); }, checkQueries : function( queries ){ var self = this , isShowArr = [] , relation = "AND"; $.each( queries , function( key , query ){ if ( key === 'relation' ) { relation = query; }else if( $.isArray( query ) || _.isObject( query ) ){ var isShow; if( self.isFirstOrderClause( query ) ) { isShow = self.checkConditionLogic( query , key ) ? 1 : 0; isShowArr.push( isShow ); }else{ isShow = self.checkQueries( query ) ? 1 : 0; isShowArr.push( isShow ); } } }); if( isShowArr.length > 0 ) { if (relation == "AND") { return $.inArray(0, isShowArr) == -1; } else if (relation == "OR") { return $.inArray(1, isShowArr) > -1; } } return true; }, isFirstOrderClause : function( query ){ return !_.isUndefined( query.key ) || ( !_.isUndefined( query.key ) && !_.isUndefined( query.value ) ); }, checkConditionLogic : function( query , key ){ if( ! _.isUndefined( query['compare'] ) && _.isString( query['compare'] ) && $.inArray( query['compare'] , this.operators ) > -1 ){ query['compare'] = query['compare'].toUpperCase(); }else{ query['compare'] = ! _.isUndefined( query['value'] ) && $.isArray( query['value'] ) ? 'IN' : '=' ; } if( ! _.isUndefined( query['type'] ) && _.isString( query['type'] ) ){ query['type'] = query['type'].toLowerCase(); }else{ query['type'] = 'control'; } var compare = query['compare'] , isShow , type = query['type'] , id = query['key'] , currentValue , pattern; switch ( type ){ case "control" : if( $.inArray(id , _.keys( api.settings.controls ) ) == -1 ){ return true; } var thisControl = api.control.instance( id ); currentValue = thisControl.currentValue ; break; case "setting" : if ( ! api.has( id ) ) { return true; } currentValue = api.setting( id ).get(); break; case "page_condition" : if ( _.isUndefined( api.pageConditions[id] ) ) { return true; } currentValue = api.pageConditions[id]; return currentValue; break; } if( _.isUndefined( query['value'] ) ){ return true; } switch ( compare ){ case "=" : case "==" : isShow = ( currentValue == query['value'] ); break; case "===" : isShow = ( currentValue === query['value'] ); break; case "!=" : isShow = ( currentValue != query['value'] ); break; case "!==" : isShow = ( currentValue !== query['value'] ); break; case ">" : isShow = ( currentValue > query['value'] ); break; case ">=" : isShow = ( currentValue >= query['value'] ); break; case "<" : isShow = ( currentValue < query['value'] ); break; case "<=" : isShow = ( currentValue <= query['value'] ); break; case "IN" : if( ! $.isArray( query['value'] ) ){ return true; } isShow = $.inArray( currentValue , query['value'] ) > -1; break; case "NOT IN" : if( ! $.isArray( query['value'] ) ){ return true; } isShow = $.inArray( currentValue , query['value'] ) == -1; break; case "BETWEEN" : if( ! $.isArray( query['value'] ) || query['value'].length != 2 ){ return true; } isShow = currentValue > query['value'][0] && currentValue < query['value'][1]; break; case "NOT BETWEEN" : if( ! $.isArray( query['value'] ) || query['value'].length != 2 ){ return true; } isShow = currentValue < query['value'][0] && currentValue > query['value'][1]; break; case "DEFINED" : isShow = ! _.isUndefined( currentValue ); break; case "UNDEFINED" : isShow = _.isUndefined( currentValue ); break; case "EMPTY" : isShow = _.isEmpty( currentValue ); break; case "NOT EMPTY" : isShow = !_.isEmpty( currentValue ); break; case "REGEXP" : pattern = new RegExp( query['value'] ); isShow = pattern.test( currentValue ); break; case "NOT REGEXP" : pattern = new RegExp( query['value'] ); isShow = !pattern.test( currentValue ); break; } return isShow; } }); api.fn._executeFunctionByName = function(functionName, context , args ) { args = $.isArray( args ) ? args : []; var namespaces = functionName.split("."); var func = namespaces.pop(); for(var i = 0; i < namespaces.length; i++) { context = context[namespaces[i]]; } if (typeof context[func] === "function") { return context[func].apply(context, args); }else{ return true; } }; api.OptionCallbackDependency = api.OptionDependency.extend({ isActive : function( ){ if( ! _.isUndefined( this.callback ) ){ var args = []; if( !_.isUndefined( this.callback_args ) ){ args = this.callback_args; } return api.fn._executeFunctionByName( this.callback , window , args ); } return true; } }); api.AppOptionsDependency = api.Class.extend({ initialize: function (options) { this.operators = []; $.extend(this, options || {}); this.dependencies = {}; this.dialogSelector = "#sed-dialog-settings"; this.updatedGroups = []; //this.updatedResetGroups = []; this.ready(); }, ready: function () { var self = this; this.initUpdateOptions(); api.previewer.bind( 'sedCurrentPageConditions' , function( conditions ){ api.pageConditions = conditions; //self.updatedResetGroups = []; api.Events.trigger( "afterResetPageConditions" ); }); api.Events.bind( "afterResetPageConditions" , function(){ var isOpen = $( self.dialogSelector ).dialog( "isOpen" ); if( isOpen ){ var optionsGroup = api.sedDialogSettings.optionsGroup; self.update( optionsGroup ); //self.updatedResetGroups.push( optionsGroup ); } }); }, initUpdateOptions: function () { var self = this; /* * @param : group === sub_category in controls data (api.settings.controls) */ api.Events.bind( "after_group_settings_update" , function( group ){ self.update( group ); if( $.inArray( group , self.updatedGroups ) == -1 ){ self.updatedGroups.push( group ); //self.updatedResetGroups.push( group ); } }); api.Events.bind( 'afterOpenInitDialogAppSettings' , function( optionsGroup ){ if( $.inArray( optionsGroup , self.updatedGroups ) > -1 ) { //&& $.inArray( optionsGroup , self.updatedResetGroups ) == -1 self.update( optionsGroup ); //self.updatedResetGroups.push( optionsGroup ); } }); }, update : function( group ){ var self = this; if( !_.isUndefined( api.settingsPanels[group] ) ) { _.each(api.settingsPanels[group], function (data, panelId) { if ( !_.isUndefined( api.settingsRelations[group] ) && !_.isUndefined( api.settingsRelations[group][panelId] ) ) { self.dependencyRender( panelId , "panel" , group ); api.Events.trigger("after_apply_single_panel_relations_update", group, data, panelId); } }); } if( !_.isUndefined( api.sedGroupControls[group] ) ) { _.each(api.sedGroupControls[group], function (data) { var control = api.control.instance(data.control_id); if ( !_.isUndefined(control) ) { if (!_.isUndefined(api.settingsRelations[group]) && !_.isUndefined(api.settingsRelations[group][control.id])) { var id = control.id; self.dependencyRender(id, "control" , group); api.Events.trigger("after_apply_single_control_relations_update", group, control, control.currentValue); } } }); } api.Events.trigger( "after_apply_settings_relations_update" , group ); }, dependencyRender : function( id , fieldType , group ){ fieldType = _.isUndefined( fieldType ) || _.isEmpty( fieldType ) ? "control" : fieldType; var dependencyArgs = api.settingsRelations[group][id] , dependency , type = !_.isUndefined( dependencyArgs.type ) && !_.isEmpty( dependencyArgs.type ) ? dependencyArgs.type : "query"; if( ! this.has( id ) ) { var constructor = api.dependencyConstructor[type] || api.OptionDependency, params = $.extend( {} , { operators : this.operators , fieldType : fieldType } , dependencyArgs ); dependency = this.add( id , new constructor( id , params) ); this.initControlRefresh( dependency , dependencyArgs ); this.initSettingRefresh( dependency , dependencyArgs ); }else{ dependency = this.get( id ); } dependency.changeActiveRender(); }, initControlRefresh : function( dependency , dependencyArgs ){ var self = this; if( !_.isUndefined( dependencyArgs.controls ) ) { var controls = dependencyArgs.controls; _.each( controls , function ( controlId ) { self.controlRefresh( controlId , dependency ); }); } }, //support nested relations controlRefresh : function( controlId , dependency ){ var self = this; api.Events.bind("afterControlValueRefresh", function (group, control, value) { if ( controlId == control.id ) { dependency.changeActiveRender(); if ( !_.isUndefined( api.settingsRelations[group] ) && !_.isUndefined( api.settingsRelations[group][control.id] ) ) { var dependencyArgs = api.settingsRelations[group][control.id]; if( !_.isUndefined( dependencyArgs.controls ) && !_.isEmpty( dependencyArgs.controls ) ){ $.each( dependencyArgs.controls , function( cId ){ self.controlRefresh( cId , dependency ); }); } } } api.Events.trigger("after_apply_settings_relations_refresh", group, control, value); }); }, initSettingRefresh : function( dependency , dependencyArgs ){ var self = this; if( !_.isUndefined( dependencyArgs.settings ) ) { var settings = dependencyArgs.settings; _.each( settings , function ( settingId ) { self.settingRefresh( settingId , dependency ); }); } }, settingRefresh : function( settingId , dependency ){ api( settingId , function( setting ) { setting.bind(function( value ) { dependency.changeActiveRender(); }); }); }, add : function( id , dependencyObject ){ if( ! this.has( id ) && _.isObject( dependencyObject ) ){ this.dependencies[id] = dependencyObject; } return dependencyObject; }, has : function( id ){ return !_.isUndefined( this.dependencies[id] ); }, get : function( id ){ if( this.has( id ) ){ return this.dependencies[id]; }else{ return null; } } }); api.dependencyConstructor = { query : api.OptionDependency, callback : api.OptionCallbackDependency }; api.Events.bind( "after_apply_single_control_relations_update" , function(group, control, currentValue){ if( control.params.active === false ) { control.active.set(control.params.active); } }); $( function() { api.settingsRelations = window._sedAppModulesSettingsRelations; api.appOptionsDependency = new api.AppOptionsDependency({ operators : window._sedAppDependenciesOperators }); }); })( sedApp, jQuery );
SiteEditor/editor
editor/extensions/options-engine/assets/js/dependency-plugin.js
JavaScript
gpl-3.0
17,291
/** * @package HikaShop for Joomla! * @version 2.3.0 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ function tableOrdering( order, dir, task ) { var form = document.adminForm; form.filter_order.value = order; form.filter_order_Dir.value = dir; submitform( task ); } function submitform(pressbutton){ if (pressbutton) { document.adminForm.task.value=pressbutton; } if( typeof(CodeMirror) == 'function'){ for (x in CodeMirror.instances){ document.getElementById(x).value = CodeMirror.instances[x].getCode(); } } if (typeof document.adminForm.onsubmit == "function") { document.adminForm.onsubmit(); } document.adminForm.submit(); return false; } function hikashopCheckChangeForm(type,form) { if(!form) return true; var varform = document[form]; if(typeof hikashopFieldsJs != 'undefined' && typeof hikashopFieldsJs['reqFieldsComp'] != 'undefined' && typeof hikashopFieldsJs['reqFieldsComp'][type] != 'undefined' && hikashopFieldsJs['reqFieldsComp'][type].length > 0) { for(var i =0;i<hikashopFieldsJs['reqFieldsComp'][type].length;i++) { elementName = 'data['+type+']['+hikashopFieldsJs['reqFieldsComp'][type][i]+']'; if( typeof varform.elements[elementName]=='undefined'){ elementName = type+'_'+hikashopFieldsJs['reqFieldsComp'][type][i]; } elementToCheck = varform.elements[elementName]; elementId = 'hikashop_'+type+'_'+ hikashopFieldsJs['reqFieldsComp'][type][i]; el = document.getElementById(elementId); if(elementToCheck && (typeof el == 'undefined' || el == null || typeof el.style == 'undefined' || el.style.display!='none') && !hikashopCheckField(elementToCheck,type,i,elementName,varform.elements)){ if(typeof hikashopFieldsJs['entry_id'] == 'undefined') return false; for(var j =1;j<=hikashop['entry_id'];j++){ elementName = 'data['+type+'][entry_'+j+']['+hikashopFieldsJs['reqFieldsComp'][type][i]+']'; elementToCheck = varform.elements[elementName]; elementId = 'hikashop_'+type+'_'+ hikashopFieldsJs['reqFieldsComp'][type][i] + '_' + j; el = document.getElementById(elementId); if(elementToCheck && (typeof el == 'undefined' || el == null || typeof el.style == 'undefined' || el.style.display!='none') && !hikashopCheckField(elementToCheck,type,i,elementName,varform.elements)){ return false; } } } } if(type=='register'){ //check password if(typeof varform.elements['data[register][password]'] != 'undefined' && typeof varform.elements['data[register][password2]'] != 'undefined'){ passwd = varform.elements['data[register][password]']; passwd2 = varform.elements['data[register][password2]']; if(passwd.value!=passwd2.value){ alert(hikashopFieldsJs['password_different']); return false; } } //check email var emailField = varform.elements['data[register][email]']; emailField.value = emailField.value.replace(/ /g,""); var filter = /^([a-z0-9_'&\.\-\+])+\@(([a-z0-9\-])+\.)+([a-z0-9]{2,10})+$/i; if(!emailField || !filter.test(emailField.value)){ alert(hikashopFieldsJs['valid_email']); return false; } }else if(type=='address' && typeof varform.elements['data[address][address_telephone]'] != 'undefined'){ var phoneField = varform.elements['data[address][address_telephone]'], filter = /[0-9]+/i; if(phoneField){ phoneField.value = phoneField.value.replace(/ /g,""); if(phoneField.value.length > 0 && !filter.test(phoneField.value)){ alert(hikashopFieldsJs['valid_phone']); return false; } } } } return true; } function hikashopCheckField(elementToCheck,type,i,elementName,form){ if(elementToCheck){ var isValid = false; if(typeof elementToCheck.value != 'undefined'){ if(elementToCheck.value==' ' && typeof form[elementName+'[]'] != 'undefined'){ if(form[elementName+'[]'].checked){ isValid = true; }else{ for(var a=0; a < form[elementName+'[]'].length; a++){ if(form[elementName+'[]'][a].checked && form[elementName+'[]'][a].value.length>0) isValid = true; } } }else{ if(elementToCheck.value.length>0) isValid = true; } }else{ for(var a=0; a < elementToCheck.length; a++){ if(elementToCheck[a].checked && elementToCheck[a].value.length>0) isValid = true; } } //Case for the switcher display, ignore check according to the method selected var simplified_pwd = document.getElementById('data[register][registration_method]3'); var simplified = document.getElementById('data[register][registration_method]1'); var guest = document.getElementById('data[register][registration_method]2'); if(!isValid && ((simplified && simplified.checked) || (guest && guest.checked) ) && (elementName=='data[register][password]' || elementName=='data[register][password2]')){ window.Oby.addClass(elementToCheck, 'invalid'); return true; } if (!isValid && ( (simplified && simplified.checked) || (guest && guest.checked) || (simplified_pwd && simplified_pwd.checked) ) && (elementName=='data[register][name]' || elementName=='data[register][username]')) { window.Oby.addClass(elementToCheck, 'invalid'); return true; } if(!isValid){ window.Oby.addClass(elementToCheck, 'invalid'); alert(hikashopFieldsJs['validFieldsComp'][type][i]); return false; }else{ window.Oby.removeClass(elementToCheck, 'invalid'); } } return true; } (function() { function preventDefault() { this.returnValue = false; } function stopPropagation() { this.cancelBubble = true; } var Oby = { version: 20140128, ajaxEvents : {}, hasClass : function(o,n) { if(o.className == '' ) return false; var reg = new RegExp("(^|\\s+)"+n+"(\\s+|$)"); return reg.test(o.className); }, addClass : function(o,n) { if( !this.hasClass(o,n) ) { if( o.className == '' ) { o.className = n; } else { o.className += ' '+n; } } }, trim : function(s) { return (s ? '' + s : '').replace(/^\s*|\s*$/g, ''); }, removeClass : function(e, c) { var t = this; if( t.hasClass(e,c) ) { var cn = ' ' + e.className + ' '; e.className = t.trim(cn.replace(' '+c+' ',' ')); } }, addEvent : function(d,e,f) { if( d.attachEvent ) d.attachEvent('on' + e, f); else if (d.addEventListener) d.addEventListener(e, f, false); else d['on' + e] = f; return f; }, removeEvent : function(d,e,f) { try { if( d.detachEvent ) d.detachEvent('on' + e, f); else if( d.removeEventListener) d.removeEventListener(e, f, false); else d['on' + e] = null; } catch(e) {} }, cancelEvent : function(e) { if( !e ) { e = window.event; if( !e ) return false; } if(e.stopPropagation) e.stopPropagation(); else e.cancelBubble = true; if( e.preventDefault ) e.preventDefault(); else e.returnValue = false; return false; }, fireEvent : function(d,e) { if(document.createEvent) { var evt = document.createEvent('HTMLEvents'); evt.initEvent(e, false, true); d.dispatchEvent(evt); } else d.fireEvent("on"+e); }, fireAjax : function(name,params) { var t = this, ev; if( t.ajaxEvents[name] === undefined ) return false; for(var e in t.ajaxEvents[name]) { if( e != '_id' ) { ev = t.ajaxEvents[name][e]; ev(params); } } return true; }, registerAjax : function(name, fct) { var t = this; if( t.ajaxEvents[name] === undefined ) t.ajaxEvents[name] = {'_id':0}; var id = t.ajaxEvents[name]['_id']; t.ajaxEvents[name]['_id'] += 1; t.ajaxEvents[name][id] = fct; return id; }, unregisterAjax : function(name, id) { if( t.ajaxEvents[name] === undefined || t.ajaxEvents[name][id] === undefined) return false; t.ajaxEvents[name][id] = null; return true; }, ready: function(fct) { var w = window, d = document, t = this; if(d.readyState === "complete") { fct(); return; } var done = false, top = true, root = d.documentElement, init = function(e) { if(e.type == 'readystatechange' && d.readyState != 'complete') return; t.removeEvent((e.type == 'load' ? w : d), e.type, init); if(!done && (done = true)) fct(); }, poll = function() { try{ root.doScroll('left'); } catch(e){ setTimeout(poll, 50); return; } init('poll'); }; if(d.createEventObject && root.doScroll) { try{ top = !w.frameElement; } catch(e){} if(top) poll(); } t.addEvent(d,'DOMContentLoaded',init); t.addEvent(d,'readystatechange',init); t.addEvent(w,'load',init); }, evalJSON : function(text, secure) { if( typeof(text) != "string" || !text.length) return null; if( secure && !(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(text.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''))) return null; return eval('(' + text + ')'); }, getXHR : function() { var xhr = null, w = window; if(w.XMLHttpRequest || w.ActiveXObject) { if(w.ActiveXObject) { try { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {} } else xhr = new w.XMLHttpRequest(); } return xhr; }, xRequest: function(url, options, cb, cbError) { var t = this, xhr = t.getXHR(); if(!options) options = {}; if(!cb) cb = function(){}; options.mode = options.mode || 'GET'; options.update = options.update || false; xhr.onreadystatechange = function() { if(xhr.readyState == 4) { if( xhr.status == 200 || (xhr.status == 0 && xhr.responseText > 0) || !cbError ) { if(cb) cb(xhr,options.params); if(options.update) t.updateElem(options.update, xhr.responseText); } else { cbError(xhr,options.params); } } }; xhr.open(options.mode, url, true); if( options.mode.toUpperCase() == 'POST' ) { xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded"); } xhr.send( options.data ); }, getFormData : function(target) { var d = document, ret = ''; if( typeof(target) == 'string' ) target = d.getElementById(target); if( target === undefined ) target = d; var typelist = ['input','select','textarea']; for(var t in typelist ) { t = typelist[t]; var inputs = target.getElementsByTagName(t); for(var i = inputs.length - 1; i >= 0; i--) { if( inputs[i].name && !inputs[i].disabled ) { var evalue = inputs[i].value, etype = ''; if( t == 'input' ) etype = inputs[i].type.toLowerCase(); if( (etype == 'radio' || etype == 'checkbox') && !inputs[i].checked ) evalue = null; if( (etype != 'file' && etype != 'submit') && evalue != null ) { if( ret != '' ) ret += '&'; ret += encodeURI(inputs[i].name) + '=' + encodeURIComponent(evalue); } } } } return ret; }, updateElem : function(elem, data) { var d = document, scripts = ''; if( typeof(elem) == 'string' ) elem = d.getElementById(elem); var text = data.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi, function(all, code){ scripts += code + '\n'; return ''; }); elem.innerHTML = text; if( scripts != '' ) { var script = d.createElement('script'); script.setAttribute('type', 'text/javascript'); script.text = scripts; d.head.appendChild(script); d.head.removeChild(script); } } }; if((typeof(window.Oby) == 'undefined') || window.Oby.version < Oby.version) { window.Oby = Oby; window.obscurelighty = Oby; } var oldHikaShop = window.hikashop || hikashop; var hikashop = { submitFct: null, submitBox: function(data) { var t = this, d = document, w = window; if( t.submitFct ) { try { t.submitFct(data); } catch(err) {} } t.closeBox(); }, deleteId: function(id) { var t = this, d = document, el = id; if( typeof(id) == "string") { el = d.getElementById(id); } if(!el) return; el.parentNode.removeChild(el); }, dup: function(tplName, htmlblocks, id, extraData, appendTo) { var d = document, tplElem = d.getElementById(tplName), container = tplElem.parentNode; if(!tplElem) return; elem = tplElem.cloneNode(true); if(!appendTo) { container.insertBefore(elem, tplElem); } else { if(typeof(appendTo) == "string") appendTo = d.getElementById(appendTo); appendTo.appendChild(elem); } elem.style.display = ""; elem.id = ''; if(id) elem.id = id; for(var k in htmlblocks) { elem.innerHTML = elem.innerHTML.replace(new RegExp("{"+k+"}","g"), htmlblocks[k]); elem.innerHTML = elem.innerHTML.replace(new RegExp("%7B"+k+"%7D","g"), htmlblocks[k]); } if(extraData) { for(var k in extraData) { elem.innerHTML = elem.innerHTML.replace(new RegExp('{'+k+'}','g'), extraData[k]); elem.innerHTML = elem.innerHTML.replace(new RegExp('%7B'+k+'%7D','g'), extraData[k]); } } }, deleteRow: function(id) { var t = this, d = document, el = id; if( typeof(id) == "string") { el = d.getElementById(id); } else { while(el != null && el.tagName.toLowerCase() != 'tr') { el = el.parentNode; } } if(!el) return; var table = el.parentNode; table.removeChild(el); if( table.tagName.toLowerCase() == 'tbody' ) table = table.parentNode; t.cleanTableRows(table); return; }, dupRow: function(tplName, htmlblocks, id, extraData) { var d = document, tplLine = d.getElementById(tplName), tableUser = tplLine.parentNode; if(!tplLine) return; trLine = tplLine.cloneNode(true); tableUser.appendChild(trLine); trLine.style.display = ""; trLine.id = ""; if(id) trLine.id = id; for(var i = tplLine.cells.length - 1; i >= 0; i--) { if(trLine.cells[i]) { for(var k in htmlblocks) { trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp("{"+k+"}","g"), htmlblocks[k]); trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp("%7B"+k+"%7D","g"), htmlblocks[k]); } if(extraData) { for(var k in extraData) { trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp('{'+k+'}','g'), extraData[k]); trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp('%7B'+k+'%7D','g'), extraData[k]); } } } } if(tplLine.className == "row0") tplLine.className = "row1"; else if(tplLine.className == "row1") tplLine.className = "row0"; }, cleanTableRows: function(id) { var d = document, el = id; if(typeof(id) == "string") el = d.getElementById(id); if(el == null || el.tagName.toLowerCase() != 'table') return; var k = 0, c = '', line = null, lines = el.getElementsByTagName('tr'); for(var i = 0; i < lines.length; i++) { line = lines[i]; if( line.style.display != "none") { c = ' '+line.className+' '; if( c.indexOf(' row0 ') >= 0 || c.indexOf(' row1 ') >= 0 ) { line.className = c.replace(' row'+(1-k)+' ', ' row'+k+' ').replace(/^\s*|\s*$/g, ''); k = 1 - k; } } } }, checkRow: function(id) { var t = this, d = document, el = id; if(typeof(id) == "string") el = d.getElementById(id); if(el == null || el.tagName.toLowerCase() != 'input') return; if(this.clicked) { this.clicked = null; t.isChecked(el); return; } el.checked = !el.checked; t.isChecked(el); }, isChecked: function(id,cancel) { var d = document, el = id; if(typeof(id) == "string") el = d.getElementById(id); if(el == null || el.tagName.toLowerCase() != 'input') return; if(el.form.boxchecked) { if(el.checked) el.form.boxchecked.value++; else el.form.boxchecked.value--; } }, checkAll: function(checkbox, stub) { stub = stub || 'cb'; if(checkbox.form) { var cb = checkbox.form, c = 0; for(var i = 0, n = cb.elements.length; i < n; i++) { var e = cb.elements[i]; if (e.type == checkbox.type) { if ((stub && e.id.indexOf(stub) == 0) || !stub) { e.checked = checkbox.checked; c += (e.checked == true ? 1 : 0); } } } if (cb.boxchecked) { cb.boxchecked.value = c; } return true; } return false; }, submitform: function(task, form, extra) { var d = document; if(typeof form == 'string') { var f = d.getElementById(form); if(!f) f = d.forms[form]; if(!f) return true; form = f; } if(task) { form.task.value = task; } if(typeof form.onsubmit == 'function') form.onsubmit(); form.submit(); return false; }, get: function(elem, target) { window.Oby.xRequest(elem.getAttribute('href'), {update: target}); return false; }, form: function(elem, target) { var data = window.Oby.getFormData(target); window.Oby.xRequest(elem.getAttribute('href'), {update: target, mode: 'POST', data: data}); return false; }, openBox: function(elem, url, jqmodal) { var w = window; if(typeof(elem) == "string") elem = document.getElementById(elem); if(!elem) return false; try { if(jqmodal === undefined) jqmodal = false; if(!jqmodal && w.SqueezeBox !== undefined) { if(url !== undefined && url !== null) { elem.href = url; } if(w.SqueezeBox.open !== undefined) SqueezeBox.open(elem, {parse: 'rel'}); else if(w.SqueezeBox.fromElement !== undefined) SqueezeBox.fromElement(elem); } else if(typeof(jQuery) != "undefined") { var id = elem.getAttribute('id'); jQuery('#modal-' + id).modal('show'); if(url) { jQuery('#modal-' + id + '-container').find('iframe').attr('src', url); } } } catch(e) {} return false; }, closeBox: function(parent) { var d = document, w = window; if(parent) { d = window.parent.document; w = window.parent; } try { var e = d.getElementById('sbox-window'); if(e && typeof(e.close) != "undefined") { e.close(); }else if(typeof(w.jQuery) != "undefined" && w.jQuery('div.modal.in') && w.jQuery('div.modal.in').hasClass('in')){ w.jQuery('div.modal.in').modal('hide'); }else if(w.SqueezeBox !== undefined) { w.SqueezeBox.close(); } } catch(err) {} }, submitPopup: function(id, task, form) { var d = document, t = this, el = d.getElementById('modal-'+id+'-iframe'); if(el && el.contentWindow.hikashop) { if(task === undefined) task = null; if(form === undefined) form = 'adminForm'; el.contentWindow.hikashop.submitform(task, form); } }, tabSelect: function(m,c,id) { var d = document, sub = null; if(typeof m == 'string') m = d.getElementById(m); if(!m) return; if(typeof id == 'string') id = d.getElementById(id); sub = m.getElementsByTagName('div'); if(sub) { for(var i = sub.length - 1; i >= 0; i--) { if(sub[i].getAttribute('class') == c) { sub[i].style.display = 'none'; } } } if(id) id.style.display = ''; }, changeState: function(el, id, url) { window.Oby.xRequest(url, null, function(xhr){ var w = window, d = document; w.Oby.updateElem(id + '_container', xhr.responseText); var defaultVal = '', defaultValInput = d.getElementById(id + '_default_value'), stateSelect = d.getElementById(id); if(defaultValInput) { defaultVal = defaultValInput.value; } if(stateSelect && w.hikashop.optionValueIndexOf(stateSelect.options, defaultVal) >= 0) stateSelect.value = defaultVal; if(typeof(jQuery) != "undefined" && jQuery().chosen) { jQuery('#'+id).chosen(); } w.Oby.fireAjax('hikashop.stateupdated', {id: id, elem: stateSelect}); }); }, optionValueIndexOf: function(options, value) { for(var i = options.length - 1; i >= 0; i--) { if(options[i].value == value) return i; } return -1; }, getOffset: function(el) { var x = 0, y = 0; while(el && !isNaN( el.offsetLeft ) && !isNaN( el.offsetTop )) { x += el.offsetLeft - el.scrollLeft; y += el.offsetTop - el.scrollTop; el = el.offsetParent; } return { top: y, left: x }; }, dataStore: function(name, value) { if(localStorage) { localStorage.setItem(name, value); } else { var expire = new Date(); expire.setDate(expire.getDate() + 5); document.cookie = name+"="+value+"; expires="+expire; } }, dataGet: function(name) { if(localStorage) { return localStorage.getItem(name); } if(document.cookie.length > 0 && document.cookie.indexOf(name+"=") != -1) { var s = name+"=", o = document.cookie.indexOf(s) + s.length, e = document.cookie.indexOf(";",o); if(e == -1) e = document.cookie.length; return unescape(document.cookie.substring(o, e)); } return null; }, setArrayDisplay: function(fields, displayValue) { var d = document, e = null; for(var i = 0; i < fields.length; i++) { e = d.getElementById(fields[i]); if(e) e.style.display = displayValue; } }, ready: function(fct) { var w = window, d = w.document; if(w.jQuery !== undefined) { jQuery(d).ready(fct); } else if(window.addEvent) { w.addEvent("domready", fct); } else w.Oby.ready(fct); } }; window.hikashop = hikashop; if(oldHikaShop && oldHikaShop instanceof Object) { for (var attr in oldHikaShop) { if (obj.hasOwnProperty(attr) && !window.hikashop.hasOwnProperty(attr)) window.hikashop[attr] = obj[attr]; } } var nameboxes = { simpleSearch: function(id, el) { var d = document, s = d.getElementById(id+"_span"); if(typeof(el) == "string") el = d.getElementById(el); s.innerHTML = el.value; window.oTrees[id].search(el.value); el.style.width = s.offsetWidth + 30 + "px"; }, advSearch: function(id, el, url, keyword, min) { var d = document, s = d.getElementById(id+"_span"); s.innerHTML = el.value; if(el.value.length < min) { if(!window['orign_data_'+id]) { window.oTrees[id].lNodes = []; window.oTrees[id].lNodes[0] = new window.oNode(0,-1); window.oTrees[id].load(window['data_'+id]); window.oTrees[id].render(); window['orign_data_'+id] = true; } window.oTrees[id].search(el.value); } else { window.Oby.xRequest( url.replace(keyword, el.value), null, function(xhr,params) { window['orign_data_'+id] = false; window.oTrees[id].lNodes = []; window.oTrees[id].lNodes[0] = new window.oNode(0,-1); var json = window.Oby.evalJSON(xhr.responseText); window.oTrees[id].load(json); window.oTrees[id].render(); }, function(xhr, params) { } ); } el.style.width = s.offsetWidth + 30 + "px"; }, focus: function(id, el) { var d = document, c = d.getElementById(id); e = d.getElementById(id+"_otree"); if(typeof(el) == "string") el = d.getElementById(el); el.focus(); window.oTrees[id].search(el.value); if(e) { e.style.display = ""; var f = function(evt) { var e = d.getElementById(id+"_otree"); if (!evt) var evt = window.event; var trg = (window.event) ? evt.srcElement : evt.target; while(trg != null) { if(trg == el || trg == e || trg == c) return; trg = trg.parentNode; } e.style.display = "none"; window.Oby.removeEvent(document, "mousedown", f); }; window.Oby.addEvent(document, "mousedown", f); } }, clean: function(id, el, text) { var d = document, s = d.getElementById(id+"_valuetext"), h = d.getElementById(id+'_valuehidden'); s.innerHTML = text; h.value = ''; window.Oby.cancelEvent(); }, callbackFct: function(t,url,keyword,tree,node,ev) { var o = window.Oby, n = null; o.xRequest( url.replace(keyword, node.value), null, function(xhr,params) { var json = o.evalJSON(xhr.responseText); if(json.length > 0) { var s = json.length; for(var i = 0; i < s; i++) { n = json[i]; t.add(node.id, n.status, n.name, n.value, n.url, n.icon); } t.update(node); if(t.selectOnOpen) { var n = t.find(t.selectOnOpen); if(n) { t.sel(n); } t.selectOnOpen = null; } } else { t.emptyDirectory(node); } }, function(xhr, params) { t.add(node.id, 0, "error"); t.update(node); } ); return false; } }; window.nameboxes = nameboxes; })(); if(window.jQuery && typeof(jQuery.noConflict) == "function" && !window.hkjQuery) { window.hkjQuery = jQuery.noConflict(); }
traintoproclaim/ttp-web
htdocs/media/com_hikashop/js/hikashop.js
JavaScript
gpl-3.0
24,511
module.exports = { "extends": "airbnb-base", "plugins": [ "import" ], "env": { "browser": true, "mocha": true, "protractor": true, "node": true }, "globals": { "expect": true }, "rules": { "semi": ["error", "never"], "quotes": ["error", "double"], "indent": ["error", "tab"], "no-console": 0, "no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": [ "newParent", "parent", "child" ] }], "no-tabs": 0 } };
ice-blaze/lilengine
.eslintrc.js
JavaScript
gpl-3.0
503
describe('Targets can be searched', function() { var store_records, store_operation, store_success; beforeEach(function() { this.application = Ext.create('Ext.app.Application', { name:'LSP', appFolder:'./app', requires:['LDA.helper.LDAConstants'], // Define all the controllers that should initialize at boot up of your application controllers:[ // 'LDAParserController', // 'Users', 'grids.DynamicGrid', // 'grids.PharmaGridInf', // 'Grid', 'NavigationTree', // 'Queryform', 'SimSearchForm', 'CmpdByNameForm', 'TargetByNameForm', 'PharmByTargetNameForm', 'PharmByCmpdNameForm', 'PharmByEnzymeFamily', // 'SummeryForm', 'Settings', // 'pmidTextMiningHitsForm', // 'pathwayByCompoundForm', // 'pathwayByProteinForm', // 'PharmByTargetNameFormInf', 'CW.controller.ConceptWikiLookup' ], // autoCreateViewport:true, launch:function () { //include the tests in the test.html head //jasmine.getEnv().addReporter(new jasmine.TrivialReporter()); //jasmine.getEnv().execute(); } }); }); it('and results can be paginated', function() { var store = Ext.create('LDA.store.TargetPharmacologyPaginatedStore',{}); store.uri = 'http://www.conceptwiki.org/concept/b932a1ed-b6c3-4291-a98a-e195668eda49'; store.load(function(records, operation, success) { store_records = records; store_operation = operation; store_success = operation.success; }); waitsFor( function(){ return !store.isLoading(); }, "load never completed", 4000 ); runs(function() { expect(store_success).toEqual(true); }); }); it('and results can be filtered for activities', function() { var store = Ext.create('LDA.store.TargetPharmacologyPaginatedStore',{}); store.uri = 'http://www.conceptwiki.org/concept/b932a1ed-b6c3-4291-a98a-e195668eda49'; store.setActivityType('IC50'); store.setActivityValue('10000'); store.setActivityCondition('<'); store.load(function(records, operation, success) { store_records = records; store_operation = operation; store_success = operation.success; }); waitsFor( function(){ return !store.isLoading(); }, "load never completed", 4000 ); runs(function() { expect(store_success).toEqual(true); }); }); it('and specific pages can be requested', function() { var store = Ext.create('LDA.store.TargetPharmacologyPaginatedStore',{}); store.uri = 'http://www.conceptwiki.org/concept/b932a1ed-b6c3-4291-a98a-e195668eda49'; store.page = 10; store.setActivityType('IC50'); store.setActivityValue('10000'); store.setActivityCondition('<'); store.load(function(records, operation, success) { store_records = records; store_operation = operation; store_success = operation.success; }); waitsFor( function(){ return !store.isLoading(); }, "load never completed", 4000 ); runs(function() { expect(store_success).toEqual(true); }); }); });
openphacts/coreGUI
public/app-test/spec/PharmacologyByTargetTest.js
JavaScript
gpl-3.0
3,278
/* * Copyright © 2012 Pedro Agullo Soliveres. * * This file is part of Log4js-ext. * * Log4js-ext is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License. * * Commercial use is permitted to the extent that the code/component(s) * do NOT become part of another Open Source or Commercially developed * licensed development library or toolkit without explicit permission. * * Log4js-ext is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with Log4js-ext. If not, see <http://www.gnu.org/licenses/>. * * This software uses the ExtJs library (http://extjs.com), which is * distributed under the GPL v3 license (see http://extjs.com/license). */ (function() { "use strict"; //$NON-NLS-1$ /** * The level is the importance or priority of a certain logging operation. * * Predefined levels are FATAL, ERROR, WARN, INFO, DEBUG, and TRACE. * * NONE and ALL are useful to control logging, but they can't be used * in a logging operation, as they make no sense in that context. */ Ext.define('Sm.log.Level', { //$NON-NLS-1$ uses: ['Sm.log.util.Debug', 'Sm.log.util.Assert'], statics : { /** * Initializes logging levels. * * @private * * @returns {void} * */ initStatics : function() { this.NONE = Ext.create( 'Sm.log.Level', {name:'NONE', level: Math.pow(2,31)-1} ); this.FATAL = Ext.create( 'Sm.log.Level', {name:'FATAL', level:600}); this.ERROR = Ext.create( 'Sm.log.Level', {name:'ERROR', level:500}); this.WARN = Ext.create( 'Sm.log.Level', {name:'WARN', level:400}); this.INFO = Ext.create( 'Sm.log.Level', {name:'INFO', level:300}); this.DEBUG = Ext.create( 'Sm.log.Level', {name:'DEBUG', level:200}); this.TRACE = Ext.create( 'Sm.log.Level', {name:'TRACE', level:100}); this.ALL = Ext.create( 'Sm.log.Level', {name:'ALL', level:0}); }, /** * Returns a level, given its name. * * This can be very useful to get a level given a user-specified * text via a combo, etc. * * @param {String} levelName The level name. * * @returns {Sm.log.Level} The level with the specified name. */ getLevel : function( levelName ) { switch(levelName.toUpperCase()) { case this.ALL.getName() : return this.ALL; case this.NONE.getName() : return this.NONE; case this.FATAL.getName() : return this.FATAL; case this.ERROR.getName() : return this.ERROR; case this.WARN.getName() : return this.WARN; case this.INFO.getName() : return this.INFO; case this.DEBUG.getName() : return this.DEBUG; case this.TRACE.getName() : return this.TRACE; default: return null; } }, /** * Returns a level's level, given the level name. * * @param {String} levelName The level name. * * @returns {Number} */ getLevelLevel :function( levelName ) { switch(levelName.toUpperCase()) { case this.ALL.getName() : return this.ALL.getLevel(); case this.NONE.getName() : return this.NONE.getLevel(); case this.FATAL.getName() : return this.FATAL.getLevel(); case this.ERROR.getName() : return this.ERROR.getLevel(); case this.WARN.getName() : return this.WARN.getLevel(); case this.INFO.getName() : return this.INFO.getLevel(); case this.DEBUG.getName() : return this.DEBUG.getLevel(); case this.TRACE.getName() : return this.TRACE.getLevel(); default: Sm.log.util.Debug.abort( "This code should never execute"); return; } }, /** * Represents 'no level', useful in some contexts to * specify that no level should be logged. * * Do not use as a log operation level. * * @property {Sm.log.Level} * @readonly */ NONE : undefined, /** * Represents a fatal error. * * The diference between error and fatal error depends on the * context, and might or might not exist in some contexts. How to * interpret that depends on the context, and has to be defined * by the application * * @property {Sm.log.Level} * @readonly */ FATAL : undefined, /** * Represents an error. * * The diference between error and fatal error depends on the * context, and might or might not exist in some contexts. How to * interpret that depends on the context, and has to be defined * by the application * * @property {Sm.log.Level} * @readonly */ ERROR : undefined, /** * Represents a warning. * * @property {Sm.log.Level} * @readonly */ WARN : undefined, /** * Represents an informative log. * * @property {Sm.log.Level} * @readonly */ INFO : undefined, /** * Represents a debug log. * * We will probably be interested in debug logs only while debugging. * * @property {Sm.log.Level} * @readonly */ DEBUG : undefined, /** * Represents a low level debug log. * * We will probably be interested in trace logs only while heavily * debugging. * * @property {Sm.log.Level} * @readonly */ TRACE : undefined, /** * Represents 'all level', useful in some contexts to * specify that alls levels should be logged. * * Do not use as a log operation level. * * @property {Sm.log.Level} * @readonly */ ALL : undefined }, config : { /** * @accessor * @cfg [=value provided in constructor] (required) * * The level name. * * @readonly */ name : '', /** * @accessor * @cfg [=value provided in constructor] (required) * * The level value. * * @readonly */ level : 0 }, /** * Creates a new level. * * You should not create your own levels. The library has not been created * with the idea of allowing user defined levels. Therefore, it might or * might not work if you do so. * * @private * * @param cfg */ constructor : function (cfg) { // Avoid this check because Assert might not be loaded, as // this is called indirectly by initStatics, which is called // at the end of this file /* Sm.log.util.Assert.assert(cfg.name); Sm.log.util.Assert.assert(cfg.level); */ this.initConfig(cfg); }, /** * Compares two levels, return true if this ones is lesser or equal * than the one received by the function. * * @param {Sm.log.Level} level The level to compare with this level. * @returns {Boolean} */ le : function( level ) { return this.getLevel() <= level.getLevel(); } }, // Initialize statics: this function receives the class as 'this' function () { this.initStatics(); } ); }());
opennode/opennode-console
lib/log4js/sm/log/src/Level.js
JavaScript
gpl-3.0
8,897
var mongoose = require("mongoose"); // definicion del esquema var Schema = mongoose.Schema; var LibroSchema = new Schema({ titulo: String, autor: String, campos_biblioteca: { ejemplares: Number, ultima_reserva: Date } }) var ReservaSchema = new Schema({}); module.exports = { Libro: mongoose.model("Libro", LibroSchema), Reserva: mongoose.model("Libro", LibroSchema) }
germanux/cursomeanstack
11_mongoose/ejemplo09-mongoose/ejemplo04model.js
JavaScript
gpl-3.0
408
'use strict'; var app = angular.module('exemplo', []).controller('clienteController', function($scope, $http){ $scope.mensagem_erro = ''; $scope.resultado = ''; $scope.novoCliente = {}; $scope.carregarClientes = function() { var url = 'http://localhost:8080/clientes/'; $http.get(url) .success(function(data) { $scope.clientes = data; }) .error(function (exception) { $scope.mensagem_erro = 'Ocorreu um erro ao tentar recuperar os clientes.' + exception; }); }; $scope.excluirCliente = function(_cliente) { var url = 'http://localhost:8080/cliente/'; $http.delete(url + _cliente.id + '/excluir') .success(function(data, status) { console.log(data); console.log('status: ' + status); $scope.carregarClientes(); }) .error(function (exception) { $scope.mensagem_erro = 'Ocorreu um erro ao tentar excluir o cliente ' + _cliente.id + ': ' + exception; }); }; $scope.carregarDadosCliente = function(_id) { var url = 'http://localhost:8080/cliente/'; $http.get(url + _id) .success(function(data) { $scope.cliente = data; }) .error(function (exception) { $scope.mensagem_erro = 'Ocorreu um erro ao tentar recuperar os dados do cliente ' + _id + ': ' + exception; }); }; $scope.atualizarCadastroCliente = function(_cliente) { var url = 'http://localhost:8080/cliente/'; $http.put(url + _cliente.id, _cliente) .success(function(data, status) { console.log(data); console.log('status: ' + status); $scope.resultado = data; if (status == 201) { $scope.resultado = 'Cliente alterado com sucesso!'; }; }) .error(function (exception, status) { console.log('status: ' + status); console.log("error: "+exception); $scope.resultado = 'Ocorreu um erro ao tentar alterar os dados do cliente ' + _cliente.id + ': ' + exception; }); }; $scope.cadastrarNovoCliente = function(_novoCliente) { var url = 'http://localhost:8080/clientes/cadastrar'; $http.post(url, _novoCliente) .success(function(data, status) { console.log(data); console.log('status: ' + status); $scope.resultado = data; if (status == 201) { $scope.resultado_sucesso = 'Cliente cadastrado com sucesso!'; $scope.resultado_erro = ''; }; }) .error(function (exception) { console.log("error: "+exception); $scope.resultado_erro = ''; $scope.resultado_erro = 'Ocorreu um erro ao tentar cadastrar um novo cliente: ' + exception; }); }; $scope.carregarClientes(); // $scope.carregarDadosCliente(7); }); app.directive('ngConfirmClick', [ function(){ return { link: function (scope, element, attr) { var msg = attr.ngConfirmClick || "Are you sure?"; var clickAction = attr.confirmedClick; element.bind('click',function (event) { if ( window.confirm(msg) ) { scope.$eval(clickAction) } }); } }; }])
lucasmauricio/web-downsizing-paper-sample
web-app/js/app-exemplo/clienteController.js
JavaScript
gpl-3.0
3,702
(function ($) { "use strict"; /** * Constructor * @constructor */ $.MicaTimeline = function (dtoParser, popupIdFormatter, useBootstrapTooltip) { this.parser = dtoParser; this.popupIdFormatter = popupIdFormatter; this.useBootstrapTooltip = useBootstrapTooltip; }; /** * Class method definition * @type {{create: create}} */ $.MicaTimeline.prototype = { create: function (selectee, studyDto) { if (this.parser === null || studyDto === null) return; var timelineData = this.parser.parse(studyDto); if (timelineData) createTimeline(this, timelineData, selectee, studyDto); return this; }, addLegend: function () { if (!this.timelineData || !this.timelineData.hasOwnProperty('data') || this.timelineData.data.length === 0) return; var ul = $("<ul id='legend' class='timeline-legend'>"); $(this.selectee).after(ul); var processedPopulations = {}; $.each(this.timelineData.data, function(i, item) { if (!processedPopulations.hasOwnProperty(item.population.title)) { processedPopulations[item.population.title] = true; var li = $(createLegendRow(item.population.color, item.population.title)); ul.append(li); } }); return this; }, reset: function() { $(this.selectee).empty(); $('.timeline-legend').remove(); return this; } }; function createTimeline(timeline, timelineData, selectee, studyDto) { var width = $(selectee).width(); var chart = d3.timeline() .startYear(timelineData.start) .beginning(timelineData.min) .ending(timelineData.max) .width(width) .stack() .tickFormat({ format: d3.format("d"), tickTime: 1, tickNumber: 1, tickSize: 10 }) .margin({left: 15, right: 15, top: 0, bottom: 20}) .rotateTicks(timelineData.max > $.MicaTimeline.defaultOptions.maxMonths ? 45 : 0) .click(function (d, i, datum) { if (timeline.popupIdFormatter) { var popup = $(timeline.popupIdFormatter(studyDto, datum.population, d)); if (popup.length > 0) popup.modal(); } }); d3.select(selectee).append("svg").attr("width", width).datum(timelineData.data).call(chart); if (timeline.useBootstrapTooltip === true) { d3.select(selectee).selectAll('#line-path') .attr('data-placement', 'top') .attr('data-toggle', 'tooltip') .attr('data-original-title', function(d){ return d.title; }) .selectAll('title').remove(); // remove default tooltip } timeline.timelineData = timelineData; timeline.selectee = selectee; } /** * @param color * @param title * @returns {*|HTMLElement} */ function createLegendRow(color, title) { var rect ="<rect width='20' height='20' x='2' y='2' rx='5' ry='5' style='fill:COLOR;'>".replace(/COLOR/, color); return $("<li><svg width='25' height='25'>"+rect+"</svg>"+title+"</li>"); } /** * Default options * @type {{maxMonths: number}} */ $.MicaTimeline.defaultOptions = { maxMonths: 300 }; }(jQuery));
apruden/mica2
mica-webapp/src/main/webapp/bower_components/mica-study-timeline/src/mica-study-timeline.js
JavaScript
gpl-3.0
3,187
import {Ternary} from "./ternary"; import {cast} from "./cast"; export const F = Object.assign(new Ternary("F", false), { and() { return this; }, xor(b) { return cast(b); } }); Ternary.F = F;
ileri/ternary-logic
lib/f.js
JavaScript
gpl-3.0
226
{ id: "shinryu1_h4", name: "竜帝級 雷鳴轟く至天塔", desc: "", overlap: false, aprnum: 5, data: [ { appearance: [ 1 ], enemy: [ { name: "ボルケーノドラゴン", hp: 45000, imageno: 1660, attr: 0, spec: 0, isStrong: false, move: { on_move: [ s_enemy_force_reservoir(), s_enemy_attack(1500, 1, 1, true), s_enemy_attack(750, 1, 1, true) ], atrandom: false, turn: 1, wait: 1 } }, { name: "ブリザードドラゴン", hp: 22500, imageno: 1662, attr: 1, spec: 0, isStrong: false, move: { on_move: [ s_enemy_attack_attrsp(666, 222, [1,0,0,0,0], 5, 1, false) ], atrandom: false, turn: 2, wait: 2 } }, { name: "ライトニングドラゴン", hp: 90000, imageno: 1664, attr: 2, spec: 0, isStrong: false, move: { on_move: [ s_enemy_attack(1500, 1, 1, true), s_enemy_attack(1500, 1, 1, true), s_enemy_as_sealed(3, 3), ], atrandom: false, turn: 1, wait: 1 } } ] }, { appearance: [ 2 ], enemy: [ { name: "ライトニングドラゴン", hp: 90000, imageno: 1664, attr: 2, spec: 0, isStrong: false, move: { on_move: [ s_enemy_attack(1500, 1, 1, true), s_enemy_attack(1500, 1, 1, true), s_enemy_as_sealed(3, 3), ], atrandom: false, turn: 1, wait: 1 } }, { name: "ルビードラゴン", hp: 52500, imageno: 1666, attr: 0, spec: 0, isStrong: false, move: { on_move: [ s_enemy_force_reservoir(), s_enemy_attack(1000, 5, 1, true) ], atrandom: false, turn: 1, wait: 1 } }, { name: "ライトニングドラゴン", hp: 90000, imageno: 1664, attr: 2, spec: 0, isStrong: false, move: { on_move: [ s_enemy_attack(1500, 1, 1, true), s_enemy_attack(1500, 1, 1, true), s_enemy_as_sealed(3, 3), ], atrandom: false, turn: 1, wait: 1 } } ] }, { appearance: [ 3 ], enemy: [ { name: "ライトニングドラゴン", hp: 90000, imageno: 1664, attr: 2, spec: 0, isStrong: false, move: { on_popup: [ m_enemy_once(skill_counter_func(s_enemy_as_sealed, "-", 100, false, 5, 4)) ], on_move: [ s_enemy_attack(1500, 1, 1, true), s_enemy_attack(1500, 1, 1, true), s_enemy_as_sealed(3, 3) ], atrandom: false, turn: 1, wait: 1 } }, { name: "サファイアドラゴン", hp: 30000, imageno: 1668, attr: 1, spec: 0, isStrong: false, move: { on_move: [ s_enemy_attack_attrsp(840, 280, [1,0,0,0,0], 5, 1, false) ], atrandom: false, turn: 2, wait: 2 } }, { name: "ライトニングドラゴン", hp: 90000, imageno: 1664, attr: 2, spec: 0, isStrong: false, move: { on_popup: [ m_enemy_once(skill_counter_func(s_enemy_as_sealed, "-", 100, false, 5, 4)) ], on_move: [ s_enemy_attack(1500, 1, 1, true), s_enemy_attack(1500, 1, 1, true), s_enemy_as_sealed(3, 3) ], atrandom: false, turn: 1, wait: 1 } } ] }, { appearance: [ 4 ], enemy: [ { name: "ボルケーノドラゴン", hp: 60000, imageno: 1660, attr: 0, spec: 0, isStrong: false, move: { on_move: [ s_enemy_force_reservoir(), s_enemy_attack(1500, 1, 1, true), s_enemy_attack(750, 1, 1, true) ], atrandom: false, turn: 1, wait: 1 } }, { name: "トパーズドラゴン", hp: 150000, imageno: 1670, attr: 2, spec: 0, isStrong: false, move: { on_move: [ s_enemy_as_sealed(3, 3), s_enemy_attack(1500, 1, 1, true), s_enemy_attack(1500, 1, 1, true) ], atrandom: false, turn: 1, wait: 1 } }, { name: "ボルケーノドラゴン", hp: 60000, imageno: 1660, attr: 0, spec: 0, isStrong: false, move: { on_move: [ s_enemy_force_reservoir(), s_enemy_attack(1500, 1, 1, true), s_enemy_attack(750, 1, 1, true) ], atrandom: false, turn: 1, wait: 1 } } ] }, { appearance: [ 5 ], enemy: [ { name: "ボルケーノドラゴン", hp: 150000, imageno: 1660, attr: 0, spec: 0, isStrong: false, move: { on_move: [ s_enemy_force_reservoir(), s_enemy_attack(1500, 1, 1, true), s_enemy_attack(750, 1, 1, true) ], atrandom: false, turn: 1, wait: 1 } }, { name: "雷を司る竜帝 ワイバーン", hp: 900000, imageno: 1498, attr: 2, spec: 0, isStrong: true, move: { on_popup: [ m_enemy_once(skill_counter_func(s_enemy_attack, "-", 100, false, 1200, 5, 5, true)), damage_switch(s_enemy_when_hpdown(0.5), m_enemy_angry(), true) ], on_move: [ s_enemy_force_reservoir(), s_enemy_attack(3000, 5, 1, true) ], on_angry: [ s_enemy_attr_weaken([1,1,1,1,1], 1.5, 5, 4)/*!*/ ], on_move_angry: [ s_enemy_attack(1500, 5, 1, true) ], atrandom: false, turn: 1, wait: 1 } }, { name: "トパーズドラゴン", hp: 450000, imageno: 1670, attr: 2, spec: 0, isStrong: false, move: { on_popup: [ m_enemy_once(skill_counter_func(s_enemy_as_sealed, "-", 100, false, 5, 4)) ], on_move: [ s_enemy_attack(1500, 5, 1, true), s_enemy_as_sealed(5, 3), s_enemy_attack(1500, 5, 1, true) ], atrandom: false, turn: 1, wait: 1 } } ] } ] }
Arika0093/wiz_simu
js/data/quests/event/shinryu1/shinryu1_h4.js
JavaScript
gpl-3.0
9,525
import mongoose, { Schema } from 'mongoose' import auditingSchema from '../../core/base.model' import mongoosePaginate from 'mongoose-paginate' import uniqueValidator from 'mongoose-unique-validator' const ClassifiedReleaseOrderSchema = new auditingSchema({ publicationId: { type: Schema.ObjectId, ref: 'Publication', required: true, }, releaseOrderNumber: { type: String, required: true, unique: true, }, specialInstructions: { type: String, }, dateOfCreation: { type: Date, }, }) ClassifiedReleaseOrderSchema.pre('validate', function(next) { next() }) ClassifiedReleaseOrderSchema.methods = { /* Model Instance Methods come here */ } /* Plug-ins */ ClassifiedReleaseOrderSchema.plugin(mongoosePaginate) ClassifiedReleaseOrderSchema.plugin(uniqueValidator, { message: 'Classified Release Order : "{VALUE}" already exists in system', }) export default mongoose.model( 'ClassifiedReleaseOrder', ClassifiedReleaseOrderSchema )
costaivo/ClientManager
src/modules/classifieds/ClassifiedReleaseOrders/classifiedReleaseOrder.model.js
JavaScript
gpl-3.0
990
import React from "react"; import { composeWithTracker } from "@reactioncommerce/reaction-components"; import { Template } from "meteor/templating"; import { Roles } from "meteor/alanning:roles"; import { Reaction } from "/client/api"; /** * Push package into action view navigation stack * @param {SyntheticEvent} event Original event * @param {Object} app Package data * @return {undefined} No return value * @private */ function handleShowPackage(event, app) { Reaction.pushActionView(app); } /** * Open full dashbaord menu * @return {undefined} No return value * @private */ function handleShowDashboard() { Reaction.hideActionViewDetail(); Reaction.showActionView({ i18nKeyTitle: "dashboard.coreTitle", title: "Dashboard", template: "dashboardPackages" }); } /** * Push dashbaord & package into action view navigation stack * @param {SyntheticEvent} event Original event * @param {Object} app Package data * @return {undefined} No return value * @private */ function handleOpenShortcut(event, app) { Reaction.hideActionViewDetail(); Reaction.showActionView(app); } function composer(props, onData) { const audience = Roles.getRolesForUser(Reaction.getUserId(), Reaction.getShopId()); const settings = Reaction.Apps({ provides: "settings", enabled: true, audience }) || []; const dashboard = Reaction.Apps({ provides: "dashboard", enabled: true, audience }) .filter((d) => typeof Template[d.template] !== "undefined") || []; onData(null, { currentView: Reaction.getActionView(), groupedPackages: { actions: { title: "Actions", i18nKeyTitle: "admin.dashboard.packageGroupActionsLabel", packages: dashboard }, settings: { title: "Settings", i18nKeyTitle: "admin.dashboard.packageGroupSettingsLabel", packages: settings } }, // Callbacks handleShowPackage, handleShowDashboard, handleOpenShortcut }); } export default function PackageListContainer(Comp) { function CompositeComponent(props) { return ( <Comp {...props} /> ); } return composeWithTracker(composer)(CompositeComponent); }
anthonybrown/reaction
imports/plugins/core/dashboard/client/containers/packageListContainer.js
JavaScript
gpl-3.0
2,174
define({ "sourceSetting": "Pretraži postavke izvora", "instruction": "Dodaj i konfiguriši servise za geokodiranje ili slojeve geoobjekata kao izvore pretrage. Ovi navedeni izvori određuju šta može da se pretražuje unutar trake za pretragu.", "add": "Dodaj izvor pretrage", "addGeocoder": "Dodaj geokoder", "geocoder": "Geokoder", "setLayerSource": "Postavi izvor sloja", "setGeocoderURL": "Postavi URL adresu geokôdera", "searchableLayer": "Sloj geoobjekata", "name": "Naziv", "countryCode": "Kôd(ovi) zemlje ili regiona", "countryCodeEg": "npr. ", "countryCodeHint": "Ako ova vrednost ostane prazna, pretražuju se sve zemlje i regioni", "generalSetting": "Opšte postavke", "allPlaceholder": "Tekst čuvara mesta za pretragu svega: ", "showInfoWindowOnSelect": "Prikaži iskačući prozor za pronađeni geoobjekat ili lokaciju", "searchInCurrentMapExtent": "Pretraži samo u trenutnom obuhvatu mape", "zoomScale": "Skala zumiranja", "locatorUrl": "URL adresa geokodera", "locatorName": "Ime geokodera", "locatorExample": "Primer", "locatorWarning": "Ova verzija servisa geokôdiranja nije podržana. Vidžet podržava samo servis geokôdiranja 10.1 i novije.", "locatorTips": "Predlozi nisu dostupni jer servis geokôdiranja ne podržava predloženu mogućnost.", "layerSource": "Izvor sloja", "searchLayerTips": "Predlozi nisu dostupni jer servis geoobjekata ne podržava mogućnost paginacije.", "placeholder": "Tekst čuvara mesta", "searchFields": "Polja za pretragu", "displayField": "Prikaži polje", "exactMatch": "Potpuno podudaranje", "maxSuggestions": "Maksimalno predloga", "maxResults": "Maksimalno rezultata", "enableLocalSearch": "Omogući lokalnu pretragu", "minScale": "Min. razmera", "minScaleHint": "Kada je razmera mape veća od ove razmere, primenjuje se lokalna pretraga", "radius": "Poluprečnik", "radiusHint": "Definiše poluprečnik oblasti oko trenutnog centra mape koja se koristi za poboljšavanje rangiranja kandidata za geokodiranje kako bi se prvo vraćali kandidati najbliži lokaciji", "meters": "Metri", "setSearchFields": "Postavi polja pretrage", "set": "Postavi", "fieldSearchable": "pretraživo", "fieldName": "Naziv", "fieldAlias": "Alias", "ok": "U redu", "cancel": "Otkaži", "invalidUrlTip": "URL adresa ${URL} nije validna ili nije dostupna." });
EsriCanada-CE/ecce-app-challenge-2017
GISoar/app/widgets/Search/setting/nls/sr/strings.js
JavaScript
gpl-3.0
2,387
import epics from './src/metricsEpics'; import { reducer } from './src/metricsReducer'; import * as selector from './src/metricsSelectors'; import * as constants from './src/metricsConstants'; import Metrics from './src/metricsPage'; import { MetricsMenu } from './src/metricsMenu'; export default { name: 'Metrics', page: Metrics, menu: MetricsMenu, store: { name: 'metrics', epics, reducer, selector, constants } };
nicoechaniz/lime-app
plugins/lime-plugin-metrics/index.js
JavaScript
gpl-3.0
434
export class Timer { /** * diff 2 `Date` in Millisecond * @param {Date} since * @param {Date} until */ static diff(since, until) { return (until.getTime() - since.getTime()); } constructor() { /** time elapsed in millisecond */ this.sum = 0; this.running = false; this.begin = new Date(0); } set(millisecond) { this.sum = Math.trunc(millisecond); if (this.running) { this.begin = new Date(); } } offset(offset) { const target = this.get() + Math.trunc(offset); this.set(target); } get() { if (!this.running) return this.sum; return this.sum + Timer.diff(this.begin, new Date()); } start() { if (!this.running) { this.running = true; this.begin = new Date(); } } stop() { if (this.running) { this.running = false; this.sum += Timer.diff(this.begin, new Date()); } } /** clear elapsed time, then start */ clear() { this.sum = 0; this.running = true; this.begin = new Date(); } /** clear elapsed time, but do __NOT__ start */ reset() { this.sum = 0; this.running = false; this.begin = new Date(0); } }
Rocket1184/electron-netease-cloud-music
src/main/mpris/timer.js
JavaScript
gpl-3.0
1,347
'use strict'; module.exports = function(grunt) { grunt.config('clean', { all: '<%= settings.build.dst %>' }); }
KenVanGilbergen/ken.Spikes.Swagger
swagger-client-web/gruntTasks/clean.js
JavaScript
gpl-3.0
145
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), require('@angular-devkit/build-angular/plugins/karma') ], client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, coverageIstanbulReporter: { dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ], fixWebpackSourcePaths: true }, angularCli: { environment: 'dev' }, reporters: ['progress', 'kjhtml'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], customLaunchers: { Chrome_travis_ci: { base: 'Chrome', flags: ['--no-sandbox'] } }, singleRun: false }); };
AdamJo/dota2-minimap-spectator
karma.conf.js
JavaScript
gpl-3.0
1,128
var a00116 = [ [ "Advertising Data Encoder", "a00118.html", null ], [ "Debug Assert Handler", "a00119.html", null ], [ "BLE Device Manager", "a00126.html", [ [ "Initialization", "a00126.html#lib_device_manaegerit", [ [ "Associated Events", "a00126.html#lib_device_manager_init_evt", null ], [ "Associated Configuration Parameters", "a00126.html#lib_device_manager_init_cnfg_param", null ] ] ], [ "Registration", "a00126.html#lib_device_manager_register", [ [ "Associated Events", "a00126.html#lib_cnxn_register_evt", null ], [ "Associated Configuration Parameters", "a00126.html#lib_cnxn_register_cnfg_param", null ] ] ] ] ], [ "Connection Parameters Negotiation", "a00120.html", [ [ "Overview", "a00120.html#Overview", null ], [ "Initialization and Set-up", "a00120.html#lib_ble_conn_params_init", null ], [ "Shutdown", "a00120.html#lib_ble_conn_params_stop", null ], [ "Change/Update Connection Parameters Negotiated", "a00120.html#lib_ble_conn_params_change_conn_params", null ] ] ], [ "DTM - Direct Test Mode", "a00121.html", null ], [ "Error Log", "a00122.html", null ], [ "Record Access Control Point", "a00123.html", null ], [ "Radio Notification Event Handler", "a00124.html", null ], [ "Sensor Data Simulator", "a00125.html", null ] ];
DroneBucket/Drone_Bucket_CrazyFlie2_NRF_Firmware
nrf51_sdk/Documentation/s110/html/a00116.js
JavaScript
gpl-3.0
1,368
import StorageAdapter from 'ui-web/snf/adapters/storage'; export default StorageAdapter.extend({ findQuery: function(store, type, query) { var object_id = store.get('object_id'); delete store.object_id; return this.ajax(this.buildURL(type.typeKey, object_id), 'GET', { data: query }); }, });
AthinaB/synnefo
snf-ui-app/ui-web/app/adapters/version.js
JavaScript
gpl-3.0
311
import 'bootstrap'; import '../imports/startup/client/index.js';
jiyuu-llc/jiyuu
client/main.js
JavaScript
gpl-3.0
65
class Color { constructor () { this.r = Color.value(); this.g = Color.value(); this.b = Color.value(); this.style = "rgba(" + this.r + "," + this.g + "," + this.b + ",1)"; //this.style = "rgba(233,72,152,1)"; } static value () { return Math.floor(Math.random() * 255); } } class Dot { constructor (parent) { this.parent = parent; this.x = Math.random() * this.parent.parent.width; this.y = Math.random() * this.parent.parent.height; // Speed of Dots (+- 0.5) this.vx = Math.random() - 0.5; this.vy = Math.random() - 0.5; this.radius = Math.random() * 2; this.color = new Color(); } draw () { this.parent.context.beginPath(); this.parent.context.fillStyle = this.color.style; this.parent.context.arc(this.x, this.y, this.radius, 0, 2 * Math.PI, false); this.parent.context.fill(); } } class ConnectDots { constructor(parent) { let interval = 70; let nb_num = 250; let radius_num = 60; this.interval = interval; this.nb_num = nb_num; this.radius_num = radius_num; this.parent = parent; this.updateSize(); this.connectArea = { x: 50 * this.parent.width / 100, y: 50 * this.parent.height / 100 }; this.dots = { nb: this.nb_num, distMax: 100, //connectAreaRadius: canvas.width/4, connectAreaRadius: this.radius_num, array: [] }; $(window).resize(this.updateSize()); $(this.parent).on ("mousemove", (e) => { this.connectArea.x = e.pageX; this.connectArea.y = e.pageY; }); } static mixComponents(comp1, comp2, weight1, weight2) { return (comp1 * weight1 + comp2 * weight2) / (weight1 + weight2); } updateSize () { this.parent.width = Math.min ($(this.parent).parent().width(), window.innerWidth); this.parent.height = Math.min ($(this.parent).parent().height(), window.innerHeight); this.parent.style.display = 'block'; this.context = this.parent.getContext("2d"); this.context.lineWidth = 0.2; } gradient(dot1, dot2, midColor) { let grad = this.context.createLinearGradient( Math.floor(dot1.x), Math.floor(dot1.y), Math.floor(dot2.x), Math.floor(dot2.y)); grad.addColorStop(0, dot1.color.style); grad.addColorStop(Math.floor(dot1.radius / (dot1.radius / dot2.radius)), midColor); grad.addColorStop(1, dot2.color.style); return grad; } lineStyle(dot1, dot2) { let r = ConnectDots.mixComponents(dot1.color.r, dot2.color.r, dot1.radius, dot2.radius); let g = ConnectDots.mixComponents(dot1.color.g, dot2.color.g, dot1.radius, dot2.radius); let b = ConnectDots.mixComponents(dot1.color.b, dot2.color.b, dot1.radius, dot2.radius); let midColor = 'rgba(' + Math.floor(r) + ',' + Math.floor(g) + ',' + Math.floor(b) + ', 0.8)'; r = g = b = null; return this.gradient(dot1, dot2, midColor); } moveDots() { for (let i = 0; i < this.dots.nb; i++) { let dot = this.dots.array[i]; if (dot.y < 0 || dot.y > this.parent.height) dot.vy = -dot.vy; else if (dot.x < 0 || dot.x > this.parent.width) dot.vx = -dot.vx; dot.x += dot.vx; dot.y += dot.vy; dot = null; } } connectDots() { for (let i = 0; i < this.dots.nb; i++) { for (let j = 0; j < this.dots.nb; j++) { if (i === j) continue; let dot1 = this.dots.array[i]; let dot2 = this.dots.array[j]; let xDiff = dot1.x - dot2.x; let yDiff = dot1.y - dot2.y; let xCoreDiff = dot1.x - this.connectArea.x; let yCoreDiff = dot1.y - this.connectArea.y; if ((xDiff < this.dots.distMax && xDiff > -this.dots.distMax) && (yDiff < this.dots.distMax && yDiff > -this.dots.distMax) && (xCoreDiff < this.dots.connectAreaRadius && xCoreDiff > -this.dots.connectAreaRadius) && (yCoreDiff < this.dots.connectAreaRadius && yCoreDiff > -this.dots.connectAreaRadius)) { this.context.beginPath(); this.context.strokeStyle = this.lineStyle(dot1, dot2); this.context.moveTo(dot1.x, dot1.y); this.context.lineTo(dot2.x, dot2.y); this.context.stroke(); this.context.closePath(); } dot1 = null; dot2 = null; xDiff = null; yDiff = null; xCoreDiff = null; yCoreDiff = null; } } } createDots() { for (let i = 0; i < this.dots.nb; i++) this.dots.array.push(new Dot(this)); } drawDots() { for (let i = 0; i < this.dots.nb; i++) this.dots.array[i].draw(); } animateDots() { this.context.clearRect(0, 0, this.parent.width, this.parent.height); this.moveDots(); this.connectDots(); this.drawDots(); requestAnimationFrame(() => {this.animateDots ()}); } run () { this.createDots(); this.animateDots(); } }
Kronos3/Webmaster-Nationals
src/connect_dots.js
JavaScript
gpl-3.0
4,611
importScripts('../js/examples.js', './solutions.js', '../js/Puzzle.js'); onmessage = function (event) { if (event.data === 'start') { runTests(); } }; function runTests() { var count = 1; for (var name in solutions) { testCase(count, name); count++; } postMessage({ type: 'finished' }); } function append_text(text) { postMessage({ type: 'append', text: text }); } function testCase(count, name) { append_text("<h2> " + count + ". " + examples[name].width + " x " + examples[name].height + " " + name + " </h2>"); append_text("<p>Solving . . .</p>"); var start = new Date().getTime(); var puzzle = new Puzzle(examples[name]); puzzle.solve(void 0); var duration = (new Date().getTime() - start) / 1000; append_text("<p>Took " + duration + " seconds</p>"); var passed = true; if (puzzle.solutions.length !== solutions[name].length) { append_text("<p>Number of solutions are not equal (" + solutions[name].length + " should be " + puzzle.solutions.length + ")</p>"); passed = false; } else { for (var i = 0; i < puzzle.solutions.length; i++) { var solution_passed = false; for (var j = 0; j < solutions[name].length; j++) { if (compare_states(puzzle.solutions[i], solutions[name].solutions[j])) solution_passed = true; } if (solution_passed) { append_text("<p>Solution " + (i + 1) + " passed.</p>"); } else { append_text("<p>Solution " + (i + 1) + " did not pass.</p>"); passed = false; } } } if (passed) { append_text('<p style="font-weight: bold; color: green;">Testcase passed!</p>'); } else { append_text('<p style="font-weight: bold; color: red;">Testcase did not pass!</p>'); } postMessage({ type: 'statistics', passed: passed }); append_text('<hr>'); } function compare_states(state1, state2) { if (state1.length !== state2.length) return false; for (var i = 0; i < state1.length; i++) { if (state1[i].length !== state2[i].length) return false; for (var j = 0; j < state1[i].length; j++) { if (state1[i][j] !== state2[i][j]) return false; } } return true; }
hetzenmat/hetzenmat.github.io
Nonogram/test/test_worker.js
JavaScript
gpl-3.0
2,518
// Table row template with placeholders var ordersRowTemplate = '<tr><td><img class="order-status-icon" title="order_status_title" src="order_status_icon"></td><td><p class="order-number">Narudžba <strong>#order_number</strong> by</p><p class="first-last-name">order_name</p><p><a class="email" href="mailto:order_email">order_email</a></p></td><td><p class="date">order_date</p></td><td><p class="total">order_total</p><p class="payment-method">order_payment_method</p></td><td><div><button class="processing-order-button update-order-button" id="order_number-processing" title="Processing"></button><button class="complete-order-button update-order-button" id="order_number-complete" title="Complete"></button><button class="view-order-button update-order-button" id="order_number-view" title="View"></button></div></td></tr>'; //------------------------------------------------------ // LOAD ORDERS FROM STORAGE AND INSERT INTO POPUP TABLE //------------------------------------------------------ // For replacing all string instances in the template String.prototype.replaceAll = function(search, replacement) { var target = this; return target.replace(new RegExp(search, 'g'), replacement); }; // Loads saved data from chrome storage function loadOrdersFromStorage() { chrome.storage.local.get( 'allOrders', function (result) { insertData(result); }); } // Manipulate loaded data and insert it into template/HTML function insertData(result) { let orderRow = ""; console.log(result); // Remove old data $("#order-table-body tr").remove(); for (let i = 0; i < result.allOrders.length; i++) { // Dont display order if completed if (result.allOrders[i].status === "completed" || result.allOrders[i].status === "canceled" || result.allOrders[i].status === "refunded" || result.allOrders[i].status === "failed") continue; // Insert data into template by replacing placeholders with actual data orderRow = ordersRowTemplate .replaceAll("order_number", result.allOrders[i].number) .replaceAll("order_name", result.allOrders[i].billing.first_name + " " + result.allOrders[i].billing.last_name) .replaceAll("order_email", result.allOrders[i].billing.email) .replaceAll("order_date", result.allOrders[i].date_created.slice(0, 10) + "<br>" + result.allOrders[i].date_created.slice(11, 19)) .replaceAll("order_total", result.allOrders[i].total + " " + result.allOrders[i].currency) .replaceAll("order_payment_method", result.allOrders[i].payment_method); // Insert images into template switch (result.allOrders[i].status) { case "processing": orderRow = orderRow .replaceAll("order_status_icon", "/icons/icon-processed.png") .replaceAll("order_status_title", "Processing"); break; case "completed": orderRow = orderRow .replaceAll("order_status_icon", "/icons/icon-completed.png") .replaceAll("order_status_title", "Completed"); break; case "pending": orderRow = orderRow .replaceAll("order_status_icon", "/icons/icon-pending-payment.png") .replaceAll("order_status_title", "Pending Payment"); break; case "on-hold": orderRow = orderRow .replaceAll("order_status_icon", "/icons/icon-on-hold.png") .replaceAll("order_status_title", "On hold"); break; default: break; } // Insert row into HTML $("#order-table-body").append(orderRow); // Add listeners to update buttons $( "#" + result.allOrders[i].number + "-view" ).bind("click", function() { initializeChangeOrder("vieworder", result.allOrders[i].number); }); $( "#" + result.allOrders[i].number + "-complete" ).bind("click", function() { initializeChangeOrder("completeorder", result.allOrders[i].number); }); $( "#" + result.allOrders[i].number + "-processing" ).bind("click", function() { initializeChangeOrder("processorder", result.allOrders[i].number); }); // Hide unnecessary update buttons switch (result.allOrders[i].status) { case "processing": $("#" + result.allOrders[i].number + "-processing").css("visibility", "hidden"); break; case "completed": $("#" + result.allOrders[i].number + "-complete").css("visibility", "hidden"); break; default: break; } } } //------------------------------------- // //------------------------------------- function initializeChangeOrder(action, id) { $(".popup-notification").append("<span>Loading. Please wait.</span>"); chrome.storage.sync.get( 'options' , function(items) { let updateURL = "https://" + items.options.siteURL + "/wp-json/wc/v2/orders/" + id + "?consumer_key=" + items.options.consumerKey + "&consumer_secret=" + items.options.consumerSecret; let viewURL = "https://" + items.options.siteURL + "/wp-admin/post.php?post=" + id + "&action=edit"; if (action === "processorder"){processingOrder(updateURL, id);} else if (action === "completeorder"){completeOrder(updateURL, id);} else if (action === "vieworder") { viewOrder(viewURL, id); } }); } function changeOrderStatus(path, url, newStatus) { var xhr = new XMLHttpRequest (); xhr.onreadystatechange = function () { if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == "200") { reloadItems(); } }; xhr.open("PUT", url, true); xhr.setRequestHeader('Content-type','application/json; charset=utf-8'); xhr.send(JSON.stringify(newStatus)); return xhr.onreadystatechange(); } function completeOrder(url, id) { changeOrderStatus('jconfig.json', url, {status: "completed"}); } function processingOrder(url, id){ changeOrderStatus('jconfig.json', url, {status: "processing"}); } function viewOrder(viewURL, id){ var win = window.open(viewURL, '_blank'); win.focus(); } //-------------------------------------------------------------------- // GET REQUEST TO SERVER //-------------------------------------------------------------------- function reloadItems() { chrome.storage.sync.get( 'options', function (items) { let URL = "https://" + items.options.siteURL + "/wp-json/wc/v2/orders/?consumer_key=" + items.options.consumerKey + "&consumer_secret=" + items.options.consumerSecret; loadJSON('jconfig.json', URL, function saveJSON(result) { saveOrdersToStorage(result, function call() { location.reload(); notify(); }); }); } ); } function saveOrdersToStorage(allOrders, callback) { chrome.storage.local.clear(); chrome.storage.local.set({ 'allOrders': allOrders }, function () { }); callback(); } function loadJSON(path, url, callback) { var result; var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function () { if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == "200") { result = JSON.parse(xhr.responseText); callback(result); } }; xhr.open("GET", url, true); xhr.send(); return xhr.onreadystatechange(); } //-------------------------------------------------------------------- // MISC WORK //-------------------------------------------------------------------- // Add href attr to link chrome.storage.sync.get( 'options' , function (items) { let URL = "https://" + items.options.siteURL + "/wp-admin/edit.php?post_type=shop_order"; $("#popup-see-all-orders").attr("href", URL); }); //---------------------------------------------------------------------- (function initialize() { chrome.browserAction.setBadgeText({ text: '' }); chrome.storage.sync.get( 'options' , function (items) { let URL = "https://" + items.options.siteURL + "/wp-json/wc/v2/orders/?consumer_key=" + items.options.consumerKey + "&consumer_secret=" + items.options.consumerSecret; loadJSON('jconfig.json', URL, function saveJSON(result) { saveOrdersToStorage(result, function callback(){}); }); }); loadOrdersFromStorage(); })(); // periodically check for new data (function loop() { setTimeout(function () { loadOrdersFromStorage(); loop(); }, 60000); }());
dariour/chrome-extension-woocommerce
scripts/popup.js
JavaScript
gpl-3.0
8,901
(function() { 'use strict'; angular .module('anelclothesApp') .config(stateConfig); stateConfig.$inject = ['$stateProvider']; function stateConfig($stateProvider) { $stateProvider.state('gateway', { parent: 'admin', url: '/gateway', data: { authorities: ['ROLE_ADMIN'], pageTitle: 'gateway.title' }, views: { 'content@': { templateUrl: 'app/admin/gateway/gateway.html', controller: 'GatewayController', controllerAs: 'vm' } }, resolve: { translatePartialLoader: ['$translate', '$translatePartialLoader', function ($translate, $translatePartialLoader) { $translatePartialLoader.addPart('gateway'); return $translate.refresh(); }] } }); } })();
jlopezjuy/ClothesHipster
anelclothes/src/main/webapp/app/admin/gateway/gateway.state.js
JavaScript
gpl-3.0
990
var class_n_b_frame = [ [ "checkOptions", "dc/d86/class_n_b_frame.html#a1d586add0fd5236f91a41673552cbb03", null ], [ "fillOptions", "dc/d86/class_n_b_frame.html#af1901022d54dc5509e070f68e8101217", null ] ];
cathyyul/sumo-0.18
docs/doxygen/dc/d86/class_n_b_frame.js
JavaScript
gpl-3.0
214
/* Global variables */ var phonePort = 8666; var phoneIp; var phone; // Holds all the function objects with an id var callbacks = []; // Array with all the contacts by their id var contacts = []; // An array with all the favourites and their id var favourites = []; // An array with all the messages organised by id var messages = []; // Holds the id of the person with the current thread var currentThread; // Holds the number of the last message in the thread var lastMessageId; // Makes sure that the error text is added only one var errorText = false; // Keeps track whether user is looking at bottom of message box var onBottom = true; var lastPosition = 0; // When debug mode is on, logging will be verbose var debugMode = true; // Keeps track whether the websocket is open var websocketOpen = false; // DOM elements var container = document.getElementById("container"); var messageBox = document.getElementById("messages"); var sidebar = document.getElementById("sidebar"); var statusBox = document.getElementById("status"); var newMessageContent = document.getElementById("newMessageContent"); var ipBox = document.getElementById("ipBox"); var serverIpBox = document.getElementById("serverIp"); /* Other functions */ // Will only log to the console if debug mode is on console.debugLog = function(message) { if (debugMode) { console.log(message); } } /* DOM functions */ // Changes the color and text of the status div function changeStatusDiv(status) { switch (status) { case "connecting": var message = "Connecting to server..."; var background = "yellow"; break; case "connected": var message = "Connected to server"; var background = "green"; break; case "error": var message = "Error when connecting to server. Make sure server is running"; var background = "red" break; } statusBox.style.background = background; statusBox.innerHTML = message; } // Loads all the favourites into the sidebar function loadFavourites() { console.debugLog("[+] Adding favourites to the sidebar"); sidebar.innerHTML = ""; // Adds an element for each card for (i in favourites) { id = favourites[i][0]; name = favourites[i][1]; sidebar.innerHTML += '<div class="contactCard"><p class="contactCardName">' + name + '</p><div class="personId">' + id + '</div></div>'; // If it is the first time changing the favoutites it'll load a set of messages if (currentThread == undefined) { currentThread = id; } } // Adds an event listener for each card var contactCards = document.getElementsByClassName("contactCard"); for (i in contactCards) { contactCards[i].onclick = function() { contactCardClick(this); } } } // Adds a single message to the message box function addMessage(message, type) { if (type == "r") { messageBox.innerHTML += '<div class="message recieved">' + message + '</div>'; } else if (type == "s") { messageBox.innerHTML += '<div class="message sent">' + message + '</div>'; } // Will only move to the bottom if the user is looking at the bottom if (onBottom) { lastPosition = messageBox.scrollTop; messageBox.scrollTop = messageBox.scrollHeight; } } // Switches the current thread to the one that was clicked function refreshThread(personId) { console.debugLog("[+] Switching thread to person: " + personId); currentThread = personId; messageBox.innerHTML = ""; // Add all the messages into the message box for (i in messages[currentThread]) { message = messages[currentThread][i]; addMessage(message[0], message[1]); } } /* DOM event listeners */ function contactCardClick(contactCard) { var personId = contactCard.getElementsByClassName("personId")[0].innerHTML; refreshThread(personId); } function inputKeyUp(event) { if (event.key == "Enter") { sendMessage(currentThread, newMessageContent.value); } } messageBox.onscroll = function(event) { if (messageBox.scrollTop < lastPosition) { onBottom = false; } else { onBottom = true; } lastPosition = messageBox.scrollTop; } // Shows or hides the ip request box function showIpBox() { container.classList.add("faded"); ipBox.style.display = ""; serverIpBox.focus(); } function hideIpBox() { ipBox.style.display = "none"; container.classList.remove("faded"); } /* Callback functions */ // Parses the contacts returned and saves them function contactListCallback(data) { contacts = data; for (i in contacts) { messages.push([]); } requestFavourites(); } // Parses the contacts returned and adds them to the sidebar function favouritesCallback(data) { favourites = data; loadFavourites(); startMessageLoop(); } // Saves the messages and loads the messages into the message box function recentMessages(data) { if (data != "no messages") { for (i in data) { for (j in data[i]) { messages[i].push(data[i][j]); } } refreshThread(currentThread); } } // Logs that the message was sent function sentMessageCallback(data) { console.debugLog("[+] Message was sent"); var personId = data[0]; var message = data[1]; messages[personId].push([message, "s"]); // Adds the message to the message box its still on the same person if (currentThread == personId) { addMessage(message, "s"); } } /* Phone request functions */ // Message loop function startMessageLoop() { setInterval(function() { requestRecentMessages(50); }, 1000); } // Sends a message function sendMessage(personId, message) { console.debugLog("[+] Sending a message to: " + personId); // Clears the content straight away so there's no lag newMessageContent.value = ""; phoneRequestData("sendMessage", personId + " " + message, sentMessageCallback); } // Sends a request for the contact list function requestContactList() { console.debugLog("[+] Requesting contact list"); phoneRequestData("contacts", "", contactListCallback); } // Gets the favourite list function requestFavourites() { console.debugLog("[+] Getting favourite list"); phoneRequestData("favourites", "", favouritesCallback); } // Sends a request for the recent messages function requestRecentMessages(amount) { // So the message is only logged if it needs to be if (websocketOpen) { console.debugLog("[+] Requesting the past " + amount + " messages"); phoneRequestData("messages", amount, recentMessages); } } /* Phone interaction */ // Functions to be run when the first connection is messageSender function phoneInit() { console.log("[+] Websocket connected"); websocketOpen = true; changeStatusDiv("connected"); requestContactList(); } // Sends a request to the phone function phoneRequestData(request, data, callback) { if (websocketOpen) { // Since an array is 0 based, the length will be the index of the next element var callbackId = callbacks.length; var payload = []; payload.push(callbackId); payload.push(request); payload.push(data); phone.send(JSON.stringify(payload)); callbacks.push(callback); console.debugLog("[+] Data sent to server with Callback id: " + callbackId); } } // Deals with incomming data function phoneMessage(data) { console.debugLog("[+] Data recieved from server"); data = JSON.parse(data); var callbackId = data[0]; data = data[1]; console.debugLog("[+] Running function with callback id: " + callbackId); callbacks[callbackId](data); console.debugLog("[+] Completed function with callback id: " + callbackId); } // Deals with errors in the connection function phoneError(data) { changeStatusDiv("error"); console.error("[-] Error: " + data); } // Runs when the websocket closes function phoneClose() { console.log("[-] Websocket has closed"); websocketOpen = false; changeStatusDiv("error"); } /* A persistant function that will get the IP of the server from the user */ // Callback is a function to run when the ip is found, usually starting the server function loadIpBox(callback) { showIpBox(); document.getElementById("ipEnter").onclick = function() { ipBoxGo(callback); } ipBox.onkeydown = function(event) { if (event.key == "Enter") { ipBoxGo(callback); } } } // Ran when the box is pressed ok function ipBoxGo(callback) { var ipText = serverIpBox.value; var ipRegex = /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/g; var ipNumber = ipText.match(ipRegex); // An ip address was found in the string if (ipNumber != null) { phoneIp = ipNumber[0]; hideIpBox(); // Runs the callback if the IP was required callback(); } else { // Nothing was in the string if (!errorText) { var errorMessage = document.createElement("p"); errorMessage.className = "errorText"; errorMessage.innerText = "Please enter a valid IP address"; ipBox.append(errorMessage); // Makes sure that the message is only added once errorText = true; } } } /* Phone event functions */ // Sets up the socket and event listeners function initSocket() { console.log("[+] Initialising websocket"); changeStatusDiv("connecting"); phone = new WebSocket("ws://" + phoneIp + ":" + phonePort); // Event listeners phone.onopen = function() { phoneInit(); } phone.onmessage = function(event) { phoneMessage(event.data); } phone.onerror = function(event) { phoneError(event); } phone.onclose = function(event) { phoneClose(); } } function init() { loadIpBox(function() { initSocket(); }); } init();
tom-ando/sms
web/main.js
JavaScript
gpl-3.0
10,139
var YDom = YAHOO.util.Dom; var YEvent = YAHOO.util.Event; var subChildren = null; var configTimeZone = null; if (typeof WcmDashboardWidgetCommon == "undefined" || !WcmDashboardWidgetCommon) { var WcmDashboardWidgetCommon = {}; } WcmDashboardWidgetCommon.dashboards = new Array(); WcmDashboardWidgetCommon.sortClick = function (event, matchedEl, el, params) { //var eventId='sorteventDate-component-1-1'; var eventId = matchedEl.id; var sortBy = eventId.substring(4, eventId.indexOf('-')); var Widget = WcmDashboardWidgetCommon.dashboards[params.widgetId]; WcmDashboardWidgetCommon.loadTableData(sortBy, YDom.get(params.widgetId), params.widgetId, null, true); }; WcmDashboardWidgetCommon.encodePathToNumbers = function (path) { var re1 = new RegExp('/', 'g'); var res = path.replace(re1, '00'); // substitute all forward slash with '00' res = res.replace(/\./g, '010'); // substitute all periods with '010' return res; }; WcmDashboardWidgetCommon.insertEditLink = function (item, editLinkId) { if (item.uri.indexOf(".ftl") == -1 && item.uri.indexOf(".css") == -1 && item.uri.indexOf(".js") == -1 && item.uri.indexOf(".groovy") == -1 && item.uri.indexOf(".txt") == -1 && item.uri.indexOf(".html") == -1 && item.uri.indexOf(".hbs") == -1 && item.uri.indexOf(".xml") == -1) { return 0; // dont render if not these types } CStudioAuthoring.Service.getUserPermissions(CStudioAuthoringContext.site, item.uri, { success: function (results) { function addEditLink() { var editLink = document.getElementById(editLinkId); if (editLink) { editLink.innerHTML = ''.concat('<a href="javascript:" class="editLink', ((item.deleted || item.inFlight ) ? ' non-previewable-edit' : ''), '">' + CMgs.format(langBundle, "dashboardEdit") + '</a>'); } else { // We cannot assume the DOM will be ready to insert the edit link // that's why we'll poll until the element is available in the DOM setTimeout(addEditLink, 200); } } var isUserAllowed = CStudioAuthoring.Service.isUserAllowed(results.permissions); if (isUserAllowed) { // If the user's role is allowed to edit the content then add an edit link addEditLink(); } }, failure: function () { throw new Error('Unable to retrieve user permissions'); } }); }; WcmDashboardWidgetCommon.insertViewLink = function (item, viewLinkId) { if (item.uri.indexOf(".ftl") == -1 && item.uri.indexOf(".css") == -1 && item.uri.indexOf(".js") == -1 && item.uri.indexOf(".groovy") == -1 && item.uri.indexOf(".txt") == -1 && item.uri.indexOf(".html") == -1 && item.uri.indexOf(".hbs") == -1 && item.uri.indexOf(".xml") == -1) { return 0; // dont render if not these types } CStudioAuthoring.Service.getUserPermissions(CStudioAuthoringContext.site, item.uri, { success: function (results) { function addViewLink() { var viewLink = document.getElementById(viewLinkId); if (viewLink) { viewLink.innerHTML = ''.concat('<a href="javascript:" class="viewLink', ((item.deleted || item.inFlight ) ? ' non-previewable-edit' : ''), '">View</a>'); } else { // We cannot assume the DOM will be ready to insert the edit link // that's why we'll poll until the element is available in the DOM setTimeout(addViewLink, 200); } } var isUserAllowed = CStudioAuthoring.Service.isUserAllowed(results.permissions); if (isUserAllowed) { // If the user's role is allowed to edit the content then add an edit link addViewLink(); } }, failure: function () { throw new Error('Unable to retrieve user permissions'); } }); }; WcmDashboardWidgetCommon.convertDate = function (dateString) { if (!dateString) return 0; //our eventDate are passing in the format "YYYY-MM-DDTHH:MM:SS;" var dateObj = null; var dateArray = dateString.split("T"); if (dateArray && dateArray.length == 2) { var dtArray = dateArray[0].split("-"); var tmArray = dateArray[1].split(":"); if (dtArray && dtArray.length == 3 && tmArray && tmArray.length >= 3) { dateObj = new Date(parseInt(dtArray[0], 10), parseInt(dtArray[1], 10), parseInt(dtArray[2], 10), parseInt(tmArray[0], 10), parseInt(tmArray[1], 10), parseInt(tmArray[2], 10)); } } if (dateObj) return dateObj; return 0; }; WcmDashboardWidgetCommon.sortItems = function (items, currentSortBy, currentSortType) { try { items.sort(function (firstItem, secondItem) { if (currentSortBy == "userLastName") { var firstItemVal = firstItem[currentSortBy]; var secondItemVal = secondItem[currentSortBy]; if (!firstItemVal) { firstItemVal = firstItem["userFirstName"]; } if (!secondItemVal) { secondItemVal = secondItem["userFirstName"]; } if (firstItemVal && secondItemVal) { firstItemVal = firstItemVal.toLowerCase() secondItemVal = secondItemVal.toLowerCase() if (firstItemVal && secondItemVal) { if (currentSortType == "true") { return (firstItemVal == secondItemVal) ? 0 : (firstItemVal < secondItemVal) ? -1 : 1; } else { return (firstItemVal == secondItemVal) ? 0 : (secondItemVal < firstItemVal) ? -1 : 1; } } } } else if (firstItem[currentSortBy]) { if (currentSortBy == "eventDate") { var firstDate = WcmDashboardWidgetCommon.convertDate(firstItem[currentSortBy]); var secondDate = WcmDashboardWidgetCommon.convertDate(secondItem[currentSortBy]); if (currentSortType == "true") { return (firstDate == secondDate) ? 0 : (firstDate < secondDate) ? -1 : 1; } else { return (firstDate == secondDate) ? 0 : (secondDate < firstDate) ? -1 : 1; } } else if (!isNaN(firstItem[currentSortBy]) && !isNaN(secondItem[currentSortBy])) { var firstValue = parseInt(firstItem[currentSortBy], 10); var secondValue = parseInt(secondItem[currentSortBy], 10); if (currentSortType == "true") { return (firstValue == secondValue) ? 0 : (firstValue < secondValue) ? -1 : 1; } else { return (firstValue == secondValue) ? 0 : (secondValue < firstValue) ? -1 : 1; } } else if (typeof(firstItem[currentSortBy]) == "string") { var firstString = firstItem[currentSortBy].toLowerCase(); var secondString = secondItem[currentSortBy].toLowerCase(); if (currentSortType == "true") { return (firstString == secondString) ? 0 : (firstString < secondString) ? -1 : 1; } else { return (firstString == secondString) ? 0 : (secondString < firstString) ? -1 : 1; } } } return 0; }); } catch (err) { } return items; }; /* * get level 2 and beyond children (becomes a flat stucture) */ WcmDashboardWidgetCommon.getChilderenRecursive = function (items) { for (var i = 0; i < items.length; i++) { var item = items[i]; subChildren.push(item); // add further dependencies if (item.children && item.children.length > 0) { WcmDashboardWidgetCommon.getChilderenRecursive(item.children); } } } /* * build level 2 and beyond children (becomes a flat stucture) */ WcmDashboardWidgetCommon.getSubSubChilderen = function (table, parentClass, items, widgetId, depth) { var rowHtml = ""; var instance = WcmDashboardWidgetCommon.dashboards[widgetId]; for (var i = 0; i < items.length; i++) { var item = items[i]; //rowHtml += "<tr class='" + parentClass + "'><td colspan='5' class='ttBlankRow3'></td></tr>"; var itemRowStart = "<tr class='" + parentClass + "'>"; var itemRowEnd = "</tr>"; //create table row for this item var itemRow = WcmDashboardWidgetCommon.buildItemTableRow(item, instance, false, i, depth); rowHtml += itemRowStart + itemRow + itemRowEnd; } return rowHtml; }; WcmDashboardWidgetCommon.getDisplayName = function (item) { var displayName = ''; var hasLastName = !CStudioAuthoring.Utils.isEmpty(item.userLastName); if (hasLastName) { displayName += item.userLastName; } var hasFirstName = !CStudioAuthoring.Utils.isEmpty(item.userFirstName); if (hasFirstName) { displayName += hasLastName ? ', ' + item.userFirstName : item.userFirstName; } return displayName; }; WcmDashboardWidgetCommon.getFormattedString = function (str, maxLength, isNewFile) { var formattedString = ""; if (str != undefined && str != null) { if (str.length > maxLength) { formattedString = str.substring(0, maxLength) + "..."; } else { formattedString = str; } } if (isNewFile) formattedString = formattedString + "*"; return formattedString; }; WcmDashboardWidgetCommon.Ajax = { container: null, loadingImage: null, disableDashboard: function () { if (WcmDashboardWidgetCommon.Ajax.container != null) { document.body.removeChild(WcmDashboardWidgetCommon.Ajax.container); } if (WcmDashboardWidgetCommon.Ajax.loadingImage != null) { document.body.removeChild(WcmDashboardWidgetCommon.Ajax.loadingImage); } var container = YDom.get(); WcmDashboardWidgetCommon.Ajax.container = document.createElement("div"); with (WcmDashboardWidgetCommon.Ajax.container.style) { backgroundColor = "#FFFFFF"; opacity = "0"; position = "absolute"; //display = "block"; width = YDom.getDocumentWidth() + "px"; height = YDom.getDocumentHeight() + "px"; top = "0"; right = "0"; bottom = "0"; left = "0"; zIndex = "1000"; } WcmDashboardWidgetCommon.Ajax.loadingImage = document.createElement("i"); WcmDashboardWidgetCommon.Ajax.loadingImage.className = ' fa fa-spinner fa-spin fa-3x fa-fw'; document.body.appendChild(WcmDashboardWidgetCommon.Ajax.container); document.body.appendChild(WcmDashboardWidgetCommon.Ajax.loadingImage); var imagePopUp = new YAHOO.widget.Overlay(WcmDashboardWidgetCommon.Ajax.loadingImage); imagePopUp.center(); imagePopUp.render(); }, enableDashboard: function () { if (WcmDashboardWidgetCommon.Ajax.container != null) { document.body.removeChild(WcmDashboardWidgetCommon.Ajax.container); WcmDashboardWidgetCommon.Ajax.container = null; } if (WcmDashboardWidgetCommon.Ajax.loadingImage != null) { document.body.removeChild(WcmDashboardWidgetCommon.Ajax.loadingImage); WcmDashboardWidgetCommon.Ajax.loadingImage = null; } } }; WcmDashboardWidgetCommon.hideURLCol = function () { if ($(".container").width() < 707) { $(".urlCol").each(function () { $(this).hide(); }); $("th[id*='browserUri-']").each(function () { $(this).hide(); }); } else { $(".urlCol").each(function () { $(this).show(); }); $("th[id*='browserUri-']").each(function () { $(this).show(); }); } } /** * init widget */ WcmDashboardWidgetCommon.init = function (instance) { var widgetId = instance.widgetId; var sortBy = instance.defaultSortBy; var pageId = instance.pageId; var hideEmptyRow = instance.hideEmptyRow; ///////////////////////////////////////////////////// // added to protect un wanted values in text boxes // //////////////////////////////////////////////////// if (YDom.get("widget-showitems-" + widgetId) != null) { YDom.get("widget-showitems-" + widgetId).value = 10; YDom.get("widget-showitems-" + widgetId + "-label").innerHTML = CMgs.format(langBundle, "showNumItems"); } YEvent.onAvailable(widgetId, function () { WcmDashboardWidgetCommon.dashboards[widgetId] = instance; dashboardEl = YDom.get(widgetId); dashboardEl.style.display = "none"; var hasPermsForDashboardFn = function (perms, permission) { var hasPerm = false; for (var k = 0; k < perms.permissions.length; k++) { if (permission == perms.permissions[k]) { hasPerm = true; break; } } return hasPerm; } var getPermsCb = { widgetId: widgetId, dashboardEl: dashboardEl, success: function (perms) { WcmDashboardWidgetCommon.cachedPerms = perms; var dashboardEl = this.dashboardEl; var permission = "none"; if (this.widgetId == "GoLiveQueue" || this.widgetId == "recentlyMadeLive" || this.widgetId == "approvedScheduledItems") { permission = "publish"; } if (this.widgetId == "icon-guide" || this.widgetId == "MyRecentActivity" || hasPermsForDashboardFn(perms, permission)) { dashboardEl.style.display = "block"; dashboardEl.instance = instance; var state = WcmDashboardWidgetCommon.getCurrentWidgetTogglePreference(widgetId, pageId); WcmDashboardWidgetCommon.toggleWidget(widgetId, pageId, state); var checkboxClick = function (event, matchedEl) { CStudioAuthoring.Utils.Cookies.createCookie("dashboard-selected", instance.widgetId.trim()); if (instance.onCheckedClickHandler) { instance.onCheckedClickHandler(event, matchedEl); } else { WcmDashboardWidgetCommon.selectItem(matchedEl, matchedEl.checked); } isChecked(); }; var isChecked = function () { var inputsElt = YDom.get(instance.widgetId + "-tbody").getElementsByClassName("dashlet-item-check"); var checkedElts = false; var checkAllElt = YDom.get(instance.widgetId + "CheckAll"); for (var i = 0; i < inputsElt.length; i++) { if (inputsElt[i].checked == true) { checkedElts = true; } } if (checkedElts) { checkAllElt.checked = true; } else { checkAllElt.checked = false; } } var editClick = function (event, matchedEl) { WcmDashboardWidgetCommon.editItem(matchedEl, matchedEl.checked); matchedEl.style.pointerEvents = "none"; if (typeof CStudioAuthoring.editDisabled === 'undefined') { CStudioAuthoring.editDisabled = [] } CStudioAuthoring.editDisabled.push(matchedEl); }; var viewClick = function (event, matchedEl) { WcmDashboardWidgetCommon.viewItem(matchedEl, matchedEl.checked); }; var previewClick = function (event, matchedEl) { WcmDashboardWidgetCommon.previewItem(matchedEl, matchedEl.checked); }; var dispatchLinkClick = function (event, matchedEl) { if (matchedEl.className.indexOf("previewLink") != -1) { previewClick(event, matchedEl); } else if (matchedEl.className.indexOf("viewLink") != -1) { viewClick(event, matchedEl); } else if (matchedEl.className.indexOf("editLink") != -1 && matchedEl.className.indexOf("non-previewable-edit") == -1) { editClick(event, matchedEl); } } YEvent.delegate(widgetId, "click", checkboxClick, "input:not(#" + widgetId + "CheckAll)"); YEvent.delegate(widgetId, "click", dispatchLinkClick, "a"); var searchLimitInput = YDom.get("widget-showitems-" + widgetId); var filterByCount = null; if (searchLimitInput) { var searchNumber = CStudioAuthoring.Service.getWindowState(CStudioAuthoringContext.user, pageId, widgetId, "searchNumber"); if (searchNumber && !isNaN(searchNumber)) { searchLimitInput.value = parseInt(searchNumber, 10); } else { searchLimitInput.value = instance.defaultSearchNumber; } filterByCount = (isNaN(searchLimitInput.value) ? 10 : parseInt(searchLimitInput.value, 10)); } var widgetFilterBy = CStudioAuthoring.Service.getWindowState(CStudioAuthoringContext.user, pageId, widgetId, "widgetFilterBy"); var filterByEl = YDom.get("widget-filterBy-" + widgetId); if (widgetFilterBy && widgetFilterBy != undefined && widgetFilterBy != "") { WcmDashboardWidgetCommon.loadFilterTableData(sortBy, YDom.get(widgetId), widgetId, filterByCount, widgetFilterBy); } else if (filterByCount != null) { WcmDashboardWidgetCommon.loadTableData(sortBy, YDom.get(widgetId), widgetId, filterByCount); } else { WcmDashboardWidgetCommon.loadTableData(sortBy, YDom.get(widgetId), widgetId); } var controlsListEl = YDom.getElementsByClassName("cstudio-widget-controls", null, dashboardEl)[0] || YDom.getElementsByClassName("widget-controls", null, dashboardEl)[0]; if (controlsListEl) { if (instance.renderAuxControls) { instance.renderAuxControls(controlsListEl, widgetId); } } if (state == 'closed') { YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .widget-FilterBy")[0], "display", "none"); } //attach keydown event to search limit input if (searchLimitInput) { var isInt = function (val) { var parsedVal = parseInt(val); if (isNaN(parsedVal) || val == "0") return false; return ( val == parsedVal && val.toString() == parsedVal.toString() ); }; var searchLimitInputEvent = function (event) { var searchNumber = searchLimitInput.value; //added to protect non numeric input. if (event.keyCode == "13") { if (!isInt(searchNumber)) { //execute the ajax only if its a number searchLimitInput.value = instance.defaultSearchNumber; searchNumber = searchLimitInput.value; } //var searchNumber=searchLimitInput.value; if (isInt(searchNumber)) { //execute the ajax only if its a integer number. searchNumber = searchNumber.replace(/\+/g, "").replace(/\-/g, ""); searchLimitInput.value = searchNumber; CStudioAuthoring.Service.setWindowState(CStudioAuthoringContext.user, pageId, widgetId, "searchNumber", searchNumber); var sortBy = instance.currentSortBy ? instance.currentSortBy : instance.defaultSortBy; var filterByEl = YDom.get("widget-filterBy-" + widgetId); if (filterByEl && filterByEl.value != undefined && filterByEl.value != "") { WcmDashboardWidgetCommon.loadFilterTableData(sortBy, YDom.get(widgetId), widgetId, searchNumber, filterByEl.value); } else { WcmDashboardWidgetCommon.loadTableData(sortBy, YDom.get(widgetId), widgetId, searchNumber); } } else { searchLimitInput.value = instance.defaultSearchNumber; } } }; var validateSearchLimitInputValue = function (event) { var searchNum = searchLimitInput.value; //insert default value if invalid if (!isInt(searchNum)) { searchLimitInput.value = instance.defaultSearchNumber; } }; YEvent.addListener(searchLimitInput, "keyup", searchLimitInputEvent); YEvent.addListener(searchLimitInput, "blur", validateSearchLimitInputValue); } } }, failure: function () { } }; if (WcmDashboardWidgetCommon.cachedPerms) { getPermsCb.success(WcmDashboardWidgetCommon.cachedPerms); } else { CStudioAuthoring.Service.getUserPermissions(CStudioAuthoringContext.site, "~DASHBOARD~", getPermsCb); } $(window).resize(function () { WcmDashboardWidgetCommon.hideURLCol(); }); }); }; WcmDashboardWidgetCommon.getSimpleRow = function (prefix, widgetId, rowTitle, classes) { var row = '<th id=\"' + prefix + '-' + widgetId + '\" class=\"' + classes + '\">' + '<span>' + rowTitle + '</span>' + '</span>' + '</th>'; return row; }; WcmDashboardWidgetCommon.getSortableRow = function (prefix, widgetId, rowTitle, classes) { var row = '<th id=\"' + prefix + '-' + widgetId + '\" class=\"' + classes + '\">' + '<span>' + '<a href="javascript:void(0);" id=\"sort' + prefix + '-' + widgetId + '\">' + rowTitle + '</a>' + '<span class="wcm-widget-margin"/>' + '</span>' + '<span id=\"sortIcon-' + prefix + '-' + widgetId + '\" class=\"ttSortDesc wcm-go-live-sort-columns-' + widgetId + '\" style=\"display:none\"></span>' + '</th>'; return row; }; WcmDashboardWidgetCommon.getDefaultSortRow = function (prefix, widgetId, rowTitle, classes) { var row = '<th id=\"' + prefix + '-' + widgetId + '\" class=\"' + classes + '\">' + '<span>' + rowTitle + '<span class=\"wcm-widget-margin\"/>' + '</span>' + '<span id=\"sortIcon-' + prefix + '-' + widgetId + '\" class=\"ttSortBlack\"></span>' + '</th>'; return row; }; /** * open and close a given dashboard widget */ WcmDashboardWidgetCommon.toggleWidget = function (widgetId, pageId, newState) { var widgetBodyEl = YDom.get(widgetId + "-body"); var widgetToggleEl = YDom.get("widget-toggle-" + widgetId) || {}; var currentState = widgetToggleEl ? (widgetToggleEl.className == 'ttOpen' ? 'closed' : 'open') : 'open'; var collapseCookie = CStudioAuthoringContext.site + "-" + widgetId + "-panel"; var link = YDom.get("section-widget-" + widgetId); if (YAHOO.lang.isUndefined(newState)) { newState = currentState == 'closed' ? 'open' : 'closed'; } if (newState == 'closed') { widgetToggleEl.className = 'ttOpen'; widgetBodyEl.style.display = "none"; YDom.addClass(link, "studio-section-widget-close"); YDom.setStyle("expand-all-" + widgetId, "display", "none"); YDom.setStyle("widget-expand-state-" + widgetId, "display", "none"); YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .recently-made-live")[0], "display", "none"); YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .recently-made-live-right")[0], "display", "none"); YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .widget-FilterBy")[0], "display", "none"); } else { if (!CStudioAuthoring.Utils.Cookies.readCookie(collapseCookie)) { widgetBodyEl.style.display = "block"; } else { YDom.addClass(link, "studio-section-widget-close"); } widgetToggleEl.className = "ttClose"; YDom.setStyle("expand-all-" + widgetId, "display", "block"); YDom.setStyle("widget-expand-state-" + widgetId, "display", "block"); YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .recently-made-live")[0], "display", "block"); YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .recently-made-live-right")[0], "display", "block"); YDom.setStyle(YAHOO.util.Selector.query("#" + widgetId + " .widget-FilterBy")[0], "display", "block"); } CStudioAuthoring.Service.setWindowState( CStudioAuthoringContext.user, pageId, widgetId, "widgetToggle", newState); return false; }; /** * get user's preference on widget state */ WcmDashboardWidgetCommon.getCurrentWidgetTogglePreference = function (widgetId, pageId) { var widgetState = ""; widgetState = CStudioAuthoring.Service.getWindowState( CStudioAuthoringContext.user, pageId, widgetId, "widgetToggle"); return widgetState; }; /** * toggle (expand or collapse) a given line item */ WcmDashboardWidgetCommon.toggleLineItem = function (id, ignoreParent) { var parentId = YDom.get(id), childItems = CStudioAuthoring.Utils.getElementsByClassName(id), length = childItems.length, idx, item; if (parentId.className == "ttClose parent-div-widget") { for (idx = 0; idx < length; idx++) { item = childItems[idx]; if (item) { item.style.display = "none"; } } parentId.className = "ttOpen parent-div-widget"; } else { for (idx = 0; idx < length; idx++) { item = childItems[idx]; if (item) { item.style.display = ""; } } parentId.className = "ttClose parent-div-widget"; } // If all lines are collapsed, then the header link should change to "Expand All" and vice versa. var expandAll = false, tableEl = YDom.getAncestorByTagName(id, "table"), rows = tableEl.rows, arr = [], widgetId = tableEl.id.split("-")[0], widget = YDom.get(widgetId), linkEl = YDom.get("expand-all-" + widgetId); for (idx = 0; idx < rows.length; idx++) { if (rows[idx].className === "avoid" || rows[idx].className == "") { continue; } else { arr.push(rows[idx]); } } for (idx = 0; idx < arr.length; idx++) { if (arr[idx].style.display === "none") { expandAll = true; break; } } if (!ignoreParent) { this.toggleHeaderLink(widget, linkEl, expandAll); } }; WcmDashboardWidgetCommon.toggleHeaderLink = function (widget, linkEl, showCollapsed) { if (showCollapsed) { linkEl.setAttribute("href", "javascript:void(0);"); linkEl.innerHTML = CMgs.format(langBundle, "dashboardExpandAll"); linkEl.className = "btn btn-default btn-sm widget-collapse-state"; widget.instance.expanded = false; } else { linkEl.setAttribute("href", "javascript:void(0);"); linkEl.innerHTML = CMgs.format(langBundle, "dashboardCollapseAll"); linkEl.className = "btn btn-default btn-sm widget-expand-state"; widget.instance.expanded = true; } } /** * toggle All items */ WcmDashboardWidgetCommon.toggleAllItems = function (widgetId) { var widget = YDom.get(widgetId), instance = widget.instance, link = YDom.get("expand-all-" + widgetId), items = YDom.getElementsByClassName("parent-div-widget", null, widget), item, length = items.length; for (var count = 0; count < length; count++) { item = items[count]; if (item) { item.className = (instance.expanded) ? "ttClose parent-div-widget" : "ttOpen parent-div-widget"; this.toggleLineItem(item.id, true); } } this.toggleHeaderLink(widget, link, instance.expanded); }; /** * toggle the whole table */ WcmDashboardWidgetCommon.toggleTable = function (widgetId) { var table = YDom.get(widgetId + "-body"), link = YDom.get("section-widget-" + widgetId), site = CStudioAuthoringContext.site; if (!YDom.hasClass(link, "studio-section-widget-close")) { YDom.setStyle(table, "display", "none"); YDom.addClass(link, "studio-section-widget-close"); CStudioAuthoring.Utils.Cookies.createCookie(site + "-" + widgetId + "-panel", "collapse"); } else { YDom.setStyle(table, "display", "block"); YDom.removeClass(link, "studio-section-widget-close"); CStudioAuthoring.Utils.Cookies.eraseCookie(site + "-" + widgetId + "-panel"); } }; /** * edit an item */ WcmDashboardWidgetCommon.editItem = function (matchedElement, isChecked) { var editCallback = { success: function (contentTO, editorId, name, value, draft) { if(CStudioAuthoringContext.isPreview){ try{ CStudioAuthoring.Operations.refreshPreview(); }catch(err) { if(!draft) { this.callingWindow.location.reload(true); } } } else { if(!draft) { //this.callingWindow.location.reload(true); } } if(contentTO.updatedModel && contentTO.initialModel && contentTO.updatedModel.orderDefault_f != contentTO.initialModel.orderDefault_f){ if(CStudioAuthoring.ContextualNav.WcmRootFolder) { eventYS.data = contentTO.item; eventYS.typeAction = "edit"; eventYS.draft = draft; document.dispatchEvent(eventYS); }else{ eventNS.data = contentTO.item; eventNS.typeAction = "edit"; eventNS.draft = draft; document.dispatchEvent(eventNS); } }else{ eventNS.data = contentTO.item; eventNS.typeAction = "edit"; eventNS.draft = draft; document.dispatchEvent(eventNS); } }, failure: function () { }, callingWindow: window }; var getContentCallback = { success: function (contentTO) { WcmDashboardWidgetCommon.Ajax.enableDashboard(); CStudioAuthoring.Operations.editContent( contentTO.form, CStudioAuthoringContext.siteId, contentTO.uri, contentTO.nodeRef, contentTO.uri, false, editCallback); }, failure: function () { WcmDashboardWidgetCommon.Ajax.enableDashboard(); } }; WcmDashboardWidgetCommon.Ajax.disableDashboard(); WcmDashboardWidgetCommon.getContentItemForMatchedElement(matchedElement, getContentCallback); }; WcmDashboardWidgetCommon.viewItem = function (matchedElement, isChecked) { var editCallback = { success: function () { this.callingWindow.location.reload(true); }, failure: function () { }, callingWindow: window }; var getContentCallback = { success: function (contentTO) { WcmDashboardWidgetCommon.Ajax.enableDashboard(); if (contentTO.uri.indexOf("/site") == 0) { CStudioAuthoring.Operations.viewContent( contentTO.form, CStudioAuthoringContext.siteId, contentTO.uri, contentTO.nodeRef, contentTO.uri, false, editCallback); } else { // CStudioAuthoring.Operations.openTemplateEditor(contentTO.uri, "default", editCallback); } }, failure: function () { WcmDashboardWidgetCommon.Ajax.enableDashboard(); } }; WcmDashboardWidgetCommon.Ajax.disableDashboard(); WcmDashboardWidgetCommon.getContentItemForMatchedElement(matchedElement, getContentCallback); }; /** * User clicked on preview link, open preview */ WcmDashboardWidgetCommon.previewItem = function (matchedElement, isChecked) { var callback = { success: function (contentTO) { if (contentTO.name.indexOf(".xml") != -1) { CStudioAuthoring.Storage.write(CStudioAuthoring.Service.menuParentPathKeyFromItemUrl(contentTO.path), contentTO.path); } CStudioAuthoring.Operations.openPreview(contentTO); }, failure: function () { } }; WcmDashboardWidgetCommon.getContentItemForMatchedElement(matchedElement, callback); }; /** * Select an item in the dashboard widget */ WcmDashboardWidgetCommon.selectItem = function (matchedElement, isChecked, triggerEvent) { if (matchedElement.type == "checkbox") WcmDashboardWidgetCommon.Ajax.disableDashboard(); var callback = { success: function (contentTO) { if (isChecked == true) { CStudioAuthoring.SelectedContent.selectContent(contentTO, triggerEvent); } else { CStudioAuthoring.SelectedContent.unselectContent(contentTO, triggerEvent); } WcmDashboardWidgetCommon.Ajax.enableDashboard(); }, failure: function () { WcmDashboardWidgetCommon.Ajax.enableDashboard(); } }; WcmDashboardWidgetCommon.getContentItemForMatchedElement(matchedElement, callback); }; /** * return the transfer object for the matched item */ WcmDashboardWidgetCommon.getContentItemForMatchedElement = function (matchedElement, callback) { var itemUrl = ""; // walk the DOM to get the path get parent of current element var parentTD = YDom.getAncestorByTagName(matchedElement, "td"); // get a sibling, that is <td>, that has attribute of title var urlEl = YDom.getNextSiblingBy(parentTD, function (el) { return el.getAttribute('title') == 'fullUri'; }); if (!urlEl) { // if url null return callback.failure(); return; } else { itemUrl = urlEl.innerHTML; } var getContentItemsCb = { success: function (contentTO) { callback.success(contentTO.item); }, failure: function () { callback.failure(); } }; CStudioAuthoring.Service.lookupContentItem(CStudioAuthoringContext.site, itemUrl, getContentItemsCb, false, false); } /** * load and render table data */ WcmDashboardWidgetCommon.loadTableData = function (sortBy, container, widgetId, filterByNumber, sortFromCachedData) { var instance = WcmDashboardWidgetCommon.dashboards[widgetId]; var tableName = widgetId; var webscriptName = widgetId + "-table"; var divTableContainer = widgetId + "-body"; var currentSortBy = (sortBy) ? sortBy : null; var currentSortType = ""; var hideEmptyRow = instance.hideEmptyRow; var pageId = instance.pageId; var callback = { success: function (results) { if (results.total > 0) { YDom.addClass(divTableContainer, "table-responsive"); } instance.dashBoardData = results; var sortDocuments = results.documents; instance.tooltipLabels = new Array(); var newtable = ""; var blankRow = ''; // "<tr class='avoid'><td class='ttBlankRow' colspan='5'>&nbsp;</td></tr>"; var count = 0; var sortedByValue = results.sortedBy; var sortType = results.sortType; var previousSortedBy = YDom.get('sortedBy-' + widgetId).innerHTML; var previousSortType = YDom.get('sort-type-' + widgetId).innerHTML; if (previousSortedBy == currentSortBy) { if (previousSortType == "true") { currentSortType = "false"; } else { currentSortType = "true"; } } else { currentSortType = "false"; } // update total count var totalCountEl = YDom.get(widgetId + "-total-count"); if (totalCountEl != undefined) { totalCountEl.innerHTML = results.total; } if (sortFromCachedData && sortDocuments.length > 1) { if (instance.skipComponentSort) { //Don't sort by components } else { //if skipComponentSort flag not available sortDocuments = WcmDashboardWidgetCommon.sortItems(sortDocuments, currentSortBy, currentSortType) } } // update custom header controls // create line items for (var j = 0; j < sortDocuments.length; j++) { var items = sortDocuments[j].children; var document = sortDocuments[j]; count = count + 1; var name = (sortDocuments[j].internalName != undefined) ? sortDocuments[j].internalName : "error"; var parentClass = "wcm-table-parent-" + name + "-" + count; if (!hideEmptyRow || sortDocuments[j].numOfChildren > 0) { var table = "<tr>"; table += WcmDashboardWidgetCommon.buildItemTableRow(sortDocuments[j], instance, true, count, 0); table += "</tr>"; if (sortFromCachedData) { items = WcmDashboardWidgetCommon.sortItems(items, currentSortBy, currentSortType) } for (var i = 0; i < items.length; i++) { var item = items[i]; //table = table + "<tr class='" + parentClass + "'><td colspan='5' class='ttBlankRow3'></td></tr>"; var itemRowStart = "<tr class='" + parentClass + "'>"; var itemRowEnd = "</tr>"; var subItemRowStart = "<tr class='" + parentClass + "'><td><span class='wcm-widget-margin'></span><span class='ttFirstCol128'><input title='All' class='dashlet-item-check1' id=tableName + 'CheckAll' type='checkbox' /></span><span class='wcm-widget-margin'></span>"; //create table row for this item var itemRow = WcmDashboardWidgetCommon.buildItemTableRow(item, instance, false, i, 0); table += itemRowStart + itemRow + itemRowEnd; var subItems = item.children; if (subItems && subItems.length > 0) { subChildren = new Array(); WcmDashboardWidgetCommon.getChilderenRecursive(subItems); subChildren = WcmDashboardWidgetCommon.sortItems(subChildren, currentSortBy, currentSortType) table += WcmDashboardWidgetCommon.getSubSubChilderen(table, parentClass, subChildren, widgetId, 1); //table += WcmDashboardWidgetCommon.getSubSubChilderenRecursive(table, parentClass, subItems, widgetId, 1); } } newtable += table; } } newtable = blankRow + newtable + blankRow; var tableContentStart = '<table id="' + tableName + '-table" class="table">'; var theadContent = '<thead id="' + tableName + '-thead"><tr class="avoid">' + instance.renderItemsHeading() + '</tr></thead>'; var tbodyContent = '<tbody id="' + tableName + '-tbody" class="ttTbody">' + newtable + '</tbody>'; var tableContentEnd = '</table>'; //Check for already checked items, //un-check then to remove those items from selected items list. var checkboxArray = YDom.getElementsBy(function (el) { return ( el.type === 'checkbox' && el.checked === true); }, 'input', divTableContainer); if (checkboxArray && checkboxArray.length >= 1) { for (var chkIdx = 0; chkIdx < checkboxArray.length; chkIdx++) { checkboxArray[chkIdx].checked = false; WcmDashboardWidgetCommon.clearItem(checkboxArray[chkIdx], instance.dashBoardData); } } YDom.get(divTableContainer).innerHTML = tableContentStart + theadContent + tbodyContent + tableContentEnd; YEvent.delegate(widgetId + "-thead", "click", WcmDashboardWidgetCommon.sortClick, 'th a', { 'widgetId': widgetId, 'sortBy': currentSortBy }, true); WcmDashboardWidgetCommon.updateSortIconsInWidget(currentSortBy, currentSortType, widgetId); YDom.get('sortedBy-' + widgetId).innerHTML = currentSortBy; YDom.get('sort-type-' + widgetId).innerHTML = currentSortType; instance.currentSortBy = sortBy; instance.searchNumber = filterByNumber; /** * remove loading image for recent current widget */ YDom.setStyle("loading-" + widgetId, "display", "none"); /** * ajax call link in dashboard widget will be showed/hide * according to widget state.. */ var widgetState = CStudioAuthoring.Service.getWindowState(CStudioAuthoringContext.user, pageId, widgetId, "widgetToggle"); if (widgetState == "closed") { YDom.setStyle("widget-expand-state-" + widgetId, "display", "none"); } else { YDom.setStyle("widget-expand-state-" + widgetId, "display", "block"); } /************************************************************* * registering mouse over and mouse out events for row items. ************************************************************/ var rowMouseover = function (event, matchedEl) { YDom.addClass(matchedEl, "over"); }; var rowMouseout = function (event, matchedEl) { YDom.removeClass(matchedEl, "over", ""); }; YEvent.delegate(webscriptName, "mouseover", rowMouseover, "tr"); YEvent.delegate(webscriptName, "mouseout", rowMouseout, "tr"); // adding tool tip display if (instance.tooltipLabels && instance.tooltipLabels.length >= 1) { var oTTContainer = YDom.get("acn-context-tooltip-widgets"); if (!oTTContainer) { var toolTipContainer = window.document.createElement("div"); toolTipContainer.setAttribute("id", "acn-context-tooltip-widgets"); toolTipContainer.className = "acn-context-tooltip"; toolTipContainer.innerHTML = "<div style=\"z-index: 2; left: 73px; top: 144px; visibility: hidden;\"" + " class=\"yui-module yui-overlay yui-tt\"" + "id=\"acn-context-tooltipWrapper-widgets\"><div class=\"bd\"></div>" + "<div class=\"yui-tt-shadow\"></div>" + "<div class=\"yui-tt-shadow\"></div>" + "<div class=\"yui-tt-shadow\"></div>" + "</div>"; window.document.body.appendChild(toolTipContainer); } new YAHOO.widget.Tooltip("acn-context-tooltipWrapper-widgets", { context: instance.tooltipLabels, hidedelay: 0, showdelay: 500, container: "acn-context-tooltip-widgets" }); } if (!instance.expanded) { instance.expanded = true; WcmDashboardWidgetCommon.toggleAllItems(widgetId); } YEvent.addListener(tableName + "CheckAll", 'click', function (e) { YDom.setStyle("loading-" + widgetId, "display", ""); setTimeout(function(){ var checkAllElt = YDom.get(tableName + 'CheckAll'); var inputsElt = window.document.querySelectorAll("#" + tableName + " input:enabled"); var avoidEvent; if (checkAllElt.checked == true) { for (var i = 1; i < inputsElt.length; i++) { inputsElt[i].checked = true; avoidEvent = i == (inputsElt.length - 1) ? false : true; WcmDashboardWidgetCommon.selectItem(inputsElt[i], inputsElt[i].checked, avoidEvent); } } else { for (var i = 1; i < inputsElt.length; i++) { inputsElt[i].checked = false; avoidEvent = i == (inputsElt.length - 1) ? false : true; WcmDashboardWidgetCommon.selectItem(inputsElt[i], inputsElt[i].checked, avoidEvent); } } YDom.setStyle("loading-" + widgetId, "display", "none"); }, 10); }, this, true); WcmDashboardWidgetCommon.hideURLCol(); }, failure: function () { YDom.setStyle("loading-" + widgetId, "display", "none"); }, beforeServiceCall: function () { YDom.setStyle("loading-" + widgetId, "display", ""); } }; if (sortFromCachedData && instance.dashBoardData) { callback.success(instance.dashBoardData); } else { instance.retrieveTableData(currentSortBy, currentSortType, callback, null, filterByNumber); } }; /////For filtering Widgets WcmDashboardWidgetCommon.loadFilterTableData = function (sortBy, container, widgetId, filterByNumber, filterBy) { var instance = WcmDashboardWidgetCommon.dashboards[widgetId]; var tableName = widgetId; var webscriptName = widgetId + "-table"; var divTableContainer = widgetId + "-body"; var currentSortBy = (sortBy) ? sortBy : null; var currentSortType = ""; var hideEmptyRow = instance.hideEmptyRow; var pageId = instance.pageId; var callback = { success: function (results) { if (results.total > 0) { YDom.addClass(divTableContainer, "table-responsive"); } instance.dashBoardData = results; var sortDocuments = results.documents; instance.tooltipLabels = new Array(); var newtable = ""; var blankRow = ''; //"<tr class='avoid'><td class='ttBlankRow' colspan='5'>&nbsp;</td></tr>"; var count = 0; var sortedByValue = results.sortedBy; var sortType = results.sortType; var previousSortedBy = YDom.get('sortedBy-' + widgetId).innerHTML; var previousSortType = YDom.get('sort-type-' + widgetId).innerHTML; if (previousSortedBy == currentSortBy) { if (previousSortType == "true") { currentSortType = "false"; } else { currentSortType = "true"; } } else { currentSortType = "false"; } // update total count var totalCountEl = YDom.get(widgetId + "-total-count"); if (totalCountEl != undefined) { totalCountEl.innerHTML = results.total; } // update custom header controls // create line items for (var j = 0; j < sortDocuments.length; j++) { var items = sortDocuments[j].children; var document = sortDocuments[j]; count = count + 1; var name = (sortDocuments[j].internalName != undefined) ? sortDocuments[j].internalName : "error"; var parentClass = "wcm-table-parent-" + name + "-" + count; if (!hideEmptyRow || sortDocuments[j].numOfChildren > 0) { var table = "<tr>"; table += WcmDashboardWidgetCommon.buildItemTableRow(sortDocuments[j], instance, true, count, 0); table += "</tr>"; for (var i = 0; i < items.length; i++) { var item = items[i]; //table = table + "<tr class='" + parentClass + "'><td colspan='5' class='ttBlankRow3'></td></tr>"; var itemRowStart = "<tr class='" + parentClass + "'>"; var itemRowEnd = "</tr>"; var subItemRowStart = "<tr class='" + parentClass + "'><td><span class='wcm-widget-margin'></span><span class='ttFirstCol128'><input type='checkbox'/></span><span class='wcm-widget-margin'></span>"; //create table row for this item var itemRow = WcmDashboardWidgetCommon.buildItemTableRow(item, instance, false, i, 0); table += itemRowStart + itemRow + itemRowEnd; var subItems = item.children; if (subItems && subItems.length > 0) { table += WcmDashboardWidgetCommon.getSubSubChilderenRecursive(table, parentClass, subItems, widgetId, 1); } } newtable += table; } } newtable = blankRow + newtable + blankRow; var tableContentStart = '<table id="' + tableName + '-table" class="table" border="0">'; var theadContent = '<thead class="ttThead" id="' + tableName + '-thead"><tr class="avoid">' + instance.renderItemsHeading() + '</tr></thead>'; var tbodyContent = '<tbody class="ttTbody" id="' + tableName + '-tbody" class="ttTbody">' + newtable + '</tbody>'; var tableContentEnd = '</table>'; //Check for already checked items, //un-check then to remove those items from selected items list. var checkboxArray = YDom.getElementsBy(function (el) { return ( el.type === 'checkbox' && el.checked === true); }, 'input', divTableContainer); if (checkboxArray && checkboxArray.length >= 1 && (eventNS.typeAction =="edit" && !eventNS.draft)) { for (var chkIdx = 0; chkIdx < checkboxArray.length; chkIdx++) { checkboxArray[chkIdx].checked = false; WcmDashboardWidgetCommon.clearItem(checkboxArray[chkIdx], instance.dashBoardData); } } YDom.get(divTableContainer).innerHTML = tableContentStart + theadContent + tbodyContent + tableContentEnd; YEvent.delegate(widgetId + "-thead", "click", WcmDashboardWidgetCommon.sortClick, 'th a', { 'widgetId': widgetId, 'sortBy': currentSortBy }, true); WcmDashboardWidgetCommon.updateSortIconsInWidget(currentSortBy, currentSortType, widgetId); YDom.get('sortedBy-' + widgetId).innerHTML = currentSortBy; YDom.get('sort-type-' + widgetId).innerHTML = currentSortType; instance.currentSortBy = sortBy; instance.searchNumber = filterByNumber; /** * remove loading image for recent current widget */ YDom.setStyle("loading-" + widgetId, "display", "none"); /** * ajax call link in dashboard widget will be showed/hide * according to widget state.. */ var widgetState = CStudioAuthoring.Service.getWindowState(CStudioAuthoringContext.user, pageId, widgetId, "widgetToggle"); if (widgetState == "closed") { YDom.setStyle("widget-expand-state-" + widgetId, "display", "none"); } else { YDom.setStyle("widget-expand-state-" + widgetId, "display", "block"); } /************************************************************* * registering mouse over and mouse out events for row items. ************************************************************/ var rowMouseover = function (event, matchedEl) { YDom.addClass(matchedEl, "over"); }; var rowMouseout = function (event, matchedEl) { YDom.removeClass(matchedEl, "over", ""); }; YEvent.delegate(webscriptName, "mouseover", rowMouseover, "tr"); YEvent.delegate(webscriptName, "mouseout", rowMouseout, "tr"); // adding tool tip display if (instance.tooltipLabels && instance.tooltipLabels.length >= 1) { var oTTContainer = YDom.get("acn-context-tooltip-widgets"); if (!oTTContainer) { var toolTipContainer = window.document.createElement("div"); toolTipContainer.setAttribute("id", "acn-context-tooltip-widgets"); toolTipContainer.className = "acn-context-tooltip"; toolTipContainer.innerHTML = "<div style=\"z-index: 2; left: 73px; top: 144px; visibility: hidden;\"" + " class=\"yui-module yui-overlay yui-tt\"" + "id=\"acn-context-tooltipWrapper-widgets\"><div class=\"bd\"></div>" + "<div class=\"yui-tt-shadow\"></div>" + "<div class=\"yui-tt-shadow\"></div>" + "<div class=\"yui-tt-shadow\"></div>" + "</div>"; window.document.body.appendChild(toolTipContainer); } new YAHOO.widget.Tooltip("acn-context-tooltipWrapper-widgets", { context: instance.tooltipLabels, hidedelay: 0, showdelay: 500, container: "acn-context-tooltip-widgets" }); } if (!instance.expanded) { instance.expanded = true; WcmDashboardWidgetCommon.toggleAllItems(widgetId); } YEvent.addListener(tableName + "CheckAll", 'click', function (e) { var checkAllElt = YDom.get(tableName + 'CheckAll'); var inputsElt = window.document.querySelectorAll("#" + tableName + " input:enabled"); WcmDashboardWidgetCommon.Ajax.disableDashboard(); if (checkAllElt.checked == true) { for (var i = 1; i < inputsElt.length; i++) { inputsElt[i].checked = true; WcmDashboardWidgetCommon.selectItem(inputsElt[i], inputsElt[i].checked); } } else { for (var i = 1; i < inputsElt.length; i++) { inputsElt[i].checked = false; WcmDashboardWidgetCommon.selectItem(inputsElt[i], inputsElt[i].checked); } } }, this, true); }, failure: function () { YDom.setStyle("loading-" + widgetId, "display", "none"); }, beforeServiceCall: function () { YDom.setStyle("loading-" + widgetId, "display", "block"); } }; instance.retrieveTableData(currentSortBy, currentSortType, callback, null, filterByNumber, filterBy); }; /** * Handle children level 2 and beyond (becomes a flat stucture) */ WcmDashboardWidgetCommon.getSubSubChilderenRecursive = function (table, parentClass, items, widgetId, depth) { var rowHtml = ""; var instance = WcmDashboardWidgetCommon.dashboards[widgetId]; for (var i = 0; i < items.length; i++) { var item = items[i]; //rowHtml += "<tr class='" + parentClass + "'><td colspan='5' class='ttBlankRow3'></td></tr>"; var itemRowStart = "<tr class='" + parentClass + "'>"; var itemRowEnd = "</tr>"; //create table row for this item var itemRow = WcmDashboardWidgetCommon.buildItemTableRow(item, instance, false, i, depth); rowHtml += itemRowStart + itemRow + itemRowEnd; // add further dependencies if (item.children && item.children.length > 0) { rowHtml += WcmDashboardWidgetCommon.getSubSubChilderenRecursive(table, parentClass, item.children, widgetId, depth + 1); } } return rowHtml; }; /** * call render line item for the particular kind of dashboard * @param item - content object * @param dashboardInstance instance of the dashboard */ WcmDashboardWidgetCommon.buildItemTableRow = function (item, dashboardInstance, firstRow, count, depth) { return dashboardInstance.renderLineItem(item, firstRow, count, depth); }; /** * update sorting icons */ WcmDashboardWidgetCommon.updateSortIconsInWidget = function (currentSortBy, currentSortType, widgetId) { if (YAHOO.lang.isNull(currentSortBy)) { return; } //valid for sorting clicks var currentSortById = "sortIcon-" + currentSortBy + '-' + widgetId; if (currentSortType == "true") { currentSortType = "ttSortAsc"; } else { currentSortType = "ttSortDesc"; } var sortColumns = CStudioAuthoring.Utils.getElementsByClassName('wcm-go-live-sort-columns-' + widgetId); var count = 0; var length = sortColumns.length; while (length > count) { var item = sortColumns[count]; if (item != undefined) { if (item.id == currentSortById) { item.style.display = "inline-block"; item.className = currentSortType + " wcm-go-live-sort-columns-" + widgetId; } else { item.style.display = "none"; } } count = count + 1; } }; WcmDashboardWidgetCommon.initFilterToWidget = function (widgetId, widgetFilterBy) { var filterByEl = document.createElement("select"); if (widgetId) { filterByEl.setAttribute("id", "widget-filterBy-" + widgetId); } filterByEl.className = 'form-control input-sm'; filterByEl.options[0] = new Option(CMgs.format(langBundle, "dashletFilterPages"), "page", true, false); filterByEl.options[1] = new Option(CMgs.format(langBundle, "dashletFilterComponents"), "component", true, false); filterByEl.options[2] = new Option(CMgs.format(langBundle, "dashletFilterDocuments"), "document", true, false); filterByEl.options[3] = new Option(CMgs.format(langBundle, "dashletFilterAll"), "all", true, false); //set default value from cookie if (widgetFilterBy) { for (var optIdx = 0; optIdx < filterByEl.options.length; optIdx++) { if (filterByEl.options[optIdx].value == widgetFilterBy) { filterByEl.options[optIdx].selected = true; break; } } } return filterByEl; }; /** * get selected item from cache data */ WcmDashboardWidgetCommon.getContentRecursive = function (dashBoardData, itemUrl) { var sortDocuments = dashBoardData.documents; var result = null; for (var j = 0; j < sortDocuments.length; j++) { if (sortDocuments[j].uri == itemUrl) { return sortDocuments[j]; } if (sortDocuments[j].children && sortDocuments[j].children >= 1) { result = WcmDashboardWidgetCommon.getContentRecursive(sortDocuments[j].children, itemUrl); if (result) break; } } return result; }; /** * clear selected item in the dashboard widget */ WcmDashboardWidgetCommon.clearItem = function (matchedElement, dashBoardData) { if (matchedElement.type == "checkbox") { if (dashBoardData) { var itemUrl = ""; // walk the DOM to get the path get parent of current element var parentTD = YDom.getAncestorByTagName(matchedElement, "td"); // get a sibling, that is <td>, that has attribute of title var urlEl = YDom.getNextSiblingBy(parentTD, function (el) { return el.getAttribute('title') == 'fullUri'; }); if (!urlEl) { // if url null return return; } else { itemUrl = urlEl.innerHTML; } //check for matched element from cache var contentTO = WcmDashboardWidgetCommon.getContentRecursive(dashBoardData, itemUrl); if (contentTO) { CStudioAuthoring.SelectedContent.unselectContent(contentTO); return; } } WcmDashboardWidgetCommon.selectItem(matchedElement, false); } };
jvega-crafter/studio-ui
static-assets/components/cstudio-dashboard-widgets/lib/wcm-dashboardwidget-common.js
JavaScript
gpl-3.0
65,409
import AbstractRepository from "./abstract_repository" export default class ProfileRepository extends AbstractRepository { constructor(db) { super(db); } tableName() { return "profiles"; } initialColumns() { return [ // Note the specific ordering, this is critical for the sql // queries to work. ["email", "VARCHAR(100)"], ["zip_code", "VARCHAR(20)"], ["race_of_bees", "TEXT"], ["full_name", "TEXT"] ]; }; migratedColumns() { return []; }; }
USEPA/hivescience
www/js/repositories/profile_repository.js
JavaScript
gpl-3.0
518
import { moduleFor, test } from 'ember-qunit'; moduleFor('service:canvas', { // Specify the other units that are required for this test. // needs: ['service:foo'] }); // Replace this with your real tests. test('it exists', function(assert) { var service = this.subject(); assert.ok(service); });
hugoruscitti/huayra-collage
tests/unit/services/canvas-test.js
JavaScript
gpl-3.0
310
'use strict'; const Q = require('q'); function getPromise(){ let deferred = Q.defer(); //Resolve the promise after a second setTimeout(() => { deferred.resolve('final value'); }, 1000); return deferred.promise; } let promise = getPromise(); promise.then((val) => { console.log('done with:', val); });
mectest1/HelloNodeJS
beginning-node/base/promise-separate.js
JavaScript
gpl-3.0
319
/* Copyright 2012 Samuel Bucheli and Thomas Klöti, University Library Berne. This file is part of the Ryhiner Bounding Box Tool. The Ryhiner Bounding Box Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The Ryhiner Bounding Box Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the Ryhiner Bounding Box Tool. If not, see <http://www.gnu.org/licenses/>. */ var gruppen = new Object(); gruppen["1001"] = new Array(); gruppen["1001"].push("Ryh_1001_1"); gruppen["1001"].push("Ryh_1001_2"); gruppen["1001"].push("Ryh_1001_3"); gruppen["1001"].push("Ryh_1001_4"); gruppen["1001"].push("Ryh_1001_5"); gruppen["1001"].push("Ryh_1001_6"); gruppen["1001"].push("Ryh_1001_7"); gruppen["1001"].push("Ryh_1001_8"); gruppen["1001"].push("Ryh_1001_9"); gruppen["1001"].push("Ryh_1001_10"); gruppen["1001"].push("Ryh_1001_11"); gruppen["1001"].push("Ryh_1001_12"); gruppen["1001"].push("Ryh_1001_13"); gruppen["1001"].push("Ryh_1001_14"); gruppen["1001"].push("Ryh_1001_15"); gruppen["1001"].push("Ryh_1001_16"); gruppen["1001"].push("Ryh_1001_17"); gruppen["1001"].push("Ryh_1001_18"); gruppen["1001"].push("Ryh_1001_19"); gruppen["1001"].push("Ryh_1001_20"); gruppen["1001"].push("Ryh_1001_21"); gruppen["1001"].push("Ryh_1001_22"); gruppen["1001"].push("Ryh_1001_23"); gruppen["1001"].push("Ryh_1001_24"); gruppen["1001"].push("Ryh_1001_25"); gruppen["1001"].push("Ryh_1001_26"); gruppen["1001"].push("Ryh_1001_27"); gruppen["1001"].push("Ryh_1001_28"); gruppen["1001"].push("Ryh_1001_29"); gruppen["1001"].push("Ryh_1001_30"); gruppen["1002"] = new Array(); gruppen["1002"].push("Ryh_1002_11"); gruppen["1002"].push("Ryh_1002_12"); gruppen["1002"].push("Ryh_1002_14"); gruppen["1002"].push("Ryh_1002_15"); gruppen["1002"].push("Ryh_1002_16"); gruppen["1002"].push("Ryh_1002_17"); gruppen["1002"].push("Ryh_1002_18"); gruppen["1002"].push("Ryh_1002_19"); gruppen["1002"].push("Ryh_1002_20"); gruppen["1002"].push("Ryh_1002_21"); gruppen["1002"].push("Ryh_1002_22"); gruppen["1002"].push("Ryh_1002_23_A"); gruppen["1002"].push("Ryh_1002_23_B"); gruppen["1002"].push("Ryh_1002_24"); gruppen["1002"].push("Ryh_1002_25"); gruppen["1002"].push("Ryh_1002_26"); gruppen["1002"].push("Ryh_1002_27"); gruppen["1002"].push("Ryh_1002_28"); gruppen["1002"].push("Ryh_1002_29"); gruppen["1002"].push("Ryh_1002_30"); gruppen["1002"].push("Ryh_1002_31"); gruppen["1002"].push("Ryh_1002_32"); gruppen["1002"].push("Ryh_1002_33"); gruppen["1002"].push("Ryh_1002_34"); gruppen["1002"].push("Ryh_1002_35"); gruppen["1003"] = new Array(); gruppen["1003"].push("Ryh_1003_5"); gruppen["1003"].push("Ryh_1003_6"); gruppen["1003"].push("Ryh_1003_7"); gruppen["1003"].push("Ryh_1003_10"); gruppen["1003"].push("Ryh_1003_11"); gruppen["1003"].push("Ryh_1003_12"); gruppen["1003"].push("Ryh_1003_13"); gruppen["1003"].push("Ryh_1003_14"); gruppen["1003"].push("Ryh_1003_15"); gruppen["1003"].push("Ryh_1003_17"); gruppen["1003"].push("Ryh_1003_18"); gruppen["1003"].push("Ryh_1003_19"); gruppen["1003"].push("Ryh_1003_41"); gruppen["1003"].push("Ryh_1003_42"); gruppen["1003"].push("Ryh_1003_43"); gruppen["1003"].push("Ryh_1003_44_A"); gruppen["1003"].push("Ryh_1003_44_B"); gruppen["1003"].push("Ryh_1003_45"); gruppen["1003"].push("Ryh_1003_46"); gruppen["1003"].push("Ryh_1003_51"); gruppen["1003"].push("Ryh_1003_52"); gruppen["1003"].push("Ryh_1003_53"); gruppen["1101"] = new Array(); gruppen["1101"].push("Ryh_1101_12"); gruppen["1101"].push("Ryh_1101_13"); gruppen["1101"].push("Ryh_1101_15"); gruppen["1101"].push("Ryh_1101_17"); gruppen["1101"].push("Ryh_1101_18"); gruppen["1101"].push("Ryh_1101_19"); gruppen["1101"].push("Ryh_1101_20_A"); gruppen["1101"].push("Ryh_1101_20_B"); gruppen["1101"].push("Ryh_1101_21"); gruppen["1101"].push("Ryh_1101_22"); gruppen["1101"].push("Ryh_1101_23"); gruppen["1101"].push("Ryh_1101_24"); gruppen["1101"].push("Ryh_1101_26"); gruppen["1101"].push("Ryh_1101_27"); gruppen["1101"].push("Ryh_1101_31"); gruppen["1101"].push("Ryh_1101_32"); gruppen["1101"].push("Ryh_1101_33"); gruppen["1101"].push("Ryh_1101_34"); gruppen["1101"].push("Ryh_1101_35"); gruppen["1101"].push("Ryh_1101_36"); gruppen["1101"].push("Ryh_1101_37"); gruppen["1101"].push("Ryh_1101_38"); gruppen["1101"].push("Ryh_1101_39"); gruppen["1101"].push("Ryh_1101_40"); gruppen["1101"].push("Ryh_1101_41"); gruppen["1101"].push("Ryh_1101_43"); gruppen["1101"].push("Ryh_1101_44"); gruppen["1101"].push("Ryh_1101_47"); gruppen["1101"].push("Ryh_1101_48"); gruppen["1101"].push("Ryh_1101_49"); gruppen["1101"].push("Ryh_1101_51"); gruppen["1101"].push("Ryh_1101_52"); gruppen["1101"].push("Ryh_1101_53"); gruppen["1101"].push("Ryh_1101_55"); gruppen["1101"].push("Ryh_1101_57"); gruppen["1101"].push("Ryh_1101_58"); gruppen["1101"].push("Ryh_1101_59"); gruppen["1101"].push("Ryh_1101_60"); gruppen["1101"].push("Ryh_1101_61-64"); gruppen["1101"].push("Ryh_1101_65"); gruppen["1102"] = new Array(); gruppen["1102"].push("Ryh_1102_1"); gruppen["1102"].push("Ryh_1102_3"); gruppen["1102"].push("Ryh_1102_4"); gruppen["1102"].push("Ryh_1102_5"); gruppen["1102"].push("Ryh_1102_7"); gruppen["1102"].push("Ryh_1102_8"); gruppen["1102"].push("Ryh_1102_9"); gruppen["1102"].push("Ryh_1102_10"); gruppen["1102"].push("Ryh_1102_11"); gruppen["1102"].push("Ryh_1102_13"); gruppen["1102"].push("Ryh_1102_14"); gruppen["1102"].push("Ryh_1102_15"); gruppen["1102"].push("Ryh_1102_16"); gruppen["1102"].push("Ryh_1102_17"); gruppen["1102"].push("Ryh_1102_18"); gruppen["1102"].push("Ryh_1102_19"); gruppen["1102"].push("Ryh_1102_20"); gruppen["1102"].push("Ryh_1102_21"); gruppen["1102"].push("Ryh_1102_22"); gruppen["1102"].push("Ryh_1102_23"); gruppen["1102"].push("Ryh_1102_24"); gruppen["1102"].push("Ryh_1102_25"); gruppen["1102"].push("Ryh_1102_26"); gruppen["1102"].push("Ryh_1102_27"); gruppen["1102"].push("Ryh_1102_28"); gruppen["1102"].push("Ryh_1102_29"); gruppen["1102"].push("Ryh_1102_30"); gruppen["1102"].push("Ryh_1102_31"); gruppen["1102"].push("Ryh_1102_32"); gruppen["1102"].push("Ryh_1102_33"); gruppen["1102"].push("Ryh_1102_34"); gruppen["1102"].push("Ryh_1102_35"); gruppen["1102"].push("Ryh_1102_37"); gruppen["1102"].push("Ryh_1102_38"); gruppen["1102"].push("Ryh_1102_39"); gruppen["1102"].push("Ryh_1102_40_A"); gruppen["1102"].push("Ryh_1102_40_B"); gruppen["1102"].push("Ryh_1102_44"); gruppen["1102"].push("Ryh_1102_45"); gruppen["1102"].push("Ryh_1102_46"); gruppen["1102"].push("Ryh_1102_47"); gruppen["1102"].push("Ryh_1102_49"); gruppen["1102"].push("Ryh_1102_50"); gruppen["1102"].push("Ryh_1102_51"); gruppen["1102"].push("Ryh_1102_52"); gruppen["1102"].push("Ryh_1102_53"); gruppen["1102"].push("Ryh_1102_54"); gruppen["1102"].push("Ryh_1102_55"); gruppen["1102"].push("Ryh_1102_56"); gruppen["1102"].push("Ryh_1102_57"); gruppen["1102"].push("Ryh_1102_58_A"); gruppen["1102"].push("Ryh_1102_58_B"); gruppen["1102"].push("Ryh_1102_59"); gruppen["1102"].push("Ryh_1102_60"); gruppen["1103"] = new Array(); gruppen["1103"].push("Ryh_1103_1"); gruppen["1103"].push("Ryh_1103_2"); gruppen["1103"].push("Ryh_1103_3"); gruppen["1103"].push("Ryh_1103_4"); gruppen["1103"].push("Ryh_1103_5"); gruppen["1103"].push("Ryh_1103_6"); gruppen["1103"].push("Ryh_1103_7"); gruppen["1103"].push("Ryh_1103_8"); gruppen["1103"].push("Ryh_1103_9"); gruppen["1103"].push("Ryh_1103_13_A"); gruppen["1103"].push("Ryh_1103_13_B"); gruppen["1103"].push("Ryh_1103_14"); gruppen["1103"].push("Ryh_1103_15"); gruppen["1103"].push("Ryh_1103_16"); gruppen["1103"].push("Ryh_1103_17"); gruppen["1103"].push("Ryh_1103_18"); gruppen["1103"].push("Ryh_1103_19"); gruppen["1103"].push("Ryh_1103_20"); gruppen["1103"].push("Ryh_1103_21"); gruppen["1103"].push("Ryh_1103_22"); gruppen["1103"].push("Ryh_1103_23"); gruppen["1103"].push("Ryh_1103_24"); gruppen["1103"].push("Ryh_1103_25"); gruppen["1103"].push("Ryh_1103_26"); gruppen["1103"].push("Ryh_1103_27"); gruppen["1103"].push("Ryh_1103_28"); gruppen["1103"].push("Ryh_1103_29"); gruppen["1103"].push("Ryh_1103_30"); gruppen["1103"].push("Ryh_1103_31"); gruppen["1103"].push("Ryh_1103_32"); gruppen["1103"].push("Ryh_1103_33"); gruppen["1103"].push("Ryh_1103_34"); gruppen["1103"].push("Ryh_1103_35"); gruppen["1103"].push("Ryh_1103_36"); gruppen["1103"].push("Ryh_1103_37"); gruppen["1103"].push("Ryh_1103_38"); gruppen["1105"] = new Array(); gruppen["1105"].push("Ryh_1105_2"); gruppen["1105"].push("Ryh_1105_3"); gruppen["1105"].push("Ryh_1105_5"); gruppen["1105"].push("Ryh_1105_6"); gruppen["1105"].push("Ryh_1105_7"); gruppen["1105"].push("Ryh_1105_8"); gruppen["1105"].push("Ryh_1105_9_A"); gruppen["1105"].push("Ryh_1105_9_B"); gruppen["1105"].push("Ryh_1105_10_A"); gruppen["1105"].push("Ryh_1105_10_B"); gruppen["1105"].push("Ryh_1105_11"); gruppen["1105"].push("Ryh_1105_12"); gruppen["1105"].push("Ryh_1105_13"); gruppen["1105"].push("Ryh_1105_14"); gruppen["1105"].push("Ryh_1105_15"); gruppen["1105"].push("Ryh_1105_16"); gruppen["1105"].push("Ryh_1105_17"); gruppen["1105"].push("Ryh_1105_18"); gruppen["1105"].push("Ryh_1105_19"); gruppen["1106"] = new Array(); gruppen["1106"].push("Ryh_1106_2"); gruppen["1106"].push("Ryh_1106_3"); gruppen["1106"].push("Ryh_1106_4_A"); gruppen["1106"].push("Ryh_1106_4_B"); gruppen["1106"].push("Ryh_1106_5"); gruppen["1106"].push("Ryh_1106_6"); gruppen["1106"].push("Ryh_1106_7"); gruppen["1106"].push("Ryh_1106_8"); gruppen["1106"].push("Ryh_1106_10"); gruppen["1106"].push("Ryh_1106_11"); gruppen["1106"].push("Ryh_1106_12"); gruppen["1106"].push("Ryh_1106_17"); gruppen["1106"].push("Ryh_1106_18"); gruppen["1106"].push("Ryh_1106_19"); gruppen["1106"].push("Ryh_1106_20_A"); gruppen["1106"].push("Ryh_1106_20_B"); gruppen["1106"].push("Ryh_1106_21"); gruppen["1106"].push("Ryh_1106_22"); gruppen["1106"].push("Ryh_1106_23"); gruppen["1106"].push("Ryh_1106_24_A"); gruppen["1106"].push("Ryh_1106_24_B"); gruppen["1106"].push("Ryh_1106_25"); gruppen["1106"].push("Ryh_1106_26"); gruppen["1106"].push("Ryh_1106_27"); gruppen["1106"].push("Ryh_1106_28"); gruppen["1106"].push("Ryh_1106_29"); gruppen["1106"].push("Ryh_1106_30"); gruppen["1106"].push("Ryh_1106_31"); gruppen["1106"].push("Ryh_1106_35"); gruppen["1106"].push("Ryh_1106_36"); gruppen["1106"].push("Ryh_1106_38"); gruppen["1106"].push("Ryh_1106_39"); gruppen["1106"].push("Ryh_1106_41"); gruppen["1106"].push("Ryh_1106_42"); gruppen["1106"].push("Ryh_1106_43"); gruppen["1106"].push("Ryh_1106_44"); gruppen["1106"].push("Ryh_1106_45"); gruppen["1106"].push("Ryh_1106_46"); gruppen["1106"].push("Ryh_1106_47"); gruppen["1106"].push("Ryh_1106_50"); gruppen["1106"].push("Ryh_1106_51"); gruppen["1106"].push("Ryh_1106_52"); gruppen["1106"].push("Ryh_1106_53"); gruppen["1106"].push("Ryh_1106_55"); gruppen["1106"].push("Ryh_1106_56"); gruppen["1106"].push("Ryh_1106_57"); gruppen["1106"].push("Ryh_1106_58"); gruppen["1106"].push("Ryh_1106_59"); gruppen["1106"].push("Ryh_1106_60"); gruppen["1106"].push("Ryh_1106_61"); gruppen["1106"].push("Ryh_1106_62"); gruppen["1106"].push("Ryh_1106_63"); gruppen["1106"].push("Ryh_1106_64"); gruppen["1107"] = new Array(); gruppen["1107"].push("Ryh_1107_2"); gruppen["1107"].push("Ryh_1107_3"); gruppen["1107"].push("Ryh_1107_4"); gruppen["1107"].push("Ryh_1107_6"); gruppen["1107"].push("Ryh_1107_7"); gruppen["1107"].push("Ryh_1107_8"); gruppen["1107"].push("Ryh_1107_9"); gruppen["1107"].push("Ryh_1107_10"); gruppen["1107"].push("Ryh_1107_11"); gruppen["1107"].push("Ryh_1107_12"); gruppen["1107"].push("Ryh_1107_13"); gruppen["1107"].push("Ryh_1107_14"); gruppen["1107"].push("Ryh_1107_15"); gruppen["1108"] = new Array(); gruppen["1108"].push("Ryh_1108_1"); gruppen["1108"].push("Ryh_1108_2"); gruppen["1108"].push("Ryh_1108_3"); gruppen["1108"].push("Ryh_1108_4"); gruppen["1108"].push("Ryh_1108_5"); gruppen["1108"].push("Ryh_1108_6"); gruppen["1108"].push("Ryh_1108_7"); gruppen["1108"].push("Ryh_1108_8"); gruppen["1108"].push("Ryh_1108_9"); gruppen["1108"].push("Ryh_1108_10_A"); gruppen["1108"].push("Ryh_1108_10_B"); gruppen["1108"].push("Ryh_1108_11"); gruppen["1108"].push("Ryh_1108_12"); gruppen["1108"].push("Ryh_1108_13"); gruppen["1108"].push("Ryh_1108_14"); gruppen["1108"].push("Ryh_1108_15"); gruppen["1108"].push("Ryh_1108_21"); gruppen["1108"].push("Ryh_1108_22_A"); gruppen["1108"].push("Ryh_1108_22_B"); gruppen["1108"].push("Ryh_1108_22_C"); gruppen["1108"].push("Ryh_1108_22_D"); gruppen["1108"].push("Ryh_1108_23"); gruppen["1108"].push("Ryh_1108_24"); gruppen["1108"].push("Ryh_1108_25"); gruppen["1108"].push("Ryh_1108_26"); gruppen["1108"].push("Ryh_1108_27"); gruppen["1201"] = new Array(); gruppen["1201"].push("Ryh_1201_1"); gruppen["1201"].push("Ryh_1201_2"); gruppen["1201"].push("Ryh_1201_3"); gruppen["1201"].push("Ryh_1201_4"); gruppen["1201"].push("Ryh_1201_5"); gruppen["1201"].push("Ryh_1201_6"); gruppen["1201"].push("Ryh_1201_7"); gruppen["1201"].push("Ryh_1201_8"); gruppen["1201"].push("Ryh_1201_9"); gruppen["1201"].push("Ryh_1201_10"); gruppen["1201"].push("Ryh_1201_11"); gruppen["1201"].push("Ryh_1201_12"); gruppen["1201"].push("Ryh_1201_13"); gruppen["1201"].push("Ryh_1201_14"); gruppen["1201"].push("Ryh_1201_15"); gruppen["1201"].push("Ryh_1201_16"); gruppen["1201"].push("Ryh_1201_17"); gruppen["1201"].push("Ryh_1201_18"); gruppen["1201"].push("Ryh_1201_19"); gruppen["1201"].push("Ryh_1201_20"); gruppen["1201"].push("Ryh_1201_21"); gruppen["1201"].push("Ryh_1201_22"); gruppen["1201"].push("Ryh_1201_23"); gruppen["1201"].push("Ryh_1201_24"); gruppen["1201"].push("Ryh_1201_25"); gruppen["1201"].push("Ryh_1201_26"); gruppen["1201"].push("Ryh_1201_27"); gruppen["1201"].push("Ryh_1201_28"); gruppen["1201"].push("Ryh_1201_29"); gruppen["1202"] = new Array(); gruppen["1202"].push("Ryh_1202_1_A"); gruppen["1202"].push("Ryh_1202_1_B"); gruppen["1202"].push("Ryh_1202_2"); gruppen["1202"].push("Ryh_1202_3"); gruppen["1202"].push("Ryh_1202_4"); gruppen["1202"].push("Ryh_1202_5"); gruppen["1202"].push("Ryh_1202_6"); gruppen["1202"].push("Ryh_1202_7"); gruppen["1202"].push("Ryh_1202_8"); gruppen["1202"].push("Ryh_1202_9"); gruppen["1202"].push("Ryh_1202_10"); gruppen["1202"].push("Ryh_1202_11"); gruppen["1202"].push("Ryh_1202_12"); gruppen["1202"].push("Ryh_1202_13"); gruppen["1202"].push("Ryh_1202_14"); gruppen["1202"].push("Ryh_1202_15"); gruppen["1202"].push("Ryh_1202_16"); gruppen["1202"].push("Ryh_1202_17"); gruppen["1202"].push("Ryh_1202_18"); gruppen["1202"].push("Ryh_1202_19"); gruppen["1202"].push("Ryh_1202_20"); gruppen["1202"].push("Ryh_1202_21"); gruppen["1202"].push("Ryh_1202_22"); gruppen["1202"].push("Ryh_1202_23"); gruppen["1202"].push("Ryh_1202_24"); gruppen["1202"].push("Ryh_1202_25"); gruppen["1202"].push("Ryh_1202_26"); gruppen["1202"].push("Ryh_1202_27"); gruppen["1202"].push("Ryh_1202_28"); gruppen["1203"] = new Array(); gruppen["1203"].push("Ryh_1203_1"); gruppen["1203"].push("Ryh_1203_2"); gruppen["1203"].push("Ryh_1203_3"); gruppen["1203"].push("Ryh_1203_4"); gruppen["1203"].push("Ryh_1203_5"); gruppen["1203"].push("Ryh_1203_6"); gruppen["1203"].push("Ryh_1203_7"); gruppen["1203"].push("Ryh_1203_8"); gruppen["1203"].push("Ryh_1203_9"); gruppen["1203"].push("Ryh_1203_10"); gruppen["1203"].push("Ryh_1203_11"); gruppen["1203"].push("Ryh_1203_12"); gruppen["1203"].push("Ryh_1203_13"); gruppen["1203"].push("Ryh_1203_14"); gruppen["1203"].push("Ryh_1203_15"); gruppen["1301"] = new Array(); gruppen["1301"].push("Ryh_1301_3"); gruppen["1301"].push("Ryh_1301_4"); gruppen["1301"].push("Ryh_1301_11"); gruppen["1301"].push("Ryh_1301_12"); gruppen["1301"].push("Ryh_1301_13"); gruppen["1301"].push("Ryh_1301_14"); gruppen["1301"].push("Ryh_1301_15"); gruppen["1301"].push("Ryh_1301_16"); gruppen["1301"].push("Ryh_1301_17"); gruppen["1301"].push("Ryh_1301_18"); gruppen["1301"].push("Ryh_1301_19"); gruppen["1301"].push("Ryh_1301_20"); gruppen["1301"].push("Ryh_1301_43"); gruppen["1301"].push("Ryh_1301_44"); gruppen["1301"].push("Ryh_1301_45"); gruppen["1301"].push("Ryh_1301_46"); gruppen["1301"].push("Ryh_1301_47"); gruppen["1301"].push("Ryh_1301_48"); gruppen["1301"].push("Ryh_1301_49"); gruppen["1301"].push("Ryh_1301_50"); gruppen["1301"].push("Ryh_1301_51"); gruppen["1301"].push("Ryh_1301_52"); gruppen["1301"].push("Ryh_1301_53"); gruppen["1301"].push("Ryh_1301_54"); gruppen["1301"].push("Ryh_1301_55"); gruppen["1301"].push("Ryh_1301_56"); gruppen["1301"].push("Ryh_1301_57"); gruppen["1302"] = new Array(); gruppen["1302"].push("Ryh_1302_1"); gruppen["1302"].push("Ryh_1302_2"); gruppen["1302"].push("Ryh_1302_3"); gruppen["1302"].push("Ryh_1302_4"); gruppen["1302"].push("Ryh_1302_5"); gruppen["1302"].push("Ryh_1302_6"); gruppen["1302"].push("Ryh_1302_7"); gruppen["1302"].push("Ryh_1302_8"); gruppen["1302"].push("Ryh_1302_9"); gruppen["1302"].push("Ryh_1302_10"); gruppen["1302"].push("Ryh_1302_11"); gruppen["1302"].push("Ryh_1302_12"); gruppen["1302"].push("Ryh_1302_31"); gruppen["1302"].push("Ryh_1302_32"); gruppen["1302"].push("Ryh_1302_33"); gruppen["1302"].push("Ryh_1302_41"); gruppen["1302"].push("Ryh_1302_42"); gruppen["1302"].push("Ryh_1302_43"); gruppen["1302"].push("Ryh_1302_44"); gruppen["1302"].push("Ryh_1302_45"); gruppen["1302"].push("Ryh_1302_46_A"); gruppen["1302"].push("Ryh_1302_46_B"); gruppen["1302"].push("Ryh_1302_47"); gruppen["1302"].push("Ryh_1302_48"); gruppen["1302"].push("Ryh_1302_49"); gruppen["1302"].push("Ryh_1302_50"); gruppen["1302"].push("Ryh_1302_51"); gruppen["1302"].push("Ryh_1302_52"); gruppen["1302"].push("Ryh_1302_53"); gruppen["1303"] = new Array(); gruppen["1303"].push("Ryh_1303_7"); gruppen["1303"].push("Ryh_1303_8"); gruppen["1303"].push("Ryh_1303_9"); gruppen["1303"].push("Ryh_1303_11"); gruppen["1303"].push("Ryh_1303_12"); gruppen["1303"].push("Ryh_1303_13"); gruppen["1303"].push("Ryh_1303_17"); gruppen["1303"].push("Ryh_1303_18"); gruppen["1303"].push("Ryh_1303_19"); gruppen["1303"].push("Ryh_1303_20"); gruppen["1303"].push("Ryh_1303_21"); gruppen["1303"].push("Ryh_1303_22"); gruppen["1303"].push("Ryh_1303_24"); gruppen["1303"].push("Ryh_1303_25"); gruppen["1303"].push("Ryh_1303_26"); gruppen["1303"].push("Ryh_1303_27"); gruppen["1303"].push("Ryh_1303_28"); gruppen["1303"].push("Ryh_1303_29"); gruppen["1303"].push("Ryh_1303_30"); gruppen["1303"].push("Ryh_1303_31"); gruppen["1303"].push("Ryh_1303_32"); gruppen["1303"].push("Ryh_1303_33"); gruppen["1303"].push("Ryh_1303_34"); gruppen["1303"].push("Ryh_1303_35"); gruppen["1303"].push("Ryh_1303_36"); gruppen["1303"].push("Ryh_1303_37"); gruppen["1303"].push("Ryh_1303_38"); gruppen["1303"].push("Ryh_1303_39"); gruppen["1303"].push("Ryh_1303_59"); gruppen["1303"].push("Ryh_1303_61"); gruppen["1303"].push("Ryh_1303_62"); gruppen["1303"].push("Ryh_1303_63"); gruppen["1303"].push("Ryh_1303_64"); gruppen["1304"] = new Array(); gruppen["1304"].push("Ryh_1304_2"); gruppen["1304"].push("Ryh_1304_3"); gruppen["1304"].push("Ryh_1304_4"); gruppen["1304"].push("Ryh_1304_5"); gruppen["1304"].push("Ryh_1304_6"); gruppen["1304"].push("Ryh_1304_21_A"); gruppen["1304"].push("Ryh_1304_21_B"); gruppen["1304"].push("Ryh_1304_24"); gruppen["1304"].push("Ryh_1304_25"); gruppen["1304"].push("Ryh_1304_26"); gruppen["1304"].push("Ryh_1304_27"); gruppen["1304"].push("Ryh_1304_28"); gruppen["1304"].push("Ryh_1304_29"); gruppen["1304"].push("Ryh_1304_30"); gruppen["1304"].push("Ryh_1304_31"); gruppen["1304"].push("Ryh_1304_41"); gruppen["1304"].push("Ryh_1304_42"); gruppen["1304"].push("Ryh_1304_43"); gruppen["1304"].push("Ryh_1304_44"); gruppen["1304"].push("Ryh_1304_45"); gruppen["1304"].push("Ryh_1304_46"); gruppen["1304"].push("Ryh_1304_47"); gruppen["1304"].push("Ryh_1304_48_A"); gruppen["1304"].push("Ryh_1304_48_B"); gruppen["1304"].push("Ryh_1304_49_A"); gruppen["1304"].push("Ryh_1304_49_B"); gruppen["1304"].push("Ryh_1304_50_A"); gruppen["1304"].push("Ryh_1304_50_B"); gruppen["1304"].push("Ryh_1304_51"); gruppen["1304"].push("Ryh_1304_52"); gruppen["1304"].push("Ryh_1304_61"); gruppen["1304"].push("Ryh_1304_62"); gruppen["1304"].push("Ryh_1304_63"); gruppen["1304"].push("Ryh_1304_64"); gruppen["1401"] = new Array(); gruppen["1401"].push("Ryh_1401_6"); gruppen["1401"].push("Ryh_1401_7"); gruppen["1401"].push("Ryh_1401_8"); gruppen["1401"].push("Ryh_1401_9"); gruppen["1401"].push("Ryh_1401_10"); gruppen["1401"].push("Ryh_1401_11_A"); gruppen["1401"].push("Ryh_1401_11_B"); gruppen["1401"].push("Ryh_1401_12"); gruppen["1401"].push("Ryh_1401_13"); gruppen["1401"].push("Ryh_1401_15"); gruppen["1401"].push("Ryh_1401_16"); gruppen["1401"].push("Ryh_1401_17"); gruppen["1401"].push("Ryh_1401_18"); gruppen["1401"].push("Ryh_1401_20"); gruppen["1401"].push("Ryh_1401_22"); gruppen["1401"].push("Ryh_1401_23"); gruppen["1401"].push("Ryh_1401_24"); gruppen["1401"].push("Ryh_1401_25"); gruppen["1401"].push("Ryh_1401_27"); gruppen["1401"].push("Ryh_1401_29"); gruppen["1401"].push("Ryh_1401_30"); gruppen["1401"].push("Ryh_1401_31"); gruppen["1401"].push("Ryh_1401_32"); gruppen["1401"].push("Ryh_1401_33"); gruppen["1401"].push("Ryh_1401_34"); gruppen["1401"].push("Ryh_1401_35"); gruppen["1401"].push("Ryh_1401_37"); gruppen["1401"].push("Ryh_1401_38"); gruppen["1401"].push("Ryh_1401_40"); gruppen["1401"].push("Ryh_1401_41"); gruppen["1401"].push("Ryh_1401_42"); gruppen["1401"].push("Ryh_1401_43"); gruppen["1401"].push("Ryh_1401_44"); gruppen["1401"].push("Ryh_1401_45"); gruppen["1401"].push("Ryh_1401_46"); gruppen["1401"].push("Ryh_1401_47"); gruppen["1401"].push("Ryh_1401_48"); gruppen["1401"].push("Ryh_1401_49"); gruppen["1401"].push("Ryh_1401_50"); gruppen["1401"].push("Ryh_1401_55"); gruppen["1401"].push("Ryh_1401_57"); gruppen["1401"].push("Ryh_1401_58"); gruppen["1401"].push("Ryh_1401_59"); gruppen["1401"].push("Ryh_1401_60"); gruppen["1402"] = new Array(); gruppen["1402"].push("Ryh_1402_1"); gruppen["1402"].push("Ryh_1402_2"); gruppen["1402"].push("Ryh_1402_3_A"); gruppen["1402"].push("Ryh_1402_3_B"); gruppen["1402"].push("Ryh_1402_4"); gruppen["1402"].push("Ryh_1402_6"); gruppen["1402"].push("Ryh_1402_9"); gruppen["1402"].push("Ryh_1402_10"); gruppen["1402"].push("Ryh_1402_11"); gruppen["1402"].push("Ryh_1402_12"); gruppen["1402"].push("Ryh_1402_13"); gruppen["1402"].push("Ryh_1402_14"); gruppen["1402"].push("Ryh_1402_15"); gruppen["1402"].push("Ryh_1402_16"); gruppen["1402"].push("Ryh_1402_17_A"); gruppen["1402"].push("Ryh_1402_17_B"); gruppen["1402"].push("Ryh_1402_17_C"); gruppen["1402"].push("Ryh_1402_18"); gruppen["1402"].push("Ryh_1402_19"); gruppen["1402"].push("Ryh_1402_20"); gruppen["1402"].push("Ryh_1402_23"); gruppen["1402"].push("Ryh_1402_24"); gruppen["1402"].push("Ryh_1402_25"); gruppen["1402"].push("Ryh_1402_27_A"); gruppen["1402"].push("Ryh_1402_27_B"); gruppen["1402"].push("Ryh_1402_28"); gruppen["1402"].push("Ryh_1402_29"); gruppen["1402"].push("Ryh_1402_34"); gruppen["1402"].push("Ryh_1402_35"); gruppen["1402"].push("Ryh_1402_36"); gruppen["1402"].push("Ryh_1402_37"); gruppen["1402"].push("Ryh_1402_38"); gruppen["1402"].push("Ryh_1402_39"); gruppen["1402"].push("Ryh_1402_40"); gruppen["1402"].push("Ryh_1402_41"); gruppen["1402"].push("Ryh_1402_42"); gruppen["1402"].push("Ryh_1402_43_A"); gruppen["1402"].push("Ryh_1402_43_B"); gruppen["1402"].push("Ryh_1402_44"); gruppen["1402"].push("Ryh_1402_45"); gruppen["1402"].push("Ryh_1402_46"); gruppen["1402"].push("Ryh_1402_47"); gruppen["1402"].push("Ryh_1402_48"); gruppen["1402"].push("Ryh_1402_49"); gruppen["1402"].push("Ryh_1402_50"); gruppen["1402"].push("Ryh_1402_51"); gruppen["1402"].push("Ryh_1402_52"); gruppen["1402"].push("Ryh_1402_53"); gruppen["1402"].push("Ryh_1402_54"); gruppen["1402"].push("Ryh_1402_55"); gruppen["1402"].push("Ryh_1402_56"); gruppen["1402"].push("Ryh_1402_57"); gruppen["1402"].push("Ryh_1402_60"); gruppen["1402"].push("Ryh_1402_61"); gruppen["1402"].push("Ryh_1402_62"); gruppen["1402"].push("Ryh_1402_64"); gruppen["1402"].push("Ryh_1402_67"); gruppen["1402"].push("Ryh_1402_68"); gruppen["1402"].push("Ryh_1402_69"); gruppen["1402"].push("Ryh_1402_70"); gruppen["1403"] = new Array(); gruppen["1403"].push("Ryh_1403_1"); gruppen["1403"].push("Ryh_1403_2"); gruppen["1403"].push("Ryh_1403_3"); gruppen["1403"].push("Ryh_1403_4"); gruppen["1403"].push("Ryh_1403_5_A"); gruppen["1403"].push("Ryh_1403_5_B"); gruppen["1403"].push("Ryh_1403_6"); gruppen["1403"].push("Ryh_1403_7"); gruppen["1403"].push("Ryh_1403_8"); gruppen["1403"].push("Ryh_1403_9"); gruppen["1403"].push("Ryh_1403_10_A"); gruppen["1403"].push("Ryh_1403_10_B"); gruppen["1403"].push("Ryh_1403_10_C"); gruppen["1403"].push("Ryh_1403_11"); gruppen["1403"].push("Ryh_1403_12"); gruppen["1403"].push("Ryh_1403_13"); gruppen["1403"].push("Ryh_1403_14"); gruppen["1404"] = new Array(); gruppen["1404"].push("Ryh_1404_1"); gruppen["1404"].push("Ryh_1404_2"); gruppen["1404"].push("Ryh_1404_3"); gruppen["1404"].push("Ryh_1404_4"); gruppen["1404"].push("Ryh_1404_5"); gruppen["1404"].push("Ryh_1404_6"); gruppen["1404"].push("Ryh_1404_7"); gruppen["1404"].push("Ryh_1404_8"); gruppen["1404"].push("Ryh_1404_9"); gruppen["1404"].push("Ryh_1404_10"); gruppen["1404"].push("Ryh_1404_11"); gruppen["1404"].push("Ryh_1404_12"); gruppen["1404"].push("Ryh_1404_13"); gruppen["1404"].push("Ryh_1404_14"); gruppen["1404"].push("Ryh_1404_15"); gruppen["1404"].push("Ryh_1404_16"); gruppen["1404"].push("Ryh_1404_17"); gruppen["1404"].push("Ryh_1404_18"); gruppen["1404"].push("Ryh_1404_19"); gruppen["1404"].push("Ryh_1404_20"); gruppen["1404"].push("Ryh_1404_21"); gruppen["1404"].push("Ryh_1404_22"); gruppen["1404"].push("Ryh_1404_23"); gruppen["1404"].push("Ryh_1404_24"); gruppen["1404"].push("Ryh_1404_25"); gruppen["1404"].push("Ryh_1404_26"); gruppen["1404"].push("Ryh_1404_27"); gruppen["1404"].push("Ryh_1404_28"); gruppen["1404"].push("Ryh_1404_29"); gruppen["1404"].push("Ryh_1404_30"); gruppen["1404"].push("Ryh_1404_31"); gruppen["1404"].push("Ryh_1404_32"); gruppen["1404"].push("Ryh_1404_33"); gruppen["1404"].push("Ryh_1404_34"); gruppen["1404"].push("Ryh_1404_35"); gruppen["1404"].push("Ryh_1404_36"); gruppen["1404"].push("Ryh_1404_37"); gruppen["1404"].push("Ryh_1404_38"); gruppen["1404"].push("Ryh_1404_39"); gruppen["1404"].push("Ryh_1404_40"); gruppen["1404"].push("Ryh_1404_41"); gruppen["1404"].push("Ryh_1404_42"); gruppen["1404"].push("Ryh_1404_43"); gruppen["1404"].push("Ryh_1404_44"); gruppen["1405"] = new Array(); gruppen["1405"].push("Ryh_1405_1"); gruppen["1405"].push("Ryh_1405_2"); gruppen["1405"].push("Ryh_1405_6"); gruppen["1405"].push("Ryh_1405_8"); gruppen["1405"].push("Ryh_1405_9"); gruppen["1405"].push("Ryh_1405_10"); gruppen["1405"].push("Ryh_1405_21"); gruppen["1405"].push("Ryh_1405_22"); gruppen["1405"].push("Ryh_1405_23"); gruppen["1405"].push("Ryh_1405_24"); gruppen["1405"].push("Ryh_1405_25"); gruppen["1405"].push("Ryh_1405_26"); gruppen["1405"].push("Ryh_1405_27"); gruppen["1405"].push("Ryh_1405_28"); gruppen["1405"].push("Ryh_1405_41"); gruppen["1405"].push("Ryh_1405_43"); gruppen["1405"].push("Ryh_1405_44"); gruppen["1405"].push("Ryh_1405_45"); gruppen["1405"].push("Ryh_1405_46"); gruppen["1405"].push("Ryh_1405_47"); gruppen["1501"] = new Array(); gruppen["1501"].push("Ryh_1501_1"); gruppen["1501"].push("Ryh_1501_2"); gruppen["1501"].push("Ryh_1501_3_A"); gruppen["1501"].push("Ryh_1501_3_B"); gruppen["1501"].push("Ryh_1501_4"); gruppen["1501"].push("Ryh_1501_5_A"); gruppen["1501"].push("Ryh_1501_5_B"); gruppen["1501"].push("Ryh_1501_6"); gruppen["1501"].push("Ryh_1501_7"); gruppen["1501"].push("Ryh_1501_8"); gruppen["1501"].push("Ryh_1501_9"); gruppen["1501"].push("Ryh_1501_10"); gruppen["1501"].push("Ryh_1501_12"); gruppen["1501"].push("Ryh_1501_13"); gruppen["1501"].push("Ryh_1501_14"); gruppen["1501"].push("Ryh_1501_15"); gruppen["1501"].push("Ryh_1501_16"); gruppen["1501"].push("Ryh_1501_17"); gruppen["1501"].push("Ryh_1501_18"); gruppen["1501"].push("Ryh_1501_20"); gruppen["1501"].push("Ryh_1501_21"); gruppen["1501"].push("Ryh_1501_22"); gruppen["1501"].push("Ryh_1501_23"); gruppen["1501"].push("Ryh_1501_31"); gruppen["1501"].push("Ryh_1501_32"); gruppen["1501"].push("Ryh_1501_33"); gruppen["1501"].push("Ryh_1501_34"); gruppen["1501"].push("Ryh_1501_36"); gruppen["1501"].push("Ryh_1501_37"); gruppen["1501"].push("Ryh_1501_38"); gruppen["1501"].push("Ryh_1501_39"); gruppen["1501"].push("Ryh_1501_40"); gruppen["1501"].push("Ryh_1501_41"); gruppen["1501"].push("Ryh_1501_43"); gruppen["1501"].push("Ryh_1501_44"); gruppen["1501"].push("Ryh_1501_48"); gruppen["1501"].push("Ryh_1501_49"); gruppen["1501"].push("Ryh_1501_51"); gruppen["1501"].push("Ryh_1501_53"); gruppen["1501"].push("Ryh_1501_54"); gruppen["1501"].push("Ryh_1501_56"); gruppen["1501"].push("Ryh_1501_57"); gruppen["1501"].push("Ryh_1501_58"); gruppen["1501"].push("Ryh_1501_59"); gruppen["1501"].push("Ryh_1501_60"); gruppen["1502"] = new Array(); gruppen["1502"].push("Ryh_1502_1"); gruppen["1502"].push("Ryh_1502_2"); gruppen["1502"].push("Ryh_1502_3"); gruppen["1502"].push("Ryh_1502_4"); gruppen["1502"].push("Ryh_1502_5"); gruppen["1502"].push("Ryh_1502_6"); gruppen["1502"].push("Ryh_1502_7"); gruppen["1502"].push("Ryh_1502_8"); gruppen["1502"].push("Ryh_1502_9"); gruppen["1502"].push("Ryh_1502_10"); gruppen["1502"].push("Ryh_1502_11"); gruppen["1502"].push("Ryh_1502_12"); gruppen["1502"].push("Ryh_1502_13"); gruppen["1502"].push("Ryh_1502_14"); gruppen["1502"].push("Ryh_1502_16"); gruppen["1502"].push("Ryh_1502_17"); gruppen["1502"].push("Ryh_1502_18"); gruppen["1502"].push("Ryh_1502_19"); gruppen["1503"] = new Array(); gruppen["1503"].push("Ryh_1503_4"); gruppen["1503"].push("Ryh_1503_5"); gruppen["1503"].push("Ryh_1503_6"); gruppen["1503"].push("Ryh_1503_7"); gruppen["1503"].push("Ryh_1503_8"); gruppen["1503"].push("Ryh_1503_9"); gruppen["1503"].push("Ryh_1503_11"); gruppen["1503"].push("Ryh_1503_12"); gruppen["1503"].push("Ryh_1503_13"); gruppen["1503"].push("Ryh_1503_31"); gruppen["1503"].push("Ryh_1503_32"); gruppen["1503"].push("Ryh_1503_33"); gruppen["1503"].push("Ryh_1503_34"); gruppen["1503"].push("Ryh_1503_35"); gruppen["1503"].push("Ryh_1503_36"); gruppen["1503"].push("Ryh_1503_37"); gruppen["1503"].push("Ryh_1503_38"); gruppen["1503"].push("Ryh_1503_41"); gruppen["1503"].push("Ryh_1503_42"); gruppen["1503"].push("Ryh_1503_43"); gruppen["1601"] = new Array(); gruppen["1601"].push("Ryh_1601_1"); gruppen["1601"].push("Ryh_1601_2"); gruppen["1601"].push("Ryh_1601_3_A"); gruppen["1601"].push("Ryh_1601_3_B"); gruppen["1601"].push("Ryh_1601_5_A"); gruppen["1601"].push("Ryh_1601_5_B"); gruppen["1601"].push("Ryh_1601_6"); gruppen["1601"].push("Ryh_1601_7"); gruppen["1601"].push("Ryh_1601_8"); gruppen["1601"].push("Ryh_1601_9"); gruppen["1601"].push("Ryh_1601_10"); gruppen["1601"].push("Ryh_1601_11"); gruppen["1601"].push("Ryh_1601_13"); gruppen["1601"].push("Ryh_1601_14"); gruppen["1601"].push("Ryh_1601_15"); gruppen["1601"].push("Ryh_1601_16"); gruppen["1601"].push("Ryh_1601_17"); gruppen["1601"].push("Ryh_1601_18"); gruppen["1601"].push("Ryh_1601_19"); gruppen["1601"].push("Ryh_1601_20"); gruppen["1601"].push("Ryh_1601_21"); gruppen["1601"].push("Ryh_1601_22"); gruppen["1601"].push("Ryh_1601_23"); gruppen["1601"].push("Ryh_1601_24"); gruppen["1601"].push("Ryh_1601_25"); gruppen["1601"].push("Ryh_1601_26"); gruppen["1601"].push("Ryh_1601_27"); gruppen["1601"].push("Ryh_1601_28"); gruppen["1601"].push("Ryh_1601_29"); gruppen["1601"].push("Ryh_1601_30"); gruppen["1601"].push("Ryh_1601_31"); gruppen["1601"].push("Ryh_1601_32"); gruppen["1601"].push("Ryh_1601_34"); gruppen["1601"].push("Ryh_1601_38"); gruppen["1601"].push("Ryh_1601_39"); gruppen["1601"].push("Ryh_1601_40"); gruppen["1601"].push("Ryh_1601_41"); gruppen["1601"].push("Ryh_1601_42"); gruppen["1601"].push("Ryh_1601_43"); gruppen["1601"].push("Ryh_1601_45"); gruppen["1601"].push("Ryh_1601_47"); gruppen["1601"].push("Ryh_1601_48"); gruppen["1601"].push("Ryh_1601_49"); gruppen["1601"].push("Ryh_1601_50"); gruppen["1601"].push("Ryh_1601_51"); gruppen["1601"].push("Ryh_1601_52"); gruppen["1601"].push("Ryh_1601_57"); gruppen["1601"].push("Ryh_1601_58"); gruppen["1601"].push("Ryh_1601_59"); gruppen["1601"].push("Ryh_1601_60"); gruppen["1602"] = new Array(); gruppen["1602"].push("Ryh_1602_1"); gruppen["1602"].push("Ryh_1602_2"); gruppen["1602"].push("Ryh_1602_3"); gruppen["1602"].push("Ryh_1602_4"); gruppen["1602"].push("Ryh_1602_5"); gruppen["1602"].push("Ryh_1602_6"); gruppen["1602"].push("Ryh_1602_7"); gruppen["1602"].push("Ryh_1602_8"); gruppen["1602"].push("Ryh_1602_9"); gruppen["1602"].push("Ryh_1602_10"); gruppen["1602"].push("Ryh_1602_13_A"); gruppen["1602"].push("Ryh_1602_13_B"); gruppen["1602"].push("Ryh_1602_14"); gruppen["1602"].push("Ryh_1602_15"); gruppen["1602"].push("Ryh_1602_16"); gruppen["1602"].push("Ryh_1602_17"); gruppen["1602"].push("Ryh_1602_18"); gruppen["1602"].push("Ryh_1602_20"); gruppen["1602"].push("Ryh_1602_21"); gruppen["1602"].push("Ryh_1602_22"); gruppen["1602"].push("Ryh_1602_23"); gruppen["1602"].push("Ryh_1602_24"); gruppen["1602"].push("Ryh_1602_25"); gruppen["1602"].push("Ryh_1602_26"); gruppen["1602"].push("Ryh_1602_28"); gruppen["1602"].push("Ryh_1602_29"); gruppen["1602"].push("Ryh_1602_30"); gruppen["1602"].push("Ryh_1602_31"); gruppen["1602"].push("Ryh_1602_32"); gruppen["1602"].push("Ryh_1602_33"); gruppen["1602"].push("Ryh_1602_35"); gruppen["1602"].push("Ryh_1602_36"); gruppen["1602"].push("Ryh_1602_37"); gruppen["1602"].push("Ryh_1602_38"); gruppen["1602"].push("Ryh_1602_39"); gruppen["1604"] = new Array(); gruppen["1604"].push("Ryh_1604_5"); gruppen["1604"].push("Ryh_1604_6"); gruppen["1604"].push("Ryh_1604_7"); gruppen["1604"].push("Ryh_1604_8"); gruppen["1604"].push("Ryh_1604_9"); gruppen["1604"].push("Ryh_1604_10"); gruppen["1604"].push("Ryh_1604_11"); gruppen["1604"].push("Ryh_1604_12"); gruppen["1604"].push("Ryh_1604_13"); gruppen["1604"].push("Ryh_1604_14"); gruppen["1604"].push("Ryh_1604_15"); gruppen["1604"].push("Ryh_1604_16"); gruppen["1604"].push("Ryh_1604_17"); gruppen["1604"].push("Ryh_1604_18"); gruppen["1604"].push("Ryh_1604_19"); gruppen["1604"].push("Ryh_1604_20"); gruppen["1604"].push("Ryh_1604_21"); gruppen["1604"].push("Ryh_1604_22"); gruppen["1604"].push("Ryh_1604_32"); gruppen["1604"].push("Ryh_1604_33"); gruppen["1604"].push("Ryh_1604_34"); gruppen["1604"].push("Ryh_1604_35"); gruppen["1604"].push("Ryh_1604_36"); gruppen["1604"].push("Ryh_1604_37"); gruppen["1604"].push("Ryh_1604_38"); gruppen["1604"].push("Ryh_1604_39"); gruppen["1604"].push("Ryh_1604_40"); gruppen["1604"].push("Ryh_1604_41"); gruppen["1604"].push("Ryh_1604_42"); gruppen["1604"].push("Ryh_1604_43"); gruppen["1604"].push("Ryh_1604_44"); gruppen["1604"].push("Ryh_1604_45"); gruppen["1604"].push("Ryh_1604_46"); gruppen["1604"].push("Ryh_1604_47"); gruppen["1604"].push("Ryh_1604_48"); gruppen["1604"].push("Ryh_1604_49"); gruppen["1604"].push("Ryh_1604_50"); gruppen["1604"].push("Ryh_1604_51"); gruppen["1604"].push("Ryh_1604_52"); gruppen["1604"].push("Ryh_1604_53"); gruppen["1604"].push("Ryh_1604_54"); gruppen["1604"].push("Ryh_1604_55"); gruppen["1604"].push("Ryh_1604_56"); gruppen["1604"].push("Ryh_1604_57"); gruppen["1604"].push("Ryh_1604_58"); gruppen["1604"].push("Ryh_1604_59"); gruppen["1606"] = new Array(); gruppen["1606"].push("Ryh_1606_1"); gruppen["1606"].push("Ryh_1606_4"); gruppen["1606"].push("Ryh_1606_6"); gruppen["1606"].push("Ryh_1606_7"); gruppen["1606"].push("Ryh_1606_8"); gruppen["1606"].push("Ryh_1606_9"); gruppen["1606"].push("Ryh_1606_10"); gruppen["1606"].push("Ryh_1606_11"); gruppen["1606"].push("Ryh_1606_12"); gruppen["1606"].push("Ryh_1606_13"); gruppen["1606"].push("Ryh_1606_14"); gruppen["1606"].push("Ryh_1606_21"); gruppen["1606"].push("Ryh_1606_22"); gruppen["1606"].push("Ryh_1606_28"); gruppen["1606"].push("Ryh_1606_29"); gruppen["1606"].push("Ryh_1606_31"); gruppen["1606"].push("Ryh_1606_32"); gruppen["1606"].push("Ryh_1606_33"); gruppen["1606"].push("Ryh_1606_34"); gruppen["1606"].push("Ryh_1606_35"); gruppen["1606"].push("Ryh_1606_36"); gruppen["1607"] = new Array(); gruppen["1607"].push("Ryh_1607_1_A"); gruppen["1607"].push("Ryh_1607_1_B"); gruppen["1607"].push("Ryh_1607_1_C"); gruppen["1607"].push("Ryh_1607_1_D"); gruppen["1607"].push("Ryh_1607_2_A"); gruppen["1607"].push("Ryh_1607_2_B"); gruppen["1607"].push("Ryh_1607_2_C"); gruppen["1607"].push("Ryh_1607_2_D"); gruppen["1607"].push("Ryh_1607_3"); gruppen["1607"].push("Ryh_1607_4"); gruppen["1607"].push("Ryh_1607_5"); gruppen["1607"].push("Ryh_1607_6"); gruppen["1607"].push("Ryh_1607_7"); gruppen["1607"].push("Ryh_1607_9"); gruppen["1607"].push("Ryh_1607_10"); gruppen["1607"].push("Ryh_1607_11"); gruppen["1607"].push("Ryh_1607_12"); gruppen["1607"].push("Ryh_1607_13"); gruppen["1607"].push("Ryh_1607_14"); gruppen["1607"].push("Ryh_1607_15"); gruppen["1607"].push("Ryh_1607_16"); gruppen["1607"].push("Ryh_1607_17"); gruppen["1607"].push("Ryh_1607_18"); gruppen["1607"].push("Ryh_1607_19"); gruppen["1607"].push("Ryh_1607_27"); gruppen["1607"].push("Ryh_1607_28"); gruppen["1607"].push("Ryh_1607_29"); gruppen["1607"].push("Ryh_1607_41"); gruppen["1607"].push("Ryh_1607_42"); gruppen["1607"].push("Ryh_1607_43"); gruppen["1608"] = new Array(); gruppen["1608"].push("Ryh_1608_1"); gruppen["1608"].push("Ryh_1608_2_A"); gruppen["1608"].push("Ryh_1608_2_B"); gruppen["1608"].push("Ryh_1608_3"); gruppen["1608"].push("Ryh_1608_4"); gruppen["1608"].push("Ryh_1608_5"); gruppen["1608"].push("Ryh_1608_9"); gruppen["1608"].push("Ryh_1608_12"); gruppen["1608"].push("Ryh_1608_13"); gruppen["1608"].push("Ryh_1608_14"); gruppen["1608"].push("Ryh_1608_21"); gruppen["1608"].push("Ryh_1608_22"); gruppen["1608"].push("Ryh_1608_23"); gruppen["1608"].push("Ryh_1608_24"); gruppen["1608"].push("Ryh_1608_25"); gruppen["1608"].push("Ryh_1608_26"); gruppen["1608"].push("Ryh_1608_27"); gruppen["1608"].push("Ryh_1608_28"); gruppen["1608"].push("Ryh_1608_29"); gruppen["1608"].push("Ryh_1608_30"); gruppen["1608"].push("Ryh_1608_31"); gruppen["1608"].push("Ryh_1608_32"); gruppen["1608"].push("Ryh_1608_33"); gruppen["1608"].push("Ryh_1608_34"); gruppen["1608"].push("Ryh_1608_35"); gruppen["1608"].push("Ryh_1608_36"); gruppen["1608"].push("Ryh_1608_37"); gruppen["1608"].push("Ryh_1608_38"); gruppen["1608"].push("Ryh_1608_51"); gruppen["1608"].push("Ryh_1608_52"); gruppen["1609"] = new Array(); gruppen["1609"].push("Ryh_1609_1_A"); gruppen["1609"].push("Ryh_1609_1_B"); gruppen["1609"].push("Ryh_1609_2"); gruppen["1609"].push("Ryh_1609_3"); gruppen["1609"].push("Ryh_1609_4"); gruppen["1609"].push("Ryh_1609_6"); gruppen["1609"].push("Ryh_1609_11"); gruppen["1609"].push("Ryh_1609_12"); gruppen["1609"].push("Ryh_1609_13"); gruppen["1609"].push("Ryh_1609_14"); gruppen["1609"].push("Ryh_1609_15"); gruppen["1609"].push("Ryh_1609_16"); gruppen["1609"].push("Ryh_1609_17"); gruppen["1609"].push("Ryh_1609_18"); gruppen["1609"].push("Ryh_1609_19"); gruppen["1609"].push("Ryh_1609_20"); gruppen["1609"].push("Ryh_1609_21"); gruppen["1609"].push("Ryh_1609_22"); gruppen["1609"].push("Ryh_1609_31"); gruppen["1609"].push("Ryh_1609_32"); gruppen["1609"].push("Ryh_1609_33"); gruppen["1609"].push("Ryh_1609_34"); gruppen["1609"].push("Ryh_1609_42_A"); gruppen["1609"].push("Ryh_1609_42_B"); gruppen["1609"].push("Ryh_1609_43"); gruppen["1609"].push("Ryh_1609_44"); gruppen["1609"].push("Ryh_1609_45"); gruppen["1609"].push("Ryh_1609_48"); gruppen["1609"].push("Ryh_1609_49"); gruppen["1609"].push("Ryh_1609_50"); gruppen["1609"].push("Ryh_1609_51"); gruppen["1609"].push("Ryh_1609_52"); gruppen["1610"] = new Array(); gruppen["1610"].push("Ryh_1610_1"); gruppen["1610"].push("Ryh_1610_2"); gruppen["1610"].push("Ryh_1610_3"); gruppen["1610"].push("Ryh_1610_4"); gruppen["1610"].push("Ryh_1610_5"); gruppen["1610"].push("Ryh_1610_6"); gruppen["1610"].push("Ryh_1610_9"); gruppen["1610"].push("Ryh_1610_10"); gruppen["1610"].push("Ryh_1610_11"); gruppen["1610"].push("Ryh_1610_12"); gruppen["1610"].push("Ryh_1610_22"); gruppen["1610"].push("Ryh_1610_23"); gruppen["1610"].push("Ryh_1610_24"); gruppen["1610"].push("Ryh_1610_26"); gruppen["1610"].push("Ryh_1610_27"); gruppen["1610"].push("Ryh_1610_28"); gruppen["1610"].push("Ryh_1610_31"); gruppen["1610"].push("Ryh_1610_32"); gruppen["1610"].push("Ryh_1610_36"); gruppen["1611"] = new Array(); gruppen["1611"].push("Ryh_1611_1"); gruppen["1611"].push("Ryh_1611_2_A"); gruppen["1611"].push("Ryh_1611_2_B"); gruppen["1611"].push("Ryh_1611_3"); gruppen["1611"].push("Ryh_1611_4"); gruppen["1611"].push("Ryh_1611_6"); gruppen["1611"].push("Ryh_1611_7"); gruppen["1611"].push("Ryh_1611_10"); gruppen["1611"].push("Ryh_1611_21"); gruppen["1611"].push("Ryh_1611_22"); gruppen["1611"].push("Ryh_1611_23"); gruppen["1611"].push("Ryh_1611_24"); gruppen["1611"].push("Ryh_1611_25"); gruppen["1611"].push("Ryh_1611_42"); gruppen["1611"].push("Ryh_1611_43"); gruppen["1611"].push("Ryh_1611_45"); gruppen["1611"].push("Ryh_1611_46"); gruppen["1611"].push("Ryh_1611_47"); gruppen["1612"] = new Array(); gruppen["1612"].push("Ryh_1612_1"); gruppen["1612"].push("Ryh_1612_2_A"); gruppen["1612"].push("Ryh_1612_2_B"); gruppen["1612"].push("Ryh_1612_3"); gruppen["1612"].push("Ryh_1612_4"); gruppen["1612"].push("Ryh_1612_5"); gruppen["1612"].push("Ryh_1612_7"); gruppen["1612"].push("Ryh_1612_8"); gruppen["1612"].push("Ryh_1612_9"); gruppen["1612"].push("Ryh_1612_10"); gruppen["1612"].push("Ryh_1612_12"); gruppen["1612"].push("Ryh_1612_14"); gruppen["1612"].push("Ryh_1612_15"); gruppen["1612"].push("Ryh_1612_16"); gruppen["1612"].push("Ryh_1612_17"); gruppen["1612"].push("Ryh_1612_27"); gruppen["1612"].push("Ryh_1612_28"); gruppen["1612"].push("Ryh_1612_29"); gruppen["1612"].push("Ryh_1612_30"); gruppen["1612"].push("Ryh_1612_41"); gruppen["1612"].push("Ryh_1612_42_A"); gruppen["1612"].push("Ryh_1612_42_B"); gruppen["1612"].push("Ryh_1612_43"); gruppen["1612"].push("Ryh_1612_44"); gruppen["1612"].push("Ryh_1612_45"); gruppen["1612"].push("Ryh_1612_49"); gruppen["1612"].push("Ryh_1612_50"); gruppen["1612"].push("Ryh_1612_52"); gruppen["1612"].push("Ryh_1612_53"); gruppen["1612"].push("Ryh_1612_54"); gruppen["1613"] = new Array(); gruppen["1613"].push("Ryh_1613_1_A"); gruppen["1613"].push("Ryh_1613_1_B"); gruppen["1613"].push("Ryh_1613_1_C"); gruppen["1613"].push("Ryh_1613_2"); gruppen["1613"].push("Ryh_1613_3"); gruppen["1613"].push("Ryh_1613_4"); gruppen["1613"].push("Ryh_1613_6"); gruppen["1613"].push("Ryh_1613_7"); gruppen["1613"].push("Ryh_1613_8"); gruppen["1613"].push("Ryh_1613_10"); gruppen["1613"].push("Ryh_1613_13"); gruppen["1613"].push("Ryh_1613_14"); gruppen["1613"].push("Ryh_1613_15"); gruppen["1613"].push("Ryh_1613_16"); gruppen["1613"].push("Ryh_1613_17"); gruppen["1613"].push("Ryh_1613_18"); gruppen["1613"].push("Ryh_1613_21"); gruppen["1613"].push("Ryh_1613_22"); gruppen["1613"].push("Ryh_1613_23"); gruppen["1613"].push("Ryh_1613_25"); gruppen["1613"].push("Ryh_1613_29"); gruppen["1613"].push("Ryh_1613_30"); gruppen["1613"].push("Ryh_1613_31"); gruppen["1613"].push("Ryh_1613_32"); gruppen["1613"].push("Ryh_1613_33"); gruppen["1613"].push("Ryh_1613_36"); gruppen["1613"].push("Ryh_1613_37"); gruppen["1613"].push("Ryh_1613_38"); gruppen["1613"].push("Ryh_1613_39"); gruppen["1614"] = new Array(); gruppen["1614"].push("Ryh_1614_1"); gruppen["1614"].push("Ryh_1614_7"); gruppen["1614"].push("Ryh_1614_8"); gruppen["1614"].push("Ryh_1614_9"); gruppen["1614"].push("Ryh_1614_10"); gruppen["1614"].push("Ryh_1614_11"); gruppen["1614"].push("Ryh_1614_12"); gruppen["1614"].push("Ryh_1614_13"); gruppen["1614"].push("Ryh_1614_14"); gruppen["1614"].push("Ryh_1614_15"); gruppen["1614"].push("Ryh_1614_16"); gruppen["1614"].push("Ryh_1614_17"); gruppen["1614"].push("Ryh_1614_31"); gruppen["1614"].push("Ryh_1614_32"); gruppen["1614"].push("Ryh_1614_34"); gruppen["1615"] = new Array(); gruppen["1615"].push("Ryh_1615_1"); gruppen["1615"].push("Ryh_1615_2"); gruppen["1615"].push("Ryh_1615_3"); gruppen["1615"].push("Ryh_1615_4"); gruppen["1615"].push("Ryh_1615_6"); gruppen["1615"].push("Ryh_1615_7"); gruppen["1615"].push("Ryh_1615_8"); gruppen["1615"].push("Ryh_1615_9"); gruppen["1615"].push("Ryh_1615_10"); gruppen["1615"].push("Ryh_1615_11"); gruppen["1615"].push("Ryh_1615_21"); gruppen["1615"].push("Ryh_1615_22"); gruppen["1615"].push("Ryh_1615_23"); gruppen["1615"].push("Ryh_1615_24"); gruppen["1615"].push("Ryh_1615_26"); gruppen["1615"].push("Ryh_1615_27"); gruppen["1615"].push("Ryh_1615_28"); gruppen["1615"].push("Ryh_1615_29"); gruppen["1615"].push("Ryh_1615_30"); gruppen["1615"].push("Ryh_1615_31"); gruppen["1615"].push("Ryh_1615_32"); gruppen["1615"].push("Ryh_1615_33"); gruppen["1615"].push("Ryh_1615_34"); gruppen["1615"].push("Ryh_1615_35"); gruppen["1616"] = new Array(); gruppen["1616"].push("Ryh_1616_1"); gruppen["1616"].push("Ryh_1616_2"); gruppen["1616"].push("Ryh_1616_3"); gruppen["1616"].push("Ryh_1616_4"); gruppen["1616"].push("Ryh_1616_5"); gruppen["1616"].push("Ryh_1616_6"); gruppen["1616"].push("Ryh_1616_7"); gruppen["1616"].push("Ryh_1616_8"); gruppen["1616"].push("Ryh_1616_9"); gruppen["1616"].push("Ryh_1616_10"); gruppen["1616"].push("Ryh_1616_11"); gruppen["1616"].push("Ryh_1616_12"); gruppen["1616"].push("Ryh_1616_13"); gruppen["1616"].push("Ryh_1616_14"); gruppen["1616"].push("Ryh_1616_15"); gruppen["1616"].push("Ryh_1616_16"); gruppen["1616"].push("Ryh_1616_17"); gruppen["1616"].push("Ryh_1616_18"); gruppen["1616"].push("Ryh_1616_19"); gruppen["1616"].push("Ryh_1616_20"); gruppen["1616"].push("Ryh_1616_21"); gruppen["1616"].push("Ryh_1616_22"); gruppen["1616"].push("Ryh_1616_23"); gruppen["1616"].push("Ryh_1616_24"); gruppen["1616"].push("Ryh_1616_25"); gruppen["1616"].push("Ryh_1616_26"); gruppen["1616"].push("Ryh_1616_27"); gruppen["1616"].push("Ryh_1616_28"); gruppen["1616"].push("Ryh_1616_29"); gruppen["1616"].push("Ryh_1616_30"); gruppen["1616"].push("Ryh_1616_31_A"); gruppen["1616"].push("Ryh_1616_31_B"); gruppen["1616"].push("Ryh_1616_31_C"); gruppen["1616"].push("Ryh_1616_31_D"); gruppen["1616"].push("Ryh_1616_31_E"); gruppen["1616"].push("Ryh_1616_31_F"); gruppen["1616"].push("Ryh_1616_31_G"); gruppen["1616"].push("Ryh_1616_31_H"); gruppen["1616"].push("Ryh_1616_31_I"); gruppen["1616"].push("Ryh_1616_32_A"); gruppen["1616"].push("Ryh_1616_32_B"); gruppen["1616"].push("Ryh_1616_32_C"); gruppen["1616"].push("Ryh_1616_32_D"); gruppen["1616"].push("Ryh_1616_32_E"); gruppen["1616"].push("Ryh_1616_32_F"); gruppen["1616"].push("Ryh_1616_32_G"); gruppen["1616"].push("Ryh_1616_32_H"); gruppen["1616"].push("Ryh_1616_32_I"); gruppen["1616"].push("Ryh_1616_33_A"); gruppen["1616"].push("Ryh_1616_33_B"); gruppen["1616"].push("Ryh_1616_33_C"); gruppen["1616"].push("Ryh_1616_33_D"); gruppen["1616"].push("Ryh_1616_33_E"); gruppen["1616"].push("Ryh_1616_33_F"); gruppen["1616"].push("Ryh_1616_33_G"); gruppen["1616"].push("Ryh_1616_33_H"); gruppen["1616"].push("Ryh_1616_33_I"); gruppen["1616"].push("Ryh_1616_34_A"); gruppen["1616"].push("Ryh_1616_34_B"); gruppen["1616"].push("Ryh_1616_34_C"); gruppen["1616"].push("Ryh_1616_34_D"); gruppen["1616"].push("Ryh_1616_34_E"); gruppen["1616"].push("Ryh_1616_34_F"); gruppen["1616"].push("Ryh_1616_34_G"); gruppen["1616"].push("Ryh_1616_34_H"); gruppen["1616"].push("Ryh_1616_34_I"); gruppen["1616"].push("Ryh_1616_35_A"); gruppen["1616"].push("Ryh_1616_35_B"); gruppen["1616"].push("Ryh_1616_35_C"); gruppen["1616"].push("Ryh_1616_35_D"); gruppen["1616"].push("Ryh_1616_35_E"); gruppen["1616"].push("Ryh_1616_35_F"); gruppen["1616"].push("Ryh_1616_35_G"); gruppen["1616"].push("Ryh_1616_35_H"); gruppen["1616"].push("Ryh_1616_35_I"); gruppen["1616"].push("Ryh_1616_36_A"); gruppen["1616"].push("Ryh_1616_36_B"); gruppen["1616"].push("Ryh_1616_36_C"); gruppen["1616"].push("Ryh_1616_36_D"); gruppen["1616"].push("Ryh_1616_36_E"); gruppen["1616"].push("Ryh_1616_36_F"); gruppen["1616"].push("Ryh_1616_36_G"); gruppen["1616"].push("Ryh_1616_36_H"); gruppen["1616"].push("Ryh_1616_36_I"); gruppen["1616"].push("Ryh_1616_37_A"); gruppen["1616"].push("Ryh_1616_37_B"); gruppen["1616"].push("Ryh_1616_37_C"); gruppen["1616"].push("Ryh_1616_37_D"); gruppen["1616"].push("Ryh_1616_37_E"); gruppen["1616"].push("Ryh_1616_37_F"); gruppen["1616"].push("Ryh_1616_37_G"); gruppen["1616"].push("Ryh_1616_37_H"); gruppen["1616"].push("Ryh_1616_37_I"); gruppen["1616"].push("Ryh_1616_38_A"); gruppen["1616"].push("Ryh_1616_38_B"); gruppen["1616"].push("Ryh_1616_38_C"); gruppen["1616"].push("Ryh_1616_38_D"); gruppen["1616"].push("Ryh_1616_38_E"); gruppen["1616"].push("Ryh_1616_38_F"); gruppen["1616"].push("Ryh_1616_38_G"); gruppen["1616"].push("Ryh_1616_38_H"); gruppen["1616"].push("Ryh_1616_38_I"); gruppen["1616"].push("Ryh_1616_39_A"); gruppen["1616"].push("Ryh_1616_39_B"); gruppen["1616"].push("Ryh_1616_39_C"); gruppen["1616"].push("Ryh_1616_39_D"); gruppen["1616"].push("Ryh_1616_39_E"); gruppen["1616"].push("Ryh_1616_39_F"); gruppen["1616"].push("Ryh_1616_39_G"); gruppen["1616"].push("Ryh_1616_39_H"); gruppen["1616"].push("Ryh_1616_39_I"); gruppen["1616"].push("Ryh_1616_40"); gruppen["1616"].push("Ryh_1616_41"); gruppen["1616"].push("Ryh_1616_42"); gruppen["1616"].push("Ryh_1616_43"); gruppen["1616"].push("Ryh_1616_44"); gruppen["1616"].push("Ryh_1616_45"); gruppen["1616"].push("Ryh_1616_46"); gruppen["1616"].push("Ryh_1616_47"); gruppen["1616"].push("Ryh_1616_48"); gruppen["1617"] = new Array(); gruppen["1617"].push("Ryh_1617_1"); gruppen["1617"].push("Ryh_1617_2"); gruppen["1617"].push("Ryh_1617_3"); gruppen["1617"].push("Ryh_1617_4"); gruppen["1617"].push("Ryh_1617_11"); gruppen["1617"].push("Ryh_1617_12"); gruppen["1617"].push("Ryh_1617_21"); gruppen["1617"].push("Ryh_1617_22"); gruppen["1617"].push("Ryh_1617_31"); gruppen["1617"].push("Ryh_1617_32"); gruppen["1617"].push("Ryh_1617_33_A"); gruppen["1617"].push("Ryh_1617_33_B"); gruppen["1617"].push("Ryh_1617_43"); gruppen["1618"] = new Array(); gruppen["1618"].push("Ryh_1618_3"); gruppen["1618"].push("Ryh_1618_4"); gruppen["1618"].push("Ryh_1618_9"); gruppen["1618"].push("Ryh_1618_10"); gruppen["1618"].push("Ryh_1618_11"); gruppen["1618"].push("Ryh_1618_12"); gruppen["1618"].push("Ryh_1618_13"); gruppen["1618"].push("Ryh_1618_14"); gruppen["1618"].push("Ryh_1618_15"); gruppen["1618"].push("Ryh_1618_16"); gruppen["1618"].push("Ryh_1618_17"); gruppen["1618"].push("Ryh_1618_18"); gruppen["1618"].push("Ryh_1618_20"); gruppen["1618"].push("Ryh_1618_21"); gruppen["1618"].push("Ryh_1618_22"); gruppen["1618"].push("Ryh_1618_25"); gruppen["1618"].push("Ryh_1618_26"); gruppen["1618"].push("Ryh_1618_27"); gruppen["1618"].push("Ryh_1618_28"); gruppen["1618"].push("Ryh_1618_29"); gruppen["1618"].push("Ryh_1618_30_A"); gruppen["1618"].push("Ryh_1618_30_B"); gruppen["1618"].push("Ryh_1618_31"); gruppen["1618"].push("Ryh_1618_32"); gruppen["1618"].push("Ryh_1618_33"); gruppen["1618"].push("Ryh_1618_34"); gruppen["1618"].push("Ryh_1618_35"); gruppen["1618"].push("Ryh_1618_36_A"); gruppen["1618"].push("Ryh_1618_36_B"); gruppen["1618"].push("Ryh_1618_37_A"); gruppen["1618"].push("Ryh_1618_37_B"); gruppen["1618"].push("Ryh_1618_38_A"); gruppen["1618"].push("Ryh_1618_38_B"); gruppen["1618"].push("Ryh_1618_39"); gruppen["1618"].push("Ryh_1618_40"); gruppen["1701"] = new Array(); gruppen["1701"].push("Ryh_1701_1"); gruppen["1701"].push("Ryh_1701_2"); gruppen["1701"].push("Ryh_1701_4"); gruppen["1701"].push("Ryh_1701_5"); gruppen["1701"].push("Ryh_1701_6_A"); gruppen["1701"].push("Ryh_1701_6_B"); gruppen["1701"].push("Ryh_1701_7"); gruppen["1701"].push("Ryh_1701_8"); gruppen["1701"].push("Ryh_1701_9"); gruppen["1701"].push("Ryh_1701_11"); gruppen["1701"].push("Ryh_1701_13"); gruppen["1701"].push("Ryh_1701_14"); gruppen["1701"].push("Ryh_1701_15"); gruppen["1701"].push("Ryh_1701_16"); gruppen["1701"].push("Ryh_1701_17"); gruppen["1701"].push("Ryh_1701_18"); gruppen["1701"].push("Ryh_1701_19"); gruppen["1701"].push("Ryh_1701_20"); gruppen["1701"].push("Ryh_1701_21_A"); gruppen["1701"].push("Ryh_1701_21_B"); gruppen["1701"].push("Ryh_1701_22"); gruppen["1701"].push("Ryh_1701_23"); gruppen["1701"].push("Ryh_1701_24"); gruppen["1701"].push("Ryh_1701_25"); gruppen["1701"].push("Ryh_1701_26"); gruppen["1701"].push("Ryh_1701_27"); gruppen["1701"].push("Ryh_1701_29"); gruppen["1701"].push("Ryh_1701_30"); gruppen["1701"].push("Ryh_1701_34"); gruppen["1701"].push("Ryh_1701_35"); gruppen["1701"].push("Ryh_1701_36"); gruppen["1701"].push("Ryh_1701_43"); gruppen["1701"].push("Ryh_1701_44"); gruppen["1701"].push("Ryh_1701_45"); gruppen["1701"].push("Ryh_1701_46"); gruppen["1701"].push("Ryh_1701_47"); gruppen["1701"].push("Ryh_1701_48"); gruppen["1701"].push("Ryh_1701_49"); gruppen["1701"].push("Ryh_1701_50"); gruppen["1701"].push("Ryh_1701_51"); gruppen["1701"].push("Ryh_1701_52"); gruppen["1701"].push("Ryh_1701_53"); gruppen["1701"].push("Ryh_1701_55"); gruppen["1701"].push("Ryh_1701_56"); gruppen["1701"].push("Ryh_1701_57"); gruppen["1701"].push("Ryh_1701_58"); gruppen["1701"].push("Ryh_1701_59"); gruppen["1701"].push("Ryh_1701_60"); gruppen["1702"] = new Array(); gruppen["1702"].push("Ryh_1702_1"); gruppen["1702"].push("Ryh_1702_2"); gruppen["1702"].push("Ryh_1702_2_A"); gruppen["1702"].push("Ryh_1702_2_B"); gruppen["1702"].push("Ryh_1702_3"); gruppen["1702"].push("Ryh_1702_4"); gruppen["1702"].push("Ryh_1702_5"); gruppen["1702"].push("Ryh_1702_6"); gruppen["1702"].push("Ryh_1702_7"); gruppen["1702"].push("Ryh_1702_8"); gruppen["1702"].push("Ryh_1702_10"); gruppen["1702"].push("Ryh_1702_11"); gruppen["1702"].push("Ryh_1702_13"); gruppen["1702"].push("Ryh_1702_14"); gruppen["1702"].push("Ryh_1702_15"); gruppen["1702"].push("Ryh_1702_16"); gruppen["1702"].push("Ryh_1702_17"); gruppen["1702"].push("Ryh_1702_18"); gruppen["1702"].push("Ryh_1702_20"); gruppen["1702"].push("Ryh_1702_21"); gruppen["1702"].push("Ryh_1702_22"); gruppen["1702"].push("Ryh_1702_23"); gruppen["1702"].push("Ryh_1702_24"); gruppen["1702"].push("Ryh_1702_25"); gruppen["1702"].push("Ryh_1702_26_A"); gruppen["1702"].push("Ryh_1702_26_B"); gruppen["1702"].push("Ryh_1702_27"); gruppen["1702"].push("Ryh_1702_28"); gruppen["1702"].push("Ryh_1702_29"); gruppen["1702"].push("Ryh_1702_30"); gruppen["1702"].push("Ryh_1702_31"); gruppen["1702"].push("Ryh_1702_33"); gruppen["1702"].push("Ryh_1702_34"); gruppen["1702"].push("Ryh_1702_35"); gruppen["1702"].push("Ryh_1702_36"); gruppen["1702"].push("Ryh_1702_37"); gruppen["1704"] = new Array(); gruppen["1704"].push("Ryh_1704_1"); gruppen["1704"].push("Ryh_1704_2"); gruppen["1704"].push("Ryh_1704_3"); gruppen["1704"].push("Ryh_1704_4"); gruppen["1704"].push("Ryh_1704_6"); gruppen["1704"].push("Ryh_1704_7"); gruppen["1704"].push("Ryh_1704_8"); gruppen["1704"].push("Ryh_1704_9"); gruppen["1704"].push("Ryh_1704_10"); gruppen["1704"].push("Ryh_1704_11_A"); gruppen["1704"].push("Ryh_1704_11_B"); gruppen["1704"].push("Ryh_1704_12"); gruppen["1704"].push("Ryh_1704_13"); gruppen["1704"].push("Ryh_1704_21"); gruppen["1704"].push("Ryh_1704_22"); gruppen["1704"].push("Ryh_1704_31"); gruppen["1704"].push("Ryh_1704_32"); gruppen["1704"].push("Ryh_1704_33"); gruppen["1704"].push("Ryh_1704_43"); gruppen["1704"].push("Ryh_1704_44"); gruppen["1704"].push("Ryh_1704_45"); gruppen["1704"].push("Ryh_1704_46"); gruppen["1704"].push("Ryh_1704_47"); gruppen["1704"].push("Ryh_1704_48"); gruppen["1704"].push("Ryh_1704_51"); gruppen["1704"].push("Ryh_1704_52"); gruppen["1704"].push("Ryh_1704_53"); gruppen["1704"].push("Ryh_1704_54"); gruppen["1704"].push("Ryh_1704_55"); gruppen["1704"].push("Ryh_1704_56"); gruppen["1704"].push("Ryh_1704_57"); gruppen["1704"].push("Ryh_1704_58"); gruppen["1704"].push("Ryh_1704_59"); gruppen["1704"].push("Ryh_1704_60"); gruppen["1801"] = new Array(); gruppen["1801"].push("Ryh_1801_1"); gruppen["1801"].push("Ryh_1801_2"); gruppen["1801"].push("Ryh_1801_3_A"); gruppen["1801"].push("Ryh_1801_3_B"); gruppen["1801"].push("Ryh_1801_5"); gruppen["1801"].push("Ryh_1801_6"); gruppen["1801"].push("Ryh_1801_8"); gruppen["1801"].push("Ryh_1801_9"); gruppen["1801"].push("Ryh_1801_12"); gruppen["1801"].push("Ryh_1801_13"); gruppen["1801"].push("Ryh_1801_14"); gruppen["1801"].push("Ryh_1801_15"); gruppen["1801"].push("Ryh_1801_16"); gruppen["1801"].push("Ryh_1801_17"); gruppen["1801"].push("Ryh_1801_19_A"); gruppen["1801"].push("Ryh_1801_19_B"); gruppen["1801"].push("Ryh_1801_20"); gruppen["1801"].push("Ryh_1801_21"); gruppen["1801"].push("Ryh_1801_22"); gruppen["1801"].push("Ryh_1801_25"); gruppen["1801"].push("Ryh_1801_26"); gruppen["1801"].push("Ryh_1801_28"); gruppen["1801"].push("Ryh_1801_29"); gruppen["1801"].push("Ryh_1801_30"); gruppen["1801"].push("Ryh_1801_31"); gruppen["1801"].push("Ryh_1801_32"); gruppen["1801"].push("Ryh_1801_33"); gruppen["1801"].push("Ryh_1801_34"); gruppen["1801"].push("Ryh_1801_35"); gruppen["1801"].push("Ryh_1801_36"); gruppen["1801"].push("Ryh_1801_37"); gruppen["1801"].push("Ryh_1801_38"); gruppen["1801"].push("Ryh_1801_39"); gruppen["1801"].push("Ryh_1801_40"); gruppen["1801"].push("Ryh_1801_41"); gruppen["1801"].push("Ryh_1801_43"); gruppen["1801"].push("Ryh_1801_44"); gruppen["1801"].push("Ryh_1801_45"); gruppen["1801"].push("Ryh_1801_46"); gruppen["1801"].push("Ryh_1801_47"); gruppen["1801"].push("Ryh_1801_48"); gruppen["1801"].push("Ryh_1801_49"); gruppen["1801"].push("Ryh_1801_50"); gruppen["1801"].push("Ryh_1801_52"); gruppen["1801"].push("Ryh_1801_53"); gruppen["1801"].push("Ryh_1801_54"); gruppen["1801"].push("Ryh_1801_55"); gruppen["1801"].push("Ryh_1801_56"); gruppen["1801"].push("Ryh_1801_57"); gruppen["1801"].push("Ryh_1801_58"); gruppen["1801"].push("Ryh_1801_58_A"); gruppen["1801"].push("Ryh_1801_58_B"); gruppen["1801"].push("Ryh_1801_58_C"); gruppen["1801"].push("Ryh_1801_59"); gruppen["1803"] = new Array(); gruppen["1803"].push("Ryh_1803_1"); gruppen["1803"].push("Ryh_1803_2"); gruppen["1803"].push("Ryh_1803_3"); gruppen["1803"].push("Ryh_1803_4"); gruppen["1803"].push("Ryh_1803_5"); gruppen["1803"].push("Ryh_1803_6"); gruppen["1803"].push("Ryh_1803_7"); gruppen["1803"].push("Ryh_1803_8_A"); gruppen["1803"].push("Ryh_1803_8_B"); gruppen["1803"].push("Ryh_1803_9"); gruppen["1803"].push("Ryh_1803_10"); gruppen["1803"].push("Ryh_1803_11"); gruppen["1803"].push("Ryh_1803_12"); gruppen["1803"].push("Ryh_1803_13_A"); gruppen["1803"].push("Ryh_1803_13_B"); gruppen["1803"].push("Ryh_1803_14"); gruppen["1803"].push("Ryh_1803_15"); gruppen["1803"].push("Ryh_1803_16"); gruppen["1803"].push("Ryh_1803_17"); gruppen["1803"].push("Ryh_1803_18"); gruppen["1803"].push("Ryh_1803_19"); gruppen["1803"].push("Ryh_1803_20"); gruppen["1803"].push("Ryh_1803_21"); gruppen["1803"].push("Ryh_1803_22"); gruppen["1803"].push("Ryh_1803_23"); gruppen["1803"].push("Ryh_1803_24"); gruppen["1803"].push("Ryh_1803_25"); gruppen["1803"].push("Ryh_1803_26"); gruppen["1803"].push("Ryh_1803_27"); gruppen["1803"].push("Ryh_1803_28"); gruppen["1803"].push("Ryh_1803_29"); gruppen["1803"].push("Ryh_1803_30"); gruppen["1803"].push("Ryh_1803_31"); gruppen["1803"].push("Ryh_1803_32"); gruppen["1803"].push("Ryh_1803_33"); gruppen["1803"].push("Ryh_1803_34"); gruppen["1803"].push("Ryh_1803_35"); gruppen["1803"].push("Ryh_1803_36"); gruppen["1803"].push("Ryh_1803_37"); gruppen["1803"].push("Ryh_1803_38"); gruppen["1803"].push("Ryh_1803_39_A"); gruppen["1803"].push("Ryh_1803_39_B"); gruppen["1803"].push("Ryh_1803_40_A"); gruppen["1803"].push("Ryh_1803_40_B"); gruppen["1803"].push("Ryh_1803_41"); gruppen["1805"] = new Array(); gruppen["1805"].push("Ryh_1805_1"); gruppen["1805"].push("Ryh_1805_4"); gruppen["1805"].push("Ryh_1805_7"); gruppen["1805"].push("Ryh_1805_10"); gruppen["1805"].push("Ryh_1805_13"); gruppen["1805"].push("Ryh_1805_16"); gruppen["1805"].push("Ryh_1805_17"); gruppen["1805"].push("Ryh_1805_18"); gruppen["1805"].push("Ryh_1805_19"); gruppen["1805"].push("Ryh_1805_22"); gruppen["1805"].push("Ryh_1805_24"); gruppen["1805"].push("Ryh_1805_25"); gruppen["1805"].push("Ryh_1805_28"); gruppen["1805"].push("Ryh_1805_31"); gruppen["1805"].push("Ryh_1805_34"); gruppen["1805"].push("Ryh_1805_36"); gruppen["1805"].push("Ryh_1805_37"); gruppen["1805"].push("Ryh_1805_38"); gruppen["1805"].push("Ryh_1805_39"); gruppen["1805"].push("Ryh_1805_40"); gruppen["1805"].push("Ryh_1805_41"); gruppen["1805"].push("Ryh_1805_42"); gruppen["1805"].push("Ryh_1805_43"); gruppen["1805"].push("Ryh_1805_46"); gruppen["1805"].push("Ryh_1805_47"); gruppen["1805"].push("Ryh_1805_48"); gruppen["1805"].push("Ryh_1805_49"); gruppen["1805"].push("Ryh_1805_50"); gruppen["1805"].push("Ryh_1805_51"); gruppen["1805"].push("Ryh_1805_52"); gruppen["1805"].push("Ryh_1805_53"); gruppen["1805"].push("Ryh_1805_54"); gruppen["1805"].push("Ryh_1805_55"); gruppen["1805"].push("Ryh_1805_56"); gruppen["1805"].push("Ryh_1805_57"); gruppen["1805"].push("Ryh_1805_58"); gruppen["1805"].push("Ryh_1805_59"); gruppen["1805"].push("Ryh_1805_60"); gruppen["1806"] = new Array(); gruppen["1806"].push("Ryh_1806_1"); gruppen["1806"].push("Ryh_1806_5"); gruppen["1806"].push("Ryh_1806_8"); gruppen["1806"].push("Ryh_1806_10"); gruppen["1806"].push("Ryh_1806_11"); gruppen["1806"].push("Ryh_1806_15"); gruppen["1806"].push("Ryh_1806_19"); gruppen["1806"].push("Ryh_1806_20"); gruppen["1806"].push("Ryh_1806_21"); gruppen["1806"].push("Ryh_1806_22"); gruppen["1806"].push("Ryh_1806_23"); gruppen["1806"].push("Ryh_1806_24"); gruppen["1806"].push("Ryh_1806_25"); gruppen["1806"].push("Ryh_1806_26"); gruppen["1806"].push("Ryh_1806_27"); gruppen["1806"].push("Ryh_1806_28"); gruppen["1806"].push("Ryh_1806_29"); gruppen["1806"].push("Ryh_1806_30"); gruppen["1806"].push("Ryh_1806_31"); gruppen["1806"].push("Ryh_1806_32"); gruppen["1806"].push("Ryh_1806_33"); gruppen["1806"].push("Ryh_1806_34"); gruppen["1806"].push("Ryh_1806_35"); gruppen["1806"].push("Ryh_1806_36"); gruppen["1806"].push("Ryh_1806_37"); gruppen["1806"].push("Ryh_1806_38"); gruppen["1806"].push("Ryh_1806_39"); gruppen["1806"].push("Ryh_1806_40"); gruppen["1806"].push("Ryh_1806_41"); gruppen["1806"].push("Ryh_1806_42"); gruppen["1806"].push("Ryh_1806_43"); gruppen["1806"].push("Ryh_1806_44"); gruppen["1806"].push("Ryh_1806_45"); gruppen["1806"].push("Ryh_1806_46_A"); gruppen["1806"].push("Ryh_1806_46_B"); gruppen["1806"].push("Ryh_1806_47"); gruppen["1807"] = new Array(); gruppen["1807"].push("Ryh_1807_1"); gruppen["1807"].push("Ryh_1807_3"); gruppen["1807"].push("Ryh_1807_8"); gruppen["1807"].push("Ryh_1807_9"); gruppen["1807"].push("Ryh_1807_10"); gruppen["1807"].push("Ryh_1807_11"); gruppen["1807"].push("Ryh_1807_12"); gruppen["1807"].push("Ryh_1807_13"); gruppen["1807"].push("Ryh_1807_14_A"); gruppen["1807"].push("Ryh_1807_14_B"); gruppen["1807"].push("Ryh_1807_18"); gruppen["1807"].push("Ryh_1807_20"); gruppen["1807"].push("Ryh_1807_21"); gruppen["1807"].push("Ryh_1807_22"); gruppen["1807"].push("Ryh_1807_23"); gruppen["1807"].push("Ryh_1807_24"); gruppen["1807"].push("Ryh_1807_25"); gruppen["1807"].push("Ryh_1807_26"); gruppen["1807"].push("Ryh_1807_27"); gruppen["1807"].push("Ryh_1807_28"); gruppen["1807"].push("Ryh_1807_29"); gruppen["1807"].push("Ryh_1807_30"); gruppen["1807"].push("Ryh_1807_33"); gruppen["1807"].push("Ryh_1807_36"); gruppen["1807"].push("Ryh_1807_40"); gruppen["1807"].push("Ryh_1807_42"); gruppen["1807"].push("Ryh_1807_43"); gruppen["1807"].push("Ryh_1807_46"); gruppen["1807"].push("Ryh_1807_48"); gruppen["1807"].push("Ryh_1807_49"); gruppen["1807"].push("Ryh_1807_52"); gruppen["1807"].push("Ryh_1807_54"); gruppen["1807"].push("Ryh_1807_55"); gruppen["1808"] = new Array(); gruppen["1808"].push("Ryh_1808_1"); gruppen["1808"].push("Ryh_1808_4"); gruppen["1808"].push("Ryh_1808_7"); gruppen["1808"].push("Ryh_1808_9"); gruppen["1808"].push("Ryh_1808_10"); gruppen["1808"].push("Ryh_1808_11"); gruppen["1808"].push("Ryh_1808_12"); gruppen["1808"].push("Ryh_1808_13"); gruppen["1808"].push("Ryh_1808_14"); gruppen["1808"].push("Ryh_1808_15"); gruppen["1808"].push("Ryh_1808_16"); gruppen["1808"].push("Ryh_1808_17"); gruppen["1808"].push("Ryh_1808_18"); gruppen["1808"].push("Ryh_1808_19"); gruppen["1808"].push("Ryh_1808_22"); gruppen["1808"].push("Ryh_1808_25"); gruppen["1808"].push("Ryh_1808_27"); gruppen["1808"].push("Ryh_1808_28"); gruppen["1808"].push("Ryh_1808_31"); gruppen["1808"].push("Ryh_1808_32"); gruppen["1808"].push("Ryh_1808_34"); gruppen["1808"].push("Ryh_1808_35"); gruppen["1808"].push("Ryh_1808_40"); gruppen["1808"].push("Ryh_1808_43"); gruppen["1808"].push("Ryh_1808_44"); gruppen["1808"].push("Ryh_1808_45"); gruppen["1808"].push("Ryh_1808_46"); gruppen["1808"].push("Ryh_1808_47"); gruppen["1808"].push("Ryh_1808_50"); gruppen["1808"].push("Ryh_1808_53"); gruppen["1808"].push("Ryh_1808_54"); gruppen["1808"].push("Ryh_1808_59"); gruppen["1808"].push("Ryh_1808_61"); gruppen["1808"].push("Ryh_1808_62"); gruppen["1809"] = new Array(); gruppen["1809"].push("Ryh_1809_1"); gruppen["1809"].push("Ryh_1809_2"); gruppen["1809"].push("Ryh_1809_4"); gruppen["1809"].push("Ryh_1809_5"); gruppen["1809"].push("Ryh_1809_11"); gruppen["1809"].push("Ryh_1809_14"); gruppen["1809"].push("Ryh_1809_17"); gruppen["1809"].push("Ryh_1809_20"); gruppen["1809"].push("Ryh_1809_23"); gruppen["1809"].push("Ryh_1809_25"); gruppen["1809"].push("Ryh_1809_26"); gruppen["1809"].push("Ryh_1809_29"); gruppen["1809"].push("Ryh_1809_30"); gruppen["1809"].push("Ryh_1809_33"); gruppen["1809"].push("Ryh_1809_36"); gruppen["1809"].push("Ryh_1809_37"); gruppen["1809"].push("Ryh_1809_38"); gruppen["1809"].push("Ryh_1809_39"); gruppen["1809"].push("Ryh_1809_40"); gruppen["1809"].push("Ryh_1809_43"); gruppen["1809"].push("Ryh_1809_46"); gruppen["1809"].push("Ryh_1809_47"); gruppen["1810"] = new Array(); gruppen["1810"].push("Ryh_1810_1"); gruppen["1810"].push("Ryh_1810_2"); gruppen["1810"].push("Ryh_1810_3"); gruppen["1810"].push("Ryh_1810_4"); gruppen["1810"].push("Ryh_1810_7"); gruppen["1810"].push("Ryh_1810_9"); gruppen["1810"].push("Ryh_1810_11"); gruppen["1810"].push("Ryh_1810_15"); gruppen["1810"].push("Ryh_1810_16"); gruppen["1810"].push("Ryh_1810_17"); gruppen["1810"].push("Ryh_1810_18"); gruppen["1810"].push("Ryh_1810_27"); gruppen["1810"].push("Ryh_1810_30"); gruppen["1810"].push("Ryh_1810_31"); gruppen["1810"].push("Ryh_1810_34"); gruppen["1810"].push("Ryh_1810_35"); gruppen["1810"].push("Ryh_1810_37"); gruppen["1810"].push("Ryh_1810_38"); gruppen["1810"].push("Ryh_1810_43"); gruppen["1810"].push("Ryh_1810_46"); gruppen["1810"].push("Ryh_1810_47"); gruppen["1810"].push("Ryh_1810_48"); gruppen["1810"].push("Ryh_1810_49"); gruppen["1810"].push("Ryh_1810_50"); gruppen["1810"].push("Ryh_1810_53"); gruppen["1810"].push("Ryh_1810_56"); gruppen["1812"] = new Array(); gruppen["1812"].push("Ryh_1812_1"); gruppen["1812"].push("Ryh_1812_2"); gruppen["1812"].push("Ryh_1812_3"); gruppen["1812"].push("Ryh_1812_4"); gruppen["1812"].push("Ryh_1812_5"); gruppen["1812"].push("Ryh_1812_10"); gruppen["1812"].push("Ryh_1812_11"); gruppen["1812"].push("Ryh_1812_12"); gruppen["1812"].push("Ryh_1812_13"); gruppen["1812"].push("Ryh_1812_21"); gruppen["1812"].push("Ryh_1812_22"); gruppen["1812"].push("Ryh_1812_23"); gruppen["1812"].push("Ryh_1812_24"); gruppen["1812"].push("Ryh_1812_25"); gruppen["1812"].push("Ryh_1812_26"); gruppen["1812"].push("Ryh_1812_27"); gruppen["1812"].push("Ryh_1812_28"); gruppen["1812"].push("Ryh_1812_37_A"); gruppen["1812"].push("Ryh_1812_37_B"); gruppen["1812"].push("Ryh_1812_38_A"); gruppen["1812"].push("Ryh_1812_38_B"); gruppen["1812"].push("Ryh_1812_39_A"); gruppen["1812"].push("Ryh_1812_39_B"); gruppen["1813"] = new Array(); gruppen["1813"].push("Ryh_1813_2"); gruppen["1813"].push("Ryh_1813_4"); gruppen["1813"].push("Ryh_1813_6"); gruppen["1813"].push("Ryh_1813_7"); gruppen["1813"].push("Ryh_1813_8"); gruppen["1813"].push("Ryh_1813_10"); gruppen["1813"].push("Ryh_1813_11"); gruppen["1813"].push("Ryh_1813_12"); gruppen["1813"].push("Ryh_1813_13"); gruppen["1813"].push("Ryh_1813_14"); gruppen["1813"].push("Ryh_1813_15"); gruppen["1813"].push("Ryh_1813_16"); gruppen["1813"].push("Ryh_1813_17"); gruppen["1813"].push("Ryh_1813_18"); gruppen["1813"].push("Ryh_1813_19"); gruppen["1813"].push("Ryh_1813_20"); gruppen["1813"].push("Ryh_1813_21"); gruppen["1813"].push("Ryh_1813_22"); gruppen["1813"].push("Ryh_1813_23"); gruppen["1813"].push("Ryh_1813_24"); gruppen["1813"].push("Ryh_1813_25"); gruppen["1813"].push("Ryh_1813_26"); gruppen["1813"].push("Ryh_1813_27"); gruppen["1813"].push("Ryh_1813_28"); gruppen["1813"].push("Ryh_1813_41"); gruppen["1813"].push("Ryh_1813_42"); gruppen["1813"].push("Ryh_1813_44"); gruppen["1813"].push("Ryh_1813_45"); gruppen["1813"].push("Ryh_1813_46"); gruppen["1815"] = new Array(); gruppen["1815"].push("Ryh_1815_1"); gruppen["1815"].push("Ryh_1815_2_A"); gruppen["1815"].push("Ryh_1815_2_B"); gruppen["1815"].push("Ryh_1815_3"); gruppen["1815"].push("Ryh_1815_4"); gruppen["1815"].push("Ryh_1815_5"); gruppen["1815"].push("Ryh_1815_6"); gruppen["1815"].push("Ryh_1815_11"); gruppen["1815"].push("Ryh_1815_12"); gruppen["1815"].push("Ryh_1815_13"); gruppen["1815"].push("Ryh_1815_14"); gruppen["1815"].push("Ryh_1815_15"); gruppen["1815"].push("Ryh_1815_16"); gruppen["1815"].push("Ryh_1815_17"); gruppen["1815"].push("Ryh_1815_18"); gruppen["1815"].push("Ryh_1815_19"); gruppen["1815"].push("Ryh_1815_20"); gruppen["1815"].push("Ryh_1815_21"); gruppen["1815"].push("Ryh_1815_22"); gruppen["1815"].push("Ryh_1815_23"); gruppen["1901"] = new Array(); gruppen["1901"].push("Ryh_1901_1"); gruppen["1901"].push("Ryh_1901_2"); gruppen["1901"].push("Ryh_1901_3"); gruppen["1901"].push("Ryh_1901_4"); gruppen["1901"].push("Ryh_1901_5_A"); gruppen["1901"].push("Ryh_1901_5_B"); gruppen["1901"].push("Ryh_1901_6"); gruppen["1901"].push("Ryh_1901_7"); gruppen["1901"].push("Ryh_1901_8"); gruppen["1901"].push("Ryh_1901_9"); gruppen["1901"].push("Ryh_1901_10_A"); gruppen["1901"].push("Ryh_1901_10_B"); gruppen["1901"].push("Ryh_1901_11"); gruppen["1901"].push("Ryh_1901_12"); gruppen["1901"].push("Ryh_1901_14"); gruppen["1901"].push("Ryh_1901_15"); gruppen["1901"].push("Ryh_1901_16"); gruppen["1901"].push("Ryh_1901_17"); gruppen["1901"].push("Ryh_1901_18"); gruppen["1901"].push("Ryh_1901_19"); gruppen["1901"].push("Ryh_1901_20"); gruppen["1901"].push("Ryh_1901_21"); gruppen["1901"].push("Ryh_1901_22"); gruppen["1901"].push("Ryh_1901_23"); gruppen["1901"].push("Ryh_1901_25"); gruppen["1901"].push("Ryh_1901_26"); gruppen["1901"].push("Ryh_1901_28"); gruppen["1901"].push("Ryh_1901_29"); gruppen["1901"].push("Ryh_1901_30"); gruppen["1901"].push("Ryh_1901_31"); gruppen["1901"].push("Ryh_1901_33"); gruppen["1901"].push("Ryh_1901_34"); gruppen["1901"].push("Ryh_1901_37"); gruppen["1901"].push("Ryh_1901_38"); gruppen["1901"].push("Ryh_1901_39"); gruppen["1901"].push("Ryh_1901_40"); gruppen["1901"].push("Ryh_1901_41"); gruppen["1901"].push("Ryh_1901_43"); gruppen["1901"].push("Ryh_1901_44"); gruppen["1901"].push("Ryh_1901_46"); gruppen["1901"].push("Ryh_1901_47"); gruppen["1901"].push("Ryh_1901_48"); gruppen["1902"] = new Array(); gruppen["1902"].push("Ryh_1902_1"); gruppen["1902"].push("Ryh_1902_2"); gruppen["1902"].push("Ryh_1902_3"); gruppen["1902"].push("Ryh_1902_4"); gruppen["1902"].push("Ryh_1902_9"); gruppen["1902"].push("Ryh_1902_11"); gruppen["1902"].push("Ryh_1902_12"); gruppen["1902"].push("Ryh_1902_15_A"); gruppen["1902"].push("Ryh_1902_15_B"); gruppen["1902"].push("Ryh_1902_16"); gruppen["1902"].push("Ryh_1902_17"); gruppen["1902"].push("Ryh_1902_18"); gruppen["1902"].push("Ryh_1902_19_A"); gruppen["1902"].push("Ryh_1902_19_B"); gruppen["1902"].push("Ryh_1902_21"); gruppen["1902"].push("Ryh_1902_22"); gruppen["1902"].push("Ryh_1902_23"); gruppen["1902"].push("Ryh_1902_24"); gruppen["1902"].push("Ryh_1902_25"); gruppen["1902"].push("Ryh_1902_26"); gruppen["1902"].push("Ryh_1902_27"); gruppen["1902"].push("Ryh_1902_28"); gruppen["1902"].push("Ryh_1902_29"); gruppen["1902"].push("Ryh_1902_31"); gruppen["1902"].push("Ryh_1902_32"); gruppen["1904"] = new Array(); gruppen["1904"].push("Ryh_1904_1"); gruppen["1904"].push("Ryh_1904_2"); gruppen["1904"].push("Ryh_1904_3"); gruppen["1904"].push("Ryh_1904_5"); gruppen["1904"].push("Ryh_1904_7"); gruppen["1904"].push("Ryh_1904_8"); gruppen["1904"].push("Ryh_1904_9"); gruppen["1904"].push("Ryh_1904_10"); gruppen["1904"].push("Ryh_1904_11"); gruppen["1904"].push("Ryh_1904_12"); gruppen["1904"].push("Ryh_1904_13"); gruppen["1904"].push("Ryh_1904_14"); gruppen["1904"].push("Ryh_1904_15"); gruppen["1904"].push("Ryh_1904_16"); gruppen["1904"].push("Ryh_1904_17"); gruppen["1904"].push("Ryh_1904_18"); gruppen["1904"].push("Ryh_1904_19"); gruppen["1904"].push("Ryh_1904_20"); gruppen["1904"].push("Ryh_1904_21"); gruppen["1904"].push("Ryh_1904_22"); gruppen["1904"].push("Ryh_1904_23"); gruppen["1904"].push("Ryh_1904_24"); gruppen["1904"].push("Ryh_1904_25"); gruppen["1904"].push("Ryh_1904_26"); gruppen["1904"].push("Ryh_1904_27"); gruppen["1904"].push("Ryh_1904_28"); gruppen["1904"].push("Ryh_1904_29"); gruppen["1904"].push("Ryh_1904_30"); gruppen["1904"].push("Ryh_1904_31"); gruppen["1904"].push("Ryh_1904_32"); gruppen["1904"].push("Ryh_1904_33"); gruppen["1904"].push("Ryh_1904_37"); gruppen["1904"].push("Ryh_1904_38"); gruppen["1904"].push("Ryh_1904_39"); gruppen["1904"].push("Ryh_1904_41"); gruppen["1904"].push("Ryh_1904_42"); gruppen["1904"].push("Ryh_1904_43"); gruppen["1904"].push("Ryh_1904_44"); gruppen["1904"].push("Ryh_1904_45"); gruppen["1904"].push("Ryh_1904_46"); gruppen["1904"].push("Ryh_1904_50"); gruppen["1904"].push("Ryh_1904_53"); gruppen["1906"] = new Array(); gruppen["1906"].push("Ryh_1906_1"); gruppen["1906"].push("Ryh_1906_2"); gruppen["1906"].push("Ryh_1906_3"); gruppen["1906"].push("Ryh_1906_4"); gruppen["1906"].push("Ryh_1906_5"); gruppen["1906"].push("Ryh_1906_6"); gruppen["1906"].push("Ryh_1906_7"); gruppen["1906"].push("Ryh_1906_8"); gruppen["1906"].push("Ryh_1906_9"); gruppen["1906"].push("Ryh_1906_10"); gruppen["1906"].push("Ryh_1906_12"); gruppen["1906"].push("Ryh_1906_32"); gruppen["1906"].push("Ryh_1906_34"); gruppen["1906"].push("Ryh_1906_35"); gruppen["1906"].push("Ryh_1906_36"); gruppen["2001"] = new Array(); gruppen["2001"].push("Ryh_2001_1"); gruppen["2001"].push("Ryh_2001_2"); gruppen["2001"].push("Ryh_2001_3"); gruppen["2001"].push("Ryh_2001_4"); gruppen["2001"].push("Ryh_2001_5_A"); gruppen["2001"].push("Ryh_2001_5_B"); gruppen["2001"].push("Ryh_2001_6"); gruppen["2001"].push("Ryh_2001_7"); gruppen["2001"].push("Ryh_2001_8"); gruppen["2001"].push("Ryh_2001_9"); gruppen["2001"].push("Ryh_2001_10_A"); gruppen["2001"].push("Ryh_2001_10_B"); gruppen["2001"].push("Ryh_2001_11"); gruppen["2001"].push("Ryh_2001_12"); gruppen["2001"].push("Ryh_2001_13"); gruppen["2001"].push("Ryh_2001_17"); gruppen["2001"].push("Ryh_2001_18"); gruppen["2001"].push("Ryh_2001_19"); gruppen["2001"].push("Ryh_2001_20"); gruppen["2001"].push("Ryh_2001_21"); gruppen["2001"].push("Ryh_2001_22"); gruppen["2001"].push("Ryh_2001_23"); gruppen["2001"].push("Ryh_2001_24"); gruppen["2001"].push("Ryh_2001_25"); gruppen["2001"].push("Ryh_2001_27"); gruppen["2001"].push("Ryh_2001_28"); gruppen["2001"].push("Ryh_2001_29"); gruppen["2001"].push("Ryh_2001_31"); gruppen["2001"].push("Ryh_2001_33"); gruppen["2001"].push("Ryh_2001_34"); gruppen["2001"].push("Ryh_2001_37"); gruppen["2001"].push("Ryh_2001_38"); gruppen["2001"].push("Ryh_2001_39"); gruppen["2001"].push("Ryh_2001_40"); gruppen["2001"].push("Ryh_2001_41"); gruppen["2001"].push("Ryh_2001_42"); gruppen["2001"].push("Ryh_2001_43"); gruppen["2001"].push("Ryh_2001_44"); gruppen["2001"].push("Ryh_2001_45"); gruppen["2001"].push("Ryh_2001_46"); gruppen["2001"].push("Ryh_2001_48"); gruppen["2001"].push("Ryh_2001_50"); gruppen["2001"].push("Ryh_2001_52"); gruppen["2001"].push("Ryh_2001_53"); gruppen["2001"].push("Ryh_2001_54"); gruppen["2001"].push("Ryh_2001_55_A"); gruppen["2001"].push("Ryh_2001_55_B"); gruppen["2001"].push("Ryh_2001_57"); gruppen["2001"].push("Ryh_2001_58"); gruppen["2001"].push("Ryh_2001_59"); gruppen["2001"].push("Ryh_2001_60"); gruppen["2003"] = new Array(); gruppen["2003"].push("Ryh_2003_1"); gruppen["2003"].push("Ryh_2003_2"); gruppen["2003"].push("Ryh_2003_3"); gruppen["2003"].push("Ryh_2003_4"); gruppen["2003"].push("Ryh_2003_5_A"); gruppen["2003"].push("Ryh_2003_5_B"); gruppen["2003"].push("Ryh_2003_6"); gruppen["2003"].push("Ryh_2003_7"); gruppen["2003"].push("Ryh_2003_8"); gruppen["2003"].push("Ryh_2003_9"); gruppen["2003"].push("Ryh_2003_10"); gruppen["2003"].push("Ryh_2003_19"); gruppen["2003"].push("Ryh_2003_20"); gruppen["2003"].push("Ryh_2003_21"); gruppen["2101"] = new Array(); gruppen["2101"].push("Ryh_2101_1"); gruppen["2101"].push("Ryh_2101_2"); gruppen["2101"].push("Ryh_2101_3"); gruppen["2101"].push("Ryh_2101_4"); gruppen["2101"].push("Ryh_2101_5"); gruppen["2101"].push("Ryh_2101_6"); gruppen["2101"].push("Ryh_2101_7"); gruppen["2101"].push("Ryh_2101_8"); gruppen["2101"].push("Ryh_2101_9"); gruppen["2101"].push("Ryh_2101_10"); gruppen["2101"].push("Ryh_2101_11"); gruppen["2101"].push("Ryh_2101_12_A"); gruppen["2101"].push("Ryh_2101_12_B"); gruppen["2101"].push("Ryh_2101_13"); gruppen["2101"].push("Ryh_2101_14"); gruppen["2101"].push("Ryh_2101_15"); gruppen["2101"].push("Ryh_2101_16"); gruppen["2101"].push("Ryh_2101_21_A"); gruppen["2101"].push("Ryh_2101_21_B"); gruppen["2101"].push("Ryh_2101_21_C"); gruppen["2101"].push("Ryh_2101_21_D"); gruppen["2101"].push("Ryh_2101_21_E"); gruppen["2101"].push("Ryh_2101_21_F"); gruppen["2101"].push("Ryh_2101_21_G"); gruppen["2101"].push("Ryh_2101_22_A"); gruppen["2101"].push("Ryh_2101_22_B"); gruppen["2101"].push("Ryh_2101_22_C"); gruppen["2101"].push("Ryh_2101_22_D"); gruppen["2101"].push("Ryh_2101_22_E"); gruppen["2101"].push("Ryh_2101_22_F"); gruppen["2101"].push("Ryh_2101_22_G"); gruppen["2101"].push("Ryh_2101_22_H"); gruppen["2101"].push("Ryh_2101_22_I"); gruppen["2101"].push("Ryh_2101_22_K"); gruppen["2101"].push("Ryh_2101_23"); gruppen["2101"].push("Ryh_2101_24"); gruppen["2101"].push("Ryh_2101_25"); gruppen["2101"].push("Ryh_2101_26"); gruppen["2101"].push("Ryh_2101_27"); gruppen["2101"].push("Ryh_2101_28"); gruppen["2101"].push("Ryh_2101_29"); gruppen["2101"].push("Ryh_2101_30"); gruppen["2101"].push("Ryh_2101_31"); gruppen["2101"].push("Ryh_2101_32"); gruppen["2101"].push("Ryh_2101_33"); gruppen["2101"].push("Ryh_2101_34"); gruppen["2101"].push("Ryh_2101_36"); gruppen["2101"].push("Ryh_2101_37"); gruppen["2101"].push("Ryh_2101_38"); gruppen["2101"].push("Ryh_2101_39"); gruppen["2101"].push("Ryh_2101_40"); gruppen["2101"].push("Ryh_2101_51"); gruppen["2101"].push("Ryh_2101_52"); gruppen["2101"].push("Ryh_2101_53"); gruppen["2101"].push("Ryh_2101_54"); gruppen["2101"].push("Ryh_2101_58"); gruppen["2101"].push("Ryh_2101_59"); gruppen["2101"].push("Ryh_2101_60"); gruppen["2201"] = new Array(); gruppen["2201"].push("Ryh_2201_5"); gruppen["2201"].push("Ryh_2201_6"); gruppen["2201"].push("Ryh_2201_7"); gruppen["2201"].push("Ryh_2201_9_A"); gruppen["2201"].push("Ryh_2201_9_B"); gruppen["2201"].push("Ryh_2201_13"); gruppen["2201"].push("Ryh_2201_14"); gruppen["2201"].push("Ryh_2201_16_A"); gruppen["2201"].push("Ryh_2201_16_B"); gruppen["2201"].push("Ryh_2201_17"); gruppen["2201"].push("Ryh_2201_18"); gruppen["2201"].push("Ryh_2201_19"); gruppen["2201"].push("Ryh_2201_22"); gruppen["2201"].push("Ryh_2201_23"); gruppen["2201"].push("Ryh_2201_24"); gruppen["2201"].push("Ryh_2201_26"); gruppen["2201"].push("Ryh_2201_27"); gruppen["2201"].push("Ryh_2201_28"); gruppen["2201"].push("Ryh_2201_29"); gruppen["2201"].push("Ryh_2201_30"); gruppen["2201"].push("Ryh_2201_31"); gruppen["2201"].push("Ryh_2201_32"); gruppen["2201"].push("Ryh_2201_33"); gruppen["2201"].push("Ryh_2201_35"); gruppen["2201"].push("Ryh_2201_36"); gruppen["2201"].push("Ryh_2201_37"); gruppen["2201"].push("Ryh_2201_38"); gruppen["2201"].push("Ryh_2201_39"); gruppen["2201"].push("Ryh_2201_40"); gruppen["2201"].push("Ryh_2201_41"); gruppen["2201"].push("Ryh_2201_42"); gruppen["2201"].push("Ryh_2201_43"); gruppen["2201"].push("Ryh_2201_45"); gruppen["2201"].push("Ryh_2201_46"); gruppen["2201"].push("Ryh_2201_47"); gruppen["2201"].push("Ryh_2201_48"); gruppen["2201"].push("Ryh_2201_49"); gruppen["2201"].push("Ryh_2201_50"); gruppen["2202"] = new Array(); gruppen["2202"].push("Ryh_2202_1"); gruppen["2202"].push("Ryh_2202_2_A"); gruppen["2202"].push("Ryh_2202_2_B"); gruppen["2202"].push("Ryh_2202_3"); gruppen["2202"].push("Ryh_2202_5"); gruppen["2202"].push("Ryh_2202_10"); gruppen["2202"].push("Ryh_2202_13"); gruppen["2202"].push("Ryh_2202_14"); gruppen["2202"].push("Ryh_2202_15_A"); gruppen["2202"].push("Ryh_2202_15_B"); gruppen["2202"].push("Ryh_2202_16"); gruppen["2202"].push("Ryh_2202_17"); gruppen["2202"].push("Ryh_2202_18"); gruppen["2202"].push("Ryh_2202_19"); gruppen["2202"].push("Ryh_2202_20"); gruppen["2202"].push("Ryh_2202_21"); gruppen["2202"].push("Ryh_2202_22"); gruppen["2202"].push("Ryh_2202_23"); gruppen["2202"].push("Ryh_2202_24"); gruppen["2202"].push("Ryh_2202_25"); gruppen["2202"].push("Ryh_2202_26"); gruppen["2202"].push("Ryh_2202_27"); gruppen["2202"].push("Ryh_2202_28"); gruppen["2202"].push("Ryh_2202_29"); gruppen["2202"].push("Ryh_2202_30"); gruppen["2202"].push("Ryh_2202_31_A"); gruppen["2202"].push("Ryh_2202_31_B"); gruppen["2202"].push("Ryh_2202_32"); gruppen["2202"].push("Ryh_2202_33"); gruppen["2202"].push("Ryh_2202_34"); gruppen["2202"].push("Ryh_2202_35"); gruppen["2202"].push("Ryh_2202_37"); gruppen["2202"].push("Ryh_2202_38"); gruppen["2202"].push("Ryh_2202_39"); gruppen["2202"].push("Ryh_2202_40"); gruppen["2202"].push("Ryh_2202_41"); gruppen["2202"].push("Ryh_2202_42"); gruppen["2202"].push("Ryh_2202_43"); gruppen["2202"].push("Ryh_2202_44"); gruppen["2202"].push("Ryh_2202_46"); gruppen["2202"].push("Ryh_2202_47"); gruppen["2202"].push("Ryh_2202_48"); gruppen["2202"].push("Ryh_2202_49"); gruppen["2202"].push("Ryh_2202_50"); gruppen["2202"].push("Ryh_2202_51"); gruppen["2202"].push("Ryh_2202_52"); gruppen["2202"].push("Ryh_2202_53"); gruppen["2202"].push("Ryh_2202_54"); gruppen["2202"].push("Ryh_2202_55"); gruppen["2202"].push("Ryh_2202_56"); gruppen["2202"].push("Ryh_2202_57"); gruppen["2203"] = new Array(); gruppen["2203"].push("Ryh_2203_1_A"); gruppen["2203"].push("Ryh_2203_1_B"); gruppen["2203"].push("Ryh_2203_2"); gruppen["2203"].push("Ryh_2203_3"); gruppen["2203"].push("Ryh_2203_4"); gruppen["2203"].push("Ryh_2203_5"); gruppen["2203"].push("Ryh_2203_6_A"); gruppen["2203"].push("Ryh_2203_6_B"); gruppen["2203"].push("Ryh_2203_7"); gruppen["2203"].push("Ryh_2203_8"); gruppen["2203"].push("Ryh_2203_9"); gruppen["2203"].push("Ryh_2203_9_A"); gruppen["2203"].push("Ryh_2203_10"); gruppen["2203"].push("Ryh_2203_11"); gruppen["2203"].push("Ryh_2203_12"); gruppen["2203"].push("Ryh_2203_13"); gruppen["2203"].push("Ryh_2203_14"); gruppen["2203"].push("Ryh_2203_15"); gruppen["2203"].push("Ryh_2203_16_A"); gruppen["2203"].push("Ryh_2203_16_B"); gruppen["2203"].push("Ryh_2203_17"); gruppen["2203"].push("Ryh_2203_18"); gruppen["2203"].push("Ryh_2203_19"); gruppen["2203"].push("Ryh_2203_20"); gruppen["2203"].push("Ryh_2203_22"); gruppen["2203"].push("Ryh_2203_23"); gruppen["2203"].push("Ryh_2203_24"); gruppen["2203"].push("Ryh_2203_25"); gruppen["2203"].push("Ryh_2203_26"); gruppen["2203"].push("Ryh_2203_27"); gruppen["2203"].push("Ryh_2203_28"); gruppen["2203"].push("Ryh_2203_31"); gruppen["2205"] = new Array(); gruppen["2205"].push("Ryh_2205_1"); gruppen["2205"].push("Ryh_2205_2"); gruppen["2205"].push("Ryh_2205_3"); gruppen["2205"].push("Ryh_2205_4"); gruppen["2205"].push("Ryh_2205_5"); gruppen["2205"].push("Ryh_2205_6"); gruppen["2205"].push("Ryh_2205_7"); gruppen["2205"].push("Ryh_2205_8"); gruppen["2205"].push("Ryh_2205_9"); gruppen["2205"].push("Ryh_2205_10"); gruppen["2205"].push("Ryh_2205_11"); gruppen["2205"].push("Ryh_2205_12"); gruppen["2205"].push("Ryh_2205_13"); gruppen["2205"].push("Ryh_2205_14"); gruppen["2205"].push("Ryh_2205_15"); gruppen["2205"].push("Ryh_2205_16"); gruppen["2205"].push("Ryh_2205_17"); gruppen["2205"].push("Ryh_2205_18"); gruppen["2205"].push("Ryh_2205_19"); gruppen["2205"].push("Ryh_2205_20"); gruppen["2205"].push("Ryh_2205_21"); gruppen["2205"].push("Ryh_2205_22"); gruppen["2205"].push("Ryh_2205_23"); gruppen["2205"].push("Ryh_2205_24"); gruppen["2205"].push("Ryh_2205_25"); gruppen["2205"].push("Ryh_2205_26"); gruppen["2205"].push("Ryh_2205_27"); gruppen["2205"].push("Ryh_2205_28"); gruppen["2205"].push("Ryh_2205_29"); gruppen["2205"].push("Ryh_2205_30"); gruppen["2205"].push("Ryh_2205_31"); gruppen["2205"].push("Ryh_2205_32"); gruppen["2205"].push("Ryh_2205_33"); gruppen["2205"].push("Ryh_2205_34"); gruppen["2205"].push("Ryh_2205_35"); gruppen["2205"].push("Ryh_2205_36"); gruppen["2206"] = new Array(); gruppen["2206"].push("Ryh_2206_1"); gruppen["2206"].push("Ryh_2206_2"); gruppen["2206"].push("Ryh_2206_3"); gruppen["2206"].push("Ryh_2206_4"); gruppen["2206"].push("Ryh_2206_5"); gruppen["2206"].push("Ryh_2206_6"); gruppen["2206"].push("Ryh_2206_7"); gruppen["2206"].push("Ryh_2206_8"); gruppen["2206"].push("Ryh_2206_9"); gruppen["2206"].push("Ryh_2206_10"); gruppen["2206"].push("Ryh_2206_11"); gruppen["2206"].push("Ryh_2206_12"); gruppen["2206"].push("Ryh_2206_13"); gruppen["2206"].push("Ryh_2206_14"); gruppen["2206"].push("Ryh_2206_15"); gruppen["2206"].push("Ryh_2206_16"); gruppen["2206"].push("Ryh_2206_17"); gruppen["2206"].push("Ryh_2206_18"); gruppen["2206"].push("Ryh_2206_19"); gruppen["2206"].push("Ryh_2206_20"); gruppen["2206"].push("Ryh_2206_21"); gruppen["2206"].push("Ryh_2206_22"); gruppen["2206"].push("Ryh_2206_23"); gruppen["2206"].push("Ryh_2206_24"); gruppen["2206"].push("Ryh_2206_25"); gruppen["2206"].push("Ryh_2206_26"); gruppen["2206"].push("Ryh_2206_27"); gruppen["2206"].push("Ryh_2206_28"); gruppen["2206"].push("Ryh_2206_29"); gruppen["2206"].push("Ryh_2206_30"); gruppen["2206"].push("Ryh_2206_31"); gruppen["2206"].push("Ryh_2206_32"); gruppen["2206"].push("Ryh_2206_33"); gruppen["2206"].push("Ryh_2206_34"); gruppen["2206"].push("Ryh_2206_35"); gruppen["2206"].push("Ryh_2206_36"); gruppen["2206"].push("Ryh_2206_37"); gruppen["2206"].push("Ryh_2206_38"); gruppen["2206"].push("Ryh_2206_39"); gruppen["2206"].push("Ryh_2206_40"); gruppen["2206"].push("Ryh_2206_41"); gruppen["2206"].push("Ryh_2206_42"); gruppen["2206"].push("Ryh_2206_43"); gruppen["2206"].push("Ryh_2206_44"); gruppen["2206"].push("Ryh_2206_45"); gruppen["2206"].push("Ryh_2206_46"); gruppen["2206"].push("Ryh_2206_47"); gruppen["2206"].push("Ryh_2206_48"); gruppen["2206"].push("Ryh_2206_49"); gruppen["2206"].push("Ryh_2206_50"); gruppen["2206"].push("Ryh_2206_51"); gruppen["2206"].push("Ryh_2206_52"); gruppen["2206"].push("Ryh_2206_53"); gruppen["2206"].push("Ryh_2206_54"); gruppen["2206"].push("Ryh_2206_55"); gruppen["2206"].push("Ryh_2206_56"); gruppen["2206"].push("Ryh_2206_57"); gruppen["2206"].push("Ryh_2206_58"); gruppen["2208"] = new Array(); gruppen["2208"].push("Ryh_2208_1"); gruppen["2208"].push("Ryh_2208_2"); gruppen["2208"].push("Ryh_2208_3"); gruppen["2208"].push("Ryh_2208_4"); gruppen["2208"].push("Ryh_2208_5"); gruppen["2208"].push("Ryh_2208_6"); gruppen["2208"].push("Ryh_2208_7"); gruppen["2208"].push("Ryh_2208_8"); gruppen["2208"].push("Ryh_2208_9"); gruppen["2208"].push("Ryh_2208_10"); gruppen["2208"].push("Ryh_2208_11"); gruppen["2208"].push("Ryh_2208_12"); gruppen["2208"].push("Ryh_2208_13"); gruppen["2208"].push("Ryh_2208_14"); gruppen["2208"].push("Ryh_2208_15_A"); gruppen["2208"].push("Ryh_2208_15_B"); gruppen["2208"].push("Ryh_2208_15_C"); gruppen["2208"].push("Ryh_2208_15_D"); gruppen["2208"].push("Ryh_2208_16_A"); gruppen["2208"].push("Ryh_2208_16_B"); gruppen["2208"].push("Ryh_2208_17"); gruppen["2208"].push("Ryh_2208_18"); gruppen["2208"].push("Ryh_2208_19"); gruppen["2208"].push("Ryh_2208_20"); gruppen["2208"].push("Ryh_2208_21"); gruppen["2208"].push("Ryh_2208_22"); gruppen["2208"].push("Ryh_2208_23"); gruppen["2208"].push("Ryh_2208_31"); gruppen["2208"].push("Ryh_2208_32"); gruppen["2208"].push("Ryh_2208_33"); gruppen["2208"].push("Ryh_2208_34"); gruppen["2208"].push("Ryh_2208_35"); gruppen["2209"] = new Array(); gruppen["2209"].push("Ryh_2209_1"); gruppen["2209"].push("Ryh_2209_2"); gruppen["2209"].push("Ryh_2209_3"); gruppen["2209"].push("Ryh_2209_4"); gruppen["2209"].push("Ryh_2209_5"); gruppen["2209"].push("Ryh_2209_6"); gruppen["2209"].push("Ryh_2209_7"); gruppen["2209"].push("Ryh_2209_8"); gruppen["2209"].push("Ryh_2209_9"); gruppen["2209"].push("Ryh_2209_10"); gruppen["2209"].push("Ryh_2209_11"); gruppen["2209"].push("Ryh_2209_12"); gruppen["2209"].push("Ryh_2209_13"); gruppen["2209"].push("Ryh_2209_14"); gruppen["2209"].push("Ryh_2209_15"); gruppen["2209"].push("Ryh_2209_16"); gruppen["2209"].push("Ryh_2209_17"); gruppen["2209"].push("Ryh_2209_18"); gruppen["2209"].push("Ryh_2209_19"); gruppen["2209"].push("Ryh_2209_21"); gruppen["2209"].push("Ryh_2209_22"); gruppen["2209"].push("Ryh_2209_23"); gruppen["2209"].push("Ryh_2209_24"); gruppen["2209"].push("Ryh_2209_25"); gruppen["2209"].push("Ryh_2209_26"); gruppen["2209"].push("Ryh_2209_27"); gruppen["2209"].push("Ryh_2209_28"); gruppen["2209"].push("Ryh_2209_29"); gruppen["2209"].push("Ryh_2209_30"); gruppen["2209"].push("Ryh_2209_30_A"); gruppen["2209"].push("Ryh_2209_30_B"); gruppen["2209"].push("Ryh_2209_31"); gruppen["2209"].push("Ryh_2209_32"); gruppen["2209"].push("Ryh_2209_33"); gruppen["2209"].push("Ryh_2209_34"); gruppen["2209"].push("Ryh_2209_35"); gruppen["2209"].push("Ryh_2209_41"); gruppen["2209"].push("Ryh_2209_42"); gruppen["2209"].push("Ryh_2209_43"); gruppen["2209"].push("Ryh_2209_44"); gruppen["2209"].push("Ryh_2209_51"); gruppen["2209"].push("Ryh_2209_52"); gruppen["2209"].push("Ryh_2209_53"); gruppen["2209"].push("Ryh_2209_54"); gruppen["2209"].push("Ryh_2209_55"); gruppen["2209"].push("Ryh_2209_56"); gruppen["2210"] = new Array(); gruppen["2210"].push("Ryh_2210_1"); gruppen["2210"].push("Ryh_2210_2"); gruppen["2210"].push("Ryh_2210_3"); gruppen["2210"].push("Ryh_2210_4"); gruppen["2210"].push("Ryh_2210_5"); gruppen["2210"].push("Ryh_2210_6"); gruppen["2210"].push("Ryh_2210_7"); gruppen["2210"].push("Ryh_2210_8"); gruppen["2210"].push("Ryh_2210_9"); gruppen["2210"].push("Ryh_2210_10"); gruppen["2210"].push("Ryh_2210_11"); gruppen["2210"].push("Ryh_2210_12"); gruppen["2210"].push("Ryh_2210_13"); gruppen["2210"].push("Ryh_2210_14_A"); gruppen["2210"].push("Ryh_2210_14_B"); gruppen["2210"].push("Ryh_2210_16"); gruppen["2210"].push("Ryh_2210_17"); gruppen["2210"].push("Ryh_2210_18"); gruppen["2210"].push("Ryh_2210_27"); gruppen["2210"].push("Ryh_2210_28"); gruppen["2210"].push("Ryh_2210_33"); gruppen["2210"].push("Ryh_2210_34"); gruppen["2210"].push("Ryh_2210_35"); gruppen["2210"].push("Ryh_2210_36"); gruppen["2210"].push("Ryh_2210_37"); gruppen["2210"].push("Ryh_2210_38"); gruppen["2210"].push("Ryh_2210_39"); gruppen["2210"].push("Ryh_2210_40"); gruppen["2301"] = new Array(); gruppen["2301"].push("Ryh_2301_1"); gruppen["2301"].push("Ryh_2301_2"); gruppen["2301"].push("Ryh_2301_3"); gruppen["2301"].push("Ryh_2301_4"); gruppen["2301"].push("Ryh_2301_5"); gruppen["2301"].push("Ryh_2301_6"); gruppen["2301"].push("Ryh_2301_7"); gruppen["2301"].push("Ryh_2301_9"); gruppen["2301"].push("Ryh_2301_10"); gruppen["2301"].push("Ryh_2301_11"); gruppen["2301"].push("Ryh_2301_12"); gruppen["2301"].push("Ryh_2301_13"); gruppen["2301"].push("Ryh_2301_14"); gruppen["2301"].push("Ryh_2301_15"); gruppen["2301"].push("Ryh_2301_16"); gruppen["2301"].push("Ryh_2301_17"); gruppen["2301"].push("Ryh_2301_18"); gruppen["2301"].push("Ryh_2301_19"); gruppen["2301"].push("Ryh_2301_20"); gruppen["2301"].push("Ryh_2301_21"); gruppen["2301"].push("Ryh_2301_22"); gruppen["2301"].push("Ryh_2301_23"); gruppen["2301"].push("Ryh_2301_24"); gruppen["2301"].push("Ryh_2301_25"); gruppen["2301"].push("Ryh_2301_26"); gruppen["2301"].push("Ryh_2301_27"); gruppen["2301"].push("Ryh_2301_28"); gruppen["2301"].push("Ryh_2301_29"); gruppen["2301"].push("Ryh_2301_30"); gruppen["2301"].push("Ryh_2301_31"); gruppen["2301"].push("Ryh_2301_32"); gruppen["2301"].push("Ryh_2301_33"); gruppen["2301"].push("Ryh_2301_34"); gruppen["2301"].push("Ryh_2301_35"); gruppen["2301"].push("Ryh_2301_36"); gruppen["2301"].push("Ryh_2301_37"); gruppen["2301"].push("Ryh_2301_38"); gruppen["2301"].push("Ryh_2301_39"); gruppen["2301"].push("Ryh_2301_40"); gruppen["2302"] = new Array(); gruppen["2302"].push("Ryh_2302_1"); gruppen["2302"].push("Ryh_2302_2"); gruppen["2302"].push("Ryh_2302_3"); gruppen["2302"].push("Ryh_2302_4"); gruppen["2302"].push("Ryh_2302_5"); gruppen["2302"].push("Ryh_2302_6"); gruppen["2302"].push("Ryh_2302_7"); gruppen["2302"].push("Ryh_2302_8"); gruppen["2302"].push("Ryh_2302_9"); gruppen["2302"].push("Ryh_2302_10"); gruppen["2302"].push("Ryh_2302_11"); gruppen["2302"].push("Ryh_2302_12"); gruppen["2302"].push("Ryh_2302_13"); gruppen["2302"].push("Ryh_2302_14"); gruppen["2302"].push("Ryh_2302_15"); gruppen["2302"].push("Ryh_2302_16"); gruppen["2302"].push("Ryh_2302_17"); gruppen["2302"].push("Ryh_2302_18"); gruppen["2302"].push("Ryh_2302_19"); gruppen["2302"].push("Ryh_2302_20"); gruppen["2302"].push("Ryh_2302_21"); gruppen["2302"].push("Ryh_2302_22"); gruppen["2302"].push("Ryh_2302_23"); gruppen["2302"].push("Ryh_2302_24"); gruppen["2302"].push("Ryh_2302_25"); gruppen["2302"].push("Ryh_2302_26"); gruppen["2302"].push("Ryh_2302_27"); gruppen["2302"].push("Ryh_2302_28"); gruppen["2302"].push("Ryh_2302_29"); gruppen["2302"].push("Ryh_2302_30"); gruppen["2302"].push("Ryh_2302_31"); gruppen["2302"].push("Ryh_2302_32"); gruppen["2302"].push("Ryh_2302_33"); gruppen["2302"].push("Ryh_2302_34"); gruppen["2302"].push("Ryh_2302_35"); gruppen["2302"].push("Ryh_2302_36"); gruppen["2302"].push("Ryh_2302_37"); gruppen["2303"] = new Array(); gruppen["2303"].push("Ryh_2303_3"); gruppen["2303"].push("Ryh_2303_4"); gruppen["2303"].push("Ryh_2303_5"); gruppen["2303"].push("Ryh_2303_6"); gruppen["2303"].push("Ryh_2303_7"); gruppen["2303"].push("Ryh_2303_8"); gruppen["2303"].push("Ryh_2303_9"); gruppen["2303"].push("Ryh_2303_10"); gruppen["2303"].push("Ryh_2303_11"); gruppen["2303"].push("Ryh_2303_12"); gruppen["2303"].push("Ryh_2303_13"); gruppen["2303"].push("Ryh_2303_14"); gruppen["2303"].push("Ryh_2303_15"); gruppen["2303"].push("Ryh_2303_16"); gruppen["2303"].push("Ryh_2303_17"); gruppen["2303"].push("Ryh_2303_18"); gruppen["2303"].push("Ryh_2303_19"); gruppen["2303"].push("Ryh_2303_20"); gruppen["2303"].push("Ryh_2303_21"); gruppen["2303"].push("Ryh_2303_22"); gruppen["2303"].push("Ryh_2303_23"); gruppen["2303"].push("Ryh_2303_24"); gruppen["2303"].push("Ryh_2303_25"); gruppen["2303"].push("Ryh_2303_26"); gruppen["2303"].push("Ryh_2303_27"); gruppen["2303"].push("Ryh_2303_28"); gruppen["2303"].push("Ryh_2303_29"); gruppen["2303"].push("Ryh_2303_30"); gruppen["2303"].push("Ryh_2303_31"); gruppen["2303"].push("Ryh_2303_32"); gruppen["2303"].push("Ryh_2303_33"); gruppen["2303"].push("Ryh_2303_34"); gruppen["2303"].push("Ryh_2303_35"); gruppen["2303"].push("Ryh_2303_36"); gruppen["2303"].push("Ryh_2303_37"); gruppen["2304"] = new Array(); gruppen["2304"].push("Ryh_2304_3"); gruppen["2304"].push("Ryh_2304_4"); gruppen["2304"].push("Ryh_2304_5"); gruppen["2304"].push("Ryh_2304_6"); gruppen["2304"].push("Ryh_2304_7"); gruppen["2304"].push("Ryh_2304_8"); gruppen["2304"].push("Ryh_2304_9"); gruppen["2304"].push("Ryh_2304_10"); gruppen["2304"].push("Ryh_2304_11"); gruppen["2304"].push("Ryh_2304_12"); gruppen["2304"].push("Ryh_2304_13"); gruppen["2304"].push("Ryh_2304_14"); gruppen["2304"].push("Ryh_2304_15"); gruppen["2304"].push("Ryh_2304_16"); gruppen["2304"].push("Ryh_2304_17"); gruppen["2304"].push("Ryh_2304_18"); gruppen["2304"].push("Ryh_2304_19"); gruppen["2304"].push("Ryh_2304_20"); gruppen["2304"].push("Ryh_2304_21"); gruppen["2304"].push("Ryh_2304_22"); gruppen["2304"].push("Ryh_2304_23"); gruppen["2304"].push("Ryh_2304_24"); gruppen["2304"].push("Ryh_2304_25"); gruppen["2304"].push("Ryh_2304_26"); gruppen["2304"].push("Ryh_2304_27"); gruppen["2304"].push("Ryh_2304_28"); gruppen["2304"].push("Ryh_2304_29"); gruppen["2305"] = new Array(); gruppen["2305"].push("Ryh_2305_3"); gruppen["2305"].push("Ryh_2305_4"); gruppen["2305"].push("Ryh_2305_5"); gruppen["2305"].push("Ryh_2305_6"); gruppen["2305"].push("Ryh_2305_7"); gruppen["2305"].push("Ryh_2305_8"); gruppen["2305"].push("Ryh_2305_9"); gruppen["2305"].push("Ryh_2305_10"); gruppen["2305"].push("Ryh_2305_11"); gruppen["2305"].push("Ryh_2305_12"); gruppen["2305"].push("Ryh_2305_13"); gruppen["2305"].push("Ryh_2305_14"); gruppen["2305"].push("Ryh_2305_15"); gruppen["2305"].push("Ryh_2305_16"); gruppen["2305"].push("Ryh_2305_17"); gruppen["2305"].push("Ryh_2305_18"); gruppen["2305"].push("Ryh_2305_19"); gruppen["2305"].push("Ryh_2305_20"); gruppen["2305"].push("Ryh_2305_21"); gruppen["2305"].push("Ryh_2305_22"); gruppen["2305"].push("Ryh_2305_23"); gruppen["2305"].push("Ryh_2305_24"); gruppen["2305"].push("Ryh_2305_25"); gruppen["2305"].push("Ryh_2305_26"); gruppen["2305"].push("Ryh_2305_27"); gruppen["2305"].push("Ryh_2305_28"); gruppen["2305"].push("Ryh_2305_29"); gruppen["2305"].push("Ryh_2305_30"); gruppen["2305"].push("Ryh_2305_31"); gruppen["2305"].push("Ryh_2305_32"); gruppen["2305"].push("Ryh_2305_33"); gruppen["2305"].push("Ryh_2305_34"); gruppen["2305"].push("Ryh_2305_35"); gruppen["2305"].push("Ryh_2305_36"); gruppen["2305"].push("Ryh_2305_37"); gruppen["2305"].push("Ryh_2305_38"); gruppen["2305"].push("Ryh_2305_39"); gruppen["2305"].push("Ryh_2305_40"); gruppen["2305"].push("Ryh_2305_41"); gruppen["2305"].push("Ryh_2305_42"); gruppen["2305"].push("Ryh_2305_43"); gruppen["2305"].push("Ryh_2305_44"); gruppen["2401"] = new Array(); gruppen["2401"].push("Ryh_2401_1"); gruppen["2401"].push("Ryh_2401_2"); gruppen["2401"].push("Ryh_2401_3"); gruppen["2401"].push("Ryh_2401_4"); gruppen["2401"].push("Ryh_2401_5"); gruppen["2401"].push("Ryh_2401_6"); gruppen["2401"].push("Ryh_2401_7_A"); gruppen["2401"].push("Ryh_2401_7_B"); gruppen["2401"].push("Ryh_2401_8"); gruppen["2401"].push("Ryh_2401_9"); gruppen["2401"].push("Ryh_2401_10"); gruppen["2401"].push("Ryh_2401_11"); gruppen["2401"].push("Ryh_2401_12"); gruppen["2401"].push("Ryh_2401_13"); gruppen["2401"].push("Ryh_2401_14"); gruppen["2401"].push("Ryh_2401_15"); gruppen["2401"].push("Ryh_2401_16"); gruppen["2401"].push("Ryh_2401_17"); gruppen["2401"].push("Ryh_2401_18"); gruppen["2401"].push("Ryh_2401_19"); gruppen["2401"].push("Ryh_2401_20"); gruppen["2401"].push("Ryh_2401_21"); gruppen["2401"].push("Ryh_2401_22"); gruppen["2401"].push("Ryh_2401_23"); gruppen["2401"].push("Ryh_2401_24"); gruppen["2401"].push("Ryh_2401_25"); gruppen["2401"].push("Ryh_2401_26"); gruppen["2401"].push("Ryh_2401_27"); gruppen["2401"].push("Ryh_2401_28"); gruppen["2401"].push("Ryh_2401_29"); gruppen["2401"].push("Ryh_2401_30"); gruppen["2401"].push("Ryh_2401_31"); gruppen["2401"].push("Ryh_2401_32"); gruppen["2401"].push("Ryh_2401_33"); gruppen["2401"].push("Ryh_2401_34"); gruppen["2402"] = new Array(); gruppen["2402"].push("Ryh_2402_1"); gruppen["2402"].push("Ryh_2402_1_A"); gruppen["2402"].push("Ryh_2402_2_A"); gruppen["2402"].push("Ryh_2402_2_B"); gruppen["2402"].push("Ryh_2402_3_A"); gruppen["2402"].push("Ryh_2402_3_B"); gruppen["2402"].push("Ryh_2402_4_A"); gruppen["2402"].push("Ryh_2402_4_B"); gruppen["2402"].push("Ryh_2402_5_A"); gruppen["2402"].push("Ryh_2402_5_B"); gruppen["2402"].push("Ryh_2402_6_A"); gruppen["2402"].push("Ryh_2402_6_B"); gruppen["2402"].push("Ryh_2402_7_A"); gruppen["2402"].push("Ryh_2402_7_B"); gruppen["2402"].push("Ryh_2402_8_A"); gruppen["2402"].push("Ryh_2402_8_B"); gruppen["2402"].push("Ryh_2402_9_A"); gruppen["2402"].push("Ryh_2402_9_B"); gruppen["2402"].push("Ryh_2402_10_A"); gruppen["2402"].push("Ryh_2402_10_B"); gruppen["2402"].push("Ryh_2402_11_A"); gruppen["2402"].push("Ryh_2402_11_B"); gruppen["2402"].push("Ryh_2402_12_A"); gruppen["2402"].push("Ryh_2402_12_B"); gruppen["2402"].push("Ryh_2402_13_A"); gruppen["2402"].push("Ryh_2402_13_B"); gruppen["2402"].push("Ryh_2402_14_A"); gruppen["2402"].push("Ryh_2402_14_B"); gruppen["2402"].push("Ryh_2402_15_A"); gruppen["2402"].push("Ryh_2402_15_B"); gruppen["2402"].push("Ryh_2402_16_A"); gruppen["2402"].push("Ryh_2402_16_B"); gruppen["2402"].push("Ryh_2402_17_A"); gruppen["2402"].push("Ryh_2402_17_B"); gruppen["2402"].push("Ryh_2402_18"); gruppen["2402"].push("Ryh_2402_19"); gruppen["2402"].push("Ryh_2402_20"); gruppen["2402"].push("Ryh_2402_21"); gruppen["2402"].push("Ryh_2402_22"); gruppen["2402"].push("Ryh_2402_23"); gruppen["2402"].push("Ryh_2402_24"); gruppen["2402"].push("Ryh_2402_25"); gruppen["2402"].push("Ryh_2402_31"); gruppen["2501"] = new Array(); gruppen["2501"].push("Ryh_2501_1"); gruppen["2501"].push("Ryh_2501_2"); gruppen["2501"].push("Ryh_2501_3"); gruppen["2501"].push("Ryh_2501_5"); gruppen["2501"].push("Ryh_2501_6"); gruppen["2501"].push("Ryh_2501_7"); gruppen["2501"].push("Ryh_2501_8"); gruppen["2501"].push("Ryh_2501_9"); gruppen["2501"].push("Ryh_2501_11"); gruppen["2501"].push("Ryh_2501_13"); gruppen["2501"].push("Ryh_2501_16"); gruppen["2501"].push("Ryh_2501_17"); gruppen["2501"].push("Ryh_2501_19"); gruppen["2501"].push("Ryh_2501_20"); gruppen["2501"].push("Ryh_2501_22"); gruppen["2501"].push("Ryh_2501_23"); gruppen["2501"].push("Ryh_2501_24"); gruppen["2501"].push("Ryh_2501_26"); gruppen["2501"].push("Ryh_2501_27"); gruppen["2501"].push("Ryh_2501_28"); gruppen["2501"].push("Ryh_2501_29"); gruppen["2501"].push("Ryh_2501_30"); gruppen["2501"].push("Ryh_2501_31"); gruppen["2501"].push("Ryh_2501_32"); gruppen["2501"].push("Ryh_2501_33"); gruppen["2501"].push("Ryh_2501_34"); gruppen["2501"].push("Ryh_2501_35"); gruppen["2501"].push("Ryh_2501_36"); gruppen["2501"].push("Ryh_2501_37"); gruppen["2501"].push("Ryh_2501_38"); gruppen["2501"].push("Ryh_2501_39"); gruppen["2501"].push("Ryh_2501_51"); gruppen["2501"].push("Ryh_2501_54"); gruppen["2501"].push("Ryh_2501_55"); gruppen["2501"].push("Ryh_2501_56"); gruppen["2502"] = new Array(); gruppen["2502"].push("Ryh_2502_1"); gruppen["2502"].push("Ryh_2502_2"); gruppen["2502"].push("Ryh_2502_3"); gruppen["2502"].push("Ryh_2502_4"); gruppen["2502"].push("Ryh_2502_5"); gruppen["2502"].push("Ryh_2502_6"); gruppen["2502"].push("Ryh_2502_9"); gruppen["2502"].push("Ryh_2502_10"); gruppen["2502"].push("Ryh_2502_11"); gruppen["2502"].push("Ryh_2502_47"); gruppen["2502"].push("Ryh_2502_51"); gruppen["2502"].push("Ryh_2502_52"); gruppen["2502"].push("Ryh_2502_53"); gruppen["2502"].push("Ryh_2502_54"); gruppen["2502"].push("Ryh_2502_55"); gruppen["2502"].push("Ryh_2502_56"); gruppen["2503"] = new Array(); gruppen["2503"].push("Ryh_2503_2"); gruppen["2503"].push("Ryh_2503_3"); gruppen["2503"].push("Ryh_2503_5"); gruppen["2503"].push("Ryh_2503_7"); gruppen["2503"].push("Ryh_2503_8"); gruppen["2503"].push("Ryh_2503_9"); gruppen["2503"].push("Ryh_2503_10"); gruppen["2503"].push("Ryh_2503_12"); gruppen["2503"].push("Ryh_2503_13"); gruppen["2503"].push("Ryh_2503_15"); gruppen["2503"].push("Ryh_2503_16"); gruppen["2503"].push("Ryh_2503_17"); gruppen["2503"].push("Ryh_2503_18"); gruppen["2503"].push("Ryh_2503_19"); gruppen["2503"].push("Ryh_2503_20"); gruppen["2503"].push("Ryh_2503_21"); gruppen["2503"].push("Ryh_2503_22"); gruppen["2503"].push("Ryh_2503_23"); gruppen["2503"].push("Ryh_2503_24"); gruppen["2503"].push("Ryh_2503_27"); gruppen["2503"].push("Ryh_2503_28"); gruppen["2503"].push("Ryh_2503_29"); gruppen["2503"].push("Ryh_2503_30"); gruppen["2503"].push("Ryh_2503_31"); gruppen["2503"].push("Ryh_2503_32"); gruppen["2503"].push("Ryh_2503_33"); gruppen["2503"].push("Ryh_2503_34_A"); gruppen["2503"].push("Ryh_2503_34_B"); gruppen["2503"].push("Ryh_2503_35"); gruppen["2503"].push("Ryh_2503_36"); gruppen["2503"].push("Ryh_2503_37"); gruppen["2503"].push("Ryh_2503_46"); gruppen["2503"].push("Ryh_2503_51"); gruppen["2503"].push("Ryh_2503_52"); gruppen["2503"].push("Ryh_2503_53"); gruppen["2503"].push("Ryh_2503_54"); gruppen["2503"].push("Ryh_2503_55"); gruppen["2503"].push("Ryh_2503_56"); gruppen["2503"].push("Ryh_2503_57"); gruppen["2503"].push("Ryh_2503_58"); gruppen["2503"].push("Ryh_2503_59"); gruppen["2503"].push("Ryh_2503_60"); gruppen["2503"].push("Ryh_2503_61"); gruppen["2503"].push("Ryh_2503_62"); gruppen["2503"].push("Ryh_2503_63"); gruppen["2503"].push("Ryh_2503_64"); gruppen["2504"] = new Array(); gruppen["2504"].push("Ryh_2504_1"); gruppen["2504"].push("Ryh_2504_2"); gruppen["2504"].push("Ryh_2504_3"); gruppen["2504"].push("Ryh_2504_4"); gruppen["2504"].push("Ryh_2504_5"); gruppen["2504"].push("Ryh_2504_6"); gruppen["2504"].push("Ryh_2504_7"); gruppen["2504"].push("Ryh_2504_8"); gruppen["2505"] = new Array(); gruppen["2505"].push("Ryh_2505_1"); gruppen["2505"].push("Ryh_2505_2"); gruppen["2505"].push("Ryh_2505_3"); gruppen["2505"].push("Ryh_2505_4"); gruppen["2505"].push("Ryh_2505_5"); gruppen["2505"].push("Ryh_2505_6"); gruppen["2505"].push("Ryh_2505_7"); gruppen["2505"].push("Ryh_2505_8"); gruppen["2505"].push("Ryh_2505_9"); gruppen["2505"].push("Ryh_2505_11"); gruppen["2505"].push("Ryh_2505_12"); gruppen["2505"].push("Ryh_2505_13"); gruppen["2505"].push("Ryh_2505_15"); gruppen["2505"].push("Ryh_2505_16"); gruppen["2505"].push("Ryh_2505_18"); gruppen["2505"].push("Ryh_2505_21"); gruppen["2505"].push("Ryh_2505_22"); gruppen["2505"].push("Ryh_2505_24"); gruppen["2505"].push("Ryh_2505_25"); gruppen["2505"].push("Ryh_2505_26"); gruppen["2505"].push("Ryh_2505_27"); gruppen["2505"].push("Ryh_2505_28"); gruppen["2505"].push("Ryh_2505_29"); gruppen["2505"].push("Ryh_2505_30"); gruppen["2505"].push("Ryh_2505_36"); gruppen["2505"].push("Ryh_2505_37"); gruppen["2505"].push("Ryh_2505_38"); gruppen["2505"].push("Ryh_2505_39"); gruppen["2505"].push("Ryh_2505_40_A"); gruppen["2505"].push("Ryh_2505_40_B"); gruppen["2505"].push("Ryh_2505_40_C"); gruppen["2505"].push("Ryh_2505_41"); gruppen["2505"].push("Ryh_2505_43"); gruppen["2505"].push("Ryh_2505_46"); gruppen["2505"].push("Ryh_2505_47"); gruppen["2505"].push("Ryh_2505_48"); gruppen["2505"].push("Ryh_2505_49"); gruppen["2505"].push("Ryh_2505_51"); gruppen["2505"].push("Ryh_2505_52"); gruppen["2505"].push("Ryh_2505_56"); gruppen["2505"].push("Ryh_2505_58"); gruppen["2505"].push("Ryh_2505_61"); gruppen["2505"].push("Ryh_2505_64"); gruppen["2506"] = new Array(); gruppen["2506"].push("Ryh_2506_1"); gruppen["2506"].push("Ryh_2506_2"); gruppen["2506"].push("Ryh_2506_2_A"); gruppen["2506"].push("Ryh_2506_3"); gruppen["2506"].push("Ryh_2506_4"); gruppen["2506"].push("Ryh_2506_5"); gruppen["2506"].push("Ryh_2506_6"); gruppen["2506"].push("Ryh_2506_7"); gruppen["2506"].push("Ryh_2506_11"); gruppen["2506"].push("Ryh_2506_50_A"); gruppen["2506"].push("Ryh_2506_50_B"); gruppen["2506"].push("Ryh_2506_50_C"); gruppen["2506"].push("Ryh_2506_50_D"); gruppen["2507"] = new Array(); gruppen["2507"].push("Ryh_2507_1"); gruppen["2507"].push("Ryh_2507_4"); gruppen["2507"].push("Ryh_2507_5"); gruppen["2507"].push("Ryh_2507_6"); gruppen["2507"].push("Ryh_2507_9"); gruppen["2507"].push("Ryh_2507_10"); gruppen["2507"].push("Ryh_2507_11"); gruppen["2507"].push("Ryh_2507_12"); gruppen["2507"].push("Ryh_2507_13"); gruppen["2507"].push("Ryh_2507_15"); gruppen["2507"].push("Ryh_2507_16"); gruppen["2507"].push("Ryh_2507_21"); gruppen["2507"].push("Ryh_2507_25"); gruppen["2507"].push("Ryh_2507_26"); gruppen["2507"].push("Ryh_2507_27"); gruppen["2507"].push("Ryh_2507_28"); gruppen["2507"].push("Ryh_2507_29"); gruppen["2507"].push("Ryh_2507_32"); gruppen["2507"].push("Ryh_2507_33"); gruppen["2507"].push("Ryh_2507_34"); gruppen["2507"].push("Ryh_2507_41"); gruppen["2507"].push("Ryh_2507_42"); gruppen["2507"].push("Ryh_2507_43"); gruppen["2507"].push("Ryh_2507_44"); gruppen["2507"].push("Ryh_2507_45"); gruppen["2507"].push("Ryh_2507_46"); gruppen["2507"].push("Ryh_2507_70_A"); gruppen["2507"].push("Ryh_2507_70_B"); gruppen["2507"].push("Ryh_2507_70_C"); gruppen["2507"].push("Ryh_2507_70_D"); gruppen["2508"] = new Array(); gruppen["2508"].push("Ryh_2508_1"); gruppen["2508"].push("Ryh_2508_2"); gruppen["2508"].push("Ryh_2508_3"); gruppen["2508"].push("Ryh_2508_4"); gruppen["2508"].push("Ryh_2508_5"); gruppen["2508"].push("Ryh_2508_6"); gruppen["2508"].push("Ryh_2508_9_A"); gruppen["2508"].push("Ryh_2508_9_B"); gruppen["2508"].push("Ryh_2508_10"); gruppen["2508"].push("Ryh_2508_11"); gruppen["2508"].push("Ryh_2508_12"); gruppen["2508"].push("Ryh_2508_13"); gruppen["2508"].push("Ryh_2508_14"); gruppen["2508"].push("Ryh_2508_15"); gruppen["2508"].push("Ryh_2508_17"); gruppen["2508"].push("Ryh_2508_19"); gruppen["2508"].push("Ryh_2508_22"); gruppen["2508"].push("Ryh_2508_24"); gruppen["2508"].push("Ryh_2508_25"); gruppen["2508"].push("Ryh_2508_29_A"); gruppen["2508"].push("Ryh_2508_29_B"); gruppen["2508"].push("Ryh_2508_30"); gruppen["2508"].push("Ryh_2508_31"); gruppen["2508"].push("Ryh_2508_32"); gruppen["2508"].push("Ryh_2508_34"); gruppen["2508"].push("Ryh_2508_35"); gruppen["2508"].push("Ryh_2508_36"); gruppen["2508"].push("Ryh_2508_39"); gruppen["2508"].push("Ryh_2508_40"); gruppen["2508"].push("Ryh_2508_41"); gruppen["2508"].push("Ryh_2508_42"); gruppen["2508"].push("Ryh_2508_44"); gruppen["2508"].push("Ryh_2508_46"); gruppen["2508"].push("Ryh_2508_47"); gruppen["2509"] = new Array(); gruppen["2509"].push("Ryh_2509_1"); gruppen["2509"].push("Ryh_2509_4"); gruppen["2509"].push("Ryh_2509_5"); gruppen["2509"].push("Ryh_2509_6"); gruppen["2509"].push("Ryh_2509_9"); gruppen["2509"].push("Ryh_2509_13"); gruppen["2509"].push("Ryh_2509_14"); gruppen["2509"].push("Ryh_2509_15"); gruppen["2509"].push("Ryh_2509_17"); gruppen["2509"].push("Ryh_2509_18"); gruppen["2509"].push("Ryh_2509_19"); gruppen["2509"].push("Ryh_2509_20"); gruppen["2509"].push("Ryh_2509_21"); gruppen["2509"].push("Ryh_2509_25"); gruppen["2509"].push("Ryh_2509_26"); gruppen["2509"].push("Ryh_2509_28"); gruppen["2509"].push("Ryh_2509_29"); gruppen["2509"].push("Ryh_2509_30"); gruppen["2509"].push("Ryh_2509_31"); gruppen["2509"].push("Ryh_2509_33"); gruppen["2509"].push("Ryh_2509_34"); gruppen["2509"].push("Ryh_2509_35"); gruppen["2509"].push("Ryh_2509_36"); gruppen["2509"].push("Ryh_2509_37"); gruppen["2509"].push("Ryh_2509_39"); gruppen["2509"].push("Ryh_2509_42"); gruppen["2509"].push("Ryh_2509_43"); gruppen["2509"].push("Ryh_2509_44"); gruppen["2509"].push("Ryh_2509_45"); gruppen["2510"] = new Array(); gruppen["2510"].push("Ryh_2510_1"); gruppen["2510"].push("Ryh_2510_2"); gruppen["2510"].push("Ryh_2510_3"); gruppen["2510"].push("Ryh_2510_4"); gruppen["2510"].push("Ryh_2510_5"); gruppen["2510"].push("Ryh_2510_7"); gruppen["2510"].push("Ryh_2510_8"); gruppen["2510"].push("Ryh_2510_31"); gruppen["2510"].push("Ryh_2510_32"); gruppen["2510"].push("Ryh_2510_33"); gruppen["2510"].push("Ryh_2510_34"); gruppen["2510"].push("Ryh_2510_58_A"); gruppen["2510"].push("Ryh_2510_58_B"); gruppen["2510"].push("Ryh_2510_58_C"); gruppen["2510"].push("Ryh_2510_58_D"); gruppen["2510"].push("Ryh_2510_58_E"); gruppen["2510"].push("Ryh_2510_58_F"); gruppen["2510"].push("Ryh_2510_59"); gruppen["2510"].push("Ryh_2510_60_A"); gruppen["2510"].push("Ryh_2510_60_B"); gruppen["2510"].push("Ryh_2510_60_C"); gruppen["2510"].push("Ryh_2510_60_D"); gruppen["2510"].push("Ryh_2510_60_E"); gruppen["2510"].push("Ryh_2510_60_F"); gruppen["2511"] = new Array(); gruppen["2511"].push("Ryh_2511_1"); gruppen["2511"].push("Ryh_2511_2"); gruppen["2511"].push("Ryh_2511_3"); gruppen["2511"].push("Ryh_2511_4"); gruppen["2511"].push("Ryh_2511_5_A"); gruppen["2511"].push("Ryh_2511_5_B"); gruppen["2511"].push("Ryh_2511_6"); gruppen["2511"].push("Ryh_2511_9"); gruppen["2511"].push("Ryh_2511_11"); gruppen["2511"].push("Ryh_2511_12"); gruppen["2511"].push("Ryh_2511_13"); gruppen["2511"].push("Ryh_2511_15"); gruppen["2511"].push("Ryh_2511_16"); gruppen["2511"].push("Ryh_2511_18_A"); gruppen["2511"].push("Ryh_2511_18_B"); gruppen["2511"].push("Ryh_2511_19"); gruppen["2511"].push("Ryh_2511_20"); gruppen["2511"].push("Ryh_2511_21"); gruppen["2511"].push("Ryh_2511_22"); gruppen["2511"].push("Ryh_2511_23"); gruppen["2511"].push("Ryh_2511_26"); gruppen["2511"].push("Ryh_2511_28"); gruppen["2511"].push("Ryh_2511_29"); gruppen["2511"].push("Ryh_2511_31"); gruppen["2511"].push("Ryh_2511_32"); gruppen["2511"].push("Ryh_2511_33"); gruppen["2511"].push("Ryh_2511_34"); gruppen["2511"].push("Ryh_2511_35"); gruppen["2511"].push("Ryh_2511_36"); gruppen["2511"].push("Ryh_2511_37_A"); gruppen["2511"].push("Ryh_2511_37_B"); gruppen["2511"].push("Ryh_2511_37_C"); gruppen["2511"].push("Ryh_2511_37_D"); gruppen["2511"].push("Ryh_2511_37_E"); gruppen["2511"].push("Ryh_2511_37_F"); gruppen["2511"].push("Ryh_2511_38_A"); gruppen["2511"].push("Ryh_2511_38_B"); gruppen["2511"].push("Ryh_2511_38_C"); gruppen["2511"].push("Ryh_2511_38_D"); gruppen["2511"].push("Ryh_2511_38_E"); gruppen["2511"].push("Ryh_2511_38_F"); gruppen["2511"].push("Ryh_2511_39_A"); gruppen["2511"].push("Ryh_2511_39_B"); gruppen["2511"].push("Ryh_2511_39_C"); gruppen["2511"].push("Ryh_2511_39_D"); gruppen["2511"].push("Ryh_2511_39_E"); gruppen["2511"].push("Ryh_2511_39_F"); gruppen["2511"].push("Ryh_2511_40"); gruppen["2511"].push("Ryh_2511_41_A"); gruppen["2511"].push("Ryh_2511_41_B"); gruppen["2511"].push("Ryh_2511_41_C"); gruppen["2511"].push("Ryh_2511_41_D"); gruppen["2601"] = new Array(); gruppen["2601"].push("Ryh_2601_1"); gruppen["2601"].push("Ryh_2601_2"); gruppen["2601"].push("Ryh_2601_3"); gruppen["2601"].push("Ryh_2601_4"); gruppen["2601"].push("Ryh_2601_5"); gruppen["2601"].push("Ryh_2601_6"); gruppen["2601"].push("Ryh_2601_8"); gruppen["2601"].push("Ryh_2601_9"); gruppen["2601"].push("Ryh_2601_10"); gruppen["2601"].push("Ryh_2601_11"); gruppen["2601"].push("Ryh_2601_12"); gruppen["2601"].push("Ryh_2601_15"); gruppen["2601"].push("Ryh_2601_16"); gruppen["2601"].push("Ryh_2601_17"); gruppen["2601"].push("Ryh_2601_18"); gruppen["2601"].push("Ryh_2601_21"); gruppen["2601"].push("Ryh_2601_22"); gruppen["2601"].push("Ryh_2601_24"); gruppen["2601"].push("Ryh_2601_26"); gruppen["2601"].push("Ryh_2601_28"); gruppen["2601"].push("Ryh_2601_31"); gruppen["2601"].push("Ryh_2601_32"); gruppen["2601"].push("Ryh_2601_34"); gruppen["2601"].push("Ryh_2601_35"); gruppen["2601"].push("Ryh_2601_36"); gruppen["2601"].push("Ryh_2601_38"); gruppen["2601"].push("Ryh_2601_39"); gruppen["2601"].push("Ryh_2601_41"); gruppen["2601"].push("Ryh_2601_42"); gruppen["2601"].push("Ryh_2601_43"); gruppen["2601"].push("Ryh_2601_45"); gruppen["2601"].push("Ryh_2601_47"); gruppen["2601"].push("Ryh_2601_48"); gruppen["2601"].push("Ryh_2601_49"); gruppen["2601"].push("Ryh_2601_51"); gruppen["2601"].push("Ryh_2601_52"); gruppen["2601"].push("Ryh_2601_53"); gruppen["2601"].push("Ryh_2601_54"); gruppen["2601"].push("Ryh_2601_56"); gruppen["2601"].push("Ryh_2601_57"); gruppen["2601"].push("Ryh_2601_58"); gruppen["2601"].push("Ryh_2601_59"); gruppen["2601"].push("Ryh_2601_60"); gruppen["2601"].push("Ryh_2601_61"); gruppen["2601"].push("Ryh_2601_62"); gruppen["2601"].push("Ryh_2601_64"); gruppen["2601"].push("Ryh_2601_65"); gruppen["2601"].push("Ryh_2601_66_A"); gruppen["2601"].push("Ryh_2601_66_B"); gruppen["2601"].push("Ryh_2601_67_A"); gruppen["2601"].push("Ryh_2601_67_B"); gruppen["2601"].push("Ryh_2601_68"); gruppen["2601"].push("Ryh_2601_69"); gruppen["2601"].push("Ryh_2601_70"); gruppen["2601"].push("Ryh_2601_71"); gruppen["2601"].push("Ryh_2601_72"); gruppen["2602"] = new Array(); gruppen["2602"].push("Ryh_2602_1"); gruppen["2602"].push("Ryh_2602_5"); gruppen["2602"].push("Ryh_2602_7"); gruppen["2602"].push("Ryh_2602_8"); gruppen["2602"].push("Ryh_2602_9"); gruppen["2602"].push("Ryh_2602_10"); gruppen["2602"].push("Ryh_2602_12"); gruppen["2602"].push("Ryh_2602_15"); gruppen["2602"].push("Ryh_2602_18"); gruppen["2602"].push("Ryh_2602_20"); gruppen["2602"].push("Ryh_2602_21"); gruppen["2602"].push("Ryh_2602_22"); gruppen["2602"].push("Ryh_2602_23"); gruppen["2602"].push("Ryh_2602_24"); gruppen["2602"].push("Ryh_2602_26"); gruppen["2602"].push("Ryh_2602_27"); gruppen["2602"].push("Ryh_2602_31"); gruppen["2602"].push("Ryh_2602_34_A"); gruppen["2602"].push("Ryh_2602_34_B"); gruppen["2602"].push("Ryh_2602_35"); gruppen["2602"].push("Ryh_2602_36"); gruppen["2602"].push("Ryh_2602_37"); gruppen["2602"].push("Ryh_2602_38"); gruppen["2602"].push("Ryh_2602_39"); gruppen["2602"].push("Ryh_2602_40"); gruppen["2602"].push("Ryh_2602_41"); gruppen["2602"].push("Ryh_2602_42"); gruppen["2602"].push("Ryh_2602_43"); gruppen["2602"].push("Ryh_2602_44"); gruppen["2602"].push("Ryh_2602_45"); gruppen["2602"].push("Ryh_2602_46"); gruppen["2602"].push("Ryh_2602_47"); gruppen["2602"].push("Ryh_2602_50"); gruppen["2602"].push("Ryh_2602_51"); gruppen["2603"] = new Array(); gruppen["2603"].push("Ryh_2603_1"); gruppen["2603"].push("Ryh_2603_2"); gruppen["2603"].push("Ryh_2603_3"); gruppen["2603"].push("Ryh_2603_4"); gruppen["2603"].push("Ryh_2603_11"); gruppen["2603"].push("Ryh_2603_12"); gruppen["2603"].push("Ryh_2603_13"); gruppen["2603"].push("Ryh_2603_21"); gruppen["2603"].push("Ryh_2603_22"); gruppen["2603"].push("Ryh_2603_23"); gruppen["2603"].push("Ryh_2603_24"); gruppen["2603"].push("Ryh_2603_25"); gruppen["2603"].push("Ryh_2603_26"); gruppen["2603"].push("Ryh_2603_56"); gruppen["2603"].push("Ryh_2603_57"); gruppen["2604"] = new Array(); gruppen["2604"].push("Ryh_2604_1"); gruppen["2604"].push("Ryh_2604_2"); gruppen["2604"].push("Ryh_2604_3_A"); gruppen["2604"].push("Ryh_2604_3_B"); gruppen["2604"].push("Ryh_2604_4"); gruppen["2604"].push("Ryh_2604_5"); gruppen["2604"].push("Ryh_2604_6"); gruppen["2604"].push("Ryh_2604_8"); gruppen["2604"].push("Ryh_2604_10"); gruppen["2604"].push("Ryh_2604_11"); gruppen["2604"].push("Ryh_2604_12"); gruppen["2604"].push("Ryh_2604_14"); gruppen["2604"].push("Ryh_2604_16"); gruppen["2604"].push("Ryh_2604_17"); gruppen["2604"].push("Ryh_2604_18"); gruppen["2604"].push("Ryh_2604_19"); gruppen["2604"].push("Ryh_2604_27"); gruppen["2604"].push("Ryh_2604_29"); gruppen["2604"].push("Ryh_2604_30"); gruppen["2604"].push("Ryh_2604_31"); gruppen["2604"].push("Ryh_2604_32"); gruppen["2604"].push("Ryh_2604_33"); gruppen["2604"].push("Ryh_2604_34"); gruppen["2604"].push("Ryh_2604_35"); gruppen["2604"].push("Ryh_2604_36"); gruppen["2604"].push("Ryh_2604_37"); gruppen["2604"].push("Ryh_2604_41"); gruppen["2604"].push("Ryh_2604_49"); gruppen["2604"].push("Ryh_2604_50"); gruppen["2604"].push("Ryh_2604_51_A"); gruppen["2604"].push("Ryh_2604_51_B"); gruppen["2604"].push("Ryh_2604_51_C"); gruppen["2604"].push("Ryh_2604_51_D"); gruppen["2604"].push("Ryh_2604_51_E"); gruppen["2604"].push("Ryh_2604_52"); gruppen["2604"].push("Ryh_2604_53"); gruppen["2605"] = new Array(); gruppen["2605"].push("Ryh_2605_1"); gruppen["2605"].push("Ryh_2605_2"); gruppen["2605"].push("Ryh_2605_3"); gruppen["2605"].push("Ryh_2605_4"); gruppen["2605"].push("Ryh_2605_5_A"); gruppen["2605"].push("Ryh_2605_5_B"); gruppen["2605"].push("Ryh_2605_6"); gruppen["2605"].push("Ryh_2605_7"); gruppen["2605"].push("Ryh_2605_9"); gruppen["2605"].push("Ryh_2605_10"); gruppen["2605"].push("Ryh_2605_11"); gruppen["2605"].push("Ryh_2605_12"); gruppen["2605"].push("Ryh_2605_13"); gruppen["2605"].push("Ryh_2605_14"); gruppen["2605"].push("Ryh_2605_15_A"); gruppen["2605"].push("Ryh_2605_15_B"); gruppen["2605"].push("Ryh_2605_16"); gruppen["2605"].push("Ryh_2605_17"); gruppen["2605"].push("Ryh_2605_18"); gruppen["2605"].push("Ryh_2605_19"); gruppen["2605"].push("Ryh_2605_20"); gruppen["2605"].push("Ryh_2605_21"); gruppen["2605"].push("Ryh_2605_22"); gruppen["2605"].push("Ryh_2605_24"); gruppen["2605"].push("Ryh_2605_25"); gruppen["2605"].push("Ryh_2605_26"); gruppen["2605"].push("Ryh_2605_29"); gruppen["2605"].push("Ryh_2605_30"); gruppen["2605"].push("Ryh_2605_31"); gruppen["2605"].push("Ryh_2605_32"); gruppen["2605"].push("Ryh_2605_35_A"); gruppen["2605"].push("Ryh_2605_35_B"); gruppen["2605"].push("Ryh_2605_36_A"); gruppen["2605"].push("Ryh_2605_36_B"); gruppen["2605"].push("Ryh_2605_37_A"); gruppen["2605"].push("Ryh_2605_37_B"); gruppen["2605"].push("Ryh_2605_38"); gruppen["2605"].push("Ryh_2605_39"); gruppen["2605"].push("Ryh_2605_42"); gruppen["2605"].push("Ryh_2605_45"); gruppen["2605"].push("Ryh_2605_59"); gruppen["2605"].push("Ryh_2605_60_A"); gruppen["2605"].push("Ryh_2605_60_B"); gruppen["2605"].push("Ryh_2605_60_C"); gruppen["2605"].push("Ryh_2605_60_D"); gruppen["2605"].push("Ryh_2605_60_E"); gruppen["2605"].push("Ryh_2605_60_F"); gruppen["2605"].push("Ryh_2605_60_G"); gruppen["2605"].push("Ryh_2605_60_H"); gruppen["2605"].push("Ryh_2605_60_I"); gruppen["2606"] = new Array(); gruppen["2606"].push("Ryh_2606_1"); gruppen["2606"].push("Ryh_2606_2"); gruppen["2606"].push("Ryh_2606_3"); gruppen["2606"].push("Ryh_2606_4"); gruppen["2606"].push("Ryh_2606_5"); gruppen["2606"].push("Ryh_2606_16"); gruppen["2606"].push("Ryh_2606_17"); gruppen["2606"].push("Ryh_2606_20"); gruppen["2606"].push("Ryh_2606_21"); gruppen["2606"].push("Ryh_2606_23"); gruppen["2606"].push("Ryh_2606_24"); gruppen["2606"].push("Ryh_2606_25"); gruppen["2606"].push("Ryh_2606_26"); gruppen["2606"].push("Ryh_2606_27"); gruppen["2606"].push("Ryh_2606_28"); gruppen["2606"].push("Ryh_2606_29"); gruppen["2606"].push("Ryh_2606_30"); gruppen["2606"].push("Ryh_2606_31"); gruppen["2606"].push("Ryh_2606_32"); gruppen["2606"].push("Ryh_2606_33"); gruppen["2607"] = new Array(); gruppen["2607"].push("Ryh_2607_1_A"); gruppen["2607"].push("Ryh_2607_1_B"); gruppen["2607"].push("Ryh_2607_2"); gruppen["2607"].push("Ryh_2607_3"); gruppen["2607"].push("Ryh_2607_4"); gruppen["2607"].push("Ryh_2607_5"); gruppen["2607"].push("Ryh_2607_6"); gruppen["2607"].push("Ryh_2607_7"); gruppen["2607"].push("Ryh_2607_8"); gruppen["2607"].push("Ryh_2607_10"); gruppen["2607"].push("Ryh_2607_11"); gruppen["2607"].push("Ryh_2607_12"); gruppen["2607"].push("Ryh_2607_13"); gruppen["2607"].push("Ryh_2607_14"); gruppen["2607"].push("Ryh_2607_15"); gruppen["2607"].push("Ryh_2607_16"); gruppen["2607"].push("Ryh_2607_17"); gruppen["2607"].push("Ryh_2607_18"); gruppen["2607"].push("Ryh_2607_19"); gruppen["2607"].push("Ryh_2607_20"); gruppen["2607"].push("Ryh_2607_21"); gruppen["2607"].push("Ryh_2607_22"); gruppen["2607"].push("Ryh_2607_23"); gruppen["2607"].push("Ryh_2607_24"); gruppen["2607"].push("Ryh_2607_25"); gruppen["2607"].push("Ryh_2607_26"); gruppen["2607"].push("Ryh_2607_27"); gruppen["2607"].push("Ryh_2607_28"); gruppen["2607"].push("Ryh_2607_29"); gruppen["2607"].push("Ryh_2607_30"); gruppen["2607"].push("Ryh_2607_31"); gruppen["2607"].push("Ryh_2607_32"); gruppen["2607"].push("Ryh_2607_33"); gruppen["2607"].push("Ryh_2607_34"); gruppen["2607"].push("Ryh_2607_35"); gruppen["2607"].push("Ryh_2607_36"); gruppen["2607"].push("Ryh_2607_37"); gruppen["2607"].push("Ryh_2607_38"); gruppen["2607"].push("Ryh_2607_43"); gruppen["2607"].push("Ryh_2607_44"); gruppen["2607"].push("Ryh_2607_47"); gruppen["2607"].push("Ryh_2607_48"); gruppen["2607"].push("Ryh_2607_50"); gruppen["2607"].push("Ryh_2607_51"); gruppen["2607"].push("Ryh_2607_52"); gruppen["2607"].push("Ryh_2607_53"); gruppen["2607"].push("Ryh_2607_54"); gruppen["2607"].push("Ryh_2607_55"); gruppen["2607"].push("Ryh_2607_56"); gruppen["2607"].push("Ryh_2607_57"); gruppen["2607"].push("Ryh_2607_58"); gruppen["2608"] = new Array(); gruppen["2608"].push("Ryh_2608_1"); gruppen["2608"].push("Ryh_2608_11"); gruppen["2608"].push("Ryh_2608_12"); gruppen["2608"].push("Ryh_2608_13"); gruppen["2608"].push("Ryh_2608_14"); gruppen["2608"].push("Ryh_2608_15"); gruppen["2608"].push("Ryh_2608_16"); gruppen["2608"].push("Ryh_2608_17"); gruppen["2608"].push("Ryh_2608_18"); gruppen["2608"].push("Ryh_2608_19"); gruppen["2608"].push("Ryh_2608_20"); gruppen["2608"].push("Ryh_2608_21"); gruppen["2609"] = new Array(); gruppen["2609"].push("Ryh_2609_2"); gruppen["2609"].push("Ryh_2609_3"); gruppen["2609"].push("Ryh_2609_4"); gruppen["2609"].push("Ryh_2609_5"); gruppen["2609"].push("Ryh_2609_6"); gruppen["2609"].push("Ryh_2609_7"); gruppen["2609"].push("Ryh_2609_8_A"); gruppen["2609"].push("Ryh_2609_8_B"); gruppen["2609"].push("Ryh_2609_9_A"); gruppen["2609"].push("Ryh_2609_9_B"); gruppen["2609"].push("Ryh_2609_10"); gruppen["2609"].push("Ryh_2609_11"); gruppen["2609"].push("Ryh_2609_14"); gruppen["2609"].push("Ryh_2609_15"); gruppen["2609"].push("Ryh_2609_16"); gruppen["2609"].push("Ryh_2609_17"); gruppen["2609"].push("Ryh_2609_18"); gruppen["2609"].push("Ryh_2609_19"); gruppen["2609"].push("Ryh_2609_20"); gruppen["2609"].push("Ryh_2609_21"); gruppen["2609"].push("Ryh_2609_23"); gruppen["2609"].push("Ryh_2609_24"); gruppen["2609"].push("Ryh_2609_26"); gruppen["2609"].push("Ryh_2609_27"); gruppen["2609"].push("Ryh_2609_28"); gruppen["2609"].push("Ryh_2609_29"); gruppen["2609"].push("Ryh_2609_30"); gruppen["2609"].push("Ryh_2609_31"); gruppen["2609"].push("Ryh_2609_32"); gruppen["2609"].push("Ryh_2609_33"); gruppen["2609"].push("Ryh_2609_34"); gruppen["2609"].push("Ryh_2609_35"); gruppen["2609"].push("Ryh_2609_36"); gruppen["2609"].push("Ryh_2609_37"); gruppen["2609"].push("Ryh_2609_38"); gruppen["2609"].push("Ryh_2609_39"); gruppen["2609"].push("Ryh_2609_40"); gruppen["2609"].push("Ryh_2609_41"); gruppen["2609"].push("Ryh_2609_42"); gruppen["2609"].push("Ryh_2609_43"); gruppen["2609"].push("Ryh_2609_44"); gruppen["2609"].push("Ryh_2609_45"); gruppen["2609"].push("Ryh_2609_46"); gruppen["2609"].push("Ryh_2609_47"); gruppen["2609"].push("Ryh_2609_48"); gruppen["2609"].push("Ryh_2609_49"); gruppen["2609"].push("Ryh_2609_50"); gruppen["2609"].push("Ryh_2609_51"); gruppen["2609"].push("Ryh_2609_52"); gruppen["2609"].push("Ryh_2609_53"); gruppen["2609"].push("Ryh_2609_54"); gruppen["2609"].push("Ryh_2609_55"); gruppen["2609"].push("Ryh_2609_56"); gruppen["2609"].push("Ryh_2609_57"); gruppen["2609"].push("Ryh_2609_58"); gruppen["2609"].push("Ryh_2609_59"); gruppen["2609"].push("Ryh_2609_70"); gruppen["2610"] = new Array(); gruppen["2610"].push("Ryh_2610_1"); gruppen["2610"].push("Ryh_2610_2"); gruppen["2610"].push("Ryh_2610_4"); gruppen["2610"].push("Ryh_2610_5"); gruppen["2610"].push("Ryh_2610_7"); gruppen["2610"].push("Ryh_2610_8"); gruppen["2610"].push("Ryh_2610_9"); gruppen["2610"].push("Ryh_2610_10"); gruppen["2610"].push("Ryh_2610_11"); gruppen["2610"].push("Ryh_2610_12"); gruppen["2610"].push("Ryh_2610_13"); gruppen["2610"].push("Ryh_2610_15"); gruppen["2610"].push("Ryh_2610_16"); gruppen["2610"].push("Ryh_2610_17"); gruppen["2610"].push("Ryh_2610_18"); gruppen["2610"].push("Ryh_2610_19"); gruppen["2610"].push("Ryh_2610_20"); gruppen["2610"].push("Ryh_2610_21"); gruppen["2610"].push("Ryh_2610_22"); gruppen["2610"].push("Ryh_2610_23"); gruppen["2610"].push("Ryh_2610_31"); gruppen["2610"].push("Ryh_2610_32"); gruppen["2610"].push("Ryh_2610_33"); gruppen["2610"].push("Ryh_2610_34"); gruppen["2610"].push("Ryh_2610_35"); gruppen["2610"].push("Ryh_2610_36"); gruppen["2611"] = new Array(); gruppen["2611"].push("Ryh_2611_1"); gruppen["2611"].push("Ryh_2611_4_A"); gruppen["2611"].push("Ryh_2611_4_B"); gruppen["2611"].push("Ryh_2611_4_C"); gruppen["2611"].push("Ryh_2611_5"); gruppen["2611"].push("Ryh_2611_6"); gruppen["2611"].push("Ryh_2611_7"); gruppen["2611"].push("Ryh_2611_8"); gruppen["2611"].push("Ryh_2611_9_A"); gruppen["2611"].push("Ryh_2611_9_B"); gruppen["2611"].push("Ryh_2611_10_A"); gruppen["2611"].push("Ryh_2611_10_B"); gruppen["2611"].push("Ryh_2611_11"); gruppen["2611"].push("Ryh_2611_12"); gruppen["2611"].push("Ryh_2611_13"); gruppen["2611"].push("Ryh_2611_14"); gruppen["2611"].push("Ryh_2611_16_A"); gruppen["2611"].push("Ryh_2611_16_B"); gruppen["2611"].push("Ryh_2611_17"); gruppen["2611"].push("Ryh_2611_18"); gruppen["2611"].push("Ryh_2611_20"); gruppen["2611"].push("Ryh_2611_21"); gruppen["2611"].push("Ryh_2611_22"); gruppen["2611"].push("Ryh_2611_23"); gruppen["2611"].push("Ryh_2611_29"); gruppen["2611"].push("Ryh_2611_31"); gruppen["2611"].push("Ryh_2611_32"); gruppen["2611"].push("Ryh_2611_33"); gruppen["2611"].push("Ryh_2611_34"); gruppen["2611"].push("Ryh_2611_35"); gruppen["2611"].push("Ryh_2611_36"); gruppen["2611"].push("Ryh_2611_37"); gruppen["2611"].push("Ryh_2611_38"); gruppen["2611"].push("Ryh_2611_40"); gruppen["2611"].push("Ryh_2611_41"); gruppen["2611"].push("Ryh_2611_42"); gruppen["2611"].push("Ryh_2611_43"); gruppen["2611"].push("Ryh_2611_44"); gruppen["2611"].push("Ryh_2611_45"); gruppen["2611"].push("Ryh_2611_46"); gruppen["2611"].push("Ryh_2611_47"); gruppen["2611"].push("Ryh_2611_48"); gruppen["2611"].push("Ryh_2611_49"); gruppen["2611"].push("Ryh_2611_52"); gruppen["2611"].push("Ryh_2611_53"); gruppen["2611"].push("Ryh_2611_54"); gruppen["2611"].push("Ryh_2611_55"); gruppen["2611"].push("Ryh_2611_56"); gruppen["2611"].push("Ryh_2611_57"); gruppen["2611"].push("Ryh_2611_58"); gruppen["2611"].push("Ryh_2611_59"); gruppen["2611"].push("Ryh_2611_60"); gruppen["2611"].push("Ryh_2611_61"); gruppen["2612"] = new Array(); gruppen["2612"].push("Ryh_2612_1"); gruppen["2612"].push("Ryh_2612_2"); gruppen["2612"].push("Ryh_2612_3"); gruppen["2612"].push("Ryh_2612_4_A"); gruppen["2612"].push("Ryh_2612_4_B"); gruppen["2612"].push("Ryh_2612_5"); gruppen["2612"].push("Ryh_2612_6"); gruppen["2612"].push("Ryh_2612_7"); gruppen["2612"].push("Ryh_2612_12"); gruppen["2612"].push("Ryh_2612_26"); gruppen["2612"].push("Ryh_2612_27"); gruppen["2612"].push("Ryh_2612_28"); gruppen["2612"].push("Ryh_2612_29"); gruppen["2612"].push("Ryh_2612_32"); gruppen["2612"].push("Ryh_2612_34"); gruppen["2612"].push("Ryh_2612_35"); gruppen["2612"].push("Ryh_2612_36"); gruppen["2612"].push("Ryh_2612_37"); gruppen["2612"].push("Ryh_2612_38"); gruppen["2612"].push("Ryh_2612_39"); gruppen["2612"].push("Ryh_2612_40"); gruppen["2612"].push("Ryh_2612_41_A"); gruppen["2612"].push("Ryh_2612_41_B"); gruppen["2613"] = new Array(); gruppen["2613"].push("Ryh_2613_1"); gruppen["2613"].push("Ryh_2613_3"); gruppen["2613"].push("Ryh_2613_4"); gruppen["2613"].push("Ryh_2613_5"); gruppen["2613"].push("Ryh_2613_6"); gruppen["2613"].push("Ryh_2613_7"); gruppen["2613"].push("Ryh_2613_8"); gruppen["2613"].push("Ryh_2613_11"); gruppen["2613"].push("Ryh_2613_12"); gruppen["2613"].push("Ryh_2613_13"); gruppen["2613"].push("Ryh_2613_14_A"); gruppen["2613"].push("Ryh_2613_14_B"); gruppen["2613"].push("Ryh_2613_14_C"); gruppen["2613"].push("Ryh_2613_15"); gruppen["2613"].push("Ryh_2613_16"); gruppen["2613"].push("Ryh_2613_19"); gruppen["2613"].push("Ryh_2613_21"); gruppen["2613"].push("Ryh_2613_22"); gruppen["2613"].push("Ryh_2613_24"); gruppen["2613"].push("Ryh_2613_25"); gruppen["2613"].push("Ryh_2613_28"); gruppen["2613"].push("Ryh_2613_29"); gruppen["2613"].push("Ryh_2613_30"); gruppen["2613"].push("Ryh_2613_31"); gruppen["2613"].push("Ryh_2613_32"); gruppen["2613"].push("Ryh_2613_33"); gruppen["2613"].push("Ryh_2613_34"); gruppen["2613"].push("Ryh_2613_35"); gruppen["2613"].push("Ryh_2613_36"); gruppen["2613"].push("Ryh_2613_38"); gruppen["2613"].push("Ryh_2613_39"); gruppen["2613"].push("Ryh_2613_40"); gruppen["2613"].push("Ryh_2613_41"); gruppen["2613"].push("Ryh_2613_42"); gruppen["2613"].push("Ryh_2613_43"); gruppen["2613"].push("Ryh_2613_44"); gruppen["2613"].push("Ryh_2613_45"); gruppen["2614"] = new Array(); gruppen["2614"].push("Ryh_2614_1"); gruppen["2614"].push("Ryh_2614_2"); gruppen["2614"].push("Ryh_2614_3"); gruppen["2614"].push("Ryh_2614_4"); gruppen["2614"].push("Ryh_2614_5"); gruppen["2614"].push("Ryh_2614_31"); gruppen["2614"].push("Ryh_2614_32"); gruppen["2614"].push("Ryh_2614_33"); gruppen["2614"].push("Ryh_2614_35"); gruppen["2614"].push("Ryh_2614_37"); gruppen["2614"].push("Ryh_2614_39"); gruppen["2614"].push("Ryh_2614_41"); gruppen["2614"].push("Ryh_2614_42"); gruppen["2614"].push("Ryh_2614_43"); gruppen["2614"].push("Ryh_2614_45"); gruppen["2614"].push("Ryh_2614_46"); gruppen["2614"].push("Ryh_2614_49_A"); gruppen["2614"].push("Ryh_2614_49_B"); gruppen["2614"].push("Ryh_2614_49_C"); gruppen["2614"].push("Ryh_2614_49_D"); gruppen["2614"].push("Ryh_2614_49_E"); gruppen["2614"].push("Ryh_2614_49_F"); gruppen["2614"].push("Ryh_2614_50_A"); gruppen["2614"].push("Ryh_2614_50_B"); gruppen["2614"].push("Ryh_2614_50_C"); gruppen["2614"].push("Ryh_2614_50_D"); gruppen["2615"] = new Array(); gruppen["2615"].push("Ryh_2615_1_A"); gruppen["2615"].push("Ryh_2615_1_B"); gruppen["2615"].push("Ryh_2615_2"); gruppen["2615"].push("Ryh_2615_3"); gruppen["2615"].push("Ryh_2615_4"); gruppen["2615"].push("Ryh_2615_5"); gruppen["2615"].push("Ryh_2615_6"); gruppen["2615"].push("Ryh_2615_7"); gruppen["2615"].push("Ryh_2615_8"); gruppen["2615"].push("Ryh_2615_11"); gruppen["2615"].push("Ryh_2615_12"); gruppen["2615"].push("Ryh_2615_13"); gruppen["2615"].push("Ryh_2615_14"); gruppen["2615"].push("Ryh_2615_15"); gruppen["2615"].push("Ryh_2615_17"); gruppen["2615"].push("Ryh_2615_18"); gruppen["2615"].push("Ryh_2615_19"); gruppen["2615"].push("Ryh_2615_20"); gruppen["2615"].push("Ryh_2615_22"); gruppen["2615"].push("Ryh_2615_23"); gruppen["2615"].push("Ryh_2615_26"); gruppen["2615"].push("Ryh_2615_27"); gruppen["2615"].push("Ryh_2615_28"); gruppen["2615"].push("Ryh_2615_29"); gruppen["2615"].push("Ryh_2615_30"); gruppen["2615"].push("Ryh_2615_35"); gruppen["2615"].push("Ryh_2615_36"); gruppen["2615"].push("Ryh_2615_37"); gruppen["2615"].push("Ryh_2615_38"); gruppen["2615"].push("Ryh_2615_41"); gruppen["2615"].push("Ryh_2615_42"); gruppen["2615"].push("Ryh_2615_43"); gruppen["2615"].push("Ryh_2615_44"); gruppen["2615"].push("Ryh_2615_46"); gruppen["2615"].push("Ryh_2615_47"); gruppen["2616"] = new Array(); gruppen["2616"].push("Ryh_2616_1"); gruppen["2616"].push("Ryh_2616_2"); gruppen["2616"].push("Ryh_2616_3"); gruppen["2616"].push("Ryh_2616_4"); gruppen["2616"].push("Ryh_2616_5"); gruppen["2616"].push("Ryh_2616_7"); gruppen["2616"].push("Ryh_2616_8"); gruppen["2616"].push("Ryh_2616_9_A"); gruppen["2616"].push("Ryh_2616_9_B"); gruppen["2616"].push("Ryh_2616_9_C"); gruppen["2616"].push("Ryh_2616_9_D"); gruppen["2616"].push("Ryh_2616_10_A"); gruppen["2616"].push("Ryh_2616_10_B"); gruppen["2616"].push("Ryh_2616_10_C"); gruppen["2616"].push("Ryh_2616_10_D"); gruppen["2616"].push("Ryh_2616_11"); gruppen["2616"].push("Ryh_2616_12"); gruppen["2616"].push("Ryh_2616_13"); gruppen["2616"].push("Ryh_2616_14"); gruppen["2616"].push("Ryh_2616_15"); gruppen["2616"].push("Ryh_2616_16"); gruppen["2616"].push("Ryh_2616_19"); gruppen["2616"].push("Ryh_2616_20"); gruppen["2616"].push("Ryh_2616_21"); gruppen["2616"].push("Ryh_2616_22"); gruppen["2616"].push("Ryh_2616_23"); gruppen["2616"].push("Ryh_2616_24"); gruppen["2616"].push("Ryh_2616_25"); gruppen["2616"].push("Ryh_2616_26"); gruppen["2616"].push("Ryh_2616_27"); gruppen["2616"].push("Ryh_2616_28"); gruppen["2616"].push("Ryh_2616_29"); gruppen["2616"].push("Ryh_2616_30"); gruppen["2616"].push("Ryh_2616_31"); gruppen["2616"].push("Ryh_2616_32_A"); gruppen["2616"].push("Ryh_2616_32_B"); gruppen["2616"].push("Ryh_2616_33"); gruppen["2616"].push("Ryh_2616_35"); gruppen["2616"].push("Ryh_2616_39"); gruppen["2616"].push("Ryh_2616_40"); gruppen["2616"].push("Ryh_2616_41"); gruppen["2616"].push("Ryh_2616_42"); gruppen["2616"].push("Ryh_2616_43"); gruppen["2616"].push("Ryh_2616_44"); gruppen["2616"].push("Ryh_2616_45"); gruppen["2616"].push("Ryh_2616_46"); gruppen["2616"].push("Ryh_2616_47"); gruppen["2616"].push("Ryh_2616_48"); gruppen["2616"].push("Ryh_2616_49"); gruppen["2616"].push("Ryh_2616_50"); gruppen["2616"].push("Ryh_2616_51"); gruppen["2616"].push("Ryh_2616_52"); gruppen["2616"].push("Ryh_2616_53"); gruppen["2616"].push("Ryh_2616_54"); gruppen["2618"] = new Array(); gruppen["2618"].push("Ryh_2618_1_A"); gruppen["2618"].push("Ryh_2618_1_B"); gruppen["2618"].push("Ryh_2618_1_C"); gruppen["2618"].push("Ryh_2618_1_D"); gruppen["2618"].push("Ryh_2618_2_A"); gruppen["2618"].push("Ryh_2618_2_B"); gruppen["2618"].push("Ryh_2618_3_A"); gruppen["2618"].push("Ryh_2618_3_B"); gruppen["2618"].push("Ryh_2618_4_A"); gruppen["2618"].push("Ryh_2618_4_B"); gruppen["2618"].push("Ryh_2618_5_A"); gruppen["2618"].push("Ryh_2618_5_B"); gruppen["2618"].push("Ryh_2618_6_A"); gruppen["2618"].push("Ryh_2618_6_B"); gruppen["2618"].push("Ryh_2618_7_A"); gruppen["2618"].push("Ryh_2618_7_B"); gruppen["2618"].push("Ryh_2618_8_A"); gruppen["2618"].push("Ryh_2618_8_B"); gruppen["2618"].push("Ryh_2618_9_A"); gruppen["2618"].push("Ryh_2618_9_B"); gruppen["2618"].push("Ryh_2618_10"); gruppen["2618"].push("Ryh_2618_11"); gruppen["2618"].push("Ryh_2618_12"); gruppen["2618"].push("Ryh_2618_13"); gruppen["2618"].push("Ryh_2618_14"); gruppen["2618"].push("Ryh_2618_15"); gruppen["2618"].push("Ryh_2618_16"); gruppen["2618"].push("Ryh_2618_17"); gruppen["2618"].push("Ryh_2618_18"); gruppen["2618"].push("Ryh_2618_19"); gruppen["2618"].push("Ryh_2618_20_A"); gruppen["2618"].push("Ryh_2618_20_B"); gruppen["2618"].push("Ryh_2618_20_C"); gruppen["2618"].push("Ryh_2618_20_D"); gruppen["2618"].push("Ryh_2618_21_A"); gruppen["2618"].push("Ryh_2618_21_B"); gruppen["2618"].push("Ryh_2618_21_C"); gruppen["2618"].push("Ryh_2618_21_D"); gruppen["2618"].push("Ryh_2618_22_A"); gruppen["2618"].push("Ryh_2618_22_B"); gruppen["2618"].push("Ryh_2618_22_C"); gruppen["2618"].push("Ryh_2618_22_D"); gruppen["2618"].push("Ryh_2618_23_A"); gruppen["2618"].push("Ryh_2618_23_B"); gruppen["2618"].push("Ryh_2618_23_C"); gruppen["2618"].push("Ryh_2618_23_D"); gruppen["2618"].push("Ryh_2618_24_A"); gruppen["2618"].push("Ryh_2618_24_B"); gruppen["2618"].push("Ryh_2618_24_C"); gruppen["2618"].push("Ryh_2618_24_D"); gruppen["2618"].push("Ryh_2618_25_A"); gruppen["2618"].push("Ryh_2618_25_B"); gruppen["2618"].push("Ryh_2618_25_C"); gruppen["2618"].push("Ryh_2618_25_D"); gruppen["2618"].push("Ryh_2618_26"); gruppen["2618"].push("Ryh_2618_41"); gruppen["2618"].push("Ryh_2618_42"); gruppen["2618"].push("Ryh_2618_43_A"); gruppen["2618"].push("Ryh_2618_43_B"); gruppen["2619"] = new Array(); gruppen["2619"].push("Ryh_2619_1"); gruppen["2619"].push("Ryh_2619_2_A"); gruppen["2619"].push("Ryh_2619_2_B"); gruppen["2619"].push("Ryh_2619_3_A"); gruppen["2619"].push("Ryh_2619_3_B"); gruppen["2619"].push("Ryh_2619_4"); gruppen["2619"].push("Ryh_2619_5"); gruppen["2619"].push("Ryh_2619_6"); gruppen["2619"].push("Ryh_2619_7"); gruppen["2619"].push("Ryh_2619_8"); gruppen["2619"].push("Ryh_2619_11"); gruppen["2619"].push("Ryh_2619_12_A"); gruppen["2619"].push("Ryh_2619_12_B"); gruppen["2619"].push("Ryh_2619_13_A"); gruppen["2619"].push("Ryh_2619_13_B"); gruppen["2619"].push("Ryh_2619_14_A"); gruppen["2619"].push("Ryh_2619_14_B"); gruppen["2619"].push("Ryh_2619_14_C"); gruppen["2619"].push("Ryh_2619_14_D"); gruppen["2619"].push("Ryh_2619_14_E"); gruppen["2619"].push("Ryh_2619_14_F"); gruppen["2619"].push("Ryh_2619_14_G"); gruppen["2619"].push("Ryh_2619_14_H"); gruppen["2619"].push("Ryh_2619_14_I"); gruppen["2619"].push("Ryh_2619_14_J"); gruppen["2619"].push("Ryh_2619_14_K"); gruppen["2619"].push("Ryh_2619_14_L"); gruppen["2619"].push("Ryh_2619_14_M"); gruppen["2619"].push("Ryh_2619_14_N"); gruppen["2619"].push("Ryh_2619_14_O"); gruppen["2619"].push("Ryh_2619_14_P"); gruppen["2619"].push("Ryh_2619_15"); gruppen["2619"].push("Ryh_2619_16"); gruppen["2619"].push("Ryh_2619_17_A"); gruppen["2619"].push("Ryh_2619_17_B"); gruppen["2619"].push("Ryh_2619_18_A"); gruppen["2619"].push("Ryh_2619_18_B"); gruppen["2619"].push("Ryh_2619_19_A"); gruppen["2619"].push("Ryh_2619_19_B"); gruppen["2619"].push("Ryh_2619_20_A"); gruppen["2619"].push("Ryh_2619_20_B"); gruppen["2619"].push("Ryh_2619_21_A"); gruppen["2619"].push("Ryh_2619_21_B"); gruppen["2619"].push("Ryh_2619_22_A"); gruppen["2619"].push("Ryh_2619_22_B"); gruppen["2619"].push("Ryh_2619_23_A"); gruppen["2619"].push("Ryh_2619_23_B"); gruppen["2619"].push("Ryh_2619_24_A"); gruppen["2619"].push("Ryh_2619_24_B"); gruppen["2619"].push("Ryh_2619_25_A"); gruppen["2619"].push("Ryh_2619_25_B"); gruppen["2619"].push("Ryh_2619_26_A"); gruppen["2619"].push("Ryh_2619_26_B"); gruppen["2619"].push("Ryh_2619_27_A"); gruppen["2619"].push("Ryh_2619_27_B"); gruppen["2619"].push("Ryh_2619_28_A"); gruppen["2619"].push("Ryh_2619_28_B"); gruppen["2619"].push("Ryh_2619_29_A"); gruppen["2619"].push("Ryh_2619_29_B"); gruppen["2619"].push("Ryh_2619_30_A"); gruppen["2619"].push("Ryh_2619_30_B"); gruppen["2619"].push("Ryh_2619_31_A"); gruppen["2619"].push("Ryh_2619_31_B"); gruppen["2619"].push("Ryh_2619_32_A"); gruppen["2619"].push("Ryh_2619_32_B"); gruppen["2619"].push("Ryh_2619_33_A"); gruppen["2619"].push("Ryh_2619_33_B"); gruppen["2619"].push("Ryh_2619_34_A"); gruppen["2619"].push("Ryh_2619_34_B"); gruppen["2619"].push("Ryh_2619_35_A"); gruppen["2619"].push("Ryh_2619_35_B"); gruppen["2619"].push("Ryh_2619_36_A"); gruppen["2619"].push("Ryh_2619_36_B"); gruppen["2619"].push("Ryh_2619_37_A"); gruppen["2619"].push("Ryh_2619_37_B"); gruppen["2619"].push("Ryh_2619_38_A"); gruppen["2619"].push("Ryh_2619_38_B"); gruppen["2620"] = new Array(); gruppen["2620"].push("Ryh_2620_1"); gruppen["2620"].push("Ryh_2620_2"); gruppen["2620"].push("Ryh_2620_3"); gruppen["2620"].push("Ryh_2620_4"); gruppen["2620"].push("Ryh_2620_5"); gruppen["2620"].push("Ryh_2620_6_A"); gruppen["2620"].push("Ryh_2620_6_B"); gruppen["2620"].push("Ryh_2620_7_A"); gruppen["2620"].push("Ryh_2620_7_B"); gruppen["2620"].push("Ryh_2620_8_A"); gruppen["2620"].push("Ryh_2620_8_B"); gruppen["2620"].push("Ryh_2620_9_A"); gruppen["2620"].push("Ryh_2620_9_B"); gruppen["2620"].push("Ryh_2620_10_A"); gruppen["2620"].push("Ryh_2620_10_B"); gruppen["2620"].push("Ryh_2620_11_A"); gruppen["2620"].push("Ryh_2620_11_B"); gruppen["2620"].push("Ryh_2620_12_A"); gruppen["2620"].push("Ryh_2620_12_B"); gruppen["2620"].push("Ryh_2620_13"); gruppen["2620"].push("Ryh_2620_14"); gruppen["2620"].push("Ryh_2620_15_A"); gruppen["2620"].push("Ryh_2620_15_B"); gruppen["2620"].push("Ryh_2620_16_A"); gruppen["2620"].push("Ryh_2620_16_B"); gruppen["2620"].push("Ryh_2620_17_A"); gruppen["2620"].push("Ryh_2620_17_B"); gruppen["2620"].push("Ryh_2620_18"); gruppen["2620"].push("Ryh_2620_19_A"); gruppen["2620"].push("Ryh_2620_19_B"); gruppen["2620"].push("Ryh_2620_20_A"); gruppen["2620"].push("Ryh_2620_20_B"); gruppen["2620"].push("Ryh_2620_21_A"); gruppen["2620"].push("Ryh_2620_21_B"); gruppen["2620"].push("Ryh_2620_22"); gruppen["2620"].push("Ryh_2620_23_A"); gruppen["2620"].push("Ryh_2620_23_B"); gruppen["2620"].push("Ryh_2620_24_A"); gruppen["2620"].push("Ryh_2620_24_B"); gruppen["2620"].push("Ryh_2620_25"); gruppen["2620"].push("Ryh_2620_26_A"); gruppen["2620"].push("Ryh_2620_26_B"); gruppen["2620"].push("Ryh_2620_27_A"); gruppen["2620"].push("Ryh_2620_27_B"); gruppen["2620"].push("Ryh_2620_28"); gruppen["2620"].push("Ryh_2620_29"); gruppen["2620"].push("Ryh_2620_30_A"); gruppen["2620"].push("Ryh_2620_30_B"); gruppen["2620"].push("Ryh_2620_31_A"); gruppen["2620"].push("Ryh_2620_31_B"); gruppen["2620"].push("Ryh_2620_32"); gruppen["2620"].push("Ryh_2620_33"); gruppen["2620"].push("Ryh_2620_34_A"); gruppen["2620"].push("Ryh_2620_34_B"); gruppen["2620"].push("Ryh_2620_35_A"); gruppen["2620"].push("Ryh_2620_35_B"); gruppen["2620"].push("Ryh_2620_36_A"); gruppen["2620"].push("Ryh_2620_36_B"); gruppen["2620"].push("Ryh_2620_37_A"); gruppen["2620"].push("Ryh_2620_37_B"); gruppen["2620"].push("Ryh_2620_38_A"); gruppen["2620"].push("Ryh_2620_38_B"); gruppen["2620"].push("Ryh_2620_39"); gruppen["2620"].push("Ryh_2620_40"); gruppen["2620"].push("Ryh_2620_41_A"); gruppen["2620"].push("Ryh_2620_41_B"); gruppen["2620"].push("Ryh_2620_42_A"); gruppen["2620"].push("Ryh_2620_42_B"); gruppen["2620"].push("Ryh_2620_43_A"); gruppen["2620"].push("Ryh_2620_43_B"); gruppen["2620"].push("Ryh_2620_44_A"); gruppen["2620"].push("Ryh_2620_44_B"); gruppen["2620"].push("Ryh_2620_45_A"); gruppen["2620"].push("Ryh_2620_45_B"); gruppen["2620"].push("Ryh_2620_46_A"); gruppen["2620"].push("Ryh_2620_46_B"); gruppen["2620"].push("Ryh_2620_47_A"); gruppen["2620"].push("Ryh_2620_47_B"); gruppen["2620"].push("Ryh_2620_48_A"); gruppen["2620"].push("Ryh_2620_48_B"); gruppen["2620"].push("Ryh_2620_49_A"); gruppen["2620"].push("Ryh_2620_49_B"); gruppen["2620"].push("Ryh_2620_50"); gruppen["2622"] = new Array(); gruppen["2622"].push("Ryh_2622_1_A"); gruppen["2622"].push("Ryh_2622_1_B"); gruppen["2622"].push("Ryh_2622_1_C"); gruppen["2622"].push("Ryh_2622_1_D"); gruppen["2622"].push("Ryh_2622_1_E"); gruppen["2622"].push("Ryh_2622_1_F"); gruppen["2622"].push("Ryh_2622_1_G"); gruppen["2622"].push("Ryh_2622_1_H"); gruppen["2622"].push("Ryh_2622_1_I"); gruppen["2622"].push("Ryh_2622_2_A"); gruppen["2622"].push("Ryh_2622_2_B"); gruppen["2622"].push("Ryh_2622_2_C"); gruppen["2622"].push("Ryh_2622_2_D"); gruppen["2622"].push("Ryh_2622_2_E"); gruppen["2622"].push("Ryh_2622_2_F"); gruppen["2622"].push("Ryh_2622_2_G"); gruppen["2622"].push("Ryh_2622_2_H"); gruppen["2622"].push("Ryh_2622_2_I"); gruppen["2622"].push("Ryh_2622_3_A"); gruppen["2622"].push("Ryh_2622_3_B"); gruppen["2622"].push("Ryh_2622_3_C"); gruppen["2622"].push("Ryh_2622_3_D"); gruppen["2622"].push("Ryh_2622_3_E"); gruppen["2622"].push("Ryh_2622_3_F"); gruppen["2622"].push("Ryh_2622_4_A"); gruppen["2622"].push("Ryh_2622_4_B"); gruppen["2622"].push("Ryh_2622_4_C"); gruppen["2622"].push("Ryh_2622_5_A"); gruppen["2622"].push("Ryh_2622_5_B"); gruppen["2622"].push("Ryh_2622_5_C"); gruppen["2622"].push("Ryh_2622_5_D"); gruppen["2622"].push("Ryh_2622_6"); gruppen["2622"].push("Ryh_2622_7_A"); gruppen["2622"].push("Ryh_2622_7_B"); gruppen["2622"].push("Ryh_2622_7_C"); gruppen["2622"].push("Ryh_2622_8_A"); gruppen["2622"].push("Ryh_2622_8_B"); gruppen["2622"].push("Ryh_2622_8_C"); gruppen["2622"].push("Ryh_2622_8_D"); gruppen["2622"].push("Ryh_2622_9"); gruppen["2622"].push("Ryh_2622_11"); gruppen["2622"].push("Ryh_2622_12"); gruppen["2622"].push("Ryh_2622_14"); gruppen["2622"].push("Ryh_2622_15"); gruppen["2622"].push("Ryh_2622_16"); gruppen["2622"].push("Ryh_2622_17"); gruppen["2622"].push("Ryh_2622_18"); gruppen["2622"].push("Ryh_2622_19"); gruppen["2622"].push("Ryh_2622_20"); gruppen["2622"].push("Ryh_2622_21"); gruppen["2622"].push("Ryh_2622_22"); gruppen["2622"].push("Ryh_2622_23"); gruppen["2622"].push("Ryh_2622_24"); gruppen["2622"].push("Ryh_2622_25"); gruppen["2622"].push("Ryh_2622_26"); gruppen["2622"].push("Ryh_2622_27"); gruppen["2622"].push("Ryh_2622_28"); gruppen["2622"].push("Ryh_2622_29"); gruppen["2622"].push("Ryh_2622_30"); gruppen["2622"].push("Ryh_2622_31"); gruppen["2622"].push("Ryh_2622_32"); gruppen["2622"].push("Ryh_2622_33"); gruppen["2622"].push("Ryh_2622_34"); gruppen["2622"].push("Ryh_2622_40"); gruppen["2622"].push("Ryh_2622_42"); gruppen["2622"].push("Ryh_2622_43"); gruppen["2622"].push("Ryh_2622_44"); gruppen["2622"].push("Ryh_2622_45"); gruppen["2622"].push("Ryh_2622_46"); gruppen["2622"].push("Ryh_2622_47"); gruppen["2622"].push("Ryh_2622_48_A"); gruppen["2622"].push("Ryh_2622_48_B"); gruppen["2623"] = new Array(); gruppen["2623"].push("Ryh_2623_1"); gruppen["2623"].push("Ryh_2623_2"); gruppen["2623"].push("Ryh_2623_3_A"); gruppen["2623"].push("Ryh_2623_3_B"); gruppen["2623"].push("Ryh_2623_3_C"); gruppen["2623"].push("Ryh_2623_3_D"); gruppen["2623"].push("Ryh_2623_4_A"); gruppen["2623"].push("Ryh_2623_4_B"); gruppen["2623"].push("Ryh_2623_4_C"); gruppen["2623"].push("Ryh_2623_4_D"); gruppen["2623"].push("Ryh_2623_5"); gruppen["2623"].push("Ryh_2623_6"); gruppen["2623"].push("Ryh_2623_7"); gruppen["2623"].push("Ryh_2623_8"); gruppen["2623"].push("Ryh_2623_9"); gruppen["2623"].push("Ryh_2623_11"); gruppen["2623"].push("Ryh_2623_12"); gruppen["2623"].push("Ryh_2623_13"); gruppen["2623"].push("Ryh_2623_14"); gruppen["2623"].push("Ryh_2623_15"); gruppen["2623"].push("Ryh_2623_16"); gruppen["2623"].push("Ryh_2623_19"); gruppen["2623"].push("Ryh_2623_20"); gruppen["2623"].push("Ryh_2623_21"); gruppen["2623"].push("Ryh_2623_23"); gruppen["2623"].push("Ryh_2623_24"); gruppen["2623"].push("Ryh_2623_28"); gruppen["2623"].push("Ryh_2623_29_A"); gruppen["2623"].push("Ryh_2623_29_B"); gruppen["2623"].push("Ryh_2623_30"); gruppen["2623"].push("Ryh_2623_31"); gruppen["2623"].push("Ryh_2623_32"); gruppen["2623"].push("Ryh_2623_33"); gruppen["2623"].push("Ryh_2623_34"); gruppen["2623"].push("Ryh_2623_37"); gruppen["2623"].push("Ryh_2623_39_A"); gruppen["2623"].push("Ryh_2623_39_B"); gruppen["2623"].push("Ryh_2623_40"); gruppen["2623"].push("Ryh_2623_41"); gruppen["2623"].push("Ryh_2623_42"); gruppen["2623"].push("Ryh_2623_43_A"); gruppen["2623"].push("Ryh_2623_43_B"); gruppen["2623"].push("Ryh_2623_44"); gruppen["2623"].push("Ryh_2623_45"); gruppen["2623"].push("Ryh_2623_47"); gruppen["2623"].push("Ryh_2623_48"); gruppen["2623"].push("Ryh_2623_49"); gruppen["2623"].push("Ryh_2623_53"); gruppen["2623"].push("Ryh_2623_54"); gruppen["2623"].push("Ryh_2623_55_A"); gruppen["2623"].push("Ryh_2623_55_B"); gruppen["2623"].push("Ryh_2623_56"); gruppen["2623"].push("Ryh_2623_57"); gruppen["2623"].push("Ryh_2623_58"); gruppen["2623"].push("Ryh_2623_59"); gruppen["2623"].push("Ryh_2623_60"); gruppen["2623"].push("Ryh_2623_63"); gruppen["2624"] = new Array(); gruppen["2624"].push("Ryh_2624_1_A"); gruppen["2624"].push("Ryh_2624_1_B"); gruppen["2624"].push("Ryh_2624_1_C"); gruppen["2624"].push("Ryh_2624_1_D"); gruppen["2624"].push("Ryh_2624_2_A"); gruppen["2624"].push("Ryh_2624_2_B"); gruppen["2624"].push("Ryh_2624_2_C"); gruppen["2624"].push("Ryh_2624_2_D"); gruppen["2624"].push("Ryh_2624_2_E"); gruppen["2624"].push("Ryh_2624_3"); gruppen["2624"].push("Ryh_2624_4"); gruppen["2624"].push("Ryh_2624_5_A"); gruppen["2624"].push("Ryh_2624_5_B"); gruppen["2624"].push("Ryh_2624_6"); gruppen["2624"].push("Ryh_2624_7"); gruppen["2624"].push("Ryh_2624_8"); gruppen["2624"].push("Ryh_2624_9"); gruppen["2624"].push("Ryh_2624_10"); gruppen["2624"].push("Ryh_2624_11"); gruppen["2624"].push("Ryh_2624_13"); gruppen["2624"].push("Ryh_2624_14"); gruppen["2624"].push("Ryh_2624_15"); gruppen["2624"].push("Ryh_2624_18"); gruppen["2624"].push("Ryh_2624_19"); gruppen["2624"].push("Ryh_2624_21"); gruppen["2624"].push("Ryh_2624_22_A"); gruppen["2624"].push("Ryh_2624_22_B"); gruppen["2624"].push("Ryh_2624_24"); gruppen["2624"].push("Ryh_2624_25"); gruppen["2624"].push("Ryh_2624_27"); gruppen["2624"].push("Ryh_2624_28"); gruppen["2624"].push("Ryh_2624_29"); gruppen["2624"].push("Ryh_2624_30"); gruppen["2624"].push("Ryh_2624_41"); gruppen["2624"].push("Ryh_2624_42"); gruppen["2624"].push("Ryh_2624_43"); gruppen["2624"].push("Ryh_2624_44_A"); gruppen["2624"].push("Ryh_2624_44_B"); gruppen["2624"].push("Ryh_2624_44_C"); gruppen["2624"].push("Ryh_2624_45"); gruppen["2624"].push("Ryh_2624_46"); gruppen["2624"].push("Ryh_2624_47"); gruppen["2624"].push("Ryh_2624_48"); gruppen["2624"].push("Ryh_2624_49"); gruppen["2624"].push("Ryh_2624_50"); gruppen["2624"].push("Ryh_2624_51_A"); gruppen["2624"].push("Ryh_2624_51_B"); gruppen["2624"].push("Ryh_2624_51_C"); gruppen["2624"].push("Ryh_2624_51_D"); gruppen["2624"].push("Ryh_2624_51_E"); gruppen["2624"].push("Ryh_2624_51_F"); gruppen["2624"].push("Ryh_2624_52_A"); gruppen["2624"].push("Ryh_2624_52_B"); gruppen["2624"].push("Ryh_2624_52_C"); gruppen["2624"].push("Ryh_2624_52_D"); gruppen["2624"].push("Ryh_2624_53"); gruppen["2625"] = new Array(); gruppen["2625"].push("Ryh_2625_1"); gruppen["2625"].push("Ryh_2625_2_A"); gruppen["2625"].push("Ryh_2625_2_B"); gruppen["2625"].push("Ryh_2625_2_C"); gruppen["2625"].push("Ryh_2625_2_D"); gruppen["2625"].push("Ryh_2625_3_A"); gruppen["2625"].push("Ryh_2625_3_B"); gruppen["2625"].push("Ryh_2625_3_C"); gruppen["2625"].push("Ryh_2625_3_D"); gruppen["2625"].push("Ryh_2625_3_E"); gruppen["2625"].push("Ryh_2625_4_A"); gruppen["2625"].push("Ryh_2625_4_B"); gruppen["2625"].push("Ryh_2625_4_C"); gruppen["2625"].push("Ryh_2625_4_D"); gruppen["2625"].push("Ryh_2625_4_E"); gruppen["2625"].push("Ryh_2625_4_F"); gruppen["2625"].push("Ryh_2625_5_A"); gruppen["2625"].push("Ryh_2625_5_B"); gruppen["2625"].push("Ryh_2625_5_C"); gruppen["2625"].push("Ryh_2625_6_A"); gruppen["2625"].push("Ryh_2625_6_B"); gruppen["2625"].push("Ryh_2625_7_A"); gruppen["2625"].push("Ryh_2625_7_B"); gruppen["2625"].push("Ryh_2625_8"); gruppen["2625"].push("Ryh_2625_9_A"); gruppen["2625"].push("Ryh_2625_9_B"); gruppen["2625"].push("Ryh_2625_9_C"); gruppen["2625"].push("Ryh_2625_11"); gruppen["2625"].push("Ryh_2625_12"); gruppen["2625"].push("Ryh_2625_13"); gruppen["2625"].push("Ryh_2625_14_A"); gruppen["2625"].push("Ryh_2625_14_B"); gruppen["2625"].push("Ryh_2625_15_A"); gruppen["2625"].push("Ryh_2625_15_B"); gruppen["2625"].push("Ryh_2625_16_A"); gruppen["2625"].push("Ryh_2625_16_B"); gruppen["2625"].push("Ryh_2625_17"); gruppen["2625"].push("Ryh_2625_18_A"); gruppen["2625"].push("Ryh_2625_18_B"); gruppen["2625"].push("Ryh_2625_19"); gruppen["2625"].push("Ryh_2625_20"); gruppen["2625"].push("Ryh_2625_21"); gruppen["2625"].push("Ryh_2625_23_A"); gruppen["2625"].push("Ryh_2625_23_B"); gruppen["2625"].push("Ryh_2625_24_A"); gruppen["2625"].push("Ryh_2625_24_B"); gruppen["2625"].push("Ryh_2625_25_A"); gruppen["2625"].push("Ryh_2625_25_B"); gruppen["2625"].push("Ryh_2625_26"); gruppen["2625"].push("Ryh_2625_31_A"); gruppen["2625"].push("Ryh_2625_31_B"); gruppen["2625"].push("Ryh_2625_32"); gruppen["2625"].push("Ryh_2625_33"); gruppen["2625"].push("Ryh_2625_34_A"); gruppen["2625"].push("Ryh_2625_34_B"); gruppen["2625"].push("Ryh_2625_35"); gruppen["2625"].push("Ryh_2625_36"); gruppen["2625"].push("Ryh_2625_37_A"); gruppen["2625"].push("Ryh_2625_37_B"); gruppen["2625"].push("Ryh_2625_38"); gruppen["2625"].push("Ryh_2625_39_A"); gruppen["2625"].push("Ryh_2625_39_B"); gruppen["2625"].push("Ryh_2625_40"); gruppen["2625"].push("Ryh_2625_41"); gruppen["2625"].push("Ryh_2625_42"); gruppen["2625"].push("Ryh_2625_43"); gruppen["2625"].push("Ryh_2625_44"); gruppen["2625"].push("Ryh_2625_45_A"); gruppen["2625"].push("Ryh_2625_45_B"); gruppen["2625"].push("Ryh_2625_46_A"); gruppen["2625"].push("Ryh_2625_46_B"); gruppen["2625"].push("Ryh_2625_46_C"); gruppen["2625"].push("Ryh_2625_46_D"); gruppen["2625"].push("Ryh_2625_46_E"); gruppen["2625"].push("Ryh_2625_46_F"); gruppen["2625"].push("Ryh_2625_47_A"); gruppen["2625"].push("Ryh_2625_47_B"); gruppen["2625"].push("Ryh_2625_47_C"); gruppen["2625"].push("Ryh_2625_47_D"); gruppen["2625"].push("Ryh_2625_47_E"); gruppen["2625"].push("Ryh_2625_48_A"); gruppen["2625"].push("Ryh_2625_48_B"); gruppen["2625"].push("Ryh_2625_48_C"); gruppen["2625"].push("Ryh_2625_49_B"); gruppen["2625"].push("Ryh_2625_50_B"); gruppen["2701"] = new Array(); gruppen["2701"].push("Ryh_2701_1"); gruppen["2701"].push("Ryh_2701_2"); gruppen["2701"].push("Ryh_2701_3"); gruppen["2701"].push("Ryh_2701_4"); gruppen["2701"].push("Ryh_2701_7"); gruppen["2701"].push("Ryh_2701_8"); gruppen["2701"].push("Ryh_2701_11"); gruppen["2701"].push("Ryh_2701_12"); gruppen["2701"].push("Ryh_2701_13"); gruppen["2701"].push("Ryh_2701_14"); gruppen["2701"].push("Ryh_2701_16"); gruppen["2701"].push("Ryh_2701_18"); gruppen["2701"].push("Ryh_2701_19"); gruppen["2701"].push("Ryh_2701_21"); gruppen["2701"].push("Ryh_2701_24"); gruppen["2701"].push("Ryh_2701_25"); gruppen["2701"].push("Ryh_2701_30_A"); gruppen["2701"].push("Ryh_2701_30_B"); gruppen["2701"].push("Ryh_2701_30_C"); gruppen["2701"].push("Ryh_2701_30_D"); gruppen["2701"].push("Ryh_2701_30_E"); gruppen["2701"].push("Ryh_2701_30_F"); gruppen["2701"].push("Ryh_2701_31"); gruppen["2701"].push("Ryh_2701_32"); gruppen["2701"].push("Ryh_2701_33"); gruppen["2701"].push("Ryh_2701_48"); gruppen["2701"].push("Ryh_2701_49"); gruppen["2701"].push("Ryh_2701_50"); gruppen["2701"].push("Ryh_2701_51"); gruppen["2701"].push("Ryh_2701_52"); gruppen["2701"].push("Ryh_2701_53"); gruppen["2701"].push("Ryh_2701_54_A"); gruppen["2701"].push("Ryh_2701_54_B"); gruppen["2701"].push("Ryh_2701_54_C"); gruppen["2701"].push("Ryh_2701_54_D"); gruppen["2702"] = new Array(); gruppen["2702"].push("Ryh_2702_1"); gruppen["2702"].push("Ryh_2702_2"); gruppen["2702"].push("Ryh_2702_3"); gruppen["2702"].push("Ryh_2702_4_A"); gruppen["2702"].push("Ryh_2702_4_B"); gruppen["2702"].push("Ryh_2702_5"); gruppen["2702"].push("Ryh_2702_6"); gruppen["2702"].push("Ryh_2702_7"); gruppen["2702"].push("Ryh_2702_11"); gruppen["2702"].push("Ryh_2702_11_A"); gruppen["2702"].push("Ryh_2702_12"); gruppen["2702"].push("Ryh_2702_13"); gruppen["2702"].push("Ryh_2702_14"); gruppen["2702"].push("Ryh_2702_15"); gruppen["2702"].push("Ryh_2702_21"); gruppen["2702"].push("Ryh_2702_22"); gruppen["2702"].push("Ryh_2702_23"); gruppen["2702"].push("Ryh_2702_24"); gruppen["2702"].push("Ryh_2702_25"); gruppen["2703"] = new Array(); gruppen["2703"].push("Ryh_2703_1"); gruppen["2703"].push("Ryh_2703_2"); gruppen["2703"].push("Ryh_2703_3"); gruppen["2703"].push("Ryh_2703_4"); gruppen["2703"].push("Ryh_2703_5"); gruppen["2703"].push("Ryh_2703_6"); gruppen["2703"].push("Ryh_2703_7"); gruppen["2703"].push("Ryh_2703_8"); gruppen["2703"].push("Ryh_2703_9"); gruppen["2703"].push("Ryh_2703_10"); gruppen["2703"].push("Ryh_2703_11"); gruppen["2703"].push("Ryh_2703_12"); gruppen["2703"].push("Ryh_2703_13"); gruppen["2703"].push("Ryh_2703_14"); gruppen["2703"].push("Ryh_2703_15"); gruppen["2703"].push("Ryh_2703_16"); gruppen["2703"].push("Ryh_2703_17"); gruppen["2703"].push("Ryh_2703_18"); gruppen["2703"].push("Ryh_2703_19"); gruppen["2703"].push("Ryh_2703_20"); gruppen["2703"].push("Ryh_2703_21"); gruppen["2703"].push("Ryh_2703_22"); gruppen["2703"].push("Ryh_2703_23"); gruppen["2703"].push("Ryh_2703_24"); gruppen["2703"].push("Ryh_2703_25"); gruppen["2703"].push("Ryh_2703_28"); gruppen["2703"].push("Ryh_2703_29"); gruppen["2703"].push("Ryh_2703_30"); gruppen["2703"].push("Ryh_2703_31"); gruppen["2703"].push("Ryh_2703_32"); gruppen["2703"].push("Ryh_2703_37"); gruppen["2703"].push("Ryh_2703_38"); gruppen["2703"].push("Ryh_2703_41"); gruppen["2703"].push("Ryh_2703_42"); gruppen["2704"] = new Array(); gruppen["2704"].push("Ryh_2704_1"); gruppen["2704"].push("Ryh_2704_4"); gruppen["2704"].push("Ryh_2704_5"); gruppen["2704"].push("Ryh_2704_6"); gruppen["2704"].push("Ryh_2704_7"); gruppen["2704"].push("Ryh_2704_9"); gruppen["2704"].push("Ryh_2704_11"); gruppen["2704"].push("Ryh_2704_12"); gruppen["2704"].push("Ryh_2704_13"); gruppen["2704"].push("Ryh_2704_14"); gruppen["2704"].push("Ryh_2704_15"); gruppen["2704"].push("Ryh_2704_16"); gruppen["2704"].push("Ryh_2704_17"); gruppen["2704"].push("Ryh_2704_18"); gruppen["2704"].push("Ryh_2704_21"); gruppen["2704"].push("Ryh_2704_22"); gruppen["2704"].push("Ryh_2704_23"); gruppen["2705"] = new Array(); gruppen["2705"].push("Ryh_2705_1"); gruppen["2705"].push("Ryh_2705_2_A"); gruppen["2705"].push("Ryh_2705_2_B"); gruppen["2705"].push("Ryh_2705_3"); gruppen["2705"].push("Ryh_2705_4"); gruppen["2705"].push("Ryh_2705_5"); gruppen["2705"].push("Ryh_2705_6"); gruppen["2705"].push("Ryh_2705_8"); gruppen["2705"].push("Ryh_2705_9"); gruppen["2705"].push("Ryh_2705_10"); gruppen["2705"].push("Ryh_2705_11"); gruppen["2705"].push("Ryh_2705_12"); gruppen["2705"].push("Ryh_2705_31"); gruppen["2705"].push("Ryh_2705_33"); gruppen["2705"].push("Ryh_2705_34"); gruppen["2705"].push("Ryh_2705_41"); gruppen["2705"].push("Ryh_2705_42"); gruppen["2705"].push("Ryh_2705_43"); gruppen["2705"].push("Ryh_2705_69_A"); gruppen["2705"].push("Ryh_2705_69_B"); gruppen["2705"].push("Ryh_2705_69_C"); gruppen["2705"].push("Ryh_2705_69_D"); gruppen["2705"].push("Ryh_2705_69_E"); gruppen["2705"].push("Ryh_2705_69_F"); gruppen["2705"].push("Ryh_2705_70_A"); gruppen["2705"].push("Ryh_2705_70_B"); gruppen["2705"].push("Ryh_2705_70_C"); gruppen["2705"].push("Ryh_2705_70_D"); gruppen["2705"].push("Ryh_2705_70_E"); gruppen["2705"].push("Ryh_2705_70_F"); gruppen["2706"] = new Array(); gruppen["2706"].push("Ryh_2706_1"); gruppen["2706"].push("Ryh_2706_2"); gruppen["2706"].push("Ryh_2706_3"); gruppen["2706"].push("Ryh_2706_4"); gruppen["2706"].push("Ryh_2706_6"); gruppen["2706"].push("Ryh_2706_10"); gruppen["2706"].push("Ryh_2706_11"); gruppen["2706"].push("Ryh_2706_21"); gruppen["2706"].push("Ryh_2706_24"); gruppen["2706"].push("Ryh_2706_25"); gruppen["2706"].push("Ryh_2706_28"); gruppen["2706"].push("Ryh_2706_29"); gruppen["2706"].push("Ryh_2706_31"); gruppen["2706"].push("Ryh_2706_32"); gruppen["2706"].push("Ryh_2706_33"); gruppen["2706"].push("Ryh_2706_34"); gruppen["2707"] = new Array(); gruppen["2707"].push("Ryh_2707_1_A"); gruppen["2707"].push("Ryh_2707_1_B"); gruppen["2707"].push("Ryh_2707_2"); gruppen["2707"].push("Ryh_2707_3"); gruppen["2707"].push("Ryh_2707_4"); gruppen["2707"].push("Ryh_2707_5"); gruppen["2707"].push("Ryh_2707_6"); gruppen["2707"].push("Ryh_2707_7"); gruppen["2707"].push("Ryh_2707_8"); gruppen["2707"].push("Ryh_2707_9"); gruppen["2707"].push("Ryh_2707_12"); gruppen["2707"].push("Ryh_2707_13"); gruppen["2707"].push("Ryh_2707_16"); gruppen["2707"].push("Ryh_2707_17"); gruppen["2707"].push("Ryh_2707_18"); gruppen["2707"].push("Ryh_2707_19"); gruppen["2707"].push("Ryh_2707_20"); gruppen["2707"].push("Ryh_2707_21"); gruppen["2707"].push("Ryh_2707_22"); gruppen["2707"].push("Ryh_2707_23"); gruppen["2707"].push("Ryh_2707_25"); gruppen["2707"].push("Ryh_2707_27"); gruppen["2707"].push("Ryh_2707_28"); gruppen["2707"].push("Ryh_2707_28_A"); gruppen["2707"].push("Ryh_2707_28_B"); gruppen["2707"].push("Ryh_2707_29"); gruppen["2707"].push("Ryh_2707_30"); gruppen["2707"].push("Ryh_2707_31"); gruppen["2707"].push("Ryh_2707_32"); gruppen["2707"].push("Ryh_2707_40"); gruppen["2707"].push("Ryh_2707_41"); gruppen["2707"].push("Ryh_2707_43"); gruppen["2707"].push("Ryh_2707_44"); gruppen["2707"].push("Ryh_2707_45"); gruppen["2707"].push("Ryh_2707_46"); gruppen["2707"].push("Ryh_2707_47"); gruppen["2707"].push("Ryh_2707_48"); gruppen["2707"].push("Ryh_2707_49"); gruppen["2707"].push("Ryh_2707_50"); gruppen["2707"].push("Ryh_2707_51"); gruppen["2707"].push("Ryh_2707_52"); gruppen["2708"] = new Array(); gruppen["2708"].push("Ryh_2708_1"); gruppen["2708"].push("Ryh_2708_2"); gruppen["2708"].push("Ryh_2708_3"); gruppen["2708"].push("Ryh_2708_4"); gruppen["2708"].push("Ryh_2708_5"); gruppen["2708"].push("Ryh_2708_6"); gruppen["2708"].push("Ryh_2708_7"); gruppen["2708"].push("Ryh_2708_8"); gruppen["2708"].push("Ryh_2708_9"); gruppen["2708"].push("Ryh_2708_61_A"); gruppen["2708"].push("Ryh_2708_61_B"); gruppen["2708"].push("Ryh_2708_61_C"); gruppen["2708"].push("Ryh_2708_61_D"); gruppen["2708"].push("Ryh_2708_61_E"); gruppen["2708"].push("Ryh_2708_61_F"); gruppen["2708"].push("Ryh_2708_62_A"); gruppen["2708"].push("Ryh_2708_62_B"); gruppen["2708"].push("Ryh_2708_62_C"); gruppen["2708"].push("Ryh_2708_62_D"); gruppen["2708"].push("Ryh_2708_62_E"); gruppen["2708"].push("Ryh_2708_62_F"); gruppen["2708"].push("Ryh_2708_63"); gruppen["2708"].push("Ryh_2708_64"); gruppen["2708"].push("Ryh_2708_65"); gruppen["2708"].push("Ryh_2708_66"); gruppen["2708"].push("Ryh_2708_67"); gruppen["2709"] = new Array(); gruppen["2709"].push("Ryh_2709_1_A"); gruppen["2709"].push("Ryh_2709_1_B"); gruppen["2709"].push("Ryh_2709_1_C"); gruppen["2709"].push("Ryh_2709_1_D"); gruppen["2709"].push("Ryh_2709_1_E"); gruppen["2709"].push("Ryh_2709_1_F"); gruppen["2709"].push("Ryh_2709_2_A"); gruppen["2709"].push("Ryh_2709_2_B"); gruppen["2709"].push("Ryh_2709_2_C"); gruppen["2709"].push("Ryh_2709_2_D"); gruppen["2709"].push("Ryh_2709_3_A"); gruppen["2709"].push("Ryh_2709_3_B"); gruppen["2709"].push("Ryh_2709_3_C"); gruppen["2709"].push("Ryh_2709_3_D"); gruppen["2709"].push("Ryh_2709_3_E"); gruppen["2709"].push("Ryh_2709_3_F"); gruppen["2709"].push("Ryh_2709_3_G"); gruppen["2709"].push("Ryh_2709_4_A"); gruppen["2709"].push("Ryh_2709_4_B"); gruppen["2709"].push("Ryh_2709_4_C"); gruppen["2709"].push("Ryh_2709_4_D"); gruppen["2709"].push("Ryh_2709_4_E"); gruppen["2709"].push("Ryh_2709_4_F"); gruppen["2709"].push("Ryh_2709_5_A"); gruppen["2709"].push("Ryh_2709_5_B"); gruppen["2709"].push("Ryh_2709_5_C"); gruppen["2709"].push("Ryh_2709_5_D"); gruppen["2709"].push("Ryh_2709_6_A"); gruppen["2709"].push("Ryh_2709_6_B"); gruppen["2709"].push("Ryh_2709_6_C"); gruppen["2709"].push("Ryh_2709_6_D"); gruppen["2709"].push("Ryh_2709_6_E"); gruppen["2709"].push("Ryh_2709_6_F"); gruppen["2709"].push("Ryh_2709_7_A"); gruppen["2709"].push("Ryh_2709_7_B"); gruppen["2709"].push("Ryh_2709_7_C"); gruppen["2709"].push("Ryh_2709_7_D"); gruppen["2709"].push("Ryh_2709_7_E"); gruppen["2709"].push("Ryh_2709_7_F"); gruppen["2709"].push("Ryh_2709_8_A"); gruppen["2709"].push("Ryh_2709_8_B"); gruppen["2709"].push("Ryh_2709_8_C"); gruppen["2709"].push("Ryh_2709_8_D"); gruppen["2709"].push("Ryh_2709_9_A"); gruppen["2709"].push("Ryh_2709_9_B"); gruppen["2709"].push("Ryh_2709_9_C"); gruppen["2709"].push("Ryh_2709_9_D"); gruppen["2709"].push("Ryh_2709_9_E"); gruppen["2709"].push("Ryh_2709_9_F"); gruppen["2709"].push("Ryh_2709_9_G"); gruppen["2709"].push("Ryh_2709_9_H"); gruppen["2709"].push("Ryh_2709_9_I"); gruppen["2709"].push("Ryh_2709_10_A"); gruppen["2709"].push("Ryh_2709_10_B"); gruppen["2709"].push("Ryh_2709_10_C"); gruppen["2709"].push("Ryh_2709_10_D"); gruppen["2709"].push("Ryh_2709_10_E"); gruppen["2709"].push("Ryh_2709_10_F"); gruppen["2709"].push("Ryh_2709_10_G"); gruppen["2709"].push("Ryh_2709_10_H"); gruppen["2709"].push("Ryh_2709_10_I"); gruppen["2709"].push("Ryh_2709_11_A"); gruppen["2709"].push("Ryh_2709_11_B"); gruppen["2709"].push("Ryh_2709_11_C"); gruppen["2709"].push("Ryh_2709_11_D"); gruppen["2709"].push("Ryh_2709_11_E"); gruppen["2709"].push("Ryh_2709_11_F"); gruppen["2709"].push("Ryh_2709_11_G"); gruppen["2709"].push("Ryh_2709_11_H"); gruppen["2709"].push("Ryh_2709_11_I"); gruppen["2709"].push("Ryh_2709_12"); gruppen["2709"].push("Ryh_2709_13_A"); gruppen["2709"].push("Ryh_2709_13_B"); gruppen["2709"].push("Ryh_2709_13_C"); gruppen["2709"].push("Ryh_2709_13_D"); gruppen["2709"].push("Ryh_2709_13_E"); gruppen["2709"].push("Ryh_2709_13_F"); gruppen["2709"].push("Ryh_2709_14"); gruppen["2709"].push("Ryh_2709_15"); gruppen["2709"].push("Ryh_2709_16"); gruppen["2709"].push("Ryh_2709_17"); gruppen["2709"].push("Ryh_2709_18"); gruppen["2709"].push("Ryh_2709_19"); gruppen["2709"].push("Ryh_2709_20"); gruppen["2709"].push("Ryh_2709_21"); gruppen["2709"].push("Ryh_2709_22"); gruppen["2709"].push("Ryh_2709_23"); gruppen["2709"].push("Ryh_2709_24"); gruppen["2709"].push("Ryh_2709_25"); gruppen["2709"].push("Ryh_2709_27"); gruppen["2709"].push("Ryh_2709_28"); gruppen["2709"].push("Ryh_2709_29"); gruppen["2709"].push("Ryh_2709_31"); gruppen["2709"].push("Ryh_2709_32"); gruppen["2709"].push("Ryh_2709_33"); gruppen["2709"].push("Ryh_2709_34"); gruppen["2709"].push("Ryh_2709_35"); gruppen["2801"] = new Array(); gruppen["2801"].push("Ryh_2801_1"); gruppen["2801"].push("Ryh_2801_2"); gruppen["2801"].push("Ryh_2801_3"); gruppen["2801"].push("Ryh_2801_4"); gruppen["2801"].push("Ryh_2801_5"); gruppen["2801"].push("Ryh_2801_6"); gruppen["2801"].push("Ryh_2801_11"); gruppen["2801"].push("Ryh_2801_12"); gruppen["2801"].push("Ryh_2801_13"); gruppen["2801"].push("Ryh_2801_16"); gruppen["2801"].push("Ryh_2801_17"); gruppen["2801"].push("Ryh_2801_21"); gruppen["2801"].push("Ryh_2801_22"); gruppen["2801"].push("Ryh_2801_23"); gruppen["2801"].push("Ryh_2801_24"); gruppen["2801"].push("Ryh_2801_50_A"); gruppen["2801"].push("Ryh_2801_50_B"); gruppen["2801"].push("Ryh_2801_50_C"); gruppen["2801"].push("Ryh_2801_50_D"); gruppen["2801"].push("Ryh_2801_50_E"); gruppen["2801"].push("Ryh_2801_50_F"); gruppen["2802"] = new Array(); gruppen["2802"].push("Ryh_2802_1"); gruppen["2802"].push("Ryh_2802_4"); gruppen["2802"].push("Ryh_2802_5"); gruppen["2802"].push("Ryh_2802_6"); gruppen["2802"].push("Ryh_2802_8"); gruppen["2802"].push("Ryh_2802_9"); gruppen["2802"].push("Ryh_2802_10"); gruppen["2802"].push("Ryh_2802_19"); gruppen["2802"].push("Ryh_2802_21"); gruppen["2802"].push("Ryh_2802_22"); gruppen["2802"].push("Ryh_2802_23"); gruppen["2802"].push("Ryh_2802_24"); gruppen["2802"].push("Ryh_2802_25"); gruppen["2802"].push("Ryh_2802_27"); gruppen["2802"].push("Ryh_2802_28"); gruppen["2802"].push("Ryh_2802_29"); gruppen["2803"] = new Array(); gruppen["2803"].push("Ryh_2803_1"); gruppen["2803"].push("Ryh_2803_2"); gruppen["2803"].push("Ryh_2803_3"); gruppen["2803"].push("Ryh_2803_4"); gruppen["2803"].push("Ryh_2803_5"); gruppen["2803"].push("Ryh_2803_6"); gruppen["2803"].push("Ryh_2803_7"); gruppen["2803"].push("Ryh_2803_8"); gruppen["2803"].push("Ryh_2803_10"); gruppen["2803"].push("Ryh_2803_13"); gruppen["2803"].push("Ryh_2803_14"); gruppen["2803"].push("Ryh_2803_15"); gruppen["2803"].push("Ryh_2803_17"); gruppen["2803"].push("Ryh_2803_19"); gruppen["2803"].push("Ryh_2803_20"); gruppen["2803"].push("Ryh_2803_21"); gruppen["2803"].push("Ryh_2803_22"); gruppen["2803"].push("Ryh_2803_23"); gruppen["2803"].push("Ryh_2803_31"); gruppen["2803"].push("Ryh_2803_32"); gruppen["2803"].push("Ryh_2803_33"); gruppen["2804"] = new Array(); gruppen["2804"].push("Ryh_2804_1"); gruppen["2804"].push("Ryh_2804_2"); gruppen["2804"].push("Ryh_2804_3"); gruppen["2804"].push("Ryh_2804_5"); gruppen["2804"].push("Ryh_2804_6"); gruppen["2804"].push("Ryh_2804_7"); gruppen["2804"].push("Ryh_2804_9"); gruppen["2804"].push("Ryh_2804_11"); gruppen["2804"].push("Ryh_2804_12"); gruppen["2804"].push("Ryh_2804_13"); gruppen["2804"].push("Ryh_2804_14"); gruppen["2804"].push("Ryh_2804_15"); gruppen["2804"].push("Ryh_2804_16"); gruppen["2804"].push("Ryh_2804_21"); gruppen["2804"].push("Ryh_2804_22"); gruppen["2805"] = new Array(); gruppen["2805"].push("Ryh_2805_1_A"); gruppen["2805"].push("Ryh_2805_1_B"); gruppen["2805"].push("Ryh_2805_2"); gruppen["2805"].push("Ryh_2805_3"); gruppen["2805"].push("Ryh_2805_4"); gruppen["2805"].push("Ryh_2805_5"); gruppen["2805"].push("Ryh_2805_6"); gruppen["2805"].push("Ryh_2805_7"); gruppen["2805"].push("Ryh_2805_8"); gruppen["2805"].push("Ryh_2805_9"); gruppen["2805"].push("Ryh_2805_10"); gruppen["2805"].push("Ryh_2805_11"); gruppen["2805"].push("Ryh_2805_12"); gruppen["2805"].push("Ryh_2805_13"); gruppen["2805"].push("Ryh_2805_14"); gruppen["2805"].push("Ryh_2805_15"); gruppen["2805"].push("Ryh_2805_16"); gruppen["2805"].push("Ryh_2805_17"); gruppen["2805"].push("Ryh_2805_18"); gruppen["2805"].push("Ryh_2805_19"); gruppen["2805"].push("Ryh_2805_20"); gruppen["2805"].push("Ryh_2805_21"); gruppen["2805"].push("Ryh_2805_22"); gruppen["2805"].push("Ryh_2805_23"); gruppen["2805"].push("Ryh_2805_24"); gruppen["2805"].push("Ryh_2805_25"); gruppen["2805"].push("Ryh_2805_29"); gruppen["2805"].push("Ryh_2805_30"); gruppen["2805"].push("Ryh_2805_47"); gruppen["2805"].push("Ryh_2805_48"); gruppen["2805"].push("Ryh_2805_49"); gruppen["2805"].push("Ryh_2805_50"); gruppen["2805"].push("Ryh_2805_52"); gruppen["2805"].push("Ryh_2805_53"); gruppen["2805"].push("Ryh_2805_54"); gruppen["2805"].push("Ryh_2805_55"); gruppen["2805"].push("Ryh_2805_56"); gruppen["2805"].push("Ryh_2805_57"); gruppen["2805"].push("Ryh_2805_58"); gruppen["2805"].push("Ryh_2805_59"); gruppen["2805"].push("Ryh_2805_60"); gruppen["2805"].push("Ryh_2805_61"); gruppen["2805"].push("Ryh_2805_62"); gruppen["2805"].push("Ryh_2805_63"); gruppen["2805"].push("Ryh_2805_64"); gruppen["2805"].push("Ryh_2805_65"); gruppen["2805"].push("Ryh_2805_66"); gruppen["2806"] = new Array(); gruppen["2806"].push("Ryh_2806_1_A"); gruppen["2806"].push("Ryh_2806_1_B"); gruppen["2806"].push("Ryh_2806_2"); gruppen["2806"].push("Ryh_2806_3"); gruppen["2806"].push("Ryh_2806_5"); gruppen["2806"].push("Ryh_2806_6"); gruppen["2806"].push("Ryh_2806_8"); gruppen["2806"].push("Ryh_2806_9"); gruppen["2806"].push("Ryh_2806_10"); gruppen["2806"].push("Ryh_2806_12"); gruppen["2806"].push("Ryh_2806_13"); gruppen["2806"].push("Ryh_2806_14"); gruppen["2806"].push("Ryh_2806_15"); gruppen["2806"].push("Ryh_2806_16"); gruppen["2806"].push("Ryh_2806_17"); gruppen["2806"].push("Ryh_2806_18"); gruppen["2806"].push("Ryh_2806_19"); gruppen["2806"].push("Ryh_2806_20"); gruppen["2806"].push("Ryh_2806_21"); gruppen["2806"].push("Ryh_2806_22"); gruppen["2806"].push("Ryh_2806_23"); gruppen["2806"].push("Ryh_2806_24"); gruppen["2806"].push("Ryh_2806_25"); gruppen["2806"].push("Ryh_2806_26"); gruppen["2806"].push("Ryh_2806_27"); gruppen["2806"].push("Ryh_2806_28"); gruppen["2806"].push("Ryh_2806_29"); gruppen["2806"].push("Ryh_2806_31"); gruppen["2806"].push("Ryh_2806_32"); gruppen["2806"].push("Ryh_2806_33"); gruppen["2806"].push("Ryh_2806_34"); gruppen["2806"].push("Ryh_2806_35"); gruppen["2806"].push("Ryh_2806_36"); gruppen["2806"].push("Ryh_2806_37"); gruppen["2806"].push("Ryh_2806_38"); gruppen["2806"].push("Ryh_2806_39"); gruppen["2806"].push("Ryh_2806_61"); gruppen["2806"].push("Ryh_2806_62"); gruppen["2806"].push("Ryh_2806_63"); gruppen["2806"].push("Ryh_2806_64"); gruppen["2806"].push("Ryh_2806_65"); gruppen["2806"].push("Ryh_2806_69_A"); gruppen["2806"].push("Ryh_2806_69_B"); gruppen["2806"].push("Ryh_2806_69_C"); gruppen["2806"].push("Ryh_2806_69_D"); gruppen["2806"].push("Ryh_2806_70_A"); gruppen["2806"].push("Ryh_2806_70_B"); gruppen["2806"].push("Ryh_2806_70_C"); gruppen["2806"].push("Ryh_2806_70_D"); gruppen["2806"].push("Ryh_2806_71"); gruppen["2806"].push("Ryh_2806_72"); gruppen["2807"] = new Array(); gruppen["2807"].push("Ryh_2807_0"); gruppen["2807"].push("Ryh_2807_0_A"); gruppen["2807"].push("Ryh_2807_1_A"); gruppen["2807"].push("Ryh_2807_1_B"); gruppen["2807"].push("Ryh_2807_2"); gruppen["2807"].push("Ryh_2807_3"); gruppen["2807"].push("Ryh_2807_4"); gruppen["2807"].push("Ryh_2807_5"); gruppen["2807"].push("Ryh_2807_7"); gruppen["2807"].push("Ryh_2807_8"); gruppen["2807"].push("Ryh_2807_9"); gruppen["2807"].push("Ryh_2807_10"); gruppen["2807"].push("Ryh_2807_11"); gruppen["2807"].push("Ryh_2807_13"); gruppen["2807"].push("Ryh_2807_14"); gruppen["2807"].push("Ryh_2807_16"); gruppen["2807"].push("Ryh_2807_17"); gruppen["2807"].push("Ryh_2807_19"); gruppen["2807"].push("Ryh_2807_20"); gruppen["2807"].push("Ryh_2807_21"); gruppen["2807"].push("Ryh_2807_22"); gruppen["2807"].push("Ryh_2807_23"); gruppen["2807"].push("Ryh_2807_24"); gruppen["2807"].push("Ryh_2807_25"); gruppen["2807"].push("Ryh_2807_26"); gruppen["2807"].push("Ryh_2807_27"); gruppen["2807"].push("Ryh_2807_28"); gruppen["2807"].push("Ryh_2807_29"); gruppen["2807"].push("Ryh_2807_30"); gruppen["2807"].push("Ryh_2807_31"); gruppen["2807"].push("Ryh_2807_32"); gruppen["2807"].push("Ryh_2807_33"); gruppen["2807"].push("Ryh_2807_41"); gruppen["2807"].push("Ryh_2807_42"); gruppen["2807"].push("Ryh_2807_43"); gruppen["2807"].push("Ryh_2807_46"); gruppen["2807"].push("Ryh_2807_47"); gruppen["2807"].push("Ryh_2807_48"); gruppen["2807"].push("Ryh_2807_48_A"); gruppen["2807"].push("Ryh_2807_49"); gruppen["2807"].push("Ryh_2807_50"); gruppen["2808"] = new Array(); gruppen["2808"].push("Ryh_2808_1"); gruppen["2808"].push("Ryh_2808_1_A"); gruppen["2808"].push("Ryh_2808_2"); gruppen["2808"].push("Ryh_2808_2_A"); gruppen["2808"].push("Ryh_2808_3"); gruppen["2808"].push("Ryh_2808_4"); gruppen["2808"].push("Ryh_2808_5"); gruppen["2808"].push("Ryh_2808_6"); gruppen["2808"].push("Ryh_2808_7"); gruppen["2808"].push("Ryh_2808_8"); gruppen["2808"].push("Ryh_2808_47"); gruppen["2808"].push("Ryh_2808_48"); gruppen["2808"].push("Ryh_2808_49_A"); gruppen["2808"].push("Ryh_2808_49_B"); gruppen["2808"].push("Ryh_2808_49_C"); gruppen["2808"].push("Ryh_2808_49_D"); gruppen["2808"].push("Ryh_2808_49_E"); gruppen["2808"].push("Ryh_2808_49_F"); gruppen["2808"].push("Ryh_2808_50_A"); gruppen["2808"].push("Ryh_2808_50_B"); gruppen["2808"].push("Ryh_2808_50_C"); gruppen["2808"].push("Ryh_2808_50_D"); gruppen["2808"].push("Ryh_2808_50_E"); gruppen["2808"].push("Ryh_2808_50_F"); gruppen["2809"] = new Array(); gruppen["2809"].push("Ryh_2809_1"); gruppen["2809"].push("Ryh_2809_2"); gruppen["2809"].push("Ryh_2809_3_A"); gruppen["2809"].push("Ryh_2809_3_B"); gruppen["2809"].push("Ryh_2809_3_C"); gruppen["2809"].push("Ryh_2809_3_D"); gruppen["2809"].push("Ryh_2809_4_A"); gruppen["2809"].push("Ryh_2809_4_B"); gruppen["2809"].push("Ryh_2809_4_C"); gruppen["2809"].push("Ryh_2809_4_D"); gruppen["2809"].push("Ryh_2809_5_A"); gruppen["2809"].push("Ryh_2809_5_B"); gruppen["2809"].push("Ryh_2809_5_C"); gruppen["2809"].push("Ryh_2809_5_D"); gruppen["2809"].push("Ryh_2809_6_A"); gruppen["2809"].push("Ryh_2809_6_B"); gruppen["2809"].push("Ryh_2809_6_C"); gruppen["2809"].push("Ryh_2809_6_D"); gruppen["2809"].push("Ryh_2809_6_E"); gruppen["2809"].push("Ryh_2809_6_F"); gruppen["2809"].push("Ryh_2809_6_G"); gruppen["2809"].push("Ryh_2809_7_A"); gruppen["2809"].push("Ryh_2809_7_B"); gruppen["2809"].push("Ryh_2809_7_C"); gruppen["2809"].push("Ryh_2809_7_D"); gruppen["2809"].push("Ryh_2809_8_A"); gruppen["2809"].push("Ryh_2809_8_B"); gruppen["2809"].push("Ryh_2809_8_C"); gruppen["2809"].push("Ryh_2809_8_D"); gruppen["2809"].push("Ryh_2809_8_E"); gruppen["2809"].push("Ryh_2809_8_F"); gruppen["2809"].push("Ryh_2809_9_A"); gruppen["2809"].push("Ryh_2809_9_B"); gruppen["2809"].push("Ryh_2809_9_C"); gruppen["2809"].push("Ryh_2809_9_D"); gruppen["2809"].push("Ryh_2809_9_E"); gruppen["2809"].push("Ryh_2809_9_F"); gruppen["2809"].push("Ryh_2809_9_G"); gruppen["2809"].push("Ryh_2809_9_H"); gruppen["2809"].push("Ryh_2809_10_A"); gruppen["2809"].push("Ryh_2809_10_B"); gruppen["2809"].push("Ryh_2809_10_C"); gruppen["2809"].push("Ryh_2809_10_D"); gruppen["2809"].push("Ryh_2809_10_E"); gruppen["2809"].push("Ryh_2809_10_F"); gruppen["2809"].push("Ryh_2809_11"); gruppen["2809"].push("Ryh_2809_12"); gruppen["2809"].push("Ryh_2809_13"); gruppen["2809"].push("Ryh_2809_14"); gruppen["2809"].push("Ryh_2809_15"); gruppen["2809"].push("Ryh_2809_16"); gruppen["2809"].push("Ryh_2809_17"); gruppen["2809"].push("Ryh_2809_18"); gruppen["2809"].push("Ryh_2809_19"); gruppen["2809"].push("Ryh_2809_20"); gruppen["2809"].push("Ryh_2809_23"); gruppen["2809"].push("Ryh_2809_24"); gruppen["2809"].push("Ryh_2809_25"); gruppen["2809"].push("Ryh_2809_26"); gruppen["2809"].push("Ryh_2809_27"); gruppen["2809"].push("Ryh_2809_28"); gruppen["2809"].push("Ryh_2809_29"); gruppen["2809"].push("Ryh_2809_31"); gruppen["2809"].push("Ryh_2809_32"); gruppen["2809"].push("Ryh_2809_33_A"); gruppen["2809"].push("Ryh_2809_33_B"); gruppen["2809"].push("Ryh_2809_34"); gruppen["2809"].push("Ryh_2809_35"); gruppen["2809"].push("Ryh_2809_36"); gruppen["2901"] = new Array(); gruppen["2901"].push("Ryh_2901_1"); gruppen["2901"].push("Ryh_2901_2"); gruppen["2901"].push("Ryh_2901_4"); gruppen["2901"].push("Ryh_2901_5"); gruppen["2901"].push("Ryh_2901_6"); gruppen["2901"].push("Ryh_2901_7"); gruppen["2901"].push("Ryh_2901_8"); gruppen["2901"].push("Ryh_2901_9"); gruppen["2901"].push("Ryh_2901_10"); gruppen["2901"].push("Ryh_2901_11"); gruppen["2901"].push("Ryh_2901_12"); gruppen["2901"].push("Ryh_2901_13"); gruppen["2901"].push("Ryh_2901_14"); gruppen["2901"].push("Ryh_2901_16"); gruppen["2901"].push("Ryh_2901_17"); gruppen["2901"].push("Ryh_2901_18"); gruppen["2901"].push("Ryh_2901_19"); gruppen["2901"].push("Ryh_2901_20"); gruppen["2901"].push("Ryh_2901_22"); gruppen["2901"].push("Ryh_2901_23"); gruppen["2901"].push("Ryh_2901_24"); gruppen["2901"].push("Ryh_2901_25"); gruppen["2901"].push("Ryh_2901_26"); gruppen["2901"].push("Ryh_2901_27"); gruppen["2901"].push("Ryh_2901_28"); gruppen["2901"].push("Ryh_2901_29"); gruppen["2901"].push("Ryh_2901_30"); gruppen["2901"].push("Ryh_2901_31"); gruppen["2901"].push("Ryh_2901_32"); gruppen["2901"].push("Ryh_2901_33"); gruppen["2901"].push("Ryh_2901_34"); gruppen["2901"].push("Ryh_2901_35"); gruppen["2901"].push("Ryh_2901_36"); gruppen["2901"].push("Ryh_2901_37"); gruppen["2901"].push("Ryh_2901_38"); gruppen["2901"].push("Ryh_2901_39"); gruppen["2901"].push("Ryh_2901_40"); gruppen["2901"].push("Ryh_2901_41"); gruppen["2901"].push("Ryh_2901_43"); gruppen["2901"].push("Ryh_2901_44"); gruppen["2901"].push("Ryh_2901_45"); gruppen["2901"].push("Ryh_2901_46"); gruppen["2901"].push("Ryh_2901_47"); gruppen["2901"].push("Ryh_2901_48"); gruppen["2901"].push("Ryh_2901_49"); gruppen["2901"].push("Ryh_2901_50"); gruppen["2901"].push("Ryh_2901_51"); gruppen["2901"].push("Ryh_2901_52"); gruppen["2901"].push("Ryh_2901_53"); gruppen["2901"].push("Ryh_2901_54"); gruppen["2902"] = new Array(); gruppen["2902"].push("Ryh_2902_1"); gruppen["2902"].push("Ryh_2902_2"); gruppen["2902"].push("Ryh_2902_3"); gruppen["2902"].push("Ryh_2902_4"); gruppen["2902"].push("Ryh_2902_5"); gruppen["2902"].push("Ryh_2902_6"); gruppen["2902"].push("Ryh_2902_7"); gruppen["2902"].push("Ryh_2902_8"); gruppen["2902"].push("Ryh_2902_9"); gruppen["2902"].push("Ryh_2902_10"); gruppen["2902"].push("Ryh_2902_11"); gruppen["2902"].push("Ryh_2902_12"); gruppen["2902"].push("Ryh_2902_13"); gruppen["2902"].push("Ryh_2902_14"); gruppen["2902"].push("Ryh_2902_15"); gruppen["2902"].push("Ryh_2902_16"); gruppen["2902"].push("Ryh_2902_17"); gruppen["2902"].push("Ryh_2902_18"); gruppen["2902"].push("Ryh_2902_19"); gruppen["2902"].push("Ryh_2902_20"); gruppen["2902"].push("Ryh_2902_21"); gruppen["2902"].push("Ryh_2902_22"); gruppen["2902"].push("Ryh_2902_23"); gruppen["2902"].push("Ryh_2902_24"); gruppen["2902"].push("Ryh_2902_25"); gruppen["2902"].push("Ryh_2902_26"); gruppen["2902"].push("Ryh_2902_27"); gruppen["2902"].push("Ryh_2902_28"); gruppen["2902"].push("Ryh_2902_29"); gruppen["2902"].push("Ryh_2902_30"); gruppen["2902"].push("Ryh_2902_31"); gruppen["2902"].push("Ryh_2902_32"); gruppen["2902"].push("Ryh_2902_33"); gruppen["2902"].push("Ryh_2902_34"); gruppen["2902"].push("Ryh_2902_35"); gruppen["2902"].push("Ryh_2902_36"); gruppen["2902"].push("Ryh_2902_37"); gruppen["2902"].push("Ryh_2902_38"); gruppen["2902"].push("Ryh_2902_39"); gruppen["2902"].push("Ryh_2902_40"); gruppen["2902"].push("Ryh_2902_41"); gruppen["2902"].push("Ryh_2902_42"); gruppen["2902"].push("Ryh_2902_43"); gruppen["2902"].push("Ryh_2902_44"); gruppen["2902"].push("Ryh_2902_45"); gruppen["2902"].push("Ryh_2902_46"); gruppen["2902"].push("Ryh_2902_47"); gruppen["2902"].push("Ryh_2902_48"); gruppen["2902"].push("Ryh_2902_49"); gruppen["2902"].push("Ryh_2902_50"); gruppen["2902"].push("Ryh_2902_51"); gruppen["2902"].push("Ryh_2902_52"); gruppen["2902"].push("Ryh_2902_53"); gruppen["2902"].push("Ryh_2902_54"); gruppen["2902"].push("Ryh_2902_55"); gruppen["2902"].push("Ryh_2902_56"); gruppen["2902"].push("Ryh_2902_57"); gruppen["2902"].push("Ryh_2902_58"); gruppen["2902"].push("Ryh_2902_59"); gruppen["2902"].push("Ryh_2902_60"); gruppen["2902"].push("Ryh_2902_61"); gruppen["2902"].push("Ryh_2902_62"); gruppen["2902"].push("Ryh_2902_63"); gruppen["2902"].push("Ryh_2902_64"); gruppen["2902"].push("Ryh_2902_65"); gruppen["2902"].push("Ryh_2902_66"); gruppen["2902"].push("Ryh_2902_67"); gruppen["2902"].push("Ryh_2902_68"); gruppen["2903"] = new Array(); gruppen["2903"].push("Ryh_2903_1"); gruppen["2903"].push("Ryh_2903_2"); gruppen["2903"].push("Ryh_2903_3"); gruppen["2903"].push("Ryh_2903_4"); gruppen["2903"].push("Ryh_2903_5"); gruppen["2903"].push("Ryh_2903_6"); gruppen["2903"].push("Ryh_2903_7"); gruppen["2903"].push("Ryh_2903_8"); gruppen["2903"].push("Ryh_2903_9"); gruppen["2903"].push("Ryh_2903_10"); gruppen["2903"].push("Ryh_2903_11"); gruppen["2903"].push("Ryh_2903_12"); gruppen["2903"].push("Ryh_2903_13"); gruppen["2903"].push("Ryh_2903_14"); gruppen["2903"].push("Ryh_2903_15"); gruppen["2903"].push("Ryh_2903_16"); gruppen["2903"].push("Ryh_2903_17"); gruppen["2903"].push("Ryh_2903_18"); gruppen["2903"].push("Ryh_2903_19"); gruppen["2903"].push("Ryh_2903_20"); gruppen["2903"].push("Ryh_2903_21"); gruppen["2903"].push("Ryh_2903_22"); gruppen["2903"].push("Ryh_2903_23"); gruppen["2903"].push("Ryh_2903_24"); gruppen["2903"].push("Ryh_2903_25"); gruppen["2903"].push("Ryh_2903_26"); gruppen["2903"].push("Ryh_2903_27"); gruppen["2903"].push("Ryh_2903_28"); gruppen["2903"].push("Ryh_2903_29"); gruppen["2903"].push("Ryh_2903_30"); gruppen["2903"].push("Ryh_2903_31"); gruppen["2903"].push("Ryh_2903_32"); gruppen["2903"].push("Ryh_2903_33"); gruppen["2903"].push("Ryh_2903_34"); gruppen["2903"].push("Ryh_2903_35"); gruppen["2903"].push("Ryh_2903_36"); gruppen["2903"].push("Ryh_2903_40"); gruppen["2903"].push("Ryh_2903_41"); gruppen["2903"].push("Ryh_2903_42"); gruppen["2903"].push("Ryh_2903_43"); gruppen["2903"].push("Ryh_2903_44"); gruppen["2903"].push("Ryh_2903_45"); gruppen["2903"].push("Ryh_2903_46"); gruppen["2903"].push("Ryh_2903_47"); gruppen["2903"].push("Ryh_2903_48"); gruppen["2903"].push("Ryh_2903_49"); gruppen["2903"].push("Ryh_2903_50"); gruppen["2903"].push("Ryh_2903_51"); gruppen["2903"].push("Ryh_2903_52"); gruppen["2903"].push("Ryh_2903_53"); gruppen["2903"].push("Ryh_2903_54"); gruppen["2904"] = new Array(); gruppen["2904"].push("Ryh_2904_1"); gruppen["2904"].push("Ryh_2904_2"); gruppen["2904"].push("Ryh_2904_3"); gruppen["2904"].push("Ryh_2904_4"); gruppen["2904"].push("Ryh_2904_5"); gruppen["2904"].push("Ryh_2904_6"); gruppen["2904"].push("Ryh_2904_7"); gruppen["2904"].push("Ryh_2904_8"); gruppen["2904"].push("Ryh_2904_9"); gruppen["2904"].push("Ryh_2904_10"); gruppen["2904"].push("Ryh_2904_11"); gruppen["2904"].push("Ryh_2904_12"); gruppen["2904"].push("Ryh_2904_13"); gruppen["2904"].push("Ryh_2904_14"); gruppen["2904"].push("Ryh_2904_15"); gruppen["2904"].push("Ryh_2904_16"); gruppen["2904"].push("Ryh_2904_17"); gruppen["2904"].push("Ryh_2904_18"); gruppen["2904"].push("Ryh_2904_19"); gruppen["2904"].push("Ryh_2904_20"); gruppen["2904"].push("Ryh_2904_21"); gruppen["2904"].push("Ryh_2904_22"); gruppen["2904"].push("Ryh_2904_23"); gruppen["2904"].push("Ryh_2904_24"); gruppen["2904"].push("Ryh_2904_25"); gruppen["2905"] = new Array(); gruppen["2905"].push("Ryh_2905_1"); gruppen["2905"].push("Ryh_2905_2"); gruppen["2905"].push("Ryh_2905_3"); gruppen["2905"].push("Ryh_2905_4"); gruppen["2905"].push("Ryh_2905_5"); gruppen["2905"].push("Ryh_2905_6"); gruppen["2905"].push("Ryh_2905_7"); gruppen["2905"].push("Ryh_2905_8"); gruppen["2905"].push("Ryh_2905_9"); gruppen["2905"].push("Ryh_2905_10"); gruppen["2905"].push("Ryh_2905_31"); gruppen["2905"].push("Ryh_2905_32"); gruppen["2905"].push("Ryh_2905_33"); gruppen["2905"].push("Ryh_2905_34"); gruppen["2905"].push("Ryh_2905_35"); gruppen["2905"].push("Ryh_2905_36"); gruppen["2905"].push("Ryh_2905_37"); gruppen["2905"].push("Ryh_2905_38"); gruppen["2905"].push("Ryh_2905_39"); gruppen["2905"].push("Ryh_2905_40"); gruppen["2905"].push("Ryh_2905_41"); gruppen["2906"] = new Array(); gruppen["2906"].push("Ryh_2906_1"); gruppen["2906"].push("Ryh_2906_2"); gruppen["2906"].push("Ryh_2906_3"); gruppen["2906"].push("Ryh_2906_4"); gruppen["2906"].push("Ryh_2906_5"); gruppen["2906"].push("Ryh_2906_6_A"); gruppen["2906"].push("Ryh_2906_6_B"); gruppen["2906"].push("Ryh_2906_8"); gruppen["2906"].push("Ryh_2906_10"); gruppen["2906"].push("Ryh_2906_11"); gruppen["2906"].push("Ryh_2906_12"); gruppen["2906"].push("Ryh_2906_15"); gruppen["2906"].push("Ryh_2906_17"); gruppen["2906"].push("Ryh_2906_18"); gruppen["2906"].push("Ryh_2906_19"); gruppen["2906"].push("Ryh_2906_20"); gruppen["2906"].push("Ryh_2906_21"); gruppen["2906"].push("Ryh_2906_23"); gruppen["2906"].push("Ryh_2906_24"); gruppen["2906"].push("Ryh_2906_25"); gruppen["2906"].push("Ryh_2906_26"); gruppen["2906"].push("Ryh_2906_28"); gruppen["2906"].push("Ryh_2906_30"); gruppen["2906"].push("Ryh_2906_31"); gruppen["2906"].push("Ryh_2906_32"); gruppen["2906"].push("Ryh_2906_33"); gruppen["2906"].push("Ryh_2906_35"); gruppen["2906"].push("Ryh_2906_36"); gruppen["2906"].push("Ryh_2906_37"); gruppen["2906"].push("Ryh_2906_38"); gruppen["2906"].push("Ryh_2906_40"); gruppen["2906"].push("Ryh_2906_43"); gruppen["2906"].push("Ryh_2906_44"); gruppen["2906"].push("Ryh_2906_45"); gruppen["2906"].push("Ryh_2906_46"); gruppen["2906"].push("Ryh_2906_47"); gruppen["2907"] = new Array(); gruppen["2907"].push("Ryh_2907_1"); gruppen["2907"].push("Ryh_2907_2"); gruppen["2907"].push("Ryh_2907_3"); gruppen["2907"].push("Ryh_2907_4"); gruppen["2907"].push("Ryh_2907_5"); gruppen["2907"].push("Ryh_2907_6"); gruppen["2907"].push("Ryh_2907_7"); gruppen["2907"].push("Ryh_2907_9"); gruppen["2907"].push("Ryh_2907_11"); gruppen["2907"].push("Ryh_2907_14"); gruppen["2907"].push("Ryh_2907_15"); gruppen["2907"].push("Ryh_2907_16"); gruppen["2907"].push("Ryh_2907_17"); gruppen["2907"].push("Ryh_2907_18"); gruppen["2907"].push("Ryh_2907_19"); gruppen["2907"].push("Ryh_2907_20"); gruppen["2907"].push("Ryh_2907_21"); gruppen["2907"].push("Ryh_2907_23"); gruppen["2907"].push("Ryh_2907_24"); gruppen["2907"].push("Ryh_2907_25"); gruppen["2907"].push("Ryh_2907_26"); gruppen["2907"].push("Ryh_2907_28"); gruppen["2907"].push("Ryh_2907_29"); gruppen["2907"].push("Ryh_2907_30"); gruppen["2907"].push("Ryh_2907_31"); gruppen["2907"].push("Ryh_2907_32"); gruppen["2907"].push("Ryh_2907_33"); gruppen["2907"].push("Ryh_2907_34"); gruppen["2907"].push("Ryh_2907_35"); gruppen["2907"].push("Ryh_2907_36"); gruppen["2907"].push("Ryh_2907_37"); gruppen["2907"].push("Ryh_2907_38"); gruppen["2907"].push("Ryh_2907_41"); gruppen["2907"].push("Ryh_2907_42"); gruppen["2908"] = new Array(); gruppen["2908"].push("Ryh_2908_1"); gruppen["2908"].push("Ryh_2908_2"); gruppen["2908"].push("Ryh_2908_3"); gruppen["2908"].push("Ryh_2908_4"); gruppen["2908"].push("Ryh_2908_5"); gruppen["2908"].push("Ryh_2908_6_A"); gruppen["2908"].push("Ryh_2908_6_B"); gruppen["2908"].push("Ryh_2908_7"); gruppen["2908"].push("Ryh_2908_8"); gruppen["2908"].push("Ryh_2908_9"); gruppen["2908"].push("Ryh_2908_10"); gruppen["2908"].push("Ryh_2908_11"); gruppen["2908"].push("Ryh_2908_12"); gruppen["2908"].push("Ryh_2908_13"); gruppen["2908"].push("Ryh_2908_14"); gruppen["2908"].push("Ryh_2908_16"); gruppen["2908"].push("Ryh_2908_17"); gruppen["2908"].push("Ryh_2908_19"); gruppen["2908"].push("Ryh_2908_20"); gruppen["2908"].push("Ryh_2908_23"); gruppen["2908"].push("Ryh_2908_24"); gruppen["2908"].push("Ryh_2908_25"); gruppen["2908"].push("Ryh_2908_27"); gruppen["2908"].push("Ryh_2908_28"); gruppen["2908"].push("Ryh_2908_30"); gruppen["2908"].push("Ryh_2908_31"); gruppen["2908"].push("Ryh_2908_32"); gruppen["2908"].push("Ryh_2908_33"); gruppen["2908"].push("Ryh_2908_34"); gruppen["2908"].push("Ryh_2908_35"); gruppen["2908"].push("Ryh_2908_37"); gruppen["2908"].push("Ryh_2908_38"); gruppen["2908"].push("Ryh_2908_39"); gruppen["2908"].push("Ryh_2908_40"); gruppen["2908"].push("Ryh_2908_41"); gruppen["2908"].push("Ryh_2908_42"); gruppen["2908"].push("Ryh_2908_43"); gruppen["2908"].push("Ryh_2908_44"); gruppen["2908"].push("Ryh_2908_45"); gruppen["2908"].push("Ryh_2908_46"); gruppen["2908"].push("Ryh_2908_47"); gruppen["2908"].push("Ryh_2908_48"); gruppen["2908"].push("Ryh_2908_49"); gruppen["2908"].push("Ryh_2908_50"); gruppen["2908"].push("Ryh_2908_53"); gruppen["2908"].push("Ryh_2908_54"); gruppen["2909"] = new Array(); gruppen["2909"].push("Ryh_2909_1"); gruppen["2909"].push("Ryh_2909_3"); gruppen["2909"].push("Ryh_2909_6"); gruppen["2909"].push("Ryh_2909_8"); gruppen["2909"].push("Ryh_2909_10"); gruppen["2909"].push("Ryh_2909_12"); gruppen["2909"].push("Ryh_2909_13"); gruppen["2909"].push("Ryh_2909_15"); gruppen["2909"].push("Ryh_2909_16"); gruppen["2909"].push("Ryh_2909_18"); gruppen["2909"].push("Ryh_2909_19"); gruppen["2909"].push("Ryh_2909_20"); gruppen["2909"].push("Ryh_2909_22"); gruppen["2909"].push("Ryh_2909_23"); gruppen["2909"].push("Ryh_2909_25"); gruppen["2909"].push("Ryh_2909_26"); gruppen["2909"].push("Ryh_2909_27"); gruppen["2909"].push("Ryh_2909_28"); gruppen["2909"].push("Ryh_2909_29"); gruppen["2909"].push("Ryh_2909_30"); gruppen["2909"].push("Ryh_2909_31"); gruppen["2909"].push("Ryh_2909_33"); gruppen["2909"].push("Ryh_2909_34"); gruppen["2909"].push("Ryh_2909_35"); gruppen["2909"].push("Ryh_2909_36"); gruppen["2909"].push("Ryh_2909_37"); gruppen["2909"].push("Ryh_2909_38"); gruppen["2909"].push("Ryh_2909_39"); gruppen["2909"].push("Ryh_2909_41"); gruppen["2909"].push("Ryh_2909_42"); gruppen["2909"].push("Ryh_2909_43"); gruppen["2909"].push("Ryh_2909_44"); gruppen["2910"] = new Array(); gruppen["2910"].push("Ryh_2910_1"); gruppen["2910"].push("Ryh_2910_2"); gruppen["2910"].push("Ryh_2910_3"); gruppen["2910"].push("Ryh_2910_4"); gruppen["2910"].push("Ryh_2910_5"); gruppen["2910"].push("Ryh_2910_6_A"); gruppen["2910"].push("Ryh_2910_6_B"); gruppen["2910"].push("Ryh_2910_7"); gruppen["2910"].push("Ryh_2910_9"); gruppen["2910"].push("Ryh_2910_10"); gruppen["2910"].push("Ryh_2910_11"); gruppen["2910"].push("Ryh_2910_12"); gruppen["2910"].push("Ryh_2910_13"); gruppen["2910"].push("Ryh_2910_14"); gruppen["2910"].push("Ryh_2910_15"); gruppen["2910"].push("Ryh_2910_16"); gruppen["2910"].push("Ryh_2910_18"); gruppen["2910"].push("Ryh_2910_19"); gruppen["2910"].push("Ryh_2910_20"); gruppen["2910"].push("Ryh_2910_21"); gruppen["2910"].push("Ryh_2910_23"); gruppen["2910"].push("Ryh_2910_25"); gruppen["2910"].push("Ryh_2910_26"); gruppen["2910"].push("Ryh_2910_27"); gruppen["2910"].push("Ryh_2910_28"); gruppen["2910"].push("Ryh_2910_29"); gruppen["2910"].push("Ryh_2910_30"); gruppen["2910"].push("Ryh_2910_31"); gruppen["2910"].push("Ryh_2910_32"); gruppen["2910"].push("Ryh_2910_33"); gruppen["2910"].push("Ryh_2910_34"); gruppen["2910"].push("Ryh_2910_35"); gruppen["2910"].push("Ryh_2910_37"); gruppen["2910"].push("Ryh_2910_38"); gruppen["2910"].push("Ryh_2910_39"); gruppen["2910"].push("Ryh_2910_57"); gruppen["2910"].push("Ryh_2910_58"); gruppen["2910"].push("Ryh_2910_59"); gruppen["2911"] = new Array(); gruppen["2911"].push("Ryh_2911_1"); gruppen["2911"].push("Ryh_2911_2_A"); gruppen["2911"].push("Ryh_2911_2_B"); gruppen["2911"].push("Ryh_2911_3"); gruppen["2911"].push("Ryh_2911_4"); gruppen["2911"].push("Ryh_2911_6"); gruppen["2911"].push("Ryh_2911_7_A"); gruppen["2911"].push("Ryh_2911_7_B"); gruppen["2911"].push("Ryh_2911_8"); gruppen["2911"].push("Ryh_2911_9"); gruppen["2911"].push("Ryh_2911_10"); gruppen["2911"].push("Ryh_2911_11"); gruppen["2911"].push("Ryh_2911_12"); gruppen["2911"].push("Ryh_2911_13"); gruppen["2911"].push("Ryh_2911_15"); gruppen["2911"].push("Ryh_2911_16"); gruppen["2911"].push("Ryh_2911_17"); gruppen["2911"].push("Ryh_2911_18"); gruppen["2911"].push("Ryh_2911_22"); gruppen["2911"].push("Ryh_2911_23"); gruppen["2911"].push("Ryh_2911_24"); gruppen["2911"].push("Ryh_2911_25"); gruppen["2911"].push("Ryh_2911_26"); gruppen["2911"].push("Ryh_2911_27"); gruppen["2911"].push("Ryh_2911_28"); gruppen["2911"].push("Ryh_2911_29"); gruppen["2911"].push("Ryh_2911_30"); gruppen["2911"].push("Ryh_2911_31"); gruppen["2911"].push("Ryh_2911_32"); gruppen["2911"].push("Ryh_2911_33"); gruppen["2911"].push("Ryh_2911_34"); gruppen["2911"].push("Ryh_2911_35"); gruppen["2911"].push("Ryh_2911_36"); gruppen["2911"].push("Ryh_2911_37"); gruppen["2911"].push("Ryh_2911_38"); gruppen["2912"] = new Array(); gruppen["2912"].push("Ryh_2912_1"); gruppen["2912"].push("Ryh_2912_2_A"); gruppen["2912"].push("Ryh_2912_2_B"); gruppen["2912"].push("Ryh_2912_3"); gruppen["2912"].push("Ryh_2912_4"); gruppen["2912"].push("Ryh_2912_5"); gruppen["2912"].push("Ryh_2912_7"); gruppen["2912"].push("Ryh_2912_8"); gruppen["2912"].push("Ryh_2912_9"); gruppen["2912"].push("Ryh_2912_11"); gruppen["2912"].push("Ryh_2912_12"); gruppen["2912"].push("Ryh_2912_13"); gruppen["2912"].push("Ryh_2912_14"); gruppen["2912"].push("Ryh_2912_15"); gruppen["2912"].push("Ryh_2912_16"); gruppen["2912"].push("Ryh_2912_17"); gruppen["2912"].push("Ryh_2912_18"); gruppen["2912"].push("Ryh_2912_19"); gruppen["2912"].push("Ryh_2912_20"); gruppen["2912"].push("Ryh_2912_22"); gruppen["2912"].push("Ryh_2912_23"); gruppen["2912"].push("Ryh_2912_24"); gruppen["2912"].push("Ryh_2912_25"); gruppen["2912"].push("Ryh_2912_27"); gruppen["2912"].push("Ryh_2912_28"); gruppen["2912"].push("Ryh_2912_29"); gruppen["2912"].push("Ryh_2912_30"); gruppen["2912"].push("Ryh_2912_31"); gruppen["2912"].push("Ryh_2912_32"); gruppen["2912"].push("Ryh_2912_33"); gruppen["2912"].push("Ryh_2912_34"); gruppen["2912"].push("Ryh_2912_36"); gruppen["2912"].push("Ryh_2912_37"); gruppen["2912"].push("Ryh_2912_38"); gruppen["2912"].push("Ryh_2912_39"); gruppen["2912"].push("Ryh_2912_40"); gruppen["2912"].push("Ryh_2912_41"); gruppen["2912"].push("Ryh_2912_42"); gruppen["2912"].push("Ryh_2912_43"); gruppen["2913"] = new Array(); gruppen["2913"].push("Ryh_2913_1"); gruppen["2913"].push("Ryh_2913_2_A"); gruppen["2913"].push("Ryh_2913_2_B"); gruppen["2913"].push("Ryh_2913_3_A"); gruppen["2913"].push("Ryh_2913_3_B"); gruppen["2913"].push("Ryh_2913_4"); gruppen["2913"].push("Ryh_2913_6"); gruppen["2913"].push("Ryh_2913_7"); gruppen["2913"].push("Ryh_2913_8"); gruppen["2913"].push("Ryh_2913_9"); gruppen["2913"].push("Ryh_2913_10"); gruppen["2913"].push("Ryh_2913_11"); gruppen["2913"].push("Ryh_2913_13"); gruppen["2913"].push("Ryh_2913_14"); gruppen["2913"].push("Ryh_2913_15"); gruppen["2913"].push("Ryh_2913_16"); gruppen["2913"].push("Ryh_2913_17"); gruppen["2913"].push("Ryh_2913_18"); gruppen["2913"].push("Ryh_2913_19"); gruppen["2913"].push("Ryh_2913_20"); gruppen["2913"].push("Ryh_2913_21"); gruppen["2913"].push("Ryh_2913_22"); gruppen["2913"].push("Ryh_2913_23"); gruppen["2913"].push("Ryh_2913_25"); gruppen["2913"].push("Ryh_2913_26"); gruppen["2913"].push("Ryh_2913_27"); gruppen["2913"].push("Ryh_2913_28"); gruppen["2913"].push("Ryh_2913_29"); gruppen["2913"].push("Ryh_2913_30"); gruppen["2913"].push("Ryh_2913_31"); gruppen["2913"].push("Ryh_2913_32"); gruppen["2913"].push("Ryh_2913_33"); gruppen["2913"].push("Ryh_2913_34"); gruppen["2913"].push("Ryh_2913_35"); gruppen["2913"].push("Ryh_2913_36"); gruppen["2913"].push("Ryh_2913_38"); gruppen["2913"].push("Ryh_2913_39"); gruppen["2913"].push("Ryh_2913_41"); gruppen["2913"].push("Ryh_2913_42"); gruppen["2913"].push("Ryh_2913_43"); gruppen["2913"].push("Ryh_2913_44"); gruppen["2913"].push("Ryh_2913_45"); gruppen["2913"].push("Ryh_2913_46"); gruppen["2913"].push("Ryh_2913_47"); gruppen["2913"].push("Ryh_2913_49"); gruppen["2913"].push("Ryh_2913_50"); gruppen["2913"].push("Ryh_2913_51"); gruppen["2913"].push("Ryh_2913_75_A"); gruppen["2913"].push("Ryh_2913_75_B"); gruppen["2913"].push("Ryh_2913_76"); gruppen["2913"].push("Ryh_2913_77"); gruppen["2913"].push("Ryh_2913_78"); gruppen["2913"].push("Ryh_2913_79"); gruppen["2914"] = new Array(); gruppen["2914"].push("Ryh_2914_1"); gruppen["2914"].push("Ryh_2914_2_A"); gruppen["2914"].push("Ryh_2914_2_B"); gruppen["2914"].push("Ryh_2914_2_C"); gruppen["2914"].push("Ryh_2914_3_A"); gruppen["2914"].push("Ryh_2914_3_B"); gruppen["2914"].push("Ryh_2914_3_C"); gruppen["2914"].push("Ryh_2914_4_A"); gruppen["2914"].push("Ryh_2914_4_B"); gruppen["2914"].push("Ryh_2914_5_A"); gruppen["2914"].push("Ryh_2914_5_B"); gruppen["2914"].push("Ryh_2914_6_A"); gruppen["2914"].push("Ryh_2914_6_B"); gruppen["2914"].push("Ryh_2914_6_C"); gruppen["2914"].push("Ryh_2914_7_A"); gruppen["2914"].push("Ryh_2914_7_B"); gruppen["2914"].push("Ryh_2914_7_C"); gruppen["2914"].push("Ryh_2914_7_D"); gruppen["2914"].push("Ryh_2914_8_A"); gruppen["2914"].push("Ryh_2914_8_B"); gruppen["2914"].push("Ryh_2914_8_C"); gruppen["2914"].push("Ryh_2914_9_A"); gruppen["2914"].push("Ryh_2914_9_B"); gruppen["2914"].push("Ryh_2914_9_C"); gruppen["2914"].push("Ryh_2914_10_A"); gruppen["2914"].push("Ryh_2914_10_B"); gruppen["2914"].push("Ryh_2914_10_C"); gruppen["2914"].push("Ryh_2914_10_D"); gruppen["2914"].push("Ryh_2914_11_A"); gruppen["2914"].push("Ryh_2914_11_B"); gruppen["2914"].push("Ryh_2914_11_C"); gruppen["2914"].push("Ryh_2914_11_D"); gruppen["2914"].push("Ryh_2914_12_A"); gruppen["2914"].push("Ryh_2914_12_B"); gruppen["2914"].push("Ryh_2914_12_C"); gruppen["2914"].push("Ryh_2914_13_A"); gruppen["2914"].push("Ryh_2914_13_B"); gruppen["2914"].push("Ryh_2914_13_C"); gruppen["2914"].push("Ryh_2914_14_A"); gruppen["2914"].push("Ryh_2914_14_B"); gruppen["2914"].push("Ryh_2914_15_A"); gruppen["2914"].push("Ryh_2914_15_B"); gruppen["2914"].push("Ryh_2914_15_C"); gruppen["2914"].push("Ryh_2914_15_D"); gruppen["2914"].push("Ryh_2914_16_A"); gruppen["2914"].push("Ryh_2914_16_B"); gruppen["2914"].push("Ryh_2914_17_A"); gruppen["2914"].push("Ryh_2914_17_B"); gruppen["2914"].push("Ryh_2914_18_A"); gruppen["2914"].push("Ryh_2914_18_B"); gruppen["2914"].push("Ryh_2914_18_C"); gruppen["2914"].push("Ryh_2914_18_D"); gruppen["2914"].push("Ryh_2914_19_A"); gruppen["2914"].push("Ryh_2914_19_B"); gruppen["2914"].push("Ryh_2914_20_A"); gruppen["2914"].push("Ryh_2914_20_B"); gruppen["2914"].push("Ryh_2914_21_A"); gruppen["2914"].push("Ryh_2914_21_B"); gruppen["2914"].push("Ryh_2914_22_A"); gruppen["2914"].push("Ryh_2914_22_B"); gruppen["2914"].push("Ryh_2914_23_A"); gruppen["2914"].push("Ryh_2914_23_B"); gruppen["2914"].push("Ryh_2914_24_A"); gruppen["2914"].push("Ryh_2914_24_B"); gruppen["2914"].push("Ryh_2914_25_A"); gruppen["2914"].push("Ryh_2914_25_B"); gruppen["2914"].push("Ryh_2914_26_A"); gruppen["2914"].push("Ryh_2914_26_B"); gruppen["2914"].push("Ryh_2914_27_A"); gruppen["2914"].push("Ryh_2914_27_B"); gruppen["2914"].push("Ryh_2914_28_A"); gruppen["2914"].push("Ryh_2914_28_B"); gruppen["2914"].push("Ryh_2914_29"); gruppen["2915"] = new Array(); gruppen["2915"].push("Ryh_2915_1"); gruppen["2915"].push("Ryh_2915_3"); gruppen["2915"].push("Ryh_2915_5_A"); gruppen["2915"].push("Ryh_2915_5_B"); gruppen["2915"].push("Ryh_2915_7"); gruppen["2915"].push("Ryh_2915_8"); gruppen["2915"].push("Ryh_2915_9"); gruppen["2915"].push("Ryh_2915_10"); gruppen["2915"].push("Ryh_2915_11"); gruppen["2915"].push("Ryh_2915_12"); gruppen["2915"].push("Ryh_2915_13"); gruppen["2915"].push("Ryh_2915_14"); gruppen["2915"].push("Ryh_2915_15"); gruppen["2915"].push("Ryh_2915_17"); gruppen["2915"].push("Ryh_2915_18"); gruppen["2915"].push("Ryh_2915_19"); gruppen["2915"].push("Ryh_2915_20"); gruppen["2915"].push("Ryh_2915_21"); gruppen["2915"].push("Ryh_2915_22"); gruppen["2915"].push("Ryh_2915_24"); gruppen["2915"].push("Ryh_2915_25"); gruppen["2915"].push("Ryh_2915_27"); gruppen["2915"].push("Ryh_2915_28"); gruppen["2915"].push("Ryh_2915_31"); gruppen["2915"].push("Ryh_2915_33"); gruppen["2915"].push("Ryh_2915_34"); gruppen["2915"].push("Ryh_2915_37"); gruppen["2915"].push("Ryh_2915_38"); gruppen["2915"].push("Ryh_2915_39"); gruppen["2915"].push("Ryh_2915_40"); gruppen["2915"].push("Ryh_2915_41"); gruppen["2915"].push("Ryh_2915_44"); gruppen["2916"] = new Array(); gruppen["2916"].push("Ryh_2916_1"); gruppen["2916"].push("Ryh_2916_2"); gruppen["2916"].push("Ryh_2916_4"); gruppen["2916"].push("Ryh_2916_5"); gruppen["2916"].push("Ryh_2916_10"); gruppen["2916"].push("Ryh_2916_11"); gruppen["2916"].push("Ryh_2916_12"); gruppen["2916"].push("Ryh_2916_13"); gruppen["2916"].push("Ryh_2916_14"); gruppen["2916"].push("Ryh_2916_15"); gruppen["2916"].push("Ryh_2916_17"); gruppen["2916"].push("Ryh_2916_18"); gruppen["2916"].push("Ryh_2916_20"); gruppen["2916"].push("Ryh_2916_22"); gruppen["2916"].push("Ryh_2916_24"); gruppen["2916"].push("Ryh_2916_25"); gruppen["2916"].push("Ryh_2916_27"); gruppen["2916"].push("Ryh_2916_28"); gruppen["2916"].push("Ryh_2916_31"); gruppen["2916"].push("Ryh_2916_33"); gruppen["2916"].push("Ryh_2916_34"); gruppen["2916"].push("Ryh_2916_37"); gruppen["2916"].push("Ryh_2916_38"); gruppen["2916"].push("Ryh_2916_39"); gruppen["2916"].push("Ryh_2916_40"); gruppen["2916"].push("Ryh_2916_43"); gruppen["2916"].push("Ryh_2916_44"); gruppen["2916"].push("Ryh_2916_45"); gruppen["2916"].push("Ryh_2916_46"); gruppen["2916"].push("Ryh_2916_47"); gruppen["2916"].push("Ryh_2916_48"); gruppen["2916"].push("Ryh_2916_51"); gruppen["2916"].push("Ryh_2916_52"); gruppen["2916"].push("Ryh_2916_53"); gruppen["2916"].push("Ryh_2916_54"); gruppen["2916"].push("Ryh_2916_55"); gruppen["2916"].push("Ryh_2916_56"); gruppen["2916"].push("Ryh_2916_59"); gruppen["2917"] = new Array(); gruppen["2917"].push("Ryh_2917_1"); gruppen["2917"].push("Ryh_2917_2"); gruppen["2917"].push("Ryh_2917_3"); gruppen["2917"].push("Ryh_2917_4"); gruppen["2917"].push("Ryh_2917_5"); gruppen["2917"].push("Ryh_2917_6"); gruppen["2917"].push("Ryh_2917_7"); gruppen["2917"].push("Ryh_2917_8"); gruppen["2917"].push("Ryh_2917_9"); gruppen["2917"].push("Ryh_2917_11"); gruppen["2917"].push("Ryh_2917_12"); gruppen["2917"].push("Ryh_2917_13"); gruppen["2917"].push("Ryh_2917_14"); gruppen["2917"].push("Ryh_2917_15"); gruppen["2917"].push("Ryh_2917_16"); gruppen["2917"].push("Ryh_2917_16_A"); gruppen["2917"].push("Ryh_2917_17"); gruppen["2917"].push("Ryh_2917_18"); gruppen["2917"].push("Ryh_2917_21"); gruppen["2917"].push("Ryh_2917_22"); gruppen["2917"].push("Ryh_2917_23"); gruppen["2917"].push("Ryh_2917_24"); gruppen["2917"].push("Ryh_2917_25"); gruppen["2917"].push("Ryh_2917_26_A"); gruppen["2917"].push("Ryh_2917_26_B"); gruppen["2917"].push("Ryh_2917_26_C"); gruppen["2917"].push("Ryh_2917_26_D"); gruppen["2917"].push("Ryh_2917_27"); gruppen["2917"].push("Ryh_2917_28"); gruppen["2917"].push("Ryh_2917_30"); gruppen["2917"].push("Ryh_2917_31"); gruppen["2917"].push("Ryh_2917_32"); gruppen["2918"] = new Array(); gruppen["2918"].push("Ryh_2918_1_A"); gruppen["2918"].push("Ryh_2918_1_B"); gruppen["2918"].push("Ryh_2918_1_C"); gruppen["2918"].push("Ryh_2918_2_A"); gruppen["2918"].push("Ryh_2918_2_B"); gruppen["2918"].push("Ryh_2918_2_C"); gruppen["2918"].push("Ryh_2918_2_D"); gruppen["2918"].push("Ryh_2918_3_A"); gruppen["2918"].push("Ryh_2918_3_B"); gruppen["2918"].push("Ryh_2918_3_C"); gruppen["2918"].push("Ryh_2918_3_D"); gruppen["2918"].push("Ryh_2918_4_A"); gruppen["2918"].push("Ryh_2918_4_B"); gruppen["2918"].push("Ryh_2918_4_C"); gruppen["2918"].push("Ryh_2918_4_D"); gruppen["2918"].push("Ryh_2918_5_A"); gruppen["2918"].push("Ryh_2918_5_B"); gruppen["2918"].push("Ryh_2918_5_C"); gruppen["2918"].push("Ryh_2918_5_D"); gruppen["2918"].push("Ryh_2918_6_A"); gruppen["2918"].push("Ryh_2918_6_B"); gruppen["2918"].push("Ryh_2918_6_C"); gruppen["2918"].push("Ryh_2918_6_D"); gruppen["2918"].push("Ryh_2918_7_A"); gruppen["2918"].push("Ryh_2918_7_B"); gruppen["2918"].push("Ryh_2918_7_C"); gruppen["2918"].push("Ryh_2918_7_D"); gruppen["2918"].push("Ryh_2918_8_A"); gruppen["2918"].push("Ryh_2918_8_B"); gruppen["2918"].push("Ryh_2918_8_C"); gruppen["2918"].push("Ryh_2918_8_D"); gruppen["2918"].push("Ryh_2918_9_A"); gruppen["2918"].push("Ryh_2918_9_B"); gruppen["2918"].push("Ryh_2918_9_C"); gruppen["2918"].push("Ryh_2918_9_D"); gruppen["2918"].push("Ryh_2918_10_A"); gruppen["2918"].push("Ryh_2918_10_B"); gruppen["2918"].push("Ryh_2918_10_C"); gruppen["2918"].push("Ryh_2918_10_D"); gruppen["2918"].push("Ryh_2918_11_A"); gruppen["2918"].push("Ryh_2918_11_B"); gruppen["2918"].push("Ryh_2918_11_C"); gruppen["2918"].push("Ryh_2918_11_D"); gruppen["2918"].push("Ryh_2918_12_A"); gruppen["2918"].push("Ryh_2918_12_B"); gruppen["2918"].push("Ryh_2918_13_A"); gruppen["2918"].push("Ryh_2918_13_B"); gruppen["2918"].push("Ryh_2918_13_C"); gruppen["2918"].push("Ryh_2918_13_D"); gruppen["2918"].push("Ryh_2918_14_A"); gruppen["2918"].push("Ryh_2918_14_B"); gruppen["2918"].push("Ryh_2918_14_C"); gruppen["2918"].push("Ryh_2918_14_D"); gruppen["2918"].push("Ryh_2918_15_A"); gruppen["2918"].push("Ryh_2918_15_B"); gruppen["2918"].push("Ryh_2918_15_C"); gruppen["2918"].push("Ryh_2918_15_D"); gruppen["2918"].push("Ryh_2918_16_A"); gruppen["2918"].push("Ryh_2918_16_B"); gruppen["2918"].push("Ryh_2918_16_C"); gruppen["2918"].push("Ryh_2918_16_D"); gruppen["2918"].push("Ryh_2918_17_A"); gruppen["2918"].push("Ryh_2918_17_B"); gruppen["2918"].push("Ryh_2918_17_C"); gruppen["2918"].push("Ryh_2918_17_D"); gruppen["2918"].push("Ryh_2918_18_A"); gruppen["2918"].push("Ryh_2918_18_B"); gruppen["2918"].push("Ryh_2918_18_C"); gruppen["2918"].push("Ryh_2918_18_D"); gruppen["2918"].push("Ryh_2918_19_A"); gruppen["2918"].push("Ryh_2918_19_B"); gruppen["2918"].push("Ryh_2918_19_C"); gruppen["2918"].push("Ryh_2918_19_D"); gruppen["2918"].push("Ryh_2918_20_A"); gruppen["2918"].push("Ryh_2918_20_B"); gruppen["2918"].push("Ryh_2918_20_C"); gruppen["2918"].push("Ryh_2918_20_D"); gruppen["2918"].push("Ryh_2918_21_A"); gruppen["2918"].push("Ryh_2918_21_B"); gruppen["2918"].push("Ryh_2918_21_C"); gruppen["2918"].push("Ryh_2918_22_A"); gruppen["2918"].push("Ryh_2918_22_B"); gruppen["2918"].push("Ryh_2918_22_C"); gruppen["2918"].push("Ryh_2918_22_D"); gruppen["2918"].push("Ryh_2918_23_A"); gruppen["2918"].push("Ryh_2918_23_B"); gruppen["2918"].push("Ryh_2918_23_C"); gruppen["2918"].push("Ryh_2918_24_A"); gruppen["2918"].push("Ryh_2918_24_B"); gruppen["2918"].push("Ryh_2918_24_C"); gruppen["2918"].push("Ryh_2918_25_A"); gruppen["2918"].push("Ryh_2918_25_B"); gruppen["2918"].push("Ryh_2918_26_A"); gruppen["2918"].push("Ryh_2918_26_B"); gruppen["2918"].push("Ryh_2918_26_C"); gruppen["2918"].push("Ryh_2918_26_D"); gruppen["2918"].push("Ryh_2918_27_A"); gruppen["2918"].push("Ryh_2918_27_B"); gruppen["2918"].push("Ryh_2918_27_C"); gruppen["2918"].push("Ryh_2918_27_D"); gruppen["2918"].push("Ryh_2918_28_A"); gruppen["2918"].push("Ryh_2918_28_B"); gruppen["2918"].push("Ryh_2918_28_C"); gruppen["2918"].push("Ryh_2918_28_D"); gruppen["2918"].push("Ryh_2918_29_A"); gruppen["2918"].push("Ryh_2918_29_B"); gruppen["2918"].push("Ryh_2918_29_C"); gruppen["2918"].push("Ryh_2918_29_D"); gruppen["2918"].push("Ryh_2918_30_A"); gruppen["2918"].push("Ryh_2918_30_B"); gruppen["2918"].push("Ryh_2918_30_C"); gruppen["2918"].push("Ryh_2918_30_D"); gruppen["2918"].push("Ryh_2918_31_A"); gruppen["2918"].push("Ryh_2918_31_B"); gruppen["2918"].push("Ryh_2918_31_C"); gruppen["2918"].push("Ryh_2918_32_A"); gruppen["2918"].push("Ryh_2918_32_B"); gruppen["2918"].push("Ryh_2918_32_C"); gruppen["2918"].push("Ryh_2918_32_D"); gruppen["2918"].push("Ryh_2918_33_A"); gruppen["2918"].push("Ryh_2918_33_B"); gruppen["2918"].push("Ryh_2918_33_C"); gruppen["2918"].push("Ryh_2918_33_D"); gruppen["2918"].push("Ryh_2918_34_A"); gruppen["2918"].push("Ryh_2918_34_B"); gruppen["2918"].push("Ryh_2918_34_C"); gruppen["2918"].push("Ryh_2918_34_D"); gruppen["2918"].push("Ryh_2918_35_A"); gruppen["2918"].push("Ryh_2918_35_B"); gruppen["2918"].push("Ryh_2918_35_C"); gruppen["2918"].push("Ryh_2918_35_D"); gruppen["2918"].push("Ryh_2918_36_A"); gruppen["2918"].push("Ryh_2918_36_B"); gruppen["2918"].push("Ryh_2918_36_C"); gruppen["2918"].push("Ryh_2918_36_D"); gruppen["2918"].push("Ryh_2918_37_A"); gruppen["2918"].push("Ryh_2918_37_B"); gruppen["2918"].push("Ryh_2918_37_C"); gruppen["2918"].push("Ryh_2918_37_D"); gruppen["2918"].push("Ryh_2918_38_A"); gruppen["2918"].push("Ryh_2918_38_B"); gruppen["2918"].push("Ryh_2918_38_C"); gruppen["2918"].push("Ryh_2918_38_D"); gruppen["2918"].push("Ryh_2918_39_A"); gruppen["2918"].push("Ryh_2918_39_B"); gruppen["2918"].push("Ryh_2918_39_C"); gruppen["2918"].push("Ryh_2918_39_D"); gruppen["2918"].push("Ryh_2918_40_A"); gruppen["2918"].push("Ryh_2918_40_B"); gruppen["2918"].push("Ryh_2918_40_C"); gruppen["2918"].push("Ryh_2918_40_D"); gruppen["2918"].push("Ryh_2918_41_A"); gruppen["2918"].push("Ryh_2918_41_B"); gruppen["2918"].push("Ryh_2918_41_C"); gruppen["2918"].push("Ryh_2918_41_D"); gruppen["2918"].push("Ryh_2918_42_A"); gruppen["2918"].push("Ryh_2918_42_B"); gruppen["2918"].push("Ryh_2918_42_C"); gruppen["2918"].push("Ryh_2918_42_D"); gruppen["2918"].push("Ryh_2918_43_A"); gruppen["2918"].push("Ryh_2918_43_B"); gruppen["2918"].push("Ryh_2918_43_C"); gruppen["2918"].push("Ryh_2918_43_D"); gruppen["2918"].push("Ryh_2918_44_A"); gruppen["2918"].push("Ryh_2918_44_B"); gruppen["2918"].push("Ryh_2918_45_A"); gruppen["2918"].push("Ryh_2918_45_B"); gruppen["2918"].push("Ryh_2918_46_A"); gruppen["2918"].push("Ryh_2918_46_B"); gruppen["2918"].push("Ryh_2918_46_C"); gruppen["2918"].push("Ryh_2918_46_D"); gruppen["2918"].push("Ryh_2918_47_A"); gruppen["2918"].push("Ryh_2918_47_B"); gruppen["2918"].push("Ryh_2918_47_C"); gruppen["2918"].push("Ryh_2918_47_D"); gruppen["2918"].push("Ryh_2918_48_A"); gruppen["2918"].push("Ryh_2918_48_B"); gruppen["2918"].push("Ryh_2918_48_C"); gruppen["2918"].push("Ryh_2918_48_D"); gruppen["2918"].push("Ryh_2918_49_A"); gruppen["2918"].push("Ryh_2918_49_B"); gruppen["2918"].push("Ryh_2918_49_C"); gruppen["2918"].push("Ryh_2918_49_D"); gruppen["2918"].push("Ryh_2918_50_A"); gruppen["2918"].push("Ryh_2918_50_B"); gruppen["3001"] = new Array(); gruppen["3001"].push("Ryh_3001_1"); gruppen["3001"].push("Ryh_3001_2"); gruppen["3001"].push("Ryh_3001_3"); gruppen["3001"].push("Ryh_3001_4"); gruppen["3001"].push("Ryh_3001_5"); gruppen["3001"].push("Ryh_3001_6"); gruppen["3001"].push("Ryh_3001_7"); gruppen["3001"].push("Ryh_3001_8"); gruppen["3001"].push("Ryh_3001_9"); gruppen["3001"].push("Ryh_3001_10"); gruppen["3001"].push("Ryh_3001_11"); gruppen["3001"].push("Ryh_3001_12"); gruppen["3001"].push("Ryh_3001_13"); gruppen["3001"].push("Ryh_3001_14"); gruppen["3001"].push("Ryh_3001_15"); gruppen["3001"].push("Ryh_3001_16"); gruppen["3001"].push("Ryh_3001_17"); gruppen["3002"] = new Array(); gruppen["3002"].push("Ryh_3002_1"); gruppen["3002"].push("Ryh_3002_2"); gruppen["3002"].push("Ryh_3002_3"); gruppen["3002"].push("Ryh_3002_4_A"); gruppen["3002"].push("Ryh_3002_4_B"); gruppen["3002"].push("Ryh_3002_5"); gruppen["3002"].push("Ryh_3002_6"); gruppen["3002"].push("Ryh_3002_7"); gruppen["3002"].push("Ryh_3002_8"); gruppen["3002"].push("Ryh_3002_9"); gruppen["3002"].push("Ryh_3002_10"); gruppen["3002"].push("Ryh_3002_11"); gruppen["3002"].push("Ryh_3002_13"); gruppen["3002"].push("Ryh_3002_14"); gruppen["3002"].push("Ryh_3002_16"); gruppen["3002"].push("Ryh_3002_17"); gruppen["3002"].push("Ryh_3002_18"); gruppen["3002"].push("Ryh_3002_19"); gruppen["3002"].push("Ryh_3002_20"); gruppen["3002"].push("Ryh_3002_21"); gruppen["3002"].push("Ryh_3002_22"); gruppen["3002"].push("Ryh_3002_23"); gruppen["3002"].push("Ryh_3002_24"); gruppen["3002"].push("Ryh_3002_25"); gruppen["3002"].push("Ryh_3002_27"); gruppen["3002"].push("Ryh_3002_28"); gruppen["3002"].push("Ryh_3002_30"); gruppen["3002"].push("Ryh_3002_31"); gruppen["3002"].push("Ryh_3002_32"); gruppen["3002"].push("Ryh_3002_33"); gruppen["3003"] = new Array(); gruppen["3003"].push("Ryh_3003_1"); gruppen["3003"].push("Ryh_3003_2"); gruppen["3003"].push("Ryh_3003_3"); gruppen["3003"].push("Ryh_3003_4"); gruppen["3003"].push("Ryh_3003_5"); gruppen["3003"].push("Ryh_3003_7"); gruppen["3003"].push("Ryh_3003_8"); gruppen["3003"].push("Ryh_3003_9"); gruppen["3003"].push("Ryh_3003_10"); gruppen["3003"].push("Ryh_3003_11"); gruppen["3003"].push("Ryh_3003_12"); gruppen["3003"].push("Ryh_3003_17"); gruppen["3003"].push("Ryh_3003_18"); gruppen["3003"].push("Ryh_3003_19"); gruppen["3003"].push("Ryh_3003_20"); gruppen["3003"].push("Ryh_3003_21"); gruppen["3003"].push("Ryh_3003_22"); gruppen["3003"].push("Ryh_3003_23"); gruppen["3003"].push("Ryh_3003_25"); gruppen["3003"].push("Ryh_3003_26"); gruppen["3003"].push("Ryh_3003_27"); gruppen["3003"].push("Ryh_3003_28"); gruppen["3003"].push("Ryh_3003_30_A"); gruppen["3003"].push("Ryh_3003_30_B"); gruppen["3004"] = new Array(); gruppen["3004"].push("Ryh_3004_1"); gruppen["3004"].push("Ryh_3004_2"); gruppen["3004"].push("Ryh_3004_3"); gruppen["3004"].push("Ryh_3004_4"); gruppen["3004"].push("Ryh_3004_5"); gruppen["3004"].push("Ryh_3004_6"); gruppen["3004"].push("Ryh_3004_7"); gruppen["3004"].push("Ryh_3004_8"); gruppen["3004"].push("Ryh_3004_9"); gruppen["3004"].push("Ryh_3004_10"); gruppen["3004"].push("Ryh_3004_11"); gruppen["3004"].push("Ryh_3004_12"); gruppen["3004"].push("Ryh_3004_13"); gruppen["3004"].push("Ryh_3004_14"); gruppen["3004"].push("Ryh_3004_15"); gruppen["3004"].push("Ryh_3004_16"); gruppen["3004"].push("Ryh_3004_17"); gruppen["3004"].push("Ryh_3004_18"); gruppen["3004"].push("Ryh_3004_19"); gruppen["3004"].push("Ryh_3004_21_A"); gruppen["3004"].push("Ryh_3004_21_B"); gruppen["3004"].push("Ryh_3004_22"); gruppen["3004"].push("Ryh_3004_23"); gruppen["3004"].push("Ryh_3004_24"); gruppen["3004"].push("Ryh_3004_25"); gruppen["3004"].push("Ryh_3004_26"); gruppen["3004"].push("Ryh_3004_27"); gruppen["3004"].push("Ryh_3004_29"); gruppen["3004"].push("Ryh_3004_30"); gruppen["3004"].push("Ryh_3004_31"); gruppen["3004"].push("Ryh_3004_32"); gruppen["3004"].push("Ryh_3004_33"); gruppen["3004"].push("Ryh_3004_36"); gruppen["3004"].push("Ryh_3004_37"); gruppen["3004"].push("Ryh_3004_38"); gruppen["3004"].push("Ryh_3004_39"); gruppen["3004"].push("Ryh_3004_41"); gruppen["3004"].push("Ryh_3004_42"); gruppen["3004"].push("Ryh_3004_44"); gruppen["3004"].push("Ryh_3004_45"); gruppen["3004"].push("Ryh_3004_46"); gruppen["3004"].push("Ryh_3004_47"); gruppen["3004"].push("Ryh_3004_51"); gruppen["3004"].push("Ryh_3004_53"); gruppen["3004"].push("Ryh_3004_54"); gruppen["3004"].push("Ryh_3004_56_A"); gruppen["3004"].push("Ryh_3004_56_B"); gruppen["3004"].push("Ryh_3004_57"); gruppen["3004"].push("Ryh_3004_58"); gruppen["3004"].push("Ryh_3004_59"); gruppen["3004"].push("Ryh_3004_60"); gruppen["3004"].push("Ryh_3004_62"); gruppen["3004"].push("Ryh_3004_63"); gruppen["3004"].push("Ryh_3004_64"); gruppen["3005"] = new Array(); gruppen["3005"].push("Ryh_3005_1"); gruppen["3005"].push("Ryh_3005_2"); gruppen["3005"].push("Ryh_3005_3"); gruppen["3005"].push("Ryh_3005_4"); gruppen["3005"].push("Ryh_3005_5"); gruppen["3005"].push("Ryh_3005_6"); gruppen["3005"].push("Ryh_3005_7"); gruppen["3005"].push("Ryh_3005_8_A"); gruppen["3005"].push("Ryh_3005_8_B"); gruppen["3005"].push("Ryh_3005_8_C"); gruppen["3005"].push("Ryh_3005_8_D"); gruppen["3005"].push("Ryh_3005_8_E"); gruppen["3005"].push("Ryh_3005_8_F"); gruppen["3005"].push("Ryh_3005_8_G"); gruppen["3005"].push("Ryh_3005_8_H"); gruppen["3005"].push("Ryh_3005_8_I"); gruppen["3005"].push("Ryh_3005_9_A"); gruppen["3005"].push("Ryh_3005_9_B"); gruppen["3005"].push("Ryh_3005_9_C"); gruppen["3005"].push("Ryh_3005_9_D"); gruppen["3005"].push("Ryh_3005_9_E"); gruppen["3005"].push("Ryh_3005_9_F"); gruppen["3005"].push("Ryh_3005_9_G"); gruppen["3005"].push("Ryh_3005_10_A"); gruppen["3005"].push("Ryh_3005_10_B"); gruppen["3005"].push("Ryh_3005_10_C"); gruppen["3005"].push("Ryh_3005_10_D"); gruppen["3005"].push("Ryh_3005_10_E"); gruppen["3005"].push("Ryh_3005_11_A"); gruppen["3005"].push("Ryh_3005_11_B"); gruppen["3005"].push("Ryh_3005_11_C"); gruppen["3005"].push("Ryh_3005_11_D"); gruppen["3005"].push("Ryh_3005_11_E"); gruppen["3005"].push("Ryh_3005_12_A"); gruppen["3005"].push("Ryh_3005_12_B"); gruppen["3005"].push("Ryh_3005_12_C"); gruppen["3005"].push("Ryh_3005_12_D"); gruppen["3005"].push("Ryh_3005_13_A"); gruppen["3005"].push("Ryh_3005_13_B"); gruppen["3005"].push("Ryh_3005_13_C"); gruppen["3005"].push("Ryh_3005_13_D"); gruppen["3005"].push("Ryh_3005_14_A"); gruppen["3005"].push("Ryh_3005_14_B"); gruppen["3005"].push("Ryh_3005_14_C"); gruppen["3005"].push("Ryh_3005_14_D"); gruppen["3005"].push("Ryh_3005_15_A"); gruppen["3005"].push("Ryh_3005_15_B"); gruppen["3005"].push("Ryh_3005_15_C"); gruppen["3005"].push("Ryh_3005_16_A"); gruppen["3005"].push("Ryh_3005_16_B"); gruppen["3005"].push("Ryh_3005_16_C"); gruppen["3005"].push("Ryh_3005_17_A"); gruppen["3005"].push("Ryh_3005_17_B"); gruppen["3005"].push("Ryh_3005_18_A"); gruppen["3005"].push("Ryh_3005_18_B"); gruppen["3005"].push("Ryh_3005_19_A"); gruppen["3005"].push("Ryh_3005_19_B"); gruppen["3005"].push("Ryh_3005_19_C"); gruppen["3005"].push("Ryh_3005_19_D"); gruppen["3005"].push("Ryh_3005_20_A"); gruppen["3005"].push("Ryh_3005_20_B"); gruppen["3005"].push("Ryh_3005_21_A"); gruppen["3005"].push("Ryh_3005_21_B"); gruppen["3005"].push("Ryh_3005_21_C"); gruppen["3005"].push("Ryh_3005_21_D"); gruppen["3005"].push("Ryh_3005_22_A"); gruppen["3005"].push("Ryh_3005_22_B"); gruppen["3005"].push("Ryh_3005_22_C"); gruppen["3005"].push("Ryh_3005_23_A"); gruppen["3005"].push("Ryh_3005_23_B"); gruppen["3005"].push("Ryh_3005_24_A"); gruppen["3005"].push("Ryh_3005_24_B"); gruppen["3005"].push("Ryh_3005_24_C"); gruppen["3005"].push("Ryh_3005_25_A"); gruppen["3005"].push("Ryh_3005_25_B"); gruppen["3005"].push("Ryh_3005_26_A"); gruppen["3005"].push("Ryh_3005_26_B"); gruppen["3005"].push("Ryh_3005_27"); gruppen["3005"].push("Ryh_3005_28_A"); gruppen["3005"].push("Ryh_3005_28_B"); gruppen["3005"].push("Ryh_3005_29_A"); gruppen["3005"].push("Ryh_3005_29_B"); gruppen["3005"].push("Ryh_3005_30"); gruppen["3005"].push("Ryh_3005_31_A"); gruppen["3005"].push("Ryh_3005_31_B"); gruppen["3005"].push("Ryh_3005_31_C"); gruppen["3005"].push("Ryh_3005_31_D"); gruppen["3005"].push("Ryh_3005_31_E"); gruppen["3005"].push("Ryh_3005_32_A"); gruppen["3005"].push("Ryh_3005_32_B"); gruppen["3005"].push("Ryh_3005_33"); gruppen["3005"].push("Ryh_3005_34_A"); gruppen["3005"].push("Ryh_3005_34_B"); gruppen["3005"].push("Ryh_3005_35_A"); gruppen["3005"].push("Ryh_3005_35_B"); gruppen["3005"].push("Ryh_3005_36_A"); gruppen["3005"].push("Ryh_3005_36_B"); gruppen["3006"] = new Array(); gruppen["3006"].push("Ryh_3006_1"); gruppen["3006"].push("Ryh_3006_2"); gruppen["3006"].push("Ryh_3006_4_A"); gruppen["3006"].push("Ryh_3006_4_B"); gruppen["3006"].push("Ryh_3006_5"); gruppen["3006"].push("Ryh_3006_7"); gruppen["3006"].push("Ryh_3006_8"); gruppen["3006"].push("Ryh_3006_10"); gruppen["3006"].push("Ryh_3006_11"); gruppen["3006"].push("Ryh_3006_12_A"); gruppen["3006"].push("Ryh_3006_12_B"); gruppen["3006"].push("Ryh_3006_13"); gruppen["3006"].push("Ryh_3006_15"); gruppen["3006"].push("Ryh_3006_16"); gruppen["3006"].push("Ryh_3006_17"); gruppen["3006"].push("Ryh_3006_18"); gruppen["3006"].push("Ryh_3006_19"); gruppen["3006"].push("Ryh_3006_20"); gruppen["3006"].push("Ryh_3006_22"); gruppen["3006"].push("Ryh_3006_23"); gruppen["3006"].push("Ryh_3006_24"); gruppen["3006"].push("Ryh_3006_25"); gruppen["3006"].push("Ryh_3006_26"); gruppen["3006"].push("Ryh_3006_27"); gruppen["3006"].push("Ryh_3006_28"); gruppen["3006"].push("Ryh_3006_29"); gruppen["3006"].push("Ryh_3006_30"); gruppen["3006"].push("Ryh_3006_31"); gruppen["3006"].push("Ryh_3006_34"); gruppen["3006"].push("Ryh_3006_35"); gruppen["3006"].push("Ryh_3006_36"); gruppen["3101"] = new Array(); gruppen["3101"].push("Ryh_3101_1"); gruppen["3101"].push("Ryh_3101_2"); gruppen["3101"].push("Ryh_3101_4"); gruppen["3101"].push("Ryh_3101_5"); gruppen["3101"].push("Ryh_3101_6"); gruppen["3101"].push("Ryh_3101_7_A"); gruppen["3101"].push("Ryh_3101_7_B"); gruppen["3101"].push("Ryh_3101_9"); gruppen["3101"].push("Ryh_3101_10"); gruppen["3101"].push("Ryh_3101_11"); gruppen["3101"].push("Ryh_3101_12"); gruppen["3101"].push("Ryh_3101_13"); gruppen["3101"].push("Ryh_3101_15"); gruppen["3101"].push("Ryh_3101_17"); gruppen["3101"].push("Ryh_3101_18"); gruppen["3101"].push("Ryh_3101_19"); gruppen["3101"].push("Ryh_3101_20"); gruppen["3101"].push("Ryh_3101_21"); gruppen["3101"].push("Ryh_3101_23"); gruppen["3101"].push("Ryh_3101_24"); gruppen["3101"].push("Ryh_3101_25"); gruppen["3101"].push("Ryh_3101_27"); gruppen["3101"].push("Ryh_3101_28"); gruppen["3101"].push("Ryh_3101_29"); gruppen["3101"].push("Ryh_3101_30"); gruppen["3101"].push("Ryh_3101_31"); gruppen["3101"].push("Ryh_3101_32"); gruppen["3101"].push("Ryh_3101_33"); gruppen["3101"].push("Ryh_3101_34"); gruppen["3101"].push("Ryh_3101_35"); gruppen["3101"].push("Ryh_3101_37"); gruppen["3101"].push("Ryh_3101_39"); gruppen["3101"].push("Ryh_3101_40"); gruppen["3101"].push("Ryh_3101_41"); gruppen["3101"].push("Ryh_3101_42"); gruppen["3101"].push("Ryh_3101_43"); gruppen["3101"].push("Ryh_3101_44"); gruppen["3101"].push("Ryh_3101_45"); gruppen["3101"].push("Ryh_3101_46"); gruppen["3101"].push("Ryh_3101_47"); gruppen["3101"].push("Ryh_3101_48"); gruppen["3101"].push("Ryh_3101_49"); gruppen["3101"].push("Ryh_3101_50"); gruppen["3101"].push("Ryh_3101_51"); gruppen["3101"].push("Ryh_3101_52"); gruppen["3101"].push("Ryh_3101_53"); gruppen["3101"].push("Ryh_3101_54"); gruppen["3101"].push("Ryh_3101_55"); gruppen["3101"].push("Ryh_3101_56"); gruppen["3101"].push("Ryh_3101_57"); gruppen["3101"].push("Ryh_3101_58"); gruppen["3101"].push("Ryh_3101_59"); gruppen["3101"].push("Ryh_3101_67"); gruppen["3101"].push("Ryh_3101_68"); gruppen["3101"].push("Ryh_3101_69"); gruppen["3103"] = new Array(); gruppen["3103"].push("Ryh_3103_2"); gruppen["3103"].push("Ryh_3103_3"); gruppen["3103"].push("Ryh_3103_4"); gruppen["3103"].push("Ryh_3103_5"); gruppen["3103"].push("Ryh_3103_6"); gruppen["3103"].push("Ryh_3103_7"); gruppen["3103"].push("Ryh_3103_8"); gruppen["3103"].push("Ryh_3103_9"); gruppen["3103"].push("Ryh_3103_10"); gruppen["3103"].push("Ryh_3103_11"); gruppen["3103"].push("Ryh_3103_12"); gruppen["3103"].push("Ryh_3103_15"); gruppen["3103"].push("Ryh_3103_17"); gruppen["3103"].push("Ryh_3103_18"); gruppen["3103"].push("Ryh_3103_19"); gruppen["3103"].push("Ryh_3103_20"); gruppen["3103"].push("Ryh_3103_21"); gruppen["3103"].push("Ryh_3103_22"); gruppen["3103"].push("Ryh_3103_23"); gruppen["3103"].push("Ryh_3103_26"); gruppen["3103"].push("Ryh_3103_27_A"); gruppen["3103"].push("Ryh_3103_27_B"); gruppen["3103"].push("Ryh_3103_28"); gruppen["3103"].push("Ryh_3103_29"); gruppen["3103"].push("Ryh_3103_31"); gruppen["3103"].push("Ryh_3103_34"); gruppen["3103"].push("Ryh_3103_36"); gruppen["3103"].push("Ryh_3103_37"); gruppen["3103"].push("Ryh_3103_38"); gruppen["3103"].push("Ryh_3103_39"); gruppen["3103"].push("Ryh_3103_40"); gruppen["3103"].push("Ryh_3103_41"); gruppen["3103"].push("Ryh_3103_42"); gruppen["3103"].push("Ryh_3103_43"); gruppen["3103"].push("Ryh_3103_45"); gruppen["3103"].push("Ryh_3103_46"); gruppen["3103"].push("Ryh_3103_47"); gruppen["3103"].push("Ryh_3103_48"); gruppen["3103"].push("Ryh_3103_49"); gruppen["3103"].push("Ryh_3103_50"); gruppen["3103"].push("Ryh_3103_51"); gruppen["3103"].push("Ryh_3103_52"); gruppen["3103"].push("Ryh_3103_53"); gruppen["3103"].push("Ryh_3103_54"); gruppen["3103"].push("Ryh_3103_55"); gruppen["3103"].push("Ryh_3103_56"); gruppen["3103"].push("Ryh_3103_57"); gruppen["3103"].push("Ryh_3103_58"); gruppen["3103"].push("Ryh_3103_60"); gruppen["3104"] = new Array(); gruppen["3104"].push("Ryh_3104_1"); gruppen["3104"].push("Ryh_3104_2"); gruppen["3104"].push("Ryh_3104_3"); gruppen["3104"].push("Ryh_3104_4"); gruppen["3104"].push("Ryh_3104_5"); gruppen["3104"].push("Ryh_3104_7"); gruppen["3104"].push("Ryh_3104_8"); gruppen["3104"].push("Ryh_3104_9"); gruppen["3104"].push("Ryh_3104_10"); gruppen["3104"].push("Ryh_3104_11"); gruppen["3104"].push("Ryh_3104_12"); gruppen["3104"].push("Ryh_3104_13"); gruppen["3104"].push("Ryh_3104_14"); gruppen["3104"].push("Ryh_3104_15"); gruppen["3104"].push("Ryh_3104_16"); gruppen["3105"] = new Array(); gruppen["3105"].push("Ryh_3105_1"); gruppen["3105"].push("Ryh_3105_2"); gruppen["3105"].push("Ryh_3105_3"); gruppen["3105"].push("Ryh_3105_4"); gruppen["3105"].push("Ryh_3105_5"); gruppen["3105"].push("Ryh_3105_6"); gruppen["3105"].push("Ryh_3105_7"); gruppen["3105"].push("Ryh_3105_8"); gruppen["3105"].push("Ryh_3105_9"); gruppen["3105"].push("Ryh_3105_10"); gruppen["3105"].push("Ryh_3105_11"); gruppen["3105"].push("Ryh_3105_12"); gruppen["3105"].push("Ryh_3105_13"); gruppen["3105"].push("Ryh_3105_14"); gruppen["3105"].push("Ryh_3105_15"); gruppen["3105"].push("Ryh_3105_16"); gruppen["3105"].push("Ryh_3105_17"); gruppen["3105"].push("Ryh_3105_18"); gruppen["3105"].push("Ryh_3105_19"); gruppen["3105"].push("Ryh_3105_20"); gruppen["3105"].push("Ryh_3105_21"); gruppen["3105"].push("Ryh_3105_22"); gruppen["3105"].push("Ryh_3105_23"); gruppen["3105"].push("Ryh_3105_24"); gruppen["3105"].push("Ryh_3105_25"); gruppen["3105"].push("Ryh_3105_26"); gruppen["3105"].push("Ryh_3105_27"); gruppen["3105"].push("Ryh_3105_28"); gruppen["3105"].push("Ryh_3105_29"); gruppen["3105"].push("Ryh_3105_30"); gruppen["3105"].push("Ryh_3105_31"); gruppen["3105"].push("Ryh_3105_32"); gruppen["3105"].push("Ryh_3105_33"); gruppen["3105"].push("Ryh_3105_34"); gruppen["3105"].push("Ryh_3105_35"); gruppen["3105"].push("Ryh_3105_51"); gruppen["3105"].push("Ryh_3105_53"); gruppen["3105"].push("Ryh_3105_54"); gruppen["3105"].push("Ryh_3105_55"); gruppen["3106"] = new Array(); gruppen["3106"].push("Ryh_3106_1"); gruppen["3106"].push("Ryh_3106_2"); gruppen["3106"].push("Ryh_3106_3"); gruppen["3106"].push("Ryh_3106_4"); gruppen["3106"].push("Ryh_3106_6_A"); gruppen["3106"].push("Ryh_3106_6_B"); gruppen["3106"].push("Ryh_3106_7"); gruppen["3106"].push("Ryh_3106_8"); gruppen["3106"].push("Ryh_3106_9"); gruppen["3106"].push("Ryh_3106_10"); gruppen["3106"].push("Ryh_3106_11"); gruppen["3106"].push("Ryh_3106_12"); gruppen["3106"].push("Ryh_3106_13"); gruppen["3106"].push("Ryh_3106_14"); gruppen["3106"].push("Ryh_3106_16"); gruppen["3106"].push("Ryh_3106_17"); gruppen["3106"].push("Ryh_3106_18"); gruppen["3106"].push("Ryh_3106_19"); gruppen["3106"].push("Ryh_3106_21"); gruppen["3106"].push("Ryh_3106_22"); gruppen["3106"].push("Ryh_3106_24"); gruppen["3106"].push("Ryh_3106_25"); gruppen["3106"].push("Ryh_3106_26"); gruppen["3106"].push("Ryh_3106_27"); gruppen["3106"].push("Ryh_3106_28"); gruppen["3106"].push("Ryh_3106_29"); gruppen["3107"] = new Array(); gruppen["3107"].push("Ryh_3107_1"); gruppen["3107"].push("Ryh_3107_3"); gruppen["3107"].push("Ryh_3107_4"); gruppen["3107"].push("Ryh_3107_5"); gruppen["3107"].push("Ryh_3107_6"); gruppen["3107"].push("Ryh_3107_7"); gruppen["3107"].push("Ryh_3107_8"); gruppen["3107"].push("Ryh_3107_9"); gruppen["3107"].push("Ryh_3107_10"); gruppen["3107"].push("Ryh_3107_11"); gruppen["3107"].push("Ryh_3107_12"); gruppen["3107"].push("Ryh_3107_13"); gruppen["3107"].push("Ryh_3107_14"); gruppen["3107"].push("Ryh_3107_31"); gruppen["3107"].push("Ryh_3107_33"); gruppen["3107"].push("Ryh_3107_37"); gruppen["3107"].push("Ryh_3107_38"); gruppen["3107"].push("Ryh_3107_39"); gruppen["3107"].push("Ryh_3107_40"); gruppen["3107"].push("Ryh_3107_41"); gruppen["3107"].push("Ryh_3107_42"); gruppen["3107"].push("Ryh_3107_43"); gruppen["3107"].push("Ryh_3107_44"); gruppen["3107"].push("Ryh_3107_45"); gruppen["3107"].push("Ryh_3107_46"); gruppen["3107"].push("Ryh_3107_47"); gruppen["3107"].push("Ryh_3107_48"); gruppen["3107"].push("Ryh_3107_49"); gruppen["3108"] = new Array(); gruppen["3108"].push("Ryh_3108_1"); gruppen["3108"].push("Ryh_3108_11"); gruppen["3108"].push("Ryh_3108_13"); gruppen["3108"].push("Ryh_3108_14"); gruppen["3108"].push("Ryh_3108_16"); gruppen["3108"].push("Ryh_3108_18"); gruppen["3108"].push("Ryh_3108_20"); gruppen["3108"].push("Ryh_3108_21"); gruppen["3108"].push("Ryh_3108_24"); gruppen["3108"].push("Ryh_3108_25"); gruppen["3108"].push("Ryh_3108_27"); gruppen["3108"].push("Ryh_3108_28"); gruppen["3108"].push("Ryh_3108_29"); gruppen["3108"].push("Ryh_3108_32"); gruppen["3108"].push("Ryh_3108_33"); gruppen["3108"].push("Ryh_3108_34"); gruppen["3108"].push("Ryh_3108_35"); gruppen["3108"].push("Ryh_3108_36"); gruppen["3108"].push("Ryh_3108_37"); gruppen["3108"].push("Ryh_3108_38"); gruppen["3108"].push("Ryh_3108_39"); gruppen["3108"].push("Ryh_3108_40"); gruppen["3108"].push("Ryh_3108_41"); gruppen["3109"] = new Array(); gruppen["3109"].push("Ryh_3109_1"); gruppen["3109"].push("Ryh_3109_2"); gruppen["3109"].push("Ryh_3109_3"); gruppen["3109"].push("Ryh_3109_4"); gruppen["3109"].push("Ryh_3109_5"); gruppen["3109"].push("Ryh_3109_6"); gruppen["3109"].push("Ryh_3109_7"); gruppen["3109"].push("Ryh_3109_8"); gruppen["3109"].push("Ryh_3109_9"); gruppen["3109"].push("Ryh_3109_10"); gruppen["3109"].push("Ryh_3109_11"); gruppen["3109"].push("Ryh_3109_12"); gruppen["3109"].push("Ryh_3109_13"); gruppen["3109"].push("Ryh_3109_14"); gruppen["3109"].push("Ryh_3109_15"); gruppen["3109"].push("Ryh_3109_16"); gruppen["3109"].push("Ryh_3109_17"); gruppen["3109"].push("Ryh_3109_18"); gruppen["3109"].push("Ryh_3109_19"); gruppen["3109"].push("Ryh_3109_20"); gruppen["3109"].push("Ryh_3109_21"); gruppen["3109"].push("Ryh_3109_22"); gruppen["3109"].push("Ryh_3109_23"); gruppen["3109"].push("Ryh_3109_24"); gruppen["3109"].push("Ryh_3109_25"); gruppen["3109"].push("Ryh_3109_26"); gruppen["3109"].push("Ryh_3109_27"); gruppen["3109"].push("Ryh_3109_28"); gruppen["3109"].push("Ryh_3109_29"); gruppen["3109"].push("Ryh_3109_30"); gruppen["3109"].push("Ryh_3109_31"); gruppen["3109"].push("Ryh_3109_32"); gruppen["3109"].push("Ryh_3109_33"); gruppen["3109"].push("Ryh_3109_34"); gruppen["3109"].push("Ryh_3109_35"); gruppen["3109"].push("Ryh_3109_36"); gruppen["3109"].push("Ryh_3109_37"); gruppen["3109"].push("Ryh_3109_38"); gruppen["3109"].push("Ryh_3109_39"); gruppen["3109"].push("Ryh_3109_40"); gruppen["3109"].push("Ryh_3109_41"); gruppen["3109"].push("Ryh_3109_42"); gruppen["3109"].push("Ryh_3109_43"); gruppen["3109"].push("Ryh_3109_44"); gruppen["3109"].push("Ryh_3109_45"); gruppen["3109"].push("Ryh_3109_46"); gruppen["3109"].push("Ryh_3109_47"); gruppen["3109"].push("Ryh_3109_48"); gruppen["3109"].push("Ryh_3109_49"); gruppen["3109"].push("Ryh_3109_50"); gruppen["3109"].push("Ryh_3109_51"); gruppen["3109"].push("Ryh_3109_52"); gruppen["3109"].push("Ryh_3109_53"); gruppen["3109"].push("Ryh_3109_54"); gruppen["3109"].push("Ryh_3109_55"); gruppen["3109"].push("Ryh_3109_57"); gruppen["3109"].push("Ryh_3109_58"); gruppen["3109"].push("Ryh_3109_59"); gruppen["3109"].push("Ryh_3109_60"); gruppen["3109"].push("Ryh_3109_61"); gruppen["3109"].push("Ryh_3109_62"); gruppen["3110"] = new Array(); gruppen["3110"].push("Ryh_3110_1"); gruppen["3110"].push("Ryh_3110_2"); gruppen["3110"].push("Ryh_3110_3"); gruppen["3110"].push("Ryh_3110_4"); gruppen["3110"].push("Ryh_3110_5"); gruppen["3110"].push("Ryh_3110_6"); gruppen["3110"].push("Ryh_3110_7"); gruppen["3110"].push("Ryh_3110_8"); gruppen["3110"].push("Ryh_3110_9"); gruppen["3110"].push("Ryh_3110_10"); gruppen["3110"].push("Ryh_3110_11"); gruppen["3110"].push("Ryh_3110_12"); gruppen["3110"].push("Ryh_3110_13"); gruppen["3110"].push("Ryh_3110_14"); gruppen["3110"].push("Ryh_3110_15"); gruppen["3110"].push("Ryh_3110_16"); gruppen["3110"].push("Ryh_3110_17"); gruppen["3110"].push("Ryh_3110_18"); gruppen["3110"].push("Ryh_3110_19"); gruppen["3110"].push("Ryh_3110_20"); gruppen["3110"].push("Ryh_3110_22"); gruppen["3110"].push("Ryh_3110_23"); gruppen["3110"].push("Ryh_3110_24"); gruppen["3111"] = new Array(); gruppen["3111"].push("Ryh_3111_1"); gruppen["3111"].push("Ryh_3111_2"); gruppen["3111"].push("Ryh_3111_3"); gruppen["3111"].push("Ryh_3111_4"); gruppen["3111"].push("Ryh_3111_5"); gruppen["3111"].push("Ryh_3111_6_A"); gruppen["3111"].push("Ryh_3111_6_B"); gruppen["3111"].push("Ryh_3111_7"); gruppen["3111"].push("Ryh_3111_8"); gruppen["3111"].push("Ryh_3111_9"); gruppen["3111"].push("Ryh_3111_11"); gruppen["3111"].push("Ryh_3111_13"); gruppen["3111"].push("Ryh_3111_15"); gruppen["3111"].push("Ryh_3111_16"); gruppen["3111"].push("Ryh_3111_17"); gruppen["3111"].push("Ryh_3111_19"); gruppen["3111"].push("Ryh_3111_20"); gruppen["3111"].push("Ryh_3111_23"); gruppen["3111"].push("Ryh_3111_25"); gruppen["3111"].push("Ryh_3111_26"); gruppen["3111"].push("Ryh_3111_27"); gruppen["3111"].push("Ryh_3111_28"); gruppen["3111"].push("Ryh_3111_29"); gruppen["3111"].push("Ryh_3111_30"); gruppen["3111"].push("Ryh_3111_31"); gruppen["3111"].push("Ryh_3111_32"); gruppen["3111"].push("Ryh_3111_33"); gruppen["3111"].push("Ryh_3111_34"); gruppen["3111"].push("Ryh_3111_35"); gruppen["3111"].push("Ryh_3111_36"); gruppen["3111"].push("Ryh_3111_37"); gruppen["3111"].push("Ryh_3111_38"); gruppen["3111"].push("Ryh_3111_39"); gruppen["3111"].push("Ryh_3111_40"); gruppen["3111"].push("Ryh_3111_41"); gruppen["3111"].push("Ryh_3111_42"); gruppen["3111"].push("Ryh_3111_43"); gruppen["3111"].push("Ryh_3111_44"); gruppen["3111"].push("Ryh_3111_45"); gruppen["3111"].push("Ryh_3111_46"); gruppen["3111"].push("Ryh_3111_47"); gruppen["3111"].push("Ryh_3111_48"); gruppen["3111"].push("Ryh_3111_49"); gruppen["3111"].push("Ryh_3111_50"); gruppen["3111"].push("Ryh_3111_61"); gruppen["3111"].push("Ryh_3111_62"); gruppen["3111"].push("Ryh_3111_63"); gruppen["3111"].push("Ryh_3111_64"); gruppen["3111"].push("Ryh_3111_65"); gruppen["3111"].push("Ryh_3111_66"); gruppen["3111"].push("Ryh_3111_67"); gruppen["3111"].push("Ryh_3111_68"); gruppen["3111"].push("Ryh_3111_69"); gruppen["3112"] = new Array(); gruppen["3112"].push("Ryh_3112_1"); gruppen["3112"].push("Ryh_3112_2"); gruppen["3112"].push("Ryh_3112_3"); gruppen["3112"].push("Ryh_3112_6"); gruppen["3112"].push("Ryh_3112_7"); gruppen["3112"].push("Ryh_3112_8"); gruppen["3112"].push("Ryh_3112_9"); gruppen["3112"].push("Ryh_3112_10"); gruppen["3112"].push("Ryh_3112_11"); gruppen["3112"].push("Ryh_3112_12"); gruppen["3112"].push("Ryh_3112_13"); gruppen["3112"].push("Ryh_3112_15"); gruppen["3112"].push("Ryh_3112_16"); gruppen["3112"].push("Ryh_3112_17"); gruppen["3112"].push("Ryh_3112_18"); gruppen["3112"].push("Ryh_3112_19"); gruppen["3112"].push("Ryh_3112_20"); gruppen["3112"].push("Ryh_3112_21"); gruppen["3112"].push("Ryh_3112_22"); gruppen["3112"].push("Ryh_3112_23"); gruppen["3112"].push("Ryh_3112_24"); gruppen["3112"].push("Ryh_3112_25"); gruppen["3112"].push("Ryh_3112_26"); gruppen["3112"].push("Ryh_3112_27"); gruppen["3112"].push("Ryh_3112_28"); gruppen["3112"].push("Ryh_3112_29"); gruppen["3112"].push("Ryh_3112_30"); gruppen["3112"].push("Ryh_3112_32"); gruppen["3112"].push("Ryh_3112_33"); gruppen["3112"].push("Ryh_3112_34"); gruppen["3112"].push("Ryh_3112_35"); gruppen["3112"].push("Ryh_3112_36"); gruppen["3112"].push("Ryh_3112_37"); gruppen["3113"] = new Array(); gruppen["3113"].push("Ryh_3113_1"); gruppen["3113"].push("Ryh_3113_2"); gruppen["3113"].push("Ryh_3113_3"); gruppen["3113"].push("Ryh_3113_4"); gruppen["3113"].push("Ryh_3113_5"); gruppen["3113"].push("Ryh_3113_6_A"); gruppen["3113"].push("Ryh_3113_6_B"); gruppen["3113"].push("Ryh_3113_7"); gruppen["3113"].push("Ryh_3113_8"); gruppen["3113"].push("Ryh_3113_9"); gruppen["3113"].push("Ryh_3113_10"); gruppen["3113"].push("Ryh_3113_12"); gruppen["3113"].push("Ryh_3113_13"); gruppen["3113"].push("Ryh_3113_14"); gruppen["3113"].push("Ryh_3113_16"); gruppen["3113"].push("Ryh_3113_17"); gruppen["3113"].push("Ryh_3113_18"); gruppen["3113"].push("Ryh_3113_20"); gruppen["3113"].push("Ryh_3113_21"); gruppen["3113"].push("Ryh_3113_22"); gruppen["3113"].push("Ryh_3113_23"); gruppen["3113"].push("Ryh_3113_26"); gruppen["3113"].push("Ryh_3113_27"); gruppen["3113"].push("Ryh_3113_28"); gruppen["3113"].push("Ryh_3113_29"); gruppen["3113"].push("Ryh_3113_30"); gruppen["3113"].push("Ryh_3113_31"); gruppen["3113"].push("Ryh_3113_32"); gruppen["3113"].push("Ryh_3113_33"); gruppen["3113"].push("Ryh_3113_43"); gruppen["3113"].push("Ryh_3113_45"); gruppen["3113"].push("Ryh_3113_46"); gruppen["3113"].push("Ryh_3113_49"); gruppen["3113"].push("Ryh_3113_51"); gruppen["3113"].push("Ryh_3113_52"); gruppen["3113"].push("Ryh_3113_53_A"); gruppen["3113"].push("Ryh_3113_53_B"); gruppen["3113"].push("Ryh_3113_54"); gruppen["3113"].push("Ryh_3113_57"); gruppen["3113"].push("Ryh_3113_58"); gruppen["3113"].push("Ryh_3113_59"); gruppen["3113"].push("Ryh_3113_61"); gruppen["3113"].push("Ryh_3113_62"); gruppen["3113"].push("Ryh_3113_63"); gruppen["3114"] = new Array(); gruppen["3114"].push("Ryh_3114_1"); gruppen["3114"].push("Ryh_3114_2"); gruppen["3114"].push("Ryh_3114_4"); gruppen["3114"].push("Ryh_3114_5"); gruppen["3114"].push("Ryh_3114_7"); gruppen["3114"].push("Ryh_3114_8"); gruppen["3114"].push("Ryh_3114_9"); gruppen["3114"].push("Ryh_3114_10"); gruppen["3114"].push("Ryh_3114_11"); gruppen["3114"].push("Ryh_3114_12"); gruppen["3114"].push("Ryh_3114_13"); gruppen["3114"].push("Ryh_3114_14"); gruppen["3114"].push("Ryh_3114_15"); gruppen["3114"].push("Ryh_3114_16"); gruppen["3114"].push("Ryh_3114_17"); gruppen["3114"].push("Ryh_3114_18"); gruppen["3114"].push("Ryh_3114_19"); gruppen["3114"].push("Ryh_3114_20"); gruppen["3114"].push("Ryh_3114_35"); gruppen["3114"].push("Ryh_3114_38"); gruppen["3114"].push("Ryh_3114_39"); gruppen["3114"].push("Ryh_3114_41_A"); gruppen["3114"].push("Ryh_3114_41_B"); gruppen["3114"].push("Ryh_3114_42"); gruppen["3114"].push("Ryh_3114_43"); gruppen["3114"].push("Ryh_3114_45"); gruppen["3114"].push("Ryh_3114_46"); gruppen["3114"].push("Ryh_3114_48"); gruppen["3114"].push("Ryh_3114_49"); gruppen["3114"].push("Ryh_3114_50"); gruppen["3114"].push("Ryh_3114_51"); gruppen["3114"].push("Ryh_3114_52"); gruppen["3114"].push("Ryh_3114_53"); gruppen["3114"].push("Ryh_3114_54"); gruppen["3114"].push("Ryh_3114_55"); gruppen["3114"].push("Ryh_3114_56"); gruppen["3114"].push("Ryh_3114_58"); gruppen["3114"].push("Ryh_3114_59"); gruppen["3115"] = new Array(); gruppen["3115"].push("Ryh_3115_1"); gruppen["3115"].push("Ryh_3115_2"); gruppen["3115"].push("Ryh_3115_3"); gruppen["3115"].push("Ryh_3115_4"); gruppen["3115"].push("Ryh_3115_5"); gruppen["3115"].push("Ryh_3115_6_A"); gruppen["3115"].push("Ryh_3115_6_B"); gruppen["3115"].push("Ryh_3115_8"); gruppen["3115"].push("Ryh_3115_10"); gruppen["3115"].push("Ryh_3115_12"); gruppen["3115"].push("Ryh_3115_15"); gruppen["3115"].push("Ryh_3115_16"); gruppen["3115"].push("Ryh_3115_17"); gruppen["3115"].push("Ryh_3115_18"); gruppen["3115"].push("Ryh_3115_19"); gruppen["3115"].push("Ryh_3115_21"); gruppen["3115"].push("Ryh_3115_22"); gruppen["3115"].push("Ryh_3115_24"); gruppen["3115"].push("Ryh_3115_25"); gruppen["3115"].push("Ryh_3115_27"); gruppen["3115"].push("Ryh_3115_28"); gruppen["3115"].push("Ryh_3115_29"); gruppen["3116"] = new Array(); gruppen["3116"].push("Ryh_3116_1"); gruppen["3116"].push("Ryh_3116_2"); gruppen["3116"].push("Ryh_3116_4"); gruppen["3116"].push("Ryh_3116_9"); gruppen["3116"].push("Ryh_3116_11"); gruppen["3116"].push("Ryh_3116_12"); gruppen["3116"].push("Ryh_3116_13_A"); gruppen["3116"].push("Ryh_3116_13_B"); gruppen["3116"].push("Ryh_3116_14"); gruppen["3116"].push("Ryh_3116_15"); gruppen["3116"].push("Ryh_3116_16"); gruppen["3116"].push("Ryh_3116_18"); gruppen["3116"].push("Ryh_3116_19_A"); gruppen["3116"].push("Ryh_3116_19_B"); gruppen["3116"].push("Ryh_3116_20"); gruppen["3117"] = new Array(); gruppen["3117"].push("Ryh_3117_1"); gruppen["3117"].push("Ryh_3117_2"); gruppen["3117"].push("Ryh_3117_3"); gruppen["3117"].push("Ryh_3117_4"); gruppen["3117"].push("Ryh_3117_5"); gruppen["3117"].push("Ryh_3117_6"); gruppen["3117"].push("Ryh_3117_7_A"); gruppen["3117"].push("Ryh_3117_7_B"); gruppen["3117"].push("Ryh_3117_8_A"); gruppen["3117"].push("Ryh_3117_8_B"); gruppen["3117"].push("Ryh_3117_8_C"); gruppen["3117"].push("Ryh_3117_8_D"); gruppen["3117"].push("Ryh_3117_9_A"); gruppen["3117"].push("Ryh_3117_9_B"); gruppen["3117"].push("Ryh_3117_9_C"); gruppen["3117"].push("Ryh_3117_9_D"); gruppen["3117"].push("Ryh_3117_9_E"); gruppen["3117"].push("Ryh_3117_9_F"); gruppen["3117"].push("Ryh_3117_10_A"); gruppen["3117"].push("Ryh_3117_10_B"); gruppen["3117"].push("Ryh_3117_10_C"); gruppen["3117"].push("Ryh_3117_10_D"); gruppen["3117"].push("Ryh_3117_10_E"); gruppen["3117"].push("Ryh_3117_10_F"); gruppen["3117"].push("Ryh_3117_10_G"); gruppen["3117"].push("Ryh_3117_10_H"); gruppen["3117"].push("Ryh_3117_11_A"); gruppen["3117"].push("Ryh_3117_11_B"); gruppen["3117"].push("Ryh_3117_11_C"); gruppen["3117"].push("Ryh_3117_11_D"); gruppen["3117"].push("Ryh_3117_11_E"); gruppen["3117"].push("Ryh_3117_11_F"); gruppen["3117"].push("Ryh_3117_12_A"); gruppen["3117"].push("Ryh_3117_12_B"); gruppen["3117"].push("Ryh_3117_12_C"); gruppen["3117"].push("Ryh_3117_12_D"); gruppen["3117"].push("Ryh_3117_12_E"); gruppen["3117"].push("Ryh_3117_12_F"); gruppen["3117"].push("Ryh_3117_13_A"); gruppen["3117"].push("Ryh_3117_13_B"); gruppen["3117"].push("Ryh_3117_13_C"); gruppen["3117"].push("Ryh_3117_13_D"); gruppen["3117"].push("Ryh_3117_13_E"); gruppen["3117"].push("Ryh_3117_13_F"); gruppen["3117"].push("Ryh_3117_14_A"); gruppen["3117"].push("Ryh_3117_14_B"); gruppen["3117"].push("Ryh_3117_14_C"); gruppen["3117"].push("Ryh_3117_15_A"); gruppen["3117"].push("Ryh_3117_15_B"); gruppen["3117"].push("Ryh_3117_15_C"); gruppen["3117"].push("Ryh_3117_16_A"); gruppen["3117"].push("Ryh_3117_16_B"); gruppen["3117"].push("Ryh_3117_16_C"); gruppen["3117"].push("Ryh_3117_16_D"); gruppen["3117"].push("Ryh_3117_16_E"); gruppen["3117"].push("Ryh_3117_16_F"); gruppen["3117"].push("Ryh_3117_17_A"); gruppen["3117"].push("Ryh_3117_17_B"); gruppen["3117"].push("Ryh_3117_17_C"); gruppen["3117"].push("Ryh_3117_18_A"); gruppen["3117"].push("Ryh_3117_18_B"); gruppen["3117"].push("Ryh_3117_18_C"); gruppen["3117"].push("Ryh_3117_18_D"); gruppen["3117"].push("Ryh_3117_19_A"); gruppen["3117"].push("Ryh_3117_19_B"); gruppen["3117"].push("Ryh_3117_19_C"); gruppen["3117"].push("Ryh_3117_19_D"); gruppen["3117"].push("Ryh_3117_19_E"); gruppen["3117"].push("Ryh_3117_19_F"); gruppen["3117"].push("Ryh_3117_19_G"); gruppen["3117"].push("Ryh_3117_19_H"); gruppen["3117"].push("Ryh_3117_20_A"); gruppen["3117"].push("Ryh_3117_20_B"); gruppen["3117"].push("Ryh_3117_20_C"); gruppen["3117"].push("Ryh_3117_20_D"); gruppen["3117"].push("Ryh_3117_20_E"); gruppen["3117"].push("Ryh_3117_20_F"); gruppen["3117"].push("Ryh_3117_20_G"); gruppen["3117"].push("Ryh_3117_21_A"); gruppen["3117"].push("Ryh_3117_21_B"); gruppen["3117"].push("Ryh_3117_21_C"); gruppen["3117"].push("Ryh_3117_22_A"); gruppen["3117"].push("Ryh_3117_22_B"); gruppen["3117"].push("Ryh_3117_22_C"); gruppen["3117"].push("Ryh_3117_22_D"); gruppen["3117"].push("Ryh_3117_23_A"); gruppen["3117"].push("Ryh_3117_23_B"); gruppen["3117"].push("Ryh_3117_23_C"); gruppen["3117"].push("Ryh_3117_23_D"); gruppen["3117"].push("Ryh_3117_24_A"); gruppen["3117"].push("Ryh_3117_24_B"); gruppen["3117"].push("Ryh_3117_24_C"); gruppen["3117"].push("Ryh_3117_25_A"); gruppen["3117"].push("Ryh_3117_25_B"); gruppen["3117"].push("Ryh_3117_26_A"); gruppen["3117"].push("Ryh_3117_26_B"); gruppen["3117"].push("Ryh_3117_26_C"); gruppen["3117"].push("Ryh_3117_26_D"); gruppen["3117"].push("Ryh_3117_26_E"); gruppen["3117"].push("Ryh_3117_26_F"); gruppen["3117"].push("Ryh_3117_26_G"); gruppen["3117"].push("Ryh_3117_27_A"); gruppen["3117"].push("Ryh_3117_27_B"); gruppen["3117"].push("Ryh_3117_27_C"); gruppen["3117"].push("Ryh_3117_27_D"); gruppen["3117"].push("Ryh_3117_27_E"); gruppen["3117"].push("Ryh_3117_27_F"); gruppen["3117"].push("Ryh_3117_27_G"); gruppen["3117"].push("Ryh_3117_27_H"); gruppen["3117"].push("Ryh_3117_27_I"); gruppen["3117"].push("Ryh_3117_27_K"); gruppen["3117"].push("Ryh_3117_27_L"); gruppen["3117"].push("Ryh_3117_27_M"); gruppen["3117"].push("Ryh_3117_27_N"); gruppen["3117"].push("Ryh_3117_27_O"); gruppen["3117"].push("Ryh_3117_27_P"); gruppen["3117"].push("Ryh_3117_27_Q"); gruppen["3117"].push("Ryh_3117_28_A"); gruppen["3117"].push("Ryh_3117_28_B"); gruppen["3117"].push("Ryh_3117_51_A"); gruppen["3117"].push("Ryh_3117_51_B"); gruppen["3117"].push("Ryh_3117_51_C"); gruppen["3117"].push("Ryh_3117_51_D"); gruppen["3117"].push("Ryh_3117_52_A"); gruppen["3117"].push("Ryh_3117_52_B"); gruppen["3117"].push("Ryh_3117_52_C"); gruppen["3117"].push("Ryh_3117_52_D"); gruppen["3117"].push("Ryh_3117_53_A"); gruppen["3117"].push("Ryh_3117_53_B"); gruppen["3117"].push("Ryh_3117_53_C"); gruppen["3117"].push("Ryh_3117_53_D"); gruppen["3117"].push("Ryh_3117_54_A"); gruppen["3117"].push("Ryh_3117_54_B"); gruppen["3117"].push("Ryh_3117_54_C"); gruppen["3117"].push("Ryh_3117_54_D"); gruppen["3117"].push("Ryh_3117_55_A"); gruppen["3117"].push("Ryh_3117_55_B"); gruppen["3117"].push("Ryh_3117_55_C"); gruppen["3117"].push("Ryh_3117_55_D"); gruppen["3117"].push("Ryh_3117_56_A"); gruppen["3117"].push("Ryh_3117_56_B"); gruppen["3117"].push("Ryh_3117_56_C"); gruppen["3117"].push("Ryh_3117_56_D"); gruppen["3117"].push("Ryh_3117_57_A"); gruppen["3117"].push("Ryh_3117_57_B"); gruppen["3117"].push("Ryh_3117_57_C"); gruppen["3117"].push("Ryh_3117_57_D"); gruppen["3117"].push("Ryh_3117_58_A"); gruppen["3117"].push("Ryh_3117_58_B"); gruppen["3117"].push("Ryh_3117_58_C"); gruppen["3117"].push("Ryh_3117_58_D"); gruppen["3117"].push("Ryh_3117_59_A"); gruppen["3117"].push("Ryh_3117_59_B"); gruppen["3117"].push("Ryh_3117_59_C"); gruppen["3117"].push("Ryh_3117_59_D"); gruppen["3117"].push("Ryh_3117_60_A"); gruppen["3117"].push("Ryh_3117_60_B"); gruppen["3117"].push("Ryh_3117_60_C"); gruppen["3117"].push("Ryh_3117_60_D"); gruppen["3118"] = new Array(); gruppen["3118"].push("Ryh_3118_1"); gruppen["3118"].push("Ryh_3118_2"); gruppen["3118"].push("Ryh_3118_3"); gruppen["3118"].push("Ryh_3118_4"); gruppen["3118"].push("Ryh_3118_5"); gruppen["3118"].push("Ryh_3118_6_A"); gruppen["3118"].push("Ryh_3118_6_B"); gruppen["3118"].push("Ryh_3118_7"); gruppen["3118"].push("Ryh_3118_8"); gruppen["3118"].push("Ryh_3118_9"); gruppen["3118"].push("Ryh_3118_10"); gruppen["3118"].push("Ryh_3118_11"); gruppen["3118"].push("Ryh_3118_12"); gruppen["3118"].push("Ryh_3118_13"); gruppen["3118"].push("Ryh_3118_18"); gruppen["3118"].push("Ryh_3118_19"); gruppen["3118"].push("Ryh_3118_20"); gruppen["3118"].push("Ryh_3118_21"); gruppen["3118"].push("Ryh_3118_22"); gruppen["3118"].push("Ryh_3118_23"); gruppen["3118"].push("Ryh_3118_26"); gruppen["3118"].push("Ryh_3118_27"); gruppen["3118"].push("Ryh_3118_28"); gruppen["3118"].push("Ryh_3118_29"); gruppen["3118"].push("Ryh_3118_30"); gruppen["3118"].push("Ryh_3118_31"); gruppen["3118"].push("Ryh_3118_32"); gruppen["3118"].push("Ryh_3118_33"); gruppen["3118"].push("Ryh_3118_35"); gruppen["3118"].push("Ryh_3118_36"); gruppen["3118"].push("Ryh_3118_37"); gruppen["3118"].push("Ryh_3118_38"); gruppen["3118"].push("Ryh_3118_39"); gruppen["3118"].push("Ryh_3118_40_A"); gruppen["3118"].push("Ryh_3118_40_B"); gruppen["3118"].push("Ryh_3118_41"); gruppen["3118"].push("Ryh_3118_42"); gruppen["3118"].push("Ryh_3118_43"); gruppen["3118"].push("Ryh_3118_44"); gruppen["3118"].push("Ryh_3118_45"); gruppen["3118"].push("Ryh_3118_46"); gruppen["3118"].push("Ryh_3118_47"); gruppen["3118"].push("Ryh_3118_48"); gruppen["3118"].push("Ryh_3118_49"); gruppen["3118"].push("Ryh_3118_50"); gruppen["3119"] = new Array(); gruppen["3119"].push("Ryh_3119_1"); gruppen["3119"].push("Ryh_3119_2"); gruppen["3119"].push("Ryh_3119_3"); gruppen["3119"].push("Ryh_3119_4"); gruppen["3119"].push("Ryh_3119_5"); gruppen["3119"].push("Ryh_3119_6"); gruppen["3119"].push("Ryh_3119_7"); gruppen["3119"].push("Ryh_3119_8"); gruppen["3119"].push("Ryh_3119_9"); gruppen["3119"].push("Ryh_3119_10_A"); gruppen["3119"].push("Ryh_3119_10_B"); gruppen["3119"].push("Ryh_3119_11_A"); gruppen["3119"].push("Ryh_3119_11_B"); gruppen["3119"].push("Ryh_3119_12"); gruppen["3119"].push("Ryh_3119_13"); gruppen["3119"].push("Ryh_3119_14"); gruppen["3119"].push("Ryh_3119_15"); gruppen["3119"].push("Ryh_3119_16"); gruppen["3119"].push("Ryh_3119_17"); gruppen["3119"].push("Ryh_3119_18"); gruppen["3119"].push("Ryh_3119_21"); gruppen["3119"].push("Ryh_3119_22"); gruppen["3119"].push("Ryh_3119_25"); gruppen["3119"].push("Ryh_3119_26"); gruppen["3119"].push("Ryh_3119_27"); gruppen["3119"].push("Ryh_3119_28"); gruppen["3119"].push("Ryh_3119_29"); gruppen["3119"].push("Ryh_3119_30"); gruppen["3119"].push("Ryh_3119_31"); gruppen["3119"].push("Ryh_3119_32"); gruppen["3119"].push("Ryh_3119_33"); gruppen["3119"].push("Ryh_3119_36"); gruppen["3119"].push("Ryh_3119_37"); gruppen["3119"].push("Ryh_3119_38"); gruppen["3119"].push("Ryh_3119_39"); gruppen["3119"].push("Ryh_3119_40"); gruppen["3119"].push("Ryh_3119_41"); gruppen["3119"].push("Ryh_3119_42"); gruppen["3119"].push("Ryh_3119_43"); gruppen["3119"].push("Ryh_3119_44_A"); gruppen["3119"].push("Ryh_3119_44_B"); gruppen["3119"].push("Ryh_3119_45"); gruppen["3119"].push("Ryh_3119_46"); gruppen["3119"].push("Ryh_3119_49_A"); gruppen["3119"].push("Ryh_3119_49_B"); gruppen["3119"].push("Ryh_3119_50"); gruppen["3119"].push("Ryh_3119_52"); gruppen["3119"].push("Ryh_3119_53"); gruppen["3119"].push("Ryh_3119_54"); gruppen["3119"].push("Ryh_3119_55"); gruppen["3119"].push("Ryh_3119_56"); gruppen["3119"].push("Ryh_3119_57"); gruppen["3119"].push("Ryh_3119_60"); gruppen["3119"].push("Ryh_3119_61"); gruppen["3119"].push("Ryh_3119_62"); gruppen["3119"].push("Ryh_3119_63"); gruppen["3119"].push("Ryh_3119_64_A"); gruppen["3119"].push("Ryh_3119_64_B"); gruppen["3119"].push("Ryh_3119_65"); gruppen["3119"].push("Ryh_3119_66"); gruppen["3119"].push("Ryh_3119_67"); gruppen["3119"].push("Ryh_3119_69"); gruppen["3119"].push("Ryh_3119_70"); gruppen["3120"] = new Array(); gruppen["3120"].push("Ryh_3120_1"); gruppen["3120"].push("Ryh_3120_2"); gruppen["3120"].push("Ryh_3120_3_A"); gruppen["3120"].push("Ryh_3120_3_B"); gruppen["3120"].push("Ryh_3120_4"); gruppen["3120"].push("Ryh_3120_5"); gruppen["3120"].push("Ryh_3120_6"); gruppen["3120"].push("Ryh_3120_7"); gruppen["3120"].push("Ryh_3120_8"); gruppen["3120"].push("Ryh_3120_9"); gruppen["3120"].push("Ryh_3120_10"); gruppen["3120"].push("Ryh_3120_11"); gruppen["3120"].push("Ryh_3120_12_A"); gruppen["3120"].push("Ryh_3120_12_B"); gruppen["3120"].push("Ryh_3120_13"); gruppen["3120"].push("Ryh_3120_14"); gruppen["3120"].push("Ryh_3120_15"); gruppen["3120"].push("Ryh_3120_16"); gruppen["3120"].push("Ryh_3120_17"); gruppen["3120"].push("Ryh_3120_18"); gruppen["3120"].push("Ryh_3120_19_A"); gruppen["3120"].push("Ryh_3120_19_B"); gruppen["3120"].push("Ryh_3120_20"); gruppen["3120"].push("Ryh_3120_21"); gruppen["3120"].push("Ryh_3120_24"); gruppen["3120"].push("Ryh_3120_25"); gruppen["3120"].push("Ryh_3120_26"); gruppen["3120"].push("Ryh_3120_27"); gruppen["3120"].push("Ryh_3120_28"); gruppen["3120"].push("Ryh_3120_29"); gruppen["3120"].push("Ryh_3120_30"); gruppen["3120"].push("Ryh_3120_31_A"); gruppen["3120"].push("Ryh_3120_31_B"); gruppen["3120"].push("Ryh_3120_32"); gruppen["3120"].push("Ryh_3120_33"); gruppen["3120"].push("Ryh_3120_34_A"); gruppen["3120"].push("Ryh_3120_34_B"); gruppen["3120"].push("Ryh_3120_35"); gruppen["3201"] = new Array(); gruppen["3201"].push("Ryh_3201_1"); gruppen["3201"].push("Ryh_3201_2"); gruppen["3201"].push("Ryh_3201_3"); gruppen["3201"].push("Ryh_3201_4_A"); gruppen["3201"].push("Ryh_3201_4_B"); gruppen["3201"].push("Ryh_3201_12"); gruppen["3201"].push("Ryh_3201_13"); gruppen["3201"].push("Ryh_3201_14"); gruppen["3201"].push("Ryh_3201_15"); gruppen["3201"].push("Ryh_3201_16"); gruppen["3201"].push("Ryh_3201_17"); gruppen["3201"].push("Ryh_3201_21"); gruppen["3201"].push("Ryh_3201_22"); gruppen["3201"].push("Ryh_3201_23"); gruppen["3201"].push("Ryh_3201_24"); gruppen["3201"].push("Ryh_3201_25"); gruppen["3201"].push("Ryh_3201_26_A"); gruppen["3201"].push("Ryh_3201_26_B"); gruppen["3201"].push("Ryh_3201_29"); gruppen["3201"].push("Ryh_3201_30"); gruppen["3201"].push("Ryh_3201_31"); gruppen["3201"].push("Ryh_3201_32"); gruppen["3201"].push("Ryh_3201_33"); gruppen["3201"].push("Ryh_3201_34"); gruppen["3201"].push("Ryh_3201_36"); gruppen["3201"].push("Ryh_3201_37"); gruppen["3201"].push("Ryh_3201_38"); gruppen["3202"] = new Array(); gruppen["3202"].push("Ryh_3202_3"); gruppen["3202"].push("Ryh_3202_6"); gruppen["3202"].push("Ryh_3202_7"); gruppen["3202"].push("Ryh_3202_8"); gruppen["3202"].push("Ryh_3202_9"); gruppen["3202"].push("Ryh_3202_10"); gruppen["3202"].push("Ryh_3202_11"); gruppen["3202"].push("Ryh_3202_12"); gruppen["3202"].push("Ryh_3202_14"); gruppen["3202"].push("Ryh_3202_16"); gruppen["3202"].push("Ryh_3202_17"); gruppen["3202"].push("Ryh_3202_18_A"); gruppen["3202"].push("Ryh_3202_18_B"); gruppen["3202"].push("Ryh_3202_18_C"); gruppen["3202"].push("Ryh_3202_20"); gruppen["3202"].push("Ryh_3202_22"); gruppen["3202"].push("Ryh_3202_23"); gruppen["3202"].push("Ryh_3202_24"); gruppen["3202"].push("Ryh_3202_26"); gruppen["3202"].push("Ryh_3202_27"); gruppen["3202"].push("Ryh_3202_28"); gruppen["3202"].push("Ryh_3202_29"); gruppen["3202"].push("Ryh_3202_31"); gruppen["3202"].push("Ryh_3202_32"); gruppen["3202"].push("Ryh_3202_35"); gruppen["3202"].push("Ryh_3202_36"); gruppen["3202"].push("Ryh_3202_37"); gruppen["3203"] = new Array(); gruppen["3203"].push("Ryh_3203_1"); gruppen["3203"].push("Ryh_3203_3"); gruppen["3203"].push("Ryh_3203_4"); gruppen["3203"].push("Ryh_3203_6"); gruppen["3203"].push("Ryh_3203_8"); gruppen["3203"].push("Ryh_3203_9"); gruppen["3203"].push("Ryh_3203_12"); gruppen["3203"].push("Ryh_3203_15"); gruppen["3203"].push("Ryh_3203_16"); gruppen["3203"].push("Ryh_3203_18"); gruppen["3203"].push("Ryh_3203_19"); gruppen["3203"].push("Ryh_3203_20_A"); gruppen["3203"].push("Ryh_3203_20_B"); gruppen["3203"].push("Ryh_3203_22_A"); gruppen["3203"].push("Ryh_3203_22_B"); gruppen["3203"].push("Ryh_3203_23"); gruppen["3203"].push("Ryh_3203_24"); gruppen["3203"].push("Ryh_3203_25"); gruppen["3203"].push("Ryh_3203_27_A"); gruppen["3203"].push("Ryh_3203_27_B"); gruppen["3203"].push("Ryh_3203_29"); gruppen["3203"].push("Ryh_3203_30"); gruppen["3203"].push("Ryh_3203_31"); gruppen["3203"].push("Ryh_3203_35"); gruppen["3203"].push("Ryh_3203_38"); gruppen["3203"].push("Ryh_3203_40"); gruppen["3203"].push("Ryh_3203_41"); gruppen["3203"].push("Ryh_3203_44"); gruppen["3203"].push("Ryh_3203_45"); gruppen["3203"].push("Ryh_3203_46"); gruppen["3203"].push("Ryh_3203_47"); gruppen["3203"].push("Ryh_3203_50"); gruppen["3204"] = new Array(); gruppen["3204"].push("Ryh_3204_3"); gruppen["3204"].push("Ryh_3204_4"); gruppen["3204"].push("Ryh_3204_5"); gruppen["3204"].push("Ryh_3204_6"); gruppen["3204"].push("Ryh_3204_7"); gruppen["3204"].push("Ryh_3204_8"); gruppen["3204"].push("Ryh_3204_10"); gruppen["3204"].push("Ryh_3204_12"); gruppen["3204"].push("Ryh_3204_13"); gruppen["3204"].push("Ryh_3204_14"); gruppen["3204"].push("Ryh_3204_15"); gruppen["3204"].push("Ryh_3204_16"); gruppen["3204"].push("Ryh_3204_17"); gruppen["3204"].push("Ryh_3204_18"); gruppen["3204"].push("Ryh_3204_19"); gruppen["3204"].push("Ryh_3204_21"); gruppen["3204"].push("Ryh_3204_22"); gruppen["3204"].push("Ryh_3204_23"); gruppen["3204"].push("Ryh_3204_24"); gruppen["3204"].push("Ryh_3204_25"); gruppen["3204"].push("Ryh_3204_26"); gruppen["3204"].push("Ryh_3204_27"); gruppen["3204"].push("Ryh_3204_28"); gruppen["3204"].push("Ryh_3204_29"); gruppen["3204"].push("Ryh_3204_31"); gruppen["3204"].push("Ryh_3204_32"); gruppen["3204"].push("Ryh_3204_34"); gruppen["3206"] = new Array(); gruppen["3206"].push("Ryh_3206_5"); gruppen["3206"].push("Ryh_3206_6"); gruppen["3206"].push("Ryh_3206_8"); gruppen["3206"].push("Ryh_3206_9"); gruppen["3206"].push("Ryh_3206_10"); gruppen["3206"].push("Ryh_3206_11"); gruppen["3206"].push("Ryh_3206_12"); gruppen["3206"].push("Ryh_3206_13"); gruppen["3206"].push("Ryh_3206_14"); gruppen["3206"].push("Ryh_3206_15"); gruppen["3206"].push("Ryh_3206_16"); gruppen["3206"].push("Ryh_3206_17"); gruppen["3206"].push("Ryh_3206_18"); gruppen["3206"].push("Ryh_3206_19"); gruppen["3206"].push("Ryh_3206_20"); gruppen["3206"].push("Ryh_3206_21"); gruppen["3206"].push("Ryh_3206_22"); gruppen["3206"].push("Ryh_3206_23"); gruppen["3206"].push("Ryh_3206_24"); gruppen["3206"].push("Ryh_3206_25"); gruppen["3206"].push("Ryh_3206_30"); gruppen["3206"].push("Ryh_3206_31"); gruppen["3206"].push("Ryh_3206_32"); gruppen["3206"].push("Ryh_3206_33"); gruppen["3206"].push("Ryh_3206_34"); gruppen["3206"].push("Ryh_3206_35"); gruppen["3206"].push("Ryh_3206_36"); gruppen["3206"].push("Ryh_3206_37"); gruppen["3206"].push("Ryh_3206_46"); gruppen["3207"] = new Array(); gruppen["3207"].push("Ryh_3207_"); gruppen["3209"] = new Array(); gruppen["3209"].push("Ryh_3209_2"); gruppen["3209"].push("Ryh_3209_3"); gruppen["3209"].push("Ryh_3209_4"); gruppen["3209"].push("Ryh_3209_5"); gruppen["3209"].push("Ryh_3209_11"); gruppen["3209"].push("Ryh_3209_12"); gruppen["3209"].push("Ryh_3209_13"); gruppen["3209"].push("Ryh_3209_14"); gruppen["3209"].push("Ryh_3209_15"); gruppen["3209"].push("Ryh_3209_16_A"); gruppen["3209"].push("Ryh_3209_17"); gruppen["3209"].push("Ryh_3209_21"); gruppen["3209"].push("Ryh_3209_22"); gruppen["3209"].push("Ryh_3209_31"); gruppen["3209"].push("Ryh_3209_32"); gruppen["3209"].push("Ryh_3209_33"); gruppen["3209"].push("Ryh_3209_34"); gruppen["3209"].push("Ryh_3209_35"); gruppen["3209"].push("Ryh_3209_36"); gruppen["3209"].push("Ryh_3209_37"); gruppen["3209"].push("Ryh_3209_38"); gruppen["3209"].push("Ryh_3209_39"); gruppen["3209"].push("Ryh_3209_40"); gruppen["3209"].push("Ryh_3209_41"); gruppen["3210"] = new Array(); gruppen["3210"].push("Ryh_3210_1"); gruppen["3210"].push("Ryh_3210_2"); gruppen["3210"].push("Ryh_3210_11"); gruppen["3210"].push("Ryh_3210_13"); gruppen["3210"].push("Ryh_3210_14"); gruppen["3210"].push("Ryh_3210_15"); gruppen["3210"].push("Ryh_3210_16"); gruppen["3210"].push("Ryh_3210_19_A"); gruppen["3210"].push("Ryh_3210_19_B"); gruppen["3210"].push("Ryh_3210_19_C"); gruppen["3210"].push("Ryh_3210_20"); gruppen["3210"].push("Ryh_3210_21"); gruppen["3210"].push("Ryh_3210_22"); gruppen["3210"].push("Ryh_3210_23"); gruppen["3210"].push("Ryh_3210_31"); gruppen["3210"].push("Ryh_3210_32_A"); gruppen["3210"].push("Ryh_3210_32_B"); gruppen["3210"].push("Ryh_3210_36"); gruppen["3211"] = new Array(); gruppen["3211"].push("Ryh_3211_1"); gruppen["3211"].push("Ryh_3211_6"); gruppen["3211"].push("Ryh_3211_7"); gruppen["3211"].push("Ryh_3211_8"); gruppen["3211"].push("Ryh_3211_9"); gruppen["3211"].push("Ryh_3211_10"); gruppen["3211"].push("Ryh_3211_11"); gruppen["3211"].push("Ryh_3211_12"); gruppen["3211"].push("Ryh_3211_13"); gruppen["3211"].push("Ryh_3211_14"); gruppen["3211"].push("Ryh_3211_15"); gruppen["3211"].push("Ryh_3211_24"); gruppen["3211"].push("Ryh_3211_25_A"); gruppen["3211"].push("Ryh_3211_25_B"); gruppen["3211"].push("Ryh_3211_26"); gruppen["3211"].push("Ryh_3211_27"); gruppen["3211"].push("Ryh_3211_28"); gruppen["3211"].push("Ryh_3211_29"); gruppen["3211"].push("Ryh_3211_30_A"); gruppen["3211"].push("Ryh_3211_30_B"); gruppen["3211"].push("Ryh_3211_31"); gruppen["3211"].push("Ryh_3211_32"); gruppen["3211"].push("Ryh_3211_33"); gruppen["3211"].push("Ryh_3211_34"); gruppen["3211"].push("Ryh_3211_35"); gruppen["3211"].push("Ryh_3211_36"); gruppen["3211"].push("Ryh_3211_37"); gruppen["3211"].push("Ryh_3211_38"); gruppen["3211"].push("Ryh_3211_39"); gruppen["3211"].push("Ryh_3211_40"); gruppen["3211"].push("Ryh_3211_41"); gruppen["3211"].push("Ryh_3211_42"); gruppen["3211"].push("Ryh_3211_43"); gruppen["3211"].push("Ryh_3211_46"); gruppen["3211"].push("Ryh_3211_47"); gruppen["3211"].push("Ryh_3211_50"); gruppen["3212"] = new Array(); gruppen["3212"].push("Ryh_3212_1_A"); gruppen["3212"].push("Ryh_3212_1_B"); gruppen["3212"].push("Ryh_3212_2"); gruppen["3212"].push("Ryh_3212_3"); gruppen["3212"].push("Ryh_3212_4"); gruppen["3212"].push("Ryh_3212_5"); gruppen["3212"].push("Ryh_3212_6"); gruppen["3212"].push("Ryh_3212_7"); gruppen["3212"].push("Ryh_3212_8"); gruppen["3212"].push("Ryh_3212_9"); gruppen["3212"].push("Ryh_3212_10"); gruppen["3212"].push("Ryh_3212_11_A"); gruppen["3212"].push("Ryh_3212_11_B"); gruppen["3212"].push("Ryh_3212_12"); gruppen["3212"].push("Ryh_3212_14"); gruppen["3212"].push("Ryh_3212_15_A"); gruppen["3212"].push("Ryh_3212_15_B"); gruppen["3212"].push("Ryh_3212_21"); gruppen["3212"].push("Ryh_3212_22_A"); gruppen["3212"].push("Ryh_3212_22_B"); gruppen["3212"].push("Ryh_3212_23_A"); gruppen["3212"].push("Ryh_3212_23_B"); gruppen["3212"].push("Ryh_3212_24_A"); gruppen["3212"].push("Ryh_3212_24_B"); gruppen["3212"].push("Ryh_3212_25"); gruppen["3212"].push("Ryh_3212_26"); gruppen["3212"].push("Ryh_3212_27"); gruppen["3212"].push("Ryh_3212_28_A"); gruppen["3212"].push("Ryh_3212_28_B"); gruppen["3212"].push("Ryh_3212_29"); gruppen["3212"].push("Ryh_3212_34"); gruppen["3212"].push("Ryh_3212_35"); gruppen["3212"].push("Ryh_3212_39"); gruppen["3212"].push("Ryh_3212_42"); gruppen["3212"].push("Ryh_3212_43"); gruppen["3212"].push("Ryh_3212_44"); gruppen["3212"].push("Ryh_3212_45"); gruppen["3212"].push("Ryh_3212_47"); gruppen["3212"].push("Ryh_3212_48"); gruppen["3212"].push("Ryh_3212_51"); gruppen["3212"].push("Ryh_3212_52"); gruppen["3212"].push("Ryh_3212_53"); gruppen["3212"].push("Ryh_3212_54_A"); gruppen["3212"].push("Ryh_3212_54_B"); gruppen["3212"].push("Ryh_3212_55"); gruppen["3212"].push("Ryh_3212_56"); gruppen["3214"] = new Array(); gruppen["3214"].push("Ryh_3214_1"); gruppen["3214"].push("Ryh_3214_2"); gruppen["3214"].push("Ryh_3214_3"); gruppen["3214"].push("Ryh_3214_4"); gruppen["3214"].push("Ryh_3214_5"); gruppen["3214"].push("Ryh_3214_6"); gruppen["3214"].push("Ryh_3214_7"); gruppen["3214"].push("Ryh_3214_8"); gruppen["3214"].push("Ryh_3214_9"); gruppen["3214"].push("Ryh_3214_10"); gruppen["3214"].push("Ryh_3214_11"); gruppen["3214"].push("Ryh_3214_12"); gruppen["3214"].push("Ryh_3214_13"); gruppen["3214"].push("Ryh_3214_14"); gruppen["3214"].push("Ryh_3214_15"); gruppen["3214"].push("Ryh_3214_16"); gruppen["3214"].push("Ryh_3214_17"); gruppen["3214"].push("Ryh_3214_18"); gruppen["3214"].push("Ryh_3214_19"); gruppen["3214"].push("Ryh_3214_20"); gruppen["3214"].push("Ryh_3214_21"); gruppen["3214"].push("Ryh_3214_22"); gruppen["3214"].push("Ryh_3214_26"); gruppen["3214"].push("Ryh_3214_27_A"); gruppen["3214"].push("Ryh_3214_28_A"); gruppen["3214"].push("Ryh_3214_28_B"); gruppen["3214"].push("Ryh_3214_29"); gruppen["3214"].push("Ryh_3214_30"); gruppen["3214"].push("Ryh_3214_31"); gruppen["3214"].push("Ryh_3214_32"); gruppen["3214"].push("Ryh_3214_33"); gruppen["3214"].push("Ryh_3214_34_A"); gruppen["3214"].push("Ryh_3214_34_B"); gruppen["3214"].push("Ryh_3214_37"); gruppen["3214"].push("Ryh_3214_47_A"); gruppen["3214"].push("Ryh_3214_47_B"); gruppen["3214"].push("Ryh_3214_48"); gruppen["3215"] = new Array(); gruppen["3215"].push("Ryh_3215_2"); gruppen["3215"].push("Ryh_3215_3"); gruppen["3215"].push("Ryh_3215_4"); gruppen["3215"].push("Ryh_3215_5"); gruppen["3215"].push("Ryh_3215_6"); gruppen["3215"].push("Ryh_3215_7"); gruppen["3215"].push("Ryh_3215_13"); gruppen["3215"].push("Ryh_3215_14_A"); gruppen["3215"].push("Ryh_3215_14_B"); gruppen["3215"].push("Ryh_3215_26"); gruppen["3215"].push("Ryh_3215_27"); gruppen["3215"].push("Ryh_3215_28"); gruppen["3215"].push("Ryh_3215_31"); gruppen["3215"].push("Ryh_3215_32"); gruppen["3215"].push("Ryh_3215_36"); gruppen["3215"].push("Ryh_3215_38_A"); gruppen["3215"].push("Ryh_3215_38_B"); gruppen["3215"].push("Ryh_3215_42"); gruppen["3215"].push("Ryh_3215_43"); gruppen["3215"].push("Ryh_3215_44"); gruppen["3215"].push("Ryh_3215_45"); gruppen["3215"].push("Ryh_3215_46"); gruppen["3216"] = new Array(); gruppen["3216"].push("Ryh_3216_3"); gruppen["3216"].push("Ryh_3216_4"); gruppen["3216"].push("Ryh_3216_5"); gruppen["3216"].push("Ryh_3216_6"); gruppen["3216"].push("Ryh_3216_7_A"); gruppen["3216"].push("Ryh_3216_7_B"); gruppen["3216"].push("Ryh_3216_11"); gruppen["3216"].push("Ryh_3216_12"); gruppen["3216"].push("Ryh_3216_13_A"); gruppen["3216"].push("Ryh_3216_13_B"); gruppen["3216"].push("Ryh_3216_14"); gruppen["3216"].push("Ryh_3216_15_A"); gruppen["3216"].push("Ryh_3216_15_B"); gruppen["3216"].push("Ryh_3216_15_C"); gruppen["3216"].push("Ryh_3216_16"); gruppen["3216"].push("Ryh_3216_17_B"); gruppen["3216"].push("Ryh_3216_18"); gruppen["3216"].push("Ryh_3216_19"); gruppen["3216"].push("Ryh_3216_21"); gruppen["3216"].push("Ryh_3216_22"); gruppen["3216"].push("Ryh_3216_41"); gruppen["3216"].push("Ryh_3216_43"); gruppen["3217"] = new Array(); gruppen["3217"].push("Ryh_3217_2"); gruppen["3217"].push("Ryh_3217_3"); gruppen["3217"].push("Ryh_3217_4"); gruppen["3217"].push("Ryh_3217_5"); gruppen["3217"].push("Ryh_3217_6"); gruppen["3217"].push("Ryh_3217_7"); gruppen["3217"].push("Ryh_3217_9"); gruppen["3217"].push("Ryh_3217_10"); gruppen["3217"].push("Ryh_3217_11"); gruppen["3217"].push("Ryh_3217_12"); gruppen["3217"].push("Ryh_3217_31_A"); gruppen["3217"].push("Ryh_3217_31_B"); gruppen["3217"].push("Ryh_3217_32_A"); gruppen["3217"].push("Ryh_3217_32_B"); gruppen["3217"].push("Ryh_3217_33"); gruppen["3217"].push("Ryh_3217_41"); gruppen["3217"].push("Ryh_3217_42_A"); gruppen["3217"].push("Ryh_3217_42_B"); gruppen["3217"].push("Ryh_3217_43"); gruppen["3217"].push("Ryh_3217_44_A"); gruppen["3217"].push("Ryh_3217_44_B"); gruppen["3217"].push("Ryh_3217_44_C"); gruppen["3217"].push("Ryh_3217_45_A"); gruppen["3217"].push("Ryh_3217_45_B"); gruppen["3218"] = new Array(); gruppen["3218"].push("Ryh_3218_1"); gruppen["3218"].push("Ryh_3218_2"); gruppen["3218"].push("Ryh_3218_3"); gruppen["3218"].push("Ryh_3218_5"); gruppen["3218"].push("Ryh_3218_6"); gruppen["3218"].push("Ryh_3218_7"); gruppen["3218"].push("Ryh_3218_8"); gruppen["3218"].push("Ryh_3218_9"); gruppen["3218"].push("Ryh_3218_10_A"); gruppen["3218"].push("Ryh_3218_10_B"); gruppen["3218"].push("Ryh_3218_10_C"); gruppen["3218"].push("Ryh_3218_11"); gruppen["3218"].push("Ryh_3218_12"); gruppen["3218"].push("Ryh_3218_22"); gruppen["3218"].push("Ryh_3218_30"); gruppen["3219"] = new Array(); gruppen["3219"].push("Ryh_3219_"); gruppen["3220"] = new Array(); gruppen["3220"].push("Ryh_3220_1_A"); gruppen["3220"].push("Ryh_3220_1_B"); gruppen["3220"].push("Ryh_3220_1_C"); gruppen["3220"].push("Ryh_3220_1_D"); gruppen["3220"].push("Ryh_3220_2_A"); gruppen["3220"].push("Ryh_3220_2_B"); gruppen["3220"].push("Ryh_3220_3"); gruppen["3220"].push("Ryh_3220_4_A"); gruppen["3220"].push("Ryh_3220_4_B"); gruppen["3220"].push("Ryh_3220_4_C"); gruppen["3220"].push("Ryh_3220_4_D"); gruppen["3220"].push("Ryh_3220_4_E"); gruppen["3220"].push("Ryh_3220_4_F"); gruppen["3220"].push("Ryh_3220_5_A"); gruppen["3220"].push("Ryh_3220_5_B"); gruppen["3220"].push("Ryh_3220_6_A"); gruppen["3220"].push("Ryh_3220_6_B"); gruppen["3220"].push("Ryh_3220_7_A"); gruppen["3220"].push("Ryh_3220_7_B"); gruppen["3220"].push("Ryh_3220_8_A"); gruppen["3220"].push("Ryh_3220_8_B"); gruppen["3220"].push("Ryh_3220_9"); gruppen["3220"].push("Ryh_3220_10_A"); gruppen["3220"].push("Ryh_3220_10_B"); gruppen["3220"].push("Ryh_3220_11_A"); gruppen["3220"].push("Ryh_3220_11_B"); gruppen["3220"].push("Ryh_3220_21_A"); gruppen["3220"].push("Ryh_3220_21_B"); gruppen["3220"].push("Ryh_3220_22"); gruppen["3220"].push("Ryh_3220_25_A"); gruppen["3220"].push("Ryh_3220_25_B"); gruppen["3220"].push("Ryh_3220_26_A"); gruppen["3220"].push("Ryh_3220_26_B"); gruppen["3220"].push("Ryh_3220_27_A"); gruppen["3220"].push("Ryh_3220_27_B"); gruppen["3220"].push("Ryh_3220_29_A"); gruppen["3220"].push("Ryh_3220_29_B"); gruppen["3220"].push("Ryh_3220_30_A"); gruppen["3220"].push("Ryh_3220_30_B"); gruppen["3220"].push("Ryh_3220_31_A"); gruppen["3220"].push("Ryh_3220_31_B"); gruppen["3220"].push("Ryh_3220_31_C"); gruppen["3220"].push("Ryh_3220_31_D"); gruppen["3220"].push("Ryh_3220_32_A"); gruppen["3220"].push("Ryh_3220_32_B"); gruppen["3220"].push("Ryh_3220_32_C"); gruppen["3220"].push("Ryh_3220_32_D"); gruppen["3220"].push("Ryh_3220_32_E"); gruppen["3220"].push("Ryh_3220_32_F"); gruppen["3220"].push("Ryh_3220_33_A"); gruppen["3220"].push("Ryh_3220_33_B"); gruppen["3220"].push("Ryh_3220_33_C"); gruppen["3220"].push("Ryh_3220_33_D"); gruppen["3220"].push("Ryh_3220_33_E"); gruppen["3220"].push("Ryh_3220_33_F"); gruppen["3220"].push("Ryh_3220_41"); gruppen["3220"].push("Ryh_3220_42"); gruppen["3220"].push("Ryh_3220_43"); gruppen["3220"].push("Ryh_3220_44"); gruppen["3220"].push("Ryh_3220_45_A"); gruppen["3220"].push("Ryh_3220_45_B"); gruppen["3220"].push("Ryh_3220_46"); gruppen["3220"].push("Ryh_3220_47"); gruppen["3220"].push("Ryh_3220_48_A"); gruppen["3220"].push("Ryh_3220_48_B"); gruppen["3220"].push("Ryh_3220_48_C"); gruppen["3221"] = new Array(); gruppen["3221"].push("Ryh_3221_1_A"); gruppen["3221"].push("Ryh_3221_1_B"); gruppen["3221"].push("Ryh_3221_2"); gruppen["3221"].push("Ryh_3221_3"); gruppen["3221"].push("Ryh_3221_4"); gruppen["3221"].push("Ryh_3221_5"); gruppen["3221"].push("Ryh_3221_6_A"); gruppen["3221"].push("Ryh_3221_6_B"); gruppen["3221"].push("Ryh_3221_7"); gruppen["3221"].push("Ryh_3221_14_A"); gruppen["3221"].push("Ryh_3221_14_B"); gruppen["3221"].push("Ryh_3221_15_A"); gruppen["3221"].push("Ryh_3221_15_B"); gruppen["3221"].push("Ryh_3221_21_A"); gruppen["3221"].push("Ryh_3221_21_B"); gruppen["3221"].push("Ryh_3221_21_C"); gruppen["3221"].push("Ryh_3221_21_D"); gruppen["3221"].push("Ryh_3221_21_E"); gruppen["3221"].push("Ryh_3221_21_F"); gruppen["3221"].push("Ryh_3221_22_A"); gruppen["3221"].push("Ryh_3221_22_B"); gruppen["3221"].push("Ryh_3221_22_C"); gruppen["3221"].push("Ryh_3221_22_D"); gruppen["3221"].push("Ryh_3221_22_E"); gruppen["3221"].push("Ryh_3221_22_F"); gruppen["3221"].push("Ryh_3221_23"); gruppen["3221"].push("Ryh_3221_24_A"); gruppen["3221"].push("Ryh_3221_24_B"); gruppen["3221"].push("Ryh_3221_24_C"); gruppen["3221"].push("Ryh_3221_24_D"); gruppen["3221"].push("Ryh_3221_25_A"); gruppen["3221"].push("Ryh_3221_25_B"); gruppen["3221"].push("Ryh_3221_25_C"); gruppen["3221"].push("Ryh_3221_25_D"); gruppen["3221"].push("Ryh_3221_26_A"); gruppen["3221"].push("Ryh_3221_26_B"); gruppen["3221"].push("Ryh_3221_26_C"); gruppen["3221"].push("Ryh_3221_26_D"); gruppen["3221"].push("Ryh_3221_28_A"); gruppen["3221"].push("Ryh_3221_28_B"); gruppen["3221"].push("Ryh_3221_29_A"); gruppen["3221"].push("Ryh_3221_29_B"); gruppen["3221"].push("Ryh_3221_29_C"); gruppen["3221"].push("Ryh_3221_29_D"); gruppen["3221"].push("Ryh_3221_31_A"); gruppen["3221"].push("Ryh_3221_31_B"); gruppen["3221"].push("Ryh_3221_31_C"); gruppen["3221"].push("Ryh_3221_31_D"); gruppen["3221"].push("Ryh_3221_32_A"); gruppen["3221"].push("Ryh_3221_32_B"); gruppen["3221"].push("Ryh_3221_32_C"); gruppen["3221"].push("Ryh_3221_32_D"); gruppen["3221"].push("Ryh_3221_32_E"); gruppen["3221"].push("Ryh_3221_32_F"); gruppen["3221"].push("Ryh_3221_33_A"); gruppen["3221"].push("Ryh_3221_33_B"); gruppen["3221"].push("Ryh_3221_33_C"); gruppen["3221"].push("Ryh_3221_33_D"); gruppen["3221"].push("Ryh_3221_34_A"); gruppen["3221"].push("Ryh_3221_34_B"); gruppen["3221"].push("Ryh_3221_34_C"); gruppen["3221"].push("Ryh_3221_34_D"); gruppen["3221"].push("Ryh_3221_34_E"); gruppen["3221"].push("Ryh_3221_34_F"); gruppen["3221"].push("Ryh_3221_35_A"); gruppen["3221"].push("Ryh_3221_35_B"); gruppen["3221"].push("Ryh_3221_35_C"); gruppen["3221"].push("Ryh_3221_35_D"); gruppen["3221"].push("Ryh_3221_35_E"); gruppen["3221"].push("Ryh_3221_35_F"); gruppen["3221"].push("Ryh_3221_36_A"); gruppen["3221"].push("Ryh_3221_36_B"); gruppen["3221"].push("Ryh_3221_36_C"); gruppen["3221"].push("Ryh_3221_36_D"); gruppen["3221"].push("Ryh_3221_37_A"); gruppen["3221"].push("Ryh_3221_37_B"); gruppen["3221"].push("Ryh_3221_37_C"); gruppen["3221"].push("Ryh_3221_37_D"); gruppen["3221"].push("Ryh_3221_38_A"); gruppen["3221"].push("Ryh_3221_38_B"); gruppen["3221"].push("Ryh_3221_38_C"); gruppen["3221"].push("Ryh_3221_38_D"); gruppen["3221"].push("Ryh_3221_39_A"); gruppen["3221"].push("Ryh_3221_39_B"); gruppen["3221"].push("Ryh_3221_39_D"); gruppen["3221"].push("Ryh_3221_40_A"); gruppen["3221"].push("Ryh_3221_40_B"); gruppen["3221"].push("Ryh_3221_41_A"); gruppen["3221"].push("Ryh_3221_41_B"); gruppen["3221"].push("Ryh_3221_41_C"); gruppen["3221"].push("Ryh_3221_41_D"); gruppen["3221"].push("Ryh_3221_41_E"); gruppen["3221"].push("Ryh_3221_41_F"); gruppen["3221"].push("Ryh_3221_42_A"); gruppen["3221"].push("Ryh_3221_42_B"); gruppen["3221"].push("Ryh_3221_42_C"); gruppen["3221"].push("Ryh_3221_42_D"); gruppen["3221"].push("Ryh_3221_42_E"); gruppen["3221"].push("Ryh_3221_42_F"); gruppen["3221"].push("Ryh_3221_48_A"); gruppen["3221"].push("Ryh_3221_48_B"); gruppen["3221"].push("Ryh_3221_49"); gruppen["3221"].push("Ryh_3221_53_A"); gruppen["3221"].push("Ryh_3221_53_B"); gruppen["3221"].push("Ryh_3221_53_C"); gruppen["3221"].push("Ryh_3221_53_D"); gruppen["3221"].push("Ryh_3221_53_E"); gruppen["3221"].push("Ryh_3221_53_F"); gruppen["3221"].push("Ryh_3221_54_A"); gruppen["3221"].push("Ryh_3221_54_B"); gruppen["3221"].push("Ryh_3221_54_C"); gruppen["3221"].push("Ryh_3221_54_D"); gruppen["3221"].push("Ryh_3221_54_E"); gruppen["3221"].push("Ryh_3221_54_F"); gruppen["3221"].push("Ryh_3221_55_A"); gruppen["3221"].push("Ryh_3221_55_B"); gruppen["3221"].push("Ryh_3221_55_C"); gruppen["3221"].push("Ryh_3221_55_D"); gruppen["3221"].push("Ryh_3221_55_E"); gruppen["3221"].push("Ryh_3221_55_F"); gruppen["3221"].push("Ryh_3221_56_A"); gruppen["3222"] = new Array(); gruppen["3222"].push("Ryh_3222_1_B"); gruppen["3222"].push("Ryh_3222_2"); gruppen["3222"].push("Ryh_3222_3"); gruppen["3222"].push("Ryh_3222_6"); gruppen["3222"].push("Ryh_3222_8_A"); gruppen["3222"].push("Ryh_3222_8_B"); gruppen["3222"].push("Ryh_3222_9_A"); gruppen["3222"].push("Ryh_3222_10_A"); gruppen["3222"].push("Ryh_3222_10_C"); gruppen["3222"].push("Ryh_3222_11_A"); gruppen["3222"].push("Ryh_3222_11_B"); gruppen["3222"].push("Ryh_3222_11_C"); gruppen["3222"].push("Ryh_3222_11_D"); gruppen["3222"].push("Ryh_3222_11_E"); gruppen["3222"].push("Ryh_3222_11_F"); gruppen["3222"].push("Ryh_3222_12_A"); gruppen["3222"].push("Ryh_3222_12_B"); gruppen["3222"].push("Ryh_3222_12_D"); gruppen["3222"].push("Ryh_3222_12_E"); gruppen["3222"].push("Ryh_3222_13_A"); gruppen["3222"].push("Ryh_3222_13_B"); gruppen["3222"].push("Ryh_3222_13_C"); gruppen["3222"].push("Ryh_3222_13_F"); gruppen["3222"].push("Ryh_3222_14_A"); gruppen["3222"].push("Ryh_3222_14_B"); gruppen["3222"].push("Ryh_3222_14_D"); gruppen["3222"].push("Ryh_3222_15_A"); gruppen["3222"].push("Ryh_3222_15_B"); gruppen["3222"].push("Ryh_3222_15_C"); gruppen["3222"].push("Ryh_3222_15_D"); gruppen["3222"].push("Ryh_3222_15_E"); gruppen["3222"].push("Ryh_3222_16_A"); gruppen["3222"].push("Ryh_3222_16_B"); gruppen["3222"].push("Ryh_3222_16_C"); gruppen["3222"].push("Ryh_3222_16_D"); gruppen["3222"].push("Ryh_3222_16_E"); gruppen["3222"].push("Ryh_3222_16_F"); gruppen["3222"].push("Ryh_3222_25"); gruppen["3222"].push("Ryh_3222_26_A"); gruppen["3222"].push("Ryh_3222_26_B"); gruppen["3222"].push("Ryh_3222_26_C"); gruppen["3222"].push("Ryh_3222_26_D"); gruppen["3222"].push("Ryh_3222_28_A"); gruppen["3222"].push("Ryh_3222_28_B"); gruppen["3222"].push("Ryh_3222_29_A"); gruppen["3222"].push("Ryh_3222_29_B"); gruppen["3222"].push("Ryh_3222_29_C"); gruppen["3222"].push("Ryh_3222_29_D"); gruppen["3222"].push("Ryh_3222_30_A"); gruppen["3222"].push("Ryh_3222_30_B"); gruppen["3222"].push("Ryh_3222_31_A"); gruppen["3222"].push("Ryh_3222_31_B"); gruppen["3222"].push("Ryh_3222_31_C"); gruppen["3222"].push("Ryh_3222_31_D"); gruppen["3222"].push("Ryh_3222_31_E"); gruppen["3222"].push("Ryh_3222_31_F"); gruppen["3222"].push("Ryh_3222_32"); gruppen["3222"].push("Ryh_3222_33_A"); gruppen["3222"].push("Ryh_3222_33_B"); gruppen["3222"].push("Ryh_3222_41"); gruppen["3222"].push("Ryh_3222_42"); gruppen["3222"].push("Ryh_3222_43_A"); gruppen["3222"].push("Ryh_3222_43_B"); gruppen["3222"].push("Ryh_3222_44_A"); gruppen["3222"].push("Ryh_3222_44_B"); gruppen["3222"].push("Ryh_3222_45_A"); gruppen["3222"].push("Ryh_3222_45_B"); gruppen["3222"].push("Ryh_3222_46_A"); gruppen["3222"].push("Ryh_3222_46_B"); gruppen["3222"].push("Ryh_3222_47_B"); gruppen["3222"].push("Ryh_3222_49_A"); gruppen["3222"].push("Ryh_3222_49_B"); gruppen["3222"].push("Ryh_3222_49_C"); gruppen["3222"].push("Ryh_3222_49_D"); gruppen["3222"].push("Ryh_3222_49_E"); gruppen["3222"].push("Ryh_3222_50"); gruppen["3223"] = new Array(); gruppen["3223"].push("Ryh_3223_2"); gruppen["3223"].push("Ryh_3223_3"); gruppen["3223"].push("Ryh_3223_4_A"); gruppen["3223"].push("Ryh_3223_4_B"); gruppen["3223"].push("Ryh_3223_5"); gruppen["3223"].push("Ryh_3223_6"); gruppen["3223"].push("Ryh_3223_8"); gruppen["3223"].push("Ryh_3223_9"); gruppen["3223"].push("Ryh_3223_10"); gruppen["3223"].push("Ryh_3223_11"); gruppen["3223"].push("Ryh_3223_12"); gruppen["3223"].push("Ryh_3223_13"); gruppen["3223"].push("Ryh_3223_14"); gruppen["3223"].push("Ryh_3223_15_A"); gruppen["3223"].push("Ryh_3223_15_B"); gruppen["3223"].push("Ryh_3223_15_C"); gruppen["3223"].push("Ryh_3223_15_D"); gruppen["3223"].push("Ryh_3223_16_A"); gruppen["3223"].push("Ryh_3223_16_C"); gruppen["3223"].push("Ryh_3223_17_A"); gruppen["3223"].push("Ryh_3223_17_B"); gruppen["3223"].push("Ryh_3223_18_A"); gruppen["3223"].push("Ryh_3223_19_B"); gruppen["3223"].push("Ryh_3223_20_A"); gruppen["3223"].push("Ryh_3223_20_B"); gruppen["3223"].push("Ryh_3223_21_A"); gruppen["3223"].push("Ryh_3223_21_B"); gruppen["3223"].push("Ryh_3223_21_C"); gruppen["3223"].push("Ryh_3223_21_D"); gruppen["3223"].push("Ryh_3223_22_A"); gruppen["3223"].push("Ryh_3223_22_B"); gruppen["3223"].push("Ryh_3223_23_A"); gruppen["3223"].push("Ryh_3223_23_B"); gruppen["3223"].push("Ryh_3223_24_A"); gruppen["3223"].push("Ryh_3223_25_A"); gruppen["3223"].push("Ryh_3223_25_B"); gruppen["3223"].push("Ryh_3223_26_A"); gruppen["3223"].push("Ryh_3223_26_B"); gruppen["3223"].push("Ryh_3223_27_A"); gruppen["3223"].push("Ryh_3223_27_B"); gruppen["3223"].push("Ryh_3223_28_A"); gruppen["3223"].push("Ryh_3223_28_B"); gruppen["3223"].push("Ryh_3223_29_A"); gruppen["3223"].push("Ryh_3223_29_B"); gruppen["3223"].push("Ryh_3223_30"); gruppen["3223"].push("Ryh_3223_35_A"); gruppen["3223"].push("Ryh_3223_35_B"); gruppen["3223"].push("Ryh_3223_36_A"); gruppen["3223"].push("Ryh_3223_36_B"); gruppen["3223"].push("Ryh_3223_37_A"); gruppen["3223"].push("Ryh_3223_37_B"); gruppen["3223"].push("Ryh_3223_38_A"); gruppen["3223"].push("Ryh_3223_38_B"); gruppen["3223"].push("Ryh_3223_39_A"); gruppen["3223"].push("Ryh_3223_39_B"); gruppen["3223"].push("Ryh_3223_40_A"); gruppen["3223"].push("Ryh_3223_40_B"); gruppen["3223"].push("Ryh_3223_40_C"); gruppen["3223"].push("Ryh_3223_40_D"); gruppen["3223"].push("Ryh_3223_41_A"); gruppen["3223"].push("Ryh_3223_41_B"); gruppen["3223"].push("Ryh_3223_41_D"); gruppen["3223"].push("Ryh_3223_42_A"); gruppen["3223"].push("Ryh_3223_42_B"); gruppen["3223"].push("Ryh_3223_42_C"); gruppen["3223"].push("Ryh_3223_42_D"); gruppen["3223"].push("Ryh_3223_42_E"); gruppen["3223"].push("Ryh_3223_42_F"); gruppen["3223"].push("Ryh_3223_43_A"); gruppen["3223"].push("Ryh_3223_43_B"); gruppen["3223"].push("Ryh_3223_43_C"); gruppen["3223"].push("Ryh_3223_43_D"); gruppen["3223"].push("Ryh_3223_43_E"); gruppen["3223"].push("Ryh_3223_43_F"); gruppen["3223"].push("Ryh_3223_44_A"); gruppen["3223"].push("Ryh_3223_44_B"); gruppen["3223"].push("Ryh_3223_44_C"); gruppen["3223"].push("Ryh_3223_44_D"); gruppen["3223"].push("Ryh_3223_44_E"); gruppen["3223"].push("Ryh_3223_44_F"); gruppen["3223"].push("Ryh_3223_45"); gruppen["3223"].push("Ryh_3223_46"); gruppen["3224"] = new Array(); gruppen["3224"].push("Ryh_3224_1_A"); gruppen["3224"].push("Ryh_3224_1_B"); gruppen["3224"].push("Ryh_3224_2_A"); gruppen["3224"].push("Ryh_3224_2_B"); gruppen["3224"].push("Ryh_3224_4_A"); gruppen["3224"].push("Ryh_3224_4_B"); gruppen["3224"].push("Ryh_3224_5"); gruppen["3224"].push("Ryh_3224_7"); gruppen["3224"].push("Ryh_3224_8_A"); gruppen["3224"].push("Ryh_3224_8_B"); gruppen["3224"].push("Ryh_3224_9_A"); gruppen["3224"].push("Ryh_3224_9_B"); gruppen["3224"].push("Ryh_3224_10_A"); gruppen["3224"].push("Ryh_3224_10_B"); gruppen["3224"].push("Ryh_3224_11_A"); gruppen["3224"].push("Ryh_3224_11_B"); gruppen["3224"].push("Ryh_3224_12_A"); gruppen["3224"].push("Ryh_3224_12_B"); gruppen["3224"].push("Ryh_3224_14_A"); gruppen["3224"].push("Ryh_3224_14_B"); gruppen["3224"].push("Ryh_3224_14_C"); gruppen["3224"].push("Ryh_3224_14_D"); gruppen["3224"].push("Ryh_3224_14_E"); gruppen["3224"].push("Ryh_3224_14_F"); gruppen["3224"].push("Ryh_3224_15_A"); gruppen["3224"].push("Ryh_3224_15_B"); gruppen["3224"].push("Ryh_3224_15_C"); gruppen["3224"].push("Ryh_3224_15_D"); gruppen["3224"].push("Ryh_3224_15_E"); gruppen["3224"].push("Ryh_3224_15_F"); gruppen["3224"].push("Ryh_3224_16_A"); gruppen["3224"].push("Ryh_3224_16_B"); gruppen["3224"].push("Ryh_3224_16_C"); gruppen["3224"].push("Ryh_3224_16_D"); gruppen["3224"].push("Ryh_3224_16_E"); gruppen["3224"].push("Ryh_3224_16_F"); gruppen["3224"].push("Ryh_3224_17_A"); gruppen["3224"].push("Ryh_3224_17_B"); gruppen["3224"].push("Ryh_3224_18_A"); gruppen["3224"].push("Ryh_3224_18_B"); gruppen["3224"].push("Ryh_3224_19_A"); gruppen["3224"].push("Ryh_3224_19_B"); gruppen["3224"].push("Ryh_3224_20_A"); gruppen["3224"].push("Ryh_3224_20_B"); gruppen["3224"].push("Ryh_3224_20_C"); gruppen["3224"].push("Ryh_3224_21_A"); gruppen["3224"].push("Ryh_3224_21_B"); gruppen["3224"].push("Ryh_3224_21_C"); gruppen["3224"].push("Ryh_3224_22_A"); gruppen["3224"].push("Ryh_3224_22_B"); gruppen["3224"].push("Ryh_3224_23_A"); gruppen["3224"].push("Ryh_3224_23_B"); gruppen["3224"].push("Ryh_3224_24_A"); gruppen["3224"].push("Ryh_3224_24_B"); gruppen["3224"].push("Ryh_3224_25_A"); gruppen["3224"].push("Ryh_3224_25_B"); gruppen["3224"].push("Ryh_3224_25_C"); gruppen["3224"].push("Ryh_3224_25_D"); gruppen["3224"].push("Ryh_3224_26_A"); gruppen["3224"].push("Ryh_3224_26_B"); gruppen["3224"].push("Ryh_3224_28_A"); gruppen["3224"].push("Ryh_3224_28_B"); gruppen["3224"].push("Ryh_3224_30_A"); gruppen["3224"].push("Ryh_3224_30_B"); gruppen["3224"].push("Ryh_3224_31_A"); gruppen["3224"].push("Ryh_3224_31_B"); gruppen["3224"].push("Ryh_3224_32"); gruppen["3224"].push("Ryh_3224_33_A"); gruppen["3224"].push("Ryh_3224_33_B"); gruppen["3224"].push("Ryh_3224_35_A"); gruppen["3224"].push("Ryh_3224_35_B"); gruppen["3224"].push("Ryh_3224_36_A"); gruppen["3224"].push("Ryh_3224_36_B"); gruppen["3224"].push("Ryh_3224_37"); gruppen["3224"].push("Ryh_3224_39_A"); gruppen["3224"].push("Ryh_3224_39_B"); gruppen["3224"].push("Ryh_3224_40_A"); gruppen["3224"].push("Ryh_3224_40_B"); gruppen["3224"].push("Ryh_3224_41_A"); gruppen["3224"].push("Ryh_3224_41_B"); gruppen["3224"].push("Ryh_3224_43_A"); gruppen["3224"].push("Ryh_3224_43_B"); gruppen["3224"].push("Ryh_3224_44_A"); gruppen["3224"].push("Ryh_3224_44_B"); gruppen["3224"].push("Ryh_3224_44_C"); gruppen["3224"].push("Ryh_3224_45_A"); gruppen["3224"].push("Ryh_3224_45_B"); gruppen["3224"].push("Ryh_3224_48_A"); gruppen["3224"].push("Ryh_3224_48_B"); gruppen["3224"].push("Ryh_3224_49"); gruppen["3225"] = new Array(); gruppen["3225"].push("Ryh_3225_1"); gruppen["3225"].push("Ryh_3225_2"); gruppen["3225"].push("Ryh_3225_3"); gruppen["3225"].push("Ryh_3225_4"); gruppen["3225"].push("Ryh_3225_6"); gruppen["3225"].push("Ryh_3225_7_A"); gruppen["3225"].push("Ryh_3225_7_B"); gruppen["3225"].push("Ryh_3225_7_C"); gruppen["3225"].push("Ryh_3225_7_D"); gruppen["3225"].push("Ryh_3225_9"); gruppen["3225"].push("Ryh_3225_10"); gruppen["3225"].push("Ryh_3225_11"); gruppen["3225"].push("Ryh_3225_13"); gruppen["3225"].push("Ryh_3225_16"); gruppen["3225"].push("Ryh_3225_17"); gruppen["3225"].push("Ryh_3225_18"); gruppen["3225"].push("Ryh_3225_19"); gruppen["3225"].push("Ryh_3225_31_A"); gruppen["3225"].push("Ryh_3225_31_B"); gruppen["3225"].push("Ryh_3225_32"); gruppen["3225"].push("Ryh_3225_33_A"); gruppen["3225"].push("Ryh_3225_33_B"); gruppen["3225"].push("Ryh_3225_34_A"); gruppen["3225"].push("Ryh_3225_34_B"); gruppen["3225"].push("Ryh_3225_35_A"); gruppen["3225"].push("Ryh_3225_35_B"); gruppen["3225"].push("Ryh_3225_36_A"); gruppen["3225"].push("Ryh_3225_36_B"); gruppen["3225"].push("Ryh_3225_36_C"); gruppen["3225"].push("Ryh_3225_37_A"); gruppen["3225"].push("Ryh_3225_37_B"); gruppen["3225"].push("Ryh_3225_37_C"); gruppen["3225"].push("Ryh_3225_38"); gruppen["3225"].push("Ryh_3225_39"); gruppen["3225"].push("Ryh_3225_40"); gruppen["3225"].push("Ryh_3225_42"); gruppen["3225"].push("Ryh_3225_43"); gruppen["3225"].push("Ryh_3225_60"); gruppen["3301"] = new Array(); gruppen["3301"].push("Ryh_3301_1"); gruppen["3301"].push("Ryh_3301_3"); gruppen["3301"].push("Ryh_3301_4"); gruppen["3301"].push("Ryh_3301_5"); gruppen["3301"].push("Ryh_3301_6"); gruppen["3301"].push("Ryh_3301_7"); gruppen["3301"].push("Ryh_3301_8"); gruppen["3301"].push("Ryh_3301_9"); gruppen["3301"].push("Ryh_3301_10"); gruppen["3301"].push("Ryh_3301_11"); gruppen["3301"].push("Ryh_3301_13"); gruppen["3301"].push("Ryh_3301_14"); gruppen["3301"].push("Ryh_3301_15"); gruppen["3301"].push("Ryh_3301_16"); gruppen["3301"].push("Ryh_3301_17"); gruppen["3301"].push("Ryh_3301_18_A"); gruppen["3301"].push("Ryh_3301_18_B"); gruppen["3301"].push("Ryh_3301_19"); gruppen["3301"].push("Ryh_3301_20"); gruppen["3301"].push("Ryh_3301_21"); gruppen["3301"].push("Ryh_3301_22"); gruppen["3301"].push("Ryh_3301_23"); gruppen["3301"].push("Ryh_3301_24"); gruppen["3301"].push("Ryh_3301_25"); gruppen["3301"].push("Ryh_3301_26"); gruppen["3301"].push("Ryh_3301_28"); gruppen["3301"].push("Ryh_3301_29"); gruppen["3301"].push("Ryh_3301_30"); gruppen["3301"].push("Ryh_3301_31"); gruppen["3301"].push("Ryh_3301_32"); gruppen["3301"].push("Ryh_3301_33"); gruppen["3301"].push("Ryh_3301_34"); gruppen["3301"].push("Ryh_3301_35"); gruppen["3301"].push("Ryh_3301_36"); gruppen["3301"].push("Ryh_3301_37"); gruppen["3301"].push("Ryh_3301_38"); gruppen["3301"].push("Ryh_3301_41"); gruppen["3301"].push("Ryh_3301_42"); gruppen["3301"].push("Ryh_3301_43"); gruppen["3301"].push("Ryh_3301_44"); gruppen["3301"].push("Ryh_3301_45"); gruppen["3301"].push("Ryh_3301_46"); gruppen["3301"].push("Ryh_3301_47"); gruppen["3301"].push("Ryh_3301_48"); gruppen["3301"].push("Ryh_3301_49"); gruppen["3301"].push("Ryh_3301_51"); gruppen["3301"].push("Ryh_3301_55"); gruppen["3301"].push("Ryh_3301_56"); gruppen["3301"].push("Ryh_3301_57"); gruppen["3301"].push("Ryh_3301_58_A"); gruppen["3301"].push("Ryh_3301_58_B"); gruppen["3301"].push("Ryh_3301_59"); gruppen["3301"].push("Ryh_3301_60"); gruppen["3302"] = new Array(); gruppen["3302"].push("Ryh_3302_1"); gruppen["3302"].push("Ryh_3302_2"); gruppen["3302"].push("Ryh_3302_3"); gruppen["3302"].push("Ryh_3302_4"); gruppen["3302"].push("Ryh_3302_5"); gruppen["3302"].push("Ryh_3302_6"); gruppen["3302"].push("Ryh_3302_7"); gruppen["3302"].push("Ryh_3302_8"); gruppen["3302"].push("Ryh_3302_9"); gruppen["3302"].push("Ryh_3302_10"); gruppen["3302"].push("Ryh_3302_11"); gruppen["3302"].push("Ryh_3302_12"); gruppen["3302"].push("Ryh_3302_13"); gruppen["3302"].push("Ryh_3302_14"); gruppen["3302"].push("Ryh_3302_15"); gruppen["3302"].push("Ryh_3302_16_A"); gruppen["3302"].push("Ryh_3302_16_B"); gruppen["3302"].push("Ryh_3302_17"); gruppen["3302"].push("Ryh_3302_18"); gruppen["3302"].push("Ryh_3302_19"); gruppen["3302"].push("Ryh_3302_20"); gruppen["3302"].push("Ryh_3302_21"); gruppen["3302"].push("Ryh_3302_22"); gruppen["3302"].push("Ryh_3302_23"); gruppen["3302"].push("Ryh_3302_24"); gruppen["3302"].push("Ryh_3302_25"); gruppen["3302"].push("Ryh_3302_26"); gruppen["3302"].push("Ryh_3302_27"); gruppen["3302"].push("Ryh_3302_28"); gruppen["3302"].push("Ryh_3302_29"); gruppen["3302"].push("Ryh_3302_30"); gruppen["3302"].push("Ryh_3302_31"); gruppen["3302"].push("Ryh_3302_32"); gruppen["3302"].push("Ryh_3302_33"); gruppen["3302"].push("Ryh_3302_34"); gruppen["3302"].push("Ryh_3302_35"); gruppen["3302"].push("Ryh_3302_36"); gruppen["3302"].push("Ryh_3302_40"); gruppen["3302"].push("Ryh_3302_41"); gruppen["3302"].push("Ryh_3302_42"); gruppen["3302"].push("Ryh_3302_43"); gruppen["3302"].push("Ryh_3302_44"); gruppen["3302"].push("Ryh_3302_45"); gruppen["3302"].push("Ryh_3302_46"); gruppen["3302"].push("Ryh_3302_47"); gruppen["3302"].push("Ryh_3302_48"); gruppen["3302"].push("Ryh_3302_49"); gruppen["3302"].push("Ryh_3302_50"); gruppen["3302"].push("Ryh_3302_51"); gruppen["3302"].push("Ryh_3302_52"); gruppen["3302"].push("Ryh_3302_53"); gruppen["3302"].push("Ryh_3302_54"); gruppen["3302"].push("Ryh_3302_55"); gruppen["3302"].push("Ryh_3302_56"); gruppen["3302"].push("Ryh_3302_57_A"); gruppen["3302"].push("Ryh_3302_57_B"); gruppen["3302"].push("Ryh_3302_58_A"); gruppen["3302"].push("Ryh_3302_58_B"); gruppen["3302"].push("Ryh_3302_59"); gruppen["3304"] = new Array(); gruppen["3304"].push("Ryh_3304_"); gruppen["3305"] = new Array(); gruppen["3305"].push("Ryh_3305_1"); gruppen["3305"].push("Ryh_3305_3"); gruppen["3305"].push("Ryh_3305_4"); gruppen["3305"].push("Ryh_3305_6"); gruppen["3305"].push("Ryh_3305_7"); gruppen["3305"].push("Ryh_3305_8"); gruppen["3305"].push("Ryh_3305_9"); gruppen["3305"].push("Ryh_3305_10"); gruppen["3305"].push("Ryh_3305_11"); gruppen["3305"].push("Ryh_3305_12"); gruppen["3305"].push("Ryh_3305_13"); gruppen["3305"].push("Ryh_3305_15"); gruppen["3305"].push("Ryh_3305_16_A"); gruppen["3305"].push("Ryh_3305_16_B"); gruppen["3305"].push("Ryh_3305_17"); gruppen["3305"].push("Ryh_3305_18"); gruppen["3305"].push("Ryh_3305_31"); gruppen["3305"].push("Ryh_3305_32"); gruppen["3305"].push("Ryh_3305_33"); gruppen["3305"].push("Ryh_3305_34"); gruppen["3305"].push("Ryh_3305_35"); gruppen["3305"].push("Ryh_3305_36"); gruppen["3401"] = new Array(); gruppen["3401"].push("Ryh_3401_1"); gruppen["3401"].push("Ryh_3401_2"); gruppen["3401"].push("Ryh_3401_3"); gruppen["3401"].push("Ryh_3401_4"); gruppen["3401"].push("Ryh_3401_5"); gruppen["3401"].push("Ryh_3401_6"); gruppen["3401"].push("Ryh_3401_7"); gruppen["3401"].push("Ryh_3401_9"); gruppen["3401"].push("Ryh_3401_10"); gruppen["3401"].push("Ryh_3401_11"); gruppen["3401"].push("Ryh_3401_12"); gruppen["3401"].push("Ryh_3401_13"); gruppen["3401"].push("Ryh_3401_14"); gruppen["3401"].push("Ryh_3401_15"); gruppen["3401"].push("Ryh_3401_16"); gruppen["3401"].push("Ryh_3401_17"); gruppen["3401"].push("Ryh_3401_18"); gruppen["3401"].push("Ryh_3401_19"); gruppen["3401"].push("Ryh_3401_20_A"); gruppen["3401"].push("Ryh_3401_20_B"); gruppen["3401"].push("Ryh_3401_21"); gruppen["3401"].push("Ryh_3401_23"); gruppen["3401"].push("Ryh_3401_24"); gruppen["3401"].push("Ryh_3401_25"); gruppen["3401"].push("Ryh_3401_26"); gruppen["3401"].push("Ryh_3401_27"); gruppen["3401"].push("Ryh_3401_28"); gruppen["3401"].push("Ryh_3401_29"); gruppen["3401"].push("Ryh_3401_30"); gruppen["3401"].push("Ryh_3401_31"); gruppen["3401"].push("Ryh_3401_32"); gruppen["3401"].push("Ryh_3401_33"); gruppen["3401"].push("Ryh_3401_34"); gruppen["3401"].push("Ryh_3401_35"); gruppen["3401"].push("Ryh_3401_36"); gruppen["3401"].push("Ryh_3401_37"); gruppen["3401"].push("Ryh_3401_38"); gruppen["3401"].push("Ryh_3401_41"); gruppen["3401"].push("Ryh_3401_42"); gruppen["3401"].push("Ryh_3401_43"); gruppen["3401"].push("Ryh_3401_44"); gruppen["3401"].push("Ryh_3401_45"); gruppen["3401"].push("Ryh_3401_46"); gruppen["3401"].push("Ryh_3401_47"); gruppen["3401"].push("Ryh_3401_48"); gruppen["3401"].push("Ryh_3401_49"); gruppen["3401"].push("Ryh_3401_50"); gruppen["3401"].push("Ryh_3401_51"); gruppen["3401"].push("Ryh_3401_52"); gruppen["3401"].push("Ryh_3401_53"); gruppen["3401"].push("Ryh_3401_54"); gruppen["3402"] = new Array(); gruppen["3402"].push("Ryh_3402_1"); gruppen["3402"].push("Ryh_3402_2"); gruppen["3402"].push("Ryh_3402_3"); gruppen["3402"].push("Ryh_3402_4"); gruppen["3402"].push("Ryh_3402_5"); gruppen["3402"].push("Ryh_3402_6"); gruppen["3402"].push("Ryh_3402_7"); gruppen["3402"].push("Ryh_3402_8"); gruppen["3402"].push("Ryh_3402_9"); gruppen["3402"].push("Ryh_3402_10"); gruppen["3402"].push("Ryh_3402_11"); gruppen["3402"].push("Ryh_3402_12"); gruppen["3402"].push("Ryh_3402_13"); gruppen["3402"].push("Ryh_3402_14"); gruppen["3402"].push("Ryh_3402_15"); gruppen["3402"].push("Ryh_3402_16"); gruppen["3402"].push("Ryh_3402_17"); gruppen["3402"].push("Ryh_3402_18"); gruppen["3402"].push("Ryh_3402_19"); gruppen["3402"].push("Ryh_3402_20"); gruppen["3402"].push("Ryh_3402_21"); gruppen["3402"].push("Ryh_3402_22"); gruppen["3402"].push("Ryh_3402_23_A"); gruppen["3402"].push("Ryh_3402_23_B"); gruppen["3402"].push("Ryh_3402_40"); gruppen["3402"].push("Ryh_3402_41"); gruppen["3402"].push("Ryh_3402_42"); gruppen["3402"].push("Ryh_3402_43"); gruppen["3402"].push("Ryh_3402_44"); gruppen["3402"].push("Ryh_3402_45"); gruppen["3402"].push("Ryh_3402_46"); gruppen["3402"].push("Ryh_3402_47"); gruppen["3402"].push("Ryh_3402_48"); gruppen["3403"] = new Array(); gruppen["3403"].push("Ryh_3403_1"); gruppen["3403"].push("Ryh_3403_2"); gruppen["3403"].push("Ryh_3403_3"); gruppen["3403"].push("Ryh_3403_4"); gruppen["3403"].push("Ryh_3403_5"); gruppen["3403"].push("Ryh_3403_6"); gruppen["3403"].push("Ryh_3403_7"); gruppen["3403"].push("Ryh_3403_8"); gruppen["3403"].push("Ryh_3403_10"); gruppen["3403"].push("Ryh_3403_11"); gruppen["3403"].push("Ryh_3403_12"); gruppen["3403"].push("Ryh_3403_13"); gruppen["3403"].push("Ryh_3403_14"); gruppen["3403"].push("Ryh_3403_15"); gruppen["3403"].push("Ryh_3403_16"); gruppen["3403"].push("Ryh_3403_17"); gruppen["3403"].push("Ryh_3403_18"); gruppen["3403"].push("Ryh_3403_19"); gruppen["3403"].push("Ryh_3403_20"); gruppen["3403"].push("Ryh_3403_21"); gruppen["3403"].push("Ryh_3403_22"); gruppen["3403"].push("Ryh_3403_23"); gruppen["3403"].push("Ryh_3403_24"); gruppen["3403"].push("Ryh_3403_25"); gruppen["3403"].push("Ryh_3403_26"); gruppen["3403"].push("Ryh_3403_40"); gruppen["3404"] = new Array(); gruppen["3404"].push("Ryh_3404_1"); gruppen["3404"].push("Ryh_3404_2"); gruppen["3404"].push("Ryh_3404_3"); gruppen["3404"].push("Ryh_3404_4"); gruppen["3404"].push("Ryh_3404_5"); gruppen["3404"].push("Ryh_3404_6"); gruppen["3404"].push("Ryh_3404_7"); gruppen["3404"].push("Ryh_3404_8"); gruppen["3404"].push("Ryh_3404_9"); gruppen["3404"].push("Ryh_3404_10"); gruppen["3404"].push("Ryh_3404_11"); gruppen["3404"].push("Ryh_3404_12"); gruppen["3404"].push("Ryh_3404_13"); gruppen["3404"].push("Ryh_3404_14"); gruppen["3404"].push("Ryh_3404_15"); gruppen["3404"].push("Ryh_3404_16"); gruppen["3404"].push("Ryh_3404_17"); gruppen["3404"].push("Ryh_3404_18"); gruppen["3404"].push("Ryh_3404_19"); gruppen["3404"].push("Ryh_3404_20"); gruppen["3404"].push("Ryh_3404_21"); gruppen["3404"].push("Ryh_3404_22"); gruppen["3404"].push("Ryh_3404_23"); gruppen["3404"].push("Ryh_3404_24"); gruppen["3404"].push("Ryh_3404_25"); gruppen["3404"].push("Ryh_3404_26"); gruppen["3404"].push("Ryh_3404_27"); gruppen["3404"].push("Ryh_3404_28"); gruppen["3404"].push("Ryh_3404_29"); gruppen["3404"].push("Ryh_3404_30"); gruppen["3404"].push("Ryh_3404_33"); gruppen["3404"].push("Ryh_3404_34"); gruppen["3404"].push("Ryh_3404_35"); gruppen["3404"].push("Ryh_3404_36"); gruppen["3404"].push("Ryh_3404_37"); gruppen["3404"].push("Ryh_3404_38"); gruppen["3404"].push("Ryh_3404_39"); gruppen["3404"].push("Ryh_3404_40"); gruppen["3404"].push("Ryh_3404_41"); gruppen["3404"].push("Ryh_3404_42"); gruppen["3404"].push("Ryh_3404_43"); gruppen["3404"].push("Ryh_3404_44"); gruppen["3404"].push("Ryh_3404_45"); gruppen["3404"].push("Ryh_3404_46"); gruppen["3404"].push("Ryh_3404_47"); gruppen["3404"].push("Ryh_3404_48"); gruppen["3404"].push("Ryh_3404_49"); gruppen["3404"].push("Ryh_3404_50"); gruppen["3404"].push("Ryh_3404_51"); gruppen["3404"].push("Ryh_3404_52"); gruppen["3404"].push("Ryh_3404_53"); gruppen["3404"].push("Ryh_3404_54"); gruppen["3404"].push("Ryh_3404_55"); gruppen["3404"].push("Ryh_3404_56"); gruppen["3501"] = new Array(); gruppen["3501"].push("Ryh_3501_1"); gruppen["3501"].push("Ryh_3501_2"); gruppen["3501"].push("Ryh_3501_3"); gruppen["3501"].push("Ryh_3501_5"); gruppen["3501"].push("Ryh_3501_6"); gruppen["3501"].push("Ryh_3501_7"); gruppen["3501"].push("Ryh_3501_8"); gruppen["3501"].push("Ryh_3501_9"); gruppen["3501"].push("Ryh_3501_11"); gruppen["3501"].push("Ryh_3501_12"); gruppen["3501"].push("Ryh_3501_14"); gruppen["3501"].push("Ryh_3501_15"); gruppen["3501"].push("Ryh_3501_16"); gruppen["3501"].push("Ryh_3501_17"); gruppen["3501"].push("Ryh_3501_18"); gruppen["3501"].push("Ryh_3501_19"); gruppen["3501"].push("Ryh_3501_20"); gruppen["3501"].push("Ryh_3501_21"); gruppen["3501"].push("Ryh_3501_22"); gruppen["3501"].push("Ryh_3501_23"); gruppen["3501"].push("Ryh_3501_24"); gruppen["3501"].push("Ryh_3501_25"); gruppen["3501"].push("Ryh_3501_26"); gruppen["3501"].push("Ryh_3501_27"); gruppen["3501"].push("Ryh_3501_28"); gruppen["3501"].push("Ryh_3501_29"); gruppen["3501"].push("Ryh_3501_30"); gruppen["3501"].push("Ryh_3501_31"); gruppen["3501"].push("Ryh_3501_32"); gruppen["3501"].push("Ryh_3501_33"); gruppen["3501"].push("Ryh_3501_34"); gruppen["3501"].push("Ryh_3501_35"); gruppen["3501"].push("Ryh_3501_36"); gruppen["3501"].push("Ryh_3501_37"); gruppen["3501"].push("Ryh_3501_38"); gruppen["3501"].push("Ryh_3501_39"); gruppen["3501"].push("Ryh_3501_40"); gruppen["3501"].push("Ryh_3501_41"); gruppen["3501"].push("Ryh_3501_42"); gruppen["3503"] = new Array(); gruppen["3503"].push("Ryh_3503_1"); gruppen["3503"].push("Ryh_3503_2"); gruppen["3503"].push("Ryh_3503_3"); gruppen["3503"].push("Ryh_3503_5"); gruppen["3503"].push("Ryh_3503_6"); gruppen["3503"].push("Ryh_3503_7"); gruppen["3503"].push("Ryh_3503_8"); gruppen["3503"].push("Ryh_3503_9"); gruppen["3503"].push("Ryh_3503_11"); gruppen["3503"].push("Ryh_3503_12"); gruppen["3503"].push("Ryh_3503_13"); gruppen["3503"].push("Ryh_3503_14"); gruppen["3503"].push("Ryh_3503_15"); gruppen["3503"].push("Ryh_3503_16"); gruppen["3504"] = new Array(); gruppen["3504"].push("Ryh_3504_1"); gruppen["3504"].push("Ryh_3504_2"); gruppen["3504"].push("Ryh_3504_6"); gruppen["3504"].push("Ryh_3504_7"); gruppen["3504"].push("Ryh_3504_11"); gruppen["3504"].push("Ryh_3504_13"); gruppen["3504"].push("Ryh_3504_14"); gruppen["3504"].push("Ryh_3504_15"); gruppen["3504"].push("Ryh_3504_16"); gruppen["3504"].push("Ryh_3504_17"); gruppen["3504"].push("Ryh_3504_18"); gruppen["3504"].push("Ryh_3504_19"); gruppen["3504"].push("Ryh_3504_20"); gruppen["3504"].push("Ryh_3504_21"); gruppen["3504"].push("Ryh_3504_22"); gruppen["3504"].push("Ryh_3504_23"); gruppen["3504"].push("Ryh_3504_25_A"); gruppen["3504"].push("Ryh_3504_25_B"); gruppen["3504"].push("Ryh_3504_26"); gruppen["3504"].push("Ryh_3504_28"); gruppen["3504"].push("Ryh_3504_51_A"); gruppen["3504"].push("Ryh_3504_51_B"); gruppen["3504"].push("Ryh_3504_51_C"); gruppen["3504"].push("Ryh_3504_51_D"); gruppen["3504"].push("Ryh_3504_52_A"); gruppen["3504"].push("Ryh_3504_52_B"); gruppen["3504"].push("Ryh_3504_53_A"); gruppen["3504"].push("Ryh_3504_53_B"); gruppen["3504"].push("Ryh_3504_54_A"); gruppen["3504"].push("Ryh_3504_54_B"); gruppen["3504"].push("Ryh_3504_55_A"); gruppen["3504"].push("Ryh_3504_55_B"); gruppen["3601"] = new Array(); gruppen["3601"].push("Ryh_3601_2"); gruppen["3601"].push("Ryh_3601_3"); gruppen["3601"].push("Ryh_3601_4"); gruppen["3601"].push("Ryh_3601_5"); gruppen["3601"].push("Ryh_3601_6"); gruppen["3601"].push("Ryh_3601_9"); gruppen["3601"].push("Ryh_3601_10"); gruppen["3601"].push("Ryh_3601_11"); gruppen["3601"].push("Ryh_3601_12"); gruppen["3601"].push("Ryh_3601_13"); gruppen["3601"].push("Ryh_3601_17"); gruppen["3601"].push("Ryh_3601_18"); gruppen["3601"].push("Ryh_3601_19"); gruppen["3601"].push("Ryh_3601_20"); gruppen["3601"].push("Ryh_3601_21"); gruppen["3601"].push("Ryh_3601_22"); gruppen["3601"].push("Ryh_3601_23"); gruppen["3601"].push("Ryh_3601_24"); gruppen["3601"].push("Ryh_3601_25"); gruppen["3601"].push("Ryh_3601_26"); gruppen["3601"].push("Ryh_3601_27"); gruppen["3601"].push("Ryh_3601_28"); gruppen["3601"].push("Ryh_3601_29"); gruppen["3601"].push("Ryh_3601_30"); gruppen["3601"].push("Ryh_3601_31"); gruppen["3601"].push("Ryh_3601_32"); gruppen["3601"].push("Ryh_3601_33"); gruppen["3601"].push("Ryh_3601_34"); gruppen["3601"].push("Ryh_3601_35"); gruppen["3601"].push("Ryh_3601_36"); gruppen["3601"].push("Ryh_3601_37"); gruppen["3601"].push("Ryh_3601_38"); gruppen["3601"].push("Ryh_3601_39"); gruppen["3601"].push("Ryh_3601_40"); gruppen["3601"].push("Ryh_3601_41"); gruppen["3601"].push("Ryh_3601_42"); gruppen["3601"].push("Ryh_3601_43"); gruppen["3601"].push("Ryh_3601_44"); gruppen["3601"].push("Ryh_3601_45"); gruppen["3601"].push("Ryh_3601_50"); gruppen["3601"].push("Ryh_3601_51"); gruppen["3601"].push("Ryh_3601_52"); gruppen["3601"].push("Ryh_3601_53"); gruppen["3601"].push("Ryh_3601_54"); gruppen["3601"].push("Ryh_3601_55_A"); gruppen["3601"].push("Ryh_3601_55_B"); gruppen["3601"].push("Ryh_3601_56_A"); gruppen["3601"].push("Ryh_3601_56_B"); gruppen["3601"].push("Ryh_3601_57_A"); gruppen["3601"].push("Ryh_3601_57_B"); gruppen["3701"] = new Array(); gruppen["3701"].push("Ryh_3701_1"); gruppen["3701"].push("Ryh_3701_3"); gruppen["3701"].push("Ryh_3701_4"); gruppen["3701"].push("Ryh_3701_7"); gruppen["3701"].push("Ryh_3701_8"); gruppen["3701"].push("Ryh_3701_9"); gruppen["3701"].push("Ryh_3701_10"); gruppen["3701"].push("Ryh_3701_11"); gruppen["3701"].push("Ryh_3701_12"); gruppen["3701"].push("Ryh_3701_21"); gruppen["3701"].push("Ryh_3701_23"); gruppen["3701"].push("Ryh_3701_29"); gruppen["3701"].push("Ryh_3701_30"); gruppen["3801"] = new Array(); gruppen["3801"].push("Ryh_3801_1"); gruppen["3801"].push("Ryh_3801_2"); gruppen["3803"] = new Array(); gruppen["3803"].push("Ryh_3803_1"); gruppen["3803"].push("Ryh_3803_2"); gruppen["3803"].push("Ryh_3803_3"); gruppen["3803"].push("Ryh_3803_4"); gruppen["3803"].push("Ryh_3803_5"); gruppen["3803"].push("Ryh_3803_6"); gruppen["3803"].push("Ryh_3803_7"); gruppen["3803"].push("Ryh_3803_8"); gruppen["3803"].push("Ryh_3803_9"); gruppen["3803"].push("Ryh_3803_11"); gruppen["3803"].push("Ryh_3803_12"); gruppen["3803"].push("Ryh_3803_13"); gruppen["3803"].push("Ryh_3803_14"); gruppen["3803"].push("Ryh_3803_15"); gruppen["3803"].push("Ryh_3803_16"); gruppen["3803"].push("Ryh_3803_17"); gruppen["3803"].push("Ryh_3803_19"); gruppen["3803"].push("Ryh_3803_20"); gruppen["3803"].push("Ryh_3803_21"); gruppen["3803"].push("Ryh_3803_25_A"); gruppen["3803"].push("Ryh_3803_25_B"); gruppen["3803"].push("Ryh_3803_26"); gruppen["3803"].push("Ryh_3803_28"); gruppen["3803"].push("Ryh_3803_29"); gruppen["3803"].push("Ryh_3803_30"); gruppen["3803"].push("Ryh_3803_31"); gruppen["3803"].push("Ryh_3803_32"); gruppen["3803"].push("Ryh_3803_33"); gruppen["3803"].push("Ryh_3803_34"); gruppen["3803"].push("Ryh_3803_35"); gruppen["3803"].push("Ryh_3803_36"); gruppen["3803"].push("Ryh_3803_37"); gruppen["3803"].push("Ryh_3803_38"); gruppen["3803"].push("Ryh_3803_39"); gruppen["3804"] = new Array(); gruppen["3804"].push("Ryh_3804_1"); gruppen["3804"].push("Ryh_3804_2"); gruppen["3804"].push("Ryh_3804_4"); gruppen["3804"].push("Ryh_3804_6"); gruppen["3804"].push("Ryh_3804_7"); gruppen["3804"].push("Ryh_3804_9"); gruppen["3804"].push("Ryh_3804_10"); gruppen["3804"].push("Ryh_3804_13"); gruppen["3804"].push("Ryh_3804_14"); gruppen["3804"].push("Ryh_3804_17"); gruppen["3804"].push("Ryh_3804_18"); gruppen["3804"].push("Ryh_3804_19"); gruppen["3804"].push("Ryh_3804_20"); gruppen["3804"].push("Ryh_3804_23"); gruppen["3804"].push("Ryh_3804_25"); gruppen["3804"].push("Ryh_3804_26"); gruppen["3804"].push("Ryh_3804_31"); gruppen["3804"].push("Ryh_3804_32"); gruppen["3804"].push("Ryh_3804_33"); gruppen["3804"].push("Ryh_3804_34"); gruppen["3804"].push("Ryh_3804_35"); gruppen["3804"].push("Ryh_3804_39"); gruppen["3804"].push("Ryh_3804_41"); gruppen["3804"].push("Ryh_3804_42"); gruppen["3804"].push("Ryh_3804_43_A"); gruppen["3804"].push("Ryh_3804_43_B"); gruppen["3804"].push("Ryh_3804_44_A"); gruppen["3804"].push("Ryh_3804_44_B"); gruppen["3804"].push("Ryh_3804_46"); gruppen["3804"].push("Ryh_3804_48"); gruppen["3804"].push("Ryh_3804_49"); gruppen["3804"].push("Ryh_3804_55"); gruppen["3804"].push("Ryh_3804_56"); gruppen["3804"].push("Ryh_3804_57"); gruppen["3805"] = new Array(); gruppen["3805"].push("Ryh_3805_1"); gruppen["3805"].push("Ryh_3805_3"); gruppen["3805"].push("Ryh_3805_5"); gruppen["3805"].push("Ryh_3805_7"); gruppen["3805"].push("Ryh_3805_8"); gruppen["3805"].push("Ryh_3805_9"); gruppen["3805"].push("Ryh_3805_11_A"); gruppen["3805"].push("Ryh_3805_11_B"); gruppen["3805"].push("Ryh_3805_12"); gruppen["3805"].push("Ryh_3805_15"); gruppen["3805"].push("Ryh_3805_16_A"); gruppen["3805"].push("Ryh_3805_16_B"); gruppen["3805"].push("Ryh_3805_17"); gruppen["3805"].push("Ryh_3805_18"); gruppen["3805"].push("Ryh_3805_19"); gruppen["3805"].push("Ryh_3805_21"); gruppen["3805"].push("Ryh_3805_23"); gruppen["3805"].push("Ryh_3805_24"); gruppen["3805"].push("Ryh_3805_25"); gruppen["3806"] = new Array(); gruppen["3806"].push("Ryh_3806_1"); gruppen["3806"].push("Ryh_3806_2"); gruppen["3806"].push("Ryh_3806_6"); gruppen["3806"].push("Ryh_3806_7"); gruppen["3806"].push("Ryh_3806_8_A"); gruppen["3806"].push("Ryh_3806_8_B"); gruppen["3806"].push("Ryh_3806_9"); gruppen["3806"].push("Ryh_3806_10"); gruppen["3806"].push("Ryh_3806_13"); gruppen["3806"].push("Ryh_3806_14"); gruppen["3806"].push("Ryh_3806_15"); gruppen["3806"].push("Ryh_3806_17"); gruppen["3806"].push("Ryh_3806_18"); gruppen["3806"].push("Ryh_3806_19"); gruppen["3806"].push("Ryh_3806_21"); gruppen["3806"].push("Ryh_3806_22"); gruppen["3806"].push("Ryh_3806_25"); gruppen["3806"].push("Ryh_3806_27"); gruppen["3806"].push("Ryh_3806_28_A"); gruppen["3806"].push("Ryh_3806_28_B"); gruppen["3806"].push("Ryh_3806_29"); gruppen["3806"].push("Ryh_3806_31"); gruppen["3806"].push("Ryh_3806_32"); gruppen["3806"].push("Ryh_3806_33"); gruppen["3806"].push("Ryh_3806_34"); gruppen["3806"].push("Ryh_3806_36"); gruppen["3806"].push("Ryh_3806_37"); gruppen["3806"].push("Ryh_3806_38"); gruppen["3808"] = new Array(); gruppen["3808"].push("Ryh_3808_1"); gruppen["3808"].push("Ryh_3808_2"); gruppen["3808"].push("Ryh_3808_3"); gruppen["3808"].push("Ryh_3808_4"); gruppen["3808"].push("Ryh_3808_5"); gruppen["3808"].push("Ryh_3808_6"); gruppen["3808"].push("Ryh_3808_7"); gruppen["3808"].push("Ryh_3808_11"); gruppen["3808"].push("Ryh_3808_12_A"); gruppen["3808"].push("Ryh_3808_12_B"); gruppen["3808"].push("Ryh_3808_13"); gruppen["3808"].push("Ryh_3808_15"); gruppen["3808"].push("Ryh_3808_16"); gruppen["3808"].push("Ryh_3808_17"); gruppen["3808"].push("Ryh_3808_21"); gruppen["3808"].push("Ryh_3808_22"); gruppen["3808"].push("Ryh_3808_23"); gruppen["3808"].push("Ryh_3808_24"); gruppen["3808"].push("Ryh_3808_25"); gruppen["3808"].push("Ryh_3808_28"); gruppen["3808"].push("Ryh_3808_29"); gruppen["3808"].push("Ryh_3808_30"); gruppen["3808"].push("Ryh_3808_31_A"); gruppen["3808"].push("Ryh_3808_31_B"); gruppen["3808"].push("Ryh_3808_41"); gruppen["3808"].push("Ryh_3808_42"); gruppen["3808"].push("Ryh_3808_46"); gruppen["3808"].push("Ryh_3808_49"); gruppen["3808"].push("Ryh_3808_51"); gruppen["3808"].push("Ryh_3808_52"); gruppen["3809"] = new Array(); gruppen["3809"].push("Ryh_3809_12"); gruppen["3809"].push("Ryh_3809_13"); gruppen["3809"].push("Ryh_3809_14"); gruppen["3809"].push("Ryh_3809_15"); gruppen["3809"].push("Ryh_3809_19"); gruppen["3809"].push("Ryh_3809_20"); gruppen["3809"].push("Ryh_3809_21"); gruppen["3809"].push("Ryh_3809_22"); gruppen["3809"].push("Ryh_3809_25"); gruppen["3809"].push("Ryh_3809_26"); gruppen["3809"].push("Ryh_3809_27"); gruppen["3809"].push("Ryh_3809_28"); gruppen["3809"].push("Ryh_3809_29"); gruppen["3809"].push("Ryh_3809_34"); gruppen["3809"].push("Ryh_3809_35"); gruppen["3809"].push("Ryh_3809_36"); gruppen["3809"].push("Ryh_3809_37"); gruppen["3809"].push("Ryh_3809_38"); gruppen["3809"].push("Ryh_3809_40"); gruppen["3809"].push("Ryh_3809_41"); gruppen["3809"].push("Ryh_3809_42"); gruppen["3809"].push("Ryh_3809_43"); gruppen["3809"].push("Ryh_3809_44"); gruppen["3809"].push("Ryh_3809_45"); gruppen["3809"].push("Ryh_3809_46"); gruppen["3809"].push("Ryh_3809_47"); gruppen["3809"].push("Ryh_3809_49"); gruppen["3809"].push("Ryh_3809_50"); gruppen["3809"].push("Ryh_3809_51"); gruppen["3809"].push("Ryh_3809_52"); gruppen["3809"].push("Ryh_3809_53"); gruppen["3809"].push("Ryh_3809_54"); gruppen["3809"].push("Ryh_3809_58"); gruppen["3809"].push("Ryh_3809_59"); gruppen["3809"].push("Ryh_3809_60"); gruppen["3809"].push("Ryh_3809_61"); gruppen["3809"].push("Ryh_3809_62"); gruppen["3809"].push("Ryh_3809_63"); gruppen["3809"].push("Ryh_3809_66"); gruppen["3809"].push("Ryh_3809_67"); gruppen["3809"].push("Ryh_3809_68"); gruppen["3901"] = new Array(); gruppen["3901"].push("Ryh_3901_1"); gruppen["3901"].push("Ryh_3901_2"); gruppen["3901"].push("Ryh_3901_4"); gruppen["3901"].push("Ryh_3901_5"); gruppen["3901"].push("Ryh_3901_9"); gruppen["3901"].push("Ryh_3901_10"); gruppen["3901"].push("Ryh_3901_11"); gruppen["3901"].push("Ryh_3901_12"); gruppen["3901"].push("Ryh_3901_13"); gruppen["3901"].push("Ryh_3901_16"); gruppen["3901"].push("Ryh_3901_17"); gruppen["3901"].push("Ryh_3901_19"); gruppen["3901"].push("Ryh_3901_20"); gruppen["3901"].push("Ryh_3901_21"); gruppen["3901"].push("Ryh_3901_22"); gruppen["3901"].push("Ryh_3901_23"); gruppen["3901"].push("Ryh_3901_24"); gruppen["3901"].push("Ryh_3901_25"); gruppen["3901"].push("Ryh_3901_27"); gruppen["3901"].push("Ryh_3901_29"); gruppen["3901"].push("Ryh_3901_51"); gruppen["3901"].push("Ryh_3901_52"); gruppen["3901"].push("Ryh_3901_53"); gruppen["3901"].push("Ryh_3901_55"); gruppen["3901"].push("Ryh_3901_56"); gruppen["3901"].push("Ryh_3901_57"); gruppen["3902"] = new Array(); gruppen["3902"].push("Ryh_3902_1_A"); gruppen["3902"].push("Ryh_3902_1_B"); gruppen["3902"].push("Ryh_3902_2"); gruppen["3902"].push("Ryh_3902_3"); gruppen["3902"].push("Ryh_3902_5"); gruppen["3902"].push("Ryh_3902_6"); gruppen["3902"].push("Ryh_3902_10"); gruppen["3902"].push("Ryh_3902_12"); gruppen["3902"].push("Ryh_3902_14_A"); gruppen["3902"].push("Ryh_3902_14_B"); gruppen["3902"].push("Ryh_3902_15"); gruppen["3902"].push("Ryh_3902_16"); gruppen["3902"].push("Ryh_3902_17"); gruppen["3902"].push("Ryh_3902_18"); gruppen["3902"].push("Ryh_3902_19"); gruppen["3902"].push("Ryh_3902_20"); gruppen["3902"].push("Ryh_3902_21"); gruppen["3902"].push("Ryh_3902_22"); gruppen["3902"].push("Ryh_3902_25"); gruppen["3902"].push("Ryh_3902_26_A"); gruppen["3902"].push("Ryh_3902_26_B"); gruppen["3902"].push("Ryh_3902_27"); gruppen["3902"].push("Ryh_3902_28"); gruppen["3902"].push("Ryh_3902_29"); gruppen["3902"].push("Ryh_3902_30"); gruppen["3902"].push("Ryh_3902_32"); gruppen["3902"].push("Ryh_3902_34"); gruppen["3902"].push("Ryh_3902_36"); gruppen["3902"].push("Ryh_3902_37"); gruppen["3902"].push("Ryh_3902_40"); gruppen["3902"].push("Ryh_3902_42"); gruppen["3902"].push("Ryh_3902_43"); gruppen["3902"].push("Ryh_3902_44"); gruppen["3902"].push("Ryh_3902_47"); gruppen["3902"].push("Ryh_3902_48"); gruppen["3902"].push("Ryh_3902_49_A"); gruppen["3902"].push("Ryh_3902_49_B"); gruppen["3902"].push("Ryh_3902_50"); gruppen["3902"].push("Ryh_3902_52"); gruppen["3902"].push("Ryh_3902_53"); gruppen["3902"].push("Ryh_3902_54"); gruppen["3902"].push("Ryh_3902_55"); gruppen["3902"].push("Ryh_3902_56"); gruppen["3902"].push("Ryh_3902_57"); gruppen["3902"].push("Ryh_3902_58"); gruppen["3902"].push("Ryh_3902_61"); gruppen["3902"].push("Ryh_3902_62"); gruppen["3902"].push("Ryh_3902_65"); gruppen["3904"] = new Array(); gruppen["3904"].push("Ryh_3904_1"); gruppen["3904"].push("Ryh_3904_2"); gruppen["3904"].push("Ryh_3904_3"); gruppen["3904"].push("Ryh_3904_4"); gruppen["3904"].push("Ryh_3904_5"); gruppen["3904"].push("Ryh_3904_6"); gruppen["3904"].push("Ryh_3904_8"); gruppen["3904"].push("Ryh_3904_11"); gruppen["3904"].push("Ryh_3904_12"); gruppen["3904"].push("Ryh_3904_14"); gruppen["3904"].push("Ryh_3904_15"); gruppen["3904"].push("Ryh_3904_17"); gruppen["3904"].push("Ryh_3904_18"); gruppen["3904"].push("Ryh_3904_21"); gruppen["3904"].push("Ryh_3904_22"); gruppen["3904"].push("Ryh_3904_23"); gruppen["3904"].push("Ryh_3904_39"); gruppen["3904"].push("Ryh_3904_40"); gruppen["4001"] = new Array(); gruppen["4001"].push("Ryh_4001_1"); gruppen["4001"].push("Ryh_4001_4"); gruppen["4001"].push("Ryh_4001_5"); gruppen["4001"].push("Ryh_4001_6"); gruppen["4001"].push("Ryh_4001_7"); gruppen["4001"].push("Ryh_4001_8"); gruppen["4001"].push("Ryh_4001_9"); gruppen["4001"].push("Ryh_4001_10"); gruppen["4001"].push("Ryh_4001_12"); gruppen["4001"].push("Ryh_4001_13"); gruppen["4001"].push("Ryh_4001_14"); gruppen["4001"].push("Ryh_4001_15"); gruppen["4001"].push("Ryh_4001_16"); gruppen["4001"].push("Ryh_4001_17"); gruppen["4001"].push("Ryh_4001_18"); gruppen["4001"].push("Ryh_4001_19"); gruppen["4001"].push("Ryh_4001_20"); gruppen["4001"].push("Ryh_4001_21"); gruppen["4001"].push("Ryh_4001_22"); gruppen["4001"].push("Ryh_4001_23"); gruppen["4001"].push("Ryh_4001_24"); gruppen["4001"].push("Ryh_4001_25"); gruppen["4002"] = new Array(); gruppen["4002"].push("Ryh_4002_1"); gruppen["4002"].push("Ryh_4002_2"); gruppen["4002"].push("Ryh_4002_3"); gruppen["4002"].push("Ryh_4002_4"); gruppen["4002"].push("Ryh_4002_5"); gruppen["4002"].push("Ryh_4002_10"); gruppen["4002"].push("Ryh_4002_11"); gruppen["4002"].push("Ryh_4002_12"); gruppen["4002"].push("Ryh_4002_13"); gruppen["4002"].push("Ryh_4002_21"); gruppen["4002"].push("Ryh_4002_23"); gruppen["4002"].push("Ryh_4002_24"); gruppen["4002"].push("Ryh_4002_25"); gruppen["4002"].push("Ryh_4002_26"); gruppen["4002"].push("Ryh_4002_27_A"); gruppen["4002"].push("Ryh_4002_27_B"); gruppen["4002"].push("Ryh_4002_28"); gruppen["4002"].push("Ryh_4002_29"); gruppen["4002"].push("Ryh_4002_41"); gruppen["4002"].push("Ryh_4002_42"); gruppen["4002"].push("Ryh_4002_43"); gruppen["4002"].push("Ryh_4002_46_A"); gruppen["4002"].push("Ryh_4002_46_B"); gruppen["4002"].push("Ryh_4002_47"); gruppen["4003"] = new Array(); gruppen["4003"].push("Ryh_4003_3"); gruppen["4003"].push("Ryh_4003_4"); gruppen["4003"].push("Ryh_4003_5"); gruppen["4003"].push("Ryh_4003_13"); gruppen["4003"].push("Ryh_4003_14"); gruppen["4003"].push("Ryh_4003_15"); gruppen["4003"].push("Ryh_4003_23"); gruppen["4003"].push("Ryh_4003_24"); gruppen["4003"].push("Ryh_4003_27"); gruppen["4003"].push("Ryh_4003_28"); gruppen["4003"].push("Ryh_4003_31"); gruppen["4003"].push("Ryh_4003_32_A"); gruppen["4003"].push("Ryh_4003_32_B"); gruppen["4003"].push("Ryh_4003_33_A"); gruppen["4003"].push("Ryh_4003_33_B"); gruppen["4003"].push("Ryh_4003_34_A"); gruppen["4003"].push("Ryh_4003_34_B"); gruppen["4003"].push("Ryh_4003_35_A"); gruppen["4003"].push("Ryh_4003_35_B"); gruppen["4003"].push("Ryh_4003_36_A"); gruppen["4003"].push("Ryh_4003_36_B"); gruppen["4003"].push("Ryh_4003_37_A"); gruppen["4003"].push("Ryh_4003_37_B"); gruppen["4003"].push("Ryh_4003_38_A"); gruppen["4003"].push("Ryh_4003_38_B"); gruppen["4003"].push("Ryh_4003_39_A"); gruppen["4003"].push("Ryh_4003_39_B"); gruppen["4003"].push("Ryh_4003_40_A"); gruppen["4003"].push("Ryh_4003_40_B"); gruppen["4003"].push("Ryh_4003_41_A"); gruppen["4003"].push("Ryh_4003_41_B"); gruppen["4003"].push("Ryh_4003_42_A"); gruppen["4003"].push("Ryh_4003_42_B"); gruppen["4003"].push("Ryh_4003_43_A"); gruppen["4003"].push("Ryh_4003_43_B"); gruppen["4003"].push("Ryh_4003_44_A"); gruppen["4003"].push("Ryh_4003_44_B"); gruppen["4003"].push("Ryh_4003_45_A"); gruppen["4003"].push("Ryh_4003_45_B"); gruppen["4003"].push("Ryh_4003_46_A"); gruppen["4003"].push("Ryh_4003_46_B"); gruppen["4003"].push("Ryh_4003_47_A"); gruppen["4003"].push("Ryh_4003_47_B"); gruppen["4003"].push("Ryh_4003_48_A"); gruppen["4003"].push("Ryh_4003_48_B"); gruppen["4003"].push("Ryh_4003_49_A"); gruppen["4003"].push("Ryh_4003_49_B"); gruppen["4003"].push("Ryh_4003_50_A"); gruppen["4003"].push("Ryh_4003_50_B"); gruppen["4004"] = new Array(); gruppen["4004"].push("Ryh_4004_1"); gruppen["4004"].push("Ryh_4004_2"); gruppen["4004"].push("Ryh_4004_3"); gruppen["4004"].push("Ryh_4004_4"); gruppen["4004"].push("Ryh_4004_21"); gruppen["4004"].push("Ryh_4004_22"); gruppen["4004"].push("Ryh_4004_23"); gruppen["4004"].push("Ryh_4004_24"); gruppen["4004"].push("Ryh_4004_25"); gruppen["4004"].push("Ryh_4004_26"); gruppen["4004"].push("Ryh_4004_27"); gruppen["4004"].push("Ryh_4004_29"); gruppen["4004"].push("Ryh_4004_30"); gruppen["4004"].push("Ryh_4004_33"); gruppen["4004"].push("Ryh_4004_34"); gruppen["4004"].push("Ryh_4004_35"); gruppen["4004"].push("Ryh_4004_36"); gruppen["4004"].push("Ryh_4004_37"); gruppen["4004"].push("Ryh_4004_38"); gruppen["4004"].push("Ryh_4004_39"); gruppen["4004"].push("Ryh_4004_40"); gruppen["4004"].push("Ryh_4004_41"); gruppen["4004"].push("Ryh_4004_42"); gruppen["4004"].push("Ryh_4004_43"); gruppen["4004"].push("Ryh_4004_44"); gruppen["4004"].push("Ryh_4004_45"); gruppen["4004"].push("Ryh_4004_46"); gruppen["4004"].push("Ryh_4004_47"); gruppen["4005"] = new Array(); gruppen["4005"].push("Ryh_4005_1"); gruppen["4005"].push("Ryh_4005_2"); gruppen["4005"].push("Ryh_4005_3"); gruppen["4005"].push("Ryh_4005_4"); gruppen["4005"].push("Ryh_4005_5"); gruppen["4005"].push("Ryh_4005_6"); gruppen["4005"].push("Ryh_4005_7"); gruppen["4005"].push("Ryh_4005_8"); gruppen["4005"].push("Ryh_4005_9"); gruppen["4005"].push("Ryh_4005_10"); gruppen["4005"].push("Ryh_4005_21"); gruppen["4005"].push("Ryh_4005_22"); gruppen["4005"].push("Ryh_4005_23"); gruppen["4005"].push("Ryh_4005_24"); gruppen["4005"].push("Ryh_4005_26"); gruppen["4005"].push("Ryh_4005_27"); gruppen["4005"].push("Ryh_4005_28"); gruppen["4005"].push("Ryh_4005_29"); gruppen["4005"].push("Ryh_4005_31"); gruppen["4005"].push("Ryh_4005_32"); gruppen["4005"].push("Ryh_4005_34"); gruppen["4006"] = new Array(); gruppen["4006"].push("Ryh_4006_1"); gruppen["4006"].push("Ryh_4006_2"); gruppen["4006"].push("Ryh_4006_3"); gruppen["4006"].push("Ryh_4006_4"); gruppen["4006"].push("Ryh_4006_5"); gruppen["4006"].push("Ryh_4006_6"); gruppen["4006"].push("Ryh_4006_7"); gruppen["4006"].push("Ryh_4006_8"); gruppen["4006"].push("Ryh_4006_9"); gruppen["4006"].push("Ryh_4006_10"); gruppen["4006"].push("Ryh_4006_11"); gruppen["4006"].push("Ryh_4006_12"); gruppen["4006"].push("Ryh_4006_13"); gruppen["4006"].push("Ryh_4006_14"); gruppen["4006"].push("Ryh_4006_15"); gruppen["4006"].push("Ryh_4006_16"); gruppen["4006"].push("Ryh_4006_17"); gruppen["4006"].push("Ryh_4006_18"); gruppen["4006"].push("Ryh_4006_19"); gruppen["4006"].push("Ryh_4006_20"); gruppen["4006"].push("Ryh_4006_21"); gruppen["4006"].push("Ryh_4006_22"); gruppen["4006"].push("Ryh_4006_23"); gruppen["4006"].push("Ryh_4006_24"); gruppen["4006"].push("Ryh_4006_39"); gruppen["4006"].push("Ryh_4006_40"); gruppen["4006"].push("Ryh_4006_41"); gruppen["4006"].push("Ryh_4006_42"); gruppen["4006"].push("Ryh_4006_43"); gruppen["4006"].push("Ryh_4006_44"); gruppen["4006"].push("Ryh_4006_45"); gruppen["4006"].push("Ryh_4006_46_A"); gruppen["4006"].push("Ryh_4006_46_B"); gruppen["4006"].push("Ryh_4006_47"); gruppen["4006"].push("Ryh_4006_48"); gruppen["4006"].push("Ryh_4006_49"); gruppen["4006"].push("Ryh_4006_50"); gruppen["4006"].push("Ryh_4006_51"); gruppen["4006"].push("Ryh_4006_52"); gruppen["4006"].push("Ryh_4006_53"); gruppen["4006"].push("Ryh_4006_54"); gruppen["4101"] = new Array(); gruppen["4101"].push("Ryh_4101_1"); gruppen["4101"].push("Ryh_4101_2"); gruppen["4101"].push("Ryh_4101_3"); gruppen["4101"].push("Ryh_4101_5"); gruppen["4101"].push("Ryh_4101_7"); gruppen["4101"].push("Ryh_4101_8"); gruppen["4101"].push("Ryh_4101_9"); gruppen["4101"].push("Ryh_4101_10"); gruppen["4101"].push("Ryh_4101_11"); gruppen["4101"].push("Ryh_4101_12"); gruppen["4101"].push("Ryh_4101_14"); gruppen["4101"].push("Ryh_4101_16"); gruppen["4101"].push("Ryh_4101_17"); gruppen["4101"].push("Ryh_4101_18"); gruppen["4101"].push("Ryh_4101_19"); gruppen["4101"].push("Ryh_4101_21"); gruppen["4101"].push("Ryh_4101_22"); gruppen["4101"].push("Ryh_4101_25"); gruppen["4101"].push("Ryh_4101_26"); gruppen["4101"].push("Ryh_4101_27"); gruppen["4101"].push("Ryh_4101_28"); gruppen["4101"].push("Ryh_4101_29"); gruppen["4101"].push("Ryh_4101_30"); gruppen["4101"].push("Ryh_4101_31_A"); gruppen["4101"].push("Ryh_4101_31_B"); gruppen["4101"].push("Ryh_4101_32"); gruppen["4101"].push("Ryh_4101_33"); gruppen["4101"].push("Ryh_4101_34"); gruppen["4101"].push("Ryh_4101_35"); gruppen["4101"].push("Ryh_4101_36"); gruppen["4101"].push("Ryh_4101_37"); gruppen["4101"].push("Ryh_4101_38"); gruppen["4101"].push("Ryh_4101_39"); gruppen["4101"].push("Ryh_4101_40"); gruppen["4101"].push("Ryh_4101_41"); gruppen["4101"].push("Ryh_4101_42"); gruppen["4101"].push("Ryh_4101_43"); gruppen["4101"].push("Ryh_4101_44"); gruppen["4101"].push("Ryh_4101_45"); gruppen["4101"].push("Ryh_4101_46"); gruppen["4101"].push("Ryh_4101_51"); gruppen["4101"].push("Ryh_4101_52"); gruppen["4101"].push("Ryh_4101_53"); gruppen["4101"].push("Ryh_4101_54"); gruppen["4101"].push("Ryh_4101_55"); gruppen["4101"].push("Ryh_4101_56"); gruppen["4101"].push("Ryh_4101_57"); gruppen["4101"].push("Ryh_4101_58"); gruppen["4101"].push("Ryh_4101_59"); gruppen["4101"].push("Ryh_4101_60"); gruppen["4103"] = new Array(); gruppen["4103"].push("Ryh_4103_1"); gruppen["4103"].push("Ryh_4103_2"); gruppen["4103"].push("Ryh_4103_3"); gruppen["4103"].push("Ryh_4103_4"); gruppen["4103"].push("Ryh_4103_5"); gruppen["4103"].push("Ryh_4103_6"); gruppen["4103"].push("Ryh_4103_7"); gruppen["4103"].push("Ryh_4103_8"); gruppen["4103"].push("Ryh_4103_9"); gruppen["4103"].push("Ryh_4103_21"); gruppen["4103"].push("Ryh_4103_22"); gruppen["4103"].push("Ryh_4103_24"); gruppen["4103"].push("Ryh_4103_25"); gruppen["4103"].push("Ryh_4103_26"); gruppen["4103"].push("Ryh_4103_31"); gruppen["4103"].push("Ryh_4103_32"); gruppen["4103"].push("Ryh_4103_34"); gruppen["4103"].push("Ryh_4103_35"); gruppen["4103"].push("Ryh_4103_36"); gruppen["4103"].push("Ryh_4103_37"); gruppen["4103"].push("Ryh_4103_38"); gruppen["4103"].push("Ryh_4103_39"); gruppen["4103"].push("Ryh_4103_41"); gruppen["4103"].push("Ryh_4103_42"); gruppen["4103"].push("Ryh_4103_44"); gruppen["4103"].push("Ryh_4103_45"); gruppen["4103"].push("Ryh_4103_51"); gruppen["4103"].push("Ryh_4103_52"); gruppen["4103"].push("Ryh_4103_54"); gruppen["4103"].push("Ryh_4103_55"); gruppen["4104"] = new Array(); gruppen["4104"].push("Ryh_4104_1"); gruppen["4104"].push("Ryh_4104_2"); gruppen["4104"].push("Ryh_4104_4"); gruppen["4104"].push("Ryh_4104_5"); gruppen["4104"].push("Ryh_4104_6"); gruppen["4104"].push("Ryh_4104_10_A"); gruppen["4104"].push("Ryh_4104_10_B"); gruppen["4104"].push("Ryh_4104_11"); gruppen["4104"].push("Ryh_4104_12"); gruppen["4104"].push("Ryh_4104_14"); gruppen["4104"].push("Ryh_4104_15"); gruppen["4104"].push("Ryh_4104_16"); gruppen["4104"].push("Ryh_4104_21"); gruppen["4104"].push("Ryh_4104_22"); gruppen["4104"].push("Ryh_4104_24"); gruppen["4104"].push("Ryh_4104_25"); gruppen["4104"].push("Ryh_4104_26"); gruppen["4104"].push("Ryh_4104_31"); gruppen["4104"].push("Ryh_4104_32"); gruppen["4104"].push("Ryh_4104_34"); gruppen["4104"].push("Ryh_4104_35"); gruppen["4104"].push("Ryh_4104_36"); gruppen["4104"].push("Ryh_4104_37"); gruppen["4104"].push("Ryh_4104_38"); gruppen["4104"].push("Ryh_4104_40"); gruppen["4104"].push("Ryh_4104_41"); gruppen["4104"].push("Ryh_4104_42"); gruppen["4104"].push("Ryh_4104_43"); gruppen["4104"].push("Ryh_4104_44"); gruppen["4104"].push("Ryh_4104_45"); gruppen["4104"].push("Ryh_4104_51"); gruppen["4104"].push("Ryh_4104_52"); gruppen["4104"].push("Ryh_4104_53"); gruppen["4104"].push("Ryh_4104_54"); gruppen["4104"].push("Ryh_4104_55"); gruppen["4105"] = new Array(); gruppen["4105"].push("Ryh_4105_1"); gruppen["4105"].push("Ryh_4105_2"); gruppen["4105"].push("Ryh_4105_3"); gruppen["4105"].push("Ryh_4105_4"); gruppen["4105"].push("Ryh_4105_21"); gruppen["4105"].push("Ryh_4105_23"); gruppen["4105"].push("Ryh_4105_24"); gruppen["4105"].push("Ryh_4105_25"); gruppen["4105"].push("Ryh_4105_28_A"); gruppen["4105"].push("Ryh_4105_28_B"); gruppen["4105"].push("Ryh_4105_29_A"); gruppen["4105"].push("Ryh_4105_29_B"); gruppen["4105"].push("Ryh_4105_30_A"); gruppen["4105"].push("Ryh_4105_30_B"); gruppen["4105"].push("Ryh_4105_31"); gruppen["4105"].push("Ryh_4105_32"); gruppen["4105"].push("Ryh_4105_33"); gruppen["4105"].push("Ryh_4105_34"); gruppen["4105"].push("Ryh_4105_35"); gruppen["4105"].push("Ryh_4105_51"); gruppen["4105"].push("Ryh_4105_52"); gruppen["4105"].push("Ryh_4105_53"); gruppen["4105"].push("Ryh_4105_54"); gruppen["4105"].push("Ryh_4105_55"); gruppen["4105"].push("Ryh_4105_56"); gruppen["4201"] = new Array(); gruppen["4201"].push("Ryh_4201_1"); gruppen["4201"].push("Ryh_4201_2"); gruppen["4201"].push("Ryh_4201_3"); gruppen["4201"].push("Ryh_4201_4"); gruppen["4201"].push("Ryh_4201_5"); gruppen["4201"].push("Ryh_4201_6"); gruppen["4201"].push("Ryh_4201_7"); gruppen["4201"].push("Ryh_4201_21"); gruppen["4201"].push("Ryh_4201_22"); gruppen["4201"].push("Ryh_4201_23"); gruppen["4201"].push("Ryh_4201_24"); gruppen["4201"].push("Ryh_4201_25"); gruppen["4201"].push("Ryh_4201_26"); gruppen["4201"].push("Ryh_4201_27"); gruppen["4201"].push("Ryh_4201_28"); gruppen["4201"].push("Ryh_4201_29"); gruppen["4201"].push("Ryh_4201_30"); gruppen["4201"].push("Ryh_4201_31"); gruppen["4201"].push("Ryh_4201_32"); gruppen["4201"].push("Ryh_4201_34"); gruppen["4201"].push("Ryh_4201_35"); gruppen["4201"].push("Ryh_4201_36"); gruppen["4201"].push("Ryh_4201_38"); gruppen["4201"].push("Ryh_4201_39"); gruppen["4201"].push("Ryh_4201_40"); gruppen["4201"].push("Ryh_4201_41"); gruppen["4201"].push("Ryh_4201_42"); gruppen["4201"].push("Ryh_4201_45"); gruppen["4201"].push("Ryh_4201_51"); gruppen["4201"].push("Ryh_4201_52"); gruppen["4201"].push("Ryh_4201_53"); gruppen["4201"].push("Ryh_4201_54"); gruppen["4201"].push("Ryh_4201_55"); gruppen["4201"].push("Ryh_4201_56"); gruppen["4201"].push("Ryh_4201_57"); gruppen["4201"].push("Ryh_4201_58"); gruppen["4202"] = new Array(); gruppen["4202"].push("Ryh_4202_1"); gruppen["4202"].push("Ryh_4202_2"); gruppen["4202"].push("Ryh_4202_3"); gruppen["4202"].push("Ryh_4202_4"); gruppen["4202"].push("Ryh_4202_5"); gruppen["4202"].push("Ryh_4202_6"); gruppen["4202"].push("Ryh_4202_7"); gruppen["4202"].push("Ryh_4202_8_A"); gruppen["4202"].push("Ryh_4202_8_B"); gruppen["4202"].push("Ryh_4202_9"); gruppen["4202"].push("Ryh_4202_10"); gruppen["4202"].push("Ryh_4202_41"); gruppen["4202"].push("Ryh_4202_42"); gruppen["4202"].push("Ryh_4202_43"); gruppen["4203"] = new Array(); gruppen["4203"].push("Ryh_4203_1"); gruppen["4203"].push("Ryh_4203_2"); gruppen["4203"].push("Ryh_4203_3"); gruppen["4203"].push("Ryh_4203_4"); gruppen["4203"].push("Ryh_4203_5"); gruppen["4203"].push("Ryh_4203_6_A"); gruppen["4203"].push("Ryh_4203_6_B"); gruppen["4203"].push("Ryh_4203_6_C"); gruppen["4203"].push("Ryh_4203_6_D"); gruppen["4203"].push("Ryh_4203_6_E"); gruppen["4203"].push("Ryh_4203_6_F"); gruppen["4203"].push("Ryh_4203_6_G"); gruppen["4203"].push("Ryh_4203_6_H"); gruppen["4203"].push("Ryh_4203_6_I"); gruppen["4203"].push("Ryh_4203_7_A"); gruppen["4203"].push("Ryh_4203_7_B"); gruppen["4203"].push("Ryh_4203_8"); gruppen["4203"].push("Ryh_4203_9"); gruppen["4203"].push("Ryh_4203_10"); gruppen["4203"].push("Ryh_4203_11"); gruppen["4203"].push("Ryh_4203_12"); gruppen["4203"].push("Ryh_4203_13"); gruppen["4203"].push("Ryh_4203_14"); gruppen["4204"] = new Array(); gruppen["4204"].push("Ryh_4204_1"); gruppen["4204"].push("Ryh_4204_2_A"); gruppen["4204"].push("Ryh_4204_2_B"); gruppen["4204"].push("Ryh_4204_3_A"); gruppen["4204"].push("Ryh_4204_3_B"); gruppen["4204"].push("Ryh_4204_5"); gruppen["4204"].push("Ryh_4204_6"); gruppen["4204"].push("Ryh_4204_7"); gruppen["4204"].push("Ryh_4204_8"); gruppen["4204"].push("Ryh_4204_9"); gruppen["4204"].push("Ryh_4204_11"); gruppen["4204"].push("Ryh_4204_12"); gruppen["4204"].push("Ryh_4204_13"); gruppen["4204"].push("Ryh_4204_14"); gruppen["4204"].push("Ryh_4204_15"); gruppen["4204"].push("Ryh_4204_16"); gruppen["4204"].push("Ryh_4204_17"); gruppen["4204"].push("Ryh_4204_18"); gruppen["4204"].push("Ryh_4204_19"); gruppen["4204"].push("Ryh_4204_20"); gruppen["4205"] = new Array(); gruppen["4205"].push("Ryh_4205_1"); gruppen["4205"].push("Ryh_4205_2_A"); gruppen["4205"].push("Ryh_4205_2_B"); gruppen["4205"].push("Ryh_4205_3"); gruppen["4205"].push("Ryh_4205_4"); gruppen["4205"].push("Ryh_4205_5"); gruppen["4205"].push("Ryh_4205_7"); gruppen["4205"].push("Ryh_4205_8"); gruppen["4205"].push("Ryh_4205_10"); gruppen["4205"].push("Ryh_4205_11"); gruppen["4205"].push("Ryh_4205_12"); gruppen["4205"].push("Ryh_4205_13"); gruppen["4205"].push("Ryh_4205_14"); gruppen["4205"].push("Ryh_4205_15"); gruppen["4205"].push("Ryh_4205_16"); gruppen["4205"].push("Ryh_4205_17"); gruppen["4205"].push("Ryh_4205_18"); gruppen["4205"].push("Ryh_4205_19"); gruppen["4205"].push("Ryh_4205_20"); gruppen["4205"].push("Ryh_4205_21"); gruppen["4205"].push("Ryh_4205_22"); gruppen["4205"].push("Ryh_4205_23"); gruppen["4205"].push("Ryh_4205_24"); gruppen["4205"].push("Ryh_4205_25"); gruppen["4205"].push("Ryh_4205_26"); gruppen["4205"].push("Ryh_4205_27"); gruppen["4205"].push("Ryh_4205_28"); gruppen["4205"].push("Ryh_4205_29"); gruppen["4205"].push("Ryh_4205_30"); gruppen["4205"].push("Ryh_4205_31"); gruppen["4205"].push("Ryh_4205_32"); gruppen["4205"].push("Ryh_4205_33"); gruppen["4206"] = new Array(); gruppen["4206"].push("Ryh_4206_1_A"); gruppen["4206"].push("Ryh_4206_1_B"); gruppen["4206"].push("Ryh_4206_2_A"); gruppen["4206"].push("Ryh_4206_2_B"); gruppen["4206"].push("Ryh_4206_2_C"); gruppen["4206"].push("Ryh_4206_3"); gruppen["4206"].push("Ryh_4206_4"); gruppen["4206"].push("Ryh_4206_5_A"); gruppen["4206"].push("Ryh_4206_5_B"); gruppen["4206"].push("Ryh_4206_6_A"); gruppen["4206"].push("Ryh_4206_6_B"); gruppen["4206"].push("Ryh_4206_7_A"); gruppen["4206"].push("Ryh_4206_7_B"); gruppen["4206"].push("Ryh_4206_8_A"); gruppen["4206"].push("Ryh_4206_8_B"); gruppen["4206"].push("Ryh_4206_8_C"); gruppen["4206"].push("Ryh_4206_8_D"); gruppen["4206"].push("Ryh_4206_9_A"); gruppen["4206"].push("Ryh_4206_9_B"); gruppen["4206"].push("Ryh_4206_9_C"); gruppen["4206"].push("Ryh_4206_10_A"); gruppen["4206"].push("Ryh_4206_10_B"); gruppen["4206"].push("Ryh_4206_11_A"); gruppen["4206"].push("Ryh_4206_11_B"); gruppen["4206"].push("Ryh_4206_12_A"); gruppen["4206"].push("Ryh_4206_12_B"); gruppen["4206"].push("Ryh_4206_13_A"); gruppen["4206"].push("Ryh_4206_13_B"); gruppen["4206"].push("Ryh_4206_14_A"); gruppen["4206"].push("Ryh_4206_14_B"); gruppen["4206"].push("Ryh_4206_14_C"); gruppen["4206"].push("Ryh_4206_14_D"); gruppen["4206"].push("Ryh_4206_14_E"); gruppen["4206"].push("Ryh_4206_14_F"); gruppen["4206"].push("Ryh_4206_15"); gruppen["4207"] = new Array(); gruppen["4207"].push("Ryh_4207_2"); gruppen["4207"].push("Ryh_4207_3"); gruppen["4207"].push("Ryh_4207_4"); gruppen["4207"].push("Ryh_4207_5"); gruppen["4207"].push("Ryh_4207_6"); gruppen["4207"].push("Ryh_4207_7_A"); gruppen["4207"].push("Ryh_4207_7_B"); gruppen["4207"].push("Ryh_4207_8"); gruppen["4207"].push("Ryh_4207_9"); gruppen["4207"].push("Ryh_4207_10"); gruppen["4207"].push("Ryh_4207_11"); gruppen["4207"].push("Ryh_4207_12"); gruppen["4207"].push("Ryh_4207_13"); gruppen["4207"].push("Ryh_4207_14"); gruppen["4207"].push("Ryh_4207_15"); gruppen["4207"].push("Ryh_4207_16"); gruppen["4207"].push("Ryh_4207_17"); gruppen["4301"] = new Array(); gruppen["4301"].push("Ryh_4301_6"); gruppen["4301"].push("Ryh_4301_7"); gruppen["4301"].push("Ryh_4301_8"); gruppen["4301"].push("Ryh_4301_9"); gruppen["4301"].push("Ryh_4301_10"); gruppen["4301"].push("Ryh_4301_11"); gruppen["4301"].push("Ryh_4301_14"); gruppen["4301"].push("Ryh_4301_16"); gruppen["4301"].push("Ryh_4301_17"); gruppen["4301"].push("Ryh_4301_18"); gruppen["4301"].push("Ryh_4301_19"); gruppen["4301"].push("Ryh_4301_20"); gruppen["4301"].push("Ryh_4301_22"); gruppen["4301"].push("Ryh_4301_25"); gruppen["4301"].push("Ryh_4301_26"); gruppen["4301"].push("Ryh_4301_28"); gruppen["4301"].push("Ryh_4301_30"); gruppen["4301"].push("Ryh_4301_31"); gruppen["4301"].push("Ryh_4301_32"); gruppen["4301"].push("Ryh_4301_34"); gruppen["4301"].push("Ryh_4301_35"); gruppen["4301"].push("Ryh_4301_36"); gruppen["4301"].push("Ryh_4301_37"); gruppen["4301"].push("Ryh_4301_38"); gruppen["4301"].push("Ryh_4301_39"); gruppen["4301"].push("Ryh_4301_40"); gruppen["4301"].push("Ryh_4301_41"); gruppen["4301"].push("Ryh_4301_42"); gruppen["4301"].push("Ryh_4301_44"); gruppen["4301"].push("Ryh_4301_45"); gruppen["4301"].push("Ryh_4301_46"); gruppen["4301"].push("Ryh_4301_48"); gruppen["4301"].push("Ryh_4301_49"); gruppen["4301"].push("Ryh_4301_50"); gruppen["4301"].push("Ryh_4301_51"); gruppen["4301"].push("Ryh_4301_53"); gruppen["4301"].push("Ryh_4301_54"); gruppen["4301"].push("Ryh_4301_56"); gruppen["4301"].push("Ryh_4301_58"); gruppen["4301"].push("Ryh_4301_59"); gruppen["4301"].push("Ryh_4301_60"); gruppen["4302"] = new Array(); gruppen["4302"].push("Ryh_4302_3"); gruppen["4302"].push("Ryh_4302_4"); gruppen["4302"].push("Ryh_4302_5"); gruppen["4302"].push("Ryh_4302_6"); gruppen["4302"].push("Ryh_4302_7"); gruppen["4302"].push("Ryh_4302_8"); gruppen["4302"].push("Ryh_4302_9"); gruppen["4302"].push("Ryh_4302_10"); gruppen["4302"].push("Ryh_4302_11"); gruppen["4302"].push("Ryh_4302_13"); gruppen["4302"].push("Ryh_4302_14"); gruppen["4302"].push("Ryh_4302_15"); gruppen["4302"].push("Ryh_4302_16"); gruppen["4302"].push("Ryh_4302_19"); gruppen["4302"].push("Ryh_4302_20"); gruppen["4302"].push("Ryh_4302_21"); gruppen["4302"].push("Ryh_4302_22"); gruppen["4302"].push("Ryh_4302_23"); gruppen["4302"].push("Ryh_4302_24"); gruppen["4302"].push("Ryh_4302_25_A"); gruppen["4302"].push("Ryh_4302_25_B"); gruppen["4302"].push("Ryh_4302_26_A"); gruppen["4302"].push("Ryh_4302_26_B"); gruppen["4302"].push("Ryh_4302_27"); gruppen["4302"].push("Ryh_4302_28"); gruppen["4302"].push("Ryh_4302_29"); gruppen["4302"].push("Ryh_4302_30"); gruppen["4302"].push("Ryh_4302_31"); gruppen["4302"].push("Ryh_4302_32"); gruppen["4302"].push("Ryh_4302_33"); gruppen["4302"].push("Ryh_4302_34"); gruppen["4302"].push("Ryh_4302_35"); gruppen["4302"].push("Ryh_4302_36"); gruppen["4302"].push("Ryh_4302_37"); gruppen["4302"].push("Ryh_4302_38"); gruppen["4302"].push("Ryh_4302_40"); gruppen["4302"].push("Ryh_4302_41"); gruppen["4302"].push("Ryh_4302_42"); gruppen["4302"].push("Ryh_4302_43"); gruppen["4302"].push("Ryh_4302_44"); gruppen["4302"].push("Ryh_4302_45"); gruppen["4302"].push("Ryh_4302_46"); gruppen["4302"].push("Ryh_4302_48"); gruppen["4302"].push("Ryh_4302_49"); gruppen["4302"].push("Ryh_4302_50"); gruppen["4302"].push("Ryh_4302_51_A"); gruppen["4302"].push("Ryh_4302_51_B"); gruppen["4302"].push("Ryh_4302_52"); gruppen["4302"].push("Ryh_4302_53"); gruppen["4302"].push("Ryh_4302_54_A"); gruppen["4302"].push("Ryh_4302_54_B"); gruppen["4302"].push("Ryh_4302_55_A"); gruppen["4302"].push("Ryh_4302_55_B"); gruppen["4302"].push("Ryh_4302_56"); gruppen["4302"].push("Ryh_4302_57"); gruppen["4302"].push("Ryh_4302_58"); gruppen["4302"].push("Ryh_4302_59"); gruppen["4302"].push("Ryh_4302_60"); gruppen["4303"] = new Array(); gruppen["4303"].push("Ryh_4303_1"); gruppen["4303"].push("Ryh_4303_2"); gruppen["4303"].push("Ryh_4303_3"); gruppen["4303"].push("Ryh_4303_4"); gruppen["4303"].push("Ryh_4303_5"); gruppen["4303"].push("Ryh_4303_6"); gruppen["4303"].push("Ryh_4303_7"); gruppen["4303"].push("Ryh_4303_10"); gruppen["4303"].push("Ryh_4303_11"); gruppen["4303"].push("Ryh_4303_12"); gruppen["4303"].push("Ryh_4303_13"); gruppen["4304"] = new Array(); gruppen["4304"].push("Ryh_4304_1"); gruppen["4304"].push("Ryh_4304_2"); gruppen["4304"].push("Ryh_4304_3"); gruppen["4304"].push("Ryh_4304_4"); gruppen["4304"].push("Ryh_4304_5"); gruppen["4304"].push("Ryh_4304_6"); gruppen["4304"].push("Ryh_4304_7"); gruppen["4304"].push("Ryh_4304_8"); gruppen["4304"].push("Ryh_4304_9"); gruppen["4304"].push("Ryh_4304_10"); gruppen["4304"].push("Ryh_4304_11"); gruppen["4304"].push("Ryh_4304_12"); gruppen["4304"].push("Ryh_4304_13"); gruppen["4304"].push("Ryh_4304_14"); gruppen["4304"].push("Ryh_4304_15"); gruppen["4304"].push("Ryh_4304_16"); gruppen["4304"].push("Ryh_4304_17"); gruppen["4304"].push("Ryh_4304_18"); gruppen["4304"].push("Ryh_4304_19"); gruppen["4304"].push("Ryh_4304_20"); gruppen["4304"].push("Ryh_4304_21"); gruppen["4304"].push("Ryh_4304_22"); gruppen["4304"].push("Ryh_4304_23"); gruppen["4304"].push("Ryh_4304_24"); gruppen["4304"].push("Ryh_4304_25"); gruppen["4304"].push("Ryh_4304_26"); gruppen["4304"].push("Ryh_4304_27"); gruppen["4304"].push("Ryh_4304_28"); gruppen["4304"].push("Ryh_4304_29"); gruppen["4304"].push("Ryh_4304_30"); gruppen["4304"].push("Ryh_4304_31"); gruppen["4304"].push("Ryh_4304_32"); gruppen["4304"].push("Ryh_4304_33"); gruppen["4304"].push("Ryh_4304_34"); gruppen["4304"].push("Ryh_4304_35"); gruppen["4304"].push("Ryh_4304_36"); gruppen["4304"].push("Ryh_4304_37"); gruppen["4304"].push("Ryh_4304_38"); gruppen["4304"].push("Ryh_4304_39_A"); gruppen["4304"].push("Ryh_4304_39_B"); gruppen["4304"].push("Ryh_4304_40"); gruppen["4304"].push("Ryh_4304_41"); gruppen["4304"].push("Ryh_4304_42"); gruppen["4304"].push("Ryh_4304_43"); gruppen["4304"].push("Ryh_4304_44"); gruppen["4304"].push("Ryh_4304_45"); gruppen["4304"].push("Ryh_4304_46"); gruppen["4304"].push("Ryh_4304_47"); gruppen["4304"].push("Ryh_4304_48"); gruppen["4304"].push("Ryh_4304_49"); gruppen["4304"].push("Ryh_4304_50"); gruppen["4304"].push("Ryh_4304_51"); gruppen["4304"].push("Ryh_4304_52"); gruppen["4304"].push("Ryh_4304_53"); gruppen["4304"].push("Ryh_4304_54"); gruppen["4304"].push("Ryh_4304_55"); gruppen["4304"].push("Ryh_4304_56"); gruppen["4304"].push("Ryh_4304_57"); gruppen["4304"].push("Ryh_4304_58"); gruppen["4304"].push("Ryh_4304_59"); gruppen["4304"].push("Ryh_4304_60"); gruppen["4304"].push("Ryh_4304_61"); gruppen["4304"].push("Ryh_4304_62"); gruppen["4304"].push("Ryh_4304_63"); gruppen["4304"].push("Ryh_4304_64"); gruppen["4304"].push("Ryh_4304_65"); gruppen["4304"].push("Ryh_4304_66"); gruppen["4304"].push("Ryh_4304_67"); gruppen["4304"].push("Ryh_4304_68"); gruppen["4304"].push("Ryh_4304_69"); gruppen["4304"].push("Ryh_4304_70"); gruppen["4306"] = new Array(); gruppen["4306"].push("Ryh_4306_1"); gruppen["4306"].push("Ryh_4306_2"); gruppen["4306"].push("Ryh_4306_3"); gruppen["4306"].push("Ryh_4306_4"); gruppen["4306"].push("Ryh_4306_7"); gruppen["4306"].push("Ryh_4306_8"); gruppen["4306"].push("Ryh_4306_9"); gruppen["4306"].push("Ryh_4306_11"); gruppen["4306"].push("Ryh_4306_12"); gruppen["4306"].push("Ryh_4306_13"); gruppen["4306"].push("Ryh_4306_18"); gruppen["4306"].push("Ryh_4306_21"); gruppen["4306"].push("Ryh_4306_22"); gruppen["4306"].push("Ryh_4306_24"); gruppen["4306"].push("Ryh_4306_25"); gruppen["4306"].push("Ryh_4306_26"); gruppen["4306"].push("Ryh_4306_27"); gruppen["4306"].push("Ryh_4306_28"); gruppen["4306"].push("Ryh_4306_29"); gruppen["4306"].push("Ryh_4306_30"); gruppen["4306"].push("Ryh_4306_31"); gruppen["4306"].push("Ryh_4306_32"); gruppen["4306"].push("Ryh_4306_33"); gruppen["4306"].push("Ryh_4306_34"); gruppen["4306"].push("Ryh_4306_35"); gruppen["4306"].push("Ryh_4306_36"); gruppen["4306"].push("Ryh_4306_37"); gruppen["4306"].push("Ryh_4306_38"); gruppen["4306"].push("Ryh_4306_39"); gruppen["4306"].push("Ryh_4306_40"); gruppen["4306"].push("Ryh_4306_41"); gruppen["4306"].push("Ryh_4306_42"); gruppen["4306"].push("Ryh_4306_43"); gruppen["4306"].push("Ryh_4306_44"); gruppen["4306"].push("Ryh_4306_45"); gruppen["4306"].push("Ryh_4306_46"); gruppen["4306"].push("Ryh_4306_51"); gruppen["4306"].push("Ryh_4306_52"); gruppen["4306"].push("Ryh_4306_53"); gruppen["4307"] = new Array(); gruppen["4307"].push("Ryh_4307_1"); gruppen["4307"].push("Ryh_4307_2"); gruppen["4307"].push("Ryh_4307_6"); gruppen["4307"].push("Ryh_4307_7"); gruppen["4307"].push("Ryh_4307_8"); gruppen["4307"].push("Ryh_4307_9"); gruppen["4307"].push("Ryh_4307_21"); gruppen["4307"].push("Ryh_4307_22"); gruppen["4307"].push("Ryh_4307_23"); gruppen["4307"].push("Ryh_4307_24"); gruppen["4307"].push("Ryh_4307_25"); gruppen["4307"].push("Ryh_4307_26"); gruppen["4307"].push("Ryh_4307_27"); gruppen["4307"].push("Ryh_4307_31"); gruppen["4307"].push("Ryh_4307_32"); gruppen["4307"].push("Ryh_4307_33"); gruppen["4307"].push("Ryh_4307_34"); gruppen["4308"] = new Array(); gruppen["4308"].push("Ryh_4308_1"); gruppen["4308"].push("Ryh_4308_2"); gruppen["4308"].push("Ryh_4308_3"); gruppen["4308"].push("Ryh_4308_4"); gruppen["4308"].push("Ryh_4308_5"); gruppen["4308"].push("Ryh_4308_6"); gruppen["4308"].push("Ryh_4308_7"); gruppen["4308"].push("Ryh_4308_8"); gruppen["4308"].push("Ryh_4308_9"); gruppen["4308"].push("Ryh_4308_10_A"); gruppen["4308"].push("Ryh_4308_10_B"); gruppen["4308"].push("Ryh_4308_11"); gruppen["4308"].push("Ryh_4308_12"); gruppen["4308"].push("Ryh_4308_13"); gruppen["4308"].push("Ryh_4308_14"); gruppen["4308"].push("Ryh_4308_15"); gruppen["4308"].push("Ryh_4308_20"); gruppen["4308"].push("Ryh_4308_21"); gruppen["4308"].push("Ryh_4308_22"); gruppen["4308"].push("Ryh_4308_23"); gruppen["4308"].push("Ryh_4308_24"); gruppen["4308"].push("Ryh_4308_25"); gruppen["4308"].push("Ryh_4308_26"); gruppen["4308"].push("Ryh_4308_27"); gruppen["4308"].push("Ryh_4308_28"); gruppen["4308"].push("Ryh_4308_29"); gruppen["4308"].push("Ryh_4308_30"); gruppen["4308"].push("Ryh_4308_31"); gruppen["4308"].push("Ryh_4308_32"); gruppen["4308"].push("Ryh_4308_41"); gruppen["4308"].push("Ryh_4308_42"); gruppen["4308"].push("Ryh_4308_43"); gruppen["4308"].push("Ryh_4308_44"); gruppen["4308"].push("Ryh_4308_45"); gruppen["4308"].push("Ryh_4308_46"); gruppen["4308"].push("Ryh_4308_47"); gruppen["4309"] = new Array(); gruppen["4309"].push("Ryh_4309_1_A"); gruppen["4309"].push("Ryh_4309_1_B"); gruppen["4309"].push("Ryh_4309_2"); gruppen["4309"].push("Ryh_4309_3_A"); gruppen["4309"].push("Ryh_4309_3_B"); gruppen["4309"].push("Ryh_4309_4_A"); gruppen["4309"].push("Ryh_4309_4_B"); gruppen["4309"].push("Ryh_4309_5"); gruppen["4309"].push("Ryh_4309_6"); gruppen["4309"].push("Ryh_4309_7"); gruppen["4309"].push("Ryh_4309_8"); gruppen["4309"].push("Ryh_4309_9"); gruppen["4309"].push("Ryh_4309_10"); gruppen["4309"].push("Ryh_4309_11"); gruppen["4309"].push("Ryh_4309_12"); gruppen["4309"].push("Ryh_4309_13"); gruppen["4309"].push("Ryh_4309_14"); gruppen["4309"].push("Ryh_4309_15"); gruppen["4309"].push("Ryh_4309_16"); gruppen["4309"].push("Ryh_4309_17"); gruppen["4309"].push("Ryh_4309_18"); gruppen["4309"].push("Ryh_4309_19"); gruppen["4309"].push("Ryh_4309_20"); gruppen["4309"].push("Ryh_4309_21"); gruppen["4309"].push("Ryh_4309_22"); gruppen["4309"].push("Ryh_4309_23"); gruppen["4309"].push("Ryh_4309_24"); gruppen["4309"].push("Ryh_4309_25"); gruppen["4309"].push("Ryh_4309_26"); gruppen["4309"].push("Ryh_4309_27"); gruppen["4309"].push("Ryh_4309_28"); gruppen["4309"].push("Ryh_4309_29"); gruppen["4309"].push("Ryh_4309_30"); gruppen["4309"].push("Ryh_4309_31"); gruppen["4309"].push("Ryh_4309_32"); gruppen["4309"].push("Ryh_4309_33"); gruppen["4309"].push("Ryh_4309_34"); gruppen["4309"].push("Ryh_4309_35"); gruppen["4309"].push("Ryh_4309_36"); gruppen["4309"].push("Ryh_4309_37"); gruppen["4309"].push("Ryh_4309_38"); gruppen["4309"].push("Ryh_4309_39"); gruppen["4309"].push("Ryh_4309_41"); gruppen["4309"].push("Ryh_4309_42"); gruppen["4309"].push("Ryh_4309_43"); gruppen["4309"].push("Ryh_4309_44"); gruppen["4309"].push("Ryh_4309_45_A"); gruppen["4309"].push("Ryh_4309_45_B"); gruppen["4309"].push("Ryh_4309_46"); gruppen["4309"].push("Ryh_4309_47_A"); gruppen["4309"].push("Ryh_4309_47_B"); gruppen["4309"].push("Ryh_4309_48_A"); gruppen["4309"].push("Ryh_4309_48_B"); gruppen["4309"].push("Ryh_4309_49"); gruppen["4309"].push("Ryh_4309_50_A"); gruppen["4309"].push("Ryh_4309_50_B"); gruppen["4310"] = new Array(); gruppen["4310"].push("Ryh_4310_1"); gruppen["4310"].push("Ryh_4310_2"); gruppen["4310"].push("Ryh_4310_3"); gruppen["4310"].push("Ryh_4310_4"); gruppen["4310"].push("Ryh_4310_5"); gruppen["4310"].push("Ryh_4310_6"); gruppen["4310"].push("Ryh_4310_7"); gruppen["4310"].push("Ryh_4310_8"); gruppen["4310"].push("Ryh_4310_9"); gruppen["4310"].push("Ryh_4310_10"); gruppen["4310"].push("Ryh_4310_11"); gruppen["4310"].push("Ryh_4310_12"); gruppen["4310"].push("Ryh_4310_13"); gruppen["4310"].push("Ryh_4310_14"); gruppen["4310"].push("Ryh_4310_15"); gruppen["4310"].push("Ryh_4310_16"); gruppen["4310"].push("Ryh_4310_17"); gruppen["4310"].push("Ryh_4310_18"); gruppen["4310"].push("Ryh_4310_19"); gruppen["4310"].push("Ryh_4310_20"); gruppen["4310"].push("Ryh_4310_21"); gruppen["4310"].push("Ryh_4310_22"); gruppen["4310"].push("Ryh_4310_23"); gruppen["4310"].push("Ryh_4310_24"); gruppen["4310"].push("Ryh_4310_25"); gruppen["4311"] = new Array(); gruppen["4311"].push("Ryh_4311_1_A"); gruppen["4311"].push("Ryh_4311_1_B"); gruppen["4311"].push("Ryh_4311_2"); gruppen["4311"].push("Ryh_4311_13"); gruppen["4311"].push("Ryh_4311_14"); gruppen["4311"].push("Ryh_4311_15"); gruppen["4311"].push("Ryh_4311_16"); gruppen["4311"].push("Ryh_4311_17"); gruppen["4311"].push("Ryh_4311_18"); gruppen["4311"].push("Ryh_4311_19"); gruppen["4311"].push("Ryh_4311_20"); gruppen["4311"].push("Ryh_4311_21"); gruppen["4311"].push("Ryh_4311_22"); gruppen["4311"].push("Ryh_4311_23"); gruppen["4311"].push("Ryh_4311_24"); gruppen["4311"].push("Ryh_4311_25"); gruppen["4311"].push("Ryh_4311_26"); gruppen["4311"].push("Ryh_4311_27"); gruppen["4311"].push("Ryh_4311_28"); gruppen["4311"].push("Ryh_4311_29"); gruppen["4311"].push("Ryh_4311_30"); gruppen["4311"].push("Ryh_4311_31"); gruppen["4311"].push("Ryh_4311_32"); gruppen["4311"].push("Ryh_4311_33"); gruppen["4311"].push("Ryh_4311_34"); gruppen["4311"].push("Ryh_4311_35"); gruppen["4311"].push("Ryh_4311_36"); gruppen["4311"].push("Ryh_4311_37"); gruppen["4311"].push("Ryh_4311_38"); gruppen["4311"].push("Ryh_4311_39"); gruppen["4311"].push("Ryh_4311_40"); gruppen["4311"].push("Ryh_4311_41"); gruppen["4311"].push("Ryh_4311_42"); gruppen["4311"].push("Ryh_4311_43"); gruppen["4311"].push("Ryh_4311_44"); gruppen["4311"].push("Ryh_4311_45"); gruppen["4311"].push("Ryh_4311_46"); gruppen["4311"].push("Ryh_4311_47"); gruppen["4311"].push("Ryh_4311_48"); gruppen["4312"] = new Array(); gruppen["4312"].push("Ryh_4312_1"); gruppen["4312"].push("Ryh_4312_2"); gruppen["4312"].push("Ryh_4312_3"); gruppen["4312"].push("Ryh_4312_4"); gruppen["4312"].push("Ryh_4312_5"); gruppen["4312"].push("Ryh_4312_6"); gruppen["4312"].push("Ryh_4312_7"); gruppen["4312"].push("Ryh_4312_8"); gruppen["4312"].push("Ryh_4312_9"); gruppen["4312"].push("Ryh_4312_10"); gruppen["4312"].push("Ryh_4312_11"); gruppen["4312"].push("Ryh_4312_12"); gruppen["4312"].push("Ryh_4312_13"); gruppen["4312"].push("Ryh_4312_14"); gruppen["4312"].push("Ryh_4312_15"); gruppen["4312"].push("Ryh_4312_16"); gruppen["4312"].push("Ryh_4312_17"); gruppen["4312"].push("Ryh_4312_18"); gruppen["4312"].push("Ryh_4312_19"); gruppen["4312"].push("Ryh_4312_20"); gruppen["4312"].push("Ryh_4312_21"); gruppen["4312"].push("Ryh_4312_22"); gruppen["4312"].push("Ryh_4312_23"); gruppen["4312"].push("Ryh_4312_24"); gruppen["4312"].push("Ryh_4312_25"); gruppen["4312"].push("Ryh_4312_26"); gruppen["4312"].push("Ryh_4312_27"); gruppen["4312"].push("Ryh_4312_28"); gruppen["4312"].push("Ryh_4312_29"); gruppen["4312"].push("Ryh_4312_30"); gruppen["4312"].push("Ryh_4312_31"); gruppen["4312"].push("Ryh_4312_32"); gruppen["4312"].push("Ryh_4312_33"); gruppen["4312"].push("Ryh_4312_34"); gruppen["4312"].push("Ryh_4312_35"); gruppen["4312"].push("Ryh_4312_36"); gruppen["4312"].push("Ryh_4312_37"); gruppen["4312"].push("Ryh_4312_38"); gruppen["4312"].push("Ryh_4312_39"); gruppen["4312"].push("Ryh_4312_40"); gruppen["4312"].push("Ryh_4312_41"); gruppen["4312"].push("Ryh_4312_42"); gruppen["4312"].push("Ryh_4312_43"); gruppen["4312"].push("Ryh_4312_44"); gruppen["4312"].push("Ryh_4312_45"); gruppen["4312"].push("Ryh_4312_46"); gruppen["4312"].push("Ryh_4312_47"); gruppen["4312"].push("Ryh_4312_48"); gruppen["4312"].push("Ryh_4312_49"); gruppen["4312"].push("Ryh_4312_50"); gruppen["4312"].push("Ryh_4312_51"); gruppen["4312"].push("Ryh_4312_52"); gruppen["4312"].push("Ryh_4312_53"); gruppen["4312"].push("Ryh_4312_54"); gruppen["4312"].push("Ryh_4312_55"); gruppen["4312"].push("Ryh_4312_56"); gruppen["4312"].push("Ryh_4312_57"); gruppen["4312"].push("Ryh_4312_58"); gruppen["4312"].push("Ryh_4312_59"); gruppen["4312"].push("Ryh_4312_60"); gruppen["4312"].push("Ryh_4312_61"); gruppen["4312"].push("Ryh_4312_62"); gruppen["4312"].push("Ryh_4312_63"); gruppen["4312"].push("Ryh_4312_64"); gruppen["4312"].push("Ryh_4312_65"); gruppen["4312"].push("Ryh_4312_66"); gruppen["4312"].push("Ryh_4312_67"); gruppen["4312"].push("Ryh_4312_68"); gruppen["4312"].push("Ryh_4312_69"); gruppen["4312"].push("Ryh_4312_70"); gruppen["4312"].push("Ryh_4312_71"); gruppen["4312"].push("Ryh_4312_72"); gruppen["4312"].push("Ryh_4312_73"); gruppen["4312"].push("Ryh_4312_74"); gruppen["4312"].push("Ryh_4312_75"); gruppen["4312"].push("Ryh_4312_76"); gruppen["4312"].push("Ryh_4312_77"); gruppen["4312"].push("Ryh_4312_78"); gruppen["4312"].push("Ryh_4312_79"); gruppen["4312"].push("Ryh_4312_80"); gruppen["4312"].push("Ryh_4312_81"); gruppen["4313"] = new Array(); gruppen["4313"].push("Ryh_4313_1"); gruppen["4313"].push("Ryh_4313_2"); gruppen["4313"].push("Ryh_4313_3"); gruppen["4313"].push("Ryh_4313_4_A"); gruppen["4313"].push("Ryh_4313_4_B"); gruppen["4313"].push("Ryh_4313_5_A"); gruppen["4313"].push("Ryh_4313_5_B"); gruppen["4313"].push("Ryh_4313_6"); gruppen["4313"].push("Ryh_4313_7"); gruppen["4401"] = new Array(); gruppen["4401"].push("Ryh_4401_2"); gruppen["4401"].push("Ryh_4401_3"); gruppen["4401"].push("Ryh_4401_4"); gruppen["4401"].push("Ryh_4401_5"); gruppen["4401"].push("Ryh_4401_7"); gruppen["4401"].push("Ryh_4401_9"); gruppen["4401"].push("Ryh_4401_10"); gruppen["4401"].push("Ryh_4401_11"); gruppen["4401"].push("Ryh_4401_12"); gruppen["4401"].push("Ryh_4401_13"); gruppen["4401"].push("Ryh_4401_16"); gruppen["4401"].push("Ryh_4401_17"); gruppen["4401"].push("Ryh_4401_18"); gruppen["4401"].push("Ryh_4401_19"); gruppen["4401"].push("Ryh_4401_20"); gruppen["4401"].push("Ryh_4401_21"); gruppen["4401"].push("Ryh_4401_22"); gruppen["4401"].push("Ryh_4401_23"); gruppen["4401"].push("Ryh_4401_24"); gruppen["4401"].push("Ryh_4401_25"); gruppen["4401"].push("Ryh_4401_26"); gruppen["4401"].push("Ryh_4401_27"); gruppen["4401"].push("Ryh_4401_28"); gruppen["4401"].push("Ryh_4401_29"); gruppen["4401"].push("Ryh_4401_30"); gruppen["4401"].push("Ryh_4401_31"); gruppen["4401"].push("Ryh_4401_32"); gruppen["4401"].push("Ryh_4401_33"); gruppen["4401"].push("Ryh_4401_34"); gruppen["4401"].push("Ryh_4401_35"); gruppen["4401"].push("Ryh_4401_36"); gruppen["4401"].push("Ryh_4401_37"); gruppen["4401"].push("Ryh_4401_38"); gruppen["4401"].push("Ryh_4401_39"); gruppen["4403"] = new Array(); gruppen["4403"].push("Ryh_4403_1_A"); gruppen["4403"].push("Ryh_4403_1_B"); gruppen["4403"].push("Ryh_4403_2"); gruppen["4403"].push("Ryh_4403_3"); gruppen["4403"].push("Ryh_4403_4_A"); gruppen["4403"].push("Ryh_4403_4_B"); gruppen["4403"].push("Ryh_4403_5"); gruppen["4403"].push("Ryh_4403_6"); gruppen["4403"].push("Ryh_4403_7"); gruppen["4403"].push("Ryh_4403_8"); gruppen["4403"].push("Ryh_4403_9"); gruppen["4403"].push("Ryh_4403_13"); gruppen["4403"].push("Ryh_4403_14"); gruppen["4403"].push("Ryh_4403_17"); gruppen["4403"].push("Ryh_4403_18"); gruppen["4403"].push("Ryh_4403_21"); gruppen["4403"].push("Ryh_4403_22"); gruppen["4403"].push("Ryh_4403_23"); gruppen["4403"].push("Ryh_4403_24"); gruppen["4403"].push("Ryh_4403_25"); gruppen["4403"].push("Ryh_4403_26"); gruppen["4403"].push("Ryh_4403_28"); gruppen["4403"].push("Ryh_4403_29"); gruppen["4403"].push("Ryh_4403_30"); gruppen["4403"].push("Ryh_4403_32"); gruppen["4403"].push("Ryh_4403_34"); gruppen["4403"].push("Ryh_4403_35"); gruppen["4403"].push("Ryh_4403_36"); gruppen["4403"].push("Ryh_4403_37"); gruppen["4403"].push("Ryh_4403_38"); gruppen["4403"].push("Ryh_4403_39"); gruppen["4403"].push("Ryh_4403_40"); gruppen["4403"].push("Ryh_4403_41"); gruppen["4403"].push("Ryh_4403_42"); gruppen["4403"].push("Ryh_4403_43"); gruppen["4403"].push("Ryh_4403_44"); gruppen["4403"].push("Ryh_4403_45"); gruppen["4403"].push("Ryh_4403_52"); gruppen["4403"].push("Ryh_4403_53"); gruppen["4403"].push("Ryh_4403_54"); gruppen["4403"].push("Ryh_4403_55"); gruppen["4403"].push("Ryh_4403_56"); gruppen["4403"].push("Ryh_4403_57"); gruppen["4403"].push("Ryh_4403_58"); gruppen["4403"].push("Ryh_4403_59"); gruppen["4403"].push("Ryh_4403_60"); gruppen["4405"] = new Array(); gruppen["4405"].push("Ryh_4405_1"); gruppen["4405"].push("Ryh_4405_2"); gruppen["4405"].push("Ryh_4405_3"); gruppen["4405"].push("Ryh_4405_4"); gruppen["4405"].push("Ryh_4405_5"); gruppen["4405"].push("Ryh_4405_6"); gruppen["4405"].push("Ryh_4405_7"); gruppen["4405"].push("Ryh_4405_8"); gruppen["4405"].push("Ryh_4405_9"); gruppen["4405"].push("Ryh_4405_10"); gruppen["4405"].push("Ryh_4405_11"); gruppen["4405"].push("Ryh_4405_12"); gruppen["4405"].push("Ryh_4405_13"); gruppen["4405"].push("Ryh_4405_14"); gruppen["4405"].push("Ryh_4405_15"); gruppen["4405"].push("Ryh_4405_16"); gruppen["4405"].push("Ryh_4405_17"); gruppen["4405"].push("Ryh_4405_18"); gruppen["4405"].push("Ryh_4405_19"); gruppen["4405"].push("Ryh_4405_20"); gruppen["4405"].push("Ryh_4405_21"); gruppen["4405"].push("Ryh_4405_22"); gruppen["4405"].push("Ryh_4405_23"); gruppen["4405"].push("Ryh_4405_51"); gruppen["4405"].push("Ryh_4405_52"); gruppen["4405"].push("Ryh_4405_53"); gruppen["4405"].push("Ryh_4405_58"); gruppen["4407"] = new Array(); gruppen["4407"].push("Ryh_4407_1_A"); gruppen["4407"].push("Ryh_4407_1_B"); gruppen["4407"].push("Ryh_4407_2"); gruppen["4407"].push("Ryh_4407_3"); gruppen["4407"].push("Ryh_4407_4"); gruppen["4407"].push("Ryh_4407_5"); gruppen["4407"].push("Ryh_4407_6"); gruppen["4407"].push("Ryh_4407_7"); gruppen["4407"].push("Ryh_4407_8"); gruppen["4407"].push("Ryh_4407_9"); gruppen["4407"].push("Ryh_4407_10"); gruppen["4407"].push("Ryh_4407_11"); gruppen["4407"].push("Ryh_4407_12"); gruppen["4407"].push("Ryh_4407_13"); gruppen["4407"].push("Ryh_4407_16"); gruppen["4407"].push("Ryh_4407_17"); gruppen["4407"].push("Ryh_4407_18"); gruppen["4407"].push("Ryh_4407_19"); gruppen["4407"].push("Ryh_4407_20"); gruppen["4407"].push("Ryh_4407_21"); gruppen["4407"].push("Ryh_4407_23"); gruppen["4407"].push("Ryh_4407_24"); gruppen["4407"].push("Ryh_4407_25"); gruppen["4408"] = new Array(); gruppen["4408"].push("Ryh_4408_1"); gruppen["4408"].push("Ryh_4408_2"); gruppen["4408"].push("Ryh_4408_3"); gruppen["4408"].push("Ryh_4408_4"); gruppen["4408"].push("Ryh_4408_5"); gruppen["4408"].push("Ryh_4408_6"); gruppen["4408"].push("Ryh_4408_7"); gruppen["4408"].push("Ryh_4408_8"); gruppen["4408"].push("Ryh_4408_9"); gruppen["4408"].push("Ryh_4408_10"); gruppen["4408"].push("Ryh_4408_11"); gruppen["4408"].push("Ryh_4408_35_A"); gruppen["4408"].push("Ryh_4408_36"); gruppen["4408"].push("Ryh_4408_37"); gruppen["4408"].push("Ryh_4408_41"); gruppen["4408"].push("Ryh_4408_43"); gruppen["4408"].push("Ryh_4408_44"); gruppen["4408"].push("Ryh_4408_45"); gruppen["4409"] = new Array(); gruppen["4409"].push("Ryh_4409_1"); gruppen["4409"].push("Ryh_4409_2"); gruppen["4409"].push("Ryh_4409_3"); gruppen["4409"].push("Ryh_4409_4"); gruppen["4409"].push("Ryh_4409_5"); gruppen["4409"].push("Ryh_4409_6"); gruppen["4409"].push("Ryh_4409_7"); gruppen["4409"].push("Ryh_4409_8"); gruppen["4409"].push("Ryh_4409_8_B"); gruppen["4409"].push("Ryh_4409_9"); gruppen["4409"].push("Ryh_4409_10"); gruppen["4409"].push("Ryh_4409_11"); gruppen["4409"].push("Ryh_4409_12"); gruppen["4409"].push("Ryh_4409_20"); gruppen["4409"].push("Ryh_4409_21"); gruppen["4409"].push("Ryh_4409_22"); gruppen["4409"].push("Ryh_4409_23"); gruppen["4409"].push("Ryh_4409_24"); gruppen["4409"].push("Ryh_4409_25"); gruppen["4409"].push("Ryh_4409_26"); gruppen["4409"].push("Ryh_4409_27"); gruppen["4409"].push("Ryh_4409_28"); gruppen["4410"] = new Array(); gruppen["4410"].push("Ryh_4410_2"); gruppen["4410"].push("Ryh_4410_3"); gruppen["4410"].push("Ryh_4410_4"); gruppen["4410"].push("Ryh_4410_5"); gruppen["4410"].push("Ryh_4410_11"); gruppen["4410"].push("Ryh_4410_13"); gruppen["4410"].push("Ryh_4410_14"); gruppen["4410"].push("Ryh_4410_15"); gruppen["4410"].push("Ryh_4410_16"); gruppen["4410"].push("Ryh_4410_17"); gruppen["4410"].push("Ryh_4410_18"); gruppen["4410"].push("Ryh_4410_19"); gruppen["4410"].push("Ryh_4410_20"); gruppen["4410"].push("Ryh_4410_21"); gruppen["4410"].push("Ryh_4410_22"); gruppen["4410"].push("Ryh_4410_23"); gruppen["4410"].push("Ryh_4410_24"); gruppen["4410"].push("Ryh_4410_25"); gruppen["4410"].push("Ryh_4410_26"); gruppen["4410"].push("Ryh_4410_27"); gruppen["4410"].push("Ryh_4410_28"); gruppen["4410"].push("Ryh_4410_29"); gruppen["4410"].push("Ryh_4410_30"); gruppen["4410"].push("Ryh_4410_31"); gruppen["4410"].push("Ryh_4410_32"); gruppen["4410"].push("Ryh_4410_33"); gruppen["4410"].push("Ryh_4410_34"); gruppen["4410"].push("Ryh_4410_35"); gruppen["4410"].push("Ryh_4410_36"); gruppen["4410"].push("Ryh_4410_37"); gruppen["4410"].push("Ryh_4410_56_A"); gruppen["4410"].push("Ryh_4410_56_B"); gruppen["4410"].push("Ryh_4410_57"); gruppen["4410"].push("Ryh_4410_58"); gruppen["4410"].push("Ryh_4410_59"); gruppen["4501"] = new Array(); gruppen["4501"].push("Ryh_4501_3"); gruppen["4501"].push("Ryh_4501_4"); gruppen["4501"].push("Ryh_4501_5"); gruppen["4501"].push("Ryh_4501_6"); gruppen["4501"].push("Ryh_4501_7"); gruppen["4501"].push("Ryh_4501_8"); gruppen["4501"].push("Ryh_4501_9"); gruppen["4501"].push("Ryh_4501_10"); gruppen["4501"].push("Ryh_4501_14"); gruppen["4501"].push("Ryh_4501_15"); gruppen["4501"].push("Ryh_4501_17"); gruppen["4501"].push("Ryh_4501_18"); gruppen["4501"].push("Ryh_4501_19"); gruppen["4501"].push("Ryh_4501_20"); gruppen["4501"].push("Ryh_4501_21"); gruppen["4501"].push("Ryh_4501_22"); gruppen["4501"].push("Ryh_4501_23"); gruppen["4501"].push("Ryh_4501_24"); gruppen["4501"].push("Ryh_4501_25"); gruppen["4501"].push("Ryh_4501_26"); gruppen["4501"].push("Ryh_4501_28"); gruppen["4501"].push("Ryh_4501_29"); gruppen["4501"].push("Ryh_4501_30"); gruppen["4501"].push("Ryh_4501_31"); gruppen["4501"].push("Ryh_4501_32"); gruppen["4501"].push("Ryh_4501_33"); gruppen["4501"].push("Ryh_4501_35"); gruppen["4501"].push("Ryh_4501_36"); gruppen["4501"].push("Ryh_4501_38"); gruppen["4501"].push("Ryh_4501_39_A"); gruppen["4501"].push("Ryh_4501_39_B"); gruppen["4501"].push("Ryh_4501_40"); gruppen["4501"].push("Ryh_4501_41"); gruppen["4501"].push("Ryh_4501_42"); gruppen["4501"].push("Ryh_4501_43"); gruppen["4501"].push("Ryh_4501_44"); gruppen["4502"] = new Array(); gruppen["4502"].push("Ryh_4502_3"); gruppen["4502"].push("Ryh_4502_4"); gruppen["4502"].push("Ryh_4502_5"); gruppen["4502"].push("Ryh_4502_6"); gruppen["4502"].push("Ryh_4502_7"); gruppen["4502"].push("Ryh_4502_8"); gruppen["4502"].push("Ryh_4502_9"); gruppen["4502"].push("Ryh_4502_10"); gruppen["4502"].push("Ryh_4502_11"); gruppen["4502"].push("Ryh_4502_12"); gruppen["4502"].push("Ryh_4502_13_A"); gruppen["4502"].push("Ryh_4502_13_B"); gruppen["4502"].push("Ryh_4502_38"); gruppen["4502"].push("Ryh_4502_39"); gruppen["4502"].push("Ryh_4502_40"); gruppen["4502"].push("Ryh_4502_41"); gruppen["4502"].push("Ryh_4502_42"); gruppen["4502"].push("Ryh_4502_43"); gruppen["4502"].push("Ryh_4502_44"); gruppen["4502"].push("Ryh_4502_45"); gruppen["4502"].push("Ryh_4502_46"); gruppen["4502"].push("Ryh_4502_47"); gruppen["4502"].push("Ryh_4502_48"); gruppen["4503"] = new Array(); gruppen["4503"].push("Ryh_4503_2"); gruppen["4503"].push("Ryh_4503_6"); gruppen["4503"].push("Ryh_4503_9"); gruppen["4503"].push("Ryh_4503_13"); gruppen["4503"].push("Ryh_4503_31"); gruppen["4503"].push("Ryh_4503_32"); gruppen["4503"].push("Ryh_4503_33"); gruppen["4503"].push("Ryh_4503_34"); gruppen["4503"].push("Ryh_4503_35"); gruppen["4503"].push("Ryh_4503_36"); gruppen["4503"].push("Ryh_4503_37"); gruppen["4503"].push("Ryh_4503_38"); gruppen["4503"].push("Ryh_4503_39"); gruppen["4503"].push("Ryh_4503_40"); gruppen["4503"].push("Ryh_4503_41"); gruppen["4503"].push("Ryh_4503_42_A"); gruppen["4503"].push("Ryh_4503_42_B"); gruppen["4503"].push("Ryh_4503_43"); gruppen["4503"].push("Ryh_4503_44"); gruppen["4503"].push("Ryh_4503_45"); gruppen["4503"].push("Ryh_4503_46"); gruppen["4503"].push("Ryh_4503_47_A"); gruppen["4503"].push("Ryh_4503_47_B"); gruppen["4503"].push("Ryh_4503_47_C"); gruppen["4503"].push("Ryh_4503_47_D"); gruppen["4503"].push("Ryh_4503_48_A"); gruppen["4503"].push("Ryh_4503_48_B"); gruppen["4503"].push("Ryh_4503_49_A"); gruppen["4503"].push("Ryh_4503_49_B"); gruppen["4503"].push("Ryh_4503_50_A"); gruppen["4503"].push("Ryh_4503_50_B"); gruppen["4504"] = new Array(); gruppen["4504"].push("Ryh_4504_1"); gruppen["4504"].push("Ryh_4504_2"); gruppen["4504"].push("Ryh_4504_3"); gruppen["4504"].push("Ryh_4504_4"); gruppen["4504"].push("Ryh_4504_5"); gruppen["4504"].push("Ryh_4504_6"); gruppen["4504"].push("Ryh_4504_41"); gruppen["4504"].push("Ryh_4504_43"); gruppen["4504"].push("Ryh_4504_44"); gruppen["4504"].push("Ryh_4504_46"); gruppen["4505"] = new Array(); gruppen["4505"].push("Ryh_4505_1"); gruppen["4505"].push("Ryh_4505_2"); gruppen["4505"].push("Ryh_4505_3"); gruppen["4505"].push("Ryh_4505_4"); gruppen["4505"].push("Ryh_4505_5"); gruppen["4505"].push("Ryh_4505_6"); gruppen["4505"].push("Ryh_4505_7"); gruppen["4505"].push("Ryh_4505_8"); gruppen["4505"].push("Ryh_4505_9"); gruppen["4505"].push("Ryh_4505_10"); gruppen["4505"].push("Ryh_4505_11"); gruppen["4505"].push("Ryh_4505_12"); gruppen["4505"].push("Ryh_4505_13"); gruppen["4505"].push("Ryh_4505_14"); gruppen["4505"].push("Ryh_4505_15"); gruppen["4505"].push("Ryh_4505_16"); gruppen["4505"].push("Ryh_4505_17"); gruppen["4505"].push("Ryh_4505_18"); gruppen["4505"].push("Ryh_4505_19"); gruppen["4505"].push("Ryh_4505_20"); gruppen["4505"].push("Ryh_4505_21"); gruppen["4505"].push("Ryh_4505_22"); gruppen["4505"].push("Ryh_4505_23"); gruppen["4601"] = new Array(); gruppen["4601"].push("Ryh_4601_1"); gruppen["4601"].push("Ryh_4601_2"); gruppen["4601"].push("Ryh_4601_3"); gruppen["4601"].push("Ryh_4601_4"); gruppen["4601"].push("Ryh_4601_5"); gruppen["4601"].push("Ryh_4601_6"); gruppen["4601"].push("Ryh_4601_7"); gruppen["4601"].push("Ryh_4601_8"); gruppen["4601"].push("Ryh_4601_9"); gruppen["4601"].push("Ryh_4601_10"); gruppen["4601"].push("Ryh_4601_11"); gruppen["4601"].push("Ryh_4601_12"); gruppen["4601"].push("Ryh_4601_13"); gruppen["4601"].push("Ryh_4601_14"); gruppen["4601"].push("Ryh_4601_15"); gruppen["4601"].push("Ryh_4601_16"); gruppen["4601"].push("Ryh_4601_17"); gruppen["4601"].push("Ryh_4601_18"); gruppen["4601"].push("Ryh_4601_19"); gruppen["4601"].push("Ryh_4601_20"); gruppen["4601"].push("Ryh_4601_21_A"); gruppen["4601"].push("Ryh_4601_21_B"); gruppen["4601"].push("Ryh_4601_22_A"); gruppen["4601"].push("Ryh_4601_22_B"); gruppen["4601"].push("Ryh_4601_23"); gruppen["4601"].push("Ryh_4601_24"); gruppen["4601"].push("Ryh_4601_25"); gruppen["4601"].push("Ryh_4601_26"); gruppen["4601"].push("Ryh_4601_27"); gruppen["4601"].push("Ryh_4601_28"); gruppen["4601"].push("Ryh_4601_29"); gruppen["4601"].push("Ryh_4601_30"); gruppen["4601"].push("Ryh_4601_31"); gruppen["4601"].push("Ryh_4601_32"); gruppen["4601"].push("Ryh_4601_33"); gruppen["4601"].push("Ryh_4601_34"); gruppen["4601"].push("Ryh_4601_35"); gruppen["4601"].push("Ryh_4601_36"); gruppen["4601"].push("Ryh_4601_37"); gruppen["4602"] = new Array(); gruppen["4602"].push("Ryh_4602_2"); gruppen["4602"].push("Ryh_4602_3"); gruppen["4602"].push("Ryh_4602_4"); gruppen["4602"].push("Ryh_4602_5"); gruppen["4602"].push("Ryh_4602_7"); gruppen["4602"].push("Ryh_4602_8"); gruppen["4602"].push("Ryh_4602_9"); gruppen["4602"].push("Ryh_4602_10"); gruppen["4602"].push("Ryh_4602_11"); gruppen["4602"].push("Ryh_4602_12"); gruppen["4602"].push("Ryh_4602_13"); gruppen["4602"].push("Ryh_4602_14"); gruppen["4602"].push("Ryh_4602_15"); gruppen["4602"].push("Ryh_4602_16"); gruppen["4602"].push("Ryh_4602_17"); gruppen["4602"].push("Ryh_4602_18"); gruppen["4602"].push("Ryh_4602_19"); gruppen["4602"].push("Ryh_4602_20"); gruppen["4602"].push("Ryh_4602_21"); gruppen["4602"].push("Ryh_4602_22"); gruppen["4602"].push("Ryh_4602_23"); gruppen["4602"].push("Ryh_4602_24"); gruppen["4602"].push("Ryh_4602_25"); gruppen["4603"] = new Array(); gruppen["4603"].push("Ryh_4603_1"); gruppen["4603"].push("Ryh_4603_2"); gruppen["4603"].push("Ryh_4603_3"); gruppen["4603"].push("Ryh_4603_4"); gruppen["4603"].push("Ryh_4603_5"); gruppen["4603"].push("Ryh_4603_6"); gruppen["4603"].push("Ryh_4603_7"); gruppen["4603"].push("Ryh_4603_8"); gruppen["4603"].push("Ryh_4603_9"); gruppen["4603"].push("Ryh_4603_10"); gruppen["4603"].push("Ryh_4603_11"); gruppen["4603"].push("Ryh_4603_12"); gruppen["4603"].push("Ryh_4603_13"); gruppen["4603"].push("Ryh_4603_15"); gruppen["4603"].push("Ryh_4603_16"); gruppen["4603"].push("Ryh_4603_17"); gruppen["4603"].push("Ryh_4603_18"); gruppen["4603"].push("Ryh_4603_20"); gruppen["4603"].push("Ryh_4603_21"); gruppen["4603"].push("Ryh_4603_22"); gruppen["4603"].push("Ryh_4603_23"); gruppen["4603"].push("Ryh_4603_24"); gruppen["4603"].push("Ryh_4603_25"); gruppen["4603"].push("Ryh_4603_26"); gruppen["4603"].push("Ryh_4603_27"); gruppen["4604"] = new Array(); gruppen["4604"].push("Ryh_4604_1"); gruppen["4604"].push("Ryh_4604_3"); gruppen["4604"].push("Ryh_4604_4"); gruppen["4604"].push("Ryh_4604_5"); gruppen["4604"].push("Ryh_4604_7"); gruppen["4604"].push("Ryh_4604_8"); gruppen["4604"].push("Ryh_4604_9"); gruppen["4604"].push("Ryh_4604_10"); gruppen["4604"].push("Ryh_4604_11"); gruppen["4604"].push("Ryh_4604_12"); gruppen["4604"].push("Ryh_4604_13"); gruppen["4604"].push("Ryh_4604_21"); gruppen["4604"].push("Ryh_4604_22"); gruppen["4604"].push("Ryh_4604_23"); gruppen["4604"].push("Ryh_4604_24"); gruppen["4604"].push("Ryh_4604_25"); gruppen["4604"].push("Ryh_4604_26"); gruppen["4604"].push("Ryh_4604_27"); gruppen["4604"].push("Ryh_4604_28"); gruppen["4604"].push("Ryh_4604_29"); gruppen["4604"].push("Ryh_4604_30"); gruppen["4604"].push("Ryh_4604_31"); gruppen["4604"].push("Ryh_4604_32"); gruppen["4604"].push("Ryh_4604_45"); gruppen["4604"].push("Ryh_4604_46"); gruppen["4604"].push("Ryh_4604_47"); gruppen["4604"].push("Ryh_4604_48"); gruppen["4604"].push("Ryh_4604_49"); gruppen["4604"].push("Ryh_4604_50"); gruppen["4604"].push("Ryh_4604_51"); gruppen["4604"].push("Ryh_4604_52"); gruppen["4604"].push("Ryh_4604_53"); gruppen["4604"].push("Ryh_4604_54"); gruppen["4605"] = new Array(); gruppen["4605"].push("Ryh_4605_1"); gruppen["4605"].push("Ryh_4605_2"); gruppen["4605"].push("Ryh_4605_3"); gruppen["4605"].push("Ryh_4605_4"); gruppen["4605"].push("Ryh_4605_6"); gruppen["4605"].push("Ryh_4605_7"); gruppen["4605"].push("Ryh_4605_8"); gruppen["4605"].push("Ryh_4605_10"); gruppen["4605"].push("Ryh_4605_11"); gruppen["4605"].push("Ryh_4605_12"); gruppen["4606"] = new Array(); gruppen["4606"].push("Ryh_4606_1"); gruppen["4606"].push("Ryh_4606_2"); gruppen["4606"].push("Ryh_4606_3"); gruppen["4606"].push("Ryh_4606_4"); gruppen["4606"].push("Ryh_4606_5"); gruppen["4606"].push("Ryh_4606_7"); gruppen["4606"].push("Ryh_4606_8"); gruppen["4606"].push("Ryh_4606_9"); gruppen["4606"].push("Ryh_4606_10"); gruppen["4606"].push("Ryh_4606_11"); gruppen["4606"].push("Ryh_4606_12"); gruppen["4606"].push("Ryh_4606_27"); gruppen["4606"].push("Ryh_4606_28"); gruppen["4606"].push("Ryh_4606_29"); gruppen["4606"].push("Ryh_4606_30"); gruppen["4606"].push("Ryh_4606_31"); gruppen["4606"].push("Ryh_4606_32"); gruppen["4606"].push("Ryh_4606_34"); gruppen["4607"] = new Array(); gruppen["4607"].push("Ryh_4607_1_A"); gruppen["4607"].push("Ryh_4607_1_B"); gruppen["4607"].push("Ryh_4607_2"); gruppen["4607"].push("Ryh_4607_3"); gruppen["4607"].push("Ryh_4607_5"); gruppen["4607"].push("Ryh_4607_8"); gruppen["4607"].push("Ryh_4607_9"); gruppen["4607"].push("Ryh_4607_10"); gruppen["4607"].push("Ryh_4607_11"); gruppen["4607"].push("Ryh_4607_12"); gruppen["4607"].push("Ryh_4607_13"); gruppen["4607"].push("Ryh_4607_14"); gruppen["4607"].push("Ryh_4607_15"); gruppen["4607"].push("Ryh_4607_31"); gruppen["4607"].push("Ryh_4607_32"); gruppen["4607"].push("Ryh_4607_33"); gruppen["4607"].push("Ryh_4607_34"); gruppen["4607"].push("Ryh_4607_35"); gruppen["4608"] = new Array(); gruppen["4608"].push("Ryh_4608_1"); gruppen["4608"].push("Ryh_4608_2"); gruppen["4608"].push("Ryh_4608_3"); gruppen["4608"].push("Ryh_4608_4"); gruppen["4608"].push("Ryh_4608_5"); gruppen["4608"].push("Ryh_4608_6"); gruppen["4608"].push("Ryh_4608_8"); gruppen["4608"].push("Ryh_4608_9"); gruppen["4608"].push("Ryh_4608_10"); gruppen["4608"].push("Ryh_4608_11"); gruppen["4608"].push("Ryh_4608_12"); gruppen["4608"].push("Ryh_4608_13"); gruppen["4608"].push("Ryh_4608_14"); gruppen["4608"].push("Ryh_4608_15"); gruppen["4608"].push("Ryh_4608_16"); gruppen["4608"].push("Ryh_4608_17"); gruppen["4608"].push("Ryh_4608_31"); gruppen["4608"].push("Ryh_4608_32"); gruppen["4608"].push("Ryh_4608_33"); gruppen["4608"].push("Ryh_4608_35"); gruppen["4608"].push("Ryh_4608_41_A"); gruppen["4608"].push("Ryh_4608_41_B"); gruppen["4608"].push("Ryh_4608_42_A"); gruppen["4608"].push("Ryh_4608_42_B"); gruppen["4608"].push("Ryh_4608_43"); gruppen["4608"].push("Ryh_4608_44"); gruppen["4608"].push("Ryh_4608_47"); gruppen["4608"].push("Ryh_4608_49"); gruppen["4608"].push("Ryh_4608_50"); gruppen["4608"].push("Ryh_4608_51"); gruppen["4609"] = new Array(); gruppen["4609"].push("Ryh_4609_1_A"); gruppen["4609"].push("Ryh_4609_1_B"); gruppen["4609"].push("Ryh_4609_2"); gruppen["4609"].push("Ryh_4609_3"); gruppen["4609"].push("Ryh_4609_4"); gruppen["4609"].push("Ryh_4609_5"); gruppen["4609"].push("Ryh_4609_8_A"); gruppen["4609"].push("Ryh_4609_8_B"); gruppen["4609"].push("Ryh_4609_10"); gruppen["4609"].push("Ryh_4609_11"); gruppen["4609"].push("Ryh_4609_12"); gruppen["4609"].push("Ryh_4609_13"); gruppen["4609"].push("Ryh_4609_14"); gruppen["4609"].push("Ryh_4609_15"); gruppen["4609"].push("Ryh_4609_16"); gruppen["4609"].push("Ryh_4609_17"); gruppen["4609"].push("Ryh_4609_18"); gruppen["4609"].push("Ryh_4609_19"); gruppen["4609"].push("Ryh_4609_21"); gruppen["4609"].push("Ryh_4609_22"); gruppen["4609"].push("Ryh_4609_23"); gruppen["4609"].push("Ryh_4609_24"); gruppen["4609"].push("Ryh_4609_25"); gruppen["4609"].push("Ryh_4609_26_A"); gruppen["4609"].push("Ryh_4609_26_B"); gruppen["4609"].push("Ryh_4609_27"); gruppen["4609"].push("Ryh_4609_28"); gruppen["4609"].push("Ryh_4609_31"); gruppen["4609"].push("Ryh_4609_32"); gruppen["4609"].push("Ryh_4609_33"); gruppen["4609"].push("Ryh_4609_46"); gruppen["4609"].push("Ryh_4609_47"); gruppen["4609"].push("Ryh_4609_49"); gruppen["4609"].push("Ryh_4609_50_A"); gruppen["4609"].push("Ryh_4609_50_B"); gruppen["4609"].push("Ryh_4609_51_A"); gruppen["4609"].push("Ryh_4609_51_B"); gruppen["4609"].push("Ryh_4609_57"); gruppen["4609"].push("Ryh_4609_58"); gruppen["4610"] = new Array(); gruppen["4610"].push("Ryh_4610_1"); gruppen["4610"].push("Ryh_4610_2"); gruppen["4610"].push("Ryh_4610_3"); gruppen["4610"].push("Ryh_4610_4"); gruppen["4610"].push("Ryh_4610_5"); gruppen["4610"].push("Ryh_4610_6"); gruppen["4610"].push("Ryh_4610_7"); gruppen["4610"].push("Ryh_4610_8"); gruppen["4610"].push("Ryh_4610_9"); gruppen["4610"].push("Ryh_4610_10"); gruppen["4610"].push("Ryh_4610_11"); gruppen["4610"].push("Ryh_4610_12"); gruppen["4610"].push("Ryh_4610_13"); gruppen["4610"].push("Ryh_4610_14"); gruppen["4610"].push("Ryh_4610_15"); gruppen["4610"].push("Ryh_4610_16"); gruppen["4610"].push("Ryh_4610_17"); gruppen["4610"].push("Ryh_4610_18"); gruppen["4610"].push("Ryh_4610_19"); gruppen["4610"].push("Ryh_4610_20"); gruppen["4610"].push("Ryh_4610_21"); gruppen["4610"].push("Ryh_4610_22"); gruppen["4610"].push("Ryh_4610_23"); gruppen["4610"].push("Ryh_4610_24"); gruppen["4610"].push("Ryh_4610_25"); gruppen["4610"].push("Ryh_4610_26"); gruppen["4610"].push("Ryh_4610_27"); gruppen["4610"].push("Ryh_4610_28"); gruppen["4610"].push("Ryh_4610_29"); gruppen["4610"].push("Ryh_4610_30"); gruppen["4610"].push("Ryh_4610_31"); gruppen["4610"].push("Ryh_4610_32"); gruppen["4610"].push("Ryh_4610_33"); gruppen["4610"].push("Ryh_4610_34"); gruppen["4610"].push("Ryh_4610_35"); gruppen["4610"].push("Ryh_4610_36"); gruppen["4610"].push("Ryh_4610_37"); gruppen["4610"].push("Ryh_4610_38"); gruppen["4610"].push("Ryh_4610_39"); gruppen["4610"].push("Ryh_4610_40"); gruppen["4611"] = new Array(); gruppen["4611"].push("Ryh_4611_1"); gruppen["4611"].push("Ryh_4611_2"); gruppen["4611"].push("Ryh_4611_3"); gruppen["4611"].push("Ryh_4611_4"); gruppen["4611"].push("Ryh_4611_5"); gruppen["4611"].push("Ryh_4611_5_B"); gruppen["4611"].push("Ryh_4611_6"); gruppen["4611"].push("Ryh_4611_6_B"); gruppen["4611"].push("Ryh_4611_7"); gruppen["4611"].push("Ryh_4611_8"); gruppen["4611"].push("Ryh_4611_9"); gruppen["4611"].push("Ryh_4611_10"); gruppen["4611"].push("Ryh_4611_11"); gruppen["4611"].push("Ryh_4611_12"); gruppen["4611"].push("Ryh_4611_13"); gruppen["4611"].push("Ryh_4611_14"); gruppen["4611"].push("Ryh_4611_29"); gruppen["4611"].push("Ryh_4611_30"); gruppen["4611"].push("Ryh_4611_31"); gruppen["4611"].push("Ryh_4611_32"); gruppen["4611"].push("Ryh_4611_33_A"); gruppen["4611"].push("Ryh_4611_33_B"); gruppen["4611"].push("Ryh_4611_34"); gruppen["4611"].push("Ryh_4611_35"); gruppen["4611"].push("Ryh_4611_36"); gruppen["4611"].push("Ryh_4611_37"); gruppen["4611"].push("Ryh_4611_38_A"); gruppen["4611"].push("Ryh_4611_38_B"); gruppen["4611"].push("Ryh_4611_39"); gruppen["4611"].push("Ryh_4611_40"); gruppen["4611"].push("Ryh_4611_41"); gruppen["4611"].push("Ryh_4611_42_A"); gruppen["4611"].push("Ryh_4611_42_B"); gruppen["4611"].push("Ryh_4611_43"); gruppen["4611"].push("Ryh_4611_44"); gruppen["4611"].push("Ryh_4611_45"); gruppen["4611"].push("Ryh_4611_46"); gruppen["4611"].push("Ryh_4611_47"); gruppen["4611"].push("Ryh_4611_47_B"); gruppen["4611"].push("Ryh_4611_48_A"); gruppen["4611"].push("Ryh_4611_48_B"); gruppen["4701"] = new Array(); gruppen["4701"].push("Ryh_4701_1"); gruppen["4701"].push("Ryh_4701_2"); gruppen["4701"].push("Ryh_4701_4"); gruppen["4701"].push("Ryh_4701_5"); gruppen["4701"].push("Ryh_4701_6"); gruppen["4701"].push("Ryh_4701_7"); gruppen["4701"].push("Ryh_4701_8"); gruppen["4701"].push("Ryh_4701_9"); gruppen["4701"].push("Ryh_4701_10"); gruppen["4701"].push("Ryh_4701_11"); gruppen["4701"].push("Ryh_4701_13"); gruppen["4701"].push("Ryh_4701_14"); gruppen["4701"].push("Ryh_4701_15"); gruppen["4701"].push("Ryh_4701_16"); gruppen["4701"].push("Ryh_4701_17"); gruppen["4701"].push("Ryh_4701_18"); gruppen["4701"].push("Ryh_4701_19"); gruppen["4701"].push("Ryh_4701_20"); gruppen["4701"].push("Ryh_4701_21"); gruppen["4701"].push("Ryh_4701_22"); gruppen["4701"].push("Ryh_4701_23"); gruppen["4701"].push("Ryh_4701_24"); gruppen["4701"].push("Ryh_4701_25"); gruppen["4701"].push("Ryh_4701_26"); gruppen["4701"].push("Ryh_4701_27"); gruppen["4701"].push("Ryh_4701_28"); gruppen["4701"].push("Ryh_4701_29"); gruppen["4701"].push("Ryh_4701_31"); gruppen["4701"].push("Ryh_4701_32"); gruppen["4701"].push("Ryh_4701_33"); gruppen["4701"].push("Ryh_4701_34"); gruppen["4701"].push("Ryh_4701_35"); gruppen["4701"].push("Ryh_4701_36"); gruppen["4701"].push("Ryh_4701_37"); gruppen["4701"].push("Ryh_4701_38"); gruppen["4701"].push("Ryh_4701_39"); gruppen["4701"].push("Ryh_4701_40"); gruppen["4702"] = new Array(); gruppen["4702"].push("Ryh_4702_1"); gruppen["4702"].push("Ryh_4702_2"); gruppen["4702"].push("Ryh_4702_3"); gruppen["4702"].push("Ryh_4702_4"); gruppen["4702"].push("Ryh_4702_5"); gruppen["4702"].push("Ryh_4702_6"); gruppen["4702"].push("Ryh_4702_7"); gruppen["4702"].push("Ryh_4702_8"); gruppen["4702"].push("Ryh_4702_9"); gruppen["4702"].push("Ryh_4702_10"); gruppen["4702"].push("Ryh_4702_11"); gruppen["4702"].push("Ryh_4702_12"); gruppen["4702"].push("Ryh_4702_13"); gruppen["4702"].push("Ryh_4702_14"); gruppen["4702"].push("Ryh_4702_15"); gruppen["4702"].push("Ryh_4702_16"); gruppen["4702"].push("Ryh_4702_17"); gruppen["4702"].push("Ryh_4702_18"); gruppen["4702"].push("Ryh_4702_19"); gruppen["4702"].push("Ryh_4702_20"); gruppen["4702"].push("Ryh_4702_21"); gruppen["4702"].push("Ryh_4702_22"); gruppen["4702"].push("Ryh_4702_23"); gruppen["4702"].push("Ryh_4702_24"); gruppen["4702"].push("Ryh_4702_25"); gruppen["4702"].push("Ryh_4702_26"); gruppen["4702"].push("Ryh_4702_27"); gruppen["4702"].push("Ryh_4702_28"); gruppen["4702"].push("Ryh_4702_29"); gruppen["4702"].push("Ryh_4702_30"); gruppen["4702"].push("Ryh_4702_31"); gruppen["4702"].push("Ryh_4702_32"); gruppen["4702"].push("Ryh_4702_33"); gruppen["4702"].push("Ryh_4702_34"); gruppen["4702"].push("Ryh_4702_35"); gruppen["4702"].push("Ryh_4702_36"); gruppen["4702"].push("Ryh_4702_37"); gruppen["4702"].push("Ryh_4702_38"); gruppen["4703"] = new Array(); gruppen["4703"].push("Ryh_4703_2"); gruppen["4703"].push("Ryh_4703_3"); gruppen["4703"].push("Ryh_4703_4"); gruppen["4703"].push("Ryh_4703_5"); gruppen["4703"].push("Ryh_4703_6"); gruppen["4703"].push("Ryh_4703_7"); gruppen["4703"].push("Ryh_4703_8"); gruppen["4703"].push("Ryh_4703_9"); gruppen["4703"].push("Ryh_4703_10"); gruppen["4703"].push("Ryh_4703_12"); gruppen["4703"].push("Ryh_4703_15"); gruppen["4703"].push("Ryh_4703_16"); gruppen["4703"].push("Ryh_4703_17"); gruppen["4703"].push("Ryh_4703_18"); gruppen["4703"].push("Ryh_4703_19"); gruppen["4703"].push("Ryh_4703_20"); gruppen["4703"].push("Ryh_4703_21"); gruppen["4703"].push("Ryh_4703_31"); gruppen["4703"].push("Ryh_4703_32"); gruppen["4703"].push("Ryh_4703_33"); gruppen["4703"].push("Ryh_4703_34"); gruppen["4703"].push("Ryh_4703_35"); gruppen["4703"].push("Ryh_4703_36"); gruppen["4703"].push("Ryh_4703_37"); gruppen["4703"].push("Ryh_4703_38"); gruppen["4704"] = new Array(); gruppen["4704"].push("Ryh_4704_1_A"); gruppen["4704"].push("Ryh_4704_1_B"); gruppen["4704"].push("Ryh_4704_2"); gruppen["4704"].push("Ryh_4704_3"); gruppen["4704"].push("Ryh_4704_4"); gruppen["4704"].push("Ryh_4704_5"); gruppen["4704"].push("Ryh_4704_6"); gruppen["4704"].push("Ryh_4704_7"); gruppen["4704"].push("Ryh_4704_8"); gruppen["4704"].push("Ryh_4704_9"); gruppen["4704"].push("Ryh_4704_10"); gruppen["4704"].push("Ryh_4704_11"); gruppen["4704"].push("Ryh_4704_22"); gruppen["4704"].push("Ryh_4704_23"); gruppen["4704"].push("Ryh_4704_24"); gruppen["4704"].push("Ryh_4704_25"); gruppen["4704"].push("Ryh_4704_26"); gruppen["4704"].push("Ryh_4704_27"); gruppen["4704"].push("Ryh_4704_41"); gruppen["4704"].push("Ryh_4704_42"); gruppen["4704"].push("Ryh_4704_43"); gruppen["4704"].push("Ryh_4704_44"); gruppen["4704"].push("Ryh_4704_48"); gruppen["4704"].push("Ryh_4704_49_A"); gruppen["4704"].push("Ryh_4704_49_B"); gruppen["4705"] = new Array(); gruppen["4705"].push("Ryh_4705_1"); gruppen["4705"].push("Ryh_4705_2"); gruppen["4705"].push("Ryh_4705_3"); gruppen["4705"].push("Ryh_4705_4_A"); gruppen["4705"].push("Ryh_4705_4_B"); gruppen["4705"].push("Ryh_4705_4_C"); gruppen["4705"].push("Ryh_4705_4_D"); gruppen["4705"].push("Ryh_4705_4_E"); gruppen["4705"].push("Ryh_4705_4_F"); gruppen["4705"].push("Ryh_4705_4_G"); gruppen["4705"].push("Ryh_4705_5_A"); gruppen["4705"].push("Ryh_4705_5_B"); gruppen["4705"].push("Ryh_4705_5_C"); gruppen["4705"].push("Ryh_4705_5_D"); gruppen["4705"].push("Ryh_4705_5_E"); gruppen["4705"].push("Ryh_4705_5_F"); gruppen["4705"].push("Ryh_4705_5_G"); gruppen["4705"].push("Ryh_4705_5_H"); gruppen["4705"].push("Ryh_4705_5_I"); gruppen["4705"].push("Ryh_4705_5_J"); gruppen["4705"].push("Ryh_4705_6_A"); gruppen["4705"].push("Ryh_4705_6_B"); gruppen["4705"].push("Ryh_4705_6_C"); gruppen["4705"].push("Ryh_4705_6_D"); gruppen["4705"].push("Ryh_4705_6_E"); gruppen["4705"].push("Ryh_4705_6_F"); gruppen["4705"].push("Ryh_4705_6_G"); gruppen["4705"].push("Ryh_4705_6_H"); gruppen["4705"].push("Ryh_4705_6_I"); gruppen["4705"].push("Ryh_4705_7_A"); gruppen["4705"].push("Ryh_4705_7_B"); gruppen["4705"].push("Ryh_4705_7_C"); gruppen["4705"].push("Ryh_4705_7_D"); gruppen["4705"].push("Ryh_4705_7_E"); gruppen["4705"].push("Ryh_4705_7_F"); gruppen["4705"].push("Ryh_4705_8_A"); gruppen["4705"].push("Ryh_4705_8_B"); gruppen["4705"].push("Ryh_4705_8_C"); gruppen["4705"].push("Ryh_4705_9_A"); gruppen["4705"].push("Ryh_4705_9_B"); gruppen["4705"].push("Ryh_4705_9_C"); gruppen["4705"].push("Ryh_4705_9_D"); gruppen["4705"].push("Ryh_4705_10_A"); gruppen["4705"].push("Ryh_4705_10_B"); gruppen["4705"].push("Ryh_4705_10_C"); gruppen["4705"].push("Ryh_4705_10_D"); gruppen["4705"].push("Ryh_4705_11"); gruppen["4705"].push("Ryh_4705_12_A"); gruppen["4705"].push("Ryh_4705_12_B"); gruppen["4705"].push("Ryh_4705_12_C"); gruppen["4705"].push("Ryh_4705_13_A"); gruppen["4705"].push("Ryh_4705_13_B"); gruppen["4705"].push("Ryh_4705_14_A"); gruppen["4705"].push("Ryh_4705_14_B"); gruppen["4705"].push("Ryh_4705_15_A"); gruppen["4705"].push("Ryh_4705_15_B"); gruppen["4705"].push("Ryh_4705_16_A"); gruppen["4705"].push("Ryh_4705_16_B"); gruppen["4705"].push("Ryh_4705_17_A"); gruppen["4705"].push("Ryh_4705_17_B"); gruppen["4705"].push("Ryh_4705_17_C"); gruppen["4705"].push("Ryh_4705_17_D"); gruppen["4705"].push("Ryh_4705_18_A"); gruppen["4705"].push("Ryh_4705_18_B"); gruppen["4705"].push("Ryh_4705_18_C"); gruppen["4705"].push("Ryh_4705_18_D"); gruppen["4705"].push("Ryh_4705_19_A"); gruppen["4705"].push("Ryh_4705_19_B"); gruppen["4705"].push("Ryh_4705_20_A"); gruppen["4705"].push("Ryh_4705_20_B"); gruppen["4705"].push("Ryh_4705_20_C"); gruppen["4705"].push("Ryh_4705_21_A"); gruppen["4705"].push("Ryh_4705_21_B"); gruppen["4705"].push("Ryh_4705_22_A"); gruppen["4705"].push("Ryh_4705_22_B"); gruppen["4705"].push("Ryh_4705_23_A"); gruppen["4705"].push("Ryh_4705_23_B"); gruppen["4705"].push("Ryh_4705_24"); gruppen["4705"].push("Ryh_4705_25_A"); gruppen["4705"].push("Ryh_4705_25_B"); gruppen["4705"].push("Ryh_4705_26_A"); gruppen["4705"].push("Ryh_4705_26_B"); gruppen["4705"].push("Ryh_4705_27_A"); gruppen["4705"].push("Ryh_4705_27_B"); gruppen["4705"].push("Ryh_4705_28_A"); gruppen["4705"].push("Ryh_4705_28_B"); gruppen["4705"].push("Ryh_4705_29"); gruppen["4706"] = new Array(); gruppen["4706"].push("Ryh_4706_1"); gruppen["4706"].push("Ryh_4706_2"); gruppen["4706"].push("Ryh_4706_4"); gruppen["4706"].push("Ryh_4706_5"); gruppen["4706"].push("Ryh_4706_6"); gruppen["4706"].push("Ryh_4706_7"); gruppen["4706"].push("Ryh_4706_8"); gruppen["4706"].push("Ryh_4706_9"); gruppen["4706"].push("Ryh_4706_10"); gruppen["4706"].push("Ryh_4706_11"); gruppen["4706"].push("Ryh_4706_12"); gruppen["4706"].push("Ryh_4706_13"); gruppen["4706"].push("Ryh_4706_14"); gruppen["4706"].push("Ryh_4706_15"); gruppen["4706"].push("Ryh_4706_16"); gruppen["4706"].push("Ryh_4706_18"); gruppen["4706"].push("Ryh_4706_25"); gruppen["4706"].push("Ryh_4706_26"); gruppen["4706"].push("Ryh_4706_27"); gruppen["4706"].push("Ryh_4706_28"); gruppen["4706"].push("Ryh_4706_31"); gruppen["4706"].push("Ryh_4706_32"); gruppen["4706"].push("Ryh_4706_33"); gruppen["4706"].push("Ryh_4706_34"); gruppen["4706"].push("Ryh_4706_35"); gruppen["4706"].push("Ryh_4706_36_A"); gruppen["4706"].push("Ryh_4706_36_B"); gruppen["4706"].push("Ryh_4706_37"); gruppen["4706"].push("Ryh_4706_38"); gruppen["4706"].push("Ryh_4706_39"); gruppen["4706"].push("Ryh_4706_40"); gruppen["4706"].push("Ryh_4706_41"); gruppen["4706"].push("Ryh_4706_42"); gruppen["4706"].push("Ryh_4706_43_A"); gruppen["4706"].push("Ryh_4706_43_B"); gruppen["4706"].push("Ryh_4706_44"); gruppen["4706"].push("Ryh_4706_45"); gruppen["4706"].push("Ryh_4706_46"); gruppen["4801"] = new Array(); gruppen["4801"].push("Ryh_4801_2_A"); gruppen["4801"].push("Ryh_4801_2_B"); gruppen["4801"].push("Ryh_4801_4"); gruppen["4801"].push("Ryh_4801_7"); gruppen["4801"].push("Ryh_4801_8"); gruppen["4801"].push("Ryh_4801_12"); gruppen["4801"].push("Ryh_4801_17"); gruppen["4801"].push("Ryh_4801_18"); gruppen["4801"].push("Ryh_4801_20"); gruppen["4801"].push("Ryh_4801_22"); gruppen["4801"].push("Ryh_4801_23"); gruppen["4801"].push("Ryh_4801_26"); gruppen["4801"].push("Ryh_4801_27"); gruppen["4801"].push("Ryh_4801_28"); gruppen["4801"].push("Ryh_4801_29"); gruppen["4801"].push("Ryh_4801_30"); gruppen["4801"].push("Ryh_4801_31"); gruppen["4801"].push("Ryh_4801_38"); gruppen["4801"].push("Ryh_4801_41"); gruppen["4801"].push("Ryh_4801_43"); gruppen["4801"].push("Ryh_4801_44"); gruppen["4801"].push("Ryh_4801_45"); gruppen["4801"].push("Ryh_4801_46"); gruppen["4801"].push("Ryh_4801_47"); gruppen["4801"].push("Ryh_4801_48"); gruppen["4801"].push("Ryh_4801_52"); gruppen["4801"].push("Ryh_4801_53"); gruppen["4801"].push("Ryh_4801_54"); gruppen["4801"].push("Ryh_4801_55"); gruppen["4801"].push("Ryh_4801_56"); gruppen["4801"].push("Ryh_4801_57"); gruppen["4801"].push("Ryh_4801_58"); gruppen["4801"].push("Ryh_4801_59"); gruppen["4801"].push("Ryh_4801_60"); gruppen["4801"].push("Ryh_4801_61"); gruppen["4801"].push("Ryh_4801_62"); gruppen["4801"].push("Ryh_4801_63"); gruppen["4801"].push("Ryh_4801_64"); gruppen["4801"].push("Ryh_4801_65"); gruppen["4802"] = new Array(); gruppen["4802"].push("Ryh_4802_1"); gruppen["4802"].push("Ryh_4802_2"); gruppen["4802"].push("Ryh_4802_3"); gruppen["4802"].push("Ryh_4802_4"); gruppen["4802"].push("Ryh_4802_5"); gruppen["4802"].push("Ryh_4802_6"); gruppen["4802"].push("Ryh_4802_7"); gruppen["4802"].push("Ryh_4802_8"); gruppen["4802"].push("Ryh_4802_9"); gruppen["4802"].push("Ryh_4802_10"); gruppen["4802"].push("Ryh_4802_11"); gruppen["4802"].push("Ryh_4802_12"); gruppen["4802"].push("Ryh_4802_13"); gruppen["4802"].push("Ryh_4802_14"); gruppen["4802"].push("Ryh_4802_15"); gruppen["4802"].push("Ryh_4802_16"); gruppen["4802"].push("Ryh_4802_17"); gruppen["4802"].push("Ryh_4802_18"); gruppen["4802"].push("Ryh_4802_19"); gruppen["4802"].push("Ryh_4802_20"); gruppen["4802"].push("Ryh_4802_21"); gruppen["4802"].push("Ryh_4802_22"); gruppen["4802"].push("Ryh_4802_23"); gruppen["4802"].push("Ryh_4802_24"); gruppen["4802"].push("Ryh_4802_25"); gruppen["4802"].push("Ryh_4802_26"); gruppen["4802"].push("Ryh_4802_27"); gruppen["4802"].push("Ryh_4802_28"); gruppen["4802"].push("Ryh_4802_29"); gruppen["4802"].push("Ryh_4802_30"); gruppen["4802"].push("Ryh_4802_32"); gruppen["4802"].push("Ryh_4802_33"); gruppen["4802"].push("Ryh_4802_51"); gruppen["4802"].push("Ryh_4802_52"); gruppen["4802"].push("Ryh_4802_53"); gruppen["4802"].push("Ryh_4802_54"); gruppen["4802"].push("Ryh_4802_55"); gruppen["4802"].push("Ryh_4802_56"); gruppen["4802"].push("Ryh_4802_57"); gruppen["4802"].push("Ryh_4802_58"); gruppen["4802"].push("Ryh_4802_59"); gruppen["4802"].push("Ryh_4802_60"); gruppen["4802"].push("Ryh_4802_61"); gruppen["4803"] = new Array(); gruppen["4803"].push("Ryh_4803_2_A"); gruppen["4803"].push("Ryh_4803_2_B"); gruppen["4803"].push("Ryh_4803_3"); gruppen["4803"].push("Ryh_4803_5_A"); gruppen["4803"].push("Ryh_4803_5_B"); gruppen["4803"].push("Ryh_4803_8"); gruppen["4803"].push("Ryh_4803_9"); gruppen["4803"].push("Ryh_4803_10"); gruppen["4803"].push("Ryh_4803_11"); gruppen["4803"].push("Ryh_4803_12"); gruppen["4803"].push("Ryh_4803_14"); gruppen["4803"].push("Ryh_4803_15"); gruppen["4803"].push("Ryh_4803_16"); gruppen["4803"].push("Ryh_4803_17"); gruppen["4803"].push("Ryh_4803_18"); gruppen["4803"].push("Ryh_4803_19"); gruppen["4803"].push("Ryh_4803_20"); gruppen["4803"].push("Ryh_4803_21"); gruppen["4803"].push("Ryh_4803_22"); gruppen["4803"].push("Ryh_4803_23"); gruppen["4803"].push("Ryh_4803_24"); gruppen["4803"].push("Ryh_4803_25_A"); gruppen["4803"].push("Ryh_4803_25_B"); gruppen["4803"].push("Ryh_4803_26_A"); gruppen["4803"].push("Ryh_4803_26_B"); gruppen["4804"] = new Array(); gruppen["4804"].push("Ryh_4804_3"); gruppen["4804"].push("Ryh_4804_4"); gruppen["4804"].push("Ryh_4804_6_A"); gruppen["4804"].push("Ryh_4804_6_B"); gruppen["4804"].push("Ryh_4804_7"); gruppen["4804"].push("Ryh_4804_8"); gruppen["4804"].push("Ryh_4804_11"); gruppen["4804"].push("Ryh_4804_13"); gruppen["4804"].push("Ryh_4804_14"); gruppen["4804"].push("Ryh_4804_15"); gruppen["4804"].push("Ryh_4804_16"); gruppen["4804"].push("Ryh_4804_21"); gruppen["4804"].push("Ryh_4804_22_A"); gruppen["4804"].push("Ryh_4804_22_B"); gruppen["4804"].push("Ryh_4804_23"); gruppen["4804"].push("Ryh_4804_24"); gruppen["4804"].push("Ryh_4804_25"); gruppen["4804"].push("Ryh_4804_26"); gruppen["4804"].push("Ryh_4804_27_A"); gruppen["4804"].push("Ryh_4804_27_B"); gruppen["4804"].push("Ryh_4804_28"); gruppen["4804"].push("Ryh_4804_29"); gruppen["4804"].push("Ryh_4804_41"); gruppen["4804"].push("Ryh_4804_42"); gruppen["4804"].push("Ryh_4804_43"); gruppen["4804"].push("Ryh_4804_44"); gruppen["4804"].push("Ryh_4804_45"); gruppen["4805"] = new Array(); gruppen["4805"].push("Ryh_4805_1_A"); gruppen["4805"].push("Ryh_4805_1_B"); gruppen["4805"].push("Ryh_4805_1_C"); gruppen["4805"].push("Ryh_4805_1_D"); gruppen["4805"].push("Ryh_4805_1_E"); gruppen["4805"].push("Ryh_4805_1_F"); gruppen["4805"].push("Ryh_4805_2_A"); gruppen["4805"].push("Ryh_4805_2_B"); gruppen["4805"].push("Ryh_4805_2_C"); gruppen["4805"].push("Ryh_4805_2_D"); gruppen["4805"].push("Ryh_4805_2_E"); gruppen["4805"].push("Ryh_4805_3_A"); gruppen["4805"].push("Ryh_4805_3_B"); gruppen["4805"].push("Ryh_4805_3_C"); gruppen["4805"].push("Ryh_4805_3_D"); gruppen["4805"].push("Ryh_4805_3_E"); gruppen["4805"].push("Ryh_4805_3_F"); gruppen["4805"].push("Ryh_4805_3_G"); gruppen["4805"].push("Ryh_4805_4_A"); gruppen["4805"].push("Ryh_4805_4_B"); gruppen["4805"].push("Ryh_4805_4_C"); gruppen["4805"].push("Ryh_4805_4_D"); gruppen["4805"].push("Ryh_4805_4_E"); gruppen["4805"].push("Ryh_4805_4_F"); gruppen["4805"].push("Ryh_4805_4_G"); gruppen["4805"].push("Ryh_4805_5_A"); gruppen["4805"].push("Ryh_4805_5_B"); gruppen["4805"].push("Ryh_4805_5_C"); gruppen["4805"].push("Ryh_4805_5_D"); gruppen["4805"].push("Ryh_4805_5_E"); gruppen["4805"].push("Ryh_4805_6_A"); gruppen["4805"].push("Ryh_4805_6_B"); gruppen["4805"].push("Ryh_4805_6_C"); gruppen["4805"].push("Ryh_4805_7_A"); gruppen["4805"].push("Ryh_4805_7_B"); gruppen["4805"].push("Ryh_4805_7_C"); gruppen["4805"].push("Ryh_4805_8_A"); gruppen["4805"].push("Ryh_4805_8_B"); gruppen["4805"].push("Ryh_4805_8_C"); gruppen["4805"].push("Ryh_4805_8_D"); gruppen["4805"].push("Ryh_4805_8_E"); gruppen["4805"].push("Ryh_4805_9"); gruppen["4805"].push("Ryh_4805_10_A"); gruppen["4805"].push("Ryh_4805_10_B"); gruppen["4805"].push("Ryh_4805_11_A"); gruppen["4805"].push("Ryh_4805_11_B"); gruppen["4805"].push("Ryh_4805_11_C"); gruppen["4805"].push("Ryh_4805_11_D"); gruppen["4805"].push("Ryh_4805_12"); gruppen["4805"].push("Ryh_4805_13_A"); gruppen["4805"].push("Ryh_4805_13_B"); gruppen["4805"].push("Ryh_4805_13_C"); gruppen["4805"].push("Ryh_4805_13_D"); gruppen["4805"].push("Ryh_4805_13_E"); gruppen["4805"].push("Ryh_4805_13_F"); gruppen["4805"].push("Ryh_4805_13_G"); gruppen["4805"].push("Ryh_4805_14_A"); gruppen["4805"].push("Ryh_4805_14_B"); gruppen["4805"].push("Ryh_4805_14_C"); gruppen["4805"].push("Ryh_4805_14_D"); gruppen["4805"].push("Ryh_4805_15_A"); gruppen["4805"].push("Ryh_4805_15_B"); gruppen["4805"].push("Ryh_4805_16_A"); gruppen["4805"].push("Ryh_4805_16_B"); gruppen["4805"].push("Ryh_4805_17"); gruppen["4805"].push("Ryh_4805_18"); gruppen["4805"].push("Ryh_4805_19"); gruppen["4805"].push("Ryh_4805_20"); gruppen["4805"].push("Ryh_4805_21"); gruppen["4805"].push("Ryh_4805_22"); gruppen["4805"].push("Ryh_4805_23"); gruppen["4805"].push("Ryh_4805_24"); gruppen["4805"].push("Ryh_4805_25"); gruppen["4805"].push("Ryh_4805_26"); gruppen["4805"].push("Ryh_4805_27"); gruppen["4805"].push("Ryh_4805_28"); gruppen["4805"].push("Ryh_4805_29"); gruppen["4805"].push("Ryh_4805_30"); gruppen["4805"].push("Ryh_4805_31_A"); gruppen["4805"].push("Ryh_4805_31_B"); gruppen["4805"].push("Ryh_4805_31_C"); gruppen["4805"].push("Ryh_4805_31_D"); gruppen["4805"].push("Ryh_4805_31_E"); gruppen["4805"].push("Ryh_4805_31_F"); gruppen["4806"] = new Array(); gruppen["4806"].push("Ryh_4806_1"); gruppen["4806"].push("Ryh_4806_2"); gruppen["4806"].push("Ryh_4806_3_A"); gruppen["4806"].push("Ryh_4806_3_B"); gruppen["4806"].push("Ryh_4806_4"); gruppen["4806"].push("Ryh_4806_5"); gruppen["4806"].push("Ryh_4806_6"); gruppen["4806"].push("Ryh_4806_7_A"); gruppen["4806"].push("Ryh_4806_7_B"); gruppen["4806"].push("Ryh_4806_8"); gruppen["4806"].push("Ryh_4806_9_A"); gruppen["4806"].push("Ryh_4806_9_B"); gruppen["4806"].push("Ryh_4806_9_C"); gruppen["4806"].push("Ryh_4806_10"); gruppen["4806"].push("Ryh_4806_11"); gruppen["4806"].push("Ryh_4806_12"); gruppen["4806"].push("Ryh_4806_13"); gruppen["4806"].push("Ryh_4806_14"); gruppen["4806"].push("Ryh_4806_15_A"); gruppen["4806"].push("Ryh_4806_15_B"); gruppen["4806"].push("Ryh_4806_16_A"); gruppen["4806"].push("Ryh_4806_16_B"); gruppen["4806"].push("Ryh_4806_17_A"); gruppen["4806"].push("Ryh_4806_17_B"); gruppen["4806"].push("Ryh_4806_18_A"); gruppen["4806"].push("Ryh_4806_18_B"); gruppen["4806"].push("Ryh_4806_18_C"); gruppen["4806"].push("Ryh_4806_18_D"); gruppen["4806"].push("Ryh_4806_19_A"); gruppen["4806"].push("Ryh_4806_19_B"); gruppen["4806"].push("Ryh_4806_19_C"); gruppen["4806"].push("Ryh_4806_20"); gruppen["4806"].push("Ryh_4806_21_A"); gruppen["4806"].push("Ryh_4806_21_B"); gruppen["4806"].push("Ryh_4806_22"); gruppen["4806"].push("Ryh_4806_23"); gruppen["4806"].push("Ryh_4806_24_A"); gruppen["4806"].push("Ryh_4806_24_B"); gruppen["4806"].push("Ryh_4806_25_A"); gruppen["4806"].push("Ryh_4806_25_B"); gruppen["4806"].push("Ryh_4806_26"); gruppen["4806"].push("Ryh_4806_27_A"); gruppen["4806"].push("Ryh_4806_27_B"); gruppen["4806"].push("Ryh_4806_28"); gruppen["4806"].push("Ryh_4806_29"); gruppen["4806"].push("Ryh_4806_30_A"); gruppen["4806"].push("Ryh_4806_30_B"); gruppen["4806"].push("Ryh_4806_31"); gruppen["4806"].push("Ryh_4806_32"); gruppen["4806"].push("Ryh_4806_33_A"); gruppen["4806"].push("Ryh_4806_33_B"); gruppen["4806"].push("Ryh_4806_33_C"); gruppen["4806"].push("Ryh_4806_34_A"); gruppen["4806"].push("Ryh_4806_34_B"); gruppen["4806"].push("Ryh_4806_35_A"); gruppen["4806"].push("Ryh_4806_35_B"); gruppen["4806"].push("Ryh_4806_36"); gruppen["4806"].push("Ryh_4806_37"); gruppen["4806"].push("Ryh_4806_38"); gruppen["4806"].push("Ryh_4806_41_A"); gruppen["4806"].push("Ryh_4806_41_B"); gruppen["4806"].push("Ryh_4806_41_C"); gruppen["4806"].push("Ryh_4806_42_A"); gruppen["4806"].push("Ryh_4806_42_B"); gruppen["4807"] = new Array(); gruppen["4807"].push("Ryh_4807_1"); gruppen["4807"].push("Ryh_4807_2"); gruppen["4807"].push("Ryh_4807_6"); gruppen["4807"].push("Ryh_4807_7"); gruppen["4807"].push("Ryh_4807_8"); gruppen["4807"].push("Ryh_4807_9"); gruppen["4807"].push("Ryh_4807_10"); gruppen["4807"].push("Ryh_4807_11"); gruppen["4807"].push("Ryh_4807_12"); gruppen["4807"].push("Ryh_4807_13"); gruppen["4807"].push("Ryh_4807_15"); gruppen["4807"].push("Ryh_4807_16"); gruppen["4807"].push("Ryh_4807_17"); gruppen["4807"].push("Ryh_4807_18"); gruppen["4807"].push("Ryh_4807_19"); gruppen["4807"].push("Ryh_4807_31_A"); gruppen["4807"].push("Ryh_4807_31_B"); gruppen["4807"].push("Ryh_4807_31_C"); gruppen["4807"].push("Ryh_4807_32_A"); gruppen["4807"].push("Ryh_4807_32_B"); gruppen["4807"].push("Ryh_4807_33_A"); gruppen["4807"].push("Ryh_4807_33_B"); gruppen["4807"].push("Ryh_4807_34"); gruppen["4807"].push("Ryh_4807_35"); gruppen["4807"].push("Ryh_4807_36"); gruppen["4807"].push("Ryh_4807_37_A"); gruppen["4807"].push("Ryh_4807_37_B"); gruppen["4807"].push("Ryh_4807_38_A"); gruppen["4807"].push("Ryh_4807_38_B"); gruppen["4807"].push("Ryh_4807_39_A"); gruppen["4807"].push("Ryh_4807_39_B"); gruppen["4807"].push("Ryh_4807_40"); gruppen["4807"].push("Ryh_4807_41"); gruppen["4807"].push("Ryh_4807_42"); gruppen["4807"].push("Ryh_4807_44"); gruppen["4807"].push("Ryh_4807_45"); gruppen["4807"].push("Ryh_4807_46"); gruppen["4901"] = new Array(); gruppen["4901"].push("Ryh_4901_1_A"); gruppen["4901"].push("Ryh_4901_1_B"); gruppen["4901"].push("Ryh_4901_2"); gruppen["4901"].push("Ryh_4901_3"); gruppen["4901"].push("Ryh_4901_4_A"); gruppen["4901"].push("Ryh_4901_4_B"); gruppen["4901"].push("Ryh_4901_5"); gruppen["4901"].push("Ryh_4901_6"); gruppen["4901"].push("Ryh_4901_8"); gruppen["4901"].push("Ryh_4901_9"); gruppen["4901"].push("Ryh_4901_10"); gruppen["4901"].push("Ryh_4901_11"); gruppen["4901"].push("Ryh_4901_12"); gruppen["4901"].push("Ryh_4901_13"); gruppen["4901"].push("Ryh_4901_15"); gruppen["4901"].push("Ryh_4901_17"); gruppen["4901"].push("Ryh_4901_18"); gruppen["4901"].push("Ryh_4901_19"); gruppen["4901"].push("Ryh_4901_20"); gruppen["4901"].push("Ryh_4901_21"); gruppen["4901"].push("Ryh_4901_22"); gruppen["4901"].push("Ryh_4901_23"); gruppen["4901"].push("Ryh_4901_24"); gruppen["4901"].push("Ryh_4901_25"); gruppen["4901"].push("Ryh_4901_26"); gruppen["4901"].push("Ryh_4901_27"); gruppen["4901"].push("Ryh_4901_28"); gruppen["4901"].push("Ryh_4901_29"); gruppen["4901"].push("Ryh_4901_30"); gruppen["4901"].push("Ryh_4901_31"); gruppen["4901"].push("Ryh_4901_32"); gruppen["4901"].push("Ryh_4901_34"); gruppen["4901"].push("Ryh_4901_35"); gruppen["4901"].push("Ryh_4901_36"); gruppen["4901"].push("Ryh_4901_37"); gruppen["4901"].push("Ryh_4901_38"); gruppen["4901"].push("Ryh_4901_39"); gruppen["4901"].push("Ryh_4901_40"); gruppen["4901"].push("Ryh_4901_41"); gruppen["4901"].push("Ryh_4901_42"); gruppen["4901"].push("Ryh_4901_43_A"); gruppen["4901"].push("Ryh_4901_43_B"); gruppen["4901"].push("Ryh_4901_44"); gruppen["4901"].push("Ryh_4901_45"); gruppen["4901"].push("Ryh_4901_51"); gruppen["4901"].push("Ryh_4901_52"); gruppen["4901"].push("Ryh_4901_53"); gruppen["4901"].push("Ryh_4901_56"); gruppen["4903"] = new Array(); gruppen["4903"].push("Ryh_4903_2"); gruppen["4903"].push("Ryh_4903_3"); gruppen["4903"].push("Ryh_4903_4"); gruppen["4903"].push("Ryh_4903_5"); gruppen["4903"].push("Ryh_4903_6"); gruppen["4903"].push("Ryh_4903_7"); gruppen["4903"].push("Ryh_4903_8"); gruppen["4903"].push("Ryh_4903_9"); gruppen["4903"].push("Ryh_4903_10"); gruppen["4903"].push("Ryh_4903_11"); gruppen["4903"].push("Ryh_4903_12"); gruppen["4903"].push("Ryh_4903_13"); gruppen["4903"].push("Ryh_4903_14"); gruppen["4903"].push("Ryh_4903_15"); gruppen["4903"].push("Ryh_4903_17"); gruppen["4903"].push("Ryh_4903_18"); gruppen["4903"].push("Ryh_4903_19"); gruppen["4903"].push("Ryh_4903_20"); gruppen["4903"].push("Ryh_4903_21"); gruppen["4903"].push("Ryh_4903_22"); gruppen["4903"].push("Ryh_4903_23"); gruppen["4903"].push("Ryh_4903_31"); gruppen["4903"].push("Ryh_4903_32"); gruppen["4903"].push("Ryh_4903_33"); gruppen["4903"].push("Ryh_4903_34"); gruppen["4903"].push("Ryh_4903_36"); gruppen["4903"].push("Ryh_4903_41"); gruppen["4903"].push("Ryh_4903_42"); gruppen["4903"].push("Ryh_4903_43"); gruppen["4903"].push("Ryh_4903_44"); gruppen["4903"].push("Ryh_4903_48"); gruppen["4903"].push("Ryh_4903_49"); gruppen["4903"].push("Ryh_4903_51"); gruppen["4903"].push("Ryh_4903_54"); gruppen["4903"].push("Ryh_4903_55"); gruppen["4903"].push("Ryh_4903_56"); gruppen["4903"].push("Ryh_4903_57"); gruppen["4903"].push("Ryh_4903_58"); gruppen["4903"].push("Ryh_4903_59"); gruppen["4903"].push("Ryh_4903_61"); gruppen["4903"].push("Ryh_4903_62"); gruppen["4903"].push("Ryh_4903_63"); gruppen["4903"].push("Ryh_4903_64"); gruppen["4904"] = new Array(); gruppen["4904"].push("Ryh_4904_1"); gruppen["4904"].push("Ryh_4904_2"); gruppen["4904"].push("Ryh_4904_3"); gruppen["4904"].push("Ryh_4904_4"); gruppen["4904"].push("Ryh_4904_5"); gruppen["4904"].push("Ryh_4904_6"); gruppen["4904"].push("Ryh_4904_7"); gruppen["4904"].push("Ryh_4904_8"); gruppen["4904"].push("Ryh_4904_9"); gruppen["4904"].push("Ryh_4904_10"); gruppen["4904"].push("Ryh_4904_11"); gruppen["4904"].push("Ryh_4904_12"); gruppen["4904"].push("Ryh_4904_13"); gruppen["4904"].push("Ryh_4904_14"); gruppen["4904"].push("Ryh_4904_15"); gruppen["4904"].push("Ryh_4904_16"); gruppen["4904"].push("Ryh_4904_17"); gruppen["4904"].push("Ryh_4904_18"); gruppen["4904"].push("Ryh_4904_19"); gruppen["4904"].push("Ryh_4904_31"); gruppen["4904"].push("Ryh_4904_32"); gruppen["4904"].push("Ryh_4904_33"); gruppen["4904"].push("Ryh_4904_35"); gruppen["4904"].push("Ryh_4904_36"); gruppen["4904"].push("Ryh_4904_37"); gruppen["4904"].push("Ryh_4904_38"); gruppen["4904"].push("Ryh_4904_39"); gruppen["4904"].push("Ryh_4904_40"); gruppen["4904"].push("Ryh_4904_41"); gruppen["4904"].push("Ryh_4904_42"); gruppen["4904"].push("Ryh_4904_44"); gruppen["4904"].push("Ryh_4904_50"); gruppen["4905"] = new Array(); gruppen["4905"].push("Ryh_4905_1"); gruppen["4905"].push("Ryh_4905_2_A"); gruppen["4905"].push("Ryh_4905_2_B"); gruppen["4905"].push("Ryh_4905_3"); gruppen["4905"].push("Ryh_4905_4"); gruppen["4905"].push("Ryh_4905_6"); gruppen["4905"].push("Ryh_4905_8"); gruppen["4905"].push("Ryh_4905_9_A"); gruppen["4905"].push("Ryh_4905_9_B"); gruppen["4905"].push("Ryh_4905_10_A"); gruppen["4905"].push("Ryh_4905_10_B"); gruppen["4905"].push("Ryh_4905_11_A"); gruppen["4905"].push("Ryh_4905_11_B"); gruppen["4905"].push("Ryh_4905_12_A"); gruppen["4905"].push("Ryh_4905_12_B"); gruppen["4905"].push("Ryh_4905_12_C"); gruppen["4905"].push("Ryh_4905_13_A"); gruppen["4905"].push("Ryh_4905_13_B"); gruppen["4905"].push("Ryh_4905_14_A"); gruppen["4905"].push("Ryh_4905_14_B"); gruppen["4905"].push("Ryh_4905_14_C"); gruppen["4905"].push("Ryh_4905_14_D"); gruppen["4905"].push("Ryh_4905_15_A"); gruppen["4905"].push("Ryh_4905_15_B"); gruppen["4905"].push("Ryh_4905_16"); gruppen["4905"].push("Ryh_4905_17_A"); gruppen["4905"].push("Ryh_4905_17_B"); gruppen["4905"].push("Ryh_4905_18_A"); gruppen["4905"].push("Ryh_4905_18_B"); gruppen["4905"].push("Ryh_4905_19"); gruppen["4905"].push("Ryh_4905_20"); gruppen["4905"].push("Ryh_4905_21"); gruppen["4905"].push("Ryh_4905_22"); gruppen["4905"].push("Ryh_4905_23"); gruppen["4905"].push("Ryh_4905_24"); gruppen["4905"].push("Ryh_4905_25"); gruppen["4905"].push("Ryh_4905_26"); gruppen["4905"].push("Ryh_4905_27"); gruppen["4905"].push("Ryh_4905_28"); gruppen["4905"].push("Ryh_4905_29"); gruppen["4905"].push("Ryh_4905_30"); gruppen["4905"].push("Ryh_4905_31"); gruppen["4905"].push("Ryh_4905_32_A"); gruppen["4905"].push("Ryh_4905_32_B"); gruppen["4905"].push("Ryh_4905_32_C"); gruppen["4905"].push("Ryh_4905_33_A"); gruppen["4905"].push("Ryh_4905_33_B"); gruppen["4905"].push("Ryh_4905_34_A"); gruppen["4905"].push("Ryh_4905_34_B"); gruppen["4905"].push("Ryh_4905_35"); gruppen["4905"].push("Ryh_4905_36"); gruppen["4905"].push("Ryh_4905_37"); gruppen["4905"].push("Ryh_4905_38"); gruppen["4905"].push("Ryh_4905_39"); gruppen["4905"].push("Ryh_4905_40"); gruppen["4905"].push("Ryh_4905_41"); gruppen["4905"].push("Ryh_4905_42"); gruppen["4906"] = new Array(); gruppen["4906"].push("Ryh_4906_1"); gruppen["4906"].push("Ryh_4906_2"); gruppen["4906"].push("Ryh_4906_3"); gruppen["4906"].push("Ryh_4906_4"); gruppen["4906"].push("Ryh_4906_5"); gruppen["4906"].push("Ryh_4906_6"); gruppen["4906"].push("Ryh_4906_7_A"); gruppen["4906"].push("Ryh_4906_7_B"); gruppen["4906"].push("Ryh_4906_8_A"); gruppen["4906"].push("Ryh_4906_8_B"); gruppen["4906"].push("Ryh_4906_9_A"); gruppen["4906"].push("Ryh_4906_9_B"); gruppen["4906"].push("Ryh_4906_10_A"); gruppen["4906"].push("Ryh_4906_10_B"); gruppen["4906"].push("Ryh_4906_11_A"); gruppen["4906"].push("Ryh_4906_11_B"); gruppen["4906"].push("Ryh_4906_12_A"); gruppen["4906"].push("Ryh_4906_12_B"); gruppen["4906"].push("Ryh_4906_13_A"); gruppen["4906"].push("Ryh_4906_13_B"); gruppen["4906"].push("Ryh_4906_14_A"); gruppen["4906"].push("Ryh_4906_14_B"); gruppen["4906"].push("Ryh_4906_15_A"); gruppen["4906"].push("Ryh_4906_15_B"); gruppen["4906"].push("Ryh_4906_16_A"); gruppen["4906"].push("Ryh_4906_16_B"); gruppen["4906"].push("Ryh_4906_17_A"); gruppen["4906"].push("Ryh_4906_17_B"); gruppen["4906"].push("Ryh_4906_18"); gruppen["4906"].push("Ryh_4906_19_A"); gruppen["4906"].push("Ryh_4906_19_B"); gruppen["4906"].push("Ryh_4906_20_A"); gruppen["4906"].push("Ryh_4906_20_B"); gruppen["4906"].push("Ryh_4906_21_A"); gruppen["4906"].push("Ryh_4906_21_B"); gruppen["4906"].push("Ryh_4906_22_A"); gruppen["4906"].push("Ryh_4906_22_B"); gruppen["4906"].push("Ryh_4906_23_A"); gruppen["4906"].push("Ryh_4906_23_B"); gruppen["4906"].push("Ryh_4906_24_A"); gruppen["4906"].push("Ryh_4906_24_B"); gruppen["4906"].push("Ryh_4906_25_A"); gruppen["4906"].push("Ryh_4906_25_B"); gruppen["4906"].push("Ryh_4906_25_C"); gruppen["4906"].push("Ryh_4906_25_D"); gruppen["4906"].push("Ryh_4906_25_E"); gruppen["4906"].push("Ryh_4906_25_F"); gruppen["4906"].push("Ryh_4906_26_A"); gruppen["4906"].push("Ryh_4906_26_B"); gruppen["4906"].push("Ryh_4906_26_C"); gruppen["4906"].push("Ryh_4906_26_D"); gruppen["4906"].push("Ryh_4906_26_E"); gruppen["4906"].push("Ryh_4906_26_F"); gruppen["4906"].push("Ryh_4906_27_A"); gruppen["4906"].push("Ryh_4906_27_B"); gruppen["4906"].push("Ryh_4906_27_C"); gruppen["4906"].push("Ryh_4906_27_D"); gruppen["4906"].push("Ryh_4906_27_E"); gruppen["4906"].push("Ryh_4906_27_F"); gruppen["4906"].push("Ryh_4906_28_A"); gruppen["4906"].push("Ryh_4906_28_B"); gruppen["4906"].push("Ryh_4906_28_C"); gruppen["4906"].push("Ryh_4906_28_D"); gruppen["4906"].push("Ryh_4906_28_E"); gruppen["4906"].push("Ryh_4906_28_F"); gruppen["4906"].push("Ryh_4906_29_A"); gruppen["4906"].push("Ryh_4906_29_B"); gruppen["4906"].push("Ryh_4906_29_C"); gruppen["4906"].push("Ryh_4906_29_D"); gruppen["4906"].push("Ryh_4906_29_E"); gruppen["4906"].push("Ryh_4906_29_F"); gruppen["4906"].push("Ryh_4906_30_A"); gruppen["4906"].push("Ryh_4906_30_B"); gruppen["4906"].push("Ryh_4906_30_C"); gruppen["4906"].push("Ryh_4906_30_D"); gruppen["4906"].push("Ryh_4906_30_E"); gruppen["4906"].push("Ryh_4906_30_F"); gruppen["4906"].push("Ryh_4906_31_A"); gruppen["4906"].push("Ryh_4906_31_B"); gruppen["4906"].push("Ryh_4906_31_C"); gruppen["4906"].push("Ryh_4906_31_D"); gruppen["4906"].push("Ryh_4906_32_A"); gruppen["4906"].push("Ryh_4906_32_B"); gruppen["4906"].push("Ryh_4906_32_C"); gruppen["4906"].push("Ryh_4906_32_D"); gruppen["4906"].push("Ryh_4906_32_E"); gruppen["4906"].push("Ryh_4906_32_F"); gruppen["4906"].push("Ryh_4906_32_G"); gruppen["4906"].push("Ryh_4906_32_H"); gruppen["4906"].push("Ryh_4906_32_I"); gruppen["4906"].push("Ryh_4906_33_A"); gruppen["4906"].push("Ryh_4906_33_B"); gruppen["4906"].push("Ryh_4906_33_C"); gruppen["4906"].push("Ryh_4906_33_D"); gruppen["4906"].push("Ryh_4906_33_E"); gruppen["4906"].push("Ryh_4906_33_F"); gruppen["4906"].push("Ryh_4906_33_G"); gruppen["4906"].push("Ryh_4906_33_H"); gruppen["4906"].push("Ryh_4906_33_I"); gruppen["4906"].push("Ryh_4906_34_A"); gruppen["4906"].push("Ryh_4906_34_B"); gruppen["4906"].push("Ryh_4906_34_C"); gruppen["4906"].push("Ryh_4906_34_D"); gruppen["4906"].push("Ryh_4906_34_E"); gruppen["4906"].push("Ryh_4906_34_F"); gruppen["4906"].push("Ryh_4906_35_A"); gruppen["4906"].push("Ryh_4906_35_B"); gruppen["4906"].push("Ryh_4906_35_C"); gruppen["4906"].push("Ryh_4906_35_D"); gruppen["4906"].push("Ryh_4906_35_E"); gruppen["4906"].push("Ryh_4906_35_F"); gruppen["4907"] = new Array(); gruppen["4907"].push("Ryh_4907_1"); gruppen["4907"].push("Ryh_4907_2"); gruppen["4907"].push("Ryh_4907_3"); gruppen["4907"].push("Ryh_4907_4"); gruppen["4907"].push("Ryh_4907_5"); gruppen["4907"].push("Ryh_4907_6"); gruppen["4907"].push("Ryh_4907_7"); gruppen["4907"].push("Ryh_4907_8"); gruppen["4907"].push("Ryh_4907_9"); gruppen["4907"].push("Ryh_4907_10"); gruppen["4907"].push("Ryh_4907_11"); gruppen["4907"].push("Ryh_4907_12"); gruppen["4907"].push("Ryh_4907_13"); gruppen["4907"].push("Ryh_4907_14"); gruppen["4907"].push("Ryh_4907_15"); gruppen["4907"].push("Ryh_4907_16"); gruppen["4907"].push("Ryh_4907_17"); gruppen["4907"].push("Ryh_4907_18"); gruppen["4907"].push("Ryh_4907_19"); gruppen["4907"].push("Ryh_4907_20"); gruppen["4907"].push("Ryh_4907_21"); gruppen["4907"].push("Ryh_4907_22"); gruppen["4907"].push("Ryh_4907_23"); gruppen["4907"].push("Ryh_4907_24"); gruppen["4907"].push("Ryh_4907_25"); gruppen["4907"].push("Ryh_4907_26"); gruppen["5001"] = new Array(); gruppen["5001"].push("Ryh_5001_1"); gruppen["5001"].push("Ryh_5001_2"); gruppen["5001"].push("Ryh_5001_3"); gruppen["5001"].push("Ryh_5001_4"); gruppen["5001"].push("Ryh_5001_5"); gruppen["5001"].push("Ryh_5001_6"); gruppen["5001"].push("Ryh_5001_7"); gruppen["5001"].push("Ryh_5001_8"); gruppen["5001"].push("Ryh_5001_9"); gruppen["5001"].push("Ryh_5001_10"); gruppen["5001"].push("Ryh_5001_11"); gruppen["5001"].push("Ryh_5001_12"); gruppen["5001"].push("Ryh_5001_15"); gruppen["5001"].push("Ryh_5001_16"); gruppen["5001"].push("Ryh_5001_17"); gruppen["5001"].push("Ryh_5001_18"); gruppen["5001"].push("Ryh_5001_19"); gruppen["5001"].push("Ryh_5001_20"); gruppen["5001"].push("Ryh_5001_21"); gruppen["5001"].push("Ryh_5001_22"); gruppen["5001"].push("Ryh_5001_23"); gruppen["5001"].push("Ryh_5001_24"); gruppen["5001"].push("Ryh_5001_25"); gruppen["5001"].push("Ryh_5001_26"); gruppen["5001"].push("Ryh_5001_27"); gruppen["5001"].push("Ryh_5001_28"); gruppen["5001"].push("Ryh_5001_29"); gruppen["5001"].push("Ryh_5001_30"); gruppen["5001"].push("Ryh_5001_31"); gruppen["5001"].push("Ryh_5001_32"); gruppen["5001"].push("Ryh_5001_33"); gruppen["5001"].push("Ryh_5001_34"); gruppen["5001"].push("Ryh_5001_35"); gruppen["5001"].push("Ryh_5001_36"); gruppen["5001"].push("Ryh_5001_37"); gruppen["5001"].push("Ryh_5001_38"); gruppen["5001"].push("Ryh_5001_39"); gruppen["5001"].push("Ryh_5001_40"); gruppen["5001"].push("Ryh_5001_41"); gruppen["5001"].push("Ryh_5001_42"); gruppen["5001"].push("Ryh_5001_43"); gruppen["5001"].push("Ryh_5001_44"); gruppen["5001"].push("Ryh_5001_45"); gruppen["5001"].push("Ryh_5001_46"); gruppen["5001"].push("Ryh_5001_47"); gruppen["5003"] = new Array(); gruppen["5003"].push("Ryh_5003_1_A"); gruppen["5003"].push("Ryh_5003_1_B"); gruppen["5003"].push("Ryh_5003_2_A"); gruppen["5003"].push("Ryh_5003_2_B"); gruppen["5003"].push("Ryh_5003_3"); gruppen["5003"].push("Ryh_5003_4"); gruppen["5003"].push("Ryh_5003_5"); gruppen["5003"].push("Ryh_5003_6"); gruppen["5003"].push("Ryh_5003_7"); gruppen["5003"].push("Ryh_5003_8"); gruppen["5003"].push("Ryh_5003_9"); gruppen["5003"].push("Ryh_5003_10"); gruppen["5003"].push("Ryh_5003_11"); gruppen["5003"].push("Ryh_5003_12"); gruppen["5003"].push("Ryh_5003_13"); gruppen["5003"].push("Ryh_5003_14"); gruppen["5003"].push("Ryh_5003_15"); gruppen["5003"].push("Ryh_5003_16"); gruppen["5003"].push("Ryh_5003_17"); gruppen["5003"].push("Ryh_5003_18_A"); gruppen["5003"].push("Ryh_5003_18_B"); gruppen["5003"].push("Ryh_5003_19_A"); gruppen["5003"].push("Ryh_5003_19_B"); gruppen["5003"].push("Ryh_5003_20"); gruppen["5003"].push("Ryh_5003_21"); gruppen["5003"].push("Ryh_5003_22"); gruppen["5003"].push("Ryh_5003_23"); gruppen["5003"].push("Ryh_5003_24"); gruppen["5003"].push("Ryh_5003_25"); gruppen["5003"].push("Ryh_5003_26"); gruppen["5003"].push("Ryh_5003_27"); gruppen["5003"].push("Ryh_5003_28"); gruppen["5003"].push("Ryh_5003_29"); gruppen["5003"].push("Ryh_5003_30"); gruppen["5003"].push("Ryh_5003_31"); gruppen["5003"].push("Ryh_5003_33"); gruppen["5003"].push("Ryh_5003_34"); gruppen["5003"].push("Ryh_5003_35"); gruppen["5003"].push("Ryh_5003_36"); gruppen["5003"].push("Ryh_5003_37"); gruppen["5003"].push("Ryh_5003_38"); gruppen["5003"].push("Ryh_5003_39"); gruppen["5003"].push("Ryh_5003_41"); gruppen["5003"].push("Ryh_5003_42"); gruppen["5003"].push("Ryh_5003_43"); gruppen["5003"].push("Ryh_5003_44"); gruppen["5003"].push("Ryh_5003_45"); gruppen["5005"] = new Array(); gruppen["5005"].push("Ryh_5005_1"); gruppen["5005"].push("Ryh_5005_2"); gruppen["5005"].push("Ryh_5005_3"); gruppen["5005"].push("Ryh_5005_4"); gruppen["5005"].push("Ryh_5005_5"); gruppen["5005"].push("Ryh_5005_9"); gruppen["5005"].push("Ryh_5005_10"); gruppen["5005"].push("Ryh_5005_11"); gruppen["5005"].push("Ryh_5005_12"); gruppen["5005"].push("Ryh_5005_13"); gruppen["5005"].push("Ryh_5005_14"); gruppen["5005"].push("Ryh_5005_18"); gruppen["5005"].push("Ryh_5005_19"); gruppen["5005"].push("Ryh_5005_20"); gruppen["5005"].push("Ryh_5005_21"); gruppen["5005"].push("Ryh_5005_22"); gruppen["5005"].push("Ryh_5005_23"); gruppen["5005"].push("Ryh_5005_24"); gruppen["5005"].push("Ryh_5005_25"); gruppen["5005"].push("Ryh_5005_26"); gruppen["5005"].push("Ryh_5005_27"); gruppen["5005"].push("Ryh_5005_28"); gruppen["5005"].push("Ryh_5005_29"); gruppen["5005"].push("Ryh_5005_30"); gruppen["5005"].push("Ryh_5005_35"); gruppen["5005"].push("Ryh_5005_36"); gruppen["5005"].push("Ryh_5005_37"); gruppen["5005"].push("Ryh_5005_38"); gruppen["5005"].push("Ryh_5005_39"); gruppen["5005"].push("Ryh_5005_40"); gruppen["5005"].push("Ryh_5005_41"); gruppen["5005"].push("Ryh_5005_42"); gruppen["5005"].push("Ryh_5005_43"); gruppen["5005"].push("Ryh_5005_44"); gruppen["5005"].push("Ryh_5005_45"); gruppen["5005"].push("Ryh_5005_46"); gruppen["5006"] = new Array(); gruppen["5006"].push("Ryh_5006_31"); gruppen["5006"].push("Ryh_5006_33"); gruppen["5006"].push("Ryh_5006_34"); gruppen["5006"].push("Ryh_5006_36_A"); gruppen["5006"].push("Ryh_5006_36_B"); gruppen["5006"].push("Ryh_5006_37"); gruppen["5006"].push("Ryh_5006_38_A"); gruppen["5006"].push("Ryh_5006_38_B"); gruppen["5006"].push("Ryh_5006_39"); gruppen["5006"].push("Ryh_5006_40"); gruppen["5006"].push("Ryh_5006_41"); gruppen["5006"].push("Ryh_5006_42"); gruppen["5006"].push("Ryh_5006_43"); gruppen["5006"].push("Ryh_5006_44"); gruppen["5006"].push("Ryh_5006_45"); gruppen["5006"].push("Ryh_5006_46"); gruppen["5007"] = new Array(); gruppen["5007"].push("Ryh_5007_1"); gruppen["5007"].push("Ryh_5007_3"); gruppen["5007"].push("Ryh_5007_4"); gruppen["5007"].push("Ryh_5007_5"); gruppen["5007"].push("Ryh_5007_8"); gruppen["5007"].push("Ryh_5007_9"); gruppen["5007"].push("Ryh_5007_10"); gruppen["5007"].push("Ryh_5007_11"); gruppen["5007"].push("Ryh_5007_12"); gruppen["5007"].push("Ryh_5007_15"); gruppen["5007"].push("Ryh_5007_16"); gruppen["5007"].push("Ryh_5007_18"); gruppen["5007"].push("Ryh_5007_19"); gruppen["5007"].push("Ryh_5007_20"); gruppen["5007"].push("Ryh_5007_21"); gruppen["5007"].push("Ryh_5007_22"); gruppen["5007"].push("Ryh_5007_24"); gruppen["5007"].push("Ryh_5007_25"); gruppen["5007"].push("Ryh_5007_26"); gruppen["5007"].push("Ryh_5007_27"); gruppen["5007"].push("Ryh_5007_41"); gruppen["5007"].push("Ryh_5007_42"); gruppen["5007"].push("Ryh_5007_43"); gruppen["5007"].push("Ryh_5007_44"); gruppen["5008"] = new Array(); gruppen["5008"].push("Ryh_5008_1_A"); gruppen["5008"].push("Ryh_5008_1_B"); gruppen["5008"].push("Ryh_5008_2"); gruppen["5008"].push("Ryh_5008_3"); gruppen["5008"].push("Ryh_5008_5"); gruppen["5008"].push("Ryh_5008_6"); gruppen["5008"].push("Ryh_5008_7"); gruppen["5008"].push("Ryh_5008_9"); gruppen["5008"].push("Ryh_5008_10"); gruppen["5008"].push("Ryh_5008_11"); gruppen["5008"].push("Ryh_5008_12"); gruppen["5008"].push("Ryh_5008_13"); gruppen["5008"].push("Ryh_5008_14"); gruppen["5008"].push("Ryh_5008_15"); gruppen["5008"].push("Ryh_5008_16"); gruppen["5008"].push("Ryh_5008_17"); gruppen["5008"].push("Ryh_5008_18"); gruppen["5008"].push("Ryh_5008_19"); gruppen["5008"].push("Ryh_5008_20"); gruppen["5008"].push("Ryh_5008_21"); gruppen["5008"].push("Ryh_5008_42"); gruppen["5008"].push("Ryh_5008_47"); gruppen["5008"].push("Ryh_5008_48"); gruppen["5008"].push("Ryh_5008_49"); gruppen["5008"].push("Ryh_5008_50"); gruppen["5008"].push("Ryh_5008_51"); gruppen["5009"] = new Array(); gruppen["5009"].push("Ryh_5009_1"); gruppen["5009"].push("Ryh_5009_2"); gruppen["5009"].push("Ryh_5009_3"); gruppen["5009"].push("Ryh_5009_4"); gruppen["5009"].push("Ryh_5009_5"); gruppen["5009"].push("Ryh_5009_6"); gruppen["5009"].push("Ryh_5009_7"); gruppen["5009"].push("Ryh_5009_9"); gruppen["5009"].push("Ryh_5009_10"); gruppen["5009"].push("Ryh_5009_11"); gruppen["5009"].push("Ryh_5009_12"); gruppen["5009"].push("Ryh_5009_13"); gruppen["5009"].push("Ryh_5009_14"); gruppen["5009"].push("Ryh_5009_15"); gruppen["5009"].push("Ryh_5009_16"); gruppen["5009"].push("Ryh_5009_17"); gruppen["5009"].push("Ryh_5009_18"); gruppen["5009"].push("Ryh_5009_19"); gruppen["5009"].push("Ryh_5009_24"); gruppen["5009"].push("Ryh_5009_25"); gruppen["5009"].push("Ryh_5009_26"); gruppen["5009"].push("Ryh_5009_27"); gruppen["5009"].push("Ryh_5009_28"); gruppen["5009"].push("Ryh_5009_29"); gruppen["5009"].push("Ryh_5009_30"); gruppen["5009"].push("Ryh_5009_31"); gruppen["5009"].push("Ryh_5009_32"); gruppen["5009"].push("Ryh_5009_37"); gruppen["5009"].push("Ryh_5009_38"); gruppen["5009"].push("Ryh_5009_39"); gruppen["5010"] = new Array(); gruppen["5010"].push("Ryh_5010_1"); gruppen["5010"].push("Ryh_5010_5"); gruppen["5010"].push("Ryh_5010_6"); gruppen["5010"].push("Ryh_5010_7"); gruppen["5010"].push("Ryh_5010_8"); gruppen["5010"].push("Ryh_5010_9"); gruppen["5010"].push("Ryh_5010_10"); gruppen["5010"].push("Ryh_5010_15"); gruppen["5010"].push("Ryh_5010_16"); gruppen["5010"].push("Ryh_5010_17"); gruppen["5010"].push("Ryh_5010_18"); gruppen["5010"].push("Ryh_5010_19"); gruppen["5010"].push("Ryh_5010_20"); gruppen["5010"].push("Ryh_5010_21"); gruppen["5010"].push("Ryh_5010_22"); gruppen["5010"].push("Ryh_5010_24"); gruppen["5010"].push("Ryh_5010_26"); gruppen["5010"].push("Ryh_5010_27"); gruppen["5010"].push("Ryh_5010_28"); gruppen["5010"].push("Ryh_5010_29"); gruppen["5010"].push("Ryh_5010_30"); gruppen["5010"].push("Ryh_5010_37_A"); gruppen["5010"].push("Ryh_5010_37_B"); gruppen["5010"].push("Ryh_5010_38"); gruppen["5010"].push("Ryh_5010_39"); gruppen["5010"].push("Ryh_5010_40"); gruppen["5010"].push("Ryh_5010_43"); gruppen["5010"].push("Ryh_5010_52"); gruppen["5010"].push("Ryh_5010_53"); gruppen["5010"].push("Ryh_5010_54"); gruppen["5011"] = new Array(); gruppen["5011"].push("Ryh_5011_1"); gruppen["5011"].push("Ryh_5011_3"); gruppen["5011"].push("Ryh_5011_6"); gruppen["5011"].push("Ryh_5011_8"); gruppen["5011"].push("Ryh_5011_9"); gruppen["5011"].push("Ryh_5011_10"); gruppen["5011"].push("Ryh_5011_11"); gruppen["5011"].push("Ryh_5011_21"); gruppen["5011"].push("Ryh_5011_22"); gruppen["5011"].push("Ryh_5011_23_A"); gruppen["5011"].push("Ryh_5011_23_B"); gruppen["5011"].push("Ryh_5011_24_A"); gruppen["5011"].push("Ryh_5011_24_B"); gruppen["5011"].push("Ryh_5011_25"); gruppen["5011"].push("Ryh_5011_26"); gruppen["5011"].push("Ryh_5011_27"); gruppen["5011"].push("Ryh_5011_28"); gruppen["5011"].push("Ryh_5011_29"); gruppen["5011"].push("Ryh_5011_30"); gruppen["5011"].push("Ryh_5011_39_A"); gruppen["5011"].push("Ryh_5011_39_B"); gruppen["5012"] = new Array(); gruppen["5012"].push("Ryh_5012_1_A"); gruppen["5012"].push("Ryh_5012_1_B"); gruppen["5012"].push("Ryh_5012_2_A"); gruppen["5012"].push("Ryh_5012_2_B"); gruppen["5012"].push("Ryh_5012_3_A"); gruppen["5012"].push("Ryh_5012_3_B"); gruppen["5012"].push("Ryh_5012_3_C"); gruppen["5012"].push("Ryh_5012_3_D"); gruppen["5012"].push("Ryh_5012_3_E"); gruppen["5012"].push("Ryh_5012_3_F"); gruppen["5012"].push("Ryh_5012_4_A"); gruppen["5012"].push("Ryh_5012_4_B"); gruppen["5012"].push("Ryh_5012_4_C"); gruppen["5012"].push("Ryh_5012_4_D"); gruppen["5012"].push("Ryh_5012_5_A"); gruppen["5012"].push("Ryh_5012_5_B"); gruppen["5012"].push("Ryh_5012_5_C"); gruppen["5012"].push("Ryh_5012_5_D"); gruppen["5012"].push("Ryh_5012_6_A"); gruppen["5012"].push("Ryh_5012_6_B"); gruppen["5012"].push("Ryh_5012_6_C"); gruppen["5012"].push("Ryh_5012_7_A"); gruppen["5012"].push("Ryh_5012_7_B"); gruppen["5012"].push("Ryh_5012_7_C"); gruppen["5012"].push("Ryh_5012_8_A"); gruppen["5012"].push("Ryh_5012_8_B"); gruppen["5012"].push("Ryh_5012_9"); gruppen["5012"].push("Ryh_5012_10_A"); gruppen["5012"].push("Ryh_5012_10_B"); gruppen["5012"].push("Ryh_5012_10_C"); gruppen["5012"].push("Ryh_5012_10_D"); gruppen["5012"].push("Ryh_5012_11_A"); gruppen["5012"].push("Ryh_5012_11_B"); gruppen["5012"].push("Ryh_5012_11_C"); gruppen["5012"].push("Ryh_5012_11_D"); gruppen["5012"].push("Ryh_5012_11_E"); gruppen["5012"].push("Ryh_5012_11_F"); gruppen["5012"].push("Ryh_5012_12_A"); gruppen["5012"].push("Ryh_5012_12_B"); gruppen["5012"].push("Ryh_5012_13_A"); gruppen["5012"].push("Ryh_5012_13_B"); gruppen["5012"].push("Ryh_5012_14_A"); gruppen["5012"].push("Ryh_5012_14_B"); gruppen["5012"].push("Ryh_5012_15_A"); gruppen["5012"].push("Ryh_5012_15_B"); gruppen["5012"].push("Ryh_5012_16_A"); gruppen["5012"].push("Ryh_5012_16_B"); gruppen["5012"].push("Ryh_5012_17_A"); gruppen["5012"].push("Ryh_5012_17_B"); gruppen["5012"].push("Ryh_5012_17_C"); gruppen["5012"].push("Ryh_5012_17_D"); gruppen["5012"].push("Ryh_5012_18"); gruppen["5012"].push("Ryh_5012_19"); gruppen["5012"].push("Ryh_5012_20_A"); gruppen["5012"].push("Ryh_5012_20_B"); gruppen["5012"].push("Ryh_5012_20_C"); gruppen["5012"].push("Ryh_5012_20_D"); gruppen["5012"].push("Ryh_5012_20_E"); gruppen["5012"].push("Ryh_5012_20_F"); gruppen["5012"].push("Ryh_5012_20_G"); gruppen["5012"].push("Ryh_5012_20_H"); gruppen["5012"].push("Ryh_5012_20_I"); gruppen["5012"].push("Ryh_5012_21_A"); gruppen["5012"].push("Ryh_5012_21_B"); gruppen["5012"].push("Ryh_5012_21_C"); gruppen["5012"].push("Ryh_5012_21_D"); gruppen["5012"].push("Ryh_5012_21_E"); gruppen["5012"].push("Ryh_5012_21_F"); gruppen["5012"].push("Ryh_5012_21_G"); gruppen["5012"].push("Ryh_5012_22_A"); gruppen["5012"].push("Ryh_5012_22_B"); gruppen["5012"].push("Ryh_5012_22_C"); gruppen["5012"].push("Ryh_5012_22_D"); gruppen["5012"].push("Ryh_5012_22_E"); gruppen["5012"].push("Ryh_5012_22_F"); gruppen["5012"].push("Ryh_5012_23_A"); gruppen["5012"].push("Ryh_5012_23_B"); gruppen["5012"].push("Ryh_5012_23_C"); gruppen["5012"].push("Ryh_5012_23_D"); gruppen["5012"].push("Ryh_5012_23_E"); gruppen["5012"].push("Ryh_5012_23_F"); gruppen["5012"].push("Ryh_5012_23_G"); gruppen["5012"].push("Ryh_5012_23_H"); gruppen["5012"].push("Ryh_5012_23_I"); gruppen["5012"].push("Ryh_5012_24_A"); gruppen["5012"].push("Ryh_5012_24_B"); gruppen["5012"].push("Ryh_5012_24_C"); gruppen["5012"].push("Ryh_5012_24_D"); gruppen["5012"].push("Ryh_5012_24_E"); gruppen["5012"].push("Ryh_5012_24_F"); gruppen["5012"].push("Ryh_5012_24_G"); gruppen["5012"].push("Ryh_5012_25_A"); gruppen["5012"].push("Ryh_5012_25_B"); gruppen["5012"].push("Ryh_5012_25_C"); gruppen["5012"].push("Ryh_5012_25_D"); gruppen["5012"].push("Ryh_5012_25_E"); gruppen["5012"].push("Ryh_5012_26_A"); gruppen["5012"].push("Ryh_5012_26_B"); gruppen["5012"].push("Ryh_5012_26_C"); gruppen["5012"].push("Ryh_5012_26_D"); gruppen["5012"].push("Ryh_5012_26_E"); gruppen["5012"].push("Ryh_5012_26_F"); gruppen["5012"].push("Ryh_5012_27_A"); gruppen["5012"].push("Ryh_5012_27_B"); gruppen["5012"].push("Ryh_5012_27_C"); gruppen["5012"].push("Ryh_5012_27_D"); gruppen["5012"].push("Ryh_5012_27_E"); gruppen["5012"].push("Ryh_5012_27_F"); gruppen["5012"].push("Ryh_5012_28_A"); gruppen["5012"].push("Ryh_5012_28_B"); gruppen["5012"].push("Ryh_5012_28_C"); gruppen["5012"].push("Ryh_5012_28_D"); gruppen["5012"].push("Ryh_5012_28_E"); gruppen["5012"].push("Ryh_5012_28_F"); gruppen["5012"].push("Ryh_5012_28_G"); gruppen["5012"].push("Ryh_5012_28_H"); gruppen["5012"].push("Ryh_5012_28_I"); gruppen["5012"].push("Ryh_5012_28_K"); gruppen["5012"].push("Ryh_5012_29_A"); gruppen["5012"].push("Ryh_5012_29_B"); gruppen["5012"].push("Ryh_5012_30_A"); gruppen["5012"].push("Ryh_5012_30_B"); gruppen["5012"].push("Ryh_5012_30_C"); gruppen["5012"].push("Ryh_5012_31_A"); gruppen["5012"].push("Ryh_5012_31_B"); gruppen["5012"].push("Ryh_5012_31_C"); gruppen["5012"].push("Ryh_5012_31_D"); gruppen["5012"].push("Ryh_5012_32_A"); gruppen["5012"].push("Ryh_5012_32_B"); gruppen["5012"].push("Ryh_5012_32_C"); gruppen["5012"].push("Ryh_5012_32_D"); gruppen["5012"].push("Ryh_5012_33"); gruppen["5012"].push("Ryh_5012_34"); gruppen["5012"].push("Ryh_5012_35"); gruppen["5012"].push("Ryh_5012_36"); gruppen["5012"].push("Ryh_5012_37_A"); gruppen["5012"].push("Ryh_5012_37_B"); gruppen["5012"].push("Ryh_5012_37_C"); gruppen["5012"].push("Ryh_5012_38_A"); gruppen["5012"].push("Ryh_5012_38_B"); gruppen["5012"].push("Ryh_5012_38_C"); gruppen["5012"].push("Ryh_5012_39_A"); gruppen["5012"].push("Ryh_5012_39_B"); gruppen["5012"].push("Ryh_5012_39_C"); gruppen["5012"].push("Ryh_5012_39_D"); gruppen["5012"].push("Ryh_5012_39_E"); gruppen["5012"].push("Ryh_5012_39_F"); gruppen["5012"].push("Ryh_5012_40_A"); gruppen["5012"].push("Ryh_5012_40_B"); gruppen["5012"].push("Ryh_5012_41_A"); gruppen["5012"].push("Ryh_5012_41_B"); gruppen["5012"].push("Ryh_5012_41_C"); gruppen["5012"].push("Ryh_5012_41_D"); gruppen["5012"].push("Ryh_5012_42_A"); gruppen["5012"].push("Ryh_5012_42_B"); gruppen["5012"].push("Ryh_5012_42_C"); gruppen["5012"].push("Ryh_5012_42_D"); gruppen["5012"].push("Ryh_5012_43_A"); gruppen["5012"].push("Ryh_5012_43_B"); gruppen["5012"].push("Ryh_5012_43_C"); gruppen["5012"].push("Ryh_5012_43_D"); gruppen["5012"].push("Ryh_5012_43_E"); gruppen["5012"].push("Ryh_5012_44_A"); gruppen["5012"].push("Ryh_5012_44_B"); gruppen["5012"].push("Ryh_5012_44_C"); gruppen["5012"].push("Ryh_5012_44_D"); gruppen["5012"].push("Ryh_5012_44_E"); gruppen["5012"].push("Ryh_5012_44_F"); gruppen["5012"].push("Ryh_5012_45_A"); gruppen["5012"].push("Ryh_5012_45_B"); gruppen["5012"].push("Ryh_5012_45_C"); gruppen["5012"].push("Ryh_5012_45_D"); gruppen["5012"].push("Ryh_5012_46_A"); gruppen["5012"].push("Ryh_5012_46_B"); gruppen["5012"].push("Ryh_5012_46_C"); gruppen["5012"].push("Ryh_5012_47"); gruppen["5013"] = new Array(); gruppen["5013"].push("Ryh_5013_1_A"); gruppen["5013"].push("Ryh_5013_1_B"); gruppen["5013"].push("Ryh_5013_2"); gruppen["5013"].push("Ryh_5013_3"); gruppen["5013"].push("Ryh_5013_4"); gruppen["5013"].push("Ryh_5013_5"); gruppen["5013"].push("Ryh_5013_9_A"); gruppen["5013"].push("Ryh_5013_9_B"); gruppen["5013"].push("Ryh_5013_9_C"); gruppen["5013"].push("Ryh_5013_10"); gruppen["5013"].push("Ryh_5013_13"); gruppen["5013"].push("Ryh_5013_15"); gruppen["5013"].push("Ryh_5013_16"); gruppen["5013"].push("Ryh_5013_17"); gruppen["5013"].push("Ryh_5013_19"); gruppen["5013"].push("Ryh_5013_20"); gruppen["5013"].push("Ryh_5013_21_A"); gruppen["5013"].push("Ryh_5013_21_B"); gruppen["5013"].push("Ryh_5013_22"); gruppen["5013"].push("Ryh_5013_23"); gruppen["5013"].push("Ryh_5013_24"); gruppen["5013"].push("Ryh_5013_25"); gruppen["5013"].push("Ryh_5013_26"); gruppen["5013"].push("Ryh_5013_27"); gruppen["5013"].push("Ryh_5013_28"); gruppen["5013"].push("Ryh_5013_29"); gruppen["5013"].push("Ryh_5013_38"); gruppen["5101"] = new Array(); gruppen["5101"].push("Ryh_5101_1"); gruppen["5101"].push("Ryh_5101_2_A"); gruppen["5101"].push("Ryh_5101_2_B"); gruppen["5101"].push("Ryh_5101_3"); gruppen["5101"].push("Ryh_5101_4"); gruppen["5101"].push("Ryh_5101_7"); gruppen["5101"].push("Ryh_5101_8"); gruppen["5101"].push("Ryh_5101_9"); gruppen["5101"].push("Ryh_5101_10"); gruppen["5101"].push("Ryh_5101_11"); gruppen["5101"].push("Ryh_5101_13"); gruppen["5101"].push("Ryh_5101_14"); gruppen["5101"].push("Ryh_5101_15"); gruppen["5101"].push("Ryh_5101_16"); gruppen["5101"].push("Ryh_5101_18"); gruppen["5101"].push("Ryh_5101_19"); gruppen["5101"].push("Ryh_5101_21"); gruppen["5101"].push("Ryh_5101_22"); gruppen["5101"].push("Ryh_5101_23"); gruppen["5101"].push("Ryh_5101_24"); gruppen["5101"].push("Ryh_5101_25"); gruppen["5101"].push("Ryh_5101_26"); gruppen["5101"].push("Ryh_5101_27"); gruppen["5101"].push("Ryh_5101_28"); gruppen["5101"].push("Ryh_5101_29"); gruppen["5101"].push("Ryh_5101_30"); gruppen["5101"].push("Ryh_5101_31"); gruppen["5101"].push("Ryh_5101_33"); gruppen["5101"].push("Ryh_5101_34"); gruppen["5101"].push("Ryh_5101_35"); gruppen["5101"].push("Ryh_5101_36"); gruppen["5101"].push("Ryh_5101_37"); gruppen["5101"].push("Ryh_5101_38"); gruppen["5101"].push("Ryh_5101_39"); gruppen["5101"].push("Ryh_5101_40"); gruppen["5101"].push("Ryh_5101_41"); gruppen["5102"] = new Array(); gruppen["5102"].push("Ryh_5102_1"); gruppen["5102"].push("Ryh_5102_2"); gruppen["5102"].push("Ryh_5102_3"); gruppen["5102"].push("Ryh_5102_4"); gruppen["5102"].push("Ryh_5102_5"); gruppen["5102"].push("Ryh_5102_6"); gruppen["5102"].push("Ryh_5102_8"); gruppen["5102"].push("Ryh_5102_9"); gruppen["5102"].push("Ryh_5102_11"); gruppen["5102"].push("Ryh_5102_14"); gruppen["5102"].push("Ryh_5102_22"); gruppen["5102"].push("Ryh_5102_23"); gruppen["5102"].push("Ryh_5102_24"); gruppen["5102"].push("Ryh_5102_26"); gruppen["5102"].push("Ryh_5102_27"); gruppen["5102"].push("Ryh_5102_28"); gruppen["5102"].push("Ryh_5102_29"); gruppen["5103"] = new Array(); gruppen["5103"].push("Ryh_5103_1"); gruppen["5103"].push("Ryh_5103_2"); gruppen["5103"].push("Ryh_5103_3"); gruppen["5103"].push("Ryh_5103_4"); gruppen["5103"].push("Ryh_5103_5"); gruppen["5103"].push("Ryh_5103_6"); gruppen["5103"].push("Ryh_5103_7"); gruppen["5103"].push("Ryh_5103_9"); gruppen["5103"].push("Ryh_5103_10"); gruppen["5103"].push("Ryh_5103_12"); gruppen["5103"].push("Ryh_5103_13"); gruppen["5103"].push("Ryh_5103_14"); gruppen["5103"].push("Ryh_5103_15"); gruppen["5103"].push("Ryh_5103_16_A"); gruppen["5103"].push("Ryh_5103_16_B"); gruppen["5103"].push("Ryh_5103_17"); gruppen["5103"].push("Ryh_5103_26"); gruppen["5103"].push("Ryh_5103_27_A"); gruppen["5103"].push("Ryh_5103_27_B"); gruppen["5103"].push("Ryh_5103_28"); gruppen["5103"].push("Ryh_5103_31"); gruppen["5103"].push("Ryh_5103_32"); gruppen["5103"].push("Ryh_5103_33"); gruppen["5103"].push("Ryh_5103_35"); gruppen["5103"].push("Ryh_5103_36"); gruppen["5103"].push("Ryh_5103_46_A"); gruppen["5103"].push("Ryh_5103_46_B"); gruppen["5103"].push("Ryh_5103_46_C"); gruppen["5103"].push("Ryh_5103_47"); gruppen["5103"].push("Ryh_5103_48"); gruppen["5104"] = new Array(); gruppen["5104"].push("Ryh_5104_1_A"); gruppen["5104"].push("Ryh_5104_1_B"); gruppen["5104"].push("Ryh_5104_2"); gruppen["5104"].push("Ryh_5104_3"); gruppen["5104"].push("Ryh_5104_4"); gruppen["5104"].push("Ryh_5104_5"); gruppen["5104"].push("Ryh_5104_7"); gruppen["5104"].push("Ryh_5104_8"); gruppen["5104"].push("Ryh_5104_9"); gruppen["5104"].push("Ryh_5104_10"); gruppen["5104"].push("Ryh_5104_11"); gruppen["5104"].push("Ryh_5104_12"); gruppen["5104"].push("Ryh_5104_15"); gruppen["5104"].push("Ryh_5104_16"); gruppen["5104"].push("Ryh_5104_17"); gruppen["5104"].push("Ryh_5104_18"); gruppen["5104"].push("Ryh_5104_19"); gruppen["5104"].push("Ryh_5104_31"); gruppen["5104"].push("Ryh_5104_32"); gruppen["5104"].push("Ryh_5104_34"); gruppen["5104"].push("Ryh_5104_35"); gruppen["5104"].push("Ryh_5104_36"); gruppen["5104"].push("Ryh_5104_37"); gruppen["5104"].push("Ryh_5104_40"); gruppen["5104"].push("Ryh_5104_51"); gruppen["5104"].push("Ryh_5104_52"); gruppen["5104"].push("Ryh_5104_54"); gruppen["5105"] = new Array(); gruppen["5105"].push("Ryh_5105_1"); gruppen["5105"].push("Ryh_5105_2"); gruppen["5105"].push("Ryh_5105_4"); gruppen["5105"].push("Ryh_5105_5"); gruppen["5105"].push("Ryh_5105_6"); gruppen["5105"].push("Ryh_5105_7"); gruppen["5105"].push("Ryh_5105_8"); gruppen["5105"].push("Ryh_5105_10"); gruppen["5105"].push("Ryh_5105_11"); gruppen["5105"].push("Ryh_5105_21"); gruppen["5105"].push("Ryh_5105_22"); gruppen["5105"].push("Ryh_5105_25"); gruppen["5105"].push("Ryh_5105_29"); gruppen["5105"].push("Ryh_5105_31"); gruppen["5106"] = new Array(); gruppen["5106"].push("Ryh_5106_1"); gruppen["5106"].push("Ryh_5106_2"); gruppen["5106"].push("Ryh_5106_3_A"); gruppen["5106"].push("Ryh_5106_3_B"); gruppen["5106"].push("Ryh_5106_5"); gruppen["5106"].push("Ryh_5106_7"); gruppen["5106"].push("Ryh_5106_9"); gruppen["5106"].push("Ryh_5106_10"); gruppen["5106"].push("Ryh_5106_11"); gruppen["5106"].push("Ryh_5106_12"); gruppen["5106"].push("Ryh_5106_13"); gruppen["5106"].push("Ryh_5106_14"); gruppen["5106"].push("Ryh_5106_15"); gruppen["5106"].push("Ryh_5106_16"); gruppen["5106"].push("Ryh_5106_31"); gruppen["5106"].push("Ryh_5106_32"); gruppen["5106"].push("Ryh_5106_33"); gruppen["5106"].push("Ryh_5106_34"); gruppen["5106"].push("Ryh_5106_35"); gruppen["5106"].push("Ryh_5106_36"); gruppen["5106"].push("Ryh_5106_37"); gruppen["5106"].push("Ryh_5106_38"); gruppen["5106"].push("Ryh_5106_39"); gruppen["5106"].push("Ryh_5106_40_A"); gruppen["5106"].push("Ryh_5106_40_B"); gruppen["5106"].push("Ryh_5106_41"); gruppen["5107"] = new Array(); gruppen["5107"].push("Ryh_5107_1"); gruppen["5107"].push("Ryh_5107_3"); gruppen["5107"].push("Ryh_5107_4"); gruppen["5107"].push("Ryh_5107_7"); gruppen["5107"].push("Ryh_5107_8"); gruppen["5107"].push("Ryh_5107_9"); gruppen["5107"].push("Ryh_5107_21"); gruppen["5107"].push("Ryh_5107_22"); gruppen["5107"].push("Ryh_5107_23"); gruppen["5107"].push("Ryh_5107_24"); gruppen["5107"].push("Ryh_5107_25"); gruppen["5107"].push("Ryh_5107_27"); gruppen["5107"].push("Ryh_5107_28"); gruppen["5107"].push("Ryh_5107_29"); gruppen["5107"].push("Ryh_5107_30"); gruppen["5107"].push("Ryh_5107_31"); gruppen["5108"] = new Array(); gruppen["5108"].push("Ryh_5108_1_A"); gruppen["5108"].push("Ryh_5108_1_B"); gruppen["5108"].push("Ryh_5108_1_C"); gruppen["5108"].push("Ryh_5108_1_D"); gruppen["5108"].push("Ryh_5108_1_E"); gruppen["5108"].push("Ryh_5108_1_F"); gruppen["5108"].push("Ryh_5108_2_A"); gruppen["5108"].push("Ryh_5108_2_B"); gruppen["5108"].push("Ryh_5108_2_C"); gruppen["5108"].push("Ryh_5108_2_D"); gruppen["5108"].push("Ryh_5108_3_A"); gruppen["5108"].push("Ryh_5108_3_B"); gruppen["5108"].push("Ryh_5108_3_C"); gruppen["5108"].push("Ryh_5108_3_D"); gruppen["5108"].push("Ryh_5108_3_E"); gruppen["5108"].push("Ryh_5108_4_A"); gruppen["5108"].push("Ryh_5108_4_B"); gruppen["5108"].push("Ryh_5108_4_C"); gruppen["5108"].push("Ryh_5108_4_D"); gruppen["5108"].push("Ryh_5108_4_E"); gruppen["5108"].push("Ryh_5108_5_A"); gruppen["5108"].push("Ryh_5108_5_B"); gruppen["5108"].push("Ryh_5108_5_C"); gruppen["5108"].push("Ryh_5108_5_D"); gruppen["5108"].push("Ryh_5108_6_A"); gruppen["5108"].push("Ryh_5108_6_B"); gruppen["5108"].push("Ryh_5108_6_C"); gruppen["5108"].push("Ryh_5108_6_D"); gruppen["5108"].push("Ryh_5108_6_E"); gruppen["5108"].push("Ryh_5108_6_F"); gruppen["5108"].push("Ryh_5108_7_A"); gruppen["5108"].push("Ryh_5108_7_B"); gruppen["5108"].push("Ryh_5108_7_C"); gruppen["5108"].push("Ryh_5108_7_D"); gruppen["5108"].push("Ryh_5108_8_A"); gruppen["5108"].push("Ryh_5108_8_B"); gruppen["5108"].push("Ryh_5108_8_C"); gruppen["5108"].push("Ryh_5108_9_A"); gruppen["5108"].push("Ryh_5108_9_B"); gruppen["5108"].push("Ryh_5108_9_C"); gruppen["5108"].push("Ryh_5108_10"); gruppen["5108"].push("Ryh_5108_11_A"); gruppen["5108"].push("Ryh_5108_11_B"); gruppen["5108"].push("Ryh_5108_12_A"); gruppen["5108"].push("Ryh_5108_12_B"); gruppen["5108"].push("Ryh_5108_12_C"); gruppen["5108"].push("Ryh_5108_13_A"); gruppen["5108"].push("Ryh_5108_13_B"); gruppen["5108"].push("Ryh_5108_14_A"); gruppen["5108"].push("Ryh_5108_14_B"); gruppen["5108"].push("Ryh_5108_16_A"); gruppen["5108"].push("Ryh_5108_16_B"); gruppen["5108"].push("Ryh_5108_16_C"); gruppen["5108"].push("Ryh_5108_17"); gruppen["5108"].push("Ryh_5108_18"); gruppen["5108"].push("Ryh_5108_19"); gruppen["5108"].push("Ryh_5108_21"); gruppen["5108"].push("Ryh_5108_22"); gruppen["5108"].push("Ryh_5108_24"); gruppen["5108"].push("Ryh_5108_26"); gruppen["5108"].push("Ryh_5108_27"); gruppen["5108"].push("Ryh_5108_30"); gruppen["5108"].push("Ryh_5108_31"); gruppen["5108"].push("Ryh_5108_32"); gruppen["5108"].push("Ryh_5108_33_A"); gruppen["5108"].push("Ryh_5108_33_B"); gruppen["5108"].push("Ryh_5108_35"); gruppen["5108"].push("Ryh_5108_36"); gruppen["5108"].push("Ryh_5108_37_A"); gruppen["5108"].push("Ryh_5108_37_B"); gruppen["5108"].push("Ryh_5108_37_C"); gruppen["5108"].push("Ryh_5108_38"); gruppen["5108"].push("Ryh_5108_39"); gruppen["5108"].push("Ryh_5108_40"); gruppen["5108"].push("Ryh_5108_41"); gruppen["5108"].push("Ryh_5108_42"); gruppen["5108"].push("Ryh_5108_43"); gruppen["5108"].push("Ryh_5108_44"); gruppen["5108"].push("Ryh_5108_45"); gruppen["5108"].push("Ryh_5108_46"); gruppen["5108"].push("Ryh_5108_48"); gruppen["5201"] = new Array(); gruppen["5201"].push("Ryh_5201_1"); gruppen["5201"].push("Ryh_5201_2"); gruppen["5201"].push("Ryh_5201_5"); gruppen["5201"].push("Ryh_5201_6"); gruppen["5201"].push("Ryh_5201_7"); gruppen["5201"].push("Ryh_5201_8"); gruppen["5201"].push("Ryh_5201_10"); gruppen["5201"].push("Ryh_5201_13"); gruppen["5201"].push("Ryh_5201_14"); gruppen["5201"].push("Ryh_5201_15"); gruppen["5201"].push("Ryh_5201_16"); gruppen["5201"].push("Ryh_5201_17"); gruppen["5201"].push("Ryh_5201_20"); gruppen["5201"].push("Ryh_5201_21"); gruppen["5201"].push("Ryh_5201_22"); gruppen["5201"].push("Ryh_5201_23"); gruppen["5201"].push("Ryh_5201_24"); gruppen["5201"].push("Ryh_5201_25"); gruppen["5201"].push("Ryh_5201_26"); gruppen["5201"].push("Ryh_5201_27"); gruppen["5201"].push("Ryh_5201_28"); gruppen["5201"].push("Ryh_5201_29"); gruppen["5201"].push("Ryh_5201_30"); gruppen["5201"].push("Ryh_5201_31"); gruppen["5201"].push("Ryh_5201_32"); gruppen["5201"].push("Ryh_5201_33"); gruppen["5201"].push("Ryh_5201_34"); gruppen["5201"].push("Ryh_5201_35"); gruppen["5201"].push("Ryh_5201_36"); gruppen["5201"].push("Ryh_5201_37"); gruppen["5201"].push("Ryh_5201_38"); gruppen["5201"].push("Ryh_5201_39"); gruppen["5202"] = new Array(); gruppen["5202"].push("Ryh_5202_1"); gruppen["5202"].push("Ryh_5202_2"); gruppen["5202"].push("Ryh_5202_3"); gruppen["5202"].push("Ryh_5202_4"); gruppen["5202"].push("Ryh_5202_5"); gruppen["5202"].push("Ryh_5202_6"); gruppen["5202"].push("Ryh_5202_7"); gruppen["5202"].push("Ryh_5202_8"); gruppen["5202"].push("Ryh_5202_9"); gruppen["5202"].push("Ryh_5202_10"); gruppen["5202"].push("Ryh_5202_21"); gruppen["5202"].push("Ryh_5202_22"); gruppen["5202"].push("Ryh_5202_25"); gruppen["5202"].push("Ryh_5202_29"); gruppen["5202"].push("Ryh_5202_30"); gruppen["5202"].push("Ryh_5202_32"); gruppen["5202"].push("Ryh_5202_34"); gruppen["5202"].push("Ryh_5202_36"); gruppen["5202"].push("Ryh_5202_37"); gruppen["5202"].push("Ryh_5202_38"); gruppen["5202"].push("Ryh_5202_39"); gruppen["5202"].push("Ryh_5202_51"); gruppen["5202"].push("Ryh_5202_52"); gruppen["5202"].push("Ryh_5202_53"); gruppen["5202"].push("Ryh_5202_57"); gruppen["5203"] = new Array(); gruppen["5203"].push("Ryh_5203_1"); gruppen["5203"].push("Ryh_5203_2"); gruppen["5203"].push("Ryh_5203_5"); gruppen["5203"].push("Ryh_5203_6"); gruppen["5203"].push("Ryh_5203_7"); gruppen["5203"].push("Ryh_5203_8"); gruppen["5203"].push("Ryh_5203_9"); gruppen["5203"].push("Ryh_5203_10"); gruppen["5203"].push("Ryh_5203_11"); gruppen["5203"].push("Ryh_5203_12"); gruppen["5203"].push("Ryh_5203_13"); gruppen["5203"].push("Ryh_5203_21"); gruppen["5203"].push("Ryh_5203_22"); gruppen["5203"].push("Ryh_5203_23"); gruppen["5203"].push("Ryh_5203_24"); gruppen["5203"].push("Ryh_5203_26"); gruppen["5203"].push("Ryh_5203_27"); gruppen["5203"].push("Ryh_5203_28"); gruppen["5203"].push("Ryh_5203_29"); gruppen["5203"].push("Ryh_5203_30"); gruppen["5203"].push("Ryh_5203_31"); gruppen["5203"].push("Ryh_5203_34"); gruppen["5203"].push("Ryh_5203_35"); gruppen["5203"].push("Ryh_5203_36"); gruppen["5203"].push("Ryh_5203_37"); gruppen["5203"].push("Ryh_5203_38"); gruppen["5203"].push("Ryh_5203_39"); gruppen["5203"].push("Ryh_5203_51"); gruppen["5203"].push("Ryh_5203_52"); gruppen["5203"].push("Ryh_5203_53"); gruppen["5203"].push("Ryh_5203_53_B"); gruppen["5203"].push("Ryh_5203_54"); gruppen["5203"].push("Ryh_5203_55"); gruppen["5204"] = new Array(); gruppen["5204"].push("Ryh_5204_1"); gruppen["5204"].push("Ryh_5204_2"); gruppen["5204"].push("Ryh_5204_3"); gruppen["5204"].push("Ryh_5204_4"); gruppen["5204"].push("Ryh_5204_5"); gruppen["5204"].push("Ryh_5204_9"); gruppen["5204"].push("Ryh_5204_11"); gruppen["5204"].push("Ryh_5204_12"); gruppen["5204"].push("Ryh_5204_13"); gruppen["5204"].push("Ryh_5204_15"); gruppen["5204"].push("Ryh_5204_16_A"); gruppen["5204"].push("Ryh_5204_16_B"); gruppen["5204"].push("Ryh_5204_17_A"); gruppen["5204"].push("Ryh_5204_17_B"); gruppen["5204"].push("Ryh_5204_17_C"); gruppen["5204"].push("Ryh_5204_18"); gruppen["5204"].push("Ryh_5204_19"); gruppen["5204"].push("Ryh_5204_20"); gruppen["5204"].push("Ryh_5204_21"); gruppen["5204"].push("Ryh_5204_23"); gruppen["5204"].push("Ryh_5204_24"); gruppen["5204"].push("Ryh_5204_25"); gruppen["5204"].push("Ryh_5204_26_A"); gruppen["5204"].push("Ryh_5204_26_B"); gruppen["5204"].push("Ryh_5204_27_A"); gruppen["5204"].push("Ryh_5204_27_B"); gruppen["5204"].push("Ryh_5204_31"); gruppen["5204"].push("Ryh_5204_32"); gruppen["5204"].push("Ryh_5204_33"); gruppen["5204"].push("Ryh_5204_36"); gruppen["5204"].push("Ryh_5204_37"); gruppen["5204"].push("Ryh_5204_38"); gruppen["5204"].push("Ryh_5204_39"); gruppen["5204"].push("Ryh_5204_40"); gruppen["5204"].push("Ryh_5204_41_A"); gruppen["5204"].push("Ryh_5204_41_B"); gruppen["5204"].push("Ryh_5204_41_C"); gruppen["5204"].push("Ryh_5204_41_D"); gruppen["5204"].push("Ryh_5204_41_E"); gruppen["5204"].push("Ryh_5204_41_F"); gruppen["5204"].push("Ryh_5204_41_G"); gruppen["5204"].push("Ryh_5204_42"); gruppen["5204"].push("Ryh_5204_43"); gruppen["5204"].push("Ryh_5204_45"); gruppen["5204"].push("Ryh_5204_46"); gruppen["5204"].push("Ryh_5204_47"); gruppen["5204"].push("Ryh_5204_49"); gruppen["5204"].push("Ryh_5204_50"); gruppen["5204"].push("Ryh_5204_54"); gruppen["5204"].push("Ryh_5204_55_A"); gruppen["5204"].push("Ryh_5204_55_B"); gruppen["5204"].push("Ryh_5204_56"); gruppen["5204"].push("Ryh_5204_59"); gruppen["5204"].push("Ryh_5204_60"); gruppen["5206"] = new Array(); gruppen["5206"].push("Ryh_5206_1"); gruppen["5206"].push("Ryh_5206_2"); gruppen["5206"].push("Ryh_5206_4"); gruppen["5206"].push("Ryh_5206_5"); gruppen["5206"].push("Ryh_5206_6"); gruppen["5206"].push("Ryh_5206_8"); gruppen["5206"].push("Ryh_5206_9"); gruppen["5206"].push("Ryh_5206_10"); gruppen["5206"].push("Ryh_5206_12"); gruppen["5206"].push("Ryh_5206_13"); gruppen["5206"].push("Ryh_5206_14"); gruppen["5206"].push("Ryh_5206_15_A"); gruppen["5206"].push("Ryh_5206_15_B"); gruppen["5206"].push("Ryh_5206_32"); gruppen["5206"].push("Ryh_5206_35"); gruppen["5206"].push("Ryh_5206_36"); gruppen["5206"].push("Ryh_5206_37"); gruppen["5206"].push("Ryh_5206_38"); gruppen["5206"].push("Ryh_5206_39"); gruppen["5206"].push("Ryh_5206_40"); gruppen["5206"].push("Ryh_5206_41"); gruppen["5206"].push("Ryh_5206_42"); gruppen["5206"].push("Ryh_5206_43_A"); gruppen["5206"].push("Ryh_5206_43_B"); gruppen["5206"].push("Ryh_5206_50"); gruppen["5206"].push("Ryh_5206_51"); gruppen["5206"].push("Ryh_5206_52"); gruppen["5206"].push("Ryh_5206_53"); gruppen["5206"].push("Ryh_5206_54"); gruppen["5206"].push("Ryh_5206_56"); gruppen["5206"].push("Ryh_5206_57"); gruppen["5206"].push("Ryh_5206_58"); gruppen["5206"].push("Ryh_5206_59"); gruppen["5207"] = new Array(); gruppen["5207"].push("Ryh_5207_1"); gruppen["5207"].push("Ryh_5207_2_A"); gruppen["5207"].push("Ryh_5207_2_B"); gruppen["5207"].push("Ryh_5207_3"); gruppen["5207"].push("Ryh_5207_4"); gruppen["5207"].push("Ryh_5207_7"); gruppen["5207"].push("Ryh_5207_8_A"); gruppen["5207"].push("Ryh_5207_8_B"); gruppen["5207"].push("Ryh_5207_9_A"); gruppen["5207"].push("Ryh_5207_9_B"); gruppen["5207"].push("Ryh_5207_10"); gruppen["5207"].push("Ryh_5207_13"); gruppen["5207"].push("Ryh_5207_14"); gruppen["5207"].push("Ryh_5207_15"); gruppen["5207"].push("Ryh_5207_16"); gruppen["5207"].push("Ryh_5207_21"); gruppen["5207"].push("Ryh_5207_22"); gruppen["5207"].push("Ryh_5207_23"); gruppen["5207"].push("Ryh_5207_24"); gruppen["5207"].push("Ryh_5207_25"); gruppen["5207"].push("Ryh_5207_26"); gruppen["5207"].push("Ryh_5207_27"); gruppen["5207"].push("Ryh_5207_31_A"); gruppen["5207"].push("Ryh_5207_31_B"); gruppen["5207"].push("Ryh_5207_32_A"); gruppen["5207"].push("Ryh_5207_32_B"); gruppen["5207"].push("Ryh_5207_33_A"); gruppen["5207"].push("Ryh_5207_33_B"); gruppen["5207"].push("Ryh_5207_33_C"); gruppen["5207"].push("Ryh_5207_34_A"); gruppen["5207"].push("Ryh_5207_34_B"); gruppen["5207"].push("Ryh_5207_35_A"); gruppen["5207"].push("Ryh_5207_35_B"); gruppen["5207"].push("Ryh_5207_36_A"); gruppen["5207"].push("Ryh_5207_36_B"); gruppen["5207"].push("Ryh_5207_37_A"); gruppen["5207"].push("Ryh_5207_37_B"); gruppen["5207"].push("Ryh_5207_38_A"); gruppen["5207"].push("Ryh_5207_38_B"); gruppen["5207"].push("Ryh_5207_38_C"); gruppen["5207"].push("Ryh_5207_38_D"); gruppen["5207"].push("Ryh_5207_38_E"); gruppen["5207"].push("Ryh_5207_38_F"); gruppen["5207"].push("Ryh_5207_38_G"); gruppen["5207"].push("Ryh_5207_39_A"); gruppen["5207"].push("Ryh_5207_39_B"); gruppen["5207"].push("Ryh_5207_40"); gruppen["5207"].push("Ryh_5207_41"); gruppen["5207"].push("Ryh_5207_42"); gruppen["5207"].push("Ryh_5207_43"); gruppen["5207"].push("Ryh_5207_44_A"); gruppen["5207"].push("Ryh_5207_44_B"); gruppen["5207"].push("Ryh_5207_44_C"); gruppen["5208"] = new Array(); gruppen["5208"].push("Ryh_5208_1"); gruppen["5208"].push("Ryh_5208_3"); gruppen["5208"].push("Ryh_5208_4"); gruppen["5208"].push("Ryh_5208_5"); gruppen["5208"].push("Ryh_5208_6"); gruppen["5208"].push("Ryh_5208_7"); gruppen["5208"].push("Ryh_5208_8"); gruppen["5208"].push("Ryh_5208_9"); gruppen["5208"].push("Ryh_5208_10"); gruppen["5208"].push("Ryh_5208_11"); gruppen["5208"].push("Ryh_5208_12"); gruppen["5208"].push("Ryh_5208_13"); gruppen["5208"].push("Ryh_5208_14"); gruppen["5208"].push("Ryh_5208_15"); gruppen["5208"].push("Ryh_5208_17"); gruppen["5208"].push("Ryh_5208_18"); gruppen["5208"].push("Ryh_5208_19"); gruppen["5208"].push("Ryh_5208_35_A"); gruppen["5208"].push("Ryh_5208_35_B"); gruppen["5208"].push("Ryh_5208_36"); gruppen["5208"].push("Ryh_5208_38"); gruppen["5208"].push("Ryh_5208_40_A"); gruppen["5208"].push("Ryh_5208_40_B"); gruppen["5208"].push("Ryh_5208_40_C"); gruppen["5208"].push("Ryh_5208_40_D"); gruppen["5208"].push("Ryh_5208_40_E"); gruppen["5208"].push("Ryh_5208_40_F"); gruppen["5208"].push("Ryh_5208_41"); gruppen["5208"].push("Ryh_5208_42"); gruppen["5208"].push("Ryh_5208_43_A"); gruppen["5208"].push("Ryh_5208_43_B"); gruppen["5208"].push("Ryh_5208_45"); gruppen["5208"].push("Ryh_5208_46"); gruppen["5208"].push("Ryh_5208_47"); gruppen["5208"].push("Ryh_5208_48"); gruppen["5208"].push("Ryh_5208_50"); gruppen["5209"] = new Array(); gruppen["5209"].push("Ryh_5209_1"); gruppen["5209"].push("Ryh_5209_2"); gruppen["5209"].push("Ryh_5209_3"); gruppen["5209"].push("Ryh_5209_4"); gruppen["5209"].push("Ryh_5209_5"); gruppen["5209"].push("Ryh_5209_6"); gruppen["5209"].push("Ryh_5209_7"); gruppen["5209"].push("Ryh_5209_8"); gruppen["5209"].push("Ryh_5209_9"); gruppen["5209"].push("Ryh_5209_10"); gruppen["5209"].push("Ryh_5209_13"); gruppen["5209"].push("Ryh_5209_15"); gruppen["5209"].push("Ryh_5209_18"); gruppen["5209"].push("Ryh_5209_19"); gruppen["5209"].push("Ryh_5209_20"); gruppen["5209"].push("Ryh_5209_21"); gruppen["5209"].push("Ryh_5209_22"); gruppen["5209"].push("Ryh_5209_23"); gruppen["5209"].push("Ryh_5209_25"); gruppen["5210"] = new Array(); gruppen["5210"].push("Ryh_5210_1"); gruppen["5210"].push("Ryh_5210_3"); gruppen["5210"].push("Ryh_5210_4"); gruppen["5210"].push("Ryh_5210_5"); gruppen["5210"].push("Ryh_5210_7"); gruppen["5210"].push("Ryh_5210_8"); gruppen["5210"].push("Ryh_5210_9"); gruppen["5210"].push("Ryh_5210_10"); gruppen["5210"].push("Ryh_5210_12"); gruppen["5210"].push("Ryh_5210_13"); gruppen["5210"].push("Ryh_5210_16"); gruppen["5210"].push("Ryh_5210_17"); gruppen["5210"].push("Ryh_5210_18"); gruppen["5210"].push("Ryh_5210_19"); gruppen["5210"].push("Ryh_5210_20"); gruppen["5210"].push("Ryh_5210_21"); gruppen["5210"].push("Ryh_5210_23"); gruppen["5210"].push("Ryh_5210_24"); gruppen["5211"] = new Array(); gruppen["5211"].push("Ryh_5211_1_A"); gruppen["5211"].push("Ryh_5211_1_B"); gruppen["5211"].push("Ryh_5211_2"); gruppen["5211"].push("Ryh_5211_7"); gruppen["5211"].push("Ryh_5211_9"); gruppen["5211"].push("Ryh_5211_41"); gruppen["5211"].push("Ryh_5211_42"); gruppen["5211"].push("Ryh_5211_43"); gruppen["5211"].push("Ryh_5211_44"); gruppen["5211"].push("Ryh_5211_45"); gruppen["5211"].push("Ryh_5211_46"); gruppen["5211"].push("Ryh_5211_47"); gruppen["5211"].push("Ryh_5211_48"); gruppen["5212"] = new Array(); gruppen["5212"].push("Ryh_5212_1"); gruppen["5212"].push("Ryh_5212_2"); gruppen["5212"].push("Ryh_5212_3"); gruppen["5212"].push("Ryh_5212_4"); gruppen["5212"].push("Ryh_5212_11"); gruppen["5212"].push("Ryh_5212_12"); gruppen["5212"].push("Ryh_5212_13_A"); gruppen["5212"].push("Ryh_5212_13_B"); gruppen["5212"].push("Ryh_5212_14"); gruppen["5212"].push("Ryh_5212_15"); gruppen["5212"].push("Ryh_5212_16"); gruppen["5212"].push("Ryh_5212_17"); gruppen["5212"].push("Ryh_5212_33"); gruppen["5212"].push("Ryh_5212_34"); gruppen["5212"].push("Ryh_5212_35_A"); gruppen["5212"].push("Ryh_5212_35_B"); gruppen["5212"].push("Ryh_5212_36"); gruppen["5301"] = new Array(); gruppen["5301"].push("Ryh_5301_1"); gruppen["5301"].push("Ryh_5301_2"); gruppen["5301"].push("Ryh_5301_3"); gruppen["5301"].push("Ryh_5301_4"); gruppen["5301"].push("Ryh_5301_5"); gruppen["5301"].push("Ryh_5301_7"); gruppen["5301"].push("Ryh_5301_8"); gruppen["5301"].push("Ryh_5301_9"); gruppen["5301"].push("Ryh_5301_10"); gruppen["5301"].push("Ryh_5301_11"); gruppen["5301"].push("Ryh_5301_14"); gruppen["5301"].push("Ryh_5301_15"); gruppen["5301"].push("Ryh_5301_16"); gruppen["5301"].push("Ryh_5301_19"); gruppen["5301"].push("Ryh_5301_20"); gruppen["5301"].push("Ryh_5301_21"); gruppen["5301"].push("Ryh_5301_22"); gruppen["5301"].push("Ryh_5301_23"); gruppen["5301"].push("Ryh_5301_24"); gruppen["5301"].push("Ryh_5301_25"); gruppen["5301"].push("Ryh_5301_26"); gruppen["5301"].push("Ryh_5301_27"); gruppen["5301"].push("Ryh_5301_28"); gruppen["5301"].push("Ryh_5301_29"); gruppen["5301"].push("Ryh_5301_30"); gruppen["5301"].push("Ryh_5301_31"); gruppen["5301"].push("Ryh_5301_32"); gruppen["5301"].push("Ryh_5301_33_A"); gruppen["5301"].push("Ryh_5301_33_B"); gruppen["5301"].push("Ryh_5301_34"); gruppen["5301"].push("Ryh_5301_35"); gruppen["5301"].push("Ryh_5301_36"); gruppen["5301"].push("Ryh_5301_37"); gruppen["5301"].push("Ryh_5301_38"); gruppen["5301"].push("Ryh_5301_39"); gruppen["5301"].push("Ryh_5301_40"); gruppen["5301"].push("Ryh_5301_41"); gruppen["5301"].push("Ryh_5301_42"); gruppen["5301"].push("Ryh_5301_43"); gruppen["5301"].push("Ryh_5301_44"); gruppen["5301"].push("Ryh_5301_45"); gruppen["5301"].push("Ryh_5301_46"); gruppen["5301"].push("Ryh_5301_47"); gruppen["5301"].push("Ryh_5301_48"); gruppen["5301"].push("Ryh_5301_49"); gruppen["5301"].push("Ryh_5301_50"); gruppen["5301"].push("Ryh_5301_51"); gruppen["5301"].push("Ryh_5301_52"); gruppen["5301"].push("Ryh_5301_53"); gruppen["5301"].push("Ryh_5301_54"); gruppen["5302"] = new Array(); gruppen["5302"].push("Ryh_5302_1"); gruppen["5302"].push("Ryh_5302_2"); gruppen["5302"].push("Ryh_5302_3"); gruppen["5302"].push("Ryh_5302_4"); gruppen["5302"].push("Ryh_5302_5"); gruppen["5302"].push("Ryh_5302_6"); gruppen["5302"].push("Ryh_5302_7"); gruppen["5302"].push("Ryh_5302_8"); gruppen["5302"].push("Ryh_5302_9"); gruppen["5302"].push("Ryh_5302_10"); gruppen["5302"].push("Ryh_5302_11"); gruppen["5302"].push("Ryh_5302_12"); gruppen["5302"].push("Ryh_5302_13"); gruppen["5302"].push("Ryh_5302_14"); gruppen["5302"].push("Ryh_5302_15"); gruppen["5302"].push("Ryh_5302_16"); gruppen["5302"].push("Ryh_5302_17"); gruppen["5302"].push("Ryh_5302_18"); gruppen["5302"].push("Ryh_5302_19"); gruppen["5302"].push("Ryh_5302_20"); gruppen["5302"].push("Ryh_5302_21"); gruppen["5302"].push("Ryh_5302_22"); gruppen["5302"].push("Ryh_5302_23"); gruppen["5302"].push("Ryh_5302_24"); gruppen["5302"].push("Ryh_5302_25"); gruppen["5302"].push("Ryh_5302_26"); gruppen["5302"].push("Ryh_5302_27"); gruppen["5302"].push("Ryh_5302_51"); gruppen["5302"].push("Ryh_5302_52"); gruppen["5302"].push("Ryh_5302_53"); gruppen["5302"].push("Ryh_5302_54"); gruppen["5302"].push("Ryh_5302_55"); gruppen["5303"] = new Array(); gruppen["5303"].push("Ryh_5303_1_A"); gruppen["5303"].push("Ryh_5303_1_B"); gruppen["5303"].push("Ryh_5303_2"); gruppen["5303"].push("Ryh_5303_4"); gruppen["5303"].push("Ryh_5303_5"); gruppen["5303"].push("Ryh_5303_7"); gruppen["5303"].push("Ryh_5303_9"); gruppen["5303"].push("Ryh_5303_10"); gruppen["5303"].push("Ryh_5303_11"); gruppen["5303"].push("Ryh_5303_12"); gruppen["5303"].push("Ryh_5303_13"); gruppen["5303"].push("Ryh_5303_21_A"); gruppen["5303"].push("Ryh_5303_21_B"); gruppen["5303"].push("Ryh_5303_22"); gruppen["5303"].push("Ryh_5303_23"); gruppen["5303"].push("Ryh_5303_24"); gruppen["5303"].push("Ryh_5303_25"); gruppen["5303"].push("Ryh_5303_26"); gruppen["5303"].push("Ryh_5303_27"); gruppen["5303"].push("Ryh_5303_28"); gruppen["5303"].push("Ryh_5303_29"); gruppen["5303"].push("Ryh_5303_30"); gruppen["5303"].push("Ryh_5303_31"); gruppen["5303"].push("Ryh_5303_33"); gruppen["5303"].push("Ryh_5303_34"); gruppen["5303"].push("Ryh_5303_35"); gruppen["5303"].push("Ryh_5303_36"); gruppen["5303"].push("Ryh_5303_37"); gruppen["5303"].push("Ryh_5303_38"); gruppen["5304"] = new Array(); gruppen["5304"].push("Ryh_5304_1"); gruppen["5304"].push("Ryh_5304_2"); gruppen["5304"].push("Ryh_5304_3"); gruppen["5304"].push("Ryh_5304_4"); gruppen["5304"].push("Ryh_5304_5"); gruppen["5304"].push("Ryh_5304_6"); gruppen["5304"].push("Ryh_5304_7"); gruppen["5304"].push("Ryh_5304_8"); gruppen["5304"].push("Ryh_5304_9"); gruppen["5304"].push("Ryh_5304_10"); gruppen["5304"].push("Ryh_5304_11"); gruppen["5304"].push("Ryh_5304_12"); gruppen["5304"].push("Ryh_5304_13"); gruppen["5304"].push("Ryh_5304_14"); gruppen["5304"].push("Ryh_5304_15"); gruppen["5304"].push("Ryh_5304_16"); gruppen["5304"].push("Ryh_5304_17"); gruppen["5304"].push("Ryh_5304_18"); gruppen["5304"].push("Ryh_5304_19"); gruppen["5304"].push("Ryh_5304_20"); gruppen["5304"].push("Ryh_5304_21"); gruppen["5304"].push("Ryh_5304_22"); gruppen["5304"].push("Ryh_5304_23"); gruppen["5304"].push("Ryh_5304_24"); gruppen["5304"].push("Ryh_5304_25"); gruppen["5304"].push("Ryh_5304_26"); gruppen["5304"].push("Ryh_5304_27"); gruppen["5304"].push("Ryh_5304_28"); gruppen["5304"].push("Ryh_5304_29"); gruppen["5304"].push("Ryh_5304_30"); gruppen["5304"].push("Ryh_5304_31"); gruppen["5304"].push("Ryh_5304_32"); gruppen["5304"].push("Ryh_5304_33"); gruppen["5304"].push("Ryh_5304_33_A"); gruppen["5304"].push("Ryh_5304_34"); gruppen["5304"].push("Ryh_5304_35"); gruppen["5304"].push("Ryh_5304_36"); gruppen["5304"].push("Ryh_5304_37"); gruppen["5304"].push("Ryh_5304_38"); gruppen["5304"].push("Ryh_5304_39"); gruppen["5304"].push("Ryh_5304_40"); gruppen["5304"].push("Ryh_5304_41"); gruppen["5304"].push("Ryh_5304_42"); gruppen["5304"].push("Ryh_5304_43"); gruppen["5304"].push("Ryh_5304_44"); gruppen["5304"].push("Ryh_5304_50_A"); gruppen["5304"].push("Ryh_5304_50_B"); gruppen["5304"].push("Ryh_5304_50_C"); gruppen["5304"].push("Ryh_5304_51_A"); gruppen["5304"].push("Ryh_5304_51_B"); gruppen["5305"] = new Array(); gruppen["5305"].push("Ryh_5305_1"); gruppen["5305"].push("Ryh_5305_2"); gruppen["5305"].push("Ryh_5305_3"); gruppen["5305"].push("Ryh_5305_4"); gruppen["5305"].push("Ryh_5305_9"); gruppen["5305"].push("Ryh_5305_10"); gruppen["5305"].push("Ryh_5305_11"); gruppen["5305"].push("Ryh_5305_12"); gruppen["5305"].push("Ryh_5305_13"); gruppen["5305"].push("Ryh_5305_14"); gruppen["5305"].push("Ryh_5305_15"); gruppen["5305"].push("Ryh_5305_16"); gruppen["5305"].push("Ryh_5305_17"); gruppen["5305"].push("Ryh_5305_18"); gruppen["5305"].push("Ryh_5305_19"); gruppen["5305"].push("Ryh_5305_20"); gruppen["5305"].push("Ryh_5305_21"); gruppen["5305"].push("Ryh_5305_22"); gruppen["5305"].push("Ryh_5305_26"); gruppen["5305"].push("Ryh_5305_31"); gruppen["5305"].push("Ryh_5305_32"); gruppen["5305"].push("Ryh_5305_33"); gruppen["5305"].push("Ryh_5305_34"); gruppen["5305"].push("Ryh_5305_35"); gruppen["5305"].push("Ryh_5305_36"); gruppen["5305"].push("Ryh_5305_37"); gruppen["5305"].push("Ryh_5305_38"); gruppen["5305"].push("Ryh_5305_39"); gruppen["5305"].push("Ryh_5305_40"); gruppen["5305"].push("Ryh_5305_41"); gruppen["5305"].push("Ryh_5305_42"); gruppen["5306"] = new Array(); gruppen["5306"].push("Ryh_5306_1"); gruppen["5306"].push("Ryh_5306_6"); gruppen["5306"].push("Ryh_5306_7"); gruppen["5306"].push("Ryh_5306_8"); gruppen["5306"].push("Ryh_5306_9"); gruppen["5306"].push("Ryh_5306_10"); gruppen["5306"].push("Ryh_5306_11"); gruppen["5306"].push("Ryh_5306_12"); gruppen["5306"].push("Ryh_5306_13"); gruppen["5306"].push("Ryh_5306_14"); gruppen["5306"].push("Ryh_5306_23"); gruppen["5306"].push("Ryh_5306_24"); gruppen["5306"].push("Ryh_5306_25"); gruppen["5306"].push("Ryh_5306_26"); gruppen["5306"].push("Ryh_5306_31"); gruppen["5306"].push("Ryh_5306_32"); gruppen["5306"].push("Ryh_5306_33"); gruppen["5306"].push("Ryh_5306_41"); gruppen["5306"].push("Ryh_5306_46"); gruppen["5306"].push("Ryh_5306_51"); gruppen["5306"].push("Ryh_5306_52"); gruppen["5306"].push("Ryh_5306_53"); gruppen["5306"].push("Ryh_5306_54"); gruppen["5306"].push("Ryh_5306_55"); gruppen["5307"] = new Array(); gruppen["5307"].push("Ryh_5307_1"); gruppen["5307"].push("Ryh_5307_6"); gruppen["5307"].push("Ryh_5307_7"); gruppen["5307"].push("Ryh_5307_8"); gruppen["5307"].push("Ryh_5307_9"); gruppen["5307"].push("Ryh_5307_10"); gruppen["5307"].push("Ryh_5307_11"); gruppen["5307"].push("Ryh_5307_21"); gruppen["5307"].push("Ryh_5307_22"); gruppen["5307"].push("Ryh_5307_26"); gruppen["5307"].push("Ryh_5307_27"); gruppen["5307"].push("Ryh_5307_28"); gruppen["5307"].push("Ryh_5307_29"); gruppen["5307"].push("Ryh_5307_34"); gruppen["5307"].push("Ryh_5307_35"); gruppen["5307"].push("Ryh_5307_36"); gruppen["5307"].push("Ryh_5307_37"); gruppen["5307"].push("Ryh_5307_41"); gruppen["5307"].push("Ryh_5307_42"); gruppen["5307"].push("Ryh_5307_43"); gruppen["5307"].push("Ryh_5307_46"); gruppen["5307"].push("Ryh_5307_47"); gruppen["5307"].push("Ryh_5307_48"); gruppen["5307"].push("Ryh_5307_49"); gruppen["5307"].push("Ryh_5307_50"); gruppen["5307"].push("Ryh_5307_51"); gruppen["5307"].push("Ryh_5307_53"); gruppen["5307"].push("Ryh_5307_54"); gruppen["5307"].push("Ryh_5307_55"); gruppen["5307"].push("Ryh_5307_56"); gruppen["5307"].push("Ryh_5307_57"); gruppen["5308"] = new Array(); gruppen["5308"].push("Ryh_5308_1"); gruppen["5308"].push("Ryh_5308_2"); gruppen["5308"].push("Ryh_5308_3"); gruppen["5308"].push("Ryh_5308_4"); gruppen["5308"].push("Ryh_5308_6"); gruppen["5308"].push("Ryh_5308_23"); gruppen["5308"].push("Ryh_5308_24"); gruppen["5308"].push("Ryh_5308_25"); gruppen["5308"].push("Ryh_5308_33"); gruppen["5308"].push("Ryh_5308_34"); gruppen["5308"].push("Ryh_5308_35"); gruppen["5308"].push("Ryh_5308_36"); gruppen["5308"].push("Ryh_5308_41"); gruppen["5308"].push("Ryh_5308_42"); gruppen["5309"] = new Array(); gruppen["5309"].push("Ryh_5309_1"); gruppen["5309"].push("Ryh_5309_5"); gruppen["5309"].push("Ryh_5309_6"); gruppen["5309"].push("Ryh_5309_7"); gruppen["5309"].push("Ryh_5309_8"); gruppen["5309"].push("Ryh_5309_10"); gruppen["5309"].push("Ryh_5309_11"); gruppen["5309"].push("Ryh_5309_12"); gruppen["5309"].push("Ryh_5309_13"); gruppen["5309"].push("Ryh_5309_15"); gruppen["5309"].push("Ryh_5309_16"); gruppen["5309"].push("Ryh_5309_31"); gruppen["5309"].push("Ryh_5309_32"); gruppen["5309"].push("Ryh_5309_33"); gruppen["5309"].push("Ryh_5309_34"); gruppen["5309"].push("Ryh_5309_38"); gruppen["5309"].push("Ryh_5309_41"); gruppen["5309"].push("Ryh_5309_43"); gruppen["5309"].push("Ryh_5309_44"); gruppen["5309"].push("Ryh_5309_45"); gruppen["5309"].push("Ryh_5309_46"); gruppen["5309"].push("Ryh_5309_49"); gruppen["5309"].push("Ryh_5309_50"); gruppen["5310"] = new Array(); gruppen["5310"].push("Ryh_5310_1"); gruppen["5310"].push("Ryh_5310_2"); gruppen["5310"].push("Ryh_5310_3"); gruppen["5310"].push("Ryh_5310_4"); gruppen["5310"].push("Ryh_5310_8"); gruppen["5310"].push("Ryh_5310_9_A"); gruppen["5310"].push("Ryh_5310_9_B"); gruppen["5310"].push("Ryh_5310_10"); gruppen["5310"].push("Ryh_5310_11"); gruppen["5310"].push("Ryh_5310_12"); gruppen["5310"].push("Ryh_5310_13_A"); gruppen["5310"].push("Ryh_5310_13_B"); gruppen["5310"].push("Ryh_5310_14"); gruppen["5310"].push("Ryh_5310_15"); gruppen["5310"].push("Ryh_5310_16"); gruppen["5310"].push("Ryh_5310_17"); gruppen["5310"].push("Ryh_5310_18"); gruppen["5310"].push("Ryh_5310_19"); gruppen["5310"].push("Ryh_5310_20"); gruppen["5310"].push("Ryh_5310_22_A"); gruppen["5310"].push("Ryh_5310_22_B"); gruppen["5310"].push("Ryh_5310_24"); gruppen["5310"].push("Ryh_5310_25"); gruppen["5310"].push("Ryh_5310_28"); gruppen["5310"].push("Ryh_5310_29"); gruppen["5310"].push("Ryh_5310_30"); gruppen["5310"].push("Ryh_5310_32"); gruppen["5310"].push("Ryh_5310_36_A"); gruppen["5310"].push("Ryh_5310_36_B"); gruppen["5310"].push("Ryh_5310_37"); gruppen["5310"].push("Ryh_5310_38"); gruppen["5310"].push("Ryh_5310_40"); gruppen["5310"].push("Ryh_5310_50"); gruppen["5311"] = new Array(); gruppen["5311"].push("Ryh_5311_1"); gruppen["5311"].push("Ryh_5311_2"); gruppen["5311"].push("Ryh_5311_3"); gruppen["5311"].push("Ryh_5311_4"); gruppen["5311"].push("Ryh_5311_5"); gruppen["5311"].push("Ryh_5311_6"); gruppen["5311"].push("Ryh_5311_7"); gruppen["5311"].push("Ryh_5311_8_A"); gruppen["5311"].push("Ryh_5311_8_B"); gruppen["5311"].push("Ryh_5311_8_C"); gruppen["5311"].push("Ryh_5311_9"); gruppen["5311"].push("Ryh_5311_10_A"); gruppen["5311"].push("Ryh_5311_10_B"); gruppen["5311"].push("Ryh_5311_11_A"); gruppen["5311"].push("Ryh_5311_11_B"); gruppen["5311"].push("Ryh_5311_11_C"); gruppen["5311"].push("Ryh_5311_12_A"); gruppen["5311"].push("Ryh_5311_12_B"); gruppen["5311"].push("Ryh_5311_12_C"); gruppen["5311"].push("Ryh_5311_12_D"); gruppen["5311"].push("Ryh_5311_13_A"); gruppen["5311"].push("Ryh_5311_13_B"); gruppen["5311"].push("Ryh_5311_13_C"); gruppen["5311"].push("Ryh_5311_14_A"); gruppen["5311"].push("Ryh_5311_14_B"); gruppen["5311"].push("Ryh_5311_15_A"); gruppen["5311"].push("Ryh_5311_15_B"); gruppen["5311"].push("Ryh_5311_15_C"); gruppen["5311"].push("Ryh_5311_15_D"); gruppen["5311"].push("Ryh_5311_16_A"); gruppen["5311"].push("Ryh_5311_16_B"); gruppen["5311"].push("Ryh_5311_17_A"); gruppen["5311"].push("Ryh_5311_17_B"); gruppen["5311"].push("Ryh_5311_18_A"); gruppen["5311"].push("Ryh_5311_18_B"); gruppen["5311"].push("Ryh_5311_19_A"); gruppen["5311"].push("Ryh_5311_19_B"); gruppen["5311"].push("Ryh_5311_19_C"); gruppen["5311"].push("Ryh_5311_20_A"); gruppen["5311"].push("Ryh_5311_20_B"); gruppen["5311"].push("Ryh_5311_20_C"); gruppen["5311"].push("Ryh_5311_20_D"); gruppen["5311"].push("Ryh_5311_21_A"); gruppen["5311"].push("Ryh_5311_21_B"); gruppen["5311"].push("Ryh_5311_21_C"); gruppen["5311"].push("Ryh_5311_21_D"); gruppen["5311"].push("Ryh_5311_22_A"); gruppen["5311"].push("Ryh_5311_22_B"); gruppen["5311"].push("Ryh_5311_22_C"); gruppen["5311"].push("Ryh_5311_23"); gruppen["5311"].push("Ryh_5311_24"); gruppen["5311"].push("Ryh_5311_25_A"); gruppen["5311"].push("Ryh_5311_25_B"); gruppen["5311"].push("Ryh_5311_26_A"); gruppen["5311"].push("Ryh_5311_26_B"); gruppen["5311"].push("Ryh_5311_27_A"); gruppen["5311"].push("Ryh_5311_27_B"); gruppen["5311"].push("Ryh_5311_28_A"); gruppen["5311"].push("Ryh_5311_28_B"); gruppen["5311"].push("Ryh_5311_29_A"); gruppen["5311"].push("Ryh_5311_29_B"); gruppen["5311"].push("Ryh_5311_29_C"); gruppen["5311"].push("Ryh_5311_29_D"); gruppen["5311"].push("Ryh_5311_30"); gruppen["5311"].push("Ryh_5311_31_A"); gruppen["5311"].push("Ryh_5311_31_B"); gruppen["5311"].push("Ryh_5311_31_C"); gruppen["5311"].push("Ryh_5311_32_A"); gruppen["5311"].push("Ryh_5311_32_B"); gruppen["5311"].push("Ryh_5311_32_C"); gruppen["5311"].push("Ryh_5311_33_A"); gruppen["5311"].push("Ryh_5311_33_B"); gruppen["5311"].push("Ryh_5311_34_A"); gruppen["5311"].push("Ryh_5311_34_B"); gruppen["5311"].push("Ryh_5311_35_A"); gruppen["5311"].push("Ryh_5311_35_B"); gruppen["5311"].push("Ryh_5311_36_A"); gruppen["5311"].push("Ryh_5311_36_B"); gruppen["5311"].push("Ryh_5311_37_A"); gruppen["5311"].push("Ryh_5311_37_B"); gruppen["5311"].push("Ryh_5311_38_A"); gruppen["5311"].push("Ryh_5311_38_B"); gruppen["5311"].push("Ryh_5311_39_A"); gruppen["5311"].push("Ryh_5311_39_B"); gruppen["5311"].push("Ryh_5311_40_A"); gruppen["5311"].push("Ryh_5311_40_B"); gruppen["5311"].push("Ryh_5311_41"); gruppen["5311"].push("Ryh_5311_42_A"); gruppen["5311"].push("Ryh_5311_42_B"); gruppen["5312"] = new Array(); gruppen["5312"].push("Ryh_5312_1_A"); gruppen["5312"].push("Ryh_5312_1_B"); gruppen["5312"].push("Ryh_5312_2_A"); gruppen["5312"].push("Ryh_5312_2_B"); gruppen["5312"].push("Ryh_5312_3_A"); gruppen["5312"].push("Ryh_5312_3_B"); gruppen["5312"].push("Ryh_5312_4_A"); gruppen["5312"].push("Ryh_5312_4_B"); gruppen["5312"].push("Ryh_5312_5_A"); gruppen["5312"].push("Ryh_5312_5_B"); gruppen["5312"].push("Ryh_5312_6_A"); gruppen["5312"].push("Ryh_5312_6_B"); gruppen["5312"].push("Ryh_5312_7_A"); gruppen["5312"].push("Ryh_5312_7_B"); gruppen["5312"].push("Ryh_5312_8_A"); gruppen["5312"].push("Ryh_5312_8_B"); gruppen["5312"].push("Ryh_5312_9_A"); gruppen["5312"].push("Ryh_5312_9_B"); gruppen["5312"].push("Ryh_5312_10_A"); gruppen["5312"].push("Ryh_5312_10_B"); gruppen["5312"].push("Ryh_5312_11_A"); gruppen["5312"].push("Ryh_5312_11_B"); gruppen["5312"].push("Ryh_5312_12_A"); gruppen["5312"].push("Ryh_5312_12_B"); gruppen["5312"].push("Ryh_5312_13_A"); gruppen["5312"].push("Ryh_5312_13_B"); gruppen["5312"].push("Ryh_5312_14_A"); gruppen["5312"].push("Ryh_5312_14_B"); gruppen["5312"].push("Ryh_5312_15_A"); gruppen["5312"].push("Ryh_5312_15_B"); gruppen["5312"].push("Ryh_5312_16_A"); gruppen["5312"].push("Ryh_5312_16_B"); gruppen["5401"] = new Array(); gruppen["5401"].push("Ryh_5401_1_A"); gruppen["5401"].push("Ryh_5401_1_B"); gruppen["5401"].push("Ryh_5401_3"); gruppen["5401"].push("Ryh_5401_5"); gruppen["5401"].push("Ryh_5401_7"); gruppen["5401"].push("Ryh_5401_8"); gruppen["5401"].push("Ryh_5401_9"); gruppen["5401"].push("Ryh_5401_13"); gruppen["5401"].push("Ryh_5401_16"); gruppen["5401"].push("Ryh_5401_17"); gruppen["5401"].push("Ryh_5401_19"); gruppen["5401"].push("Ryh_5401_20"); gruppen["5401"].push("Ryh_5401_23"); gruppen["5401"].push("Ryh_5401_24"); gruppen["5401"].push("Ryh_5401_26"); gruppen["5401"].push("Ryh_5401_27"); gruppen["5401"].push("Ryh_5401_28"); gruppen["5401"].push("Ryh_5401_29"); gruppen["5401"].push("Ryh_5401_30"); gruppen["5401"].push("Ryh_5401_31"); gruppen["5401"].push("Ryh_5401_32"); gruppen["5401"].push("Ryh_5401_33"); gruppen["5401"].push("Ryh_5401_34"); gruppen["5401"].push("Ryh_5401_35"); gruppen["5401"].push("Ryh_5401_36"); gruppen["5401"].push("Ryh_5401_37"); gruppen["5402"] = new Array(); gruppen["5402"].push("Ryh_5402_3"); gruppen["5402"].push("Ryh_5402_6"); gruppen["5402"].push("Ryh_5402_7"); gruppen["5402"].push("Ryh_5402_8"); gruppen["5402"].push("Ryh_5402_9"); gruppen["5402"].push("Ryh_5402_11"); gruppen["5402"].push("Ryh_5402_12"); gruppen["5402"].push("Ryh_5402_14"); gruppen["5402"].push("Ryh_5402_15"); gruppen["5402"].push("Ryh_5402_16"); gruppen["5402"].push("Ryh_5402_17"); gruppen["5402"].push("Ryh_5402_18"); gruppen["5402"].push("Ryh_5402_21"); gruppen["5402"].push("Ryh_5402_23"); gruppen["5402"].push("Ryh_5402_24"); gruppen["5402"].push("Ryh_5402_25"); gruppen["5402"].push("Ryh_5402_26"); gruppen["5403"] = new Array(); gruppen["5403"].push("Ryh_5403_2"); gruppen["5403"].push("Ryh_5403_4"); gruppen["5403"].push("Ryh_5403_5"); gruppen["5403"].push("Ryh_5403_8"); gruppen["5403"].push("Ryh_5403_9"); gruppen["5403"].push("Ryh_5403_10"); gruppen["5403"].push("Ryh_5403_18"); gruppen["5403"].push("Ryh_5403_20"); gruppen["5403"].push("Ryh_5403_21"); gruppen["5403"].push("Ryh_5403_27"); gruppen["5403"].push("Ryh_5403_30"); gruppen["5403"].push("Ryh_5403_31"); gruppen["5403"].push("Ryh_5403_32"); gruppen["5403"].push("Ryh_5403_33"); gruppen["5403"].push("Ryh_5403_34"); gruppen["5403"].push("Ryh_5403_35"); gruppen["5403"].push("Ryh_5403_36"); gruppen["5403"].push("Ryh_5403_37"); gruppen["5403"].push("Ryh_5403_38"); gruppen["5403"].push("Ryh_5403_51"); gruppen["5403"].push("Ryh_5403_52"); gruppen["5403"].push("Ryh_5403_59_A"); gruppen["5403"].push("Ryh_5403_59_B"); gruppen["5403"].push("Ryh_5403_59_C"); gruppen["5403"].push("Ryh_5403_59_D"); gruppen["5404"] = new Array(); gruppen["5404"].push("Ryh_5404_2"); gruppen["5404"].push("Ryh_5404_4"); gruppen["5404"].push("Ryh_5404_5"); gruppen["5404"].push("Ryh_5404_6"); gruppen["5404"].push("Ryh_5404_7"); gruppen["5404"].push("Ryh_5404_8"); gruppen["5404"].push("Ryh_5404_9"); gruppen["5404"].push("Ryh_5404_10"); gruppen["5404"].push("Ryh_5404_11"); gruppen["5404"].push("Ryh_5404_12_A"); gruppen["5404"].push("Ryh_5404_12_B"); gruppen["5404"].push("Ryh_5404_12_C"); gruppen["5404"].push("Ryh_5404_12_D"); gruppen["5404"].push("Ryh_5404_13"); gruppen["5404"].push("Ryh_5404_21"); gruppen["5404"].push("Ryh_5404_22"); gruppen["5404"].push("Ryh_5404_23"); gruppen["5404"].push("Ryh_5404_24"); gruppen["5404"].push("Ryh_5404_25_A"); gruppen["5404"].push("Ryh_5404_25_B"); gruppen["5405"] = new Array(); gruppen["5405"].push("Ryh_5405_1_A"); gruppen["5405"].push("Ryh_5405_1_B"); gruppen["5405"].push("Ryh_5405_2"); gruppen["5405"].push("Ryh_5405_3"); gruppen["5405"].push("Ryh_5405_4"); gruppen["5405"].push("Ryh_5405_5"); gruppen["5405"].push("Ryh_5405_6"); gruppen["5405"].push("Ryh_5405_7"); gruppen["5405"].push("Ryh_5405_8"); gruppen["5405"].push("Ryh_5405_9"); gruppen["5405"].push("Ryh_5405_10"); gruppen["5405"].push("Ryh_5405_11"); gruppen["5405"].push("Ryh_5405_12"); gruppen["5405"].push("Ryh_5405_13"); gruppen["5405"].push("Ryh_5405_14"); gruppen["5405"].push("Ryh_5405_15"); gruppen["5405"].push("Ryh_5405_16"); gruppen["5405"].push("Ryh_5405_17"); gruppen["5405"].push("Ryh_5405_18"); gruppen["5405"].push("Ryh_5405_19"); gruppen["5405"].push("Ryh_5405_20"); gruppen["5405"].push("Ryh_5405_22"); gruppen["5405"].push("Ryh_5405_23"); gruppen["5405"].push("Ryh_5405_27"); gruppen["5405"].push("Ryh_5405_28"); gruppen["5405"].push("Ryh_5405_29"); gruppen["5405"].push("Ryh_5405_30"); gruppen["5405"].push("Ryh_5405_32"); gruppen["5405"].push("Ryh_5405_33"); gruppen["5405"].push("Ryh_5405_34"); gruppen["5405"].push("Ryh_5405_35"); gruppen["5405"].push("Ryh_5405_37"); gruppen["5405"].push("Ryh_5405_39"); gruppen["5405"].push("Ryh_5405_40"); gruppen["5405"].push("Ryh_5405_41"); gruppen["5405"].push("Ryh_5405_42"); gruppen["5405"].push("Ryh_5405_43"); gruppen["5405"].push("Ryh_5405_45"); gruppen["5405"].push("Ryh_5405_46"); gruppen["5405"].push("Ryh_5405_47"); gruppen["5406"] = new Array(); gruppen["5406"].push("Ryh_5406_2"); gruppen["5406"].push("Ryh_5406_3"); gruppen["5406"].push("Ryh_5406_4"); gruppen["5406"].push("Ryh_5406_5"); gruppen["5406"].push("Ryh_5406_6"); gruppen["5406"].push("Ryh_5406_7"); gruppen["5406"].push("Ryh_5406_8"); gruppen["5406"].push("Ryh_5406_10"); gruppen["5406"].push("Ryh_5406_11"); gruppen["5406"].push("Ryh_5406_12"); gruppen["5406"].push("Ryh_5406_13_A"); gruppen["5406"].push("Ryh_5406_13_B"); gruppen["5407"] = new Array(); gruppen["5407"].push("Ryh_5407_1"); gruppen["5407"].push("Ryh_5407_2"); gruppen["5407"].push("Ryh_5407_3"); gruppen["5407"].push("Ryh_5407_4"); gruppen["5407"].push("Ryh_5407_5"); gruppen["5407"].push("Ryh_5407_6"); gruppen["5407"].push("Ryh_5407_7"); gruppen["5407"].push("Ryh_5407_8"); gruppen["5407"].push("Ryh_5407_9"); gruppen["5407"].push("Ryh_5407_10"); gruppen["5407"].push("Ryh_5407_31"); gruppen["5407"].push("Ryh_5407_33"); gruppen["5407"].push("Ryh_5407_35"); gruppen["5407"].push("Ryh_5407_36"); gruppen["5407"].push("Ryh_5407_37_A"); gruppen["5407"].push("Ryh_5407_37_B"); gruppen["5407"].push("Ryh_5407_39"); gruppen["5407"].push("Ryh_5407_41"); gruppen["5407"].push("Ryh_5407_42"); gruppen["5407"].push("Ryh_5407_43"); gruppen["5408"] = new Array(); gruppen["5408"].push("Ryh_5408_1"); gruppen["5408"].push("Ryh_5408_2"); gruppen["5408"].push("Ryh_5408_3"); gruppen["5408"].push("Ryh_5408_4"); gruppen["5408"].push("Ryh_5408_5"); gruppen["5408"].push("Ryh_5408_6"); gruppen["5408"].push("Ryh_5408_7"); gruppen["5408"].push("Ryh_5408_8"); gruppen["5408"].push("Ryh_5408_9"); gruppen["5408"].push("Ryh_5408_10"); gruppen["5408"].push("Ryh_5408_11"); gruppen["5408"].push("Ryh_5408_12"); gruppen["5408"].push("Ryh_5408_13"); gruppen["5408"].push("Ryh_5408_14"); gruppen["5408"].push("Ryh_5408_15"); gruppen["5408"].push("Ryh_5408_16"); gruppen["5408"].push("Ryh_5408_17"); gruppen["5408"].push("Ryh_5408_18"); gruppen["5408"].push("Ryh_5408_19_A"); gruppen["5408"].push("Ryh_5408_19_B"); gruppen["5408"].push("Ryh_5408_20"); gruppen["5408"].push("Ryh_5408_21_A"); gruppen["5408"].push("Ryh_5408_21_B"); gruppen["5408"].push("Ryh_5408_22"); gruppen["5408"].push("Ryh_5408_41"); gruppen["5408"].push("Ryh_5408_42"); gruppen["5408"].push("Ryh_5408_43"); gruppen["5408"].push("Ryh_5408_44"); gruppen["5408"].push("Ryh_5408_45"); gruppen["5408"].push("Ryh_5408_46"); gruppen["5409"] = new Array(); gruppen["5409"].push("Ryh_5409_1"); gruppen["5409"].push("Ryh_5409_2"); gruppen["5409"].push("Ryh_5409_3"); gruppen["5409"].push("Ryh_5409_4"); gruppen["5409"].push("Ryh_5409_5_A"); gruppen["5409"].push("Ryh_5409_5_B"); gruppen["5409"].push("Ryh_5409_6_A"); gruppen["5409"].push("Ryh_5409_6_B"); gruppen["5409"].push("Ryh_5409_7"); gruppen["5409"].push("Ryh_5409_8"); gruppen["5409"].push("Ryh_5409_9"); gruppen["5409"].push("Ryh_5409_10"); gruppen["5409"].push("Ryh_5409_11_A"); gruppen["5409"].push("Ryh_5409_11_B"); gruppen["5409"].push("Ryh_5409_12"); gruppen["5409"].push("Ryh_5409_13_A"); gruppen["5409"].push("Ryh_5409_13_B"); gruppen["5409"].push("Ryh_5409_14_A"); gruppen["5409"].push("Ryh_5409_14_B"); gruppen["5409"].push("Ryh_5409_15_A"); gruppen["5409"].push("Ryh_5409_15_B"); gruppen["5409"].push("Ryh_5409_16_A"); gruppen["5409"].push("Ryh_5409_16_B"); gruppen["5409"].push("Ryh_5409_17_A"); gruppen["5409"].push("Ryh_5409_17_B"); gruppen["5409"].push("Ryh_5409_18_A"); gruppen["5409"].push("Ryh_5409_18_B"); gruppen["5409"].push("Ryh_5409_19_A"); gruppen["5409"].push("Ryh_5409_19_B"); gruppen["5409"].push("Ryh_5409_20_A"); gruppen["5409"].push("Ryh_5409_20_B"); gruppen["5409"].push("Ryh_5409_21"); gruppen["5409"].push("Ryh_5409_22_A"); gruppen["5409"].push("Ryh_5409_22_B"); gruppen["5409"].push("Ryh_5409_23"); gruppen["5409"].push("Ryh_5409_24_A"); gruppen["5409"].push("Ryh_5409_24_B"); gruppen["5409"].push("Ryh_5409_25"); gruppen["5409"].push("Ryh_5409_26_A"); gruppen["5409"].push("Ryh_5409_26_B"); gruppen["5409"].push("Ryh_5409_27"); gruppen["5409"].push("Ryh_5409_28"); gruppen["5409"].push("Ryh_5409_29"); gruppen["5409"].push("Ryh_5409_30_A"); gruppen["5409"].push("Ryh_5409_30_B"); gruppen["5409"].push("Ryh_5409_31_A"); gruppen["5409"].push("Ryh_5409_31_B"); gruppen["5409"].push("Ryh_5409_32_A"); gruppen["5409"].push("Ryh_5409_32_B"); gruppen["5409"].push("Ryh_5409_33"); gruppen["5409"].push("Ryh_5409_34"); gruppen["5409"].push("Ryh_5409_35"); gruppen["5409"].push("Ryh_5409_36"); gruppen["5409"].push("Ryh_5409_37"); gruppen["5409"].push("Ryh_5409_38_A"); gruppen["5409"].push("Ryh_5409_38_B"); gruppen["5409"].push("Ryh_5409_39_A"); gruppen["5409"].push("Ryh_5409_39_B"); gruppen["5409"].push("Ryh_5409_40_A"); gruppen["5409"].push("Ryh_5409_40_B"); gruppen["5409"].push("Ryh_5409_41_A"); gruppen["5409"].push("Ryh_5409_41_B"); gruppen["5409"].push("Ryh_5409_42_A"); gruppen["5409"].push("Ryh_5409_42_B"); gruppen["5409"].push("Ryh_5409_43_A"); gruppen["5409"].push("Ryh_5409_43_B"); gruppen["5409"].push("Ryh_5409_44_A"); gruppen["5409"].push("Ryh_5409_44_B"); gruppen["5409"].push("Ryh_5409_45_A"); gruppen["5409"].push("Ryh_5409_45_B"); gruppen["5409"].push("Ryh_5409_46"); gruppen["5409"].push("Ryh_5409_47"); gruppen["5409"].push("Ryh_5409_48"); gruppen["5409"].push("Ryh_5409_49"); gruppen["5409"].push("Ryh_5409_50_A"); gruppen["5409"].push("Ryh_5409_50_B"); gruppen["5409"].push("Ryh_5409_51"); gruppen["5409"].push("Ryh_5409_52"); gruppen["5409"].push("Ryh_5409_53"); gruppen["5409"].push("Ryh_5409_54_A"); gruppen["5409"].push("Ryh_5409_54_B"); gruppen["5409"].push("Ryh_5409_55_A"); gruppen["5409"].push("Ryh_5409_55_B"); gruppen["5409"].push("Ryh_5409_56_A"); gruppen["5409"].push("Ryh_5409_56_B"); gruppen["5409"].push("Ryh_5409_57_A"); gruppen["5409"].push("Ryh_5409_57_B"); gruppen["5410"] = new Array(); gruppen["5410"].push("Ryh_5410_1"); gruppen["5410"].push("Ryh_5410_2"); gruppen["5410"].push("Ryh_5410_3"); gruppen["5410"].push("Ryh_5410_4"); gruppen["5410"].push("Ryh_5410_5"); gruppen["5410"].push("Ryh_5410_6"); gruppen["5410"].push("Ryh_5410_7"); gruppen["5410"].push("Ryh_5410_8"); gruppen["5410"].push("Ryh_5410_9"); gruppen["5410"].push("Ryh_5410_10"); gruppen["5410"].push("Ryh_5410_20_A"); gruppen["5410"].push("Ryh_5410_20_B"); gruppen["5410"].push("Ryh_5410_20_C"); gruppen["5410"].push("Ryh_5410_21"); gruppen["5410"].push("Ryh_5410_22"); gruppen["5410"].push("Ryh_5410_23"); gruppen["5410"].push("Ryh_5410_30_A"); gruppen["5410"].push("Ryh_5410_30_B"); gruppen["5410"].push("Ryh_5410_51"); gruppen["5410"].push("Ryh_5410_52_A"); gruppen["5410"].push("Ryh_5410_52_B"); gruppen["5410"].push("Ryh_5410_53"); gruppen["5410"].push("Ryh_5410_54"); gruppen["5410"].push("Ryh_5410_55"); gruppen["5410"].push("Ryh_5410_56"); gruppen["5410"].push("Ryh_5410_57"); gruppen["5410"].push("Ryh_5410_58"); gruppen["5410"].push("Ryh_5410_59"); gruppen["5501"] = new Array(); gruppen["5501"].push("Ryh_5501_1"); gruppen["5501"].push("Ryh_5501_2"); gruppen["5501"].push("Ryh_5501_3"); gruppen["5501"].push("Ryh_5501_4"); gruppen["5501"].push("Ryh_5501_6"); gruppen["5501"].push("Ryh_5501_7"); gruppen["5501"].push("Ryh_5501_8"); gruppen["5501"].push("Ryh_5501_9"); gruppen["5501"].push("Ryh_5501_10"); gruppen["5501"].push("Ryh_5501_11"); gruppen["5501"].push("Ryh_5501_12"); gruppen["5501"].push("Ryh_5501_13"); gruppen["5501"].push("Ryh_5501_14"); gruppen["5501"].push("Ryh_5501_15"); gruppen["5501"].push("Ryh_5501_16"); gruppen["5501"].push("Ryh_5501_17"); gruppen["5501"].push("Ryh_5501_18"); gruppen["5501"].push("Ryh_5501_19"); gruppen["5501"].push("Ryh_5501_20"); gruppen["5501"].push("Ryh_5501_21"); gruppen["5501"].push("Ryh_5501_22"); gruppen["5501"].push("Ryh_5501_23"); gruppen["5501"].push("Ryh_5501_24"); gruppen["5501"].push("Ryh_5501_26"); gruppen["5501"].push("Ryh_5501_27"); gruppen["5501"].push("Ryh_5501_28"); gruppen["5501"].push("Ryh_5501_29"); gruppen["5501"].push("Ryh_5501_30"); gruppen["5501"].push("Ryh_5501_31"); gruppen["5501"].push("Ryh_5501_32"); gruppen["5501"].push("Ryh_5501_33"); gruppen["5501"].push("Ryh_5501_34"); gruppen["5501"].push("Ryh_5501_35"); gruppen["5501"].push("Ryh_5501_36"); gruppen["5501"].push("Ryh_5501_37"); gruppen["5501"].push("Ryh_5501_38"); gruppen["5501"].push("Ryh_5501_39"); gruppen["5501"].push("Ryh_5501_40"); gruppen["5501"].push("Ryh_5501_41"); gruppen["5501"].push("Ryh_5501_42"); gruppen["5501"].push("Ryh_5501_43"); gruppen["5501"].push("Ryh_5501_44"); gruppen["5501"].push("Ryh_5501_45"); gruppen["5501"].push("Ryh_5501_46"); gruppen["5501"].push("Ryh_5501_47"); gruppen["5501"].push("Ryh_5501_48"); gruppen["5501"].push("Ryh_5501_49"); gruppen["5501"].push("Ryh_5501_50"); gruppen["5501"].push("Ryh_5501_51"); gruppen["5501"].push("Ryh_5501_52"); gruppen["5501"].push("Ryh_5501_56"); gruppen["5501"].push("Ryh_5501_57"); gruppen["5501"].push("Ryh_5501_58"); gruppen["5501"].push("Ryh_5501_59"); gruppen["5501"].push("Ryh_5501_60"); gruppen["5502"] = new Array(); gruppen["5502"].push("Ryh_5502_7"); gruppen["5502"].push("Ryh_5502_8"); gruppen["5502"].push("Ryh_5502_9"); gruppen["5502"].push("Ryh_5502_10"); gruppen["5502"].push("Ryh_5502_11"); gruppen["5502"].push("Ryh_5502_12"); gruppen["5502"].push("Ryh_5502_13"); gruppen["5502"].push("Ryh_5502_14"); gruppen["5502"].push("Ryh_5502_15"); gruppen["5502"].push("Ryh_5502_16"); gruppen["5502"].push("Ryh_5502_17"); gruppen["5502"].push("Ryh_5502_18"); gruppen["5502"].push("Ryh_5502_19"); gruppen["5502"].push("Ryh_5502_20"); gruppen["5502"].push("Ryh_5502_21"); gruppen["5502"].push("Ryh_5502_22"); gruppen["5502"].push("Ryh_5502_23"); gruppen["5502"].push("Ryh_5502_24"); gruppen["5502"].push("Ryh_5502_25"); gruppen["5502"].push("Ryh_5502_26"); gruppen["5502"].push("Ryh_5502_27"); gruppen["5502"].push("Ryh_5502_28"); gruppen["5502"].push("Ryh_5502_29"); gruppen["5502"].push("Ryh_5502_30"); gruppen["5502"].push("Ryh_5502_33"); gruppen["5502"].push("Ryh_5502_34"); gruppen["5502"].push("Ryh_5502_35"); gruppen["5502"].push("Ryh_5502_36"); gruppen["5502"].push("Ryh_5502_41"); gruppen["5502"].push("Ryh_5502_42"); gruppen["5502"].push("Ryh_5502_43"); gruppen["5502"].push("Ryh_5502_44"); gruppen["5502"].push("Ryh_5502_45"); gruppen["5502"].push("Ryh_5502_46"); gruppen["5601"] = new Array(); gruppen["5601"].push("Ryh_5601_1"); gruppen["5601"].push("Ryh_5601_2"); gruppen["5601"].push("Ryh_5601_3"); gruppen["5601"].push("Ryh_5601_4_A"); gruppen["5601"].push("Ryh_5601_4_B"); gruppen["5601"].push("Ryh_5601_5"); gruppen["5601"].push("Ryh_5601_6"); gruppen["5601"].push("Ryh_5601_7"); gruppen["5601"].push("Ryh_5601_8"); gruppen["5601"].push("Ryh_5601_9"); gruppen["5601"].push("Ryh_5601_10"); gruppen["5601"].push("Ryh_5601_11"); gruppen["5601"].push("Ryh_5601_12"); gruppen["5601"].push("Ryh_5601_13"); gruppen["5601"].push("Ryh_5601_14"); gruppen["5601"].push("Ryh_5601_15"); gruppen["5601"].push("Ryh_5601_16"); gruppen["5601"].push("Ryh_5601_17"); gruppen["5601"].push("Ryh_5601_18"); gruppen["5601"].push("Ryh_5601_19"); gruppen["5601"].push("Ryh_5601_20"); gruppen["5601"].push("Ryh_5601_21"); gruppen["5601"].push("Ryh_5601_23"); gruppen["5601"].push("Ryh_5601_25"); gruppen["5601"].push("Ryh_5601_26"); gruppen["5601"].push("Ryh_5601_28"); gruppen["5601"].push("Ryh_5601_29"); gruppen["5601"].push("Ryh_5601_30"); gruppen["5601"].push("Ryh_5601_31"); gruppen["5601"].push("Ryh_5601_34"); gruppen["5601"].push("Ryh_5601_35"); gruppen["5601"].push("Ryh_5601_36"); gruppen["5601"].push("Ryh_5601_37"); gruppen["5601"].push("Ryh_5601_38"); gruppen["5601"].push("Ryh_5601_39"); gruppen["5601"].push("Ryh_5601_40"); gruppen["5601"].push("Ryh_5601_41"); gruppen["5601"].push("Ryh_5601_42"); gruppen["5601"].push("Ryh_5601_43"); gruppen["5601"].push("Ryh_5601_44"); gruppen["5601"].push("Ryh_5601_45"); gruppen["5601"].push("Ryh_5601_46"); gruppen["5601"].push("Ryh_5601_47"); gruppen["5601"].push("Ryh_5601_48"); gruppen["5601"].push("Ryh_5601_49"); gruppen["5601"].push("Ryh_5601_50"); gruppen["5601"].push("Ryh_5601_51"); gruppen["5601"].push("Ryh_5601_52"); gruppen["5601"].push("Ryh_5601_53"); gruppen["5601"].push("Ryh_5601_54"); gruppen["5601"].push("Ryh_5601_55"); gruppen["5601"].push("Ryh_5601_56"); gruppen["5601"].push("Ryh_5601_57"); gruppen["5601"].push("Ryh_5601_58"); gruppen["5601"].push("Ryh_5601_59"); gruppen["5601"].push("Ryh_5601_60"); gruppen["5602"] = new Array(); gruppen["5602"].push("Ryh_5602_1"); gruppen["5602"].push("Ryh_5602_2"); gruppen["5602"].push("Ryh_5602_3"); gruppen["5602"].push("Ryh_5602_4"); gruppen["5602"].push("Ryh_5602_5"); gruppen["5603"] = new Array(); gruppen["5603"].push("Ryh_5603_1"); gruppen["5603"].push("Ryh_5603_2"); gruppen["5603"].push("Ryh_5603_3"); gruppen["5603"].push("Ryh_5603_4"); gruppen["5603"].push("Ryh_5603_5"); gruppen["5603"].push("Ryh_5603_6"); gruppen["5603"].push("Ryh_5603_7"); gruppen["5603"].push("Ryh_5603_8"); gruppen["5603"].push("Ryh_5603_23"); gruppen["5603"].push("Ryh_5603_24"); gruppen["5603"].push("Ryh_5603_25"); gruppen["5603"].push("Ryh_5603_26"); gruppen["5603"].push("Ryh_5603_27"); gruppen["5603"].push("Ryh_5603_28"); gruppen["5603"].push("Ryh_5603_29"); gruppen["5603"].push("Ryh_5603_30"); gruppen["5603"].push("Ryh_5603_31"); gruppen["5603"].push("Ryh_5603_33"); gruppen["5603"].push("Ryh_5603_34"); gruppen["5603"].push("Ryh_5603_35"); gruppen["5603"].push("Ryh_5603_36"); gruppen["5603"].push("Ryh_5603_37"); gruppen["5603"].push("Ryh_5603_38"); gruppen["5604"] = new Array(); gruppen["5604"].push("Ryh_5604_1"); gruppen["5604"].push("Ryh_5604_2"); gruppen["5604"].push("Ryh_5604_3"); gruppen["5604"].push("Ryh_5604_4"); gruppen["5604"].push("Ryh_5604_5"); gruppen["5604"].push("Ryh_5604_6"); gruppen["5604"].push("Ryh_5604_7"); gruppen["5604"].push("Ryh_5604_24"); gruppen["5604"].push("Ryh_5604_25"); gruppen["5604"].push("Ryh_5604_31"); gruppen["5604"].push("Ryh_5604_34_A"); gruppen["5604"].push("Ryh_5604_34_B"); gruppen["5604"].push("Ryh_5604_36"); gruppen["5605"] = new Array(); gruppen["5605"].push("Ryh_5605_1"); gruppen["5605"].push("Ryh_5605_3"); gruppen["5605"].push("Ryh_5605_4"); gruppen["5605"].push("Ryh_5605_5"); gruppen["5605"].push("Ryh_5605_8"); gruppen["5605"].push("Ryh_5605_9"); gruppen["5605"].push("Ryh_5605_13"); gruppen["5605"].push("Ryh_5605_15"); gruppen["5605"].push("Ryh_5605_16"); gruppen["5605"].push("Ryh_5605_18"); gruppen["5605"].push("Ryh_5605_19"); gruppen["5605"].push("Ryh_5605_20"); gruppen["5605"].push("Ryh_5605_31"); gruppen["5605"].push("Ryh_5605_32"); gruppen["5605"].push("Ryh_5605_33"); gruppen["5605"].push("Ryh_5605_34"); gruppen["5606"] = new Array(); gruppen["5606"].push("Ryh_5606_5"); gruppen["5606"].push("Ryh_5606_8"); gruppen["5606"].push("Ryh_5606_9"); gruppen["5606"].push("Ryh_5606_10"); gruppen["5606"].push("Ryh_5606_11"); gruppen["5606"].push("Ryh_5606_12"); gruppen["5606"].push("Ryh_5606_13"); gruppen["5606"].push("Ryh_5606_14"); gruppen["5606"].push("Ryh_5606_15"); gruppen["5606"].push("Ryh_5606_16"); gruppen["5606"].push("Ryh_5606_17"); gruppen["5608"] = new Array(); gruppen["5608"].push("Ryh_5608_1"); gruppen["5608"].push("Ryh_5608_2"); gruppen["5608"].push("Ryh_5608_3"); gruppen["5608"].push("Ryh_5608_6"); gruppen["5608"].push("Ryh_5608_7"); gruppen["5608"].push("Ryh_5608_8"); gruppen["5608"].push("Ryh_5608_11"); gruppen["5608"].push("Ryh_5608_12"); gruppen["5608"].push("Ryh_5608_13"); gruppen["5608"].push("Ryh_5608_18"); gruppen["5608"].push("Ryh_5608_19"); gruppen["5608"].push("Ryh_5608_20"); gruppen["5608"].push("Ryh_5608_21"); gruppen["5608"].push("Ryh_5608_22"); gruppen["5608"].push("Ryh_5608_23"); gruppen["5608"].push("Ryh_5608_24"); gruppen["5608"].push("Ryh_5608_25"); gruppen["5608"].push("Ryh_5608_26"); gruppen["5608"].push("Ryh_5608_50"); gruppen["5701"] = new Array(); gruppen["5701"].push("Ryh_5701_3"); gruppen["5701"].push("Ryh_5701_4"); gruppen["5701"].push("Ryh_5701_5"); gruppen["5701"].push("Ryh_5701_6"); gruppen["5701"].push("Ryh_5701_7"); gruppen["5701"].push("Ryh_5701_8"); gruppen["5701"].push("Ryh_5701_9"); gruppen["5701"].push("Ryh_5701_11"); gruppen["5701"].push("Ryh_5701_13"); gruppen["5701"].push("Ryh_5701_15"); gruppen["5701"].push("Ryh_5701_17"); gruppen["5701"].push("Ryh_5701_18"); gruppen["5701"].push("Ryh_5701_19"); gruppen["5701"].push("Ryh_5701_20"); gruppen["5701"].push("Ryh_5701_21"); gruppen["5701"].push("Ryh_5701_22"); gruppen["5702"] = new Array(); gruppen["5702"].push("Ryh_5702_1"); gruppen["5702"].push("Ryh_5702_5"); gruppen["5702"].push("Ryh_5702_8"); gruppen["5702"].push("Ryh_5702_12"); gruppen["5702"].push("Ryh_5702_13"); gruppen["5702"].push("Ryh_5702_14"); gruppen["5702"].push("Ryh_5702_15"); gruppen["5702"].push("Ryh_5702_16"); gruppen["5702"].push("Ryh_5702_17"); gruppen["5702"].push("Ryh_5702_18"); gruppen["5702"].push("Ryh_5702_19"); gruppen["5702"].push("Ryh_5702_20"); gruppen["5702"].push("Ryh_5702_21"); gruppen["5702"].push("Ryh_5702_41"); gruppen["5702"].push("Ryh_5702_42"); gruppen["5702"].push("Ryh_5702_45"); gruppen["5703"] = new Array(); gruppen["5703"].push("Ryh_5703_1"); gruppen["5703"].push("Ryh_5703_2_A"); gruppen["5703"].push("Ryh_5703_2_B"); gruppen["5703"].push("Ryh_5703_3"); gruppen["5703"].push("Ryh_5703_4"); gruppen["5703"].push("Ryh_5703_5"); gruppen["5703"].push("Ryh_5703_6"); gruppen["5703"].push("Ryh_5703_9"); gruppen["5703"].push("Ryh_5703_11"); gruppen["5703"].push("Ryh_5703_12"); gruppen["5703"].push("Ryh_5703_13"); gruppen["5703"].push("Ryh_5703_14"); gruppen["5703"].push("Ryh_5703_15"); gruppen["5703"].push("Ryh_5703_16_A"); gruppen["5703"].push("Ryh_5703_16_B"); gruppen["5703"].push("Ryh_5703_17"); gruppen["5801"] = new Array(); gruppen["5801"].push("Ryh_5801_3"); gruppen["5801"].push("Ryh_5801_4"); gruppen["5801"].push("Ryh_5801_5"); gruppen["5801"].push("Ryh_5801_6"); gruppen["5801"].push("Ryh_5801_7"); gruppen["5801"].push("Ryh_5801_8"); gruppen["5801"].push("Ryh_5801_9"); gruppen["5801"].push("Ryh_5801_10"); gruppen["5801"].push("Ryh_5801_11"); gruppen["5801"].push("Ryh_5801_12"); gruppen["5801"].push("Ryh_5801_13"); gruppen["5801"].push("Ryh_5801_14"); gruppen["5801"].push("Ryh_5801_15"); gruppen["5801"].push("Ryh_5801_18"); gruppen["5801"].push("Ryh_5801_19"); gruppen["5801"].push("Ryh_5801_20"); gruppen["5801"].push("Ryh_5801_21"); gruppen["5801"].push("Ryh_5801_22"); gruppen["5801"].push("Ryh_5801_23"); gruppen["5801"].push("Ryh_5801_51_A"); gruppen["5801"].push("Ryh_5801_51_B"); gruppen["5801"].push("Ryh_5801_52"); gruppen["5801"].push("Ryh_5801_53_A"); gruppen["5801"].push("Ryh_5801_53_B"); gruppen["5801"].push("Ryh_5801_53_C"); gruppen["5802"] = new Array(); gruppen["5802"].push("Ryh_5802_1"); gruppen["5802"].push("Ryh_5802_3"); gruppen["5802"].push("Ryh_5802_4"); gruppen["5802"].push("Ryh_5802_5"); gruppen["5802"].push("Ryh_5802_6"); gruppen["5802"].push("Ryh_5802_11"); gruppen["5802"].push("Ryh_5802_13"); gruppen["5802"].push("Ryh_5802_14"); gruppen["5802"].push("Ryh_5802_15_A"); gruppen["5802"].push("Ryh_5802_15_B"); gruppen["5802"].push("Ryh_5802_21"); gruppen["5802"].push("Ryh_5802_22"); gruppen["5802"].push("Ryh_5802_23"); gruppen["5802"].push("Ryh_5802_25"); gruppen["5802"].push("Ryh_5802_37"); gruppen["5802"].push("Ryh_5802_39"); gruppen["5802"].push("Ryh_5802_40"); gruppen["5802"].push("Ryh_5802_41"); gruppen["5802"].push("Ryh_5802_43"); gruppen["5802"].push("Ryh_5802_48"); gruppen["5802"].push("Ryh_5802_49"); gruppen["5802"].push("Ryh_5802_50"); gruppen["5802"].push("Ryh_5802_51"); gruppen["5802"].push("Ryh_5802_52"); gruppen["5802"].push("Ryh_5802_54"); gruppen["5803"] = new Array(); gruppen["5803"].push("Ryh_5803_3"); gruppen["5803"].push("Ryh_5803_5"); gruppen["5803"].push("Ryh_5803_11"); gruppen["5803"].push("Ryh_5803_15"); gruppen["5803"].push("Ryh_5803_17"); gruppen["5803"].push("Ryh_5803_18"); gruppen["5803"].push("Ryh_5803_41"); gruppen["5803"].push("Ryh_5803_42"); gruppen["5803"].push("Ryh_5803_43"); gruppen["5803"].push("Ryh_5803_45"); gruppen["5803"].push("Ryh_5803_47"); gruppen["5803"].push("Ryh_5803_48_A"); gruppen["5803"].push("Ryh_5803_48_B"); gruppen["5803"].push("Ryh_5803_58_A"); gruppen["5803"].push("Ryh_5803_58_B"); gruppen["5803"].push("Ryh_5803_59_A"); gruppen["5803"].push("Ryh_5803_59_B"); gruppen["5803"].push("Ryh_5803_60_A"); gruppen["5803"].push("Ryh_5803_60_B"); gruppen["5804"] = new Array(); gruppen["5804"].push("Ryh_5804_3"); gruppen["5804"].push("Ryh_5804_4"); gruppen["5804"].push("Ryh_5804_5"); gruppen["5804"].push("Ryh_5804_6"); gruppen["5804"].push("Ryh_5804_7"); gruppen["5804"].push("Ryh_5804_8"); gruppen["5804"].push("Ryh_5804_9"); gruppen["5804"].push("Ryh_5804_11"); gruppen["5804"].push("Ryh_5804_12"); gruppen["5804"].push("Ryh_5804_13"); gruppen["5804"].push("Ryh_5804_14"); gruppen["5804"].push("Ryh_5804_15"); gruppen["5804"].push("Ryh_5804_31"); gruppen["5804"].push("Ryh_5804_32"); gruppen["5804"].push("Ryh_5804_33"); gruppen["5804"].push("Ryh_5804_34"); gruppen["5804"].push("Ryh_5804_35"); gruppen["5804"].push("Ryh_5804_36"); gruppen["5804"].push("Ryh_5804_37"); gruppen["5804"].push("Ryh_5804_38"); gruppen["5804"].push("Ryh_5804_39_A"); gruppen["5804"].push("Ryh_5804_39_B"); gruppen["5804"].push("Ryh_5804_40_A"); gruppen["5804"].push("Ryh_5804_40_B"); gruppen["5804"].push("Ryh_5804_59"); gruppen["5804"].push("Ryh_5804_60"); gruppen["5901"] = new Array(); gruppen["5901"].push("Ryh_5901_1"); gruppen["5901"].push("Ryh_5901_2"); gruppen["5901"].push("Ryh_5901_3"); gruppen["5901"].push("Ryh_5901_5"); gruppen["5901"].push("Ryh_5901_7"); gruppen["5901"].push("Ryh_5901_8"); gruppen["5901"].push("Ryh_5901_9"); gruppen["5901"].push("Ryh_5901_10"); gruppen["5901"].push("Ryh_5901_11"); gruppen["5901"].push("Ryh_5901_12"); gruppen["5901"].push("Ryh_5901_16"); gruppen["5901"].push("Ryh_5901_17"); gruppen["5901"].push("Ryh_5901_18"); gruppen["5901"].push("Ryh_5901_19"); gruppen["5901"].push("Ryh_5901_20"); gruppen["5901"].push("Ryh_5901_21"); gruppen["5901"].push("Ryh_5901_22"); gruppen["5901"].push("Ryh_5901_23"); gruppen["5901"].push("Ryh_5901_24"); gruppen["5901"].push("Ryh_5901_25"); gruppen["5901"].push("Ryh_5901_27"); gruppen["5901"].push("Ryh_5901_28"); gruppen["5901"].push("Ryh_5901_29"); gruppen["5901"].push("Ryh_5901_30"); gruppen["5901"].push("Ryh_5901_31"); gruppen["5901"].push("Ryh_5901_32"); gruppen["5901"].push("Ryh_5901_33"); gruppen["5901"].push("Ryh_5901_34"); gruppen["5901"].push("Ryh_5901_38"); gruppen["5901"].push("Ryh_5901_39"); gruppen["5901"].push("Ryh_5901_40"); gruppen["5901"].push("Ryh_5901_41"); gruppen["5901"].push("Ryh_5901_42"); gruppen["5901"].push("Ryh_5901_43"); gruppen["5901"].push("Ryh_5901_44"); gruppen["5901"].push("Ryh_5901_45"); gruppen["5901"].push("Ryh_5901_46_A"); gruppen["5901"].push("Ryh_5901_46_B"); gruppen["5901"].push("Ryh_5901_47"); gruppen["5902"] = new Array(); gruppen["5902"].push("Ryh_5902_2"); gruppen["5902"].push("Ryh_5902_3"); gruppen["5902"].push("Ryh_5902_4"); gruppen["5902"].push("Ryh_5902_5"); gruppen["5902"].push("Ryh_5902_16"); gruppen["5902"].push("Ryh_5902_17"); gruppen["5902"].push("Ryh_5902_18"); gruppen["5902"].push("Ryh_5902_19"); gruppen["5902"].push("Ryh_5902_20"); gruppen["5902"].push("Ryh_5902_21"); gruppen["5902"].push("Ryh_5902_22"); gruppen["5902"].push("Ryh_5902_24"); gruppen["5902"].push("Ryh_5902_25"); gruppen["5902"].push("Ryh_5902_26"); gruppen["5902"].push("Ryh_5902_27"); gruppen["5902"].push("Ryh_5902_28"); gruppen["5902"].push("Ryh_5902_29_A"); gruppen["5902"].push("Ryh_5902_29_B"); gruppen["5902"].push("Ryh_5902_31"); gruppen["5902"].push("Ryh_5902_32"); gruppen["5902"].push("Ryh_5902_33"); gruppen["5902"].push("Ryh_5902_34"); gruppen["5902"].push("Ryh_5902_35"); gruppen["5902"].push("Ryh_5902_36"); gruppen["5902"].push("Ryh_5902_37"); gruppen["5902"].push("Ryh_5902_38"); gruppen["5902"].push("Ryh_5902_39"); gruppen["5902"].push("Ryh_5902_40"); gruppen["5902"].push("Ryh_5902_41"); gruppen["5902"].push("Ryh_5902_42"); gruppen["5902"].push("Ryh_5902_44"); gruppen["5902"].push("Ryh_5902_45"); gruppen["5902"].push("Ryh_5902_46"); gruppen["5902"].push("Ryh_5902_47"); gruppen["5902"].push("Ryh_5902_48"); gruppen["5902"].push("Ryh_5902_49"); gruppen["5902"].push("Ryh_5902_50"); gruppen["5902"].push("Ryh_5902_51"); gruppen["5902"].push("Ryh_5902_52"); gruppen["5902"].push("Ryh_5902_53"); gruppen["5902"].push("Ryh_5902_57"); gruppen["5902"].push("Ryh_5902_58"); gruppen["5902"].push("Ryh_5902_59"); gruppen["5902"].push("Ryh_5902_60"); gruppen["5905"] = new Array(); gruppen["5905"].push("Ryh_5905_1"); gruppen["5905"].push("Ryh_5905_2"); gruppen["5905"].push("Ryh_5905_3"); gruppen["5905"].push("Ryh_5905_4"); gruppen["5905"].push("Ryh_5905_9"); gruppen["5905"].push("Ryh_5905_10"); gruppen["5905"].push("Ryh_5905_11"); gruppen["5905"].push("Ryh_5905_12"); gruppen["5905"].push("Ryh_5905_13"); gruppen["5905"].push("Ryh_5905_14"); gruppen["5905"].push("Ryh_5905_15"); gruppen["5905"].push("Ryh_5905_16"); gruppen["5905"].push("Ryh_5905_17"); gruppen["5905"].push("Ryh_5905_18"); gruppen["5905"].push("Ryh_5905_19"); gruppen["5905"].push("Ryh_5905_20"); gruppen["5905"].push("Ryh_5905_21"); gruppen["5905"].push("Ryh_5905_22"); gruppen["5905"].push("Ryh_5905_23"); gruppen["5905"].push("Ryh_5905_24"); gruppen["5905"].push("Ryh_5905_25"); gruppen["5905"].push("Ryh_5905_26"); gruppen["5905"].push("Ryh_5905_27"); gruppen["5905"].push("Ryh_5905_28"); gruppen["5905"].push("Ryh_5905_29"); gruppen["5905"].push("Ryh_5905_30"); gruppen["5905"].push("Ryh_5905_31"); gruppen["5906"] = new Array(); gruppen["5906"].push("Ryh_5906_1-4"); gruppen["5906"].push("Ryh_5906_5"); gruppen["5906"].push("Ryh_5906_6"); gruppen["5906"].push("Ryh_5906_7"); gruppen["5906"].push("Ryh_5906_8"); gruppen["5906"].push("Ryh_5906_9"); gruppen["5906"].push("Ryh_5906_10"); gruppen["5906"].push("Ryh_5906_11"); gruppen["5906"].push("Ryh_5906_12"); gruppen["5906"].push("Ryh_5906_13"); gruppen["5906"].push("Ryh_5906_14"); gruppen["5906"].push("Ryh_5906_15"); gruppen["5906"].push("Ryh_5906_16"); gruppen["5906"].push("Ryh_5906_17"); gruppen["5906"].push("Ryh_5906_18_A"); gruppen["5906"].push("Ryh_5906_18_B"); gruppen["5906"].push("Ryh_5906_19_A"); gruppen["5906"].push("Ryh_5906_19_B"); gruppen["5906"].push("Ryh_5906_20"); gruppen["5906"].push("Ryh_5906_21"); gruppen["5906"].push("Ryh_5906_51"); gruppen["5906"].push("Ryh_5906_52"); gruppen["5906"].push("Ryh_5906_53"); gruppen["5906"].push("Ryh_5906_54"); gruppen["5907"] = new Array(); gruppen["5907"].push("Ryh_5907_1"); gruppen["5907"].push("Ryh_5907_2"); gruppen["5907"].push("Ryh_5907_3"); gruppen["5907"].push("Ryh_5907_4"); gruppen["5907"].push("Ryh_5907_5"); gruppen["5907"].push("Ryh_5907_6"); gruppen["5907"].push("Ryh_5907_7"); gruppen["5907"].push("Ryh_5907_8"); gruppen["5907"].push("Ryh_5907_10"); gruppen["5907"].push("Ryh_5907_11"); gruppen["5907"].push("Ryh_5907_12"); gruppen["5907"].push("Ryh_5907_13"); gruppen["5908"] = new Array(); gruppen["5908"].push("Ryh_5908_1"); gruppen["5908"].push("Ryh_5908_2"); gruppen["5908"].push("Ryh_5908_3"); gruppen["5908"].push("Ryh_5908_4"); gruppen["5908"].push("Ryh_5908_5"); gruppen["5908"].push("Ryh_5908_6"); gruppen["5908"].push("Ryh_5908_7"); gruppen["5908"].push("Ryh_5908_8"); gruppen["5908"].push("Ryh_5908_9"); gruppen["5908"].push("Ryh_5908_10"); gruppen["5908"].push("Ryh_5908_11"); gruppen["5908"].push("Ryh_5908_12"); gruppen["5908"].push("Ryh_5908_13"); gruppen["5908"].push("Ryh_5908_14"); gruppen["5908"].push("Ryh_5908_15"); gruppen["5908"].push("Ryh_5908_16"); gruppen["5908"].push("Ryh_5908_31"); gruppen["5908"].push("Ryh_5908_32"); gruppen["5908"].push("Ryh_5908_33"); gruppen["5908"].push("Ryh_5908_34"); gruppen["5908"].push("Ryh_5908_35"); gruppen["5908"].push("Ryh_5908_36"); gruppen["5908"].push("Ryh_5908_37"); gruppen["5908"].push("Ryh_5908_38"); gruppen["5909"] = new Array(); gruppen["5909"].push("Ryh_5909_1_A"); gruppen["5909"].push("Ryh_5909_1_B"); gruppen["5909"].push("Ryh_5909_3"); gruppen["5909"].push("Ryh_5909_4"); gruppen["5909"].push("Ryh_5909_5"); gruppen["5909"].push("Ryh_5909_9"); gruppen["5909"].push("Ryh_5909_10"); gruppen["5909"].push("Ryh_5909_12"); gruppen["5909"].push("Ryh_5909_14"); gruppen["5909"].push("Ryh_5909_15"); gruppen["5909"].push("Ryh_5909_16"); gruppen["5909"].push("Ryh_5909_17"); gruppen["5909"].push("Ryh_5909_18"); gruppen["5909"].push("Ryh_5909_19"); gruppen["5909"].push("Ryh_5909_20"); gruppen["5909"].push("Ryh_5909_22"); gruppen["5909"].push("Ryh_5909_23"); gruppen["5909"].push("Ryh_5909_24"); gruppen["5909"].push("Ryh_5909_25"); gruppen["5909"].push("Ryh_5909_41_A"); gruppen["5909"].push("Ryh_5909_41_B"); gruppen["5909"].push("Ryh_5909_42"); gruppen["5909"].push("Ryh_5909_43"); gruppen["5909"].push("Ryh_5909_44"); gruppen["5909"].push("Ryh_5909_45"); gruppen["5909"].push("Ryh_5909_46"); gruppen["5909"].push("Ryh_5909_47"); gruppen["5909"].push("Ryh_5909_48"); gruppen["5909"].push("Ryh_5909_56"); gruppen["5910"] = new Array(); gruppen["5910"].push("Ryh_5910_1"); gruppen["5910"].push("Ryh_5910_3_A"); gruppen["5910"].push("Ryh_5910_3_B"); gruppen["5910"].push("Ryh_5910_5"); gruppen["5910"].push("Ryh_5910_11"); gruppen["5910"].push("Ryh_5910_12"); gruppen["5910"].push("Ryh_5910_15"); gruppen["5910"].push("Ryh_5910_16"); gruppen["5910"].push("Ryh_5910_17"); gruppen["5910"].push("Ryh_5910_18"); gruppen["5910"].push("Ryh_5910_19"); gruppen["5910"].push("Ryh_5910_21"); gruppen["5910"].push("Ryh_5910_22"); gruppen["5910"].push("Ryh_5910_23"); gruppen["5910"].push("Ryh_5910_24"); gruppen["5910"].push("Ryh_5910_25"); gruppen["5910"].push("Ryh_5910_26"); gruppen["5910"].push("Ryh_5910_27"); gruppen["5910"].push("Ryh_5910_28"); gruppen["5910"].push("Ryh_5910_29"); gruppen["5910"].push("Ryh_5910_30_A"); gruppen["5910"].push("Ryh_5910_30_B"); gruppen["5910"].push("Ryh_5910_30_C"); gruppen["5910"].push("Ryh_5910_30_D"); gruppen["5910"].push("Ryh_5910_36"); gruppen["5910"].push("Ryh_5910_37"); gruppen["5910"].push("Ryh_5910_38"); gruppen["5911"] = new Array(); gruppen["5911"].push("Ryh_5911_1"); gruppen["5911"].push("Ryh_5911_2"); gruppen["5911"].push("Ryh_5911_3"); gruppen["5911"].push("Ryh_5911_4"); gruppen["5911"].push("Ryh_5911_5"); gruppen["5911"].push("Ryh_5911_6"); gruppen["5911"].push("Ryh_5911_7"); gruppen["5911"].push("Ryh_5911_8"); gruppen["5911"].push("Ryh_5911_9"); gruppen["5911"].push("Ryh_5911_11"); gruppen["5911"].push("Ryh_5911_12"); gruppen["5911"].push("Ryh_5911_14"); gruppen["5911"].push("Ryh_5911_15"); gruppen["5911"].push("Ryh_5911_17"); gruppen["5911"].push("Ryh_5911_18"); gruppen["5911"].push("Ryh_5911_19"); gruppen["5911"].push("Ryh_5911_20"); gruppen["5911"].push("Ryh_5911_21"); gruppen["5911"].push("Ryh_5911_22"); gruppen["5911"].push("Ryh_5911_23"); gruppen["5911"].push("Ryh_5911_24"); gruppen["5911"].push("Ryh_5911_25"); gruppen["5912"] = new Array(); gruppen["5912"].push("Ryh_5912_1"); gruppen["5912"].push("Ryh_5912_2"); gruppen["5912"].push("Ryh_5912_3"); gruppen["5912"].push("Ryh_5912_4"); gruppen["5912"].push("Ryh_5912_5"); gruppen["5912"].push("Ryh_5912_8"); gruppen["5912"].push("Ryh_5912_10"); gruppen["5912"].push("Ryh_5912_11"); gruppen["5912"].push("Ryh_5912_12"); gruppen["5912"].push("Ryh_5912_13"); gruppen["5912"].push("Ryh_5912_14"); gruppen["5912"].push("Ryh_5912_15"); gruppen["5912"].push("Ryh_5912_16"); gruppen["5912"].push("Ryh_5912_17"); gruppen["5912"].push("Ryh_5912_18"); gruppen["5912"].push("Ryh_5912_19"); gruppen["5912"].push("Ryh_5912_20"); gruppen["5912"].push("Ryh_5912_21"); gruppen["5912"].push("Ryh_5912_22"); gruppen["5912"].push("Ryh_5912_23"); gruppen["5912"].push("Ryh_5912_24"); gruppen["5912"].push("Ryh_5912_25"); gruppen["5912"].push("Ryh_5912_26"); gruppen["5912"].push("Ryh_5912_27"); gruppen["5912"].push("Ryh_5912_28"); gruppen["5912"].push("Ryh_5912_29"); gruppen["5912"].push("Ryh_5912_30"); gruppen["5912"].push("Ryh_5912_31"); gruppen["5913"] = new Array(); gruppen["5913"].push("Ryh_5913_1"); gruppen["5913"].push("Ryh_5913_2"); gruppen["5913"].push("Ryh_5913_3"); gruppen["5913"].push("Ryh_5913_4"); gruppen["5913"].push("Ryh_5913_5"); gruppen["5913"].push("Ryh_5913_6"); gruppen["5913"].push("Ryh_5913_7"); gruppen["5913"].push("Ryh_5913_8"); gruppen["5913"].push("Ryh_5913_9_A"); gruppen["5913"].push("Ryh_5913_9_B"); gruppen["5913"].push("Ryh_5913_10"); gruppen["5913"].push("Ryh_5913_11"); gruppen["5913"].push("Ryh_5913_12"); gruppen["5913"].push("Ryh_5913_13"); gruppen["5913"].push("Ryh_5913_14"); gruppen["5913"].push("Ryh_5913_15"); gruppen["5913"].push("Ryh_5913_16"); gruppen["5913"].push("Ryh_5913_17"); gruppen["5913"].push("Ryh_5913_18"); gruppen["5913"].push("Ryh_5913_19"); gruppen["5916"] = new Array(); gruppen["5916"].push("Ryh_5916_1"); gruppen["5916"].push("Ryh_5916_2_A"); gruppen["5916"].push("Ryh_5916_2_B"); gruppen["5916"].push("Ryh_5916_3"); gruppen["5916"].push("Ryh_5916_4"); gruppen["5916"].push("Ryh_5916_5"); gruppen["5916"].push("Ryh_5916_6"); gruppen["5916"].push("Ryh_5916_11"); gruppen["5916"].push("Ryh_5916_12"); gruppen["5916"].push("Ryh_5916_13"); gruppen["5916"].push("Ryh_5916_14"); gruppen["5916"].push("Ryh_5916_15"); gruppen["5916"].push("Ryh_5916_16"); gruppen["5916"].push("Ryh_5916_17"); gruppen["5916"].push("Ryh_5916_18"); gruppen["5916"].push("Ryh_5916_19"); gruppen["5916"].push("Ryh_5916_20"); gruppen["5916"].push("Ryh_5916_41"); gruppen["5916"].push("Ryh_5916_42"); gruppen["5916"].push("Ryh_5916_43"); gruppen["5916"].push("Ryh_5916_44"); gruppen["5916"].push("Ryh_5916_45"); gruppen["5916"].push("Ryh_5916_46"); gruppen["5916"].push("Ryh_5916_47"); gruppen["5916"].push("Ryh_5916_48"); gruppen["5916"].push("Ryh_5916_49"); gruppen["5916"].push("Ryh_5916_50"); gruppen["5916"].push("Ryh_5916_51"); gruppen["5916"].push("Ryh_5916_52"); gruppen["5917"] = new Array(); gruppen["5917"].push("Ryh_5917_1"); gruppen["5917"].push("Ryh_5917_2"); gruppen["5917"].push("Ryh_5917_3"); gruppen["5917"].push("Ryh_5917_4"); gruppen["5917"].push("Ryh_5917_21"); gruppen["5917"].push("Ryh_5917_24"); gruppen["5917"].push("Ryh_5917_25"); gruppen["5917"].push("Ryh_5917_31"); gruppen["5917"].push("Ryh_5917_32"); gruppen["5917"].push("Ryh_5917_34"); gruppen["5917"].push("Ryh_5917_36"); gruppen["5917"].push("Ryh_5917_41_A"); gruppen["5917"].push("Ryh_5917_41_B"); gruppen["5917"].push("Ryh_5917_42"); gruppen["5917"].push("Ryh_5917_43"); gruppen["5917"].push("Ryh_5917_58"); gruppen["5917"].push("Ryh_5917_59"); gruppen["5917"].push("Ryh_5917_60"); gruppen["6001"] = new Array(); gruppen["6001"].push("Ryh_6001_1"); gruppen["6001"].push("Ryh_6001_2_A"); gruppen["6001"].push("Ryh_6001_2_B"); gruppen["6001"].push("Ryh_6001_4"); gruppen["6001"].push("Ryh_6001_5"); gruppen["6001"].push("Ryh_6001_6"); gruppen["6001"].push("Ryh_6001_7"); gruppen["6001"].push("Ryh_6001_8"); gruppen["6001"].push("Ryh_6001_9"); gruppen["6001"].push("Ryh_6001_10"); gruppen["6001"].push("Ryh_6001_11"); gruppen["6001"].push("Ryh_6001_12"); gruppen["6001"].push("Ryh_6001_13"); gruppen["6001"].push("Ryh_6001_14"); gruppen["6001"].push("Ryh_6001_15"); gruppen["6001"].push("Ryh_6001_16"); gruppen["6001"].push("Ryh_6001_17"); gruppen["6001"].push("Ryh_6001_18"); gruppen["6001"].push("Ryh_6001_19"); gruppen["6001"].push("Ryh_6001_20"); gruppen["6001"].push("Ryh_6001_21"); gruppen["6001"].push("Ryh_6001_22"); gruppen["6001"].push("Ryh_6001_23"); gruppen["6001"].push("Ryh_6001_24"); gruppen["6001"].push("Ryh_6001_25"); gruppen["6001"].push("Ryh_6001_26"); gruppen["6001"].push("Ryh_6001_27"); gruppen["6001"].push("Ryh_6001_28"); gruppen["6001"].push("Ryh_6001_29"); gruppen["6001"].push("Ryh_6001_30"); gruppen["6001"].push("Ryh_6001_31"); gruppen["6001"].push("Ryh_6001_34"); gruppen["6001"].push("Ryh_6001_35"); gruppen["6001"].push("Ryh_6001_36"); gruppen["6001"].push("Ryh_6001_37"); gruppen["6001"].push("Ryh_6001_38"); gruppen["6001"].push("Ryh_6001_39"); gruppen["6001"].push("Ryh_6001_40"); gruppen["6001"].push("Ryh_6001_41"); gruppen["6001"].push("Ryh_6001_42"); gruppen["6001"].push("Ryh_6001_43"); gruppen["6001"].push("Ryh_6001_44"); gruppen["6001"].push("Ryh_6001_45"); gruppen["6001"].push("Ryh_6001_46"); gruppen["6001"].push("Ryh_6001_47"); gruppen["6001"].push("Ryh_6001_48"); gruppen["6001"].push("Ryh_6001_49"); gruppen["6001"].push("Ryh_6001_50"); gruppen["6001"].push("Ryh_6001_51"); gruppen["6001"].push("Ryh_6001_52"); gruppen["6001"].push("Ryh_6001_53"); gruppen["6001"].push("Ryh_6001_54"); gruppen["6001"].push("Ryh_6001_55"); gruppen["6001"].push("Ryh_6001_56"); gruppen["6001"].push("Ryh_6001_57"); gruppen["6001"].push("Ryh_6001_58"); gruppen["6001"].push("Ryh_6001_59"); gruppen["6001"].push("Ryh_6001_60"); gruppen["6002"] = new Array(); gruppen["6002"].push("Ryh_6002_1"); gruppen["6002"].push("Ryh_6002_2"); gruppen["6002"].push("Ryh_6002_3"); gruppen["6002"].push("Ryh_6002_4"); gruppen["6002"].push("Ryh_6002_5"); gruppen["6002"].push("Ryh_6002_6"); gruppen["6002"].push("Ryh_6002_7"); gruppen["6002"].push("Ryh_6002_8"); gruppen["6002"].push("Ryh_6002_9_A"); gruppen["6002"].push("Ryh_6002_9_B"); gruppen["6002"].push("Ryh_6002_10"); gruppen["6002"].push("Ryh_6002_11"); gruppen["6002"].push("Ryh_6002_12"); gruppen["6002"].push("Ryh_6002_13"); gruppen["6002"].push("Ryh_6002_14_A"); gruppen["6002"].push("Ryh_6002_14_B"); gruppen["6002"].push("Ryh_6002_15"); gruppen["6002"].push("Ryh_6002_16"); gruppen["6002"].push("Ryh_6002_16_B"); gruppen["6002"].push("Ryh_6002_17"); gruppen["6002"].push("Ryh_6002_18"); gruppen["6002"].push("Ryh_6002_19"); gruppen["6002"].push("Ryh_6002_20"); gruppen["6002"].push("Ryh_6002_21"); gruppen["6002"].push("Ryh_6002_22"); gruppen["6002"].push("Ryh_6002_23"); gruppen["6002"].push("Ryh_6002_24"); gruppen["6002"].push("Ryh_6002_25"); gruppen["6002"].push("Ryh_6002_37"); gruppen["6002"].push("Ryh_6002_38"); gruppen["6002"].push("Ryh_6002_39"); gruppen["6002"].push("Ryh_6002_40"); gruppen["6002"].push("Ryh_6002_42"); gruppen["6002"].push("Ryh_6002_43"); gruppen["6002"].push("Ryh_6002_44"); gruppen["6002"].push("Ryh_6002_45"); gruppen["6002"].push("Ryh_6002_46"); gruppen["6002"].push("Ryh_6002_47"); gruppen["6002"].push("Ryh_6002_48"); gruppen["6002"].push("Ryh_6002_49"); gruppen["6002"].push("Ryh_6002_50"); gruppen["6002"].push("Ryh_6002_51"); gruppen["6002"].push("Ryh_6002_52"); gruppen["6003"] = new Array(); gruppen["6003"].push("Ryh_6003_1"); gruppen["6003"].push("Ryh_6003_2"); gruppen["6003"].push("Ryh_6003_3"); gruppen["6003"].push("Ryh_6003_4"); gruppen["6003"].push("Ryh_6003_5"); gruppen["6003"].push("Ryh_6003_6"); gruppen["6003"].push("Ryh_6003_7"); gruppen["6003"].push("Ryh_6003_8"); gruppen["6003"].push("Ryh_6003_9"); gruppen["6003"].push("Ryh_6003_10"); gruppen["6003"].push("Ryh_6003_11"); gruppen["6003"].push("Ryh_6003_12"); gruppen["6003"].push("Ryh_6003_13"); gruppen["6003"].push("Ryh_6003_14"); gruppen["6003"].push("Ryh_6003_15"); gruppen["6003"].push("Ryh_6003_16"); gruppen["6003"].push("Ryh_6003_17"); gruppen["6003"].push("Ryh_6003_18"); gruppen["6003"].push("Ryh_6003_19"); gruppen["6003"].push("Ryh_6003_20"); gruppen["6003"].push("Ryh_6003_21"); gruppen["6003"].push("Ryh_6003_22"); gruppen["6003"].push("Ryh_6003_23"); gruppen["6003"].push("Ryh_6003_24"); gruppen["6003"].push("Ryh_6003_25"); gruppen["6003"].push("Ryh_6003_26"); gruppen["6003"].push("Ryh_6003_27"); gruppen["6003"].push("Ryh_6003_28"); gruppen["6003"].push("Ryh_6003_29"); gruppen["6003"].push("Ryh_6003_30"); gruppen["6003"].push("Ryh_6003_31"); gruppen["6003"].push("Ryh_6003_32"); gruppen["6003"].push("Ryh_6003_33"); gruppen["6003"].push("Ryh_6003_34"); gruppen["6003"].push("Ryh_6003_35"); gruppen["6003"].push("Ryh_6003_36"); gruppen["6003"].push("Ryh_6003_37"); gruppen["6003"].push("Ryh_6003_38"); gruppen["6003"].push("Ryh_6003_39"); gruppen["6003"].push("Ryh_6003_40"); gruppen["6003"].push("Ryh_6003_41"); gruppen["6003"].push("Ryh_6003_42"); gruppen["6004"] = new Array(); gruppen["6004"].push("Ryh_6004_1"); gruppen["6004"].push("Ryh_6004_2"); gruppen["6004"].push("Ryh_6004_3"); gruppen["6004"].push("Ryh_6004_4"); gruppen["6004"].push("Ryh_6004_5"); gruppen["6004"].push("Ryh_6004_6"); gruppen["6004"].push("Ryh_6004_7"); gruppen["6004"].push("Ryh_6004_8"); gruppen["6004"].push("Ryh_6004_9"); gruppen["6004"].push("Ryh_6004_10"); gruppen["6004"].push("Ryh_6004_11"); gruppen["6004"].push("Ryh_6004_12"); gruppen["6004"].push("Ryh_6004_13"); gruppen["6004"].push("Ryh_6004_14"); gruppen["6004"].push("Ryh_6004_15"); gruppen["6004"].push("Ryh_6004_16"); gruppen["6004"].push("Ryh_6004_17"); gruppen["6004"].push("Ryh_6004_18"); gruppen["6004"].push("Ryh_6004_19"); gruppen["6004"].push("Ryh_6004_20"); gruppen["6004"].push("Ryh_6004_21"); gruppen["6004"].push("Ryh_6004_22"); gruppen["6004"].push("Ryh_6004_23"); gruppen["6004"].push("Ryh_6004_24"); gruppen["6004"].push("Ryh_6004_25"); gruppen["6004"].push("Ryh_6004_26"); gruppen["6101"] = new Array(); gruppen["6101"].push("Ryh_6101_1_A"); gruppen["6101"].push("Ryh_6101_1_B"); gruppen["6101"].push("Ryh_6101_2"); gruppen["6101"].push("Ryh_6101_3"); gruppen["6101"].push("Ryh_6101_4"); gruppen["6101"].push("Ryh_6101_5"); gruppen["6101"].push("Ryh_6101_6"); gruppen["6101"].push("Ryh_6101_7"); gruppen["6101"].push("Ryh_6101_9"); gruppen["6101"].push("Ryh_6101_10"); gruppen["6101"].push("Ryh_6101_11"); gruppen["6101"].push("Ryh_6101_12"); gruppen["6101"].push("Ryh_6101_13"); gruppen["6101"].push("Ryh_6101_21"); gruppen["6101"].push("Ryh_6101_22"); gruppen["6101"].push("Ryh_6101_23"); gruppen["6101"].push("Ryh_6101_24"); gruppen["6102"] = new Array(); gruppen["6102"].push("Ryh_6102_1_A"); gruppen["6102"].push("Ryh_6102_1_B"); gruppen["6102"].push("Ryh_6102_3"); gruppen["6102"].push("Ryh_6102_4"); gruppen["6102"].push("Ryh_6102_5"); gruppen["6102"].push("Ryh_6102_6"); gruppen["6102"].push("Ryh_6102_7"); gruppen["6102"].push("Ryh_6102_8"); gruppen["6102"].push("Ryh_6102_9"); gruppen["6102"].push("Ryh_6102_10"); gruppen["6102"].push("Ryh_6102_11"); gruppen["6102"].push("Ryh_6102_13"); gruppen["6102"].push("Ryh_6102_14"); gruppen["6102"].push("Ryh_6102_15"); gruppen["6102"].push("Ryh_6102_18"); gruppen["6102"].push("Ryh_6102_19"); gruppen["6102"].push("Ryh_6102_20"); gruppen["6102"].push("Ryh_6102_21"); gruppen["6102"].push("Ryh_6102_22"); gruppen["6102"].push("Ryh_6102_23"); gruppen["6102"].push("Ryh_6102_24"); gruppen["6102"].push("Ryh_6102_25"); gruppen["6102"].push("Ryh_6102_26"); gruppen["6102"].push("Ryh_6102_27"); gruppen["6102"].push("Ryh_6102_28_A"); gruppen["6102"].push("Ryh_6102_28_B"); gruppen["6102"].push("Ryh_6102_29"); gruppen["6102"].push("Ryh_6102_30"); gruppen["6102"].push("Ryh_6102_31"); gruppen["6102"].push("Ryh_6102_32"); gruppen["6102"].push("Ryh_6102_33"); gruppen["6102"].push("Ryh_6102_34"); gruppen["6102"].push("Ryh_6102_35_A"); gruppen["6102"].push("Ryh_6102_35_B"); gruppen["6102"].push("Ryh_6102_35_C"); gruppen["6102"].push("Ryh_6102_35_D"); gruppen["6102"].push("Ryh_6102_35_E"); gruppen["6102"].push("Ryh_6102_35_F"); gruppen["6102"].push("Ryh_6102_35_G"); gruppen["6103"] = new Array(); gruppen["6103"].push("Ryh_6103_1"); gruppen["6103"].push("Ryh_6103_2"); gruppen["6103"].push("Ryh_6103_3"); gruppen["6103"].push("Ryh_6103_4"); gruppen["6103"].push("Ryh_6103_5"); gruppen["6103"].push("Ryh_6103_6"); gruppen["6103"].push("Ryh_6103_7"); gruppen["6103"].push("Ryh_6103_8"); gruppen["6103"].push("Ryh_6103_9"); gruppen["6103"].push("Ryh_6103_10"); gruppen["6103"].push("Ryh_6103_11"); gruppen["6103"].push("Ryh_6103_12"); gruppen["6103"].push("Ryh_6103_13"); gruppen["6103"].push("Ryh_6103_14"); gruppen["6103"].push("Ryh_6103_15"); gruppen["6103"].push("Ryh_6103_16"); gruppen["6103"].push("Ryh_6103_17_A"); gruppen["6103"].push("Ryh_6103_17_B"); gruppen["6103"].push("Ryh_6103_18"); gruppen["6103"].push("Ryh_6103_41"); gruppen["6103"].push("Ryh_6103_42"); gruppen["6103"].push("Ryh_6103_43_A"); gruppen["6103"].push("Ryh_6103_43_B"); gruppen["6103"].push("Ryh_6103_44"); gruppen["6103"].push("Ryh_6103_45"); gruppen["6103"].push("Ryh_6103_46"); gruppen["6103"].push("Ryh_6103_48"); gruppen["6103"].push("Ryh_6103_50"); gruppen["6104"] = new Array(); gruppen["6104"].push("Ryh_6104_2"); gruppen["6104"].push("Ryh_6104_3"); gruppen["6104"].push("Ryh_6104_4"); gruppen["6104"].push("Ryh_6104_5"); gruppen["6104"].push("Ryh_6104_6"); gruppen["6104"].push("Ryh_6104_7"); gruppen["6104"].push("Ryh_6104_8"); gruppen["6104"].push("Ryh_6104_11"); gruppen["6104"].push("Ryh_6104_12"); gruppen["6104"].push("Ryh_6104_13"); gruppen["6104"].push("Ryh_6104_14"); gruppen["6104"].push("Ryh_6104_15"); gruppen["6104"].push("Ryh_6104_16"); gruppen["6104"].push("Ryh_6104_17"); gruppen["6104"].push("Ryh_6104_18"); gruppen["6104"].push("Ryh_6104_19"); gruppen["6104"].push("Ryh_6104_20"); gruppen["6104"].push("Ryh_6104_21"); gruppen["6104"].push("Ryh_6104_23"); gruppen["6104"].push("Ryh_6104_25"); gruppen["6104"].push("Ryh_6104_26"); gruppen["6104"].push("Ryh_6104_27"); gruppen["6104"].push("Ryh_6104_31"); gruppen["6104"].push("Ryh_6104_32"); gruppen["6104"].push("Ryh_6104_33"); gruppen["6104"].push("Ryh_6104_34"); gruppen["6104"].push("Ryh_6104_51"); gruppen["6106"] = new Array(); gruppen["6106"].push("Ryh_6106_1"); gruppen["6106"].push("Ryh_6106_2"); gruppen["6106"].push("Ryh_6106_3"); gruppen["6106"].push("Ryh_6106_4"); gruppen["6106"].push("Ryh_6106_5"); gruppen["6106"].push("Ryh_6106_9"); gruppen["6106"].push("Ryh_6106_11"); gruppen["6106"].push("Ryh_6106_13"); gruppen["6106"].push("Ryh_6106_19"); gruppen["6106"].push("Ryh_6106_20"); gruppen["6106"].push("Ryh_6106_31"); gruppen["6106"].push("Ryh_6106_32"); gruppen["6106"].push("Ryh_6106_33"); gruppen["6106"].push("Ryh_6106_34"); gruppen["6106"].push("Ryh_6106_35"); gruppen["6201"] = new Array(); gruppen["6201"].push("Ryh_6201_1"); gruppen["6201"].push("Ryh_6201_2"); gruppen["6201"].push("Ryh_6201_3"); gruppen["6201"].push("Ryh_6201_4_A"); gruppen["6201"].push("Ryh_6201_4_B"); gruppen["6201"].push("Ryh_6201_5"); gruppen["6201"].push("Ryh_6201_6"); gruppen["6201"].push("Ryh_6201_7"); gruppen["6201"].push("Ryh_6201_11"); gruppen["6201"].push("Ryh_6201_12"); gruppen["6201"].push("Ryh_6201_13"); gruppen["6201"].push("Ryh_6201_14"); gruppen["6201"].push("Ryh_6201_15"); gruppen["6201"].push("Ryh_6201_16"); gruppen["6201"].push("Ryh_6201_17"); gruppen["6201"].push("Ryh_6201_18"); gruppen["6201"].push("Ryh_6201_19"); gruppen["6201"].push("Ryh_6201_20"); gruppen["6201"].push("Ryh_6201_21"); gruppen["6201"].push("Ryh_6201_22"); gruppen["6201"].push("Ryh_6201_23"); gruppen["6201"].push("Ryh_6201_24"); gruppen["6201"].push("Ryh_6201_41"); gruppen["6201"].push("Ryh_6201_42"); gruppen["6201"].push("Ryh_6201_43"); gruppen["6201"].push("Ryh_6201_44"); gruppen["6201"].push("Ryh_6201_45"); gruppen["6201"].push("Ryh_6201_46"); gruppen["6201"].push("Ryh_6201_47"); gruppen["6201"].push("Ryh_6201_48"); gruppen["6201"].push("Ryh_6201_49"); gruppen["6301"] = new Array(); gruppen["6301"].push("Ryh_6301_1"); gruppen["6301"].push("Ryh_6301_2"); gruppen["6301"].push("Ryh_6301_3"); gruppen["6301"].push("Ryh_6301_4"); gruppen["6301"].push("Ryh_6301_5"); gruppen["6301"].push("Ryh_6301_6"); gruppen["6301"].push("Ryh_6301_7"); gruppen["6301"].push("Ryh_6301_8"); gruppen["6301"].push("Ryh_6301_9"); gruppen["6301"].push("Ryh_6301_10"); gruppen["6301"].push("Ryh_6301_11"); gruppen["6301"].push("Ryh_6301_12"); gruppen["6302"] = new Array(); gruppen["6302"].push("Ryh_6302_1"); gruppen["6302"].push("Ryh_6302_2"); gruppen["6302"].push("Ryh_6302_3"); gruppen["6302"].push("Ryh_6302_4"); gruppen["6302"].push("Ryh_6302_5"); gruppen["6302"].push("Ryh_6302_6"); gruppen["6302"].push("Ryh_6302_7"); gruppen["6302"].push("Ryh_6302_8"); gruppen["6302"].push("Ryh_6302_9"); gruppen["6302"].push("Ryh_6302_10"); gruppen["6302"].push("Ryh_6302_11"); gruppen["6302"].push("Ryh_6302_12"); gruppen["6302"].push("Ryh_6302_13"); gruppen["6302"].push("Ryh_6302_14"); gruppen["6302"].push("Ryh_6302_15"); gruppen["6302"].push("Ryh_6302_16"); gruppen["6302"].push("Ryh_6302_17"); gruppen["6302"].push("Ryh_6302_18"); gruppen["6302"].push("Ryh_6302_19"); gruppen["6302"].push("Ryh_6302_20"); gruppen["6302"].push("Ryh_6302_21"); gruppen["6302"].push("Ryh_6302_22"); gruppen["6302"].push("Ryh_6302_23"); gruppen["6302"].push("Ryh_6302_24"); gruppen["6302"].push("Ryh_6302_25"); gruppen["6302"].push("Ryh_6302_26"); gruppen["6302"].push("Ryh_6302_27"); gruppen["6302"].push("Ryh_6302_28"); gruppen["6302"].push("Ryh_6302_29"); gruppen["6302"].push("Ryh_6302_30"); gruppen["6302"].push("Ryh_6302_31"); gruppen["6302"].push("Ryh_6302_32"); gruppen["6302"].push("Ryh_6302_33"); gruppen["6302"].push("Ryh_6302_34"); gruppen["6302"].push("Ryh_6302_35"); gruppen["6302"].push("Ryh_6302_36"); gruppen["6302"].push("Ryh_6302_37"); gruppen["6302"].push("Ryh_6302_38"); gruppen["6302"].push("Ryh_6302_39"); gruppen["6302"].push("Ryh_6302_40"); gruppen["6302"].push("Ryh_6302_41"); gruppen["6302"].push("Ryh_6302_42"); gruppen["6302"].push("Ryh_6302_43"); gruppen["6302"].push("Ryh_6302_44"); gruppen["6302"].push("Ryh_6302_45"); gruppen["6302"].push("Ryh_6302_46"); gruppen["6302"].push("Ryh_6302_47"); gruppen["6302"].push("Ryh_6302_48"); gruppen["6302"].push("Ryh_6302_49"); gruppen["6302"].push("Ryh_6302_50"); gruppen["6302"].push("Ryh_6302_51"); gruppen["6303"] = new Array(); gruppen["6303"].push("Ryh_6303_1"); gruppen["6303"].push("Ryh_6303_3"); gruppen["6303"].push("Ryh_6303_5"); gruppen["6303"].push("Ryh_6303_6"); gruppen["6303"].push("Ryh_6303_7_A"); gruppen["6303"].push("Ryh_6303_7_B"); gruppen["6303"].push("Ryh_6303_8"); gruppen["6303"].push("Ryh_6303_9"); gruppen["6303"].push("Ryh_6303_10"); gruppen["6303"].push("Ryh_6303_12"); gruppen["6303"].push("Ryh_6303_13"); gruppen["6303"].push("Ryh_6303_14"); gruppen["6303"].push("Ryh_6303_21"); gruppen["6303"].push("Ryh_6303_22"); gruppen["6303"].push("Ryh_6303_23"); gruppen["6303"].push("Ryh_6303_24"); gruppen["6303"].push("Ryh_6303_25"); gruppen["6303"].push("Ryh_6303_26"); gruppen["6303"].push("Ryh_6303_27"); gruppen["6303"].push("Ryh_6303_28"); gruppen["6303"].push("Ryh_6303_29"); gruppen["6303"].push("Ryh_6303_30"); gruppen["6303"].push("Ryh_6303_31"); gruppen["6303"].push("Ryh_6303_32"); gruppen["6303"].push("Ryh_6303_33"); gruppen["6303"].push("Ryh_6303_34"); gruppen["6303"].push("Ryh_6303_35"); gruppen["6303"].push("Ryh_6303_36"); gruppen["6303"].push("Ryh_6303_37"); gruppen["6303"].push("Ryh_6303_38"); gruppen["6303"].push("Ryh_6303_39"); gruppen["6303"].push("Ryh_6303_40"); gruppen["6303"].push("Ryh_6303_41"); gruppen["6303"].push("Ryh_6303_43"); gruppen["6303"].push("Ryh_6303_44"); gruppen["6303"].push("Ryh_6303_45"); gruppen["6305"] = new Array(); gruppen["6305"].push("Ryh_6305_1"); gruppen["6305"].push("Ryh_6305_4"); gruppen["6305"].push("Ryh_6305_5"); gruppen["6305"].push("Ryh_6305_6"); gruppen["6305"].push("Ryh_6305_7"); gruppen["6305"].push("Ryh_6305_9"); gruppen["6305"].push("Ryh_6305_10"); gruppen["6305"].push("Ryh_6305_11"); gruppen["6305"].push("Ryh_6305_12"); gruppen["6305"].push("Ryh_6305_13"); gruppen["6305"].push("Ryh_6305_14"); gruppen["6305"].push("Ryh_6305_16"); gruppen["6305"].push("Ryh_6305_17"); gruppen["6305"].push("Ryh_6305_18"); gruppen["6305"].push("Ryh_6305_19"); gruppen["6305"].push("Ryh_6305_20"); gruppen["6305"].push("Ryh_6305_21"); gruppen["6305"].push("Ryh_6305_22"); gruppen["6305"].push("Ryh_6305_23"); gruppen["6305"].push("Ryh_6305_24"); gruppen["6305"].push("Ryh_6305_25"); gruppen["6305"].push("Ryh_6305_26"); gruppen["6305"].push("Ryh_6305_27"); gruppen["6305"].push("Ryh_6305_28"); gruppen["6305"].push("Ryh_6305_29"); gruppen["6305"].push("Ryh_6305_30"); gruppen["6305"].push("Ryh_6305_31"); gruppen["6305"].push("Ryh_6305_32"); gruppen["6305"].push("Ryh_6305_37"); gruppen["6305"].push("Ryh_6305_38"); gruppen["6305"].push("Ryh_6305_39"); gruppen["6305"].push("Ryh_6305_40"); gruppen["6305"].push("Ryh_6305_41"); gruppen["6305"].push("Ryh_6305_42"); gruppen["6305"].push("Ryh_6305_43"); gruppen["6305"].push("Ryh_6305_44"); gruppen["6305"].push("Ryh_6305_45"); gruppen["6305"].push("Ryh_6305_46"); gruppen["6305"].push("Ryh_6305_47"); gruppen["6305"].push("Ryh_6305_48"); gruppen["6305"].push("Ryh_6305_49"); gruppen["6305"].push("Ryh_6305_50"); gruppen["6306"] = new Array(); gruppen["6306"].push("Ryh_6306_"); gruppen["6401"] = new Array(); gruppen["6401"].push("Ryh_6401_2"); gruppen["6401"].push("Ryh_6401_3"); gruppen["6401"].push("Ryh_6401_4"); gruppen["6401"].push("Ryh_6401_5"); gruppen["6401"].push("Ryh_6401_6"); gruppen["6401"].push("Ryh_6401_7"); gruppen["6401"].push("Ryh_6401_8"); gruppen["6401"].push("Ryh_6401_9"); gruppen["6401"].push("Ryh_6401_10"); gruppen["6401"].push("Ryh_6401_11"); gruppen["6401"].push("Ryh_6401_12"); gruppen["6401"].push("Ryh_6401_14"); gruppen["6401"].push("Ryh_6401_15"); gruppen["6401"].push("Ryh_6401_16"); gruppen["6401"].push("Ryh_6401_17"); gruppen["6401"].push("Ryh_6401_18"); gruppen["6401"].push("Ryh_6401_19"); gruppen["6401"].push("Ryh_6401_20"); gruppen["6401"].push("Ryh_6401_21"); gruppen["6401"].push("Ryh_6401_22"); gruppen["6401"].push("Ryh_6401_23"); gruppen["6401"].push("Ryh_6401_24"); gruppen["6401"].push("Ryh_6401_25"); gruppen["6401"].push("Ryh_6401_26"); gruppen["6401"].push("Ryh_6401_27"); gruppen["6401"].push("Ryh_6401_28"); gruppen["6401"].push("Ryh_6401_29"); gruppen["6401"].push("Ryh_6401_30"); gruppen["6401"].push("Ryh_6401_31"); gruppen["6401"].push("Ryh_6401_32"); gruppen["6401"].push("Ryh_6401_33"); gruppen["6401"].push("Ryh_6401_34"); gruppen["6401"].push("Ryh_6401_35"); gruppen["6401"].push("Ryh_6401_36"); gruppen["6401"].push("Ryh_6401_37"); gruppen["6401"].push("Ryh_6401_38"); gruppen["6401"].push("Ryh_6401_39"); gruppen["6401"].push("Ryh_6401_40"); gruppen["6401"].push("Ryh_6401_41"); gruppen["6401"].push("Ryh_6401_42"); gruppen["6401"].push("Ryh_6401_43"); gruppen["6403"] = new Array(); gruppen["6403"].push("Ryh_6403_1"); gruppen["6403"].push("Ryh_6403_2"); gruppen["6403"].push("Ryh_6403_3"); gruppen["6403"].push("Ryh_6403_4"); gruppen["6403"].push("Ryh_6403_5_A"); gruppen["6403"].push("Ryh_6403_5_B"); gruppen["6403"].push("Ryh_6403_6"); gruppen["6403"].push("Ryh_6403_7"); gruppen["6403"].push("Ryh_6403_8"); gruppen["6403"].push("Ryh_6403_10"); gruppen["6403"].push("Ryh_6403_11"); gruppen["6403"].push("Ryh_6403_12"); gruppen["6403"].push("Ryh_6403_13"); gruppen["6403"].push("Ryh_6403_14"); gruppen["6403"].push("Ryh_6403_15"); gruppen["6403"].push("Ryh_6403_16"); gruppen["6403"].push("Ryh_6403_17"); gruppen["6403"].push("Ryh_6403_18"); gruppen["6403"].push("Ryh_6403_19"); gruppen["6403"].push("Ryh_6403_20"); gruppen["6403"].push("Ryh_6403_21"); gruppen["6403"].push("Ryh_6403_22"); gruppen["6403"].push("Ryh_6403_23"); gruppen["6403"].push("Ryh_6403_24"); gruppen["6403"].push("Ryh_6403_25"); gruppen["6403"].push("Ryh_6403_29"); gruppen["6403"].push("Ryh_6403_30_A"); gruppen["6403"].push("Ryh_6403_30_B"); gruppen["6403"].push("Ryh_6403_31_A"); gruppen["6403"].push("Ryh_6403_31_B"); gruppen["6403"].push("Ryh_6403_32_A"); gruppen["6403"].push("Ryh_6403_32_B"); gruppen["6403"].push("Ryh_6403_33"); gruppen["6403"].push("Ryh_6403_34"); gruppen["6404"] = new Array(); gruppen["6404"].push("Ryh_6404_1"); gruppen["6404"].push("Ryh_6404_2"); gruppen["6404"].push("Ryh_6404_3"); gruppen["6404"].push("Ryh_6404_5"); gruppen["6404"].push("Ryh_6404_6"); gruppen["6404"].push("Ryh_6404_7"); gruppen["6404"].push("Ryh_6404_8"); gruppen["6404"].push("Ryh_6404_13"); gruppen["6404"].push("Ryh_6404_14"); gruppen["6404"].push("Ryh_6404_15"); gruppen["6404"].push("Ryh_6404_16"); gruppen["6404"].push("Ryh_6404_17"); gruppen["6404"].push("Ryh_6404_18"); gruppen["6404"].push("Ryh_6404_51"); gruppen["6404"].push("Ryh_6404_52"); gruppen["6404"].push("Ryh_6404_53"); gruppen["6404"].push("Ryh_6404_54"); gruppen["6404"].push("Ryh_6404_55"); gruppen["6404"].push("Ryh_6404_56"); gruppen["6404"].push("Ryh_6404_57"); gruppen["6404"].push("Ryh_6404_58"); gruppen["6404"].push("Ryh_6404_59"); gruppen["6404"].push("Ryh_6404_60"); gruppen["6406"] = new Array(); gruppen["6406"].push("Ryh_6406_1"); gruppen["6406"].push("Ryh_6406_2"); gruppen["6406"].push("Ryh_6406_4"); gruppen["6406"].push("Ryh_6406_5"); gruppen["6406"].push("Ryh_6406_6"); gruppen["6406"].push("Ryh_6406_7"); gruppen["6406"].push("Ryh_6406_8"); gruppen["6406"].push("Ryh_6406_11"); gruppen["6406"].push("Ryh_6406_12"); gruppen["6406"].push("Ryh_6406_13"); gruppen["6406"].push("Ryh_6406_14"); gruppen["6406"].push("Ryh_6406_15"); gruppen["6406"].push("Ryh_6406_16"); gruppen["6406"].push("Ryh_6406_17"); gruppen["6406"].push("Ryh_6406_18"); gruppen["6406"].push("Ryh_6406_20"); gruppen["6406"].push("Ryh_6406_21"); gruppen["6406"].push("Ryh_6406_23"); gruppen["6406"].push("Ryh_6406_24"); gruppen["6406"].push("Ryh_6406_25"); gruppen["6406"].push("Ryh_6406_26"); gruppen["6407"] = new Array(); gruppen["6407"].push("Ryh_6407_1"); gruppen["6407"].push("Ryh_6407_2"); gruppen["6407"].push("Ryh_6407_3"); gruppen["6407"].push("Ryh_6407_4"); gruppen["6407"].push("Ryh_6407_5"); gruppen["6407"].push("Ryh_6407_6"); gruppen["6407"].push("Ryh_6407_7"); gruppen["6407"].push("Ryh_6407_8"); gruppen["6407"].push("Ryh_6407_9"); gruppen["6407"].push("Ryh_6407_10"); gruppen["6407"].push("Ryh_6407_11"); gruppen["6407"].push("Ryh_6407_12"); gruppen["6407"].push("Ryh_6407_21"); gruppen["6407"].push("Ryh_6407_22"); gruppen["6407"].push("Ryh_6407_24_A"); gruppen["6407"].push("Ryh_6407_24_B"); gruppen["6407"].push("Ryh_6407_31"); gruppen["6407"].push("Ryh_6407_32"); gruppen["6407"].push("Ryh_6407_33"); gruppen["6407"].push("Ryh_6407_34"); gruppen["6407"].push("Ryh_6407_35"); gruppen["6407"].push("Ryh_6407_36"); gruppen["6408"] = new Array(); gruppen["6408"].push("Ryh_6408_1"); gruppen["6408"].push("Ryh_6408_2"); gruppen["6408"].push("Ryh_6408_3"); gruppen["6408"].push("Ryh_6408_4"); gruppen["6408"].push("Ryh_6408_5"); gruppen["6408"].push("Ryh_6408_6"); gruppen["6408"].push("Ryh_6408_7"); gruppen["6408"].push("Ryh_6408_8"); gruppen["6408"].push("Ryh_6408_9"); gruppen["6408"].push("Ryh_6408_10"); gruppen["6408"].push("Ryh_6408_11_A"); gruppen["6408"].push("Ryh_6408_11_B"); gruppen["6408"].push("Ryh_6408_12"); gruppen["6408"].push("Ryh_6408_13"); gruppen["6408"].push("Ryh_6408_14"); gruppen["6408"].push("Ryh_6408_15"); gruppen["6408"].push("Ryh_6408_21"); gruppen["6408"].push("Ryh_6408_22"); gruppen["6408"].push("Ryh_6408_23"); gruppen["6408"].push("Ryh_6408_24"); gruppen["6409"] = new Array(); gruppen["6409"].push("Ryh_6409_1_A"); gruppen["6409"].push("Ryh_6409_1_B"); gruppen["6409"].push("Ryh_6409_1_C"); gruppen["6409"].push("Ryh_6409_1_D"); gruppen["6409"].push("Ryh_6409_1_E"); gruppen["6409"].push("Ryh_6409_1_F"); gruppen["6409"].push("Ryh_6409_2"); gruppen["6409"].push("Ryh_6409_3"); gruppen["6409"].push("Ryh_6409_4"); gruppen["6409"].push("Ryh_6409_5"); gruppen["6409"].push("Ryh_6409_6"); gruppen["6409"].push("Ryh_6409_7"); gruppen["6409"].push("Ryh_6409_8"); gruppen["6409"].push("Ryh_6409_9"); gruppen["6409"].push("Ryh_6409_10"); gruppen["6409"].push("Ryh_6409_11"); gruppen["6409"].push("Ryh_6409_12"); gruppen["6409"].push("Ryh_6409_13"); gruppen["6409"].push("Ryh_6409_14"); gruppen["6409"].push("Ryh_6409_15"); gruppen["6409"].push("Ryh_6409_16"); gruppen["6409"].push("Ryh_6409_17"); gruppen["6409"].push("Ryh_6409_18"); gruppen["6409"].push("Ryh_6409_19"); gruppen["6409"].push("Ryh_6409_20"); gruppen["6409"].push("Ryh_6409_21"); gruppen["6409"].push("Ryh_6409_22_A"); gruppen["6409"].push("Ryh_6409_22_B"); gruppen["6409"].push("Ryh_6409_23_A"); gruppen["6409"].push("Ryh_6409_23_B"); gruppen["6501"] = new Array(); gruppen["6501"].push("Ryh_6501_1"); gruppen["6501"].push("Ryh_6501_2"); gruppen["6501"].push("Ryh_6501_3"); gruppen["6501"].push("Ryh_6501_4_A"); gruppen["6501"].push("Ryh_6501_4_B"); gruppen["6501"].push("Ryh_6501_6"); gruppen["6501"].push("Ryh_6501_7"); gruppen["6501"].push("Ryh_6501_9"); gruppen["6501"].push("Ryh_6501_10"); gruppen["6501"].push("Ryh_6501_11"); gruppen["6501"].push("Ryh_6501_12"); gruppen["6501"].push("Ryh_6501_13"); gruppen["6501"].push("Ryh_6501_14"); gruppen["6501"].push("Ryh_6501_16"); gruppen["6501"].push("Ryh_6501_17"); gruppen["6501"].push("Ryh_6501_18"); gruppen["6501"].push("Ryh_6501_19"); gruppen["6501"].push("Ryh_6501_20"); gruppen["6501"].push("Ryh_6501_21"); gruppen["6501"].push("Ryh_6501_22"); gruppen["6501"].push("Ryh_6501_23"); gruppen["6501"].push("Ryh_6501_24"); gruppen["6501"].push("Ryh_6501_25"); gruppen["6501"].push("Ryh_6501_26"); gruppen["6501"].push("Ryh_6501_27"); gruppen["6501"].push("Ryh_6501_29"); gruppen["6501"].push("Ryh_6501_30"); gruppen["6501"].push("Ryh_6501_31"); gruppen["6501"].push("Ryh_6501_33"); gruppen["6501"].push("Ryh_6501_34"); gruppen["6501"].push("Ryh_6501_35"); gruppen["6501"].push("Ryh_6501_36"); gruppen["6501"].push("Ryh_6501_37"); gruppen["6501"].push("Ryh_6501_38_A"); gruppen["6501"].push("Ryh_6501_38_B"); gruppen["6501"].push("Ryh_6501_39"); gruppen["6501"].push("Ryh_6501_40"); gruppen["6501"].push("Ryh_6501_41"); gruppen["6501"].push("Ryh_6501_42"); gruppen["6501"].push("Ryh_6501_43"); gruppen["6501"].push("Ryh_6501_44"); gruppen["6501"].push("Ryh_6501_45"); gruppen["6501"].push("Ryh_6501_46"); gruppen["6501"].push("Ryh_6501_47"); gruppen["6503"] = new Array(); gruppen["6503"].push("Ryh_6503_1"); gruppen["6503"].push("Ryh_6503_2"); gruppen["6503"].push("Ryh_6503_3"); gruppen["6503"].push("Ryh_6503_4"); gruppen["6503"].push("Ryh_6503_6"); gruppen["6503"].push("Ryh_6503_7"); gruppen["6503"].push("Ryh_6503_8"); gruppen["6503"].push("Ryh_6503_10"); gruppen["6503"].push("Ryh_6503_11"); gruppen["6503"].push("Ryh_6503_12"); gruppen["6503"].push("Ryh_6503_13"); gruppen["6503"].push("Ryh_6503_14"); gruppen["6503"].push("Ryh_6503_15"); gruppen["6503"].push("Ryh_6503_16"); gruppen["6503"].push("Ryh_6503_17"); gruppen["6503"].push("Ryh_6503_18"); gruppen["6503"].push("Ryh_6503_19"); gruppen["6503"].push("Ryh_6503_20"); gruppen["6503"].push("Ryh_6503_21"); gruppen["6503"].push("Ryh_6503_22"); gruppen["6503"].push("Ryh_6503_23"); gruppen["6503"].push("Ryh_6503_24"); gruppen["6503"].push("Ryh_6503_25"); gruppen["6504"] = new Array(); gruppen["6504"].push("Ryh_6504_1"); gruppen["6504"].push("Ryh_6504_2"); gruppen["6504"].push("Ryh_6504_3"); gruppen["6504"].push("Ryh_6504_4"); gruppen["6504"].push("Ryh_6504_5"); gruppen["6504"].push("Ryh_6504_6"); gruppen["6504"].push("Ryh_6504_7_A"); gruppen["6504"].push("Ryh_6504_7_B"); gruppen["6504"].push("Ryh_6504_8"); gruppen["6504"].push("Ryh_6504_9"); gruppen["6504"].push("Ryh_6504_10"); gruppen["6504"].push("Ryh_6504_11"); gruppen["6504"].push("Ryh_6504_12"); gruppen["6504"].push("Ryh_6504_21"); gruppen["6504"].push("Ryh_6504_22"); gruppen["6504"].push("Ryh_6504_23"); gruppen["6504"].push("Ryh_6504_24"); gruppen["6504"].push("Ryh_6504_25"); gruppen["6504"].push("Ryh_6504_26"); gruppen["6504"].push("Ryh_6504_27_A"); gruppen["6504"].push("Ryh_6504_27_B"); gruppen["6504"].push("Ryh_6504_28"); gruppen["6504"].push("Ryh_6504_29"); gruppen["6504"].push("Ryh_6504_30"); gruppen["6504"].push("Ryh_6504_41"); gruppen["6504"].push("Ryh_6504_42"); gruppen["6504"].push("Ryh_6504_43"); gruppen["6504"].push("Ryh_6504_44"); gruppen["6504"].push("Ryh_6504_45"); gruppen["6504"].push("Ryh_6504_46"); gruppen["6504"].push("Ryh_6504_47"); gruppen["6504"].push("Ryh_6504_48_A"); gruppen["6504"].push("Ryh_6504_48_B"); gruppen["6504"].push("Ryh_6504_49"); gruppen["6505"] = new Array(); gruppen["6505"].push("Ryh_6505_1"); gruppen["6505"].push("Ryh_6505_2"); gruppen["6505"].push("Ryh_6505_3"); gruppen["6505"].push("Ryh_6505_4"); gruppen["6505"].push("Ryh_6505_5"); gruppen["6505"].push("Ryh_6505_6"); gruppen["6505"].push("Ryh_6505_7"); gruppen["6505"].push("Ryh_6505_8"); gruppen["6505"].push("Ryh_6505_9"); gruppen["6505"].push("Ryh_6505_10"); gruppen["6505"].push("Ryh_6505_11"); gruppen["6505"].push("Ryh_6505_12_A"); gruppen["6505"].push("Ryh_6505_12_B"); gruppen["6505"].push("Ryh_6505_13_A"); gruppen["6505"].push("Ryh_6505_13_B"); gruppen["6505"].push("Ryh_6505_14"); gruppen["6505"].push("Ryh_6505_45"); gruppen["6505"].push("Ryh_6505_46"); gruppen["6505"].push("Ryh_6505_47"); gruppen["6505"].push("Ryh_6505_48"); gruppen["6505"].push("Ryh_6505_49"); gruppen["6505"].push("Ryh_6505_50"); gruppen["6505"].push("Ryh_6505_51"); gruppen["6505"].push("Ryh_6505_52"); gruppen["6505"].push("Ryh_6505_53"); gruppen["6506"] = new Array(); gruppen["6506"].push("Ryh_6506_1"); gruppen["6506"].push("Ryh_6506_2"); gruppen["6506"].push("Ryh_6506_3"); gruppen["6506"].push("Ryh_6506_4"); gruppen["6506"].push("Ryh_6506_5"); gruppen["6506"].push("Ryh_6506_6"); gruppen["6506"].push("Ryh_6506_7"); gruppen["6506"].push("Ryh_6506_8"); gruppen["6506"].push("Ryh_6506_9"); gruppen["6506"].push("Ryh_6506_10"); gruppen["6506"].push("Ryh_6506_11"); gruppen["6506"].push("Ryh_6506_12"); gruppen["6506"].push("Ryh_6506_13"); gruppen["6506"].push("Ryh_6506_21"); gruppen["6506"].push("Ryh_6506_22"); gruppen["6506"].push("Ryh_6506_23"); gruppen["6506"].push("Ryh_6506_24"); gruppen["6506"].push("Ryh_6506_25"); gruppen["6506"].push("Ryh_6506_26"); gruppen["6506"].push("Ryh_6506_31"); gruppen["6506"].push("Ryh_6506_32"); gruppen["6506"].push("Ryh_6506_33"); gruppen["6506"].push("Ryh_6506_34"); gruppen["6506"].push("Ryh_6506_35"); gruppen["6506"].push("Ryh_6506_36"); gruppen["6506"].push("Ryh_6506_37"); gruppen["6506"].push("Ryh_6506_38"); gruppen["6506"].push("Ryh_6506_39"); gruppen["6506"].push("Ryh_6506_40"); gruppen["6506"].push("Ryh_6506_41"); gruppen["6506"].push("Ryh_6506_42"); gruppen["6506"].push("Ryh_6506_43"); gruppen["6506"].push("Ryh_6506_44_A"); gruppen["6506"].push("Ryh_6506_44_B"); gruppen["6506"].push("Ryh_6506_45"); gruppen["6507"] = new Array(); gruppen["6507"].push("Ryh_6507_1"); gruppen["6507"].push("Ryh_6507_2"); gruppen["6507"].push("Ryh_6507_3"); gruppen["6507"].push("Ryh_6507_4"); gruppen["6507"].push("Ryh_6507_5"); gruppen["6507"].push("Ryh_6507_6"); gruppen["6507"].push("Ryh_6507_7"); gruppen["6507"].push("Ryh_6507_8"); gruppen["6507"].push("Ryh_6507_9"); gruppen["6507"].push("Ryh_6507_10"); gruppen["6507"].push("Ryh_6507_11"); gruppen["6507"].push("Ryh_6507_12"); gruppen["6507"].push("Ryh_6507_13"); gruppen["6507"].push("Ryh_6507_14"); gruppen["6507"].push("Ryh_6507_15"); gruppen["6507"].push("Ryh_6507_16"); gruppen["6507"].push("Ryh_6507_17"); gruppen["6507"].push("Ryh_6507_19"); gruppen["6507"].push("Ryh_6507_20"); gruppen["6507"].push("Ryh_6507_21"); gruppen["6507"].push("Ryh_6507_22"); gruppen["6507"].push("Ryh_6507_23"); gruppen["6507"].push("Ryh_6507_24"); gruppen["6507"].push("Ryh_6507_25"); gruppen["6507"].push("Ryh_6507_26"); gruppen["6507"].push("Ryh_6507_27"); gruppen["6507"].push("Ryh_6507_28"); gruppen["6507"].push("Ryh_6507_29"); gruppen["6507"].push("Ryh_6507_30"); gruppen["6507"].push("Ryh_6507_31"); gruppen["6507"].push("Ryh_6507_32"); gruppen["6507"].push("Ryh_6507_33"); gruppen["6507"].push("Ryh_6507_34"); gruppen["6507"].push("Ryh_6507_35"); gruppen["6507"].push("Ryh_6507_36"); gruppen["6507"].push("Ryh_6507_37"); gruppen["6507"].push("Ryh_6507_38"); gruppen["6507"].push("Ryh_6507_39"); gruppen["6507"].push("Ryh_6507_40"); gruppen["6507"].push("Ryh_6507_41"); gruppen["6507"].push("Ryh_6507_42"); gruppen["6507"].push("Ryh_6507_43"); gruppen["6507"].push("Ryh_6507_44"); gruppen["6507"].push("Ryh_6507_45_A"); gruppen["6507"].push("Ryh_6507_45_B"); gruppen["6507"].push("Ryh_6507_46"); gruppen["6507"].push("Ryh_6507_47"); gruppen["6507"].push("Ryh_6507_48"); gruppen["6507"].push("Ryh_6507_49"); gruppen["6507"].push("Ryh_6507_50"); gruppen["6507"].push("Ryh_6507_51"); gruppen["6507"].push("Ryh_6507_52"); gruppen["6507"].push("Ryh_6507_53"); gruppen["6507"].push("Ryh_6507_54"); gruppen["6507"].push("Ryh_6507_55"); gruppen["6507"].push("Ryh_6507_60"); gruppen["6509"] = new Array(); gruppen["6509"].push("Ryh_6509_1"); gruppen["6509"].push("Ryh_6509_2"); gruppen["6509"].push("Ryh_6509_3"); gruppen["6509"].push("Ryh_6509_5"); gruppen["6509"].push("Ryh_6509_6"); gruppen["6509"].push("Ryh_6509_7"); gruppen["6509"].push("Ryh_6509_8_A"); gruppen["6509"].push("Ryh_6509_8_B"); gruppen["6509"].push("Ryh_6509_9_A"); gruppen["6509"].push("Ryh_6509_9_B"); gruppen["6509"].push("Ryh_6509_31"); gruppen["6509"].push("Ryh_6509_32"); gruppen["6509"].push("Ryh_6509_33"); gruppen["6509"].push("Ryh_6509_34"); gruppen["6509"].push("Ryh_6509_35"); gruppen["6509"].push("Ryh_6509_36"); gruppen["6509"].push("Ryh_6509_37"); gruppen["6509"].push("Ryh_6509_38"); gruppen["6509"].push("Ryh_6509_39"); gruppen["6509"].push("Ryh_6509_40"); gruppen["6510"] = new Array(); gruppen["6510"].push("Ryh_6510_1"); gruppen["6510"].push("Ryh_6510_2"); gruppen["6510"].push("Ryh_6510_3"); gruppen["6510"].push("Ryh_6510_5"); gruppen["6510"].push("Ryh_6510_6"); gruppen["6510"].push("Ryh_6510_8"); gruppen["6510"].push("Ryh_6510_9"); gruppen["6510"].push("Ryh_6510_10"); gruppen["6510"].push("Ryh_6510_11"); gruppen["6510"].push("Ryh_6510_12"); gruppen["6510"].push("Ryh_6510_13"); gruppen["6510"].push("Ryh_6510_14"); gruppen["6510"].push("Ryh_6510_15"); gruppen["6510"].push("Ryh_6510_16"); gruppen["6510"].push("Ryh_6510_17"); gruppen["6510"].push("Ryh_6510_18"); gruppen["6510"].push("Ryh_6510_19"); gruppen["6510"].push("Ryh_6510_20"); gruppen["6510"].push("Ryh_6510_21"); gruppen["6510"].push("Ryh_6510_22"); gruppen["6510"].push("Ryh_6510_23"); gruppen["6510"].push("Ryh_6510_24"); gruppen["6510"].push("Ryh_6510_25"); gruppen["6510"].push("Ryh_6510_26"); gruppen["6510"].push("Ryh_6510_27"); gruppen["6511"] = new Array(); gruppen["6511"].push("Ryh_6511_3"); gruppen["6511"].push("Ryh_6511_4"); gruppen["6511"].push("Ryh_6511_5"); gruppen["6511"].push("Ryh_6511_6"); gruppen["6511"].push("Ryh_6511_7"); gruppen["6511"].push("Ryh_6511_8"); gruppen["6511"].push("Ryh_6511_9"); gruppen["6511"].push("Ryh_6511_10"); gruppen["6511"].push("Ryh_6511_11"); gruppen["6511"].push("Ryh_6511_12"); gruppen["6511"].push("Ryh_6511_21_A"); gruppen["6511"].push("Ryh_6511_21_B"); gruppen["6511"].push("Ryh_6511_22"); gruppen["6511"].push("Ryh_6511_23"); gruppen["6511"].push("Ryh_6511_24"); gruppen["6511"].push("Ryh_6511_25"); gruppen["6511"].push("Ryh_6511_26"); gruppen["6511"].push("Ryh_6511_28"); gruppen["6511"].push("Ryh_6511_29"); gruppen["6511"].push("Ryh_6511_30"); gruppen["6511"].push("Ryh_6511_31"); gruppen["6511"].push("Ryh_6511_41"); gruppen["6511"].push("Ryh_6511_42"); gruppen["6511"].push("Ryh_6511_51"); gruppen["6511"].push("Ryh_6511_52_A"); gruppen["6511"].push("Ryh_6511_52_B"); gruppen["6512"] = new Array(); gruppen["6512"].push("Ryh_6512_1_A"); gruppen["6512"].push("Ryh_6512_1_B"); gruppen["6512"].push("Ryh_6512_2_A"); gruppen["6512"].push("Ryh_6512_2_B"); gruppen["6512"].push("Ryh_6512_3"); gruppen["6512"].push("Ryh_6512_4"); gruppen["6512"].push("Ryh_6512_5"); gruppen["6512"].push("Ryh_6512_6"); gruppen["6512"].push("Ryh_6512_7"); gruppen["6512"].push("Ryh_6512_9"); gruppen["6512"].push("Ryh_6512_10"); gruppen["6512"].push("Ryh_6512_12"); gruppen["6512"].push("Ryh_6512_13"); gruppen["6512"].push("Ryh_6512_15"); gruppen["6512"].push("Ryh_6512_16"); gruppen["6512"].push("Ryh_6512_17"); gruppen["6512"].push("Ryh_6512_19"); gruppen["6512"].push("Ryh_6512_20"); gruppen["6512"].push("Ryh_6512_21"); gruppen["6512"].push("Ryh_6512_22"); gruppen["6512"].push("Ryh_6512_35"); gruppen["6512"].push("Ryh_6512_36"); gruppen["6512"].push("Ryh_6512_37"); gruppen["6512"].push("Ryh_6512_40"); gruppen["6513"] = new Array(); gruppen["6513"].push("Ryh_6513_1_A"); gruppen["6513"].push("Ryh_6513_1_B"); gruppen["6513"].push("Ryh_6513_2"); gruppen["6513"].push("Ryh_6513_3"); gruppen["6513"].push("Ryh_6513_4_A"); gruppen["6513"].push("Ryh_6513_4_B"); gruppen["6513"].push("Ryh_6513_4_C"); gruppen["6513"].push("Ryh_6513_5"); gruppen["6513"].push("Ryh_6513_6"); gruppen["6513"].push("Ryh_6513_7"); gruppen["6513"].push("Ryh_6513_8_A"); gruppen["6513"].push("Ryh_6513_8_B"); gruppen["6513"].push("Ryh_6513_8_C"); gruppen["6513"].push("Ryh_6513_11_A"); gruppen["6513"].push("Ryh_6513_11_B"); gruppen["6513"].push("Ryh_6513_11_C"); gruppen["6513"].push("Ryh_6513_12_A"); gruppen["6513"].push("Ryh_6513_12_B"); gruppen["6513"].push("Ryh_6513_13_A"); gruppen["6513"].push("Ryh_6513_13_B"); gruppen["6513"].push("Ryh_6513_14"); gruppen["6513"].push("Ryh_6513_15"); gruppen["6513"].push("Ryh_6513_16_A"); gruppen["6513"].push("Ryh_6513_16_B"); gruppen["6513"].push("Ryh_6513_17_A"); gruppen["6513"].push("Ryh_6513_17_B"); gruppen["6513"].push("Ryh_6513_17_C"); gruppen["6513"].push("Ryh_6513_17_D"); gruppen["6513"].push("Ryh_6513_18_A"); gruppen["6513"].push("Ryh_6513_18_B"); gruppen["6513"].push("Ryh_6513_18_C"); gruppen["6513"].push("Ryh_6513_21"); gruppen["6513"].push("Ryh_6513_31"); gruppen["6513"].push("Ryh_6513_32"); gruppen["6513"].push("Ryh_6513_33"); gruppen["6601"] = new Array(); gruppen["6601"].push("Ryh_6601_1"); gruppen["6601"].push("Ryh_6601_2"); gruppen["6601"].push("Ryh_6601_3"); gruppen["6601"].push("Ryh_6601_4"); gruppen["6601"].push("Ryh_6601_5"); gruppen["6601"].push("Ryh_6601_6"); gruppen["6601"].push("Ryh_6601_7_A"); gruppen["6601"].push("Ryh_6601_7_B"); gruppen["6601"].push("Ryh_6601_8"); gruppen["6601"].push("Ryh_6601_9"); gruppen["6601"].push("Ryh_6601_10"); gruppen["6601"].push("Ryh_6601_11"); gruppen["6601"].push("Ryh_6601_12_A"); gruppen["6601"].push("Ryh_6601_12_B"); gruppen["6601"].push("Ryh_6601_13"); gruppen["6601"].push("Ryh_6601_15"); gruppen["6601"].push("Ryh_6601_16"); gruppen["6601"].push("Ryh_6601_18"); gruppen["6601"].push("Ryh_6601_19"); gruppen["6601"].push("Ryh_6601_20"); gruppen["6601"].push("Ryh_6601_21"); gruppen["6601"].push("Ryh_6601_23"); gruppen["6601"].push("Ryh_6601_24"); gruppen["6601"].push("Ryh_6601_25"); gruppen["6601"].push("Ryh_6601_26"); gruppen["6601"].push("Ryh_6601_27"); gruppen["6601"].push("Ryh_6601_28"); gruppen["6601"].push("Ryh_6601_30"); gruppen["6601"].push("Ryh_6601_31"); gruppen["6601"].push("Ryh_6601_32"); gruppen["6601"].push("Ryh_6601_34"); gruppen["6601"].push("Ryh_6601_36"); gruppen["6601"].push("Ryh_6601_37"); gruppen["6601"].push("Ryh_6601_41"); gruppen["6601"].push("Ryh_6601_42"); gruppen["6601"].push("Ryh_6601_43"); gruppen["6601"].push("Ryh_6601_44"); gruppen["6601"].push("Ryh_6601_45"); gruppen["6601"].push("Ryh_6601_46"); gruppen["6601"].push("Ryh_6601_47"); gruppen["6601"].push("Ryh_6601_48"); gruppen["6601"].push("Ryh_6601_49"); gruppen["6601"].push("Ryh_6601_50"); gruppen["6601"].push("Ryh_6601_51"); gruppen["6601"].push("Ryh_6601_52"); gruppen["6601"].push("Ryh_6601_54"); gruppen["6601"].push("Ryh_6601_55"); gruppen["6601"].push("Ryh_6601_56"); gruppen["6601"].push("Ryh_6601_57"); gruppen["6601"].push("Ryh_6601_58"); gruppen["6601"].push("Ryh_6601_59"); gruppen["6601"].push("Ryh_6601_60"); gruppen["6601"].push("Ryh_6601_61"); gruppen["6601"].push("Ryh_6601_62"); gruppen["6601"].push("Ryh_6601_63"); gruppen["6601"].push("Ryh_6601_64"); gruppen["6602"] = new Array(); gruppen["6602"].push("Ryh_6602_3"); gruppen["6602"].push("Ryh_6602_5"); gruppen["6602"].push("Ryh_6602_6"); gruppen["6602"].push("Ryh_6602_7"); gruppen["6602"].push("Ryh_6602_8"); gruppen["6602"].push("Ryh_6602_9"); gruppen["6602"].push("Ryh_6602_10"); gruppen["6602"].push("Ryh_6602_11"); gruppen["6602"].push("Ryh_6602_12"); gruppen["6602"].push("Ryh_6602_16"); gruppen["6602"].push("Ryh_6602_17"); gruppen["6602"].push("Ryh_6602_19"); gruppen["6602"].push("Ryh_6602_21"); gruppen["6602"].push("Ryh_6602_23"); gruppen["6602"].push("Ryh_6602_26"); gruppen["6602"].push("Ryh_6602_27"); gruppen["6602"].push("Ryh_6602_28"); gruppen["6602"].push("Ryh_6602_29_A"); gruppen["6602"].push("Ryh_6602_29_B"); gruppen["6602"].push("Ryh_6602_30_A"); gruppen["6602"].push("Ryh_6602_30_B"); gruppen["6602"].push("Ryh_6602_31_A"); gruppen["6602"].push("Ryh_6602_31_B"); gruppen["6602"].push("Ryh_6602_32"); gruppen["6602"].push("Ryh_6602_33"); gruppen["6602"].push("Ryh_6602_34"); gruppen["6602"].push("Ryh_6602_35"); gruppen["6602"].push("Ryh_6602_36"); gruppen["6602"].push("Ryh_6602_37"); gruppen["6602"].push("Ryh_6602_38"); gruppen["6602"].push("Ryh_6602_39"); gruppen["6602"].push("Ryh_6602_40"); gruppen["6602"].push("Ryh_6602_41"); gruppen["6602"].push("Ryh_6602_42"); gruppen["6602"].push("Ryh_6602_43"); gruppen["6602"].push("Ryh_6602_44"); gruppen["6602"].push("Ryh_6602_45"); gruppen["6602"].push("Ryh_6602_46"); gruppen["6602"].push("Ryh_6602_47"); gruppen["6602"].push("Ryh_6602_48"); gruppen["6602"].push("Ryh_6602_49"); gruppen["6602"].push("Ryh_6602_50"); gruppen["6602"].push("Ryh_6602_51"); gruppen["6602"].push("Ryh_6602_52"); gruppen["6602"].push("Ryh_6602_53"); gruppen["6602"].push("Ryh_6602_54"); gruppen["6602"].push("Ryh_6602_55"); gruppen["6602"].push("Ryh_6602_56"); gruppen["6602"].push("Ryh_6602_57"); gruppen["6604"] = new Array(); gruppen["6604"].push("Ryh_6604_1_A"); gruppen["6604"].push("Ryh_6604_1_B"); gruppen["6604"].push("Ryh_6604_2_A"); gruppen["6604"].push("Ryh_6604_2_B"); gruppen["6604"].push("Ryh_6604_3"); gruppen["6604"].push("Ryh_6604_4"); gruppen["6604"].push("Ryh_6604_5"); gruppen["6604"].push("Ryh_6604_6"); gruppen["6604"].push("Ryh_6604_7"); gruppen["6604"].push("Ryh_6604_8"); gruppen["6604"].push("Ryh_6604_9"); gruppen["6604"].push("Ryh_6604_10"); gruppen["6604"].push("Ryh_6604_11"); gruppen["6604"].push("Ryh_6604_12"); gruppen["6604"].push("Ryh_6604_13"); gruppen["6604"].push("Ryh_6604_14"); gruppen["6604"].push("Ryh_6604_41"); gruppen["6604"].push("Ryh_6604_42"); gruppen["6604"].push("Ryh_6604_43"); gruppen["6604"].push("Ryh_6604_59"); gruppen["6604"].push("Ryh_6604_60"); gruppen["6701"] = new Array(); gruppen["6701"].push("Ryh_6701_1"); gruppen["6701"].push("Ryh_6701_2"); gruppen["6701"].push("Ryh_6701_3"); gruppen["6701"].push("Ryh_6701_11"); gruppen["6701"].push("Ryh_6701_12"); gruppen["6701"].push("Ryh_6701_13"); gruppen["6701"].push("Ryh_6701_14"); gruppen["6701"].push("Ryh_6701_15"); gruppen["6701"].push("Ryh_6701_16"); gruppen["6701"].push("Ryh_6701_17"); gruppen["6701"].push("Ryh_6701_18"); gruppen["6701"].push("Ryh_6701_32"); gruppen["6701"].push("Ryh_6701_33"); gruppen["6701"].push("Ryh_6701_35"); gruppen["6701"].push("Ryh_6701_36"); gruppen["6701"].push("Ryh_6701_37"); gruppen["6701"].push("Ryh_6701_38"); gruppen["6701"].push("Ryh_6701_39"); gruppen["6701"].push("Ryh_6701_41"); gruppen["6701"].push("Ryh_6701_42"); gruppen["6701"].push("Ryh_6701_43"); gruppen["6701"].push("Ryh_6701_44"); gruppen["6701"].push("Ryh_6701_45_A"); gruppen["6701"].push("Ryh_6701_45_B"); gruppen["6701"].push("Ryh_6701_46"); gruppen["6701"].push("Ryh_6701_47"); gruppen["6701"].push("Ryh_6701_48"); gruppen["6701"].push("Ryh_6701_49"); gruppen["6701"].push("Ryh_6701_50"); gruppen["6702"] = new Array(); gruppen["6702"].push("Ryh_6702_1"); gruppen["6702"].push("Ryh_6702_7"); gruppen["6702"].push("Ryh_6702_8"); gruppen["6702"].push("Ryh_6702_11"); gruppen["6702"].push("Ryh_6702_12"); gruppen["6702"].push("Ryh_6702_13"); gruppen["6702"].push("Ryh_6702_14"); gruppen["6702"].push("Ryh_6702_15"); gruppen["6702"].push("Ryh_6702_16"); gruppen["6702"].push("Ryh_6702_17"); gruppen["6702"].push("Ryh_6702_18"); gruppen["6702"].push("Ryh_6702_19"); gruppen["6702"].push("Ryh_6702_20"); gruppen["6702"].push("Ryh_6702_21"); gruppen["6702"].push("Ryh_6702_22"); gruppen["6702"].push("Ryh_6702_23"); gruppen["6702"].push("Ryh_6702_24"); gruppen["6702"].push("Ryh_6702_25"); gruppen["6702"].push("Ryh_6702_46"); gruppen["6702"].push("Ryh_6702_55"); gruppen["6702"].push("Ryh_6702_56"); gruppen["6802"] = new Array(); gruppen["6802"].push("Ryh_6802_1"); gruppen["6802"].push("Ryh_6802_2"); gruppen["6802"].push("Ryh_6802_3"); gruppen["6802"].push("Ryh_6802_5"); gruppen["6802"].push("Ryh_6802_6"); gruppen["6802"].push("Ryh_6802_7"); gruppen["6802"].push("Ryh_6802_8"); gruppen["6802"].push("Ryh_6802_9"); gruppen["6802"].push("Ryh_6802_10"); gruppen["6802"].push("Ryh_6802_11"); gruppen["6802"].push("Ryh_6802_12"); gruppen["6802"].push("Ryh_6802_13"); gruppen["6802"].push("Ryh_6802_21"); gruppen["6802"].push("Ryh_6802_22"); gruppen["6802"].push("Ryh_6802_23"); gruppen["6802"].push("Ryh_6802_24"); gruppen["6802"].push("Ryh_6802_25"); gruppen["6802"].push("Ryh_6802_26"); gruppen["6802"].push("Ryh_6802_27"); gruppen["6802"].push("Ryh_6802_28"); gruppen["6802"].push("Ryh_6802_29"); gruppen["6802"].push("Ryh_6802_30"); gruppen["6802"].push("Ryh_6802_31"); gruppen["6803"] = new Array(); gruppen["6803"].push("Ryh_6803_1_A"); gruppen["6803"].push("Ryh_6803_1_B"); gruppen["6803"].push("Ryh_6803_2_A"); gruppen["6803"].push("Ryh_6803_2_B"); gruppen["6803"].push("Ryh_6803_3_A"); gruppen["6803"].push("Ryh_6803_3_B"); gruppen["6803"].push("Ryh_6803_4"); gruppen["6803"].push("Ryh_6803_6"); gruppen["6803"].push("Ryh_6803_7"); gruppen["6803"].push("Ryh_6803_8"); gruppen["6803"].push("Ryh_6803_12"); gruppen["6803"].push("Ryh_6803_13"); gruppen["6803"].push("Ryh_6803_14"); gruppen["6803"].push("Ryh_6803_15"); gruppen["6803"].push("Ryh_6803_16"); gruppen["6803"].push("Ryh_6803_17"); gruppen["6803"].push("Ryh_6803_18"); gruppen["6803"].push("Ryh_6803_19"); gruppen["6803"].push("Ryh_6803_20"); gruppen["6803"].push("Ryh_6803_21"); gruppen["6803"].push("Ryh_6803_22_A"); gruppen["6803"].push("Ryh_6803_22_B"); gruppen["6803"].push("Ryh_6803_24"); gruppen["6803"].push("Ryh_6803_25"); gruppen["6803"].push("Ryh_6803_26"); gruppen["6803"].push("Ryh_6803_41"); gruppen["6803"].push("Ryh_6803_42"); gruppen["6803"].push("Ryh_6803_43"); gruppen["6804"] = new Array(); gruppen["6804"].push("Ryh_6804_2"); gruppen["6804"].push("Ryh_6804_3"); gruppen["6804"].push("Ryh_6804_5_A"); gruppen["6804"].push("Ryh_6804_5_B"); gruppen["6804"].push("Ryh_6804_6"); gruppen["6804"].push("Ryh_6804_7"); gruppen["6804"].push("Ryh_6804_8"); gruppen["6804"].push("Ryh_6804_9"); gruppen["6804"].push("Ryh_6804_10"); gruppen["6804"].push("Ryh_6804_11"); gruppen["6804"].push("Ryh_6804_12"); gruppen["6804"].push("Ryh_6804_13"); gruppen["6804"].push("Ryh_6804_15"); gruppen["6804"].push("Ryh_6804_17"); gruppen["6804"].push("Ryh_6804_18"); gruppen["6804"].push("Ryh_6804_19"); gruppen["6804"].push("Ryh_6804_22"); gruppen["6804"].push("Ryh_6804_23"); gruppen["6804"].push("Ryh_6804_24"); gruppen["6901"] = new Array(); gruppen["6901"].push("Ryh_6901_1"); gruppen["6901"].push("Ryh_6901_3"); gruppen["6901"].push("Ryh_6901_4"); gruppen["6901"].push("Ryh_6901_5"); gruppen["6901"].push("Ryh_6901_6"); gruppen["6901"].push("Ryh_6901_7"); gruppen["6901"].push("Ryh_6901_22"); gruppen["6901"].push("Ryh_6901_23"); gruppen["6901"].push("Ryh_6901_24"); gruppen["6901"].push("Ryh_6901_27_A"); gruppen["6901"].push("Ryh_6901_27_B"); gruppen["6901"].push("Ryh_6901_28"); gruppen["6901"].push("Ryh_6901_29_A"); gruppen["6901"].push("Ryh_6901_29_B"); gruppen["6901"].push("Ryh_6901_30"); gruppen["7001"] = new Array(); gruppen["7001"].push("Ryh_7001_1"); gruppen["7001"].push("Ryh_7001_2_A"); gruppen["7001"].push("Ryh_7001_2_B"); gruppen["7001"].push("Ryh_7001_3"); gruppen["7001"].push("Ryh_7001_4"); gruppen["7001"].push("Ryh_7001_5_A"); gruppen["7001"].push("Ryh_7001_5_B"); gruppen["7001"].push("Ryh_7001_6"); gruppen["7001"].push("Ryh_7001_7"); gruppen["7001"].push("Ryh_7001_8"); gruppen["7001"].push("Ryh_7001_9"); gruppen["7001"].push("Ryh_7001_10"); gruppen["7001"].push("Ryh_7001_11"); gruppen["7001"].push("Ryh_7001_12"); gruppen["7001"].push("Ryh_7001_13"); gruppen["7001"].push("Ryh_7001_14"); gruppen["7001"].push("Ryh_7001_15"); gruppen["7001"].push("Ryh_7001_16"); gruppen["7001"].push("Ryh_7001_17"); gruppen["7001"].push("Ryh_7001_18"); gruppen["7001"].push("Ryh_7001_19"); gruppen["7001"].push("Ryh_7001_20"); gruppen["7001"].push("Ryh_7001_21_A"); gruppen["7001"].push("Ryh_7001_21_B"); gruppen["7001"].push("Ryh_7001_22"); gruppen["7001"].push("Ryh_7001_23"); gruppen["7001"].push("Ryh_7001_25"); gruppen["7001"].push("Ryh_7001_41"); gruppen["7001"].push("Ryh_7001_42"); gruppen["7001"].push("Ryh_7001_51"); gruppen["7001"].push("Ryh_7001_52"); gruppen["7001"].push("Ryh_7001_60"); gruppen["7101"] = new Array(); gruppen["7101"].push("Ryh_7101_1"); gruppen["7101"].push("Ryh_7101_2"); gruppen["7101"].push("Ryh_7101_3"); gruppen["7101"].push("Ryh_7101_4"); gruppen["7101"].push("Ryh_7101_5_A"); gruppen["7101"].push("Ryh_7101_5_B"); gruppen["7101"].push("Ryh_7101_7"); gruppen["7101"].push("Ryh_7101_10"); gruppen["7101"].push("Ryh_7101_11"); gruppen["7101"].push("Ryh_7101_12"); gruppen["7101"].push("Ryh_7101_14"); gruppen["7101"].push("Ryh_7101_15"); gruppen["7101"].push("Ryh_7101_16"); gruppen["7101"].push("Ryh_7101_17"); gruppen["7101"].push("Ryh_7101_18"); gruppen["7101"].push("Ryh_7101_19"); gruppen["7101"].push("Ryh_7101_21"); gruppen["7101"].push("Ryh_7101_22"); gruppen["7101"].push("Ryh_7101_23"); gruppen["7101"].push("Ryh_7101_25"); gruppen["7101"].push("Ryh_7101_26"); gruppen["7101"].push("Ryh_7101_27"); gruppen["7101"].push("Ryh_7101_28"); gruppen["7101"].push("Ryh_7101_29"); gruppen["7101"].push("Ryh_7101_30"); gruppen["7101"].push("Ryh_7101_31"); gruppen["7101"].push("Ryh_7101_32"); gruppen["7101"].push("Ryh_7101_33"); gruppen["7101"].push("Ryh_7101_34"); gruppen["7101"].push("Ryh_7101_35"); gruppen["7101"].push("Ryh_7101_36"); gruppen["7101"].push("Ryh_7101_37"); gruppen["7101"].push("Ryh_7101_38"); gruppen["7101"].push("Ryh_7101_39"); gruppen["7102"] = new Array(); gruppen["7102"].push("Ryh_7102_1_A"); gruppen["7102"].push("Ryh_7102_1_B"); gruppen["7102"].push("Ryh_7102_2"); gruppen["7102"].push("Ryh_7102_3"); gruppen["7102"].push("Ryh_7102_4"); gruppen["7102"].push("Ryh_7102_5"); gruppen["7102"].push("Ryh_7102_6"); gruppen["7102"].push("Ryh_7102_7"); gruppen["7102"].push("Ryh_7102_8"); gruppen["7102"].push("Ryh_7102_9_A"); gruppen["7102"].push("Ryh_7102_9_B"); gruppen["7102"].push("Ryh_7102_10"); gruppen["7102"].push("Ryh_7102_11"); gruppen["7102"].push("Ryh_7102_12"); gruppen["7102"].push("Ryh_7102_13"); gruppen["7102"].push("Ryh_7102_14"); gruppen["7102"].push("Ryh_7102_15"); gruppen["7102"].push("Ryh_7102_16"); gruppen["7102"].push("Ryh_7102_17"); gruppen["7102"].push("Ryh_7102_18"); gruppen["7102"].push("Ryh_7102_19"); gruppen["7102"].push("Ryh_7102_21"); gruppen["7102"].push("Ryh_7102_22"); gruppen["7102"].push("Ryh_7102_23"); gruppen["7102"].push("Ryh_7102_24"); gruppen["7102"].push("Ryh_7102_25"); gruppen["7102"].push("Ryh_7102_43"); gruppen["7102"].push("Ryh_7102_45"); gruppen["7103"] = new Array(); gruppen["7103"].push("Ryh_7103_1"); gruppen["7103"].push("Ryh_7103_2"); gruppen["7103"].push("Ryh_7103_4"); gruppen["7103"].push("Ryh_7103_5"); gruppen["7103"].push("Ryh_7103_6"); gruppen["7103"].push("Ryh_7103_8"); gruppen["7103"].push("Ryh_7103_9"); gruppen["7103"].push("Ryh_7103_13"); gruppen["7103"].push("Ryh_7103_14"); gruppen["7103"].push("Ryh_7103_15"); gruppen["7103"].push("Ryh_7103_16"); gruppen["7103"].push("Ryh_7103_17"); gruppen["7103"].push("Ryh_7103_18"); gruppen["7103"].push("Ryh_7103_19"); gruppen["7103"].push("Ryh_7103_20"); gruppen["7103"].push("Ryh_7103_21"); gruppen["7104"] = new Array(); gruppen["7104"].push("Ryh_7104_2"); gruppen["7104"].push("Ryh_7104_3"); gruppen["7104"].push("Ryh_7104_4"); gruppen["7104"].push("Ryh_7104_5"); gruppen["7104"].push("Ryh_7104_6"); gruppen["7104"].push("Ryh_7104_7"); gruppen["7104"].push("Ryh_7104_8"); gruppen["7104"].push("Ryh_7104_9"); gruppen["7104"].push("Ryh_7104_10"); gruppen["7104"].push("Ryh_7104_11"); gruppen["7104"].push("Ryh_7104_12"); gruppen["7104"].push("Ryh_7104_51"); gruppen["7104"].push("Ryh_7104_55"); gruppen["7104"].push("Ryh_7104_56"); gruppen["7104"].push("Ryh_7104_58"); gruppen["7104"].push("Ryh_7104_59"); gruppen["7105"] = new Array(); gruppen["7105"].push("Ryh_7105_1"); gruppen["7105"].push("Ryh_7105_2"); gruppen["7105"].push("Ryh_7105_3"); gruppen["7105"].push("Ryh_7105_12"); gruppen["7105"].push("Ryh_7105_13"); gruppen["7105"].push("Ryh_7105_14"); gruppen["7105"].push("Ryh_7105_41"); gruppen["7201"] = new Array(); gruppen["7201"].push("Ryh_7201_1"); gruppen["7201"].push("Ryh_7201_2"); gruppen["7201"].push("Ryh_7201_11_A"); gruppen["7201"].push("Ryh_7201_11_B"); gruppen["7201"].push("Ryh_7201_12"); gruppen["7201"].push("Ryh_7201_13"); gruppen["7201"].push("Ryh_7201_14"); gruppen["7201"].push("Ryh_7201_16"); gruppen["7201"].push("Ryh_7201_17"); gruppen["7201"].push("Ryh_7201_18"); gruppen["7201"].push("Ryh_7201_19"); gruppen["7201"].push("Ryh_7201_22"); gruppen["7201"].push("Ryh_7201_23"); gruppen["7201"].push("Ryh_7201_26"); gruppen["7201"].push("Ryh_7201_27"); gruppen["7201"].push("Ryh_7201_28"); gruppen["7201"].push("Ryh_7201_29"); gruppen["7201"].push("Ryh_7201_30"); gruppen["7201"].push("Ryh_7201_31"); gruppen["7201"].push("Ryh_7201_32"); gruppen["7201"].push("Ryh_7201_33"); gruppen["7201"].push("Ryh_7201_34"); gruppen["7201"].push("Ryh_7201_35"); gruppen["7201"].push("Ryh_7201_36"); gruppen["7201"].push("Ryh_7201_37"); gruppen["7201"].push("Ryh_7201_38"); gruppen["7202"] = new Array(); gruppen["7202"].push("Ryh_7202_6"); gruppen["7202"].push("Ryh_7202_7"); gruppen["7202"].push("Ryh_7202_11"); gruppen["7202"].push("Ryh_7202_12"); gruppen["7202"].push("Ryh_7202_13"); gruppen["7202"].push("Ryh_7202_14"); gruppen["7202"].push("Ryh_7202_15"); gruppen["7202"].push("Ryh_7202_16"); gruppen["7202"].push("Ryh_7202_17"); gruppen["7202"].push("Ryh_7202_18"); gruppen["7202"].push("Ryh_7202_19"); gruppen["7202"].push("Ryh_7202_20"); gruppen["7202"].push("Ryh_7202_21"); gruppen["7202"].push("Ryh_7202_22"); gruppen["7202"].push("Ryh_7202_23"); gruppen["7202"].push("Ryh_7202_24"); gruppen["7202"].push("Ryh_7202_25"); gruppen["7202"].push("Ryh_7202_26"); gruppen["7202"].push("Ryh_7202_27"); gruppen["7202"].push("Ryh_7202_28"); gruppen["7202"].push("Ryh_7202_29"); gruppen["7202"].push("Ryh_7202_30"); gruppen["7202"].push("Ryh_7202_31"); gruppen["7202"].push("Ryh_7202_32"); gruppen["7202"].push("Ryh_7202_33"); gruppen["7202"].push("Ryh_7202_34"); gruppen["7202"].push("Ryh_7202_35"); gruppen["7202"].push("Ryh_7202_36"); gruppen["7202"].push("Ryh_7202_37"); gruppen["7202"].push("Ryh_7202_38"); gruppen["7202"].push("Ryh_7202_39"); gruppen["7202"].push("Ryh_7202_40"); gruppen["7202"].push("Ryh_7202_58"); gruppen["7203"] = new Array(); gruppen["7203"].push("Ryh_7203_1"); gruppen["7203"].push("Ryh_7203_2"); gruppen["7203"].push("Ryh_7203_3"); gruppen["7203"].push("Ryh_7203_4"); gruppen["7203"].push("Ryh_7203_5"); gruppen["7203"].push("Ryh_7203_6"); gruppen["7203"].push("Ryh_7203_7"); gruppen["7203"].push("Ryh_7203_8"); gruppen["7203"].push("Ryh_7203_9"); gruppen["7203"].push("Ryh_7203_10"); gruppen["7203"].push("Ryh_7203_11"); gruppen["7203"].push("Ryh_7203_12"); gruppen["7203"].push("Ryh_7203_13"); gruppen["7203"].push("Ryh_7203_14"); gruppen["7203"].push("Ryh_7203_15"); gruppen["7203"].push("Ryh_7203_16"); gruppen["7203"].push("Ryh_7203_27"); gruppen["7203"].push("Ryh_7203_34"); gruppen["7203"].push("Ryh_7203_35"); gruppen["7203"].push("Ryh_7203_36_A"); gruppen["7203"].push("Ryh_7203_36_B"); gruppen["7203"].push("Ryh_7203_36_C"); gruppen["7203"].push("Ryh_7203_36_D"); gruppen["7203"].push("Ryh_7203_37"); gruppen["7301"] = new Array(); gruppen["7301"].push("Ryh_7301_1"); gruppen["7301"].push("Ryh_7301_2"); gruppen["7301"].push("Ryh_7301_3"); gruppen["7301"].push("Ryh_7301_4"); gruppen["7301"].push("Ryh_7301_5_A"); gruppen["7301"].push("Ryh_7301_5_B"); gruppen["7301"].push("Ryh_7301_6"); gruppen["7301"].push("Ryh_7301_7"); gruppen["7301"].push("Ryh_7301_10"); gruppen["7301"].push("Ryh_7301_11"); gruppen["7301"].push("Ryh_7301_12"); gruppen["7301"].push("Ryh_7301_13"); gruppen["7301"].push("Ryh_7301_17"); gruppen["7301"].push("Ryh_7301_18"); gruppen["7301"].push("Ryh_7301_19"); gruppen["7301"].push("Ryh_7301_21"); gruppen["7301"].push("Ryh_7301_22"); gruppen["7301"].push("Ryh_7301_31"); gruppen["7301"].push("Ryh_7301_32"); gruppen["7301"].push("Ryh_7301_33"); gruppen["7301"].push("Ryh_7301_34"); gruppen["7301"].push("Ryh_7301_35"); gruppen["7301"].push("Ryh_7301_36"); gruppen["7301"].push("Ryh_7301_37"); gruppen["7301"].push("Ryh_7301_38"); gruppen["7301"].push("Ryh_7301_39"); gruppen["7301"].push("Ryh_7301_40"); gruppen["7301"].push("Ryh_7301_41"); gruppen["7301"].push("Ryh_7301_42"); gruppen["7301"].push("Ryh_7301_44"); gruppen["7301"].push("Ryh_7301_45"); gruppen["7301"].push("Ryh_7301_59-60"); gruppen["7401"] = new Array(); gruppen["7401"].push("Ryh_7401_1"); gruppen["7401"].push("Ryh_7401_2"); gruppen["7401"].push("Ryh_7401_3_A"); gruppen["7401"].push("Ryh_7401_3_B"); gruppen["7401"].push("Ryh_7401_8"); gruppen["7401"].push("Ryh_7401_10"); gruppen["7401"].push("Ryh_7401_11"); gruppen["7401"].push("Ryh_7401_12"); gruppen["7401"].push("Ryh_7401_13"); gruppen["7401"].push("Ryh_7401_28"); gruppen["7401"].push("Ryh_7401_29"); gruppen["7401"].push("Ryh_7401_30"); gruppen["7401"].push("Ryh_7401_31"); gruppen["7401"].push("Ryh_7401_32"); gruppen["7401"].push("Ryh_7401_33"); gruppen["7401"].push("Ryh_7401_34"); gruppen["7401"].push("Ryh_7401_35"); gruppen["7401"].push("Ryh_7401_36"); gruppen["7401"].push("Ryh_7401_37"); gruppen["7401"].push("Ryh_7401_38"); gruppen["7401"].push("Ryh_7401_39"); gruppen["7401"].push("Ryh_7401_40"); gruppen["7401"].push("Ryh_7401_41"); gruppen["7401"].push("Ryh_7401_42"); gruppen["7401"].push("Ryh_7401_43"); gruppen["7401"].push("Ryh_7401_44"); gruppen["7401"].push("Ryh_7401_45"); gruppen["7401"].push("Ryh_7401_46"); gruppen["7401"].push("Ryh_7401_47"); gruppen["7401"].push("Ryh_7401_48"); gruppen["7401"].push("Ryh_7401_49"); gruppen["7401"].push("Ryh_7401_50_A"); gruppen["7401"].push("Ryh_7401_50_B"); gruppen["7402"] = new Array(); gruppen["7402"].push("Ryh_7402_1"); gruppen["7402"].push("Ryh_7402_2"); gruppen["7402"].push("Ryh_7402_3_A"); gruppen["7402"].push("Ryh_7402_3_B"); gruppen["7402"].push("Ryh_7402_3_C"); gruppen["7402"].push("Ryh_7402_4"); gruppen["7402"].push("Ryh_7402_6"); gruppen["7402"].push("Ryh_7402_7"); gruppen["7402"].push("Ryh_7402_8"); gruppen["7402"].push("Ryh_7402_9"); gruppen["7402"].push("Ryh_7402_21"); gruppen["7402"].push("Ryh_7402_22"); gruppen["7402"].push("Ryh_7402_41"); gruppen["7402"].push("Ryh_7402_42"); gruppen["7402"].push("Ryh_7402_45"); gruppen["7402"].push("Ryh_7402_48"); gruppen["7402"].push("Ryh_7402_61_A"); gruppen["7402"].push("Ryh_7402_61_B"); gruppen["7402"].push("Ryh_7402_62"); gruppen["7402"].push("Ryh_7402_63"); gruppen["7402"].push("Ryh_7402_64"); gruppen["7403"] = new Array(); gruppen["7403"].push("Ryh_7403_1"); gruppen["7403"].push("Ryh_7403_2"); gruppen["7403"].push("Ryh_7403_3"); gruppen["7403"].push("Ryh_7403_4"); gruppen["7403"].push("Ryh_7403_5"); gruppen["7403"].push("Ryh_7403_6"); gruppen["7403"].push("Ryh_7403_7"); gruppen["7403"].push("Ryh_7403_8"); gruppen["7403"].push("Ryh_7403_9"); gruppen["7403"].push("Ryh_7403_10"); gruppen["7403"].push("Ryh_7403_11"); gruppen["7403"].push("Ryh_7403_12"); gruppen["7403"].push("Ryh_7403_13"); gruppen["7403"].push("Ryh_7403_14"); gruppen["7403"].push("Ryh_7403_15"); gruppen["7403"].push("Ryh_7403_16"); gruppen["7403"].push("Ryh_7403_17"); gruppen["7403"].push("Ryh_7403_18"); gruppen["7403"].push("Ryh_7403_19"); gruppen["7403"].push("Ryh_7403_20"); gruppen["7403"].push("Ryh_7403_21"); gruppen["7403"].push("Ryh_7403_22"); gruppen["7403"].push("Ryh_7403_23"); gruppen["7403"].push("Ryh_7403_24"); gruppen["7403"].push("Ryh_7403_25"); gruppen["7403"].push("Ryh_7403_26"); gruppen["7403"].push("Ryh_7403_27"); gruppen["7403"].push("Ryh_7403_28"); gruppen["7403"].push("Ryh_7403_29"); gruppen["7403"].push("Ryh_7403_30"); gruppen["7403"].push("Ryh_7403_31"); gruppen["7403"].push("Ryh_7403_32"); gruppen["7403"].push("Ryh_7403_33"); gruppen["7403"].push("Ryh_7403_34"); gruppen["7403"].push("Ryh_7403_35"); gruppen["7403"].push("Ryh_7403_36"); gruppen["7403"].push("Ryh_7403_37"); gruppen["7403"].push("Ryh_7403_38"); gruppen["7403"].push("Ryh_7403_39"); gruppen["7403"].push("Ryh_7403_40"); gruppen["7403"].push("Ryh_7403_41"); gruppen["7403"].push("Ryh_7403_42"); gruppen["7403"].push("Ryh_7403_43"); gruppen["7403"].push("Ryh_7403_44"); gruppen["7403"].push("Ryh_7403_45"); gruppen["7403"].push("Ryh_7403_46"); gruppen["7403"].push("Ryh_7403_47"); gruppen["7403"].push("Ryh_7403_48"); gruppen["7403"].push("Ryh_7403_49"); gruppen["7403"].push("Ryh_7403_50"); gruppen["7403"].push("Ryh_7403_51"); gruppen["7403"].push("Ryh_7403_52"); gruppen["7501"] = new Array(); gruppen["7501"].push("Ryh_7501_2"); gruppen["7501"].push("Ryh_7501_3"); gruppen["7501"].push("Ryh_7501_4"); gruppen["7501"].push("Ryh_7501_5"); gruppen["7501"].push("Ryh_7501_6_A"); gruppen["7501"].push("Ryh_7501_6_B"); gruppen["7501"].push("Ryh_7501_7"); gruppen["7501"].push("Ryh_7501_10"); gruppen["7501"].push("Ryh_7501_11"); gruppen["7501"].push("Ryh_7501_12"); gruppen["7501"].push("Ryh_7501_14"); gruppen["7501"].push("Ryh_7501_15"); gruppen["7501"].push("Ryh_7501_16"); gruppen["7501"].push("Ryh_7501_17"); gruppen["7501"].push("Ryh_7501_31"); gruppen["7501"].push("Ryh_7501_32"); gruppen["7501"].push("Ryh_7501_33"); gruppen["7501"].push("Ryh_7501_34"); gruppen["7501"].push("Ryh_7501_35"); gruppen["7501"].push("Ryh_7501_36"); gruppen["7501"].push("Ryh_7501_37"); gruppen["7501"].push("Ryh_7501_38"); gruppen["7501"].push("Ryh_7501_51"); gruppen["7501"].push("Ryh_7501_52"); gruppen["7501"].push("Ryh_7501_53"); gruppen["7501"].push("Ryh_7501_58"); gruppen["7601"] = new Array(); gruppen["7601"].push("Ryh_7601_1"); gruppen["7601"].push("Ryh_7601_2"); gruppen["7601"].push("Ryh_7601_3"); gruppen["7601"].push("Ryh_7601_4"); gruppen["7601"].push("Ryh_7601_5"); gruppen["7601"].push("Ryh_7601_6_A"); gruppen["7601"].push("Ryh_7601_6_B"); gruppen["7601"].push("Ryh_7601_7"); gruppen["7601"].push("Ryh_7601_8"); gruppen["7601"].push("Ryh_7601_9"); gruppen["7601"].push("Ryh_7601_10"); gruppen["7601"].push("Ryh_7601_11"); gruppen["7601"].push("Ryh_7601_12"); gruppen["7601"].push("Ryh_7601_13"); gruppen["7601"].push("Ryh_7601_15"); gruppen["7601"].push("Ryh_7601_16"); gruppen["7601"].push("Ryh_7601_17"); gruppen["7601"].push("Ryh_7601_18"); gruppen["7601"].push("Ryh_7601_19"); gruppen["7601"].push("Ryh_7601_20"); gruppen["7601"].push("Ryh_7601_21"); gruppen["7601"].push("Ryh_7601_22"); gruppen["7601"].push("Ryh_7601_24"); gruppen["7601"].push("Ryh_7601_25"); gruppen["7601"].push("Ryh_7601_26"); gruppen["7601"].push("Ryh_7601_27"); gruppen["7601"].push("Ryh_7601_28"); gruppen["7601"].push("Ryh_7601_29"); gruppen["7601"].push("Ryh_7601_30"); gruppen["7601"].push("Ryh_7601_31"); gruppen["7601"].push("Ryh_7601_32"); gruppen["7601"].push("Ryh_7601_33"); gruppen["7601"].push("Ryh_7601_34"); gruppen["7601"].push("Ryh_7601_36"); gruppen["7601"].push("Ryh_7601_38"); gruppen["7601"].push("Ryh_7601_39"); gruppen["7601"].push("Ryh_7601_40"); gruppen["7601"].push("Ryh_7601_42"); gruppen["7601"].push("Ryh_7601_43"); gruppen["7601"].push("Ryh_7601_45"); gruppen["7601"].push("Ryh_7601_46"); gruppen["7601"].push("Ryh_7601_47"); gruppen["7601"].push("Ryh_7601_48"); gruppen["7601"].push("Ryh_7601_49"); gruppen["7601"].push("Ryh_7601_55"); gruppen["7601"].push("Ryh_7601_56"); gruppen["7601"].push("Ryh_7601_57"); gruppen["7601"].push("Ryh_7601_58"); gruppen["7601"].push("Ryh_7601_59"); gruppen["7601"].push("Ryh_7601_60"); gruppen["7602"] = new Array(); gruppen["7602"].push("Ryh_7602_1"); gruppen["7602"].push("Ryh_7602_2"); gruppen["7602"].push("Ryh_7602_3"); gruppen["7602"].push("Ryh_7602_4"); gruppen["7602"].push("Ryh_7602_5"); gruppen["7602"].push("Ryh_7602_6"); gruppen["7602"].push("Ryh_7602_7"); gruppen["7602"].push("Ryh_7602_8"); gruppen["7602"].push("Ryh_7602_9"); gruppen["7602"].push("Ryh_7602_10"); gruppen["7602"].push("Ryh_7602_12"); gruppen["7602"].push("Ryh_7602_13"); gruppen["7602"].push("Ryh_7602_14"); gruppen["7602"].push("Ryh_7602_15_A"); gruppen["7602"].push("Ryh_7602_15_B"); gruppen["7602"].push("Ryh_7602_17"); gruppen["7602"].push("Ryh_7602_18"); gruppen["7602"].push("Ryh_7602_21"); gruppen["7602"].push("Ryh_7602_23"); gruppen["7602"].push("Ryh_7602_24"); gruppen["7602"].push("Ryh_7602_25"); gruppen["7602"].push("Ryh_7602_27"); gruppen["7602"].push("Ryh_7602_28"); gruppen["7602"].push("Ryh_7602_29"); gruppen["7602"].push("Ryh_7602_30"); gruppen["7602"].push("Ryh_7602_31_A"); gruppen["7602"].push("Ryh_7602_31_B"); gruppen["7602"].push("Ryh_7602_32"); gruppen["7602"].push("Ryh_7602_33"); gruppen["7602"].push("Ryh_7602_34"); gruppen["7602"].push("Ryh_7602_35"); gruppen["7602"].push("Ryh_7602_36"); gruppen["7602"].push("Ryh_7602_37"); gruppen["7602"].push("Ryh_7602_38"); gruppen["7602"].push("Ryh_7602_39"); gruppen["7602"].push("Ryh_7602_40"); gruppen["7602"].push("Ryh_7602_41"); gruppen["7602"].push("Ryh_7602_42"); gruppen["7602"].push("Ryh_7602_44"); gruppen["7602"].push("Ryh_7602_45"); gruppen["7602"].push("Ryh_7602_47"); gruppen["7602"].push("Ryh_7602_48"); gruppen["7602"].push("Ryh_7602_49"); gruppen["7602"].push("Ryh_7602_50"); gruppen["7602"].push("Ryh_7602_51"); gruppen["7602"].push("Ryh_7602_52"); gruppen["7602"].push("Ryh_7602_53"); gruppen["7604"] = new Array(); gruppen["7604"].push("Ryh_7604_1"); gruppen["7604"].push("Ryh_7604_2"); gruppen["7604"].push("Ryh_7604_3"); gruppen["7604"].push("Ryh_7604_4"); gruppen["7604"].push("Ryh_7604_5"); gruppen["7604"].push("Ryh_7604_6"); gruppen["7604"].push("Ryh_7604_7"); gruppen["7604"].push("Ryh_7604_8"); gruppen["7604"].push("Ryh_7604_13"); gruppen["7604"].push("Ryh_7604_14"); gruppen["7604"].push("Ryh_7604_15"); gruppen["7604"].push("Ryh_7604_16"); gruppen["7604"].push("Ryh_7604_41"); gruppen["7604"].push("Ryh_7604_42"); gruppen["7604"].push("Ryh_7604_43"); gruppen["7604"].push("Ryh_7604_51"); gruppen["7604"].push("Ryh_7604_52"); gruppen["7604"].push("Ryh_7604_53"); gruppen["7605"] = new Array(); gruppen["7605"].push("Ryh_7605_1_A"); gruppen["7605"].push("Ryh_7605_1_B"); gruppen["7605"].push("Ryh_7605_4"); gruppen["7605"].push("Ryh_7605_5"); gruppen["7605"].push("Ryh_7605_8"); gruppen["7605"].push("Ryh_7605_9"); gruppen["7605"].push("Ryh_7605_11"); gruppen["7605"].push("Ryh_7605_12"); gruppen["7605"].push("Ryh_7605_15"); gruppen["7605"].push("Ryh_7605_16"); gruppen["7605"].push("Ryh_7605_19"); gruppen["7605"].push("Ryh_7605_20"); gruppen["7605"].push("Ryh_7605_21"); gruppen["7605"].push("Ryh_7605_22"); gruppen["7605"].push("Ryh_7605_41"); gruppen["7605"].push("Ryh_7605_42"); gruppen["7605"].push("Ryh_7605_43"); gruppen["7605"].push("Ryh_7605_44"); gruppen["7605"].push("Ryh_7605_45"); gruppen["7606"] = new Array(); gruppen["7606"].push("Ryh_7606_1"); gruppen["7606"].push("Ryh_7606_2"); gruppen["7606"].push("Ryh_7606_3"); gruppen["7606"].push("Ryh_7606_4"); gruppen["7606"].push("Ryh_7606_5"); gruppen["7606"].push("Ryh_7606_6"); gruppen["7606"].push("Ryh_7606_7"); gruppen["7606"].push("Ryh_7606_8"); gruppen["7606"].push("Ryh_7606_9"); gruppen["7606"].push("Ryh_7606_10"); gruppen["7606"].push("Ryh_7606_12"); gruppen["7606"].push("Ryh_7606_13"); gruppen["7606"].push("Ryh_7606_14_A"); gruppen["7606"].push("Ryh_7606_14_B"); gruppen["7606"].push("Ryh_7606_15"); gruppen["7606"].push("Ryh_7606_16"); gruppen["7606"].push("Ryh_7606_17"); gruppen["7606"].push("Ryh_7606_19"); gruppen["7606"].push("Ryh_7606_20"); gruppen["7606"].push("Ryh_7606_21"); gruppen["7606"].push("Ryh_7606_22_A"); gruppen["7606"].push("Ryh_7606_22_B"); gruppen["7606"].push("Ryh_7606_23"); gruppen["7606"].push("Ryh_7606_24"); gruppen["7606"].push("Ryh_7606_25"); gruppen["7606"].push("Ryh_7606_26"); gruppen["7607"] = new Array(); gruppen["7607"].push("Ryh_7607_1"); gruppen["7607"].push("Ryh_7607_2"); gruppen["7607"].push("Ryh_7607_3"); gruppen["7607"].push("Ryh_7607_4"); gruppen["7607"].push("Ryh_7607_5"); gruppen["7607"].push("Ryh_7607_6"); gruppen["7607"].push("Ryh_7607_8_A"); gruppen["7607"].push("Ryh_7607_8_B"); gruppen["7607"].push("Ryh_7607_8_C"); gruppen["7607"].push("Ryh_7607_10"); gruppen["7607"].push("Ryh_7607_12"); gruppen["7607"].push("Ryh_7607_21"); gruppen["7607"].push("Ryh_7607_22"); gruppen["7607"].push("Ryh_7607_23_A"); gruppen["7607"].push("Ryh_7607_23_B"); gruppen["7607"].push("Ryh_7607_24"); gruppen["7607"].push("Ryh_7607_25"); gruppen["7607"].push("Ryh_7607_27"); gruppen["7607"].push("Ryh_7607_28_A"); gruppen["7607"].push("Ryh_7607_28_B"); gruppen["7607"].push("Ryh_7607_28_C"); gruppen["7607"].push("Ryh_7607_28_D"); gruppen["7607"].push("Ryh_7607_41"); gruppen["7607"].push("Ryh_7607_42"); gruppen["7607"].push("Ryh_7607_43"); gruppen["7607"].push("Ryh_7607_44"); gruppen["7607"].push("Ryh_7607_45"); gruppen["7607"].push("Ryh_7607_46_A"); gruppen["7607"].push("Ryh_7607_46_B"); gruppen["7607"].push("Ryh_7607_47_A"); gruppen["7607"].push("Ryh_7607_47_B"); gruppen["7607"].push("Ryh_7607_47_C"); gruppen["7607"].push("Ryh_7607_47_D"); gruppen["7607"].push("Ryh_7607_48_A"); gruppen["7607"].push("Ryh_7607_48_B"); gruppen["7607"].push("Ryh_7607_48_C"); gruppen["7607"].push("Ryh_7607_49_A"); gruppen["7607"].push("Ryh_7607_49_B"); gruppen["7607"].push("Ryh_7607_50"); gruppen["7607"].push("Ryh_7607_51_A"); gruppen["7607"].push("Ryh_7607_51_B"); gruppen["7607"].push("Ryh_7607_51_C"); gruppen["7607"].push("Ryh_7607_51_D"); gruppen["7607"].push("Ryh_7607_52"); gruppen["7607"].push("Ryh_7607_53"); gruppen["7608"] = new Array(); gruppen["7608"].push("Ryh_7608_2"); gruppen["7608"].push("Ryh_7608_3"); gruppen["7608"].push("Ryh_7608_4_A"); gruppen["7608"].push("Ryh_7608_4_B"); gruppen["7608"].push("Ryh_7608_4_C"); gruppen["7608"].push("Ryh_7608_6"); gruppen["7608"].push("Ryh_7608_7"); gruppen["7608"].push("Ryh_7608_8"); gruppen["7608"].push("Ryh_7608_9"); gruppen["7608"].push("Ryh_7608_10"); gruppen["7608"].push("Ryh_7608_15"); gruppen["7608"].push("Ryh_7608_16"); gruppen["7608"].push("Ryh_7608_17"); gruppen["7608"].push("Ryh_7608_18"); gruppen["7608"].push("Ryh_7608_19"); gruppen["7608"].push("Ryh_7608_20"); gruppen["7608"].push("Ryh_7608_21"); gruppen["7608"].push("Ryh_7608_22"); gruppen["7608"].push("Ryh_7608_23"); gruppen["7608"].push("Ryh_7608_24"); gruppen["7608"].push("Ryh_7608_25"); gruppen["7608"].push("Ryh_7608_26"); gruppen["7608"].push("Ryh_7608_27"); gruppen["7608"].push("Ryh_7608_28"); gruppen["7608"].push("Ryh_7608_41"); gruppen["7608"].push("Ryh_7608_42"); gruppen["7608"].push("Ryh_7608_45"); gruppen["7608"].push("Ryh_7608_46"); gruppen["7608"].push("Ryh_7608_47"); gruppen["7608"].push("Ryh_7608_50"); gruppen["7608"].push("Ryh_7608_51"); gruppen["7608"].push("Ryh_7608_52"); gruppen["7608"].push("Ryh_7608_53"); gruppen["7608"].push("Ryh_7608_54"); gruppen["7609"] = new Array(); gruppen["7609"].push("Ryh_7609_1_A"); gruppen["7609"].push("Ryh_7609_1_B"); gruppen["7609"].push("Ryh_7609_3"); gruppen["7609"].push("Ryh_7609_4"); gruppen["7609"].push("Ryh_7609_5"); gruppen["7609"].push("Ryh_7609_6"); gruppen["7609"].push("Ryh_7609_7"); gruppen["7609"].push("Ryh_7609_8_A"); gruppen["7609"].push("Ryh_7609_8_B"); gruppen["7609"].push("Ryh_7609_10"); gruppen["7609"].push("Ryh_7609_11"); gruppen["7609"].push("Ryh_7609_13"); gruppen["7609"].push("Ryh_7609_14"); gruppen["7609"].push("Ryh_7609_15"); gruppen["7609"].push("Ryh_7609_16"); gruppen["7609"].push("Ryh_7609_17_A"); gruppen["7609"].push("Ryh_7609_17_B"); gruppen["7609"].push("Ryh_7609_18"); gruppen["7609"].push("Ryh_7609_19"); gruppen["7609"].push("Ryh_7609_20"); gruppen["7609"].push("Ryh_7609_21"); gruppen["7609"].push("Ryh_7609_22"); gruppen["7609"].push("Ryh_7609_23"); gruppen["7609"].push("Ryh_7609_24"); gruppen["7609"].push("Ryh_7609_25"); gruppen["7609"].push("Ryh_7609_26"); gruppen["7609"].push("Ryh_7609_27"); gruppen["7609"].push("Ryh_7609_28"); gruppen["7609"].push("Ryh_7609_29"); gruppen["7609"].push("Ryh_7609_30"); gruppen["7609"].push("Ryh_7609_31"); gruppen["7609"].push("Ryh_7609_32"); gruppen["7609"].push("Ryh_7609_51"); gruppen["7609"].push("Ryh_7609_52"); gruppen["7609"].push("Ryh_7609_53"); gruppen["7609"].push("Ryh_7609_54"); gruppen["7609"].push("Ryh_7609_61"); gruppen["7610"] = new Array(); gruppen["7610"].push("Ryh_7610_1"); gruppen["7610"].push("Ryh_7610_2"); gruppen["7610"].push("Ryh_7610_3"); gruppen["7610"].push("Ryh_7610_4"); gruppen["7610"].push("Ryh_7610_5"); gruppen["7610"].push("Ryh_7610_6_A"); gruppen["7610"].push("Ryh_7610_6_B"); gruppen["7610"].push("Ryh_7610_7"); gruppen["7610"].push("Ryh_7610_8"); gruppen["7610"].push("Ryh_7610_10"); gruppen["7610"].push("Ryh_7610_11"); gruppen["7610"].push("Ryh_7610_12"); gruppen["7610"].push("Ryh_7610_13"); gruppen["7610"].push("Ryh_7610_15"); gruppen["7610"].push("Ryh_7610_16"); gruppen["7610"].push("Ryh_7610_18"); gruppen["7610"].push("Ryh_7610_21"); gruppen["7610"].push("Ryh_7610_22"); gruppen["7610"].push("Ryh_7610_40"); gruppen["7611"] = new Array(); gruppen["7611"].push("Ryh_7611_2"); gruppen["7611"].push("Ryh_7611_3"); gruppen["7611"].push("Ryh_7611_4"); gruppen["7611"].push("Ryh_7611_5"); gruppen["7611"].push("Ryh_7611_6"); gruppen["7611"].push("Ryh_7611_12"); gruppen["7611"].push("Ryh_7611_14"); gruppen["7611"].push("Ryh_7611_16"); gruppen["7611"].push("Ryh_7611_17_A"); gruppen["7611"].push("Ryh_7611_17_B"); gruppen["7611"].push("Ryh_7611_18"); gruppen["7611"].push("Ryh_7611_19"); gruppen["7611"].push("Ryh_7611_20"); gruppen["7611"].push("Ryh_7611_21"); gruppen["7611"].push("Ryh_7611_22"); gruppen["7611"].push("Ryh_7611_23"); gruppen["7611"].push("Ryh_7611_24"); gruppen["7611"].push("Ryh_7611_25"); gruppen["7611"].push("Ryh_7611_26"); gruppen["7611"].push("Ryh_7611_27"); gruppen["7611"].push("Ryh_7611_36"); gruppen["7611"].push("Ryh_7611_45"); gruppen["7611"].push("Ryh_7611_46"); gruppen["7612"] = new Array(); gruppen["7612"].push("Ryh_7612_3"); gruppen["7612"].push("Ryh_7612_6"); gruppen["7612"].push("Ryh_7612_7"); gruppen["7612"].push("Ryh_7612_8"); gruppen["7612"].push("Ryh_7612_9"); gruppen["7612"].push("Ryh_7612_23"); gruppen["7612"].push("Ryh_7612_24_A"); gruppen["7612"].push("Ryh_7612_24_B"); gruppen["7612"].push("Ryh_7612_25"); gruppen["7612"].push("Ryh_7612_26"); gruppen["7612"].push("Ryh_7612_27"); gruppen["7612"].push("Ryh_7612_28"); gruppen["7612"].push("Ryh_7612_29"); gruppen["7612"].push("Ryh_7612_30"); gruppen["7612"].push("Ryh_7612_31"); gruppen["7612"].push("Ryh_7612_32"); gruppen["7612"].push("Ryh_7612_43"); gruppen["7612"].push("Ryh_7612_44"); gruppen["7612"].push("Ryh_7612_45"); gruppen["7612"].push("Ryh_7612_51"); gruppen["7612"].push("Ryh_7612_52"); gruppen["7613"] = new Array(); gruppen["7613"].push("Ryh_7613_3"); gruppen["7613"].push("Ryh_7613_4"); gruppen["7613"].push("Ryh_7613_6"); gruppen["7613"].push("Ryh_7613_7"); gruppen["7613"].push("Ryh_7613_8"); gruppen["7613"].push("Ryh_7613_9"); gruppen["7613"].push("Ryh_7613_10"); gruppen["7613"].push("Ryh_7613_21"); gruppen["7613"].push("Ryh_7613_22"); gruppen["7613"].push("Ryh_7613_23"); gruppen["7613"].push("Ryh_7613_24"); gruppen["7613"].push("Ryh_7613_25"); gruppen["7613"].push("Ryh_7613_26"); gruppen["7701"] = new Array(); gruppen["7701"].push("Ryh_7701_1"); gruppen["7701"].push("Ryh_7701_2"); gruppen["7701"].push("Ryh_7701_3"); gruppen["7701"].push("Ryh_7701_4"); gruppen["7701"].push("Ryh_7701_5"); gruppen["7701"].push("Ryh_7701_6"); gruppen["7701"].push("Ryh_7701_7"); gruppen["7701"].push("Ryh_7701_8"); gruppen["7701"].push("Ryh_7701_9"); gruppen["7701"].push("Ryh_7701_10"); gruppen["7701"].push("Ryh_7701_11"); gruppen["7701"].push("Ryh_7701_13"); gruppen["7701"].push("Ryh_7701_14"); gruppen["7701"].push("Ryh_7701_15"); gruppen["7701"].push("Ryh_7701_16"); gruppen["7701"].push("Ryh_7701_17"); gruppen["7701"].push("Ryh_7701_18"); gruppen["7701"].push("Ryh_7701_19"); gruppen["7701"].push("Ryh_7701_20"); gruppen["7701"].push("Ryh_7701_21"); gruppen["7701"].push("Ryh_7701_22"); gruppen["7701"].push("Ryh_7701_24"); gruppen["7701"].push("Ryh_7701_25"); gruppen["7701"].push("Ryh_7701_26"); gruppen["7701"].push("Ryh_7701_28"); gruppen["7701"].push("Ryh_7701_29"); gruppen["7701"].push("Ryh_7701_30"); gruppen["7701"].push("Ryh_7701_33"); gruppen["7701"].push("Ryh_7701_34"); gruppen["7701"].push("Ryh_7701_35"); gruppen["7701"].push("Ryh_7701_36"); gruppen["7701"].push("Ryh_7701_37"); gruppen["7701"].push("Ryh_7701_39"); gruppen["7701"].push("Ryh_7701_41"); gruppen["7701"].push("Ryh_7701_43"); gruppen["7701"].push("Ryh_7701_44"); gruppen["7701"].push("Ryh_7701_45"); gruppen["7701"].push("Ryh_7701_46"); gruppen["7701"].push("Ryh_7701_47"); gruppen["7701"].push("Ryh_7701_48"); gruppen["7701"].push("Ryh_7701_49"); gruppen["7701"].push("Ryh_7701_50"); gruppen["7701"].push("Ryh_7701_51"); gruppen["7701"].push("Ryh_7701_53"); gruppen["7701"].push("Ryh_7701_56"); gruppen["7701"].push("Ryh_7701_57"); gruppen["7701"].push("Ryh_7701_58"); gruppen["7701"].push("Ryh_7701_59"); gruppen["7701"].push("Ryh_7701_60"); gruppen["7702"] = new Array(); gruppen["7702"].push("Ryh_7702_1"); gruppen["7702"].push("Ryh_7702_2"); gruppen["7702"].push("Ryh_7702_3"); gruppen["7702"].push("Ryh_7702_4"); gruppen["7702"].push("Ryh_7702_6"); gruppen["7702"].push("Ryh_7702_7"); gruppen["7702"].push("Ryh_7702_9"); gruppen["7702"].push("Ryh_7702_10"); gruppen["7702"].push("Ryh_7702_11"); gruppen["7702"].push("Ryh_7702_12"); gruppen["7702"].push("Ryh_7702_13"); gruppen["7702"].push("Ryh_7702_14"); gruppen["7702"].push("Ryh_7702_15"); gruppen["7702"].push("Ryh_7702_16"); gruppen["7702"].push("Ryh_7702_17"); gruppen["7702"].push("Ryh_7702_18"); gruppen["7702"].push("Ryh_7702_19"); gruppen["7702"].push("Ryh_7702_20"); gruppen["7702"].push("Ryh_7702_21"); gruppen["7702"].push("Ryh_7702_22"); gruppen["7702"].push("Ryh_7702_23"); gruppen["7702"].push("Ryh_7702_24"); gruppen["7702"].push("Ryh_7702_25"); gruppen["7702"].push("Ryh_7702_26"); gruppen["7702"].push("Ryh_7702_27"); gruppen["7702"].push("Ryh_7702_28"); gruppen["7702"].push("Ryh_7702_29"); gruppen["7702"].push("Ryh_7702_30"); gruppen["7702"].push("Ryh_7702_31"); gruppen["7702"].push("Ryh_7702_32"); gruppen["7702"].push("Ryh_7702_33"); gruppen["7702"].push("Ryh_7702_34"); gruppen["7702"].push("Ryh_7702_35"); gruppen["7702"].push("Ryh_7702_36"); gruppen["7702"].push("Ryh_7702_37"); gruppen["7702"].push("Ryh_7702_38"); gruppen["7702"].push("Ryh_7702_39"); gruppen["7702"].push("Ryh_7702_40"); gruppen["7801"] = new Array(); gruppen["7801"].push("Ryh_7801_1"); gruppen["7801"].push("Ryh_7801_2"); gruppen["7801"].push("Ryh_7801_3"); gruppen["7801"].push("Ryh_7801_4"); gruppen["7801"].push("Ryh_7801_5"); gruppen["7801"].push("Ryh_7801_6"); gruppen["7801"].push("Ryh_7801_8"); gruppen["7801"].push("Ryh_7801_9"); gruppen["7801"].push("Ryh_7801_10"); gruppen["7801"].push("Ryh_7801_11"); gruppen["7801"].push("Ryh_7801_12"); gruppen["7801"].push("Ryh_7801_13"); gruppen["7801"].push("Ryh_7801_15"); gruppen["7801"].push("Ryh_7801_16"); gruppen["7801"].push("Ryh_7801_17"); gruppen["7801"].push("Ryh_7801_18"); gruppen["7801"].push("Ryh_7801_19"); gruppen["7801"].push("Ryh_7801_21"); gruppen["7801"].push("Ryh_7801_22"); gruppen["7801"].push("Ryh_7801_23"); gruppen["7801"].push("Ryh_7801_24"); gruppen["7801"].push("Ryh_7801_25_A"); gruppen["7801"].push("Ryh_7801_25_B"); gruppen["7801"].push("Ryh_7801_26"); gruppen["7801"].push("Ryh_7801_27"); gruppen["7801"].push("Ryh_7801_28"); gruppen["7801"].push("Ryh_7801_29"); gruppen["7801"].push("Ryh_7801_30"); gruppen["7801"].push("Ryh_7801_31"); gruppen["7801"].push("Ryh_7801_32"); gruppen["7801"].push("Ryh_7801_33"); gruppen["7801"].push("Ryh_7801_34"); gruppen["7801"].push("Ryh_7801_35"); gruppen["7801"].push("Ryh_7801_36"); gruppen["7801"].push("Ryh_7801_37"); gruppen["7801"].push("Ryh_7801_38"); gruppen["7801"].push("Ryh_7801_39"); gruppen["7801"].push("Ryh_7801_40"); gruppen["7803"] = new Array(); gruppen["7803"].push("Ryh_7803_1"); gruppen["7803"].push("Ryh_7803_4"); gruppen["7803"].push("Ryh_7803_5"); gruppen["7803"].push("Ryh_7803_8"); gruppen["7803"].push("Ryh_7803_9"); gruppen["7803"].push("Ryh_7803_10"); gruppen["7803"].push("Ryh_7803_11"); gruppen["7803"].push("Ryh_7803_12"); gruppen["7803"].push("Ryh_7803_13"); gruppen["7803"].push("Ryh_7803_14"); gruppen["7803"].push("Ryh_7803_15"); gruppen["7803"].push("Ryh_7803_16"); gruppen["7803"].push("Ryh_7803_25"); gruppen["7803"].push("Ryh_7803_26"); gruppen["7803"].push("Ryh_7803_27"); gruppen["7803"].push("Ryh_7803_28"); gruppen["7803"].push("Ryh_7803_29"); gruppen["7803"].push("Ryh_7803_30"); gruppen["7803"].push("Ryh_7803_31"); gruppen["7803"].push("Ryh_7803_32"); gruppen["7803"].push("Ryh_7803_33"); gruppen["7803"].push("Ryh_7803_34"); gruppen["7803"].push("Ryh_7803_36"); gruppen["7803"].push("Ryh_7803_37"); gruppen["7803"].push("Ryh_7803_38"); gruppen["7803"].push("Ryh_7803_39"); gruppen["7803"].push("Ryh_7803_41"); gruppen["7803"].push("Ryh_7803_42"); gruppen["7803"].push("Ryh_7803_44"); gruppen["7803"].push("Ryh_7803_45"); gruppen["7803"].push("Ryh_7803_46"); gruppen["7803"].push("Ryh_7803_47"); gruppen["7803"].push("Ryh_7803_48"); gruppen["7803"].push("Ryh_7803_49"); gruppen["7803"].push("Ryh_7803_50"); gruppen["7803"].push("Ryh_7803_51"); gruppen["7803"].push("Ryh_7803_52"); gruppen["7803"].push("Ryh_7803_53"); gruppen["7803"].push("Ryh_7803_54"); gruppen["7803"].push("Ryh_7803_55"); gruppen["7803"].push("Ryh_7803_56"); gruppen["7803"].push("Ryh_7803_57"); gruppen["7803"].push("Ryh_7803_58"); gruppen["7803"].push("Ryh_7803_59"); gruppen["7803"].push("Ryh_7803_60"); gruppen["7803"].push("Ryh_7803_61"); gruppen["7805"] = new Array(); gruppen["7805"].push("Ryh_7805_1"); gruppen["7805"].push("Ryh_7805_2"); gruppen["7805"].push("Ryh_7805_3"); gruppen["7805"].push("Ryh_7805_4"); gruppen["7805"].push("Ryh_7805_5"); gruppen["7805"].push("Ryh_7805_7"); gruppen["7805"].push("Ryh_7805_8"); gruppen["7805"].push("Ryh_7805_9"); gruppen["7805"].push("Ryh_7805_10"); gruppen["7805"].push("Ryh_7805_11"); gruppen["7805"].push("Ryh_7805_12"); gruppen["7805"].push("Ryh_7805_13"); gruppen["7805"].push("Ryh_7805_14"); gruppen["7805"].push("Ryh_7805_15"); gruppen["7805"].push("Ryh_7805_16"); gruppen["7805"].push("Ryh_7805_17"); gruppen["7805"].push("Ryh_7805_18"); gruppen["7805"].push("Ryh_7805_19"); gruppen["7805"].push("Ryh_7805_20"); gruppen["7805"].push("Ryh_7805_22"); gruppen["7805"].push("Ryh_7805_24"); gruppen["7805"].push("Ryh_7805_25"); gruppen["7805"].push("Ryh_7805_26"); gruppen["7806"] = new Array(); gruppen["7806"].push("Ryh_7806_1"); gruppen["7806"].push("Ryh_7806_2"); gruppen["7806"].push("Ryh_7806_3"); gruppen["7806"].push("Ryh_7806_4"); gruppen["7806"].push("Ryh_7806_5"); gruppen["7806"].push("Ryh_7806_6"); gruppen["7806"].push("Ryh_7806_7"); gruppen["7806"].push("Ryh_7806_8"); gruppen["7806"].push("Ryh_7806_9"); gruppen["7806"].push("Ryh_7806_10"); gruppen["7806"].push("Ryh_7806_11"); gruppen["7806"].push("Ryh_7806_12"); gruppen["7806"].push("Ryh_7806_13"); gruppen["7806"].push("Ryh_7806_14"); gruppen["7806"].push("Ryh_7806_15_A"); gruppen["7806"].push("Ryh_7806_15_B"); gruppen["7806"].push("Ryh_7806_16"); gruppen["7806"].push("Ryh_7806_17"); gruppen["7806"].push("Ryh_7806_18"); gruppen["7806"].push("Ryh_7806_19_A"); gruppen["7806"].push("Ryh_7806_19_B"); gruppen["7806"].push("Ryh_7806_20_A"); gruppen["7806"].push("Ryh_7806_20_B"); gruppen["7806"].push("Ryh_7806_21"); gruppen["7806"].push("Ryh_7806_22"); gruppen["7806"].push("Ryh_7806_23"); gruppen["7806"].push("Ryh_7806_24"); gruppen["7806"].push("Ryh_7806_25"); gruppen["7806"].push("Ryh_7806_26"); gruppen["7806"].push("Ryh_7806_27"); gruppen["7806"].push("Ryh_7806_28"); gruppen["7806"].push("Ryh_7806_29"); gruppen["7806"].push("Ryh_7806_30"); gruppen["7806"].push("Ryh_7806_31"); gruppen["7806"].push("Ryh_7806_32"); gruppen["7806"].push("Ryh_7806_33"); gruppen["7806"].push("Ryh_7806_34"); gruppen["7806"].push("Ryh_7806_41"); gruppen["7806"].push("Ryh_7806_42_A"); gruppen["7806"].push("Ryh_7806_42_B"); gruppen["7806"].push("Ryh_7806_43"); gruppen["7806"].push("Ryh_7806_45"); gruppen["7806"].push("Ryh_7806_46"); gruppen["7806"].push("Ryh_7806_47"); gruppen["7807"] = new Array(); gruppen["7807"].push("Ryh_7807_1"); gruppen["7807"].push("Ryh_7807_2"); gruppen["7807"].push("Ryh_7807_3"); gruppen["7807"].push("Ryh_7807_4"); gruppen["7807"].push("Ryh_7807_5"); gruppen["7807"].push("Ryh_7807_6"); gruppen["7807"].push("Ryh_7807_7"); gruppen["7807"].push("Ryh_7807_8"); gruppen["7807"].push("Ryh_7807_9"); gruppen["7807"].push("Ryh_7807_10"); gruppen["7807"].push("Ryh_7807_11"); gruppen["7807"].push("Ryh_7807_12"); gruppen["7807"].push("Ryh_7807_13"); gruppen["7807"].push("Ryh_7807_16"); gruppen["7807"].push("Ryh_7807_17"); gruppen["7807"].push("Ryh_7807_18"); gruppen["7807"].push("Ryh_7807_19"); gruppen["7807"].push("Ryh_7807_20"); gruppen["7807"].push("Ryh_7807_21"); gruppen["7807"].push("Ryh_7807_22"); gruppen["7807"].push("Ryh_7807_23"); gruppen["7807"].push("Ryh_7807_24"); gruppen["7807"].push("Ryh_7807_25"); gruppen["7808"] = new Array(); gruppen["7808"].push("Ryh_7808_1"); gruppen["7808"].push("Ryh_7808_3"); gruppen["7808"].push("Ryh_7808_6"); gruppen["7808"].push("Ryh_7808_13"); gruppen["7808"].push("Ryh_7808_14"); gruppen["7808"].push("Ryh_7808_15"); gruppen["7808"].push("Ryh_7808_16"); gruppen["7808"].push("Ryh_7808_21"); gruppen["7808"].push("Ryh_7808_22"); gruppen["7808"].push("Ryh_7808_23"); gruppen["7808"].push("Ryh_7808_24"); gruppen["7808"].push("Ryh_7808_25"); gruppen["7808"].push("Ryh_7808_26"); gruppen["7808"].push("Ryh_7808_27"); gruppen["7808"].push("Ryh_7808_28"); gruppen["7808"].push("Ryh_7808_29"); gruppen["7808"].push("Ryh_7808_30"); gruppen["7808"].push("Ryh_7808_31"); gruppen["7808"].push("Ryh_7808_32"); gruppen["7808"].push("Ryh_7808_33"); gruppen["7808"].push("Ryh_7808_34"); gruppen["7808"].push("Ryh_7808_35"); gruppen["7809"] = new Array(); gruppen["7809"].push("Ryh_7809_5"); gruppen["7809"].push("Ryh_7809_6"); gruppen["7809"].push("Ryh_7809_7"); gruppen["7809"].push("Ryh_7809_8"); gruppen["7809"].push("Ryh_7809_9"); gruppen["7809"].push("Ryh_7809_10"); gruppen["7809"].push("Ryh_7809_14"); gruppen["7809"].push("Ryh_7809_15"); gruppen["7809"].push("Ryh_7809_16"); gruppen["7809"].push("Ryh_7809_17"); gruppen["7809"].push("Ryh_7809_18_A"); gruppen["7809"].push("Ryh_7809_18_B"); gruppen["7809"].push("Ryh_7809_22"); gruppen["7809"].push("Ryh_7809_23"); gruppen["7809"].push("Ryh_7809_24"); gruppen["7809"].push("Ryh_7809_25"); gruppen["7809"].push("Ryh_7809_27"); gruppen["7809"].push("Ryh_7809_28"); gruppen["7810"] = new Array(); gruppen["7810"].push("Ryh_7810_1"); gruppen["7810"].push("Ryh_7810_2"); gruppen["7810"].push("Ryh_7810_3"); gruppen["7810"].push("Ryh_7810_8"); gruppen["7810"].push("Ryh_7810_9"); gruppen["7810"].push("Ryh_7810_16"); gruppen["7810"].push("Ryh_7810_17"); gruppen["7810"].push("Ryh_7810_22"); gruppen["7810"].push("Ryh_7810_23"); gruppen["7810"].push("Ryh_7810_24"); gruppen["7810"].push("Ryh_7810_25"); gruppen["7810"].push("Ryh_7810_26"); gruppen["7810"].push("Ryh_7810_28"); gruppen["7810"].push("Ryh_7810_29"); gruppen["7810"].push("Ryh_7810_30"); gruppen["7810"].push("Ryh_7810_33"); gruppen["7810"].push("Ryh_7810_35"); gruppen["7810"].push("Ryh_7810_37"); gruppen["7810"].push("Ryh_7810_56"); gruppen["7810"].push("Ryh_7810_57"); gruppen["7810"].push("Ryh_7810_58"); gruppen["7810"].push("Ryh_7810_59"); gruppen["7810"].push("Ryh_7810_60"); gruppen["7811"] = new Array(); gruppen["7811"].push("Ryh_7811_1"); gruppen["7811"].push("Ryh_7811_2"); gruppen["7811"].push("Ryh_7811_3"); gruppen["7811"].push("Ryh_7811_4"); gruppen["7811"].push("Ryh_7811_11"); gruppen["7811"].push("Ryh_7811_12"); gruppen["7811"].push("Ryh_7811_13_A"); gruppen["7811"].push("Ryh_7811_13_B"); gruppen["7811"].push("Ryh_7811_14"); gruppen["7811"].push("Ryh_7811_17"); gruppen["7811"].push("Ryh_7811_18"); gruppen["7811"].push("Ryh_7811_19"); gruppen["7811"].push("Ryh_7811_20"); gruppen["7811"].push("Ryh_7811_21"); gruppen["7811"].push("Ryh_7811_22"); gruppen["7811"].push("Ryh_7811_23"); gruppen["7811"].push("Ryh_7811_30"); gruppen["7811"].push("Ryh_7811_31"); gruppen["7811"].push("Ryh_7811_36"); gruppen["7811"].push("Ryh_7811_37"); gruppen["7811"].push("Ryh_7811_38"); gruppen["7812"] = new Array(); gruppen["7812"].push("Ryh_7812_1"); gruppen["7812"].push("Ryh_7812_8"); gruppen["7812"].push("Ryh_7812_9"); gruppen["7812"].push("Ryh_7812_10"); gruppen["7812"].push("Ryh_7812_11"); gruppen["7812"].push("Ryh_7812_16"); gruppen["7812"].push("Ryh_7812_17"); gruppen["7812"].push("Ryh_7812_18"); gruppen["7812"].push("Ryh_7812_19"); gruppen["7812"].push("Ryh_7812_24"); gruppen["7812"].push("Ryh_7812_24_A"); gruppen["7812"].push("Ryh_7812_25"); gruppen["7812"].push("Ryh_7812_26"); gruppen["7812"].push("Ryh_7812_27"); gruppen["7812"].push("Ryh_7812_28"); gruppen["7812"].push("Ryh_7812_29"); gruppen["7812"].push("Ryh_7812_30"); gruppen["7812"].push("Ryh_7812_31_A"); gruppen["7812"].push("Ryh_7812_31_B"); gruppen["7812"].push("Ryh_7812_32"); gruppen["7813"] = new Array(); gruppen["7813"].push("Ryh_7813_1"); gruppen["7813"].push("Ryh_7813_2"); gruppen["7813"].push("Ryh_7813_3"); gruppen["7813"].push("Ryh_7813_4_A"); gruppen["7813"].push("Ryh_7813_4_B"); gruppen["7813"].push("Ryh_7813_5"); gruppen["7813"].push("Ryh_7813_8"); gruppen["7813"].push("Ryh_7813_10"); gruppen["7813"].push("Ryh_7813_11"); gruppen["7813"].push("Ryh_7813_14"); gruppen["7813"].push("Ryh_7813_19"); gruppen["7813"].push("Ryh_7813_21"); gruppen["7813"].push("Ryh_7813_22_A"); gruppen["7813"].push("Ryh_7813_22_B"); gruppen["7813"].push("Ryh_7813_23"); gruppen["7813"].push("Ryh_7813_24"); gruppen["7814"] = new Array(); gruppen["7814"].push("Ryh_7814_1_A"); gruppen["7814"].push("Ryh_7814_1_B"); gruppen["7814"].push("Ryh_7814_2"); gruppen["7814"].push("Ryh_7814_3"); gruppen["7814"].push("Ryh_7814_4"); gruppen["7814"].push("Ryh_7814_6"); gruppen["7814"].push("Ryh_7814_8"); gruppen["7814"].push("Ryh_7814_9"); gruppen["7814"].push("Ryh_7814_9_A"); gruppen["7814"].push("Ryh_7814_10"); gruppen["7814"].push("Ryh_7814_11"); gruppen["7814"].push("Ryh_7814_12"); gruppen["7814"].push("Ryh_7814_17"); gruppen["7814"].push("Ryh_7814_18"); gruppen["7814"].push("Ryh_7814_19"); gruppen["7814"].push("Ryh_7814_20"); gruppen["7814"].push("Ryh_7814_21"); gruppen["7814"].push("Ryh_7814_22"); gruppen["7814"].push("Ryh_7814_23"); gruppen["7814"].push("Ryh_7814_41"); gruppen["7814"].push("Ryh_7814_42"); gruppen["7814"].push("Ryh_7814_43"); gruppen["7815"] = new Array(); gruppen["7815"].push("Ryh_7815_1"); gruppen["7815"].push("Ryh_7815_2_A"); gruppen["7815"].push("Ryh_7815_2_B"); gruppen["7815"].push("Ryh_7815_3"); gruppen["7815"].push("Ryh_7815_4"); gruppen["7815"].push("Ryh_7815_5"); gruppen["7815"].push("Ryh_7815_6"); gruppen["7815"].push("Ryh_7815_7"); gruppen["7815"].push("Ryh_7815_8"); gruppen["7815"].push("Ryh_7815_9"); gruppen["7815"].push("Ryh_7815_10"); gruppen["7815"].push("Ryh_7815_11"); gruppen["7815"].push("Ryh_7815_12"); gruppen["7815"].push("Ryh_7815_13"); gruppen["7815"].push("Ryh_7815_14"); gruppen["7815"].push("Ryh_7815_15"); gruppen["7815"].push("Ryh_7815_16"); gruppen["7815"].push("Ryh_7815_17"); gruppen["7815"].push("Ryh_7815_18"); gruppen["7815"].push("Ryh_7815_31"); gruppen["7815"].push("Ryh_7815_32"); gruppen["7815"].push("Ryh_7815_33"); gruppen["7815"].push("Ryh_7815_34_A"); gruppen["7815"].push("Ryh_7815_34_B"); gruppen["7815"].push("Ryh_7815_35_A"); gruppen["7815"].push("Ryh_7815_35_B"); gruppen["7815"].push("Ryh_7815_51"); gruppen["7815"].push("Ryh_7815_52_A"); gruppen["7815"].push("Ryh_7815_52_B"); gruppen["7815"].push("Ryh_7815_53"); gruppen["7901"] = new Array(); gruppen["7901"].push("Ryh_7901_1"); gruppen["7901"].push("Ryh_7901_2"); gruppen["7901"].push("Ryh_7901_3"); gruppen["7901"].push("Ryh_7901_4_A"); gruppen["7901"].push("Ryh_7901_4_B"); gruppen["7901"].push("Ryh_7901_6"); gruppen["7901"].push("Ryh_7901_7"); gruppen["7901"].push("Ryh_7901_9"); gruppen["7901"].push("Ryh_7901_10"); gruppen["7901"].push("Ryh_7901_12"); gruppen["7901"].push("Ryh_7901_14"); gruppen["7901"].push("Ryh_7901_15"); gruppen["7901"].push("Ryh_7901_17"); gruppen["7901"].push("Ryh_7901_19"); gruppen["7901"].push("Ryh_7901_21"); gruppen["7901"].push("Ryh_7901_22"); gruppen["7901"].push("Ryh_7901_23"); gruppen["7901"].push("Ryh_7901_24"); gruppen["7901"].push("Ryh_7901_25"); gruppen["7901"].push("Ryh_7901_27"); gruppen["7901"].push("Ryh_7901_28"); gruppen["7901"].push("Ryh_7901_29"); gruppen["7901"].push("Ryh_7901_30"); gruppen["7901"].push("Ryh_7901_31_A"); gruppen["7901"].push("Ryh_7901_31_B"); gruppen["7901"].push("Ryh_7901_34_A"); gruppen["7901"].push("Ryh_7901_34_B"); gruppen["7901"].push("Ryh_7901_35"); gruppen["7901"].push("Ryh_7901_36"); gruppen["7901"].push("Ryh_7901_37"); gruppen["7901"].push("Ryh_7901_38"); gruppen["7901"].push("Ryh_7901_39"); gruppen["7901"].push("Ryh_7901_41"); gruppen["7901"].push("Ryh_7901_42"); gruppen["7901"].push("Ryh_7901_43"); gruppen["7901"].push("Ryh_7901_44"); gruppen["7901"].push("Ryh_7901_45"); gruppen["7901"].push("Ryh_7901_46"); gruppen["7901"].push("Ryh_7901_47"); gruppen["7901"].push("Ryh_7901_48"); gruppen["7901"].push("Ryh_7901_49"); gruppen["7901"].push("Ryh_7901_50"); gruppen["7901"].push("Ryh_7901_51"); gruppen["7903"] = new Array(); gruppen["7903"].push("Ryh_7903_3"); gruppen["7903"].push("Ryh_7903_4"); gruppen["7903"].push("Ryh_7903_5"); gruppen["7903"].push("Ryh_7903_6"); gruppen["7903"].push("Ryh_7903_7"); gruppen["7903"].push("Ryh_7903_8"); gruppen["7903"].push("Ryh_7903_10"); gruppen["7903"].push("Ryh_7903_13"); gruppen["7903"].push("Ryh_7903_14"); gruppen["7903"].push("Ryh_7903_15"); gruppen["7903"].push("Ryh_7903_16"); gruppen["7903"].push("Ryh_7903_17"); gruppen["7903"].push("Ryh_7903_18"); gruppen["7903"].push("Ryh_7903_19"); gruppen["7903"].push("Ryh_7903_20"); gruppen["7903"].push("Ryh_7903_21"); gruppen["7903"].push("Ryh_7903_22"); gruppen["7903"].push("Ryh_7903_23"); gruppen["7903"].push("Ryh_7903_24"); gruppen["7903"].push("Ryh_7903_25"); gruppen["7904"] = new Array(); gruppen["7904"].push("Ryh_7904_1"); gruppen["7904"].push("Ryh_7904_2"); gruppen["7904"].push("Ryh_7904_3"); gruppen["7904"].push("Ryh_7904_5"); gruppen["7904"].push("Ryh_7904_6"); gruppen["7904"].push("Ryh_7904_7"); gruppen["7904"].push("Ryh_7904_22"); gruppen["7904"].push("Ryh_7904_24"); gruppen["7904"].push("Ryh_7904_26"); gruppen["7904"].push("Ryh_7904_28"); gruppen["7904"].push("Ryh_7904_30"); gruppen["7904"].push("Ryh_7904_31"); gruppen["7904"].push("Ryh_7904_41"); gruppen["7904"].push("Ryh_7904_42"); gruppen["7905"] = new Array(); gruppen["7905"].push("Ryh_7905_1"); gruppen["7905"].push("Ryh_7905_2"); gruppen["7905"].push("Ryh_7905_4"); gruppen["7905"].push("Ryh_7905_5"); gruppen["7905"].push("Ryh_7905_6"); gruppen["7905"].push("Ryh_7905_7"); gruppen["7905"].push("Ryh_7905_8"); gruppen["7905"].push("Ryh_7905_10"); gruppen["7905"].push("Ryh_7905_11"); gruppen["7905"].push("Ryh_7905_12"); gruppen["7905"].push("Ryh_7905_13"); gruppen["7905"].push("Ryh_7905_20"); gruppen["7905"].push("Ryh_7905_21"); gruppen["7905"].push("Ryh_7905_22"); gruppen["7905"].push("Ryh_7905_23"); gruppen["7905"].push("Ryh_7905_24"); gruppen["7905"].push("Ryh_7905_25"); gruppen["7905"].push("Ryh_7905_26"); gruppen["7905"].push("Ryh_7905_28"); gruppen["7905"].push("Ryh_7905_29"); gruppen["7905"].push("Ryh_7905_30_A"); gruppen["7905"].push("Ryh_7905_30_B"); gruppen["7905"].push("Ryh_7905_31"); gruppen["7905"].push("Ryh_7905_32"); gruppen["7905"].push("Ryh_7905_33"); gruppen["7905"].push("Ryh_7905_34"); gruppen["7905"].push("Ryh_7905_35"); gruppen["7906"] = new Array(); gruppen["7906"].push("Ryh_7906_1"); gruppen["7906"].push("Ryh_7906_2"); gruppen["7906"].push("Ryh_7906_3"); gruppen["7906"].push("Ryh_7906_4_A"); gruppen["7906"].push("Ryh_7906_4_B"); gruppen["7906"].push("Ryh_7906_4_C"); gruppen["7906"].push("Ryh_7906_6"); gruppen["7906"].push("Ryh_7906_7_A"); gruppen["7906"].push("Ryh_7906_7_B"); gruppen["7906"].push("Ryh_7906_8"); gruppen["7906"].push("Ryh_7906_9"); gruppen["7906"].push("Ryh_7906_21"); gruppen["7906"].push("Ryh_7906_22"); gruppen["7906"].push("Ryh_7906_24"); gruppen["7906"].push("Ryh_7906_25"); gruppen["7906"].push("Ryh_7906_26"); gruppen["7906"].push("Ryh_7906_36"); gruppen["7906"].push("Ryh_7906_37"); gruppen["7906"].push("Ryh_7906_40"); gruppen["7906"].push("Ryh_7906_41"); gruppen["7906"].push("Ryh_7906_42"); gruppen["7906"].push("Ryh_7906_43"); gruppen["7906"].push("Ryh_7906_44"); gruppen["7906"].push("Ryh_7906_45"); gruppen["7906"].push("Ryh_7906_46"); gruppen["7907"] = new Array(); gruppen["7907"].push("Ryh_7907_1"); gruppen["7907"].push("Ryh_7907_2"); gruppen["7907"].push("Ryh_7907_3"); gruppen["7907"].push("Ryh_7907_4"); gruppen["7907"].push("Ryh_7907_5"); gruppen["7907"].push("Ryh_7907_6"); gruppen["7907"].push("Ryh_7907_7_A"); gruppen["7907"].push("Ryh_7907_7_B"); gruppen["7907"].push("Ryh_7907_8"); gruppen["7907"].push("Ryh_7907_9"); gruppen["7907"].push("Ryh_7907_10_A"); gruppen["7907"].push("Ryh_7907_10_B"); gruppen["7907"].push("Ryh_7907_10_C"); gruppen["7907"].push("Ryh_7907_15"); gruppen["7907"].push("Ryh_7907_16"); gruppen["7907"].push("Ryh_7907_31"); gruppen["7907"].push("Ryh_7907_32"); gruppen["7907"].push("Ryh_7907_33"); gruppen["7907"].push("Ryh_7907_41_A"); gruppen["7907"].push("Ryh_7907_41_B"); gruppen["7907"].push("Ryh_7907_42_A"); gruppen["7907"].push("Ryh_7907_42_B"); gruppen["7907"].push("Ryh_7907_42_C"); gruppen["7907"].push("Ryh_7907_42_D"); gruppen["7907"].push("Ryh_7907_43"); gruppen["7907"].push("Ryh_7907_44"); gruppen["7907"].push("Ryh_7907_45"); gruppen["7907"].push("Ryh_7907_46"); gruppen["7907"].push("Ryh_7907_47_A"); gruppen["7907"].push("Ryh_7907_47_B"); gruppen["7907"].push("Ryh_7907_48"); gruppen["7907"].push("Ryh_7907_49"); gruppen["7907"].push("Ryh_7907_50_A"); gruppen["7907"].push("Ryh_7907_50_B"); gruppen["7907"].push("Ryh_7907_50_C"); gruppen["8001"] = new Array(); gruppen["8001"].push("Ryh_8001_1"); gruppen["8001"].push("Ryh_8001_2_A"); gruppen["8001"].push("Ryh_8001_2_B"); gruppen["8001"].push("Ryh_8001_5"); gruppen["8001"].push("Ryh_8001_6"); gruppen["8001"].push("Ryh_8001_7"); gruppen["8001"].push("Ryh_8001_10"); gruppen["8001"].push("Ryh_8001_12"); gruppen["8001"].push("Ryh_8001_14"); gruppen["8001"].push("Ryh_8001_15"); gruppen["8001"].push("Ryh_8001_16"); gruppen["8001"].push("Ryh_8001_17"); gruppen["8001"].push("Ryh_8001_18"); gruppen["8001"].push("Ryh_8001_19"); gruppen["8001"].push("Ryh_8001_20"); gruppen["8001"].push("Ryh_8001_21"); gruppen["8001"].push("Ryh_8001_23"); gruppen["8001"].push("Ryh_8001_24"); gruppen["8001"].push("Ryh_8001_25"); gruppen["8001"].push("Ryh_8001_26"); gruppen["8001"].push("Ryh_8001_27"); gruppen["8001"].push("Ryh_8001_28"); gruppen["8001"].push("Ryh_8001_29"); gruppen["8001"].push("Ryh_8001_30"); gruppen["8001"].push("Ryh_8001_32"); gruppen["8001"].push("Ryh_8001_33"); gruppen["8001"].push("Ryh_8001_34"); gruppen["8001"].push("Ryh_8001_35"); gruppen["8001"].push("Ryh_8001_36"); gruppen["8001"].push("Ryh_8001_37"); gruppen["8001"].push("Ryh_8001_38"); gruppen["8001"].push("Ryh_8001_40"); gruppen["8001"].push("Ryh_8001_41"); gruppen["8001"].push("Ryh_8001_42"); gruppen["8001"].push("Ryh_8001_43"); gruppen["8001"].push("Ryh_8001_44"); gruppen["8001"].push("Ryh_8001_45"); gruppen["8001"].push("Ryh_8001_46"); gruppen["8001"].push("Ryh_8001_47"); gruppen["8001"].push("Ryh_8001_48"); gruppen["8001"].push("Ryh_8001_49"); gruppen["8002"] = new Array(); gruppen["8002"].push("Ryh_8002_1"); gruppen["8002"].push("Ryh_8002_2"); gruppen["8002"].push("Ryh_8002_3_A"); gruppen["8002"].push("Ryh_8002_3_B"); gruppen["8002"].push("Ryh_8002_4"); gruppen["8002"].push("Ryh_8002_5"); gruppen["8002"].push("Ryh_8002_6"); gruppen["8002"].push("Ryh_8002_7"); gruppen["8002"].push("Ryh_8002_8"); gruppen["8002"].push("Ryh_8002_11"); gruppen["8002"].push("Ryh_8002_12"); gruppen["8002"].push("Ryh_8002_13"); gruppen["8002"].push("Ryh_8002_14"); gruppen["8002"].push("Ryh_8002_15_A"); gruppen["8002"].push("Ryh_8002_15_B"); gruppen["8002"].push("Ryh_8002_16"); gruppen["8002"].push("Ryh_8002_17"); gruppen["8002"].push("Ryh_8002_18"); gruppen["8002"].push("Ryh_8002_19"); gruppen["8002"].push("Ryh_8002_20"); gruppen["8002"].push("Ryh_8002_21"); gruppen["8002"].push("Ryh_8002_22"); gruppen["8002"].push("Ryh_8002_23"); gruppen["8002"].push("Ryh_8002_24"); gruppen["8002"].push("Ryh_8002_31"); gruppen["8002"].push("Ryh_8002_32"); gruppen["8002"].push("Ryh_8002_33"); gruppen["8002"].push("Ryh_8002_34"); gruppen["8002"].push("Ryh_8002_35"); gruppen["8002"].push("Ryh_8002_36_A"); gruppen["8002"].push("Ryh_8002_36_B"); gruppen["8002"].push("Ryh_8002_36_C"); gruppen["8002"].push("Ryh_8002_37"); gruppen["8002"].push("Ryh_8002_38"); gruppen["8002"].push("Ryh_8002_51_A"); gruppen["8002"].push("Ryh_8002_51_B"); gruppen["8002"].push("Ryh_8002_52"); gruppen["8002"].push("Ryh_8002_53"); gruppen["8002"].push("Ryh_8002_54_A"); gruppen["8002"].push("Ryh_8002_54_B"); gruppen["8002"].push("Ryh_8002_56"); gruppen["8002"].push("Ryh_8002_57"); gruppen["8002"].push("Ryh_8002_58"); gruppen["8002"].push("Ryh_8002_59_A"); gruppen["8002"].push("Ryh_8002_59_B"); gruppen["8002"].push("Ryh_8002_60_A"); gruppen["8002"].push("Ryh_8002_60_B"); gruppen["8002"].push("Ryh_8002_61_A"); gruppen["8002"].push("Ryh_8002_61_B"); gruppen["8002"].push("Ryh_8002_62"); gruppen["8002"].push("Ryh_8002_63_A"); gruppen["8002"].push("Ryh_8002_63_B"); gruppen["8002"].push("Ryh_8002_64"); gruppen["8002"].push("Ryh_8002_65"); gruppen["8002"].push("Ryh_8002_66"); gruppen["8003"] = new Array(); gruppen["8003"].push("Ryh_8003_2"); gruppen["8003"].push("Ryh_8003_3"); gruppen["8003"].push("Ryh_8003_4"); gruppen["8003"].push("Ryh_8003_5"); gruppen["8003"].push("Ryh_8003_8"); gruppen["8003"].push("Ryh_8003_9"); gruppen["8003"].push("Ryh_8003_10"); gruppen["8003"].push("Ryh_8003_11"); gruppen["8003"].push("Ryh_8003_13"); gruppen["8003"].push("Ryh_8003_15"); gruppen["8003"].push("Ryh_8003_16"); gruppen["8003"].push("Ryh_8003_17"); gruppen["8003"].push("Ryh_8003_18"); gruppen["8003"].push("Ryh_8003_19"); gruppen["8003"].push("Ryh_8003_28"); gruppen["8003"].push("Ryh_8003_32"); gruppen["8003"].push("Ryh_8003_34"); gruppen["8003"].push("Ryh_8003_35"); gruppen["8003"].push("Ryh_8003_36"); gruppen["8003"].push("Ryh_8003_37"); gruppen["8003"].push("Ryh_8003_38"); gruppen["8003"].push("Ryh_8003_40"); gruppen["8003"].push("Ryh_8003_41"); gruppen["8003"].push("Ryh_8003_42"); gruppen["8003"].push("Ryh_8003_43"); gruppen["8004"] = new Array(); gruppen["8004"].push("Ryh_8004_1"); gruppen["8004"].push("Ryh_8004_2"); gruppen["8004"].push("Ryh_8004_4"); gruppen["8004"].push("Ryh_8004_5"); gruppen["8004"].push("Ryh_8004_7_A"); gruppen["8004"].push("Ryh_8004_7_B"); gruppen["8004"].push("Ryh_8004_7_C"); gruppen["8004"].push("Ryh_8004_8"); gruppen["8004"].push("Ryh_8004_9"); gruppen["8004"].push("Ryh_8004_11"); gruppen["8004"].push("Ryh_8004_12"); gruppen["8004"].push("Ryh_8004_13"); gruppen["8004"].push("Ryh_8004_14"); gruppen["8004"].push("Ryh_8004_15"); gruppen["8004"].push("Ryh_8004_17"); gruppen["8004"].push("Ryh_8004_18"); gruppen["8004"].push("Ryh_8004_19"); gruppen["8004"].push("Ryh_8004_20"); gruppen["8004"].push("Ryh_8004_21"); gruppen["8004"].push("Ryh_8004_23"); gruppen["8004"].push("Ryh_8004_24"); gruppen["8004"].push("Ryh_8004_25"); gruppen["8004"].push("Ryh_8004_28"); gruppen["8004"].push("Ryh_8004_30"); gruppen["8004"].push("Ryh_8004_31_A"); gruppen["8004"].push("Ryh_8004_31_B"); gruppen["8004"].push("Ryh_8004_32"); gruppen["8004"].push("Ryh_8004_33"); gruppen["8004"].push("Ryh_8004_37"); gruppen["8004"].push("Ryh_8004_38_A-B"); gruppen["8004"].push("Ryh_8004_38_C"); gruppen["8004"].push("Ryh_8004_39"); gruppen["8004"].push("Ryh_8004_41"); gruppen["8004"].push("Ryh_8004_42"); gruppen["8004"].push("Ryh_8004_43"); gruppen["8004"].push("Ryh_8004_46"); gruppen["8004"].push("Ryh_8004_47"); gruppen["8004"].push("Ryh_8004_49"); gruppen["8004"].push("Ryh_8004_50"); gruppen["8004"].push("Ryh_8004_51"); gruppen["8004"].push("Ryh_8004_52"); gruppen["8004"].push("Ryh_8004_53"); gruppen["8004"].push("Ryh_8004_57"); gruppen["8004"].push("Ryh_8004_61"); gruppen["8004"].push("Ryh_8004_62"); gruppen["8004"].push("Ryh_8004_65"); gruppen["8004"].push("Ryh_8004_66_A"); gruppen["8004"].push("Ryh_8004_66_B"); gruppen["8004"].push("Ryh_8004_67"); gruppen["8101"] = new Array(); gruppen["8101"].push("Ryh_8101_1"); gruppen["8101"].push("Ryh_8101_2"); gruppen["8101"].push("Ryh_8101_3"); gruppen["8101"].push("Ryh_8101_4"); gruppen["8101"].push("Ryh_8101_5"); gruppen["8101"].push("Ryh_8101_6"); gruppen["8101"].push("Ryh_8101_7"); gruppen["8101"].push("Ryh_8101_8"); gruppen["8101"].push("Ryh_8101_9"); gruppen["8101"].push("Ryh_8101_10"); gruppen["8101"].push("Ryh_8101_11"); gruppen["8101"].push("Ryh_8101_12"); gruppen["8101"].push("Ryh_8101_13"); gruppen["8101"].push("Ryh_8101_14"); gruppen["8101"].push("Ryh_8101_21"); gruppen["8101"].push("Ryh_8101_31"); gruppen["8101"].push("Ryh_8101_32"); gruppen["8101"].push("Ryh_8101_33"); gruppen["8101"].push("Ryh_8101_51"); gruppen["8101"].push("Ryh_8101_52"); gruppen["8101"].push("Ryh_8101_53"); gruppen["8101"].push("Ryh_8101_54"); gruppen["8101"].push("Ryh_8101_55"); gruppen["8101"].push("Ryh_8101_56"); gruppen["8201"] = new Array(); gruppen["8201"].push("Ryh_8201_1"); gruppen["8201"].push("Ryh_8201_2"); gruppen["8201"].push("Ryh_8201_3"); gruppen["8201"].push("Ryh_8201_4"); gruppen["8201"].push("Ryh_8201_5"); gruppen["8201"].push("Ryh_8201_6"); gruppen["8201"].push("Ryh_8201_7"); gruppen["8201"].push("Ryh_8201_8"); gruppen["8201"].push("Ryh_8201_9"); gruppen["8201"].push("Ryh_8201_10"); gruppen["8201"].push("Ryh_8201_11"); gruppen["8201"].push("Ryh_8201_12"); gruppen["8201"].push("Ryh_8201_13"); gruppen["8201"].push("Ryh_8201_14"); gruppen["8201"].push("Ryh_8201_15"); gruppen["8201"].push("Ryh_8201_16"); gruppen["8201"].push("Ryh_8201_17"); gruppen["8201"].push("Ryh_8201_18"); gruppen["8201"].push("Ryh_8201_19_A"); gruppen["8201"].push("Ryh_8201_19_B"); gruppen["8201"].push("Ryh_8201_20"); gruppen["8201"].push("Ryh_8201_21"); gruppen["8201"].push("Ryh_8201_22"); gruppen["8201"].push("Ryh_8201_23"); gruppen["8201"].push("Ryh_8201_24"); gruppen["8201"].push("Ryh_8201_26"); gruppen["8201"].push("Ryh_8201_27"); gruppen["8201"].push("Ryh_8201_28"); gruppen["8201"].push("Ryh_8201_29"); gruppen["8201"].push("Ryh_8201_30"); gruppen["8201"].push("Ryh_8201_31"); gruppen["8201"].push("Ryh_8201_32"); gruppen["8201"].push("Ryh_8201_33"); gruppen["8201"].push("Ryh_8201_44"); gruppen["8201"].push("Ryh_8201_45"); gruppen["8201"].push("Ryh_8201_46"); gruppen["8201"].push("Ryh_8201_47"); gruppen["8201"].push("Ryh_8201_48"); gruppen["8201"].push("Ryh_8201_49"); gruppen["8201"].push("Ryh_8201_50"); gruppen["8201"].push("Ryh_8201_51_A"); gruppen["8201"].push("Ryh_8201_51_B"); gruppen["8201"].push("Ryh_8201_52"); gruppen["8201"].push("Ryh_8201_53"); gruppen["8201"].push("Ryh_8201_54"); gruppen["8201"].push("Ryh_8201_55"); gruppen["8201"].push("Ryh_8201_56"); gruppen["8201"].push("Ryh_8201_57"); gruppen["8201"].push("Ryh_8201_58"); gruppen["8201"].push("Ryh_8201_59"); gruppen["8201"].push("Ryh_8201_60"); gruppen["8201"].push("Ryh_8201_61"); gruppen["8201"].push("Ryh_8201_62"); gruppen["8201"].push("Ryh_8201_63"); gruppen["8201"].push("Ryh_8201_64"); gruppen["8201"].push("Ryh_8201_66"); gruppen["8201"].push("Ryh_8201_67"); gruppen["8201"].push("Ryh_8201_68"); gruppen["8201"].push("Ryh_8201_70"); gruppen["8201"].push("Ryh_8201_71"); gruppen["8202"] = new Array(); gruppen["8202"].push("Ryh_8202_20"); gruppen["8202"].push("Ryh_8202_21"); gruppen["8202"].push("Ryh_8202_22"); gruppen["8202"].push("Ryh_8202_23"); gruppen["8202"].push("Ryh_8202_24"); gruppen["8202"].push("Ryh_8202_25"); gruppen["8202"].push("Ryh_8202_26"); gruppen["8202"].push("Ryh_8202_27"); gruppen["8202"].push("Ryh_8202_43"); gruppen["8202"].push("Ryh_8202_44_A"); gruppen["8202"].push("Ryh_8202_44_B"); gruppen["8202"].push("Ryh_8202_45_A"); gruppen["8202"].push("Ryh_8202_45_B"); gruppen["8202"].push("Ryh_8202_46_A"); gruppen["8202"].push("Ryh_8202_46_B"); gruppen["8202"].push("Ryh_8202_47_A"); gruppen["8202"].push("Ryh_8202_47_B"); gruppen["8202"].push("Ryh_8202_48"); gruppen["8202"].push("Ryh_8202_49_A"); gruppen["8202"].push("Ryh_8202_49_B"); gruppen["8202"].push("Ryh_8202_49_C"); gruppen["8202"].push("Ryh_8202_49_D"); gruppen["8202"].push("Ryh_8202_49_E"); gruppen["8202"].push("Ryh_8202_50_A"); gruppen["8202"].push("Ryh_8202_50_B"); gruppen["8202"].push("Ryh_8202_50_C"); gruppen["8203"] = new Array(); gruppen["8203"].push("Ryh_8203_1"); gruppen["8203"].push("Ryh_8203_3"); gruppen["8203"].push("Ryh_8203_4_A"); gruppen["8203"].push("Ryh_8203_4_B"); gruppen["8203"].push("Ryh_8203_5_A"); gruppen["8203"].push("Ryh_8203_5_B"); gruppen["8203"].push("Ryh_8203_9"); gruppen["8203"].push("Ryh_8203_10"); gruppen["8203"].push("Ryh_8203_14"); gruppen["8203"].push("Ryh_8203_16"); gruppen["8203"].push("Ryh_8203_17"); gruppen["8203"].push("Ryh_8203_20"); gruppen["8203"].push("Ryh_8203_21"); gruppen["8203"].push("Ryh_8203_24"); gruppen["8203"].push("Ryh_8203_26"); gruppen["8203"].push("Ryh_8203_27"); gruppen["8203"].push("Ryh_8203_31"); gruppen["8203"].push("Ryh_8203_32"); gruppen["8203"].push("Ryh_8203_33"); gruppen["8204"] = new Array(); gruppen["8204"].push("Ryh_8204_1"); gruppen["8204"].push("Ryh_8204_2"); gruppen["8204"].push("Ryh_8204_3"); gruppen["8204"].push("Ryh_8204_4"); gruppen["8204"].push("Ryh_8204_8"); gruppen["8204"].push("Ryh_8204_9"); gruppen["8204"].push("Ryh_8204_10"); gruppen["8204"].push("Ryh_8204_11"); gruppen["8204"].push("Ryh_8204_12"); gruppen["8204"].push("Ryh_8204_13"); gruppen["8204"].push("Ryh_8204_14"); gruppen["8204"].push("Ryh_8204_15"); gruppen["8204"].push("Ryh_8204_16_A"); gruppen["8204"].push("Ryh_8204_16_B"); gruppen["8204"].push("Ryh_8204_17_A"); gruppen["8204"].push("Ryh_8204_17_B"); gruppen["8204"].push("Ryh_8204_17_C"); gruppen["8204"].push("Ryh_8204_18_A"); gruppen["8204"].push("Ryh_8204_18_B"); gruppen["8204"].push("Ryh_8204_18_C"); gruppen["8204"].push("Ryh_8204_19"); gruppen["8204"].push("Ryh_8204_20_A"); gruppen["8204"].push("Ryh_8204_20_B"); gruppen["8204"].push("Ryh_8204_21_A"); gruppen["8204"].push("Ryh_8204_21_B"); gruppen["8204"].push("Ryh_8204_22_A"); gruppen["8204"].push("Ryh_8204_22_B"); gruppen["8204"].push("Ryh_8204_22_C"); gruppen["8204"].push("Ryh_8204_23_A"); gruppen["8204"].push("Ryh_8204_23_B"); gruppen["8204"].push("Ryh_8204_23_C"); gruppen["8204"].push("Ryh_8204_25"); gruppen["8204"].push("Ryh_8204_26"); gruppen["8204"].push("Ryh_8204_41"); gruppen["8204"].push("Ryh_8204_42"); gruppen["8204"].push("Ryh_8204_43"); gruppen["8204"].push("Ryh_8204_44"); gruppen["8204"].push("Ryh_8204_45"); gruppen["8205"] = new Array(); gruppen["8205"].push("Ryh_8205_1"); gruppen["8205"].push("Ryh_8205_2"); gruppen["8205"].push("Ryh_8205_3"); gruppen["8205"].push("Ryh_8205_4"); gruppen["8205"].push("Ryh_8205_5"); gruppen["8205"].push("Ryh_8205_6"); gruppen["8205"].push("Ryh_8205_7"); gruppen["8205"].push("Ryh_8205_8"); gruppen["8205"].push("Ryh_8205_9"); gruppen["8205"].push("Ryh_8205_10"); gruppen["8205"].push("Ryh_8205_11"); gruppen["8205"].push("Ryh_8205_12"); gruppen["8205"].push("Ryh_8205_13"); gruppen["8205"].push("Ryh_8205_21"); gruppen["8205"].push("Ryh_8205_22"); gruppen["8205"].push("Ryh_8205_23_A"); gruppen["8205"].push("Ryh_8205_23_B"); gruppen["8205"].push("Ryh_8205_23_C"); gruppen["8205"].push("Ryh_8205_24"); gruppen["8205"].push("Ryh_8205_25"); gruppen["8205"].push("Ryh_8205_28"); gruppen["8205"].push("Ryh_8205_29"); gruppen["8205"].push("Ryh_8205_30_A"); gruppen["8205"].push("Ryh_8205_30_B"); gruppen["8205"].push("Ryh_8205_31_A"); gruppen["8205"].push("Ryh_8205_31_B"); gruppen["8205"].push("Ryh_8205_31_C"); gruppen["8205"].push("Ryh_8205_32"); gruppen["8205"].push("Ryh_8205_33"); gruppen["8205"].push("Ryh_8205_34"); gruppen["8205"].push("Ryh_8205_51"); gruppen["8205"].push("Ryh_8205_52"); gruppen["8301"] = new Array(); gruppen["8301"].push("Ryh_8301_1_A"); gruppen["8301"].push("Ryh_8301_1_B"); gruppen["8301"].push("Ryh_8301_1_C"); gruppen["8301"].push("Ryh_8301_1_D"); gruppen["8301"].push("Ryh_8301_1_E"); gruppen["8301"].push("Ryh_8301_1_F"); gruppen["8301"].push("Ryh_8301_1_G"); gruppen["8301"].push("Ryh_8301_1_H"); gruppen["8301"].push("Ryh_8301_1_I"); gruppen["8301"].push("Ryh_8301_2_A"); gruppen["8301"].push("Ryh_8301_2_B"); gruppen["8301"].push("Ryh_8301_2_C"); gruppen["8301"].push("Ryh_8301_2_D"); gruppen["8301"].push("Ryh_8301_2_E"); gruppen["8301"].push("Ryh_8301_2_F"); gruppen["8301"].push("Ryh_8301_2_G"); gruppen["8301"].push("Ryh_8301_2_H"); gruppen["8301"].push("Ryh_8301_2_I"); gruppen["8301"].push("Ryh_8301_3_A"); gruppen["8301"].push("Ryh_8301_3_B"); gruppen["8301"].push("Ryh_8301_3_C"); gruppen["8301"].push("Ryh_8301_3_D"); gruppen["8301"].push("Ryh_8301_3_E"); gruppen["8301"].push("Ryh_8301_3_F"); gruppen["8301"].push("Ryh_8301_3_G"); gruppen["8301"].push("Ryh_8301_3_H"); gruppen["8301"].push("Ryh_8301_3_I"); gruppen["8301"].push("Ryh_8301_4_A"); gruppen["8301"].push("Ryh_8301_4_B"); gruppen["8301"].push("Ryh_8301_4_C"); gruppen["8301"].push("Ryh_8301_4_D"); gruppen["8301"].push("Ryh_8301_4_E"); gruppen["8301"].push("Ryh_8301_4_F"); gruppen["8301"].push("Ryh_8301_4_G"); gruppen["8301"].push("Ryh_8301_4_H"); gruppen["8301"].push("Ryh_8301_4_I"); gruppen["8301"].push("Ryh_8301_5_A"); gruppen["8301"].push("Ryh_8301_5_B"); gruppen["8301"].push("Ryh_8301_5_C"); gruppen["8301"].push("Ryh_8301_5_D"); gruppen["8301"].push("Ryh_8301_5_E"); gruppen["8301"].push("Ryh_8301_5_F"); gruppen["8301"].push("Ryh_8301_5_G"); gruppen["8301"].push("Ryh_8301_5_H"); gruppen["8301"].push("Ryh_8301_5_I"); gruppen["8301"].push("Ryh_8301_6_A"); gruppen["8301"].push("Ryh_8301_6_B"); gruppen["8301"].push("Ryh_8301_6_C"); gruppen["8301"].push("Ryh_8301_6_D"); gruppen["8301"].push("Ryh_8301_6_E"); gruppen["8301"].push("Ryh_8301_6_F"); gruppen["8301"].push("Ryh_8301_6_G"); gruppen["8301"].push("Ryh_8301_6_H"); gruppen["8301"].push("Ryh_8301_6_I"); gruppen["8301"].push("Ryh_8301_7_A"); gruppen["8301"].push("Ryh_8301_7_B"); gruppen["8301"].push("Ryh_8301_7_C"); gruppen["8301"].push("Ryh_8301_7_D"); gruppen["8301"].push("Ryh_8301_7_E"); gruppen["8301"].push("Ryh_8301_7_F"); gruppen["8301"].push("Ryh_8301_7_G"); gruppen["8301"].push("Ryh_8301_7_H"); gruppen["8301"].push("Ryh_8301_7_I"); gruppen["8301"].push("Ryh_8301_8_A"); gruppen["8301"].push("Ryh_8301_8_B"); gruppen["8301"].push("Ryh_8301_8_C"); gruppen["8301"].push("Ryh_8301_8_D"); gruppen["8301"].push("Ryh_8301_8_E"); gruppen["8301"].push("Ryh_8301_8_F"); gruppen["8301"].push("Ryh_8301_8_G"); gruppen["8301"].push("Ryh_8301_8_H"); gruppen["8301"].push("Ryh_8301_8_I"); gruppen["8301"].push("Ryh_8301_9_A"); gruppen["8301"].push("Ryh_8301_9_B"); gruppen["8301"].push("Ryh_8301_9_C"); gruppen["8301"].push("Ryh_8301_9_D"); gruppen["8301"].push("Ryh_8301_9_E"); gruppen["8301"].push("Ryh_8301_9_F"); gruppen["8301"].push("Ryh_8301_9_G"); gruppen["8301"].push("Ryh_8301_9_H"); gruppen["8301"].push("Ryh_8301_9_I"); gruppen["8301"].push("Ryh_8301_10_A"); gruppen["8301"].push("Ryh_8301_10_B"); gruppen["8301"].push("Ryh_8301_10_C"); gruppen["8301"].push("Ryh_8301_10_D"); gruppen["8301"].push("Ryh_8301_10_E"); gruppen["8301"].push("Ryh_8301_10_F"); gruppen["8301"].push("Ryh_8301_10_G"); gruppen["8301"].push("Ryh_8301_10_H"); gruppen["8301"].push("Ryh_8301_10_I"); gruppen["8301"].push("Ryh_8301_11_A"); gruppen["8301"].push("Ryh_8301_11_B"); gruppen["8301"].push("Ryh_8301_11_C"); gruppen["8301"].push("Ryh_8301_11_D"); gruppen["8301"].push("Ryh_8301_11_E"); gruppen["8301"].push("Ryh_8301_11_F"); gruppen["8301"].push("Ryh_8301_11_G"); gruppen["8301"].push("Ryh_8301_11_H"); gruppen["8301"].push("Ryh_8301_11_I"); gruppen["8301"].push("Ryh_8301_12_A"); gruppen["8301"].push("Ryh_8301_12_B"); gruppen["8301"].push("Ryh_8301_12_C"); gruppen["8301"].push("Ryh_8301_12_D"); gruppen["8301"].push("Ryh_8301_12_E"); gruppen["8301"].push("Ryh_8301_12_F"); gruppen["8301"].push("Ryh_8301_12_G"); gruppen["8301"].push("Ryh_8301_12_H"); gruppen["8301"].push("Ryh_8301_12_I"); gruppen["8301"].push("Ryh_8301_13_A"); gruppen["8301"].push("Ryh_8301_13_B"); gruppen["8301"].push("Ryh_8301_13_C"); gruppen["8301"].push("Ryh_8301_13_D"); gruppen["8301"].push("Ryh_8301_13_E"); gruppen["8301"].push("Ryh_8301_13_F"); gruppen["8301"].push("Ryh_8301_13_G"); gruppen["8301"].push("Ryh_8301_13_H"); gruppen["8301"].push("Ryh_8301_13_I"); gruppen["8301"].push("Ryh_8301_14"); gruppen["8301"].push("Ryh_8301_15"); gruppen["8301"].push("Ryh_8301_16"); gruppen["8301"].push("Ryh_8301_17"); gruppen["8301"].push("Ryh_8301_18"); gruppen["8301"].push("Ryh_8301_19"); gruppen["8301"].push("Ryh_8301_20"); gruppen["8301"].push("Ryh_8301_21"); gruppen["8301"].push("Ryh_8301_22"); gruppen["8301"].push("Ryh_8301_23"); gruppen["8301"].push("Ryh_8301_24"); gruppen["8301"].push("Ryh_8301_25"); gruppen["8301"].push("Ryh_8301_26"); gruppen["8301"].push("Ryh_8301_27"); gruppen["8301"].push("Ryh_8301_28"); gruppen["8301"].push("Ryh_8301_29"); gruppen["8301"].push("Ryh_8301_30"); gruppen["8301"].push("Ryh_8301_31"); gruppen["8301"].push("Ryh_8301_32"); gruppen["8301"].push("Ryh_8301_33"); gruppen["8301"].push("Ryh_8301_34"); gruppen["8301"].push("Ryh_8301_35"); gruppen["8301"].push("Ryh_8301_36"); gruppen["8301"].push("Ryh_8301_37"); gruppen["8301"].push("Ryh_8301_38"); gruppen["8301"].push("Ryh_8301_39"); gruppen["8301"].push("Ryh_8301_40"); gruppen["8301"].push("Ryh_8301_41"); gruppen["8301"].push("Ryh_8301_42"); gruppen["8301"].push("Ryh_8301_50"); gruppen["8303"] = new Array(); gruppen["8303"].push("Ryh_8303_1"); gruppen["8303"].push("Ryh_8303_2"); gruppen["8303"].push("Ryh_8303_3"); gruppen["8303"].push("Ryh_8303_4"); gruppen["8303"].push("Ryh_8303_5"); gruppen["8303"].push("Ryh_8303_9"); gruppen["8303"].push("Ryh_8303_10"); gruppen["8303"].push("Ryh_8303_11"); gruppen["8303"].push("Ryh_8303_12"); gruppen["8303"].push("Ryh_8303_13"); gruppen["8303"].push("Ryh_8303_14"); gruppen["8303"].push("Ryh_8303_19"); gruppen["8303"].push("Ryh_8303_20"); gruppen["8303"].push("Ryh_8303_21_A"); gruppen["8303"].push("Ryh_8303_21_B"); gruppen["8303"].push("Ryh_8303_28"); gruppen["8303"].push("Ryh_8303_29"); gruppen["8303"].push("Ryh_8303_31"); gruppen["8303"].push("Ryh_8303_32"); gruppen["8303"].push("Ryh_8303_33"); gruppen["8303"].push("Ryh_8303_34"); gruppen["8303"].push("Ryh_8303_35"); gruppen["8304"] = new Array(); gruppen["8304"].push("Ryh_8304_"); gruppen["8401"] = new Array(); gruppen["8401"].push("Ryh_8401_1_A"); gruppen["8401"].push("Ryh_8401_1_B"); gruppen["8401"].push("Ryh_8401_2_A"); gruppen["8401"].push("Ryh_8401_2_B"); gruppen["8401"].push("Ryh_8401_3_A"); gruppen["8401"].push("Ryh_8401_3_B"); gruppen["8401"].push("Ryh_8401_4_A"); gruppen["8401"].push("Ryh_8401_4_B"); gruppen["8401"].push("Ryh_8401_5"); gruppen["8401"].push("Ryh_8401_6"); gruppen["8401"].push("Ryh_8401_7_A"); gruppen["8401"].push("Ryh_8401_7_B"); gruppen["8401"].push("Ryh_8401_8_A"); gruppen["8401"].push("Ryh_8401_8_B"); gruppen["8401"].push("Ryh_8401_9_A"); gruppen["8401"].push("Ryh_8401_9_B"); gruppen["8401"].push("Ryh_8401_10_A"); gruppen["8401"].push("Ryh_8401_10_B"); gruppen["8401"].push("Ryh_8401_11_A"); gruppen["8401"].push("Ryh_8401_11_B"); gruppen["8401"].push("Ryh_8401_12_A"); gruppen["8401"].push("Ryh_8401_12_B"); gruppen["8401"].push("Ryh_8401_12_C"); gruppen["8401"].push("Ryh_8401_13_A"); gruppen["8401"].push("Ryh_8401_13_B"); gruppen["8401"].push("Ryh_8401_14_A"); gruppen["8401"].push("Ryh_8401_14_B"); gruppen["8401"].push("Ryh_8401_15_A"); gruppen["8401"].push("Ryh_8401_15_B"); gruppen["8401"].push("Ryh_8401_16_A"); gruppen["8401"].push("Ryh_8401_16_B"); gruppen["8401"].push("Ryh_8401_17_A"); gruppen["8401"].push("Ryh_8401_17_B"); gruppen["8401"].push("Ryh_8401_18_A"); gruppen["8401"].push("Ryh_8401_18_B"); gruppen["8401"].push("Ryh_8401_19_A"); gruppen["8401"].push("Ryh_8401_19_B"); gruppen["8401"].push("Ryh_8401_20_A"); gruppen["8401"].push("Ryh_8401_20_B"); gruppen["8401"].push("Ryh_8401_20_C"); gruppen["8401"].push("Ryh_8401_20_D"); gruppen["8401"].push("Ryh_8401_21_A"); gruppen["8401"].push("Ryh_8401_21_B"); gruppen["8401"].push("Ryh_8401_21_C"); gruppen["8401"].push("Ryh_8401_22_A"); gruppen["8401"].push("Ryh_8401_22_B"); gruppen["8401"].push("Ryh_8401_23_A"); gruppen["8401"].push("Ryh_8401_23_B"); gruppen["8401"].push("Ryh_8401_24_A"); gruppen["8401"].push("Ryh_8401_24_B"); gruppen["8401"].push("Ryh_8401_25_A"); gruppen["8401"].push("Ryh_8401_25_B"); gruppen["8401"].push("Ryh_8401_26_A"); gruppen["8401"].push("Ryh_8401_26_B"); gruppen["8401"].push("Ryh_8401_27_A"); gruppen["8401"].push("Ryh_8401_27_B"); gruppen["8401"].push("Ryh_8401_28_A"); gruppen["8401"].push("Ryh_8401_28_B"); gruppen["8401"].push("Ryh_8401_29_A"); gruppen["8401"].push("Ryh_8401_29_B"); gruppen["8401"].push("Ryh_8401_30_A"); gruppen["8401"].push("Ryh_8401_30_B"); gruppen["8401"].push("Ryh_8401_31_A"); gruppen["8401"].push("Ryh_8401_31_B"); gruppen["8401"].push("Ryh_8401_32"); gruppen["8401"].push("Ryh_8401_33"); gruppen["8401"].push("Ryh_8401_34"); gruppen["8401"].push("Ryh_8401_35_A"); gruppen["8401"].push("Ryh_8401_35_B"); gruppen["8401"].push("Ryh_8401_35_C"); gruppen["8401"].push("Ryh_8401_36"); gruppen["8401"].push("Ryh_8401_37"); gruppen["8401"].push("Ryh_8401_38_A"); gruppen["8401"].push("Ryh_8401_38_B"); gruppen["8401"].push("Ryh_8401_38_C"); gruppen["8401"].push("Ryh_8401_39_A"); gruppen["8401"].push("Ryh_8401_39_B"); gruppen["8401"].push("Ryh_8401_40_A"); gruppen["8401"].push("Ryh_8401_40_B"); gruppen["8401"].push("Ryh_8401_41_A"); gruppen["8401"].push("Ryh_8401_41_B"); gruppen["8401"].push("Ryh_8401_41_C"); gruppen["8401"].push("Ryh_8401_42_A"); gruppen["8401"].push("Ryh_8401_42_B"); gruppen["8401"].push("Ryh_8401_43"); gruppen["8401"].push("Ryh_8401_44"); gruppen["8401"].push("Ryh_8401_45_A"); gruppen["8401"].push("Ryh_8401_45_B"); gruppen["8401"].push("Ryh_8401_45_C"); gruppen["8401"].push("Ryh_8401_46"); gruppen["8401"].push("Ryh_8401_47"); gruppen["8401"].push("Ryh_8401_48_A"); gruppen["8401"].push("Ryh_8401_48_B"); gruppen["8401"].push("Ryh_8401_49"); gruppen["8401"].push("Ryh_8401_50"); gruppen["8401"].push("Ryh_8401_51_A"); gruppen["8401"].push("Ryh_8401_51_B"); gruppen["8401"].push("Ryh_8401_52_A"); gruppen["8401"].push("Ryh_8401_52_B"); gruppen["8401"].push("Ryh_8401_53_A"); gruppen["8401"].push("Ryh_8401_53_B"); gruppen["8401"].push("Ryh_8401_53_C"); gruppen["8401"].push("Ryh_8401_53_D"); gruppen["8401"].push("Ryh_8401_54_A"); gruppen["8401"].push("Ryh_8401_54_B"); gruppen["8401"].push("Ryh_8401_54_C"); gruppen["8401"].push("Ryh_8401_55_A"); gruppen["8401"].push("Ryh_8401_55_B"); gruppen["8401"].push("Ryh_8401_55_C"); gruppen["8401"].push("Ryh_8401_56_A"); gruppen["8401"].push("Ryh_8401_56_B"); gruppen["8401"].push("Ryh_8401_57_A"); gruppen["8401"].push("Ryh_8401_57_B"); gruppen["8401"].push("Ryh_8401_58"); gruppen["8401"].push("Ryh_8401_59_A"); gruppen["8401"].push("Ryh_8401_59_B"); gruppen["8401"].push("Ryh_8401_60_A"); gruppen["8401"].push("Ryh_8401_60_B"); gruppen["8401"].push("Ryh_8401_61_A"); gruppen["8401"].push("Ryh_8401_61_B"); gruppen["8401"].push("Ryh_8401_62_A"); gruppen["8401"].push("Ryh_8401_62_B"); gruppen["8402"] = new Array(); gruppen["8402"].push("Ryh_8402_1_A"); gruppen["8402"].push("Ryh_8402_1_B"); gruppen["8402"].push("Ryh_8402_2_A"); gruppen["8402"].push("Ryh_8402_2_B"); gruppen["8402"].push("Ryh_8402_3_A"); gruppen["8402"].push("Ryh_8402_3_B"); gruppen["8402"].push("Ryh_8402_4_A"); gruppen["8402"].push("Ryh_8402_4_B"); gruppen["8402"].push("Ryh_8402_4_C"); gruppen["8402"].push("Ryh_8402_4_D"); gruppen["8402"].push("Ryh_8402_5_A"); gruppen["8402"].push("Ryh_8402_5_B"); gruppen["8402"].push("Ryh_8402_5_C"); gruppen["8402"].push("Ryh_8402_5_D"); gruppen["8402"].push("Ryh_8402_6"); gruppen["8402"].push("Ryh_8402_7_A"); gruppen["8402"].push("Ryh_8402_7_B"); gruppen["8402"].push("Ryh_8402_8_A"); gruppen["8402"].push("Ryh_8402_8_B"); gruppen["8402"].push("Ryh_8402_9_A"); gruppen["8402"].push("Ryh_8402_9_B"); gruppen["8402"].push("Ryh_8402_10"); gruppen["8402"].push("Ryh_8402_11_A"); gruppen["8402"].push("Ryh_8402_11_B"); gruppen["8402"].push("Ryh_8402_12_A"); gruppen["8402"].push("Ryh_8402_12_B"); gruppen["8402"].push("Ryh_8402_12_C"); gruppen["8402"].push("Ryh_8402_13_A"); gruppen["8402"].push("Ryh_8402_13_B"); gruppen["8402"].push("Ryh_8402_13_C"); gruppen["8402"].push("Ryh_8402_14_A"); gruppen["8402"].push("Ryh_8402_14_B"); gruppen["8402"].push("Ryh_8402_15_A"); gruppen["8402"].push("Ryh_8402_15_B"); gruppen["8402"].push("Ryh_8402_16_A"); gruppen["8402"].push("Ryh_8402_16_B"); gruppen["8402"].push("Ryh_8402_16_C"); gruppen["8402"].push("Ryh_8402_17_A"); gruppen["8402"].push("Ryh_8402_17_B"); gruppen["8402"].push("Ryh_8402_18_A"); gruppen["8402"].push("Ryh_8402_18_B"); gruppen["8402"].push("Ryh_8402_19_A"); gruppen["8402"].push("Ryh_8402_19_B"); gruppen["8402"].push("Ryh_8402_19_C"); gruppen["8402"].push("Ryh_8402_20_A"); gruppen["8402"].push("Ryh_8402_20_B"); gruppen["8402"].push("Ryh_8402_21_A"); gruppen["8402"].push("Ryh_8402_21_B"); gruppen["8402"].push("Ryh_8402_22_A"); gruppen["8402"].push("Ryh_8402_22_B"); gruppen["8402"].push("Ryh_8402_23_A"); gruppen["8402"].push("Ryh_8402_23_B"); gruppen["8402"].push("Ryh_8402_24_A"); gruppen["8402"].push("Ryh_8402_24_B"); gruppen["8402"].push("Ryh_8402_24_C"); gruppen["8402"].push("Ryh_8402_24_D"); gruppen["8402"].push("Ryh_8402_25_A"); gruppen["8402"].push("Ryh_8402_25_B"); gruppen["8402"].push("Ryh_8402_26_A"); gruppen["8402"].push("Ryh_8402_26_B"); gruppen["8402"].push("Ryh_8402_27_A"); gruppen["8402"].push("Ryh_8402_27_B"); gruppen["8402"].push("Ryh_8402_28_A"); gruppen["8402"].push("Ryh_8402_28_B"); gruppen["8402"].push("Ryh_8402_28_C"); gruppen["8402"].push("Ryh_8402_29_A"); gruppen["8402"].push("Ryh_8402_29_B"); gruppen["8402"].push("Ryh_8402_30"); gruppen["8402"].push("Ryh_8402_31_A"); gruppen["8402"].push("Ryh_8402_31_B"); gruppen["8402"].push("Ryh_8402_32_A"); gruppen["8402"].push("Ryh_8402_32_B"); gruppen["8402"].push("Ryh_8402_33"); gruppen["8402"].push("Ryh_8402_34_A"); gruppen["8402"].push("Ryh_8402_34_B"); gruppen["8402"].push("Ryh_8402_34_C"); gruppen["8402"].push("Ryh_8402_35_A"); gruppen["8402"].push("Ryh_8402_35_B"); gruppen["8402"].push("Ryh_8402_36_A"); gruppen["8402"].push("Ryh_8402_36_B"); gruppen["8402"].push("Ryh_8402_37_A"); gruppen["8402"].push("Ryh_8402_37_B"); gruppen["8402"].push("Ryh_8402_37_C"); gruppen["8402"].push("Ryh_8402_37_D"); gruppen["8402"].push("Ryh_8402_38_A"); gruppen["8402"].push("Ryh_8402_38_B"); gruppen["8402"].push("Ryh_8402_39_A"); gruppen["8402"].push("Ryh_8402_39_B"); gruppen["8402"].push("Ryh_8402_39_C"); gruppen["8402"].push("Ryh_8402_40_A"); gruppen["8402"].push("Ryh_8402_40_B"); gruppen["8402"].push("Ryh_8402_40_C"); gruppen["8402"].push("Ryh_8402_41_A"); gruppen["8402"].push("Ryh_8402_41_B"); gruppen["8402"].push("Ryh_8402_41_C"); gruppen["8402"].push("Ryh_8402_41_D"); gruppen["8402"].push("Ryh_8402_42_A"); gruppen["8402"].push("Ryh_8402_42_B"); gruppen["8402"].push("Ryh_8402_42_C"); gruppen["8402"].push("Ryh_8402_42_D"); gruppen["8402"].push("Ryh_8402_43_A"); gruppen["8402"].push("Ryh_8402_43_B"); gruppen["8402"].push("Ryh_8402_44_A"); gruppen["8402"].push("Ryh_8402_44_B"); gruppen["8402"].push("Ryh_8402_45_A"); gruppen["8402"].push("Ryh_8402_45_B"); gruppen["8402"].push("Ryh_8402_46_A"); gruppen["8402"].push("Ryh_8402_46_B"); gruppen["8403"] = new Array(); gruppen["8403"].push("Ryh_8403_1_A"); gruppen["8403"].push("Ryh_8403_1_B"); gruppen["8403"].push("Ryh_8403_2_A"); gruppen["8403"].push("Ryh_8403_2_B"); gruppen["8403"].push("Ryh_8403_3_A"); gruppen["8403"].push("Ryh_8403_3_B"); gruppen["8403"].push("Ryh_8403_4_A"); gruppen["8403"].push("Ryh_8403_4_B"); gruppen["8403"].push("Ryh_8403_5_A"); gruppen["8403"].push("Ryh_8403_5_B"); gruppen["8403"].push("Ryh_8403_6_A"); gruppen["8403"].push("Ryh_8403_6_B"); gruppen["8403"].push("Ryh_8403_7_A"); gruppen["8403"].push("Ryh_8403_7_B"); gruppen["8403"].push("Ryh_8403_8_A"); gruppen["8403"].push("Ryh_8403_8_B"); gruppen["8403"].push("Ryh_8403_9_A"); gruppen["8403"].push("Ryh_8403_9_B"); gruppen["8403"].push("Ryh_8403_9_C"); gruppen["8403"].push("Ryh_8403_10_A"); gruppen["8403"].push("Ryh_8403_10_B"); gruppen["8403"].push("Ryh_8403_11_A"); gruppen["8403"].push("Ryh_8403_11_B"); gruppen["8403"].push("Ryh_8403_12_A"); gruppen["8403"].push("Ryh_8403_12_B"); gruppen["8403"].push("Ryh_8403_13_A"); gruppen["8403"].push("Ryh_8403_13_B"); gruppen["8403"].push("Ryh_8403_13_C"); gruppen["8403"].push("Ryh_8403_13_D"); gruppen["8403"].push("Ryh_8403_14_A"); gruppen["8403"].push("Ryh_8403_14_B"); gruppen["8403"].push("Ryh_8403_15_A"); gruppen["8403"].push("Ryh_8403_15_B"); gruppen["8403"].push("Ryh_8403_16_A"); gruppen["8403"].push("Ryh_8403_16_B"); gruppen["8403"].push("Ryh_8403_17_A"); gruppen["8403"].push("Ryh_8403_17_B"); gruppen["8403"].push("Ryh_8403_17_C"); gruppen["8403"].push("Ryh_8403_18_A"); gruppen["8403"].push("Ryh_8403_18_B"); gruppen["8403"].push("Ryh_8403_19"); gruppen["8403"].push("Ryh_8403_20_A"); gruppen["8403"].push("Ryh_8403_20_B"); gruppen["8403"].push("Ryh_8403_21_A"); gruppen["8403"].push("Ryh_8403_21_B"); gruppen["8403"].push("Ryh_8403_22_A"); gruppen["8403"].push("Ryh_8403_22_B"); gruppen["8403"].push("Ryh_8403_23_A"); gruppen["8403"].push("Ryh_8403_23_B"); gruppen["8403"].push("Ryh_8403_24_A"); gruppen["8403"].push("Ryh_8403_24_B"); gruppen["8403"].push("Ryh_8403_25_A"); gruppen["8403"].push("Ryh_8403_25_B"); gruppen["8403"].push("Ryh_8403_26_A"); gruppen["8403"].push("Ryh_8403_26_B"); gruppen["8403"].push("Ryh_8403_27"); gruppen["8403"].push("Ryh_8403_28_A"); gruppen["8403"].push("Ryh_8403_28_B"); gruppen["8403"].push("Ryh_8403_29_A"); gruppen["8403"].push("Ryh_8403_29_B"); gruppen["8403"].push("Ryh_8403_30_A"); gruppen["8403"].push("Ryh_8403_30_B"); gruppen["8403"].push("Ryh_8403_30_C"); gruppen["8403"].push("Ryh_8403_31_A"); gruppen["8403"].push("Ryh_8403_31_B"); gruppen["8403"].push("Ryh_8403_32_A"); gruppen["8403"].push("Ryh_8403_32_B"); gruppen["8601"] = new Array(); gruppen["8601"].push("Ryh_8601_1"); gruppen["8601"].push("Ryh_8601_3"); gruppen["8601"].push("Ryh_8601_6"); gruppen["8601"].push("Ryh_8601_7"); gruppen["8601"].push("Ryh_8601_8"); gruppen["8601"].push("Ryh_8601_9"); gruppen["8601"].push("Ryh_8601_10"); gruppen["8601"].push("Ryh_8601_12"); gruppen["8601"].push("Ryh_8601_13"); gruppen["8601"].push("Ryh_8601_20"); gruppen["8601"].push("Ryh_8601_21"); gruppen["8601"].push("Ryh_8601_22"); gruppen["8601"].push("Ryh_8601_30"); gruppen["8601"].push("Ryh_8601_31"); gruppen["8601"].push("Ryh_8601_32"); gruppen["8601"].push("Ryh_8601_33"); gruppen["8601"].push("Ryh_8601_34"); gruppen["8602"] = new Array(); gruppen["8602"].push("Ryh_8602_1"); gruppen["8602"].push("Ryh_8602_2"); gruppen["8602"].push("Ryh_8602_11"); gruppen["8602"].push("Ryh_8602_17"); gruppen["8602"].push("Ryh_8602_18"); gruppen["8602"].push("Ryh_8602_19"); gruppen["8602"].push("Ryh_8602_20"); gruppen["8602"].push("Ryh_8602_23"); gruppen["8602"].push("Ryh_8602_24"); gruppen["8602"].push("Ryh_8602_25"); gruppen["8602"].push("Ryh_8602_26"); gruppen["8602"].push("Ryh_8602_27"); gruppen["8602"].push("Ryh_8602_30"); gruppen["8602"].push("Ryh_8602_31"); gruppen["8602"].push("Ryh_8602_32"); gruppen["8602"].push("Ryh_8602_33"); gruppen["8602"].push("Ryh_8602_35"); gruppen["8602"].push("Ryh_8602_36"); gruppen["8602"].push("Ryh_8602_47"); gruppen["8602"].push("Ryh_8602_48"); gruppen["8602"].push("Ryh_8602_49"); gruppen["8602"].push("Ryh_8602_50"); gruppen["8603"] = new Array(); gruppen["8603"].push("Ryh_8603_1"); gruppen["8603"].push("Ryh_8603_3"); gruppen["8603"].push("Ryh_8603_4"); gruppen["8603"].push("Ryh_8603_5"); gruppen["8603"].push("Ryh_8603_6"); gruppen["8603"].push("Ryh_8603_14"); gruppen["8603"].push("Ryh_8603_15"); gruppen["8603"].push("Ryh_8603_17"); gruppen["8603"].push("Ryh_8603_18"); gruppen["8603"].push("Ryh_8603_19"); gruppen["8603"].push("Ryh_8603_21"); gruppen["8603"].push("Ryh_8603_25"); gruppen["8603"].push("Ryh_8603_26"); gruppen["8603"].push("Ryh_8603_27"); gruppen["8603"].push("Ryh_8603_30"); gruppen["8603"].push("Ryh_8603_31"); gruppen["8603"].push("Ryh_8603_32"); gruppen["8603"].push("Ryh_8603_35"); gruppen["8603"].push("Ryh_8603_39"); gruppen["8603"].push("Ryh_8603_40"); gruppen["8603"].push("Ryh_8603_41"); gruppen["8603"].push("Ryh_8603_42"); gruppen["8603"].push("Ryh_8603_43"); gruppen["8603"].push("Ryh_8603_44"); gruppen["8603"].push("Ryh_8603_47"); gruppen["8604"] = new Array(); gruppen["8604"].push("Ryh_8604_1"); gruppen["8604"].push("Ryh_8604_2"); gruppen["8604"].push("Ryh_8604_5"); gruppen["8604"].push("Ryh_8604_6"); gruppen["8604"].push("Ryh_8604_7"); gruppen["8604"].push("Ryh_8604_8"); gruppen["8604"].push("Ryh_8604_9"); gruppen["8604"].push("Ryh_8604_10"); gruppen["8604"].push("Ryh_8604_11"); gruppen["8604"].push("Ryh_8604_14"); gruppen["8604"].push("Ryh_8604_15"); gruppen["8604"].push("Ryh_8604_21"); gruppen["8604"].push("Ryh_8604_22"); gruppen["8604"].push("Ryh_8604_23"); gruppen["8604"].push("Ryh_8604_31"); gruppen["8604"].push("Ryh_8604_37"); gruppen["8604"].push("Ryh_8604_38"); gruppen["8604"].push("Ryh_8604_39"); gruppen["8604"].push("Ryh_8604_40"); gruppen["8604"].push("Ryh_8604_41"); gruppen["8604"].push("Ryh_8604_45"); gruppen["8604"].push("Ryh_8604_46"); gruppen["8604"].push("Ryh_8604_47"); gruppen["8605"] = new Array(); gruppen["8605"].push("Ryh_8605_1"); gruppen["8605"].push("Ryh_8605_2"); gruppen["8605"].push("Ryh_8605_3"); gruppen["8605"].push("Ryh_8605_5"); gruppen["8605"].push("Ryh_8605_6"); gruppen["8605"].push("Ryh_8605_7"); gruppen["8605"].push("Ryh_8605_9"); gruppen["8605"].push("Ryh_8605_11"); gruppen["8605"].push("Ryh_8605_17"); gruppen["8605"].push("Ryh_8605_21"); gruppen["8605"].push("Ryh_8605_25"); gruppen["8605"].push("Ryh_8605_26"); gruppen["8605"].push("Ryh_8605_27"); gruppen["8605"].push("Ryh_8605_29"); gruppen["8605"].push("Ryh_8605_30"); gruppen["8605"].push("Ryh_8605_33"); gruppen["8605"].push("Ryh_8605_35"); gruppen["8605"].push("Ryh_8605_39"); gruppen["8605"].push("Ryh_8605_40"); gruppen["8605"].push("Ryh_8605_44"); gruppen["8605"].push("Ryh_8605_45"); gruppen["8605"].push("Ryh_8605_46"); gruppen["8606"] = new Array(); gruppen["8606"].push("Ryh_8606_1"); gruppen["8606"].push("Ryh_8606_2"); gruppen["8606"].push("Ryh_8606_3"); gruppen["8606"].push("Ryh_8606_7"); gruppen["8606"].push("Ryh_8606_8"); gruppen["8606"].push("Ryh_8606_10"); gruppen["8606"].push("Ryh_8606_13"); gruppen["8606"].push("Ryh_8606_14"); gruppen["8606"].push("Ryh_8606_15"); gruppen["8606"].push("Ryh_8606_16"); gruppen["8606"].push("Ryh_8606_17"); gruppen["8606"].push("Ryh_8606_18"); gruppen["8606"].push("Ryh_8606_31"); gruppen["8606"].push("Ryh_8606_32"); gruppen["8606"].push("Ryh_8606_33"); gruppen["8606"].push("Ryh_8606_36"); gruppen["8606"].push("Ryh_8606_37"); gruppen["8606"].push("Ryh_8606_41"); gruppen["8606"].push("Ryh_8606_42"); gruppen["8606"].push("Ryh_8606_43"); gruppen["8606"].push("Ryh_8606_44"); gruppen["8606"].push("Ryh_8606_46"); gruppen["8606"].push("Ryh_8606_47"); gruppen["8607"] = new Array(); gruppen["8607"].push("Ryh_8607_1"); gruppen["8607"].push("Ryh_8607_2"); gruppen["8607"].push("Ryh_8607_3"); gruppen["8607"].push("Ryh_8607_4"); gruppen["8607"].push("Ryh_8607_5"); gruppen["8607"].push("Ryh_8607_10"); gruppen["8607"].push("Ryh_8607_11"); gruppen["8607"].push("Ryh_8607_12_A"); gruppen["8607"].push("Ryh_8607_12_B"); gruppen["8607"].push("Ryh_8607_12_C"); gruppen["8607"].push("Ryh_8607_12_D"); gruppen["8607"].push("Ryh_8607_12_E"); gruppen["8607"].push("Ryh_8607_12_F"); gruppen["8607"].push("Ryh_8607_12_G"); gruppen["8607"].push("Ryh_8607_13"); gruppen["8607"].push("Ryh_8607_14"); gruppen["8607"].push("Ryh_8607_15"); gruppen["8607"].push("Ryh_8607_16_A"); gruppen["8607"].push("Ryh_8607_16_B"); gruppen["8607"].push("Ryh_8607_17"); gruppen["8607"].push("Ryh_8607_18"); gruppen["8607"].push("Ryh_8607_19"); gruppen["8607"].push("Ryh_8607_22"); gruppen["8607"].push("Ryh_8607_23"); gruppen["8607"].push("Ryh_8607_24"); gruppen["8607"].push("Ryh_8607_25"); gruppen["8607"].push("Ryh_8607_26"); gruppen["8607"].push("Ryh_8607_35"); gruppen["8607"].push("Ryh_8607_38"); gruppen["8607"].push("Ryh_8607_39"); gruppen["8607"].push("Ryh_8607_40"); gruppen["8607"].push("Ryh_8607_41"); gruppen["8607"].push("Ryh_8607_42"); gruppen["8607"].push("Ryh_8607_43"); gruppen["8607"].push("Ryh_8607_44"); gruppen["8607"].push("Ryh_8607_45"); gruppen["8607"].push("Ryh_8607_46"); gruppen["8607"].push("Ryh_8607_47"); gruppen["8607"].push("Ryh_8607_48"); gruppen["8607"].push("Ryh_8607_49"); gruppen["8607"].push("Ryh_8607_51"); gruppen["8607"].push("Ryh_8607_52"); gruppen["8607"].push("Ryh_8607_53"); gruppen["8607"].push("Ryh_8607_55"); gruppen["8607"].push("Ryh_8607_56"); gruppen["8607"].push("Ryh_8607_57"); gruppen["8607"].push("Ryh_8607_58"); gruppen["8608"] = new Array(); gruppen["8608"].push("Ryh_8608_1"); gruppen["8608"].push("Ryh_8608_2"); gruppen["8608"].push("Ryh_8608_3"); gruppen["8608"].push("Ryh_8608_4"); gruppen["8608"].push("Ryh_8608_5"); gruppen["8608"].push("Ryh_8608_6"); gruppen["8608"].push("Ryh_8608_7"); gruppen["8608"].push("Ryh_8608_8"); gruppen["8608"].push("Ryh_8608_11"); gruppen["8608"].push("Ryh_8608_12"); gruppen["8608"].push("Ryh_8608_13"); gruppen["8608"].push("Ryh_8608_15"); gruppen["8608"].push("Ryh_8608_16"); gruppen["8608"].push("Ryh_8608_17"); gruppen["8608"].push("Ryh_8608_18"); gruppen["8608"].push("Ryh_8608_19"); gruppen["8608"].push("Ryh_8608_20"); gruppen["8608"].push("Ryh_8608_21"); gruppen["8608"].push("Ryh_8608_22"); gruppen["8608"].push("Ryh_8608_23"); gruppen["8608"].push("Ryh_8608_24"); gruppen["8608"].push("Ryh_8608_25"); gruppen["8608"].push("Ryh_8608_26"); gruppen["8608"].push("Ryh_8608_27"); gruppen["8608"].push("Ryh_8608_28"); gruppen["8608"].push("Ryh_8608_29"); gruppen["8608"].push("Ryh_8608_30"); gruppen["8608"].push("Ryh_8608_31"); gruppen["8608"].push("Ryh_8608_32"); gruppen["8608"].push("Ryh_8608_34"); gruppen["8608"].push("Ryh_8608_35"); gruppen["8608"].push("Ryh_8608_36"); gruppen["8608"].push("Ryh_8608_37"); gruppen["8608"].push("Ryh_8608_55"); gruppen["8608"].push("Ryh_8608_60"); gruppen["8609"] = new Array(); gruppen["8609"].push("Ryh_8609_1"); gruppen["8609"].push("Ryh_8609_2"); gruppen["8609"].push("Ryh_8609_3"); gruppen["8609"].push("Ryh_8609_4"); gruppen["8609"].push("Ryh_8609_9"); gruppen["8609"].push("Ryh_8609_10"); gruppen["8609"].push("Ryh_8609_11"); gruppen["8609"].push("Ryh_8609_12"); gruppen["8609"].push("Ryh_8609_15"); gruppen["8609"].push("Ryh_8609_17"); gruppen["8609"].push("Ryh_8609_18"); gruppen["8609"].push("Ryh_8609_19"); gruppen["8609"].push("Ryh_8609_20"); gruppen["8609"].push("Ryh_8609_21"); gruppen["8609"].push("Ryh_8609_24"); gruppen["8609"].push("Ryh_8609_25"); gruppen["8609"].push("Ryh_8609_27"); gruppen["8609"].push("Ryh_8609_30_A"); gruppen["8609"].push("Ryh_8609_30_B"); gruppen["8609"].push("Ryh_8609_31_A"); gruppen["8609"].push("Ryh_8609_31_B"); gruppen["8609"].push("Ryh_8609_32"); gruppen["8609"].push("Ryh_8609_33"); gruppen["8609"].push("Ryh_8609_35"); gruppen["8609"].push("Ryh_8609_37"); gruppen["8609"].push("Ryh_8609_39"); gruppen["8609"].push("Ryh_8609_40"); gruppen["8609"].push("Ryh_8609_42_A"); gruppen["8609"].push("Ryh_8609_42_B"); gruppen["8609"].push("Ryh_8609_42_C"); gruppen["8609"].push("Ryh_8609_42_D"); gruppen["8609"].push("Ryh_8609_43_A"); gruppen["8609"].push("Ryh_8609_43_B"); gruppen["8609"].push("Ryh_8609_44"); gruppen["8609"].push("Ryh_8609_45"); gruppen["8609"].push("Ryh_8609_46"); gruppen["8609"].push("Ryh_8609_47"); gruppen["8609"].push("Ryh_8609_49"); gruppen["8609"].push("Ryh_8609_50"); gruppen["8609"].push("Ryh_8609_51"); gruppen["8609"].push("Ryh_8609_52"); gruppen["8609"].push("Ryh_8609_53"); gruppen["8609"].push("Ryh_8609_54"); gruppen["8609"].push("Ryh_8609_55"); gruppen["8610"] = new Array(); gruppen["8610"].push("Ryh_8610_1"); gruppen["8610"].push("Ryh_8610_4"); gruppen["8610"].push("Ryh_8610_5"); gruppen["8610"].push("Ryh_8610_6"); gruppen["8610"].push("Ryh_8610_8"); gruppen["8610"].push("Ryh_8610_9"); gruppen["8610"].push("Ryh_8610_10"); gruppen["8610"].push("Ryh_8610_14"); gruppen["8610"].push("Ryh_8610_15"); gruppen["8610"].push("Ryh_8610_20"); gruppen["8610"].push("Ryh_8610_21"); gruppen["8610"].push("Ryh_8610_23"); gruppen["8610"].push("Ryh_8610_24"); gruppen["8610"].push("Ryh_8610_25"); gruppen["8610"].push("Ryh_8610_27"); gruppen["8610"].push("Ryh_8610_32"); gruppen["8610"].push("Ryh_8610_33"); gruppen["8610"].push("Ryh_8610_34"); gruppen["8610"].push("Ryh_8610_35"); gruppen["8610"].push("Ryh_8610_36"); gruppen["8610"].push("Ryh_8610_37"); gruppen["8610"].push("Ryh_8610_38"); gruppen["8611"] = new Array(); gruppen["8611"].push("Ryh_8611_1"); gruppen["8611"].push("Ryh_8611_2"); gruppen["8611"].push("Ryh_8611_3"); gruppen["8611"].push("Ryh_8611_6"); gruppen["8611"].push("Ryh_8611_7"); gruppen["8611"].push("Ryh_8611_8"); gruppen["8611"].push("Ryh_8611_9"); gruppen["8611"].push("Ryh_8611_10"); gruppen["8611"].push("Ryh_8611_11"); gruppen["8611"].push("Ryh_8611_12"); gruppen["8611"].push("Ryh_8611_13"); gruppen["8611"].push("Ryh_8611_14"); gruppen["8611"].push("Ryh_8611_15"); gruppen["8611"].push("Ryh_8611_16"); gruppen["8611"].push("Ryh_8611_18"); gruppen["8611"].push("Ryh_8611_19"); gruppen["8611"].push("Ryh_8611_20"); gruppen["8611"].push("Ryh_8611_21"); gruppen["8611"].push("Ryh_8611_22"); gruppen["8611"].push("Ryh_8611_23"); gruppen["8611"].push("Ryh_8611_25"); gruppen["8611"].push("Ryh_8611_26"); gruppen["8611"].push("Ryh_8611_27"); gruppen["8611"].push("Ryh_8611_28"); gruppen["8611"].push("Ryh_8611_29"); gruppen["8611"].push("Ryh_8611_30"); gruppen["8611"].push("Ryh_8611_31"); gruppen["8611"].push("Ryh_8611_32"); gruppen["8611"].push("Ryh_8611_33"); gruppen["8611"].push("Ryh_8611_34"); gruppen["8611"].push("Ryh_8611_35"); gruppen["8611"].push("Ryh_8611_41"); gruppen["8612"] = new Array(); gruppen["8612"].push("Ryh_8612_1"); gruppen["8612"].push("Ryh_8612_2"); gruppen["8612"].push("Ryh_8612_3"); gruppen["8612"].push("Ryh_8612_4"); gruppen["8612"].push("Ryh_8612_5"); gruppen["8612"].push("Ryh_8612_6"); gruppen["8612"].push("Ryh_8612_7"); gruppen["8612"].push("Ryh_8612_8"); gruppen["8612"].push("Ryh_8612_9"); gruppen["8612"].push("Ryh_8612_10"); gruppen["8612"].push("Ryh_8612_11"); gruppen["8612"].push("Ryh_8612_12"); gruppen["8612"].push("Ryh_8612_13"); gruppen["8612"].push("Ryh_8612_14"); gruppen["8612"].push("Ryh_8612_15"); gruppen["8612"].push("Ryh_8612_16"); gruppen["8612"].push("Ryh_8612_17"); gruppen["8612"].push("Ryh_8612_18"); gruppen["8612"].push("Ryh_8612_19"); gruppen["8612"].push("Ryh_8612_30"); gruppen["8612"].push("Ryh_8612_31"); gruppen["8612"].push("Ryh_8612_36"); gruppen["8612"].push("Ryh_8612_37"); gruppen["8612"].push("Ryh_8612_38"); gruppen["8612"].push("Ryh_8612_39"); gruppen["8613"] = new Array(); gruppen["8613"].push("Ryh_8613_1"); gruppen["8613"].push("Ryh_8613_2"); gruppen["8613"].push("Ryh_8613_3"); gruppen["8613"].push("Ryh_8613_4"); gruppen["8613"].push("Ryh_8613_5"); gruppen["8613"].push("Ryh_8613_6"); gruppen["8613"].push("Ryh_8613_7"); gruppen["8613"].push("Ryh_8613_8"); gruppen["8613"].push("Ryh_8613_9"); gruppen["8613"].push("Ryh_8613_10"); gruppen["8613"].push("Ryh_8613_11"); gruppen["8613"].push("Ryh_8613_12"); gruppen["8613"].push("Ryh_8613_16"); gruppen["8613"].push("Ryh_8613_17"); gruppen["8613"].push("Ryh_8613_18"); gruppen["8613"].push("Ryh_8613_19"); gruppen["8613"].push("Ryh_8613_20"); gruppen["8613"].push("Ryh_8613_21"); gruppen["8613"].push("Ryh_8613_22"); gruppen["8613"].push("Ryh_8613_23"); gruppen["8613"].push("Ryh_8613_24"); gruppen["8613"].push("Ryh_8613_25"); gruppen["8613"].push("Ryh_8613_31"); gruppen["8613"].push("Ryh_8613_33"); gruppen["8613"].push("Ryh_8613_34"); gruppen["8613"].push("Ryh_8613_35"); gruppen["8613"].push("Ryh_8613_36"); gruppen["8613"].push("Ryh_8613_37"); gruppen["8614"] = new Array(); gruppen["8614"].push("Ryh_8614_1_A"); gruppen["8614"].push("Ryh_8614_1_B"); gruppen["8614"].push("Ryh_8614_2"); gruppen["8614"].push("Ryh_8614_4"); gruppen["8614"].push("Ryh_8614_5"); gruppen["8614"].push("Ryh_8614_6"); gruppen["8614"].push("Ryh_8614_7"); gruppen["8614"].push("Ryh_8614_8"); gruppen["8614"].push("Ryh_8614_9"); gruppen["8614"].push("Ryh_8614_10"); gruppen["8614"].push("Ryh_8614_11"); gruppen["8614"].push("Ryh_8614_12"); gruppen["8614"].push("Ryh_8614_13"); gruppen["8614"].push("Ryh_8614_26"); gruppen["8614"].push("Ryh_8614_27"); gruppen["8614"].push("Ryh_8614_28"); gruppen["8614"].push("Ryh_8614_29"); gruppen["8614"].push("Ryh_8614_30"); gruppen["8614"].push("Ryh_8614_31"); gruppen["8614"].push("Ryh_8614_33"); gruppen["8614"].push("Ryh_8614_35"); gruppen["8614"].push("Ryh_8614_36"); gruppen["8614"].push("Ryh_8614_37"); gruppen["8615"] = new Array(); gruppen["8615"].push("Ryh_8615_1"); gruppen["8615"].push("Ryh_8615_2"); gruppen["8615"].push("Ryh_8615_3"); gruppen["8615"].push("Ryh_8615_4"); gruppen["8615"].push("Ryh_8615_5"); gruppen["8615"].push("Ryh_8615_6"); gruppen["8615"].push("Ryh_8615_7"); gruppen["8615"].push("Ryh_8615_8"); gruppen["8615"].push("Ryh_8615_9"); gruppen["8615"].push("Ryh_8615_10"); gruppen["8615"].push("Ryh_8615_11"); gruppen["8615"].push("Ryh_8615_12"); gruppen["8615"].push("Ryh_8615_13"); gruppen["8615"].push("Ryh_8615_14"); gruppen["8615"].push("Ryh_8615_15"); gruppen["8615"].push("Ryh_8615_16"); gruppen["8615"].push("Ryh_8615_17"); gruppen["8615"].push("Ryh_8615_20"); gruppen["8615"].push("Ryh_8615_21"); gruppen["8615"].push("Ryh_8615_22"); gruppen["8615"].push("Ryh_8615_23"); gruppen["8615"].push("Ryh_8615_24"); gruppen["8615"].push("Ryh_8615_25"); gruppen["8615"].push("Ryh_8615_26"); gruppen["8615"].push("Ryh_8615_27"); gruppen["8615"].push("Ryh_8615_28"); gruppen["8615"].push("Ryh_8615_29"); gruppen["8615"].push("Ryh_8615_30"); gruppen["8615"].push("Ryh_8615_31"); gruppen["8615"].push("Ryh_8615_32"); gruppen["8615"].push("Ryh_8615_33"); gruppen["8615"].push("Ryh_8615_34"); gruppen["8615"].push("Ryh_8615_35"); gruppen["8615"].push("Ryh_8615_36"); gruppen["8615"].push("Ryh_8615_37"); gruppen["8615"].push("Ryh_8615_38"); gruppen["8615"].push("Ryh_8615_39"); gruppen["8615"].push("Ryh_8615_40"); gruppen["8615"].push("Ryh_8615_48"); gruppen["8615"].push("Ryh_8615_49"); gruppen["8615"].push("Ryh_8615_50"); gruppen["8615"].push("Ryh_8615_52"); gruppen["8616"] = new Array(); gruppen["8616"].push("Ryh_8616_1"); gruppen["8616"].push("Ryh_8616_2"); gruppen["8616"].push("Ryh_8616_3"); gruppen["8616"].push("Ryh_8616_6"); gruppen["8616"].push("Ryh_8616_7"); gruppen["8616"].push("Ryh_8616_8"); gruppen["8616"].push("Ryh_8616_9"); gruppen["8616"].push("Ryh_8616_11"); gruppen["8616"].push("Ryh_8616_12"); gruppen["8616"].push("Ryh_8616_15"); gruppen["8616"].push("Ryh_8616_16"); gruppen["8616"].push("Ryh_8616_17"); gruppen["8616"].push("Ryh_8616_18"); gruppen["8616"].push("Ryh_8616_19"); gruppen["8616"].push("Ryh_8616_21"); gruppen["8616"].push("Ryh_8616_22"); gruppen["8616"].push("Ryh_8616_23"); gruppen["8617"] = new Array(); gruppen["8617"].push("Ryh_8617_1"); gruppen["8617"].push("Ryh_8617_2"); gruppen["8617"].push("Ryh_8617_3"); gruppen["8617"].push("Ryh_8617_4"); gruppen["8617"].push("Ryh_8617_6"); gruppen["8617"].push("Ryh_8617_8"); gruppen["8617"].push("Ryh_8617_10"); gruppen["8617"].push("Ryh_8617_11"); gruppen["8617"].push("Ryh_8617_12"); gruppen["8617"].push("Ryh_8617_13"); gruppen["8617"].push("Ryh_8617_14"); gruppen["8617"].push("Ryh_8617_15"); gruppen["8617"].push("Ryh_8617_16"); gruppen["8617"].push("Ryh_8617_17"); gruppen["8617"].push("Ryh_8617_18"); gruppen["8617"].push("Ryh_8617_19"); gruppen["8617"].push("Ryh_8617_20"); gruppen["8617"].push("Ryh_8617_21"); gruppen["8617"].push("Ryh_8617_22"); gruppen["8617"].push("Ryh_8617_30"); gruppen["8617"].push("Ryh_8617_31"); gruppen["8617"].push("Ryh_8617_32"); gruppen["8617"].push("Ryh_8617_33"); gruppen["8617"].push("Ryh_8617_34"); gruppen["8617"].push("Ryh_8617_35"); gruppen["8617"].push("Ryh_8617_36"); gruppen["8617"].push("Ryh_8617_37"); gruppen["8617"].push("Ryh_8617_38"); gruppen["8617"].push("Ryh_8617_40"); gruppen["8617"].push("Ryh_8617_42"); gruppen["8617"].push("Ryh_8617_43"); gruppen["8617"].push("Ryh_8617_44"); gruppen["8617"].push("Ryh_8617_45"); gruppen["8617"].push("Ryh_8617_46"); gruppen["8617"].push("Ryh_8617_47"); gruppen["8617"].push("Ryh_8617_48"); gruppen["8617"].push("Ryh_8617_49"); gruppen["8617"].push("Ryh_8617_50"); gruppen["8618"] = new Array(); gruppen["8618"].push("Ryh_8618_1"); gruppen["8618"].push("Ryh_8618_3"); gruppen["8618"].push("Ryh_8618_4"); gruppen["8618"].push("Ryh_8618_5"); gruppen["8618"].push("Ryh_8618_6"); gruppen["8618"].push("Ryh_8618_7"); gruppen["8618"].push("Ryh_8618_8"); gruppen["8618"].push("Ryh_8618_9"); gruppen["8618"].push("Ryh_8618_10"); gruppen["8618"].push("Ryh_8618_11"); gruppen["8618"].push("Ryh_8618_12"); gruppen["8618"].push("Ryh_8618_13"); gruppen["8618"].push("Ryh_8618_14"); gruppen["8618"].push("Ryh_8618_15"); gruppen["8618"].push("Ryh_8618_16"); gruppen["8618"].push("Ryh_8618_17"); gruppen["8618"].push("Ryh_8618_18"); gruppen["8618"].push("Ryh_8618_19"); gruppen["8618"].push("Ryh_8618_20"); gruppen["8618"].push("Ryh_8618_21"); gruppen["8618"].push("Ryh_8618_22"); gruppen["8618"].push("Ryh_8618_23"); gruppen["8618"].push("Ryh_8618_24"); gruppen["8618"].push("Ryh_8618_25"); gruppen["8618"].push("Ryh_8618_26"); gruppen["8618"].push("Ryh_8618_27"); gruppen["8618"].push("Ryh_8618_28"); gruppen["8618"].push("Ryh_8618_29"); gruppen["8618"].push("Ryh_8618_30"); gruppen["8618"].push("Ryh_8618_31"); gruppen["8618"].push("Ryh_8618_41"); gruppen["8618"].push("Ryh_8618_42"); gruppen["8618"].push("Ryh_8618_43"); gruppen["8618"].push("Ryh_8618_44"); gruppen["8618"].push("Ryh_8618_45"); gruppen["8618"].push("Ryh_8618_46"); gruppen["8618"].push("Ryh_8618_47"); gruppen["8618"].push("Ryh_8618_49"); gruppen["8618"].push("Ryh_8618_50"); gruppen["8619"] = new Array(); gruppen["8619"].push("Ryh_8619_1"); gruppen["8619"].push("Ryh_8619_2"); gruppen["8619"].push("Ryh_8619_4"); gruppen["8619"].push("Ryh_8619_6"); gruppen["8619"].push("Ryh_8619_13"); gruppen["8619"].push("Ryh_8619_14"); gruppen["8619"].push("Ryh_8619_15"); gruppen["8619"].push("Ryh_8619_16"); gruppen["8619"].push("Ryh_8619_17"); gruppen["8619"].push("Ryh_8619_18"); gruppen["8619"].push("Ryh_8619_19"); gruppen["8619"].push("Ryh_8619_20"); gruppen["8619"].push("Ryh_8619_27"); gruppen["8619"].push("Ryh_8619_28"); gruppen["8619"].push("Ryh_8619_31"); gruppen["8619"].push("Ryh_8619_33"); gruppen["8619"].push("Ryh_8619_36"); gruppen["8619"].push("Ryh_8619_37"); gruppen["8619"].push("Ryh_8619_38"); gruppen["8619"].push("Ryh_8619_39"); gruppen["8619"].push("Ryh_8619_40"); gruppen["8619"].push("Ryh_8619_47"); gruppen["8619"].push("Ryh_8619_48"); gruppen["8619"].push("Ryh_8619_49"); gruppen["8620"] = new Array(); gruppen["8620"].push("Ryh_8620_1"); gruppen["8620"].push("Ryh_8620_2"); gruppen["8620"].push("Ryh_8620_3"); gruppen["8620"].push("Ryh_8620_4"); gruppen["8620"].push("Ryh_8620_6"); gruppen["8620"].push("Ryh_8620_7"); gruppen["8620"].push("Ryh_8620_8"); gruppen["8620"].push("Ryh_8620_9"); gruppen["8620"].push("Ryh_8620_10"); gruppen["8620"].push("Ryh_8620_11"); gruppen["8620"].push("Ryh_8620_12"); gruppen["8620"].push("Ryh_8620_13"); gruppen["8620"].push("Ryh_8620_14"); gruppen["8620"].push("Ryh_8620_15"); gruppen["8620"].push("Ryh_8620_16"); gruppen["8620"].push("Ryh_8620_17"); gruppen["8620"].push("Ryh_8620_18"); gruppen["8620"].push("Ryh_8620_19"); gruppen["8620"].push("Ryh_8620_20"); gruppen["8620"].push("Ryh_8620_21"); gruppen["8620"].push("Ryh_8620_32"); gruppen["8620"].push("Ryh_8620_33"); gruppen["8620"].push("Ryh_8620_34"); gruppen["8620"].push("Ryh_8620_35"); gruppen["8620"].push("Ryh_8620_36"); gruppen["8620"].push("Ryh_8620_37"); gruppen["8620"].push("Ryh_8620_38"); gruppen["8620"].push("Ryh_8620_39"); gruppen["8620"].push("Ryh_8620_40"); gruppen["8621"] = new Array(); gruppen["8621"].push("Ryh_8621_1"); gruppen["8621"].push("Ryh_8621_2"); gruppen["8621"].push("Ryh_8621_3"); gruppen["8621"].push("Ryh_8621_4"); gruppen["8621"].push("Ryh_8621_5"); gruppen["8621"].push("Ryh_8621_6"); gruppen["8621"].push("Ryh_8621_7"); gruppen["8621"].push("Ryh_8621_8"); gruppen["8621"].push("Ryh_8621_9"); gruppen["8621"].push("Ryh_8621_10"); gruppen["8621"].push("Ryh_8621_16"); gruppen["8621"].push("Ryh_8621_17"); gruppen["8621"].push("Ryh_8621_19"); gruppen["8621"].push("Ryh_8621_22"); gruppen["8621"].push("Ryh_8621_23"); gruppen["8621"].push("Ryh_8621_24"); gruppen["8621"].push("Ryh_8621_25"); gruppen["8621"].push("Ryh_8621_27"); gruppen["8621"].push("Ryh_8621_28"); gruppen["8621"].push("Ryh_8621_29"); gruppen["8621"].push("Ryh_8621_30"); gruppen["8621"].push("Ryh_8621_31"); gruppen["8621"].push("Ryh_8621_35"); gruppen["8621"].push("Ryh_8621_36"); gruppen["8621"].push("Ryh_8621_37"); gruppen["8621"].push("Ryh_8621_38"); gruppen["8622"] = new Array(); gruppen["8622"].push("Ryh_8622_1"); gruppen["8622"].push("Ryh_8622_2"); gruppen["8622"].push("Ryh_8622_3"); gruppen["8622"].push("Ryh_8622_4"); gruppen["8622"].push("Ryh_8622_9"); gruppen["8622"].push("Ryh_8622_11"); gruppen["8622"].push("Ryh_8622_12"); gruppen["8622"].push("Ryh_8622_13"); gruppen["8622"].push("Ryh_8622_14"); gruppen["8622"].push("Ryh_8622_15"); gruppen["8622"].push("Ryh_8622_21"); gruppen["8622"].push("Ryh_8622_23"); gruppen["8622"].push("Ryh_8622_24"); gruppen["8622"].push("Ryh_8622_29"); gruppen["8622"].push("Ryh_8622_31"); gruppen["8622"].push("Ryh_8622_33"); gruppen["8622"].push("Ryh_8622_34"); gruppen["8622"].push("Ryh_8622_35"); gruppen["8622"].push("Ryh_8622_36"); gruppen["8622"].push("Ryh_8622_37"); gruppen["8622"].push("Ryh_8622_38"); gruppen["8622"].push("Ryh_8622_39"); gruppen["8623"] = new Array(); gruppen["8623"].push("Ryh_8623_1"); gruppen["8623"].push("Ryh_8623_2"); gruppen["8623"].push("Ryh_8623_3"); gruppen["8623"].push("Ryh_8623_4"); gruppen["8623"].push("Ryh_8623_9"); gruppen["8623"].push("Ryh_8623_10"); gruppen["8623"].push("Ryh_8623_11"); gruppen["8623"].push("Ryh_8623_12"); gruppen["8623"].push("Ryh_8623_17"); gruppen["8623"].push("Ryh_8623_18"); gruppen["8623"].push("Ryh_8623_23"); gruppen["8623"].push("Ryh_8623_25"); gruppen["8623"].push("Ryh_8623_26"); gruppen["8623"].push("Ryh_8623_40"); gruppen["8623"].push("Ryh_8623_41"); gruppen["8623"].push("Ryh_8623_42"); gruppen["8623"].push("Ryh_8623_43"); gruppen["8623"].push("Ryh_8623_44"); gruppen["8623"].push("Ryh_8623_45"); gruppen["8623"].push("Ryh_8623_46"); gruppen["8624"] = new Array(); gruppen["8624"].push("Ryh_8624_1"); gruppen["8624"].push("Ryh_8624_2"); gruppen["8624"].push("Ryh_8624_3"); gruppen["8624"].push("Ryh_8624_4"); gruppen["8624"].push("Ryh_8624_5"); gruppen["8624"].push("Ryh_8624_6"); gruppen["8624"].push("Ryh_8624_7"); gruppen["8624"].push("Ryh_8624_8"); gruppen["8624"].push("Ryh_8624_9"); gruppen["8624"].push("Ryh_8624_10"); gruppen["8624"].push("Ryh_8624_11_A"); gruppen["8624"].push("Ryh_8624_11_B"); gruppen["8624"].push("Ryh_8624_17"); gruppen["8624"].push("Ryh_8624_19"); gruppen["8624"].push("Ryh_8624_21"); gruppen["8624"].push("Ryh_8624_25"); gruppen["8624"].push("Ryh_8624_26"); gruppen["8624"].push("Ryh_8624_27_A"); gruppen["8624"].push("Ryh_8624_27_B"); gruppen["8624"].push("Ryh_8624_37"); gruppen["8625"] = new Array(); gruppen["8625"].push("Ryh_8625_1"); gruppen["8625"].push("Ryh_8625_2"); gruppen["8625"].push("Ryh_8625_3"); gruppen["8625"].push("Ryh_8625_4"); gruppen["8625"].push("Ryh_8625_5"); gruppen["8625"].push("Ryh_8625_6"); gruppen["8625"].push("Ryh_8625_7"); gruppen["8625"].push("Ryh_8625_8"); gruppen["8625"].push("Ryh_8625_9"); gruppen["8625"].push("Ryh_8625_11"); gruppen["8625"].push("Ryh_8625_12"); gruppen["8625"].push("Ryh_8625_16"); gruppen["8625"].push("Ryh_8625_17"); gruppen["8625"].push("Ryh_8625_24"); gruppen["8625"].push("Ryh_8625_25"); gruppen["8625"].push("Ryh_8625_28"); gruppen["8625"].push("Ryh_8625_29"); gruppen["8625"].push("Ryh_8625_30"); gruppen["8625"].push("Ryh_8625_31"); gruppen["8625"].push("Ryh_8625_32"); gruppen["8625"].push("Ryh_8625_33"); gruppen["8625"].push("Ryh_8625_34"); gruppen["8625"].push("Ryh_8625_36"); gruppen["8625"].push("Ryh_8625_37"); gruppen["8625"].push("Ryh_8625_38"); gruppen["8625"].push("Ryh_8625_40"); gruppen["8625"].push("Ryh_8625_41"); gruppen["8625"].push("Ryh_8625_42"); gruppen["8625"].push("Ryh_8625_44"); gruppen["8626"] = new Array(); gruppen["8626"].push("Ryh_8626_1"); gruppen["8626"].push("Ryh_8626_2"); gruppen["8626"].push("Ryh_8626_3"); gruppen["8626"].push("Ryh_8626_4"); gruppen["8626"].push("Ryh_8626_7"); gruppen["8626"].push("Ryh_8626_11"); gruppen["8626"].push("Ryh_8626_12"); gruppen["8626"].push("Ryh_8626_13"); gruppen["8626"].push("Ryh_8626_14"); gruppen["8626"].push("Ryh_8626_15"); gruppen["8626"].push("Ryh_8626_21"); gruppen["8626"].push("Ryh_8626_22"); gruppen["8626"].push("Ryh_8626_25"); gruppen["8626"].push("Ryh_8626_26"); gruppen["8626"].push("Ryh_8626_31"); gruppen["8626"].push("Ryh_8626_32"); gruppen["8626"].push("Ryh_8626_33"); gruppen["8626"].push("Ryh_8626_35"); gruppen["8626"].push("Ryh_8626_37"); gruppen["8626"].push("Ryh_8626_41"); gruppen["8626"].push("Ryh_8626_44"); gruppen["8626"].push("Ryh_8626_48"); gruppen["8626"].push("Ryh_8626_49"); gruppen["8626"].push("Ryh_8626_51"); gruppen["8626"].push("Ryh_8626_52"); gruppen["8626"].push("Ryh_8626_53"); gruppen["8626"].push("Ryh_8626_54"); gruppen["8627"] = new Array(); gruppen["8627"].push("Ryh_8627_1"); gruppen["8627"].push("Ryh_8627_2"); gruppen["8627"].push("Ryh_8627_3"); gruppen["8627"].push("Ryh_8627_4"); gruppen["8627"].push("Ryh_8627_5"); gruppen["8627"].push("Ryh_8627_7"); gruppen["8627"].push("Ryh_8627_8"); gruppen["8627"].push("Ryh_8627_9"); gruppen["8627"].push("Ryh_8627_15"); gruppen["8627"].push("Ryh_8627_30"); gruppen["8627"].push("Ryh_8627_34"); gruppen["8627"].push("Ryh_8627_35"); gruppen["8627"].push("Ryh_8627_38"); gruppen["8627"].push("Ryh_8627_39"); gruppen["8627"].push("Ryh_8627_40"); gruppen["8627"].push("Ryh_8627_41"); gruppen["8628"] = new Array(); gruppen["8628"].push("Ryh_8628_1"); gruppen["8628"].push("Ryh_8628_2"); gruppen["8628"].push("Ryh_8628_3"); gruppen["8628"].push("Ryh_8628_4"); gruppen["8628"].push("Ryh_8628_6"); gruppen["8628"].push("Ryh_8628_7"); gruppen["8628"].push("Ryh_8628_8"); gruppen["8628"].push("Ryh_8628_9"); gruppen["8628"].push("Ryh_8628_10"); gruppen["8628"].push("Ryh_8628_11"); gruppen["8628"].push("Ryh_8628_12"); gruppen["8628"].push("Ryh_8628_13"); gruppen["8628"].push("Ryh_8628_15"); gruppen["8628"].push("Ryh_8628_16"); gruppen["8628"].push("Ryh_8628_21"); gruppen["8628"].push("Ryh_8628_22"); gruppen["8628"].push("Ryh_8628_23"); gruppen["8628"].push("Ryh_8628_24"); gruppen["8628"].push("Ryh_8628_25"); gruppen["8628"].push("Ryh_8628_26_A"); gruppen["8628"].push("Ryh_8628_26_B"); gruppen["8628"].push("Ryh_8628_27_A"); gruppen["8628"].push("Ryh_8628_27_B"); gruppen["8628"].push("Ryh_8628_28"); gruppen["8628"].push("Ryh_8628_29"); gruppen["8628"].push("Ryh_8628_30"); gruppen["8628"].push("Ryh_8628_31"); gruppen["8628"].push("Ryh_8628_32"); gruppen["8628"].push("Ryh_8628_33"); gruppen["8628"].push("Ryh_8628_34"); gruppen["8628"].push("Ryh_8628_35"); gruppen["8628"].push("Ryh_8628_36"); gruppen["8628"].push("Ryh_8628_37"); gruppen["8628"].push("Ryh_8628_38"); gruppen["8628"].push("Ryh_8628_39"); gruppen["8628"].push("Ryh_8628_40"); gruppen["8628"].push("Ryh_8628_41"); gruppen["8701"] = new Array(); gruppen["8701"].push("Ryh_8701_3"); gruppen["8701"].push("Ryh_8701_4"); gruppen["8701"].push("Ryh_8701_5"); gruppen["8701"].push("Ryh_8701_6"); gruppen["8701"].push("Ryh_8701_7"); gruppen["8701"].push("Ryh_8701_8"); gruppen["8701"].push("Ryh_8701_9"); gruppen["8701"].push("Ryh_8701_10"); gruppen["8701"].push("Ryh_8701_11"); gruppen["8701"].push("Ryh_8701_12"); gruppen["8701"].push("Ryh_8701_14"); gruppen["8701"].push("Ryh_8701_15"); gruppen["8701"].push("Ryh_8701_18"); gruppen["8701"].push("Ryh_8701_19"); gruppen["8701"].push("Ryh_8701_20"); gruppen["8701"].push("Ryh_8701_21"); gruppen["8701"].push("Ryh_8701_23"); gruppen["8701"].push("Ryh_8701_24"); gruppen["8701"].push("Ryh_8701_25"); gruppen["8701"].push("Ryh_8701_26"); gruppen["8701"].push("Ryh_8701_27"); gruppen["8801"] = new Array(); gruppen["8801"].push("Ryh_8801_1"); gruppen["8801"].push("Ryh_8801_2"); gruppen["8801"].push("Ryh_8801_3"); gruppen["8801"].push("Ryh_8801_4"); gruppen["8801"].push("Ryh_8801_5_A"); gruppen["8801"].push("Ryh_8801_5_B"); gruppen["8801"].push("Ryh_8801_6_A"); gruppen["8801"].push("Ryh_8801_6_B"); gruppen["8801"].push("Ryh_8801_7_A"); gruppen["8801"].push("Ryh_8801_7_B"); gruppen["8801"].push("Ryh_8801_8_A"); gruppen["8801"].push("Ryh_8801_8_B"); gruppen["8801"].push("Ryh_8801_9_A"); gruppen["8801"].push("Ryh_8801_9_B"); gruppen["8801"].push("Ryh_8801_11"); gruppen["8801"].push("Ryh_8801_14"); gruppen["8801"].push("Ryh_8801_15"); gruppen["8801"].push("Ryh_8801_16"); gruppen["8801"].push("Ryh_8801_17"); gruppen["8801"].push("Ryh_8801_18"); gruppen["8801"].push("Ryh_8801_19"); gruppen["8801"].push("Ryh_8801_20"); gruppen["8801"].push("Ryh_8801_21"); gruppen["8801"].push("Ryh_8801_22"); gruppen["8801"].push("Ryh_8801_23"); gruppen["8801"].push("Ryh_8801_24_A"); gruppen["8801"].push("Ryh_8801_24_B"); gruppen["8801"].push("Ryh_8801_24_C"); gruppen["8801"].push("Ryh_8801_24_D"); gruppen["8801"].push("Ryh_8801_26"); gruppen["8801"].push("Ryh_8801_27"); gruppen["8801"].push("Ryh_8801_28"); gruppen["8801"].push("Ryh_8801_29"); gruppen["8801"].push("Ryh_8801_30"); gruppen["8801"].push("Ryh_8801_31"); gruppen["8801"].push("Ryh_8801_32"); gruppen["8801"].push("Ryh_8801_33"); gruppen["8801"].push("Ryh_8801_34"); gruppen["8801"].push("Ryh_8801_35"); gruppen["8801"].push("Ryh_8801_36"); gruppen["8801"].push("Ryh_8801_37"); gruppen["8801"].push("Ryh_8801_38"); gruppen["8901"] = new Array(); gruppen["8901"].push("Ryh_8901_"); gruppen["9001"] = new Array(); gruppen["9001"].push("Ryh_9001_1"); gruppen["9001"].push("Ryh_9001_2"); gruppen["9001"].push("Ryh_9001_3"); gruppen["9001"].push("Ryh_9001_4"); gruppen["9001"].push("Ryh_9001_5"); gruppen["9001"].push("Ryh_9001_6"); gruppen["9001"].push("Ryh_9001_7"); gruppen["9001"].push("Ryh_9001_8"); gruppen["9001"].push("Ryh_9001_9"); gruppen["9001"].push("Ryh_9001_10"); gruppen["9001"].push("Ryh_9001_11"); gruppen["9001"].push("Ryh_9001_12"); gruppen["9001"].push("Ryh_9001_13"); gruppen["9001"].push("Ryh_9001_14"); gruppen["9001"].push("Ryh_9001_15"); gruppen["9001"].push("Ryh_9001_16"); gruppen["9001"].push("Ryh_9001_17"); gruppen["9001"].push("Ryh_9001_18"); gruppen["9001"].push("Ryh_9001_19"); gruppen["9001"].push("Ryh_9001_20"); gruppen["9001"].push("Ryh_9001_21"); gruppen["9001"].push("Ryh_9001_22"); gruppen["9001"].push("Ryh_9001_30"); gruppen["9001"].push("Ryh_9001_31"); gruppen["9001"].push("Ryh_9001_32"); gruppen["9001"].push("Ryh_9001_33"); gruppen["9001"].push("Ryh_9001_34"); gruppen["9001"].push("Ryh_9001_35"); gruppen["9001"].push("Ryh_9001_36"); gruppen["9001"].push("Ryh_9001_37_A"); gruppen["9001"].push("Ryh_9001_37_B"); gruppen["9001"].push("Ryh_9001_38_A"); gruppen["9001"].push("Ryh_9001_38_B"); gruppen["9001"].push("Ryh_9001_39_A"); gruppen["9001"].push("Ryh_9001_39_B"); gruppen["9001"].push("Ryh_9001_40"); gruppen["9001"].push("Ryh_9001_41_A"); gruppen["9001"].push("Ryh_9001_41_B");
godfatherofpolka/RyhinerBoundingBoxTool
js/gruppen.js
JavaScript
gpl-3.0
670,073
// Copyright © 2016, Ugo Pozo // 2016, Câmara Municipal de São Paulo // token_selector.js - floating action button component for the interface. // This file is part of Anubis. // Anubis is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // Anubis is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. import React from 'react'; import _ from 'lodash'; import {FloatingActionButton} from 'material-ui'; import {TransitionMotion, spring} from 'react-motion'; import { ActionSearch, NavigationClose, ContentAdd, } from 'material-ui/svg-icons'; import {PropTypes as RPropTypes} from 'react'; export default class TokenSelector extends React.Component { static propTypes = { onSearch: RPropTypes.func.isRequired, style: RPropTypes.object, } constructor(props) { super(props); this.state = { isTouching: false, expandFAB: false, endTouchAction: null, }; } baseStyle = { position: "fixed", display: "flex", flexFlow: "column-reverse nowrap", alignItems: "center", alignContent: "center", justifyContent: "flex-start", bottom: "80px", right: "24px", zIndex: 9000, } itemStyle = { marginTop: "12px", marginLeft: 0, marginRight: 0, marginBottom: 0, } get style() { return Object.assign({}, this.baseStyle, this.props.style); } handleExpand = () => { if (this.state.isTouching) { this.setState({expandFAB: true}); } } handleContract = () => { if (this.state.expandFAB) { this.setState({expandFAB: false}); } } handleStartTouch = () => { this.setState({isTouching: true}); if (this.state.expandFAB) { this.setState({endTouchAction: this.handleContract}); } else { this.setState({endTouchAction: ev => { if (!this.state.expandFAB) { this.props.onSearch(ev); } }}); setTimeout(this.handleExpand, 500); } } handleEndTouch = () => { this.setState({isTouching: false}); if (this.state.endTouchAction) { this.state.endTouchAction(); this.setState({endTouchAction: null}); } } handleClick = ev => { this.props.onSearch(ev); } renderFAB() { const isExpanded = this.state.expandFAB; const icon = (isExpanded) ? key => <NavigationClose key={key} /> : key => <ActionSearch key={key} />; const config = { rotation: { precision: 3.6, }, opacity: { precision: 1, }, }; const style = { key: (isExpanded) ? "close" : "search", data: icon, style: { rotate: spring((isExpanded) ? 360 : 0, config.rotation), opacity: spring(100, config.opacity), }, }; return ( <TransitionMotion styles={[style]} willEnter={() => ({ rotate: (isExpanded) ? 0 : 360, opacity: 0, })} willLeave={() => ({ rotate: spring((isExpanded) ? 0 : 360, config.rotation), opacity: spring(0, config.opacity), })} > {s => <div style={this.itemStyle}> {s.map(this._makeFAB)} </div> } </TransitionMotion> ); } _makeFAB = (conf, i) => { let children = conf.data(conf.key); let style = { transform: `rotate(${conf.style.rotate}deg)`, opacity: conf.style.opacity/100, display: "inline-block", marginLeft: (i > 0) ? "-56px" : 0, zIndex: (i > 0) ? 9003 : 9002, position: "relative", }; return ( <div style={style}> <FloatingActionButton onMouseDown={this.handleStartTouch} onMouseUp={this.handleEndTouch} onTouchEnd={this.handleEndTouch} onTouchStart={this.handleStartTouch} > {children} </FloatingActionButton> </div> ); } renderExpandable() { /*eslint-disable react/jsx-key*/ let icons = [ ['add_button', <ContentAdd />], ['search_button', <ActionSearch />], ]; /*eslint-enable react/jsx-key*/ const keys = icons.map(([key, __unused]) => key); icons = _.fromPairs(icons); let styles = (this.state.expandFAB) ? keys.map(key => ({ key, style: { offset: spring(0, {precision: 0.6}) }, })) : []; return ( <TransitionMotion styles={styles} willEnter={() => ({offset: 60})} willLeave={() => ({offset: spring(60, {precision: 0.6})})} > {styles => <div style={this.style}> {this.renderFAB()} {styles.map(({key, style: s}) => { let icon = icons[key]; let style = { ...this.itemStyle, marginBottom: `-${s.offset}px`, zIndex: 9001, position: "relative", }; return ( <div key={key} style={style} > <FloatingActionButton mini secondary > {icon} </FloatingActionButton> </div> ); })} </div> } </TransitionMotion> ); } render() { return ( <div style={this.style}> <FloatingActionButton onTouchTap={this.handleClick}> <ActionSearch /> </FloatingActionButton> </div> ); } }
cmspsgp31/anubis
anubis/frontend/src/components/TokenField/token_selector.js
JavaScript
gpl-3.0
7,244
/*! jQuery UI - v1.10.3 - 2013-05-03 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ (function($, undefined) { var uuid = 0, runiqueId = /^ui-id-\d+$/; // $.ui might exist from components with no dependencies, e.g., $.ui.position $.ui = $.ui || {}; $.extend($.ui, { version: "1.10.3", keyCode: { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, NUMPAD_ADD: 107, NUMPAD_DECIMAL: 110, NUMPAD_DIVIDE: 111, NUMPAD_ENTER: 108, NUMPAD_MULTIPLY: 106, NUMPAD_SUBTRACT: 109, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38 } }); // plugins $.fn.extend({ focus: (function(orig) { return function(delay, fn) { return typeof delay === "number" ? this.each(function() { var elem = this; setTimeout(function() { $(elem).focus(); if (fn) { fn.call(elem); } }, delay); }) : orig.apply(this, arguments); }; })($.fn.focus), scrollParent: function() { var scrollParent; if (($.ui.ie && (/(static|relative)/).test(this.css("position"))) || (/absolute/).test(this.css("position"))) { scrollParent = this.parents().filter(function() { return (/(relative|absolute|fixed)/).test($.css(this, "position")) && (/(auto|scroll)/).test($.css(this, "overflow") + $.css(this, "overflow-y") + $.css(this, "overflow-x")); }).eq(0); } else { scrollParent = this.parents().filter(function() { return (/(auto|scroll)/).test($.css(this, "overflow") + $.css(this, "overflow-y") + $.css(this, "overflow-x")); }).eq(0); } return (/fixed/).test(this.css("position")) || !scrollParent.length ? $(document) : scrollParent; }, zIndex: function(zIndex) { if (zIndex !== undefined) { return this.css("zIndex", zIndex); } if (this.length) { var elem = $(this[ 0 ]), position, value; while (elem.length && elem[ 0 ] !== document) { // Ignore z-index if position is set to a value where z-index is ignored by the browser // This makes behavior of this function consistent across browsers // WebKit always returns auto if the element is positioned position = elem.css("position"); if (position === "absolute" || position === "relative" || position === "fixed") { // IE returns 0 when zIndex is not specified // other browsers return a string // we ignore the case of nested elements with an explicit value of 0 // <div style="z-index: -10;"><div style="z-index: 0;"></div></div> value = parseInt(elem.css("zIndex"), 10); if (!isNaN(value) && value !== 0) { return value; } } elem = elem.parent(); } } return 0; }, uniqueId: function() { return this.each(function() { if (!this.id) { this.id = "ui-id-" + (++uuid); } }); }, removeUniqueId: function() { return this.each(function() { if (runiqueId.test(this.id)) { $(this).removeAttr("id"); } }); } }); // selectors function focusable(element, isTabIndexNotNaN) { var map, mapName, img, nodeName = element.nodeName.toLowerCase(); if ("area" === nodeName) { map = element.parentNode; mapName = map.name; if (!element.href || !mapName || map.nodeName.toLowerCase() !== "map") { return false; } img = $("img[usemap=#" + mapName + "]")[0]; return !!img && visible(img); } return (/input|select|textarea|button|object/.test(nodeName) ? !element.disabled : "a" === nodeName ? element.href || isTabIndexNotNaN : isTabIndexNotNaN) && // the element and all of its ancestors must be visible visible(element); } function visible(element) { return $.expr.filters.visible(element) && !$(element).parents().addBack().filter(function() { return $.css(this, "visibility") === "hidden"; }).length; } $.extend($.expr[ ":" ], { data: $.expr.createPseudo ? $.expr.createPseudo(function(dataName) { return function(elem) { return !!$.data(elem, dataName); }; }) : // support: jQuery <1.8 function(elem, i, match) { return !!$.data(elem, match[ 3 ]); }, focusable: function(element) { return focusable(element, !isNaN($.attr(element, "tabindex"))); }, tabbable: function(element) { var tabIndex = $.attr(element, "tabindex"), isTabIndexNaN = isNaN(tabIndex); return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN); } }); // support: jQuery <1.8 if (!$("<a>").outerWidth(1).jquery) { $.each(["Width", "Height"], function(i, name) { var side = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"], type = name.toLowerCase(), orig = { innerWidth: $.fn.innerWidth, innerHeight: $.fn.innerHeight, outerWidth: $.fn.outerWidth, outerHeight: $.fn.outerHeight }; function reduce(elem, size, border, margin) { $.each(side, function() { size -= parseFloat($.css(elem, "padding" + this)) || 0; if (border) { size -= parseFloat($.css(elem, "border" + this + "Width")) || 0; } if (margin) { size -= parseFloat($.css(elem, "margin" + this)) || 0; } }); return size; } $.fn[ "inner" + name ] = function(size) { if (size === undefined) { return orig[ "inner" + name ].call(this); } return this.each(function() { $(this).css(type, reduce(this, size) + "px"); }); }; $.fn[ "outer" + name] = function(size, margin) { if (typeof size !== "number") { return orig[ "outer" + name ].call(this, size); } return this.each(function() { $(this).css(type, reduce(this, size, true, margin) + "px"); }); }; }); } // support: jQuery <1.8 if (!$.fn.addBack) { $.fn.addBack = function(selector) { return this.add(selector == null ? this.prevObject : this.prevObject.filter(selector) ); }; } // support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413) if ($("<a>").data("a-b", "a").removeData("a-b").data("a-b")) { $.fn.removeData = (function(removeData) { return function(key) { if (arguments.length) { return removeData.call(this, $.camelCase(key)); } else { return removeData.call(this); } }; })($.fn.removeData); } // deprecated $.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()); $.support.selectstart = "onselectstart" in document.createElement("div"); $.fn.extend({ disableSelection: function() { return this.bind(($.support.selectstart ? "selectstart" : "mousedown") + ".ui-disableSelection", function(event) { event.preventDefault(); }); }, enableSelection: function() { return this.unbind(".ui-disableSelection"); } }); $.extend($.ui, { // $.ui.plugin is deprecated. Use $.widget() extensions instead. plugin: { add: function(module, option, set) { var i, proto = $.ui[ module ].prototype; for (i in set) { proto.plugins[ i ] = proto.plugins[ i ] || []; proto.plugins[ i ].push([option, set[ i ]]); } }, call: function(instance, name, args) { var i, set = instance.plugins[ name ]; if (!set || !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11) { return; } for (i = 0; i < set.length; i++) { if (instance.options[ set[ i ][ 0 ] ]) { set[ i ][ 1 ].apply(instance.element, args); } } } }, // only used by resizable hasScroll: function(el, a) { //If overflow is hidden, the element might have extra content, but the user wants to hide it if ($(el).css("overflow") === "hidden") { return false; } var scroll = (a && a === "left") ? "scrollLeft" : "scrollTop", has = false; if (el[ scroll ] > 0) { return true; } // TODO: determine which cases actually cause this to happen // if the element doesn't have the scroll set, see if it's possible to // set the scroll el[ scroll ] = 1; has = (el[ scroll ] > 0); el[ scroll ] = 0; return has; } }); })(jQuery); (function($, undefined) { var uuid = 0, slice = Array.prototype.slice, _cleanData = $.cleanData; $.cleanData = function(elems) { for (var i = 0, elem; (elem = elems[i]) != null; i++) { try { $(elem).triggerHandler("remove"); // http://bugs.jquery.com/ticket/8235 } catch (e) { } } _cleanData(elems); }; $.widget = function(name, base, prototype) { var fullName, existingConstructor, constructor, basePrototype, // proxiedPrototype allows the provided prototype to remain unmodified // so that it can be used as a mixin for multiple widgets (#8876) proxiedPrototype = {}, namespace = name.split(".")[ 0 ]; name = name.split(".")[ 1 ]; fullName = namespace + "-" + name; if (!prototype) { prototype = base; base = $.Widget; } // create selector for plugin $.expr[ ":" ][ fullName.toLowerCase() ] = function(elem) { return !!$.data(elem, fullName); }; $[ namespace ] = $[ namespace ] || {}; existingConstructor = $[ namespace ][ name ]; constructor = $[ namespace ][ name ] = function(options, element) { // allow instantiation without "new" keyword if (!this._createWidget) { return new constructor(options, element); } // allow instantiation without initializing for simple inheritance // must use "new" keyword (the code above always passes args) if (arguments.length) { this._createWidget(options, element); } }; // extend with the existing constructor to carry over any static properties $.extend(constructor, existingConstructor, { version: prototype.version, // copy the object used to create the prototype in case we need to // redefine the widget later _proto: $.extend({}, prototype), // track widgets that inherit from this widget in case this widget is // redefined after a widget inherits from it _childConstructors: [] }); basePrototype = new base(); // we need to make the options hash a property directly on the new instance // otherwise we'll modify the options hash on the prototype that we're // inheriting from basePrototype.options = $.widget.extend({}, basePrototype.options); $.each(prototype, function(prop, value) { if (!$.isFunction(value)) { proxiedPrototype[ prop ] = value; return; } proxiedPrototype[ prop ] = (function() { var _super = function() { return base.prototype[ prop ].apply(this, arguments); }, _superApply = function(args) { return base.prototype[ prop ].apply(this, args); }; return function() { var __super = this._super, __superApply = this._superApply, returnValue; this._super = _super; this._superApply = _superApply; returnValue = value.apply(this, arguments); this._super = __super; this._superApply = __superApply; return returnValue; }; })(); }); constructor.prototype = $.widget.extend(basePrototype, { // TODO: remove support for widgetEventPrefix // always use the name + a colon as the prefix, e.g., draggable:start // don't prefix for widgets that aren't DOM-based widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name }, proxiedPrototype, { constructor: constructor, namespace: namespace, widgetName: name, widgetFullName: fullName }); // If this widget is being redefined then we need to find all widgets that // are inheriting from it and redefine all of them so that they inherit from // the new version of this widget. We're essentially trying to replace one // level in the prototype chain. if (existingConstructor) { $.each(existingConstructor._childConstructors, function(i, child) { var childPrototype = child.prototype; // redefine the child widget using the same prototype that was // originally used, but inherit from the new version of the base $.widget(childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto); }); // remove the list of existing child constructors from the old constructor // so the old child constructors can be garbage collected delete existingConstructor._childConstructors; } else { base._childConstructors.push(constructor); } $.widget.bridge(name, constructor); }; $.widget.extend = function(target) { var input = slice.call(arguments, 1), inputIndex = 0, inputLength = input.length, key, value; for (; inputIndex < inputLength; inputIndex++) { for (key in input[ inputIndex ]) { value = input[ inputIndex ][ key ]; if (input[ inputIndex ].hasOwnProperty(key) && value !== undefined) { // Clone objects if ($.isPlainObject(value)) { target[ key ] = $.isPlainObject(target[ key ]) ? $.widget.extend({}, target[ key ], value) : // Don't extend strings, arrays, etc. with objects $.widget.extend({}, value); // Copy everything else by reference } else { target[ key ] = value; } } } } return target; }; $.widget.bridge = function(name, object) { var fullName = object.prototype.widgetFullName || name; $.fn[ name ] = function(options) { var isMethodCall = typeof options === "string", args = slice.call(arguments, 1), returnValue = this; // allow multiple hashes to be passed on init options = !isMethodCall && args.length ? $.widget.extend.apply(null, [options].concat(args)) : options; if (isMethodCall) { this.each(function() { var methodValue, instance = $.data(this, fullName); if (!instance) { return $.error("cannot call methods on " + name + " prior to initialization; " + "attempted to call method '" + options + "'"); } if (!$.isFunction(instance[options]) || options.charAt(0) === "_") { return $.error("no such method '" + options + "' for " + name + " widget instance"); } methodValue = instance[ options ].apply(instance, args); if (methodValue !== instance && methodValue !== undefined) { returnValue = methodValue && methodValue.jquery ? returnValue.pushStack(methodValue.get()) : methodValue; return false; } }); } else { this.each(function() { var instance = $.data(this, fullName); if (instance) { instance.option(options || {})._init(); } else { $.data(this, fullName, new object(options, this)); } }); } return returnValue; }; }; $.Widget = function( /* options, element */ ) { }; $.Widget._childConstructors = []; $.Widget.prototype = { widgetName: "widget", widgetEventPrefix: "", defaultElement: "<div>", options: { disabled: false, // callbacks create: null }, _createWidget: function(options, element) { element = $(element || this.defaultElement || this)[ 0 ]; this.element = $(element); this.uuid = uuid++; this.eventNamespace = "." + this.widgetName + this.uuid; this.options = $.widget.extend({}, this.options, this._getCreateOptions(), options); this.bindings = $(); this.hoverable = $(); this.focusable = $(); if (element !== this) { $.data(element, this.widgetFullName, this); this._on(true, this.element, { remove: function(event) { if (event.target === element) { this.destroy(); } } }); this.document = $(element.style ? // element within the document element.ownerDocument : // element is window or document element.document || element); this.window = $(this.document[0].defaultView || this.document[0].parentWindow); } this._create(); this._trigger("create", null, this._getCreateEventData()); this._init(); }, _getCreateOptions: $.noop, _getCreateEventData: $.noop, _create: $.noop, _init: $.noop, destroy: function() { this._destroy(); // we can probably remove the unbind calls in 2.0 // all event bindings should go through this._on() this.element .unbind(this.eventNamespace) // 1.9 BC for #7810 // TODO remove dual storage .removeData(this.widgetName) .removeData(this.widgetFullName) // support: jquery <1.6.3 // http://bugs.jquery.com/ticket/9413 .removeData($.camelCase(this.widgetFullName)); this.widget() .unbind(this.eventNamespace) .removeAttr("aria-disabled") .removeClass( this.widgetFullName + "-disabled " + "ui-state-disabled"); // clean up events and states this.bindings.unbind(this.eventNamespace); this.hoverable.removeClass("ui-state-hover"); this.focusable.removeClass("ui-state-focus"); }, _destroy: $.noop, widget: function() { return this.element; }, option: function(key, value) { var options = key, parts, curOption, i; if (arguments.length === 0) { // don't return a reference to the internal hash return $.widget.extend({}, this.options); } if (typeof key === "string") { // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } } options = {}; parts = key.split("."); key = parts.shift(); if (parts.length) { curOption = options[ key ] = $.widget.extend({}, this.options[ key ]); for (i = 0; i < parts.length - 1; i++) { curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {}; curOption = curOption[ parts[ i ] ]; } key = parts.pop(); if (value === undefined) { return curOption[ key ] === undefined ? null : curOption[ key ]; } curOption[ key ] = value; } else { if (value === undefined) { return this.options[ key ] === undefined ? null : this.options[ key ]; } options[ key ] = value; } } this._setOptions(options); return this; }, _setOptions: function(options) { var key; for (key in options) { this._setOption(key, options[ key ]); } return this; }, _setOption: function(key, value) { this.options[ key ] = value; if (key === "disabled") { this.widget() .toggleClass(this.widgetFullName + "-disabled ui-state-disabled", !!value) .attr("aria-disabled", value); this.hoverable.removeClass("ui-state-hover"); this.focusable.removeClass("ui-state-focus"); } return this; }, enable: function() { return this._setOption("disabled", false); }, disable: function() { return this._setOption("disabled", true); }, _on: function(suppressDisabledCheck, element, handlers) { var delegateElement, instance = this; // no suppressDisabledCheck flag, shuffle arguments if (typeof suppressDisabledCheck !== "boolean") { handlers = element; element = suppressDisabledCheck; suppressDisabledCheck = false; } // no element argument, shuffle and use this.element if (!handlers) { handlers = element; element = this.element; delegateElement = this.widget(); } else { // accept selectors, DOM elements element = delegateElement = $(element); this.bindings = this.bindings.add(element); } $.each(handlers, function(event, handler) { function handlerProxy() { // allow widgets to customize the disabled handling // - disabled as an array instead of boolean // - disabled class as method for disabling individual parts if (!suppressDisabledCheck && (instance.options.disabled === true || $(this).hasClass("ui-state-disabled"))) { return; } return (typeof handler === "string" ? instance[ handler ] : handler) .apply(instance, arguments); } // copy the guid so direct unbinding works if (typeof handler !== "string") { handlerProxy.guid = handler.guid = handler.guid || handlerProxy.guid || $.guid++; } var match = event.match(/^(\w+)\s*(.*)$/), eventName = match[1] + instance.eventNamespace, selector = match[2]; if (selector) { delegateElement.delegate(selector, eventName, handlerProxy); } else { element.bind(eventName, handlerProxy); } }); }, _off: function(element, eventName) { eventName = (eventName || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace; element.unbind(eventName).undelegate(eventName); }, _delay: function(handler, delay) { function handlerProxy() { return (typeof handler === "string" ? instance[ handler ] : handler) .apply(instance, arguments); } var instance = this; return setTimeout(handlerProxy, delay || 0); }, _hoverable: function(element) { this.hoverable = this.hoverable.add(element); this._on(element, { mouseenter: function(event) { $(event.currentTarget).addClass("ui-state-hover"); }, mouseleave: function(event) { $(event.currentTarget).removeClass("ui-state-hover"); } }); }, _focusable: function(element) { this.focusable = this.focusable.add(element); this._on(element, { focusin: function(event) { $(event.currentTarget).addClass("ui-state-focus"); }, focusout: function(event) { $(event.currentTarget).removeClass("ui-state-focus"); } }); }, _trigger: function(type, event, data) { var prop, orig, callback = this.options[ type ]; data = data || {}; event = $.Event(event); event.type = (type === this.widgetEventPrefix ? type : this.widgetEventPrefix + type).toLowerCase(); // the original event may come from any element // so we need to reset the target on the new event event.target = this.element[ 0 ]; // copy original event properties over to the new event orig = event.originalEvent; if (orig) { for (prop in orig) { if (!(prop in event)) { event[ prop ] = orig[ prop ]; } } } this.element.trigger(event, data); return !($.isFunction(callback) && callback.apply(this.element[0], [event].concat(data)) === false || event.isDefaultPrevented()); } }; $.each({show: "fadeIn", hide: "fadeOut"}, function(method, defaultEffect) { $.Widget.prototype[ "_" + method ] = function(element, options, callback) { if (typeof options === "string") { options = {effect: options}; } var hasOptions, effectName = !options ? method : options === true || typeof options === "number" ? defaultEffect : options.effect || defaultEffect; options = options || {}; if (typeof options === "number") { options = {duration: options}; } hasOptions = !$.isEmptyObject(options); options.complete = callback; if (options.delay) { element.delay(options.delay); } if (hasOptions && $.effects && $.effects.effect[ effectName ]) { element[ method ](options); } else if (effectName !== method && element[ effectName ]) { element[ effectName ](options.duration, options.easing, callback); } else { element.queue(function(next) { $(this)[ method ](); if (callback) { callback.call(element[ 0 ]); } next(); }); } }; }); })(jQuery); (function($, undefined) { var mouseHandled = false; $(document).mouseup(function() { mouseHandled = false; }); $.widget("ui.mouse", { version: "1.10.3", options: { cancel: "input,textarea,button,select,option", distance: 1, delay: 0 }, _mouseInit: function() { var that = this; this.element .bind("mousedown." + this.widgetName, function(event) { return that._mouseDown(event); }) .bind("click." + this.widgetName, function(event) { if (true === $.data(event.target, that.widgetName + ".preventClickEvent")) { $.removeData(event.target, that.widgetName + ".preventClickEvent"); event.stopImmediatePropagation(); return false; } }); this.started = false; }, // TODO: make sure destroying one instance of mouse doesn't mess with // other instances of mouse _mouseDestroy: function() { this.element.unbind("." + this.widgetName); if (this._mouseMoveDelegate) { $(document) .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate) .unbind("mouseup." + this.widgetName, this._mouseUpDelegate); } }, _mouseDown: function(event) { // don't let more than one widget handle mouseStart if (mouseHandled) { return; } // we may have missed mouseup (out of window) (this._mouseStarted && this._mouseUp(event)); this._mouseDownEvent = event; var that = this, btnIsLeft = (event.which === 1), // event.target.nodeName works around a bug in IE 8 with // disabled inputs (#7620) elIsCancel = (typeof this.options.cancel === "string" && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false); if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) { return true; } this.mouseDelayMet = !this.options.delay; if (!this.mouseDelayMet) { this._mouseDelayTimer = setTimeout(function() { that.mouseDelayMet = true; }, this.options.delay); } if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { this._mouseStarted = (this._mouseStart(event) !== false); if (!this._mouseStarted) { event.preventDefault(); return true; } } // Click event may never have fired (Gecko & Opera) if (true === $.data(event.target, this.widgetName + ".preventClickEvent")) { $.removeData(event.target, this.widgetName + ".preventClickEvent"); } // these delegates are required to keep context this._mouseMoveDelegate = function(event) { return that._mouseMove(event); }; this._mouseUpDelegate = function(event) { return that._mouseUp(event); }; $(document) .bind("mousemove." + this.widgetName, this._mouseMoveDelegate) .bind("mouseup." + this.widgetName, this._mouseUpDelegate); event.preventDefault(); mouseHandled = true; return true; }, _mouseMove: function(event) { // IE mouseup check - mouseup happened when mouse was out of window if ($.ui.ie && (!document.documentMode || document.documentMode < 9) && !event.button) { return this._mouseUp(event); } if (this._mouseStarted) { this._mouseDrag(event); return event.preventDefault(); } if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { this._mouseStarted = (this._mouseStart(this._mouseDownEvent, event) !== false); (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event)); } return !this._mouseStarted; }, _mouseUp: function(event) { $(document) .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate) .unbind("mouseup." + this.widgetName, this._mouseUpDelegate); if (this._mouseStarted) { this._mouseStarted = false; if (event.target === this._mouseDownEvent.target) { $.data(event.target, this.widgetName + ".preventClickEvent", true); } this._mouseStop(event); } return false; }, _mouseDistanceMet: function(event) { return (Math.max( Math.abs(this._mouseDownEvent.pageX - event.pageX), Math.abs(this._mouseDownEvent.pageY - event.pageY) ) >= this.options.distance ); }, _mouseDelayMet: function(/* event */) { return this.mouseDelayMet; }, // These are placeholder methods, to be overriden by extending plugin _mouseStart: function(/* event */) { }, _mouseDrag: function(/* event */) { }, _mouseStop: function(/* event */) { }, _mouseCapture: function(/* event */) { return true; } }); })(jQuery); (function($, undefined) { $.widget("ui.draggable", $.ui.mouse, { version: "1.10.3", widgetEventPrefix: "drag", options: { addClasses: true, appendTo: "parent", axis: false, connectToSortable: false, containment: false, cursor: "auto", cursorAt: false, grid: false, handle: false, helper: "original", iframeFix: false, opacity: false, refreshPositions: false, revert: false, revertDuration: 500, scope: "default", scroll: true, scrollSensitivity: 20, scrollSpeed: 20, snap: false, snapMode: "both", snapTolerance: 20, stack: false, zIndex: false, // callbacks drag: null, start: null, stop: null }, _create: function() { if (this.options.helper === "original" && !(/^(?:r|a|f)/).test(this.element.css("position"))) { this.element[0].style.position = "relative"; } if (this.options.addClasses) { this.element.addClass("ui-draggable"); } if (this.options.disabled) { this.element.addClass("ui-draggable-disabled"); } this._mouseInit(); }, _destroy: function() { this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"); this._mouseDestroy(); }, _mouseCapture: function(event) { var o = this.options; // among others, prevent a drag on a resizable-handle if (this.helper || o.disabled || $(event.target).closest(".ui-resizable-handle").length > 0) { return false; } //Quit if we're not on a valid handle this.handle = this._getHandle(event); if (!this.handle) { return false; } $(o.iframeFix === true ? "iframe" : o.iframeFix).each(function() { $("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>") .css({ width: this.offsetWidth + "px", height: this.offsetHeight + "px", position: "absolute", opacity: "0.001", zIndex: 1000 }) .css($(this).offset()) .appendTo("body"); }); return true; }, _mouseStart: function(event) { var o = this.options; //Create and append the visible helper this.helper = this._createHelper(event); this.helper.addClass("ui-draggable-dragging"); //Cache the helper size this._cacheHelperProportions(); //If ddmanager is used for droppables, set the global draggable if ($.ui.ddmanager) { $.ui.ddmanager.current = this; } /* * - Position generation - * This block generates everything position related - it's the core of draggables. */ //Cache the margins of the original element this._cacheMargins(); //Store the helper's css position this.cssPosition = this.helper.css("position"); this.scrollParent = this.helper.scrollParent(); this.offsetParent = this.helper.offsetParent(); this.offsetParentCssPosition = this.offsetParent.css("position"); //The element's absolute position on the page minus margins this.offset = this.positionAbs = this.element.offset(); this.offset = { top: this.offset.top - this.margins.top, left: this.offset.left - this.margins.left }; //Reset scroll cache this.offset.scroll = false; $.extend(this.offset, { click: {//Where the click happened, relative to the element left: event.pageX - this.offset.left, top: event.pageY - this.offset.top }, parent: this._getParentOffset(), relative: this._getRelativeOffset() //This is a relative to absolute position minus the actual position calculation - only used for relative positioned helper }); //Generate the original position this.originalPosition = this.position = this._generatePosition(event); this.originalPageX = event.pageX; this.originalPageY = event.pageY; //Adjust the mouse offset relative to the helper if "cursorAt" is supplied (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt)); //Set a containment if given in the options this._setContainment(); //Trigger event + callbacks if (this._trigger("start", event) === false) { this._clear(); return false; } //Recache the helper size this._cacheHelperProportions(); //Prepare the droppable offsets if ($.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(this, event); } this._mouseDrag(event, true); //Execute the drag once - this causes the helper not to be visible before getting its correct position //If the ddmanager is used for droppables, inform the manager that dragging has started (see #5003) if ($.ui.ddmanager) { $.ui.ddmanager.dragStart(this, event); } return true; }, _mouseDrag: function(event, noPropagation) { // reset any necessary cached properties (see #5009) if (this.offsetParentCssPosition === "fixed") { this.offset.parent = this._getParentOffset(); } //Compute the helpers position this.position = this._generatePosition(event); this.positionAbs = this._convertPositionTo("absolute"); //Call plugins and callbacks and use the resulting position if something is returned if (!noPropagation) { var ui = this._uiHash(); if (this._trigger("drag", event, ui) === false) { this._mouseUp({}); return false; } this.position = ui.position; } if (!this.options.axis || this.options.axis !== "y") { this.helper[0].style.left = this.position.left + "px"; } if (!this.options.axis || this.options.axis !== "x") { this.helper[0].style.top = this.position.top + "px"; } if ($.ui.ddmanager) { $.ui.ddmanager.drag(this, event); } return false; }, _mouseStop: function(event) { //If we are using droppables, inform the manager about the drop var that = this, dropped = false; if ($.ui.ddmanager && !this.options.dropBehaviour) { dropped = $.ui.ddmanager.drop(this, event); } //if a drop comes from outside (a sortable) if (this.dropped) { dropped = this.dropped; this.dropped = false; } //if the original element is no longer in the DOM don't bother to continue (see #8269) if (this.options.helper === "original" && !$.contains(this.element[ 0 ].ownerDocument, this.element[ 0 ])) { return false; } if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) { $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() { if (that._trigger("stop", event) !== false) { that._clear(); } }); } else { if (this._trigger("stop", event) !== false) { this._clear(); } } return false; }, _mouseUp: function(event) { //Remove frame helpers $("div.ui-draggable-iframeFix").each(function() { this.parentNode.removeChild(this); }); //If the ddmanager is used for droppables, inform the manager that dragging has stopped (see #5003) if ($.ui.ddmanager) { $.ui.ddmanager.dragStop(this, event); } return $.ui.mouse.prototype._mouseUp.call(this, event); }, cancel: function() { if (this.helper.is(".ui-draggable-dragging")) { this._mouseUp({}); } else { this._clear(); } return this; }, _getHandle: function(event) { return this.options.handle ? !!$(event.target).closest(this.element.find(this.options.handle)).length : true; }, _createHelper: function(event) { var o = this.options, helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event])) : (o.helper === "clone" ? this.element.clone().removeAttr("id") : this.element); if (!helper.parents("body").length) { helper.appendTo((o.appendTo === "parent" ? this.element[0].parentNode : o.appendTo)); } if (helper[0] !== this.element[0] && !(/(fixed|absolute)/).test(helper.css("position"))) { helper.css("position", "absolute"); } return helper; }, _adjustOffsetFromHelper: function(obj) { if (typeof obj === "string") { obj = obj.split(" "); } if ($.isArray(obj)) { obj = {left: +obj[0], top: +obj[1] || 0}; } if ("left" in obj) { this.offset.click.left = obj.left + this.margins.left; } if ("right" in obj) { this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left; } if ("top" in obj) { this.offset.click.top = obj.top + this.margins.top; } if ("bottom" in obj) { this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top; } }, _getParentOffset: function() { //Get the offsetParent and cache its position var po = this.offsetParent.offset(); // This is a special case where we need to modify a offset calculated on start, since the following happened: // 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag if (this.cssPosition === "absolute" && this.scrollParent[0] !== document && $.contains(this.scrollParent[0], this.offsetParent[0])) { po.left += this.scrollParent.scrollLeft(); po.top += this.scrollParent.scrollTop(); } //This needs to be actually done for all browsers, since pageX/pageY includes this information //Ugly IE fix if ((this.offsetParent[0] === document.body) || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() === "html" && $.ui.ie)) { po = {top: 0, left: 0}; } return { top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0) }; }, _getRelativeOffset: function() { if (this.cssPosition === "relative") { var p = this.element.position(); return { top: p.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), left: p.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft() }; } else { return {top: 0, left: 0}; } }, _cacheMargins: function() { this.margins = { left: (parseInt(this.element.css("marginLeft"), 10) || 0), top: (parseInt(this.element.css("marginTop"), 10) || 0), right: (parseInt(this.element.css("marginRight"), 10) || 0), bottom: (parseInt(this.element.css("marginBottom"), 10) || 0) }; }, _cacheHelperProportions: function() { this.helperProportions = { width: this.helper.outerWidth(), height: this.helper.outerHeight() }; }, _setContainment: function() { var over, c, ce, o = this.options; if (!o.containment) { this.containment = null; return; } if (o.containment === "window") { this.containment = [ $(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, $(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, $(window).scrollLeft() + $(window).width() - this.helperProportions.width - this.margins.left, $(window).scrollTop() + ($(window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top ]; return; } if (o.containment === "document") { this.containment = [ 0, 0, $(document).width() - this.helperProportions.width - this.margins.left, ($(document).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top ]; return; } if (o.containment.constructor === Array) { this.containment = o.containment; return; } if (o.containment === "parent") { o.containment = this.helper[ 0 ].parentNode; } c = $(o.containment); ce = c[ 0 ]; if (!ce) { return; } over = c.css("overflow") !== "hidden"; this.containment = [ (parseInt(c.css("borderLeftWidth"), 10) || 0) + (parseInt(c.css("paddingLeft"), 10) || 0), (parseInt(c.css("borderTopWidth"), 10) || 0) + (parseInt(c.css("paddingTop"), 10) || 0), (over ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth) - (parseInt(c.css("borderRightWidth"), 10) || 0) - (parseInt(c.css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (over ? Math.max(ce.scrollHeight, ce.offsetHeight) : ce.offsetHeight) - (parseInt(c.css("borderBottomWidth"), 10) || 0) - (parseInt(c.css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom ]; this.relative_container = c; }, _convertPositionTo: function(d, pos) { if (!pos) { pos = this.position; } var mod = d === "absolute" ? 1 : -1, scroll = this.cssPosition === "absolute" && !(this.scrollParent[ 0 ] !== document && $.contains(this.scrollParent[ 0 ], this.offsetParent[ 0 ])) ? this.offsetParent : this.scrollParent; //Cache the scroll if (!this.offset.scroll) { this.offset.scroll = {top: scroll.scrollTop(), left: scroll.scrollLeft()}; } return { top: ( pos.top + // The absolute mouse position this.offset.relative.top * mod + // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.top * mod - // The offsetParent's offset without borders (offset + border) ((this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : this.offset.scroll.top) * mod) ), left: ( pos.left + // The absolute mouse position this.offset.relative.left * mod + // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.left * mod - // The offsetParent's offset without borders (offset + border) ((this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : this.offset.scroll.left) * mod) ) }; }, _generatePosition: function(event) { var containment, co, top, left, o = this.options, scroll = this.cssPosition === "absolute" && !(this.scrollParent[ 0 ] !== document && $.contains(this.scrollParent[ 0 ], this.offsetParent[ 0 ])) ? this.offsetParent : this.scrollParent, pageX = event.pageX, pageY = event.pageY; //Cache the scroll if (!this.offset.scroll) { this.offset.scroll = {top: scroll.scrollTop(), left: scroll.scrollLeft()}; } /* * - Position constraining - * Constrain the position to a mix of grid, containment. */ // If we are not dragging yet, we won't check for options if (this.originalPosition) { if (this.containment) { if (this.relative_container) { co = this.relative_container.offset(); containment = [ this.containment[ 0 ] + co.left, this.containment[ 1 ] + co.top, this.containment[ 2 ] + co.left, this.containment[ 3 ] + co.top ]; } else { containment = this.containment; } if (event.pageX - this.offset.click.left < containment[0]) { pageX = containment[0] + this.offset.click.left; } if (event.pageY - this.offset.click.top < containment[1]) { pageY = containment[1] + this.offset.click.top; } if (event.pageX - this.offset.click.left > containment[2]) { pageX = containment[2] + this.offset.click.left; } if (event.pageY - this.offset.click.top > containment[3]) { pageY = containment[3] + this.offset.click.top; } } if (o.grid) { //Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE (see ticket #6950) top = o.grid[1] ? this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1] : this.originalPageY; pageY = containment ? ((top - this.offset.click.top >= containment[1] || top - this.offset.click.top > containment[3]) ? top : ((top - this.offset.click.top >= containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top; left = o.grid[0] ? this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0] : this.originalPageX; pageX = containment ? ((left - this.offset.click.left >= containment[0] || left - this.offset.click.left > containment[2]) ? left : ((left - this.offset.click.left >= containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left; } } return { top: ( pageY - // The absolute mouse position this.offset.click.top - // Click offset (relative to the element) this.offset.relative.top - // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.top + // The offsetParent's offset without borders (offset + border) (this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : this.offset.scroll.top) ), left: ( pageX - // The absolute mouse position this.offset.click.left - // Click offset (relative to the element) this.offset.relative.left - // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.left + // The offsetParent's offset without borders (offset + border) (this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : this.offset.scroll.left) ) }; }, _clear: function() { this.helper.removeClass("ui-draggable-dragging"); if (this.helper[0] !== this.element[0] && !this.cancelHelperRemoval) { this.helper.remove(); } this.helper = null; this.cancelHelperRemoval = false; }, // From now on bulk stuff - mainly helpers _trigger: function(type, event, ui) { ui = ui || this._uiHash(); $.ui.plugin.call(this, type, [event, ui]); //The absolute position has to be recalculated after plugins if (type === "drag") { this.positionAbs = this._convertPositionTo("absolute"); } return $.Widget.prototype._trigger.call(this, type, event, ui); }, plugins: {}, _uiHash: function() { return { helper: this.helper, position: this.position, originalPosition: this.originalPosition, offset: this.positionAbs }; } }); $.ui.plugin.add("draggable", "connectToSortable", { start: function(event, ui) { var inst = $(this).data("ui-draggable"), o = inst.options, uiSortable = $.extend({}, ui, {item: inst.element}); inst.sortables = []; $(o.connectToSortable).each(function() { var sortable = $.data(this, "ui-sortable"); if (sortable && !sortable.options.disabled) { inst.sortables.push({ instance: sortable, shouldRevert: sortable.options.revert }); sortable.refreshPositions(); // Call the sortable's refreshPositions at drag start to refresh the containerCache since the sortable container cache is used in drag and needs to be up to date (this will ensure it's initialised as well as being kept in step with any changes that might have happened on the page). sortable._trigger("activate", event, uiSortable); } }); }, stop: function(event, ui) { //If we are still over the sortable, we fake the stop event of the sortable, but also remove helper var inst = $(this).data("ui-draggable"), uiSortable = $.extend({}, ui, {item: inst.element}); $.each(inst.sortables, function() { if (this.instance.isOver) { this.instance.isOver = 0; inst.cancelHelperRemoval = true; //Don't remove the helper in the draggable instance this.instance.cancelHelperRemoval = false; //Remove it in the sortable instance (so sortable plugins like revert still work) //The sortable revert is supported, and we have to set a temporary dropped variable on the draggable to support revert: "valid/invalid" if (this.shouldRevert) { this.instance.options.revert = this.shouldRevert; } //Trigger the stop of the sortable this.instance._mouseStop(event); this.instance.options.helper = this.instance.options._helper; //If the helper has been the original item, restore properties in the sortable if (inst.options.helper === "original") { this.instance.currentItem.css({top: "auto", left: "auto"}); } } else { this.instance.cancelHelperRemoval = false; //Remove the helper in the sortable instance this.instance._trigger("deactivate", event, uiSortable); } }); }, drag: function(event, ui) { var inst = $(this).data("ui-draggable"), that = this; $.each(inst.sortables, function() { var innermostIntersecting = false, thisSortable = this; //Copy over some variables to allow calling the sortable's native _intersectsWith this.instance.positionAbs = inst.positionAbs; this.instance.helperProportions = inst.helperProportions; this.instance.offset.click = inst.offset.click; if (this.instance._intersectsWith(this.instance.containerCache)) { innermostIntersecting = true; $.each(inst.sortables, function() { this.instance.positionAbs = inst.positionAbs; this.instance.helperProportions = inst.helperProportions; this.instance.offset.click = inst.offset.click; if (this !== thisSortable && this.instance._intersectsWith(this.instance.containerCache) && $.contains(thisSortable.instance.element[0], this.instance.element[0]) ) { innermostIntersecting = false; } return innermostIntersecting; }); } if (innermostIntersecting) { //If it intersects, we use a little isOver variable and set it once, so our move-in stuff gets fired only once if (!this.instance.isOver) { this.instance.isOver = 1; //Now we fake the start of dragging for the sortable instance, //by cloning the list group item, appending it to the sortable and using it as inst.currentItem //We can then fire the start event of the sortable with our passed browser event, and our own helper (so it doesn't create a new one) this.instance.currentItem = $(that).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item", true); this.instance.options._helper = this.instance.options.helper; //Store helper option to later restore it this.instance.options.helper = function() { return ui.helper[0]; }; event.target = this.instance.currentItem[0]; this.instance._mouseCapture(event, true); this.instance._mouseStart(event, true, true); //Because the browser event is way off the new appended portlet, we modify a couple of variables to reflect the changes this.instance.offset.click.top = inst.offset.click.top; this.instance.offset.click.left = inst.offset.click.left; this.instance.offset.parent.left -= inst.offset.parent.left - this.instance.offset.parent.left; this.instance.offset.parent.top -= inst.offset.parent.top - this.instance.offset.parent.top; inst._trigger("toSortable", event); inst.dropped = this.instance.element; //draggable revert needs that //hack so receive/update callbacks work (mostly) inst.currentItem = inst.element; this.instance.fromOutside = inst; } //Provided we did all the previous steps, we can fire the drag event of the sortable on every draggable drag, when it intersects with the sortable if (this.instance.currentItem) { this.instance._mouseDrag(event); } } else { //If it doesn't intersect with the sortable, and it intersected before, //we fake the drag stop of the sortable, but make sure it doesn't remove the helper by using cancelHelperRemoval if (this.instance.isOver) { this.instance.isOver = 0; this.instance.cancelHelperRemoval = true; //Prevent reverting on this forced stop this.instance.options.revert = false; // The out event needs to be triggered independently this.instance._trigger("out", event, this.instance._uiHash(this.instance)); this.instance._mouseStop(event, true); this.instance.options.helper = this.instance.options._helper; //Now we remove our currentItem, the list group clone again, and the placeholder, and animate the helper back to it's original size this.instance.currentItem.remove(); if (this.instance.placeholder) { this.instance.placeholder.remove(); } inst._trigger("fromSortable", event); inst.dropped = false; //draggable revert needs that } } }); } }); $.ui.plugin.add("draggable", "cursor", { start: function() { var t = $("body"), o = $(this).data("ui-draggable").options; if (t.css("cursor")) { o._cursor = t.css("cursor"); } t.css("cursor", o.cursor); }, stop: function() { var o = $(this).data("ui-draggable").options; if (o._cursor) { $("body").css("cursor", o._cursor); } } }); $.ui.plugin.add("draggable", "opacity", { start: function(event, ui) { var t = $(ui.helper), o = $(this).data("ui-draggable").options; if (t.css("opacity")) { o._opacity = t.css("opacity"); } t.css("opacity", o.opacity); }, stop: function(event, ui) { var o = $(this).data("ui-draggable").options; if (o._opacity) { $(ui.helper).css("opacity", o._opacity); } } }); $.ui.plugin.add("draggable", "scroll", { start: function() { var i = $(this).data("ui-draggable"); if (i.scrollParent[0] !== document && i.scrollParent[0].tagName !== "HTML") { i.overflowOffset = i.scrollParent.offset(); } }, drag: function(event) { var i = $(this).data("ui-draggable"), o = i.options, scrolled = false; if (i.scrollParent[0] !== document && i.scrollParent[0].tagName !== "HTML") { if (!o.axis || o.axis !== "x") { if ((i.overflowOffset.top + i.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity) { i.scrollParent[0].scrollTop = scrolled = i.scrollParent[0].scrollTop + o.scrollSpeed; } else if (event.pageY - i.overflowOffset.top < o.scrollSensitivity) { i.scrollParent[0].scrollTop = scrolled = i.scrollParent[0].scrollTop - o.scrollSpeed; } } if (!o.axis || o.axis !== "y") { if ((i.overflowOffset.left + i.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity) { i.scrollParent[0].scrollLeft = scrolled = i.scrollParent[0].scrollLeft + o.scrollSpeed; } else if (event.pageX - i.overflowOffset.left < o.scrollSensitivity) { i.scrollParent[0].scrollLeft = scrolled = i.scrollParent[0].scrollLeft - o.scrollSpeed; } } } else { if (!o.axis || o.axis !== "x") { if (event.pageY - $(document).scrollTop() < o.scrollSensitivity) { scrolled = $(document).scrollTop($(document).scrollTop() - o.scrollSpeed); } else if ($(window).height() - (event.pageY - $(document).scrollTop()) < o.scrollSensitivity) { scrolled = $(document).scrollTop($(document).scrollTop() + o.scrollSpeed); } } if (!o.axis || o.axis !== "y") { if (event.pageX - $(document).scrollLeft() < o.scrollSensitivity) { scrolled = $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed); } else if ($(window).width() - (event.pageX - $(document).scrollLeft()) < o.scrollSensitivity) { scrolled = $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed); } } } if (scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(i, event); } } }); $.ui.plugin.add("draggable", "snap", { start: function() { var i = $(this).data("ui-draggable"), o = i.options; i.snapElements = []; $(o.snap.constructor !== String ? (o.snap.items || ":data(ui-draggable)") : o.snap).each(function() { var $t = $(this), $o = $t.offset(); if (this !== i.element[0]) { i.snapElements.push({ item: this, width: $t.outerWidth(), height: $t.outerHeight(), top: $o.top, left: $o.left }); } }); }, drag: function(event, ui) { var ts, bs, ls, rs, l, r, t, b, i, first, inst = $(this).data("ui-draggable"), o = inst.options, d = o.snapTolerance, x1 = ui.offset.left, x2 = x1 + inst.helperProportions.width, y1 = ui.offset.top, y2 = y1 + inst.helperProportions.height; for (i = inst.snapElements.length - 1; i >= 0; i--) { l = inst.snapElements[i].left; r = l + inst.snapElements[i].width; t = inst.snapElements[i].top; b = t + inst.snapElements[i].height; if (x2 < l - d || x1 > r + d || y2 < t - d || y1 > b + d || !$.contains(inst.snapElements[ i ].item.ownerDocument, inst.snapElements[ i ].item)) { if (inst.snapElements[i].snapping) { (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), {snapItem: inst.snapElements[i].item}))); } inst.snapElements[i].snapping = false; continue; } if (o.snapMode !== "inner") { ts = Math.abs(t - y2) <= d; bs = Math.abs(b - y1) <= d; ls = Math.abs(l - x2) <= d; rs = Math.abs(r - x1) <= d; if (ts) { ui.position.top = inst._convertPositionTo("relative", {top: t - inst.helperProportions.height, left: 0}).top - inst.margins.top; } if (bs) { ui.position.top = inst._convertPositionTo("relative", {top: b, left: 0}).top - inst.margins.top; } if (ls) { ui.position.left = inst._convertPositionTo("relative", {top: 0, left: l - inst.helperProportions.width}).left - inst.margins.left; } if (rs) { ui.position.left = inst._convertPositionTo("relative", {top: 0, left: r}).left - inst.margins.left; } } first = (ts || bs || ls || rs); if (o.snapMode !== "outer") { ts = Math.abs(t - y1) <= d; bs = Math.abs(b - y2) <= d; ls = Math.abs(l - x1) <= d; rs = Math.abs(r - x2) <= d; if (ts) { ui.position.top = inst._convertPositionTo("relative", {top: t, left: 0}).top - inst.margins.top; } if (bs) { ui.position.top = inst._convertPositionTo("relative", {top: b - inst.helperProportions.height, left: 0}).top - inst.margins.top; } if (ls) { ui.position.left = inst._convertPositionTo("relative", {top: 0, left: l}).left - inst.margins.left; } if (rs) { ui.position.left = inst._convertPositionTo("relative", {top: 0, left: r - inst.helperProportions.width}).left - inst.margins.left; } } if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) { (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), {snapItem: inst.snapElements[i].item}))); } inst.snapElements[i].snapping = (ts || bs || ls || rs || first); } } }); $.ui.plugin.add("draggable", "stack", { start: function() { var min, o = this.data("ui-draggable").options, group = $.makeArray($(o.stack)).sort(function(a, b) { return (parseInt($(a).css("zIndex"), 10) || 0) - (parseInt($(b).css("zIndex"), 10) || 0); }); if (!group.length) { return; } min = parseInt($(group[0]).css("zIndex"), 10) || 0; $(group).each(function(i) { $(this).css("zIndex", min + i); }); this.css("zIndex", (min + group.length)); } }); $.ui.plugin.add("draggable", "zIndex", { start: function(event, ui) { var t = $(ui.helper), o = $(this).data("ui-draggable").options; if (t.css("zIndex")) { o._zIndex = t.css("zIndex"); } t.css("zIndex", o.zIndex); }, stop: function(event, ui) { var o = $(this).data("ui-draggable").options; if (o._zIndex) { $(ui.helper).css("zIndex", o._zIndex); } } }); })(jQuery); (function($, undefined) { function isOverAxis(x, reference, size) { return (x > reference) && (x < (reference + size)); } $.widget("ui.droppable", { version: "1.10.3", widgetEventPrefix: "drop", options: { accept: "*", activeClass: false, addClasses: true, greedy: false, hoverClass: false, scope: "default", tolerance: "intersect", // callbacks activate: null, deactivate: null, drop: null, out: null, over: null }, _create: function() { var o = this.options, accept = o.accept; this.isover = false; this.isout = true; this.accept = $.isFunction(accept) ? accept : function(d) { return d.is(accept); }; //Store the droppable's proportions this.proportions = {width: this.element[0].offsetWidth, height: this.element[0].offsetHeight}; // Add the reference and positions to the manager $.ui.ddmanager.droppables[o.scope] = $.ui.ddmanager.droppables[o.scope] || []; $.ui.ddmanager.droppables[o.scope].push(this); (o.addClasses && this.element.addClass("ui-droppable")); }, _destroy: function() { var i = 0, drop = $.ui.ddmanager.droppables[this.options.scope]; for (; i < drop.length; i++) { if (drop[i] === this) { drop.splice(i, 1); } } this.element.removeClass("ui-droppable ui-droppable-disabled"); }, _setOption: function(key, value) { if (key === "accept") { this.accept = $.isFunction(value) ? value : function(d) { return d.is(value); }; } $.Widget.prototype._setOption.apply(this, arguments); }, _activate: function(event) { var draggable = $.ui.ddmanager.current; if (this.options.activeClass) { this.element.addClass(this.options.activeClass); } if (draggable) { this._trigger("activate", event, this.ui(draggable)); } }, _deactivate: function(event) { var draggable = $.ui.ddmanager.current; if (this.options.activeClass) { this.element.removeClass(this.options.activeClass); } if (draggable) { this._trigger("deactivate", event, this.ui(draggable)); } }, _over: function(event) { var draggable = $.ui.ddmanager.current; // Bail if draggable and droppable are same element if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) { return; } if (this.accept.call(this.element[0], (draggable.currentItem || draggable.element))) { if (this.options.hoverClass) { this.element.addClass(this.options.hoverClass); } this._trigger("over", event, this.ui(draggable)); } }, _out: function(event) { var draggable = $.ui.ddmanager.current; // Bail if draggable and droppable are same element if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) { return; } if (this.accept.call(this.element[0], (draggable.currentItem || draggable.element))) { if (this.options.hoverClass) { this.element.removeClass(this.options.hoverClass); } this._trigger("out", event, this.ui(draggable)); } }, _drop: function(event, custom) { var draggable = custom || $.ui.ddmanager.current, childrenIntersection = false; // Bail if draggable and droppable are same element if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) { return false; } this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function() { var inst = $.data(this, "ui-droppable"); if ( inst.options.greedy && !inst.options.disabled && inst.options.scope === draggable.options.scope && inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element)) && $.ui.intersect(draggable, $.extend(inst, {offset: inst.element.offset()}), inst.options.tolerance) ) { childrenIntersection = true; return false; } }); if (childrenIntersection) { return false; } if (this.accept.call(this.element[0], (draggable.currentItem || draggable.element))) { if (this.options.activeClass) { this.element.removeClass(this.options.activeClass); } if (this.options.hoverClass) { this.element.removeClass(this.options.hoverClass); } this._trigger("drop", event, this.ui(draggable)); return this.element; } return false; }, ui: function(c) { return { draggable: (c.currentItem || c.element), helper: c.helper, position: c.position, offset: c.positionAbs }; } }); $.ui.intersect = function(draggable, droppable, toleranceMode) { if (!droppable.offset) { return false; } var draggableLeft, draggableTop, x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width, y1 = (draggable.positionAbs || draggable.position.absolute).top, y2 = y1 + draggable.helperProportions.height, l = droppable.offset.left, r = l + droppable.proportions.width, t = droppable.offset.top, b = t + droppable.proportions.height; switch (toleranceMode) { case "fit": return (l <= x1 && x2 <= r && t <= y1 && y2 <= b); case "intersect": return (l < x1 + (draggable.helperProportions.width / 2) && // Right Half x2 - (draggable.helperProportions.width / 2) < r && // Left Half t < y1 + (draggable.helperProportions.height / 2) && // Bottom Half y2 - (draggable.helperProportions.height / 2) < b); // Top Half case "pointer": draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left); draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top); return isOverAxis(draggableTop, t, droppable.proportions.height) && isOverAxis(draggableLeft, l, droppable.proportions.width); case "touch": return ( (y1 >= t && y1 <= b) || // Top edge touching (y2 >= t && y2 <= b) || // Bottom edge touching (y1 < t && y2 > b) // Surrounded vertically ) && ( (x1 >= l && x1 <= r) || // Left edge touching (x2 >= l && x2 <= r) || // Right edge touching (x1 < l && x2 > r) // Surrounded horizontally ); default: return false; } }; /* This manager tracks offsets of draggables and droppables */ $.ui.ddmanager = { current: null, droppables: {"default": []}, prepareOffsets: function(t, event) { var i, j, m = $.ui.ddmanager.droppables[t.options.scope] || [], type = event ? event.type : null, // workaround for #2317 list = (t.currentItem || t.element).find(":data(ui-droppable)").addBack(); droppablesLoop: for (i = 0; i < m.length; i++) { //No disabled and non-accepted if (m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0], (t.currentItem || t.element)))) { continue; } // Filter out elements in the current dragged item for (j = 0; j < list.length; j++) { if (list[j] === m[i].element[0]) { m[i].proportions.height = 0; continue droppablesLoop; } } m[i].visible = m[i].element.css("display") !== "none"; if (!m[i].visible) { continue; } //Activate the droppable if used directly from draggables if (type === "mousedown") { m[i]._activate.call(m[i], event); } m[i].offset = m[i].element.offset(); m[i].proportions = {width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight}; } }, drop: function(draggable, event) { var dropped = false; // Create a copy of the droppables in case the list changes during the drop (#9116) $.each(($.ui.ddmanager.droppables[draggable.options.scope] || []).slice(), function() { if (!this.options) { return; } if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance)) { dropped = this._drop.call(this, event) || dropped; } if (!this.options.disabled && this.visible && this.accept.call(this.element[0], (draggable.currentItem || draggable.element))) { this.isout = true; this.isover = false; this._deactivate.call(this, event); } }); return dropped; }, dragStart: function(draggable, event) { //Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003) draggable.element.parentsUntil("body").bind("scroll.droppable", function() { if (!draggable.options.refreshPositions) { $.ui.ddmanager.prepareOffsets(draggable, event); } }); }, drag: function(draggable, event) { //If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse. if (draggable.options.refreshPositions) { $.ui.ddmanager.prepareOffsets(draggable, event); } //Run through all droppables and check their positions based on specific tolerance options $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() { if (this.options.disabled || this.greedyChild || !this.visible) { return; } var parentInstance, scope, parent, intersects = $.ui.intersect(draggable, this, this.options.tolerance), c = !intersects && this.isover ? "isout" : (intersects && !this.isover ? "isover" : null); if (!c) { return; } if (this.options.greedy) { // find droppable parents with same scope scope = this.options.scope; parent = this.element.parents(":data(ui-droppable)").filter(function() { return $.data(this, "ui-droppable").options.scope === scope; }); if (parent.length) { parentInstance = $.data(parent[0], "ui-droppable"); parentInstance.greedyChild = (c === "isover"); } } // we just moved into a greedy child if (parentInstance && c === "isover") { parentInstance.isover = false; parentInstance.isout = true; parentInstance._out.call(parentInstance, event); } this[c] = true; this[c === "isout" ? "isover" : "isout"] = false; this[c === "isover" ? "_over" : "_out"].call(this, event); // we just moved out of a greedy child if (parentInstance && c === "isout") { parentInstance.isout = false; parentInstance.isover = true; parentInstance._over.call(parentInstance, event); } }); }, dragStop: function(draggable, event) { draggable.element.parentsUntil("body").unbind("scroll.droppable"); //Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003) if (!draggable.options.refreshPositions) { $.ui.ddmanager.prepareOffsets(draggable, event); } } }; })(jQuery); (function($, undefined) { function num(v) { return parseInt(v, 10) || 0; } function isNumber(value) { return !isNaN(parseInt(value, 10)); } $.widget("ui.resizable", $.ui.mouse, { version: "1.10.3", widgetEventPrefix: "resize", options: { alsoResize: false, animate: false, animateDuration: "slow", animateEasing: "swing", aspectRatio: false, autoHide: false, containment: false, ghost: false, grid: false, handles: "e,s,se", helper: false, maxHeight: null, maxWidth: null, minHeight: 10, minWidth: 10, // See #7960 zIndex: 90, // callbacks resize: null, start: null, stop: null }, _create: function() { var n, i, handle, axis, hname, that = this, o = this.options; this.element.addClass("ui-resizable"); $.extend(this, { _aspectRatio: !!(o.aspectRatio), aspectRatio: o.aspectRatio, originalElement: this.element, _proportionallyResizeElements: [], _helper: o.helper || o.ghost || o.animate ? o.helper || "ui-resizable-helper" : null }); //Wrap the element if it cannot hold child nodes if (this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)) { //Create a wrapper element and set the wrapper to the new current internal element this.element.wrap( $("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({ position: this.element.css("position"), width: this.element.outerWidth(), height: this.element.outerHeight(), top: this.element.css("top"), left: this.element.css("left") }) ); //Overwrite the original this.element this.element = this.element.parent().data( "ui-resizable", this.element.data("ui-resizable") ); this.elementIsWrapper = true; //Move margins to the wrapper this.element.css({marginLeft: this.originalElement.css("marginLeft"), marginTop: this.originalElement.css("marginTop"), marginRight: this.originalElement.css("marginRight"), marginBottom: this.originalElement.css("marginBottom")}); this.originalElement.css({marginLeft: 0, marginTop: 0, marginRight: 0, marginBottom: 0}); //Prevent Safari textarea resize this.originalResizeStyle = this.originalElement.css("resize"); this.originalElement.css("resize", "none"); //Push the actual element to our proportionallyResize internal array this._proportionallyResizeElements.push(this.originalElement.css({position: "static", zoom: 1, display: "block"})); // avoid IE jump (hard set the margin) this.originalElement.css({margin: this.originalElement.css("margin")}); // fix handlers offset this._proportionallyResize(); } this.handles = o.handles || (!$(".ui-resizable-handle", this.element).length ? "e,s,se" : {n: ".ui-resizable-n", e: ".ui-resizable-e", s: ".ui-resizable-s", w: ".ui-resizable-w", se: ".ui-resizable-se", sw: ".ui-resizable-sw", ne: ".ui-resizable-ne", nw: ".ui-resizable-nw"}); if (this.handles.constructor === String) { if (this.handles === "all") { this.handles = "n,e,s,w,se,sw,ne,nw"; } n = this.handles.split(","); this.handles = {}; for (i = 0; i < n.length; i++) { handle = $.trim(n[i]); hname = "ui-resizable-" + handle; axis = $("<div class='ui-resizable-handle " + hname + "'></div>"); // Apply zIndex to all handles - see #7960 axis.css({zIndex: o.zIndex}); //TODO : What's going on here? if ("se" === handle) { axis.addClass("ui-icon ui-icon-gripsmall-diagonal-se"); } //Insert into internal handles object and append to element this.handles[handle] = ".ui-resizable-" + handle; this.element.append(axis); } } this._renderAxis = function(target) { var i, axis, padPos, padWrapper; target = target || this.element; for (i in this.handles) { if (this.handles[i].constructor === String) { this.handles[i] = $(this.handles[i], this.element).show(); } //Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls) if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) { axis = $(this.handles[i], this.element); //Checking the correct pad and border padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth(); //The padding type i have to apply... padPos = ["padding", /ne|nw|n/.test(i) ? "Top" : /se|sw|s/.test(i) ? "Bottom" : /^e$/.test(i) ? "Right" : "Left"].join(""); target.css(padPos, padWrapper); this._proportionallyResize(); } //TODO: What's that good for? There's not anything to be executed left if (!$(this.handles[i]).length) { continue; } } }; //TODO: make renderAxis a prototype function this._renderAxis(this.element); this._handles = $(".ui-resizable-handle", this.element) .disableSelection(); //Matching axis name this._handles.mouseover(function() { if (!that.resizing) { if (this.className) { axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); } //Axis, default = se that.axis = axis && axis[1] ? axis[1] : "se"; } }); //If we want to auto hide the elements if (o.autoHide) { this._handles.hide(); $(this.element) .addClass("ui-resizable-autohide") .mouseenter(function() { if (o.disabled) { return; } $(this).removeClass("ui-resizable-autohide"); that._handles.show(); }) .mouseleave(function() { if (o.disabled) { return; } if (!that.resizing) { $(this).addClass("ui-resizable-autohide"); that._handles.hide(); } }); } //Initialize the mouse interaction this._mouseInit(); }, _destroy: function() { this._mouseDestroy(); var wrapper, _destroy = function(exp) { $(exp).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing") .removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove(); }; //TODO: Unwrap at same DOM position if (this.elementIsWrapper) { _destroy(this.element); wrapper = this.element; this.originalElement.css({ position: wrapper.css("position"), width: wrapper.outerWidth(), height: wrapper.outerHeight(), top: wrapper.css("top"), left: wrapper.css("left") }).insertAfter(wrapper); wrapper.remove(); } this.originalElement.css("resize", this.originalResizeStyle); _destroy(this.originalElement); return this; }, _mouseCapture: function(event) { var i, handle, capture = false; for (i in this.handles) { handle = $(this.handles[i])[0]; if (handle === event.target || $.contains(handle, event.target)) { capture = true; } } return !this.options.disabled && capture; }, _mouseStart: function(event) { var curleft, curtop, cursor, o = this.options, iniPos = this.element.position(), el = this.element; this.resizing = true; // bugfix for http://dev.jquery.com/ticket/1749 if ((/absolute/).test(el.css("position"))) { el.css({position: "absolute", top: el.css("top"), left: el.css("left")}); } else if (el.is(".ui-draggable")) { el.css({position: "absolute", top: iniPos.top, left: iniPos.left}); } this._renderProxy(); curleft = num(this.helper.css("left")); curtop = num(this.helper.css("top")); if (o.containment) { curleft += $(o.containment).scrollLeft() || 0; curtop += $(o.containment).scrollTop() || 0; } //Store needed variables this.offset = this.helper.offset(); this.position = {left: curleft, top: curtop}; this.size = this._helper ? {width: el.outerWidth(), height: el.outerHeight()} : {width: el.width(), height: el.height()}; this.originalSize = this._helper ? {width: el.outerWidth(), height: el.outerHeight()} : {width: el.width(), height: el.height()}; this.originalPosition = {left: curleft, top: curtop}; this.sizeDiff = {width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height()}; this.originalMousePosition = {left: event.pageX, top: event.pageY}; //Aspect Ratio this.aspectRatio = (typeof o.aspectRatio === "number") ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height) || 1); cursor = $(".ui-resizable-" + this.axis).css("cursor"); $("body").css("cursor", cursor === "auto" ? this.axis + "-resize" : cursor); el.addClass("ui-resizable-resizing"); this._propagate("start", event); return true; }, _mouseDrag: function(event) { //Increase performance, avoid regex var data, el = this.helper, props = {}, smp = this.originalMousePosition, a = this.axis, prevTop = this.position.top, prevLeft = this.position.left, prevWidth = this.size.width, prevHeight = this.size.height, dx = (event.pageX - smp.left) || 0, dy = (event.pageY - smp.top) || 0, trigger = this._change[a]; if (!trigger) { return false; } // Calculate the attrs that will be change data = trigger.apply(this, [event, dx, dy]); // Put this in the mouseDrag handler since the user can start pressing shift while resizing this._updateVirtualBoundaries(event.shiftKey); if (this._aspectRatio || event.shiftKey) { data = this._updateRatio(data, event); } data = this._respectSize(data, event); this._updateCache(data); // plugins callbacks need to be called first this._propagate("resize", event); if (this.position.top !== prevTop) { props.top = this.position.top + "px"; } if (this.position.left !== prevLeft) { props.left = this.position.left + "px"; } if (this.size.width !== prevWidth) { props.width = this.size.width + "px"; } if (this.size.height !== prevHeight) { props.height = this.size.height + "px"; } el.css(props); if (!this._helper && this._proportionallyResizeElements.length) { this._proportionallyResize(); } // Call the user callback if the element was resized if (!$.isEmptyObject(props)) { this._trigger("resize", event, this.ui()); } return false; }, _mouseStop: function(event) { this.resizing = false; var pr, ista, soffseth, soffsetw, s, left, top, o = this.options, that = this; if (this._helper) { pr = this._proportionallyResizeElements; ista = pr.length && (/textarea/i).test(pr[0].nodeName); soffseth = ista && $.ui.hasScroll(pr[0], "left") /* TODO - jump height */ ? 0 : that.sizeDiff.height; soffsetw = ista ? 0 : that.sizeDiff.width; s = {width: (that.helper.width() - soffsetw), height: (that.helper.height() - soffseth)}; left = (parseInt(that.element.css("left"), 10) + (that.position.left - that.originalPosition.left)) || null; top = (parseInt(that.element.css("top"), 10) + (that.position.top - that.originalPosition.top)) || null; if (!o.animate) { this.element.css($.extend(s, {top: top, left: left})); } that.helper.height(that.size.height); that.helper.width(that.size.width); if (this._helper && !o.animate) { this._proportionallyResize(); } } $("body").css("cursor", "auto"); this.element.removeClass("ui-resizable-resizing"); this._propagate("stop", event); if (this._helper) { this.helper.remove(); } return false; }, _updateVirtualBoundaries: function(forceAspectRatio) { var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b, o = this.options; b = { minWidth: isNumber(o.minWidth) ? o.minWidth : 0, maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity, minHeight: isNumber(o.minHeight) ? o.minHeight : 0, maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity }; if (this._aspectRatio || forceAspectRatio) { // We want to create an enclosing box whose aspect ration is the requested one // First, compute the "projected" size for each dimension based on the aspect ratio and other dimension pMinWidth = b.minHeight * this.aspectRatio; pMinHeight = b.minWidth / this.aspectRatio; pMaxWidth = b.maxHeight * this.aspectRatio; pMaxHeight = b.maxWidth / this.aspectRatio; if (pMinWidth > b.minWidth) { b.minWidth = pMinWidth; } if (pMinHeight > b.minHeight) { b.minHeight = pMinHeight; } if (pMaxWidth < b.maxWidth) { b.maxWidth = pMaxWidth; } if (pMaxHeight < b.maxHeight) { b.maxHeight = pMaxHeight; } } this._vBoundaries = b; }, _updateCache: function(data) { this.offset = this.helper.offset(); if (isNumber(data.left)) { this.position.left = data.left; } if (isNumber(data.top)) { this.position.top = data.top; } if (isNumber(data.height)) { this.size.height = data.height; } if (isNumber(data.width)) { this.size.width = data.width; } }, _updateRatio: function(data) { var cpos = this.position, csize = this.size, a = this.axis; if (isNumber(data.height)) { data.width = (data.height * this.aspectRatio); } else if (isNumber(data.width)) { data.height = (data.width / this.aspectRatio); } if (a === "sw") { data.left = cpos.left + (csize.width - data.width); data.top = null; } if (a === "nw") { data.top = cpos.top + (csize.height - data.height); data.left = cpos.left + (csize.width - data.width); } return data; }, _respectSize: function(data) { var o = this._vBoundaries, a = this.axis, ismaxw = isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), ismaxh = isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height), isminw = isNumber(data.width) && o.minWidth && (o.minWidth > data.width), isminh = isNumber(data.height) && o.minHeight && (o.minHeight > data.height), dw = this.originalPosition.left + this.originalSize.width, dh = this.position.top + this.size.height, cw = /sw|nw|w/.test(a), ch = /nw|ne|n/.test(a); if (isminw) { data.width = o.minWidth; } if (isminh) { data.height = o.minHeight; } if (ismaxw) { data.width = o.maxWidth; } if (ismaxh) { data.height = o.maxHeight; } if (isminw && cw) { data.left = dw - o.minWidth; } if (ismaxw && cw) { data.left = dw - o.maxWidth; } if (isminh && ch) { data.top = dh - o.minHeight; } if (ismaxh && ch) { data.top = dh - o.maxHeight; } // fixing jump error on top/left - bug #2330 if (!data.width && !data.height && !data.left && data.top) { data.top = null; } else if (!data.width && !data.height && !data.top && data.left) { data.left = null; } return data; }, _proportionallyResize: function() { if (!this._proportionallyResizeElements.length) { return; } var i, j, borders, paddings, prel, element = this.helper || this.element; for (i = 0; i < this._proportionallyResizeElements.length; i++) { prel = this._proportionallyResizeElements[i]; if (!this.borderDif) { this.borderDif = []; borders = [prel.css("borderTopWidth"), prel.css("borderRightWidth"), prel.css("borderBottomWidth"), prel.css("borderLeftWidth")]; paddings = [prel.css("paddingTop"), prel.css("paddingRight"), prel.css("paddingBottom"), prel.css("paddingLeft")]; for (j = 0; j < borders.length; j++) { this.borderDif[ j ] = (parseInt(borders[ j ], 10) || 0) + (parseInt(paddings[ j ], 10) || 0); } } prel.css({ height: (element.height() - this.borderDif[0] - this.borderDif[2]) || 0, width: (element.width() - this.borderDif[1] - this.borderDif[3]) || 0 }); } }, _renderProxy: function() { var el = this.element, o = this.options; this.elementOffset = el.offset(); if (this._helper) { this.helper = this.helper || $("<div style='overflow:hidden;'></div>"); this.helper.addClass(this._helper).css({ width: this.element.outerWidth() - 1, height: this.element.outerHeight() - 1, position: "absolute", left: this.elementOffset.left + "px", top: this.elementOffset.top + "px", zIndex: ++o.zIndex //TODO: Don't modify option }); this.helper .appendTo("body") .disableSelection(); } else { this.helper = this.element; } }, _change: { e: function(event, dx) { return {width: this.originalSize.width + dx}; }, w: function(event, dx) { var cs = this.originalSize, sp = this.originalPosition; return {left: sp.left + dx, width: cs.width - dx}; }, n: function(event, dx, dy) { var cs = this.originalSize, sp = this.originalPosition; return {top: sp.top + dy, height: cs.height - dy}; }, s: function(event, dx, dy) { return {height: this.originalSize.height + dy}; }, se: function(event, dx, dy) { return $.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [event, dx, dy])); }, sw: function(event, dx, dy) { return $.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [event, dx, dy])); }, ne: function(event, dx, dy) { return $.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [event, dx, dy])); }, nw: function(event, dx, dy) { return $.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [event, dx, dy])); } }, _propagate: function(n, event) { $.ui.plugin.call(this, n, [event, this.ui()]); (n !== "resize" && this._trigger(n, event, this.ui())); }, plugins: {}, ui: function() { return { originalElement: this.originalElement, element: this.element, helper: this.helper, position: this.position, size: this.size, originalSize: this.originalSize, originalPosition: this.originalPosition }; } }); /* * Resizable Extensions */ $.ui.plugin.add("resizable", "animate", { stop: function(event) { var that = $(this).data("ui-resizable"), o = that.options, pr = that._proportionallyResizeElements, ista = pr.length && (/textarea/i).test(pr[0].nodeName), soffseth = ista && $.ui.hasScroll(pr[0], "left") /* TODO - jump height */ ? 0 : that.sizeDiff.height, soffsetw = ista ? 0 : that.sizeDiff.width, style = {width: (that.size.width - soffsetw), height: (that.size.height - soffseth)}, left = (parseInt(that.element.css("left"), 10) + (that.position.left - that.originalPosition.left)) || null, top = (parseInt(that.element.css("top"), 10) + (that.position.top - that.originalPosition.top)) || null; that.element.animate( $.extend(style, top && left ? {top: top, left: left} : {}), { duration: o.animateDuration, easing: o.animateEasing, step: function() { var data = { width: parseInt(that.element.css("width"), 10), height: parseInt(that.element.css("height"), 10), top: parseInt(that.element.css("top"), 10), left: parseInt(that.element.css("left"), 10) }; if (pr && pr.length) { $(pr[0]).css({width: data.width, height: data.height}); } // propagating resize, and updating values for each animation step that._updateCache(data); that._propagate("resize", event); } } ); } }); $.ui.plugin.add("resizable", "containment", { start: function() { var element, p, co, ch, cw, width, height, that = $(this).data("ui-resizable"), o = that.options, el = that.element, oc = o.containment, ce = (oc instanceof $) ? oc.get(0) : (/parent/.test(oc)) ? el.parent().get(0) : oc; if (!ce) { return; } that.containerElement = $(ce); if (/document/.test(oc) || oc === document) { that.containerOffset = {left: 0, top: 0}; that.containerPosition = {left: 0, top: 0}; that.parentData = { element: $(document), left: 0, top: 0, width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight }; } // i'm a node, so compute top, left, right, bottom else { element = $(ce); p = []; $(["Top", "Right", "Left", "Bottom"]).each(function(i, name) { p[i] = num(element.css("padding" + name)); }); that.containerOffset = element.offset(); that.containerPosition = element.position(); that.containerSize = {height: (element.innerHeight() - p[3]), width: (element.innerWidth() - p[1])}; co = that.containerOffset; ch = that.containerSize.height; cw = that.containerSize.width; width = ($.ui.hasScroll(ce, "left") ? ce.scrollWidth : cw); height = ($.ui.hasScroll(ce) ? ce.scrollHeight : ch); that.parentData = { element: ce, left: co.left, top: co.top, width: width, height: height }; } }, resize: function(event) { var woset, hoset, isParent, isOffsetRelative, that = $(this).data("ui-resizable"), o = that.options, co = that.containerOffset, cp = that.position, pRatio = that._aspectRatio || event.shiftKey, cop = {top: 0, left: 0}, ce = that.containerElement; if (ce[0] !== document && (/static/).test(ce.css("position"))) { cop = co; } if (cp.left < (that._helper ? co.left : 0)) { that.size.width = that.size.width + (that._helper ? (that.position.left - co.left) : (that.position.left - cop.left)); if (pRatio) { that.size.height = that.size.width / that.aspectRatio; } that.position.left = o.helper ? co.left : 0; } if (cp.top < (that._helper ? co.top : 0)) { that.size.height = that.size.height + (that._helper ? (that.position.top - co.top) : that.position.top); if (pRatio) { that.size.width = that.size.height * that.aspectRatio; } that.position.top = that._helper ? co.top : 0; } that.offset.left = that.parentData.left + that.position.left; that.offset.top = that.parentData.top + that.position.top; woset = Math.abs((that._helper ? that.offset.left - cop.left : (that.offset.left - cop.left)) + that.sizeDiff.width); hoset = Math.abs((that._helper ? that.offset.top - cop.top : (that.offset.top - co.top)) + that.sizeDiff.height); isParent = that.containerElement.get(0) === that.element.parent().get(0); isOffsetRelative = /relative|absolute/.test(that.containerElement.css("position")); if (isParent && isOffsetRelative) { woset -= that.parentData.left; } if (woset + that.size.width >= that.parentData.width) { that.size.width = that.parentData.width - woset; if (pRatio) { that.size.height = that.size.width / that.aspectRatio; } } if (hoset + that.size.height >= that.parentData.height) { that.size.height = that.parentData.height - hoset; if (pRatio) { that.size.width = that.size.height * that.aspectRatio; } } }, stop: function() { var that = $(this).data("ui-resizable"), o = that.options, co = that.containerOffset, cop = that.containerPosition, ce = that.containerElement, helper = $(that.helper), ho = helper.offset(), w = helper.outerWidth() - that.sizeDiff.width, h = helper.outerHeight() - that.sizeDiff.height; if (that._helper && !o.animate && (/relative/).test(ce.css("position"))) { $(this).css({left: ho.left - cop.left - co.left, width: w, height: h}); } if (that._helper && !o.animate && (/static/).test(ce.css("position"))) { $(this).css({left: ho.left - cop.left - co.left, width: w, height: h}); } } }); $.ui.plugin.add("resizable", "alsoResize", { start: function() { var that = $(this).data("ui-resizable"), o = that.options, _store = function(exp) { $(exp).each(function() { var el = $(this); el.data("ui-resizable-alsoresize", { width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10) }); }); }; if (typeof(o.alsoResize) === "object" && !o.alsoResize.parentNode) { if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); } else { $.each(o.alsoResize, function(exp) { _store(exp); }); } } else { _store(o.alsoResize); } }, resize: function(event, ui) { var that = $(this).data("ui-resizable"), o = that.options, os = that.originalSize, op = that.originalPosition, delta = { height: (that.size.height - os.height) || 0, width: (that.size.width - os.width) || 0, top: (that.position.top - op.top) || 0, left: (that.position.left - op.left) || 0 }, _alsoResize = function(exp, c) { $(exp).each(function() { var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {}, css = c && c.length ? c : el.parents(ui.originalElement[0]).length ? ["width", "height"] : ["width", "height", "top", "left"]; $.each(css, function(i, prop) { var sum = (start[prop] || 0) + (delta[prop] || 0); if (sum && sum >= 0) { style[prop] = sum || null; } }); el.css(style); }); }; if (typeof(o.alsoResize) === "object" && !o.alsoResize.nodeType) { $.each(o.alsoResize, function(exp, c) { _alsoResize(exp, c); }); } else { _alsoResize(o.alsoResize); } }, stop: function() { $(this).removeData("resizable-alsoresize"); } }); $.ui.plugin.add("resizable", "ghost", { start: function() { var that = $(this).data("ui-resizable"), o = that.options, cs = that.size; that.ghost = that.originalElement.clone(); that.ghost .css({opacity: 0.25, display: "block", position: "relative", height: cs.height, width: cs.width, margin: 0, left: 0, top: 0}) .addClass("ui-resizable-ghost") .addClass(typeof o.ghost === "string" ? o.ghost : ""); that.ghost.appendTo(that.helper); }, resize: function() { var that = $(this).data("ui-resizable"); if (that.ghost) { that.ghost.css({position: "relative", height: that.size.height, width: that.size.width}); } }, stop: function() { var that = $(this).data("ui-resizable"); if (that.ghost && that.helper) { that.helper.get(0).removeChild(that.ghost.get(0)); } } }); $.ui.plugin.add("resizable", "grid", { resize: function() { var that = $(this).data("ui-resizable"), o = that.options, cs = that.size, os = that.originalSize, op = that.originalPosition, a = that.axis, grid = typeof o.grid === "number" ? [o.grid, o.grid] : o.grid, gridX = (grid[0] || 1), gridY = (grid[1] || 1), ox = Math.round((cs.width - os.width) / gridX) * gridX, oy = Math.round((cs.height - os.height) / gridY) * gridY, newWidth = os.width + ox, newHeight = os.height + oy, isMaxWidth = o.maxWidth && (o.maxWidth < newWidth), isMaxHeight = o.maxHeight && (o.maxHeight < newHeight), isMinWidth = o.minWidth && (o.minWidth > newWidth), isMinHeight = o.minHeight && (o.minHeight > newHeight); o.grid = grid; if (isMinWidth) { newWidth = newWidth + gridX; } if (isMinHeight) { newHeight = newHeight + gridY; } if (isMaxWidth) { newWidth = newWidth - gridX; } if (isMaxHeight) { newHeight = newHeight - gridY; } if (/^(se|s|e)$/.test(a)) { that.size.width = newWidth; that.size.height = newHeight; } else if (/^(ne)$/.test(a)) { that.size.width = newWidth; that.size.height = newHeight; that.position.top = op.top - oy; } else if (/^(sw)$/.test(a)) { that.size.width = newWidth; that.size.height = newHeight; that.position.left = op.left - ox; } else { that.size.width = newWidth; that.size.height = newHeight; that.position.top = op.top - oy; that.position.left = op.left - ox; } } }); })(jQuery); (function($, undefined) { $.widget("ui.selectable", $.ui.mouse, { version: "1.10.3", options: { appendTo: "body", autoRefresh: true, distance: 0, filter: "*", tolerance: "touch", // callbacks selected: null, selecting: null, start: null, stop: null, unselected: null, unselecting: null }, _create: function() { var selectees, that = this; this.element.addClass("ui-selectable"); this.dragged = false; // cache selectee children based on filter this.refresh = function() { selectees = $(that.options.filter, that.element[0]); selectees.addClass("ui-selectee"); selectees.each(function() { var $this = $(this), pos = $this.offset(); $.data(this, "selectable-item", { element: this, $element: $this, left: pos.left, top: pos.top, right: pos.left + $this.outerWidth(), bottom: pos.top + $this.outerHeight(), startselected: false, selected: $this.hasClass("ui-selected"), selecting: $this.hasClass("ui-selecting"), unselecting: $this.hasClass("ui-unselecting") }); }); }; this.refresh(); this.selectees = selectees.addClass("ui-selectee"); this._mouseInit(); this.helper = $("<div class='ui-selectable-helper'></div>"); }, _destroy: function() { this.selectees .removeClass("ui-selectee") .removeData("selectable-item"); this.element .removeClass("ui-selectable ui-selectable-disabled"); this._mouseDestroy(); }, _mouseStart: function(event) { var that = this, options = this.options; this.opos = [event.pageX, event.pageY]; if (this.options.disabled) { return; } this.selectees = $(options.filter, this.element[0]); this._trigger("start", event); $(options.appendTo).append(this.helper); // position helper (lasso) this.helper.css({ "left": event.pageX, "top": event.pageY, "width": 0, "height": 0 }); if (options.autoRefresh) { this.refresh(); } this.selectees.filter(".ui-selected").each(function() { var selectee = $.data(this, "selectable-item"); selectee.startselected = true; if (!event.metaKey && !event.ctrlKey) { selectee.$element.removeClass("ui-selected"); selectee.selected = false; selectee.$element.addClass("ui-unselecting"); selectee.unselecting = true; // selectable UNSELECTING callback that._trigger("unselecting", event, { unselecting: selectee.element }); } }); $(event.target).parents().addBack().each(function() { var doSelect, selectee = $.data(this, "selectable-item"); if (selectee) { doSelect = (!event.metaKey && !event.ctrlKey) || !selectee.$element.hasClass("ui-selected"); selectee.$element .removeClass(doSelect ? "ui-unselecting" : "ui-selected") .addClass(doSelect ? "ui-selecting" : "ui-unselecting"); selectee.unselecting = !doSelect; selectee.selecting = doSelect; selectee.selected = doSelect; // selectable (UN)SELECTING callback if (doSelect) { that._trigger("selecting", event, { selecting: selectee.element }); } else { that._trigger("unselecting", event, { unselecting: selectee.element }); } return false; } }); }, _mouseDrag: function(event) { this.dragged = true; if (this.options.disabled) { return; } var tmp, that = this, options = this.options, x1 = this.opos[0], y1 = this.opos[1], x2 = event.pageX, y2 = event.pageY; if (x1 > x2) { tmp = x2; x2 = x1; x1 = tmp; } if (y1 > y2) { tmp = y2; y2 = y1; y1 = tmp; } this.helper.css({left: x1, top: y1, width: x2 - x1, height: y2 - y1}); this.selectees.each(function() { var selectee = $.data(this, "selectable-item"), hit = false; //prevent helper from being selected if appendTo: selectable if (!selectee || selectee.element === that.element[0]) { return; } if (options.tolerance === "touch") { hit = (!(selectee.left > x2 || selectee.right < x1 || selectee.top > y2 || selectee.bottom < y1)); } else if (options.tolerance === "fit") { hit = (selectee.left > x1 && selectee.right < x2 && selectee.top > y1 && selectee.bottom < y2); } if (hit) { // SELECT if (selectee.selected) { selectee.$element.removeClass("ui-selected"); selectee.selected = false; } if (selectee.unselecting) { selectee.$element.removeClass("ui-unselecting"); selectee.unselecting = false; } if (!selectee.selecting) { selectee.$element.addClass("ui-selecting"); selectee.selecting = true; // selectable SELECTING callback that._trigger("selecting", event, { selecting: selectee.element }); } } else { // UNSELECT if (selectee.selecting) { if ((event.metaKey || event.ctrlKey) && selectee.startselected) { selectee.$element.removeClass("ui-selecting"); selectee.selecting = false; selectee.$element.addClass("ui-selected"); selectee.selected = true; } else { selectee.$element.removeClass("ui-selecting"); selectee.selecting = false; if (selectee.startselected) { selectee.$element.addClass("ui-unselecting"); selectee.unselecting = true; } // selectable UNSELECTING callback that._trigger("unselecting", event, { unselecting: selectee.element }); } } if (selectee.selected) { if (!event.metaKey && !event.ctrlKey && !selectee.startselected) { selectee.$element.removeClass("ui-selected"); selectee.selected = false; selectee.$element.addClass("ui-unselecting"); selectee.unselecting = true; // selectable UNSELECTING callback that._trigger("unselecting", event, { unselecting: selectee.element }); } } } }); return false; }, _mouseStop: function(event) { var that = this; this.dragged = false; $(".ui-unselecting", this.element[0]).each(function() { var selectee = $.data(this, "selectable-item"); selectee.$element.removeClass("ui-unselecting"); selectee.unselecting = false; selectee.startselected = false; that._trigger("unselected", event, { unselected: selectee.element }); }); $(".ui-selecting", this.element[0]).each(function() { var selectee = $.data(this, "selectable-item"); selectee.$element.removeClass("ui-selecting").addClass("ui-selected"); selectee.selecting = false; selectee.selected = true; selectee.startselected = true; that._trigger("selected", event, { selected: selectee.element }); }); this._trigger("stop", event); this.helper.remove(); return false; } }); })(jQuery); (function($, undefined) { /*jshint loopfunc: true */ function isOverAxis(x, reference, size) { return (x > reference) && (x < (reference + size)); } function isFloating(item) { return (/left|right/).test(item.css("float")) || (/inline|table-cell/).test(item.css("display")); } $.widget("ui.sortable", $.ui.mouse, { version: "1.10.3", widgetEventPrefix: "sort", ready: false, options: { appendTo: "parent", axis: false, connectWith: false, containment: false, cursor: "auto", cursorAt: false, dropOnEmpty: true, forcePlaceholderSize: false, forceHelperSize: false, grid: false, handle: false, helper: "original", items: "> *", opacity: false, placeholder: false, revert: false, scroll: true, scrollSensitivity: 20, scrollSpeed: 20, scope: "default", tolerance: "intersect", zIndex: 1000, // callbacks activate: null, beforeStop: null, change: null, deactivate: null, out: null, over: null, receive: null, remove: null, sort: null, start: null, stop: null, update: null }, _create: function() { var o = this.options; this.containerCache = {}; this.element.addClass("ui-sortable"); //Get the items this.refresh(); //Let's determine if the items are being displayed horizontally this.floating = this.items.length ? o.axis === "x" || isFloating(this.items[0].item) : false; //Let's determine the parent's offset this.offset = this.element.offset(); //Initialize mouse events for interaction this._mouseInit(); //We're ready to go this.ready = true; }, _destroy: function() { this.element .removeClass("ui-sortable ui-sortable-disabled"); this._mouseDestroy(); for (var i = this.items.length - 1; i >= 0; i--) { this.items[i].item.removeData(this.widgetName + "-item"); } return this; }, _setOption: function(key, value) { if (key === "disabled") { this.options[ key ] = value; this.widget().toggleClass("ui-sortable-disabled", !!value); } else { // Don't call widget base _setOption for disable as it adds ui-state-disabled class $.Widget.prototype._setOption.apply(this, arguments); } }, _mouseCapture: function(event, overrideHandle) { var currentItem = null, validHandle = false, that = this; if (this.reverting) { return false; } if (this.options.disabled || this.options.type === "static") { return false; } //We have to refresh the items data once first this._refreshItems(event); //Find out if the clicked node (or one of its parents) is a actual item in this.items $(event.target).parents().each(function() { if ($.data(this, that.widgetName + "-item") === that) { currentItem = $(this); return false; } }); if ($.data(event.target, that.widgetName + "-item") === that) { currentItem = $(event.target); } if (!currentItem) { return false; } if (this.options.handle && !overrideHandle) { $(this.options.handle, currentItem).find("*").addBack().each(function() { if (this === event.target) { validHandle = true; } }); if (!validHandle) { return false; } } this.currentItem = currentItem; this._removeCurrentsFromItems(); return true; }, _mouseStart: function(event, overrideHandle, noActivation) { var i, body, o = this.options; this.currentContainer = this; //We only need to call refreshPositions, because the refreshItems call has been moved to mouseCapture this.refreshPositions(); //Create and append the visible helper this.helper = this._createHelper(event); //Cache the helper size this._cacheHelperProportions(); /* * - Position generation - * This block generates everything position related - it's the core of draggables. */ //Cache the margins of the original element this._cacheMargins(); //Get the next scrolling parent this.scrollParent = this.helper.scrollParent(); //The element's absolute position on the page minus margins this.offset = this.currentItem.offset(); this.offset = { top: this.offset.top - this.margins.top, left: this.offset.left - this.margins.left }; $.extend(this.offset, { click: {//Where the click happened, relative to the element left: event.pageX - this.offset.left, top: event.pageY - this.offset.top }, parent: this._getParentOffset(), relative: this._getRelativeOffset() //This is a relative to absolute position minus the actual position calculation - only used for relative positioned helper }); // Only after we got the offset, we can change the helper's position to absolute // TODO: Still need to figure out a way to make relative sorting possible this.helper.css("position", "absolute"); this.cssPosition = this.helper.css("position"); //Generate the original position this.originalPosition = this._generatePosition(event); this.originalPageX = event.pageX; this.originalPageY = event.pageY; //Adjust the mouse offset relative to the helper if "cursorAt" is supplied (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt)); //Cache the former DOM position this.domPosition = {prev: this.currentItem.prev()[0], parent: this.currentItem.parent()[0]}; //If the helper is not the original, hide the original so it's not playing any role during the drag, won't cause anything bad this way if (this.helper[0] !== this.currentItem[0]) { this.currentItem.hide(); } //Create the placeholder this._createPlaceholder(); //Set a containment if given in the options if (o.containment) { this._setContainment(); } if (o.cursor && o.cursor !== "auto") { // cursor option body = this.document.find("body"); // support: IE this.storedCursor = body.css("cursor"); body.css("cursor", o.cursor); this.storedStylesheet = $("<style>*{ cursor: " + o.cursor + " !important; }</style>").appendTo(body); } if (o.opacity) { // opacity option if (this.helper.css("opacity")) { this._storedOpacity = this.helper.css("opacity"); } this.helper.css("opacity", o.opacity); } if (o.zIndex) { // zIndex option if (this.helper.css("zIndex")) { this._storedZIndex = this.helper.css("zIndex"); } this.helper.css("zIndex", o.zIndex); } //Prepare scrolling if (this.scrollParent[0] !== document && this.scrollParent[0].tagName !== "HTML") { this.overflowOffset = this.scrollParent.offset(); } //Call callbacks this._trigger("start", event, this._uiHash()); //Recache the helper size if (!this._preserveHelperProportions) { this._cacheHelperProportions(); } //Post "activate" events to possible containers if (!noActivation) { for (i = this.containers.length - 1; i >= 0; i--) { this.containers[ i ]._trigger("activate", event, this._uiHash(this)); } } //Prepare possible droppables if ($.ui.ddmanager) { $.ui.ddmanager.current = this; } if ($.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(this, event); } this.dragging = true; this.helper.addClass("ui-sortable-helper"); this._mouseDrag(event); //Execute the drag once - this causes the helper not to be visible before getting its correct position return true; }, _mouseDrag: function(event) { var i, item, itemElement, intersection, o = this.options, scrolled = false; //Compute the helpers position this.position = this._generatePosition(event); this.positionAbs = this._convertPositionTo("absolute"); if (!this.lastPositionAbs) { this.lastPositionAbs = this.positionAbs; } //Do scrolling if (this.options.scroll) { if (this.scrollParent[0] !== document && this.scrollParent[0].tagName !== "HTML") { if ((this.overflowOffset.top + this.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity) { this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop + o.scrollSpeed; } else if (event.pageY - this.overflowOffset.top < o.scrollSensitivity) { this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop - o.scrollSpeed; } if ((this.overflowOffset.left + this.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity) { this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft + o.scrollSpeed; } else if (event.pageX - this.overflowOffset.left < o.scrollSensitivity) { this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft - o.scrollSpeed; } } else { if (event.pageY - $(document).scrollTop() < o.scrollSensitivity) { scrolled = $(document).scrollTop($(document).scrollTop() - o.scrollSpeed); } else if ($(window).height() - (event.pageY - $(document).scrollTop()) < o.scrollSensitivity) { scrolled = $(document).scrollTop($(document).scrollTop() + o.scrollSpeed); } if (event.pageX - $(document).scrollLeft() < o.scrollSensitivity) { scrolled = $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed); } else if ($(window).width() - (event.pageX - $(document).scrollLeft()) < o.scrollSensitivity) { scrolled = $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed); } } if (scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(this, event); } } //Regenerate the absolute position used for position checks this.positionAbs = this._convertPositionTo("absolute"); //Set the helper position if (!this.options.axis || this.options.axis !== "y") { this.helper[0].style.left = this.position.left + "px"; } if (!this.options.axis || this.options.axis !== "x") { this.helper[0].style.top = this.position.top + "px"; } //Rearrange for (i = this.items.length - 1; i >= 0; i--) { //Cache variables and intersection, continue if no intersection item = this.items[i]; itemElement = item.item[0]; intersection = this._intersectsWithPointer(item); if (!intersection) { continue; } // Only put the placeholder inside the current Container, skip all // items form other containers. This works because when moving // an item from one container to another the // currentContainer is switched before the placeholder is moved. // // Without this moving items in "sub-sortables" can cause the placeholder to jitter // beetween the outer and inner container. if (item.instance !== this.currentContainer) { continue; } // cannot intersect with itself // no useless actions that have been done before // no action if the item moved is the parent of the item checked if (itemElement !== this.currentItem[0] && this.placeholder[intersection === 1 ? "next" : "prev"]()[0] !== itemElement && !$.contains(this.placeholder[0], itemElement) && (this.options.type === "semi-dynamic" ? !$.contains(this.element[0], itemElement) : true) ) { this.direction = intersection === 1 ? "down" : "up"; if (this.options.tolerance === "pointer" || this._intersectsWithSides(item)) { this._rearrange(event, item); } else { break; } this._trigger("change", event, this._uiHash()); break; } } //Post events to containers this._contactContainers(event); //Interconnect with droppables if ($.ui.ddmanager) { $.ui.ddmanager.drag(this, event); } //Call callbacks this._trigger("sort", event, this._uiHash()); this.lastPositionAbs = this.positionAbs; return false; }, _mouseStop: function(event, noPropagation) { if (!event) { return; } //If we are using droppables, inform the manager about the drop if ($.ui.ddmanager && !this.options.dropBehaviour) { $.ui.ddmanager.drop(this, event); } if (this.options.revert) { var that = this, cur = this.placeholder.offset(), axis = this.options.axis, animation = {}; if (!axis || axis === "x") { animation.left = cur.left - this.offset.parent.left - this.margins.left + (this.offsetParent[0] === document.body ? 0 : this.offsetParent[0].scrollLeft); } if (!axis || axis === "y") { animation.top = cur.top - this.offset.parent.top - this.margins.top + (this.offsetParent[0] === document.body ? 0 : this.offsetParent[0].scrollTop); } this.reverting = true; $(this.helper).animate(animation, parseInt(this.options.revert, 10) || 500, function() { that._clear(event); }); } else { this._clear(event, noPropagation); } return false; }, cancel: function() { if (this.dragging) { this._mouseUp({target: null}); if (this.options.helper === "original") { this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"); } else { this.currentItem.show(); } //Post deactivating events to containers for (var i = this.containers.length - 1; i >= 0; i--) { this.containers[i]._trigger("deactivate", null, this._uiHash(this)); if (this.containers[i].containerCache.over) { this.containers[i]._trigger("out", null, this._uiHash(this)); this.containers[i].containerCache.over = 0; } } } if (this.placeholder) { //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node! if (this.placeholder[0].parentNode) { this.placeholder[0].parentNode.removeChild(this.placeholder[0]); } if (this.options.helper !== "original" && this.helper && this.helper[0].parentNode) { this.helper.remove(); } $.extend(this, { helper: null, dragging: false, reverting: false, _noFinalSort: null }); if (this.domPosition.prev) { $(this.domPosition.prev).after(this.currentItem); } else { $(this.domPosition.parent).prepend(this.currentItem); } } return this; }, serialize: function(o) { var items = this._getItemsAsjQuery(o && o.connected), str = []; o = o || {}; $(items).each(function() { var res = ($(o.item || this).attr(o.attribute || "id") || "").match(o.expression || (/(.+)[\-=_](.+)/)); if (res) { str.push((o.key || res[1] + "[]") + "=" + (o.key && o.expression ? res[1] : res[2])); } }); if (!str.length && o.key) { str.push(o.key + "="); } return str.join("&"); }, toArray: function(o) { var items = this._getItemsAsjQuery(o && o.connected), ret = []; o = o || {}; items.each(function() { ret.push($(o.item || this).attr(o.attribute || "id") || ""); }); return ret; }, /* Be careful with the following core functions */ _intersectsWith: function(item) { var x1 = this.positionAbs.left, x2 = x1 + this.helperProportions.width, y1 = this.positionAbs.top, y2 = y1 + this.helperProportions.height, l = item.left, r = l + item.width, t = item.top, b = t + item.height, dyClick = this.offset.click.top, dxClick = this.offset.click.left, isOverElementHeight = (this.options.axis === "x") || ((y1 + dyClick) > t && (y1 + dyClick) < b), isOverElementWidth = (this.options.axis === "y") || ((x1 + dxClick) > l && (x1 + dxClick) < r), isOverElement = isOverElementHeight && isOverElementWidth; if (this.options.tolerance === "pointer" || this.options.forcePointerForContainers || (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"]) ) { return isOverElement; } else { return (l < x1 + (this.helperProportions.width / 2) && // Right Half x2 - (this.helperProportions.width / 2) < r && // Left Half t < y1 + (this.helperProportions.height / 2) && // Bottom Half y2 - (this.helperProportions.height / 2) < b); // Top Half } }, _intersectsWithPointer: function(item) { var isOverElementHeight = (this.options.axis === "x") || isOverAxis(this.positionAbs.top + this.offset.click.top, item.top, item.height), isOverElementWidth = (this.options.axis === "y") || isOverAxis(this.positionAbs.left + this.offset.click.left, item.left, item.width), isOverElement = isOverElementHeight && isOverElementWidth, verticalDirection = this._getDragVerticalDirection(), horizontalDirection = this._getDragHorizontalDirection(); if (!isOverElement) { return false; } return this.floating ? (((horizontalDirection && horizontalDirection === "right") || verticalDirection === "down") ? 2 : 1) : (verticalDirection && (verticalDirection === "down" ? 2 : 1)); }, _intersectsWithSides: function(item) { var isOverBottomHalf = isOverAxis(this.positionAbs.top + this.offset.click.top, item.top + (item.height / 2), item.height), isOverRightHalf = isOverAxis(this.positionAbs.left + this.offset.click.left, item.left + (item.width / 2), item.width), verticalDirection = this._getDragVerticalDirection(), horizontalDirection = this._getDragHorizontalDirection(); if (this.floating && horizontalDirection) { return ((horizontalDirection === "right" && isOverRightHalf) || (horizontalDirection === "left" && !isOverRightHalf)); } else { return verticalDirection && ((verticalDirection === "down" && isOverBottomHalf) || (verticalDirection === "up" && !isOverBottomHalf)); } }, _getDragVerticalDirection: function() { var delta = this.positionAbs.top - this.lastPositionAbs.top; return delta !== 0 && (delta > 0 ? "down" : "up"); }, _getDragHorizontalDirection: function() { var delta = this.positionAbs.left - this.lastPositionAbs.left; return delta !== 0 && (delta > 0 ? "right" : "left"); }, refresh: function(event) { this._refreshItems(event); this.refreshPositions(); return this; }, _connectWith: function() { var options = this.options; return options.connectWith.constructor === String ? [options.connectWith] : options.connectWith; }, _getItemsAsjQuery: function(connected) { var i, j, cur, inst, items = [], queries = [], connectWith = this._connectWith(); if (connectWith && connected) { for (i = connectWith.length - 1; i >= 0; i--) { cur = $(connectWith[i]); for (j = cur.length - 1; j >= 0; j--) { inst = $.data(cur[j], this.widgetFullName); if (inst && inst !== this && !inst.options.disabled) { queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element) : $(inst.options.items, inst.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), inst]); } } } } queries.push([$.isFunction(this.options.items) ? this.options.items.call(this.element, null, {options: this.options, item: this.currentItem}) : $(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]); for (i = queries.length - 1; i >= 0; i--) { queries[i][0].each(function() { items.push(this); }); } return $(items); }, _removeCurrentsFromItems: function() { var list = this.currentItem.find(":data(" + this.widgetName + "-item)"); this.items = $.grep(this.items, function(item) { for (var j = 0; j < list.length; j++) { if (list[j] === item.item[0]) { return false; } } return true; }); }, _refreshItems: function(event) { this.items = []; this.containers = [this]; var i, j, cur, inst, targetData, _queries, item, queriesLength, items = this.items, queries = [[$.isFunction(this.options.items) ? this.options.items.call(this.element[0], event, {item: this.currentItem}) : $(this.options.items, this.element), this]], connectWith = this._connectWith(); if (connectWith && this.ready) { //Shouldn't be run the first time through due to massive slow-down for (i = connectWith.length - 1; i >= 0; i--) { cur = $(connectWith[i]); for (j = cur.length - 1; j >= 0; j--) { inst = $.data(cur[j], this.widgetFullName); if (inst && inst !== this && !inst.options.disabled) { queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element[0], event, {item: this.currentItem}) : $(inst.options.items, inst.element), inst]); this.containers.push(inst); } } } } for (i = queries.length - 1; i >= 0; i--) { targetData = queries[i][1]; _queries = queries[i][0]; for (j = 0, queriesLength = _queries.length; j < queriesLength; j++) { item = $(_queries[j]); item.data(this.widgetName + "-item", targetData); // Data for target checking (mouse manager) items.push({ item: item, instance: targetData, width: 0, height: 0, left: 0, top: 0 }); } } }, refreshPositions: function(fast) { //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change if (this.offsetParent && this.helper) { this.offset.parent = this._getParentOffset(); } var i, item, t, p; for (i = this.items.length - 1; i >= 0; i--) { item = this.items[i]; //We ignore calculating positions of all connected containers when we're not over them if (item.instance !== this.currentContainer && this.currentContainer && item.item[0] !== this.currentItem[0]) { continue; } t = this.options.toleranceElement ? $(this.options.toleranceElement, item.item) : item.item; if (!fast) { item.width = t.outerWidth(); item.height = t.outerHeight(); } p = t.offset(); item.left = p.left; item.top = p.top; } if (this.options.custom && this.options.custom.refreshContainers) { this.options.custom.refreshContainers.call(this); } else { for (i = this.containers.length - 1; i >= 0; i--) { p = this.containers[i].element.offset(); this.containers[i].containerCache.left = p.left; this.containers[i].containerCache.top = p.top; this.containers[i].containerCache.width = this.containers[i].element.outerWidth(); this.containers[i].containerCache.height = this.containers[i].element.outerHeight(); } } return this; }, _createPlaceholder: function(that) { that = that || this; var className, o = that.options; if (!o.placeholder || o.placeholder.constructor === String) { className = o.placeholder; o.placeholder = { element: function() { var nodeName = that.currentItem[0].nodeName.toLowerCase(), element = $("<" + nodeName + ">", that.document[0]) .addClass(className || that.currentItem[0].className + " ui-sortable-placeholder") .removeClass("ui-sortable-helper"); if (nodeName === "tr") { that.currentItem.children().each(function() { $("<td>&#160;</td>", that.document[0]) .attr("colspan", $(this).attr("colspan") || 1) .appendTo(element); }); } else if (nodeName === "img") { element.attr("src", that.currentItem.attr("src")); } if (!className) { element.css("visibility", "hidden"); } return element; }, update: function(container, p) { // 1. If a className is set as 'placeholder option, we don't force sizes - the class is responsible for that // 2. The option 'forcePlaceholderSize can be enabled to force it even if a class name is specified if (className && !o.forcePlaceholderSize) { return; } //If the element doesn't have a actual height by itself (without styles coming from a stylesheet), it receives the inline height from the dragged item if (!p.height()) { p.height(that.currentItem.innerHeight() - parseInt(that.currentItem.css("paddingTop") || 0, 10) - parseInt(that.currentItem.css("paddingBottom") || 0, 10)); } if (!p.width()) { p.width(that.currentItem.innerWidth() - parseInt(that.currentItem.css("paddingLeft") || 0, 10) - parseInt(that.currentItem.css("paddingRight") || 0, 10)); } } }; } //Create the placeholder that.placeholder = $(o.placeholder.element.call(that.element, that.currentItem)); //Append it after the actual current item that.currentItem.after(that.placeholder); //Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317) o.placeholder.update(that, that.placeholder); }, _contactContainers: function(event) { var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, base, cur, nearBottom, floating, innermostContainer = null, innermostIndex = null; // get innermost container that intersects with item for (i = this.containers.length - 1; i >= 0; i--) { // never consider a container that's located within the item itself if ($.contains(this.currentItem[0], this.containers[i].element[0])) { continue; } if (this._intersectsWith(this.containers[i].containerCache)) { // if we've already found a container and it's more "inner" than this, then continue if (innermostContainer && $.contains(this.containers[i].element[0], innermostContainer.element[0])) { continue; } innermostContainer = this.containers[i]; innermostIndex = i; } else { // container doesn't intersect. trigger "out" event if necessary if (this.containers[i].containerCache.over) { this.containers[i]._trigger("out", event, this._uiHash(this)); this.containers[i].containerCache.over = 0; } } } // if no intersecting containers found, return if (!innermostContainer) { return; } // move the item into the container if it's not there already if (this.containers.length === 1) { if (!this.containers[innermostIndex].containerCache.over) { this.containers[innermostIndex]._trigger("over", event, this._uiHash(this)); this.containers[innermostIndex].containerCache.over = 1; } } else { //When entering a new container, we will find the item with the least distance and append our item near it dist = 10000; itemWithLeastDistance = null; floating = innermostContainer.floating || isFloating(this.currentItem); posProperty = floating ? "left" : "top"; sizeProperty = floating ? "width" : "height"; base = this.positionAbs[posProperty] + this.offset.click[posProperty]; for (j = this.items.length - 1; j >= 0; j--) { if (!$.contains(this.containers[innermostIndex].element[0], this.items[j].item[0])) { continue; } if (this.items[j].item[0] === this.currentItem[0]) { continue; } if (floating && !isOverAxis(this.positionAbs.top + this.offset.click.top, this.items[j].top, this.items[j].height)) { continue; } cur = this.items[j].item.offset()[posProperty]; nearBottom = false; if (Math.abs(cur - base) > Math.abs(cur + this.items[j][sizeProperty] - base)) { nearBottom = true; cur += this.items[j][sizeProperty]; } if (Math.abs(cur - base) < dist) { dist = Math.abs(cur - base); itemWithLeastDistance = this.items[j]; this.direction = nearBottom ? "up" : "down"; } } //Check if dropOnEmpty is enabled if (!itemWithLeastDistance && !this.options.dropOnEmpty) { return; } if (this.currentContainer === this.containers[innermostIndex]) { return; } itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true); this._trigger("change", event, this._uiHash()); this.containers[innermostIndex]._trigger("change", event, this._uiHash(this)); this.currentContainer = this.containers[innermostIndex]; //Update the placeholder this.options.placeholder.update(this.currentContainer, this.placeholder); this.containers[innermostIndex]._trigger("over", event, this._uiHash(this)); this.containers[innermostIndex].containerCache.over = 1; } }, _createHelper: function(event) { var o = this.options, helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event, this.currentItem])) : (o.helper === "clone" ? this.currentItem.clone() : this.currentItem); //Add the helper to the DOM if that didn't happen already if (!helper.parents("body").length) { $(o.appendTo !== "parent" ? o.appendTo : this.currentItem[0].parentNode)[0].appendChild(helper[0]); } if (helper[0] === this.currentItem[0]) { this._storedCSS = {width: this.currentItem[0].style.width, height: this.currentItem[0].style.height, position: this.currentItem.css("position"), top: this.currentItem.css("top"), left: this.currentItem.css("left")}; } if (!helper[0].style.width || o.forceHelperSize) { helper.width(this.currentItem.width()); } if (!helper[0].style.height || o.forceHelperSize) { helper.height(this.currentItem.height()); } return helper; }, _adjustOffsetFromHelper: function(obj) { if (typeof obj === "string") { obj = obj.split(" "); } if ($.isArray(obj)) { obj = {left: +obj[0], top: +obj[1] || 0}; } if ("left" in obj) { this.offset.click.left = obj.left + this.margins.left; } if ("right" in obj) { this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left; } if ("top" in obj) { this.offset.click.top = obj.top + this.margins.top; } if ("bottom" in obj) { this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top; } }, _getParentOffset: function() { //Get the offsetParent and cache its position this.offsetParent = this.helper.offsetParent(); var po = this.offsetParent.offset(); // This is a special case where we need to modify a offset calculated on start, since the following happened: // 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag if (this.cssPosition === "absolute" && this.scrollParent[0] !== document && $.contains(this.scrollParent[0], this.offsetParent[0])) { po.left += this.scrollParent.scrollLeft(); po.top += this.scrollParent.scrollTop(); } // This needs to be actually done for all browsers, since pageX/pageY includes this information // with an ugly IE fix if (this.offsetParent[0] === document.body || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() === "html" && $.ui.ie)) { po = {top: 0, left: 0}; } return { top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0) }; }, _getRelativeOffset: function() { if (this.cssPosition === "relative") { var p = this.currentItem.position(); return { top: p.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), left: p.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft() }; } else { return {top: 0, left: 0}; } }, _cacheMargins: function() { this.margins = { left: (parseInt(this.currentItem.css("marginLeft"), 10) || 0), top: (parseInt(this.currentItem.css("marginTop"), 10) || 0) }; }, _cacheHelperProportions: function() { this.helperProportions = { width: this.helper.outerWidth(), height: this.helper.outerHeight() }; }, _setContainment: function() { var ce, co, over, o = this.options; if (o.containment === "parent") { o.containment = this.helper[0].parentNode; } if (o.containment === "document" || o.containment === "window") { this.containment = [ 0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, $(o.containment === "document" ? document : window).width() - this.helperProportions.width - this.margins.left, ($(o.containment === "document" ? document : window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top ]; } if (!(/^(document|window|parent)$/).test(o.containment)) { ce = $(o.containment)[0]; co = $(o.containment).offset(); over = ($(ce).css("overflow") !== "hidden"); this.containment = [ co.left + (parseInt($(ce).css("borderLeftWidth"), 10) || 0) + (parseInt($(ce).css("paddingLeft"), 10) || 0) - this.margins.left, co.top + (parseInt($(ce).css("borderTopWidth"), 10) || 0) + (parseInt($(ce).css("paddingTop"), 10) || 0) - this.margins.top, co.left + (over ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"), 10) || 0) - (parseInt($(ce).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, co.top + (over ? Math.max(ce.scrollHeight, ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"), 10) || 0) - (parseInt($(ce).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top ]; } }, _convertPositionTo: function(d, pos) { if (!pos) { pos = this.position; } var mod = d === "absolute" ? 1 : -1, scroll = this.cssPosition === "absolute" && !(this.scrollParent[0] !== document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); return { top: ( pos.top + // The absolute mouse position this.offset.relative.top * mod + // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.top * mod - // The offsetParent's offset without borders (offset + border) ((this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : (scrollIsRootNode ? 0 : scroll.scrollTop())) * mod) ), left: ( pos.left + // The absolute mouse position this.offset.relative.left * mod + // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.left * mod - // The offsetParent's offset without borders (offset + border) ((this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft()) * mod) ) }; }, _generatePosition: function(event) { var top, left, o = this.options, pageX = event.pageX, pageY = event.pageY, scroll = this.cssPosition === "absolute" && !(this.scrollParent[0] !== document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName); // This is another very weird special case that only happens for relative elements: // 1. If the css position is relative // 2. and the scroll parent is the document or similar to the offset parent // we have to refresh the relative offset during the scroll so there are no jumps if (this.cssPosition === "relative" && !(this.scrollParent[0] !== document && this.scrollParent[0] !== this.offsetParent[0])) { this.offset.relative = this._getRelativeOffset(); } /* * - Position constraining - * Constrain the position to a mix of grid, containment. */ if (this.originalPosition) { //If we are not dragging yet, we won't check for options if (this.containment) { if (event.pageX - this.offset.click.left < this.containment[0]) { pageX = this.containment[0] + this.offset.click.left; } if (event.pageY - this.offset.click.top < this.containment[1]) { pageY = this.containment[1] + this.offset.click.top; } if (event.pageX - this.offset.click.left > this.containment[2]) { pageX = this.containment[2] + this.offset.click.left; } if (event.pageY - this.offset.click.top > this.containment[3]) { pageY = this.containment[3] + this.offset.click.top; } } if (o.grid) { top = this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1]; pageY = this.containment ? ((top - this.offset.click.top >= this.containment[1] && top - this.offset.click.top <= this.containment[3]) ? top : ((top - this.offset.click.top >= this.containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top; left = this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0]; pageX = this.containment ? ((left - this.offset.click.left >= this.containment[0] && left - this.offset.click.left <= this.containment[2]) ? left : ((left - this.offset.click.left >= this.containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left; } } return { top: ( pageY - // The absolute mouse position this.offset.click.top - // Click offset (relative to the element) this.offset.relative.top - // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.top + // The offsetParent's offset without borders (offset + border) ((this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : (scrollIsRootNode ? 0 : scroll.scrollTop()))) ), left: ( pageX - // The absolute mouse position this.offset.click.left - // Click offset (relative to the element) this.offset.relative.left - // Only for relative positioned nodes: Relative offset from element to offset parent this.offset.parent.left + // The offsetParent's offset without borders (offset + border) ((this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft())) ) }; }, _rearrange: function(event, i, a, hardRefresh) { a ? a[0].appendChild(this.placeholder[0]) : i.item[0].parentNode.insertBefore(this.placeholder[0], (this.direction === "down" ? i.item[0] : i.item[0].nextSibling)); //Various things done here to improve the performance: // 1. we create a setTimeout, that calls refreshPositions // 2. on the instance, we have a counter variable, that get's higher after every append // 3. on the local scope, we copy the counter variable, and check in the timeout, if it's still the same // 4. this lets only the last addition to the timeout stack through this.counter = this.counter ? ++this.counter : 1; var counter = this.counter; this._delay(function() { if (counter === this.counter) { this.refreshPositions(!hardRefresh); //Precompute after each DOM insertion, NOT on mousemove } }); }, _clear: function(event, noPropagation) { this.reverting = false; // We delay all events that have to be triggered to after the point where the placeholder has been removed and // everything else normalized again var i, delayedTriggers = []; // We first have to update the dom position of the actual currentItem // Note: don't do it if the current item is already removed (by a user), or it gets reappended (see #4088) if (!this._noFinalSort && this.currentItem.parent().length) { this.placeholder.before(this.currentItem); } this._noFinalSort = null; if (this.helper[0] === this.currentItem[0]) { for (i in this._storedCSS) { if (this._storedCSS[i] === "auto" || this._storedCSS[i] === "static") { this._storedCSS[i] = ""; } } this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"); } else { this.currentItem.show(); } if (this.fromOutside && !noPropagation) { delayedTriggers.push(function(event) { this._trigger("receive", event, this._uiHash(this.fromOutside)); }); } if ((this.fromOutside || this.domPosition.prev !== this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent !== this.currentItem.parent()[0]) && !noPropagation) { delayedTriggers.push(function(event) { this._trigger("update", event, this._uiHash()); }); //Trigger update callback if the DOM position has changed } // Check if the items Container has Changed and trigger appropriate // events. if (this !== this.currentContainer) { if (!noPropagation) { delayedTriggers.push(function(event) { this._trigger("remove", event, this._uiHash()); }); delayedTriggers.push((function(c) { return function(event) { c._trigger("receive", event, this._uiHash(this)); }; }).call(this, this.currentContainer)); delayedTriggers.push((function(c) { return function(event) { c._trigger("update", event, this._uiHash(this)); }; }).call(this, this.currentContainer)); } } //Post events to containers for (i = this.containers.length - 1; i >= 0; i--) { if (!noPropagation) { delayedTriggers.push((function(c) { return function(event) { c._trigger("deactivate", event, this._uiHash(this)); }; }).call(this, this.containers[i])); } if (this.containers[i].containerCache.over) { delayedTriggers.push((function(c) { return function(event) { c._trigger("out", event, this._uiHash(this)); }; }).call(this, this.containers[i])); this.containers[i].containerCache.over = 0; } } //Do what was originally in plugins if (this.storedCursor) { this.document.find("body").css("cursor", this.storedCursor); this.storedStylesheet.remove(); } if (this._storedOpacity) { this.helper.css("opacity", this._storedOpacity); } if (this._storedZIndex) { this.helper.css("zIndex", this._storedZIndex === "auto" ? "" : this._storedZIndex); } this.dragging = false; if (this.cancelHelperRemoval) { if (!noPropagation) { this._trigger("beforeStop", event, this._uiHash()); for (i = 0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); } //Trigger all delayed events this._trigger("stop", event, this._uiHash()); } this.fromOutside = false; return false; } if (!noPropagation) { this._trigger("beforeStop", event, this._uiHash()); } //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node! this.placeholder[0].parentNode.removeChild(this.placeholder[0]); if (this.helper[0] !== this.currentItem[0]) { this.helper.remove(); } this.helper = null; if (!noPropagation) { for (i = 0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); } //Trigger all delayed events this._trigger("stop", event, this._uiHash()); } this.fromOutside = false; return true; }, _trigger: function() { if ($.Widget.prototype._trigger.apply(this, arguments) === false) { this.cancel(); } }, _uiHash: function(_inst) { var inst = _inst || this; return { helper: inst.helper, placeholder: inst.placeholder || $([]), position: inst.position, originalPosition: inst.originalPosition, offset: inst.positionAbs, item: inst.currentItem, sender: _inst ? _inst.element : null }; } }); })(jQuery); (function($, undefined) { var dataSpace = "ui-effects-"; $.effects = { effect: {} }; /*! * jQuery Color Animations v2.1.2 * https://github.com/jquery/jquery-color * * Copyright 2013 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * Date: Wed Jan 16 08:47:09 2013 -0600 */ (function(jQuery, undefined) { var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor", // plusequals test for += 100 -= 100 rplusequals = /^([\-+])=\s*(\d+\.?\d*)/, // a set of RE's that can match strings and generate color tuples. stringParsers = [{ re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse: function(execResult) { return [ execResult[ 1 ], execResult[ 2 ], execResult[ 3 ], execResult[ 4 ] ]; } }, { re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse: function(execResult) { return [ execResult[ 1 ] * 2.55, execResult[ 2 ] * 2.55, execResult[ 3 ] * 2.55, execResult[ 4 ] ]; } }, { // this regex ignores A-F because it's compared against an already lowercased string re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/, parse: function(execResult) { return [ parseInt(execResult[ 1 ], 16), parseInt(execResult[ 2 ], 16), parseInt(execResult[ 3 ], 16) ]; } }, { // this regex ignores A-F because it's compared against an already lowercased string re: /#([a-f0-9])([a-f0-9])([a-f0-9])/, parse: function(execResult) { return [ parseInt(execResult[ 1 ] + execResult[ 1 ], 16), parseInt(execResult[ 2 ] + execResult[ 2 ], 16), parseInt(execResult[ 3 ] + execResult[ 3 ], 16) ]; } }, { re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, space: "hsla", parse: function(execResult) { return [ execResult[ 1 ], execResult[ 2 ] / 100, execResult[ 3 ] / 100, execResult[ 4 ] ]; } }], // jQuery.Color( ) color = jQuery.Color = function(color, green, blue, alpha) { return new jQuery.Color.fn.parse(color, green, blue, alpha); }, spaces = { rgba: { props: { red: { idx: 0, type: "byte" }, green: { idx: 1, type: "byte" }, blue: { idx: 2, type: "byte" } } }, hsla: { props: { hue: { idx: 0, type: "degrees" }, saturation: { idx: 1, type: "percent" }, lightness: { idx: 2, type: "percent" } } } }, propTypes = { "byte": { floor: true, max: 255 }, "percent": { max: 1 }, "degrees": { mod: 360, floor: true } }, support = color.support = {}, // element for support tests supportElem = jQuery("<p>")[ 0 ], // colors = jQuery.Color.names colors, // local aliases of functions called often each = jQuery.each; // determine rgba support immediately supportElem.style.cssText = "background-color:rgba(1,1,1,.5)"; support.rgba = supportElem.style.backgroundColor.indexOf("rgba") > -1; // define cache name and alpha properties // for rgba and hsla spaces each(spaces, function(spaceName, space) { space.cache = "_" + spaceName; space.props.alpha = { idx: 3, type: "percent", def: 1 }; }); function clamp(value, prop, allowEmpty) { var type = propTypes[ prop.type ] || {}; if (value == null) { return (allowEmpty || !prop.def) ? null : prop.def; } // ~~ is an short way of doing floor for positive numbers value = type.floor ? ~~value : parseFloat(value); // IE will pass in empty strings as value for alpha, // which will hit this case if (isNaN(value)) { return prop.def; } if (type.mod) { // we add mod before modding to make sure that negatives values // get converted properly: -10 -> 350 return (value + type.mod) % type.mod; } // for now all property types without mod have min and max return 0 > value ? 0 : type.max < value ? type.max : value; } function stringParse(string) { var inst = color(), rgba = inst._rgba = []; string = string.toLowerCase(); each(stringParsers, function(i, parser) { var parsed, match = parser.re.exec(string), values = match && parser.parse(match), spaceName = parser.space || "rgba"; if (values) { parsed = inst[ spaceName ](values); // if this was an rgba parse the assignment might happen twice // oh well.... inst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ]; rgba = inst._rgba = parsed._rgba; // exit each( stringParsers ) here because we matched return false; } }); // Found a stringParser that handled it if (rgba.length) { // if this came from a parsed string, force "transparent" when alpha is 0 // chrome, (and maybe others) return "transparent" as rgba(0,0,0,0) if (rgba.join() === "0,0,0,0") { jQuery.extend(rgba, colors.transparent); } return inst; } // named colors return colors[ string ]; } color.fn = jQuery.extend(color.prototype, { parse: function(red, green, blue, alpha) { if (red === undefined) { this._rgba = [null, null, null, null]; return this; } if (red.jquery || red.nodeType) { red = jQuery(red).css(green); green = undefined; } var inst = this, type = jQuery.type(red), rgba = this._rgba = []; // more than 1 argument specified - assume ( red, green, blue, alpha ) if (green !== undefined) { red = [red, green, blue, alpha]; type = "array"; } if (type === "string") { return this.parse(stringParse(red) || colors._default); } if (type === "array") { each(spaces.rgba.props, function(key, prop) { rgba[ prop.idx ] = clamp(red[ prop.idx ], prop); }); return this; } if (type === "object") { if (red instanceof color) { each(spaces, function(spaceName, space) { if (red[ space.cache ]) { inst[ space.cache ] = red[ space.cache ].slice(); } }); } else { each(spaces, function(spaceName, space) { var cache = space.cache; each(space.props, function(key, prop) { // if the cache doesn't exist, and we know how to convert if (!inst[ cache ] && space.to) { // if the value was null, we don't need to copy it // if the key was alpha, we don't need to copy it either if (key === "alpha" || red[ key ] == null) { return; } inst[ cache ] = space.to(inst._rgba); } // this is the only case where we allow nulls for ALL properties. // call clamp with alwaysAllowEmpty inst[ cache ][ prop.idx ] = clamp(red[ key ], prop, true); }); // everything defined but alpha? if (inst[ cache ] && jQuery.inArray(null, inst[ cache ].slice(0, 3)) < 0) { // use the default of 1 inst[ cache ][ 3 ] = 1; if (space.from) { inst._rgba = space.from(inst[ cache ]); } } }); } return this; } }, is: function(compare) { var is = color(compare), same = true, inst = this; each(spaces, function(_, space) { var localCache, isCache = is[ space.cache ]; if (isCache) { localCache = inst[ space.cache ] || space.to && space.to(inst._rgba) || []; each(space.props, function(_, prop) { if (isCache[ prop.idx ] != null) { same = (isCache[ prop.idx ] === localCache[ prop.idx ]); return same; } }); } return same; }); return same; }, _space: function() { var used = [], inst = this; each(spaces, function(spaceName, space) { if (inst[ space.cache ]) { used.push(spaceName); } }); return used.pop(); }, transition: function(other, distance) { var end = color(other), spaceName = end._space(), space = spaces[ spaceName ], startColor = this.alpha() === 0 ? color("transparent") : this, start = startColor[ space.cache ] || space.to(startColor._rgba), result = start.slice(); end = end[ space.cache ]; each(space.props, function(key, prop) { var index = prop.idx, startValue = start[ index ], endValue = end[ index ], type = propTypes[ prop.type ] || {}; // if null, don't override start value if (endValue === null) { return; } // if null - use end if (startValue === null) { result[ index ] = endValue; } else { if (type.mod) { if (endValue - startValue > type.mod / 2) { startValue += type.mod; } else if (startValue - endValue > type.mod / 2) { startValue -= type.mod; } } result[ index ] = clamp((endValue - startValue) * distance + startValue, prop); } }); return this[ spaceName ](result); }, blend: function(opaque) { // if we are already opaque - return ourself if (this._rgba[ 3 ] === 1) { return this; } var rgb = this._rgba.slice(), a = rgb.pop(), blend = color(opaque)._rgba; return color(jQuery.map(rgb, function(v, i) { return (1 - a) * blend[ i ] + a * v; })); }, toRgbaString: function() { var prefix = "rgba(", rgba = jQuery.map(this._rgba, function(v, i) { return v == null ? (i > 2 ? 1 : 0) : v; }); if (rgba[ 3 ] === 1) { rgba.pop(); prefix = "rgb("; } return prefix + rgba.join() + ")"; }, toHslaString: function() { var prefix = "hsla(", hsla = jQuery.map(this.hsla(), function(v, i) { if (v == null) { v = i > 2 ? 1 : 0; } // catch 1 and 2 if (i && i < 3) { v = Math.round(v * 100) + "%"; } return v; }); if (hsla[ 3 ] === 1) { hsla.pop(); prefix = "hsl("; } return prefix + hsla.join() + ")"; }, toHexString: function(includeAlpha) { var rgba = this._rgba.slice(), alpha = rgba.pop(); if (includeAlpha) { rgba.push(~~(alpha * 255)); } return "#" + jQuery.map(rgba, function(v) { // default to 0 when nulls exist v = (v || 0).toString(16); return v.length === 1 ? "0" + v : v; }).join(""); }, toString: function() { return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString(); } }); color.fn.parse.prototype = color.fn; // hsla conversions adapted from: // https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021 function hue2rgb(p, q, h) { h = (h + 1) % 1; if (h * 6 < 1) { return p + (q - p) * h * 6; } if (h * 2 < 1) { return q; } if (h * 3 < 2) { return p + (q - p) * ((2 / 3) - h) * 6; } return p; } spaces.hsla.to = function(rgba) { if (rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null) { return [null, null, null, rgba[ 3 ]]; } var r = rgba[ 0 ] / 255, g = rgba[ 1 ] / 255, b = rgba[ 2 ] / 255, a = rgba[ 3 ], max = Math.max(r, g, b), min = Math.min(r, g, b), diff = max - min, add = max + min, l = add * 0.5, h, s; if (min === max) { h = 0; } else if (r === max) { h = (60 * (g - b) / diff) + 360; } else if (g === max) { h = (60 * (b - r) / diff) + 120; } else { h = (60 * (r - g) / diff) + 240; } // chroma (diff) == 0 means greyscale which, by definition, saturation = 0% // otherwise, saturation is based on the ratio of chroma (diff) to lightness (add) if (diff === 0) { s = 0; } else if (l <= 0.5) { s = diff / add; } else { s = diff / (2 - add); } return [Math.round(h) % 360, s, l, a == null ? 1 : a]; }; spaces.hsla.from = function(hsla) { if (hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null) { return [null, null, null, hsla[ 3 ]]; } var h = hsla[ 0 ] / 360, s = hsla[ 1 ], l = hsla[ 2 ], a = hsla[ 3 ], q = l <= 0.5 ? l * (1 + s) : l + s - l * s, p = 2 * l - q; return [ Math.round(hue2rgb(p, q, h + (1 / 3)) * 255), Math.round(hue2rgb(p, q, h) * 255), Math.round(hue2rgb(p, q, h - (1 / 3)) * 255), a ]; }; each(spaces, function(spaceName, space) { var props = space.props, cache = space.cache, to = space.to, from = space.from; // makes rgba() and hsla() color.fn[ spaceName ] = function(value) { // generate a cache for this space if it doesn't exist if (to && !this[ cache ]) { this[ cache ] = to(this._rgba); } if (value === undefined) { return this[ cache ].slice(); } var ret, type = jQuery.type(value), arr = (type === "array" || type === "object") ? value : arguments, local = this[ cache ].slice(); each(props, function(key, prop) { var val = arr[ type === "object" ? key : prop.idx ]; if (val == null) { val = local[ prop.idx ]; } local[ prop.idx ] = clamp(val, prop); }); if (from) { ret = color(from(local)); ret[ cache ] = local; return ret; } else { return color(local); } }; // makes red() green() blue() alpha() hue() saturation() lightness() each(props, function(key, prop) { // alpha is included in more than one space if (color.fn[ key ]) { return; } color.fn[ key ] = function(value) { var vtype = jQuery.type(value), fn = (key === "alpha" ? (this._hsla ? "hsla" : "rgba") : spaceName), local = this[ fn ](), cur = local[ prop.idx ], match; if (vtype === "undefined") { return cur; } if (vtype === "function") { value = value.call(this, cur); vtype = jQuery.type(value); } if (value == null && prop.empty) { return this; } if (vtype === "string") { match = rplusequals.exec(value); if (match) { value = cur + parseFloat(match[ 2 ]) * (match[ 1 ] === "+" ? 1 : -1); } } local[ prop.idx ] = value; return this[ fn ](local); }; }); }); // add cssHook and .fx.step function for each named hook. // accept a space separated string of properties color.hook = function(hook) { var hooks = hook.split(" "); each(hooks, function(i, hook) { jQuery.cssHooks[ hook ] = { set: function(elem, value) { var parsed, curElem, backgroundColor = ""; if (value !== "transparent" && (jQuery.type(value) !== "string" || (parsed = stringParse(value)))) { value = color(parsed || value); if (!support.rgba && value._rgba[ 3 ] !== 1) { curElem = hook === "backgroundColor" ? elem.parentNode : elem; while ( (backgroundColor === "" || backgroundColor === "transparent") && curElem && curElem.style ) { try { backgroundColor = jQuery.css(curElem, "backgroundColor"); curElem = curElem.parentNode; } catch (e) { } } value = value.blend(backgroundColor && backgroundColor !== "transparent" ? backgroundColor : "_default"); } value = value.toRgbaString(); } try { elem.style[ hook ] = value; } catch (e) { // wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit' } } }; jQuery.fx.step[ hook ] = function(fx) { if (!fx.colorInit) { fx.start = color(fx.elem, hook); fx.end = color(fx.end); fx.colorInit = true; } jQuery.cssHooks[ hook ].set(fx.elem, fx.start.transition(fx.end, fx.pos)); }; }); }; color.hook(stepHooks); jQuery.cssHooks.borderColor = { expand: function(value) { var expanded = {}; each(["Top", "Right", "Bottom", "Left"], function(i, part) { expanded[ "border" + part + "Color" ] = value; }); return expanded; } }; // Basic color names only. // Usage of any of the other color names requires adding yourself or including // jquery.color.svg-names.js. colors = jQuery.Color.names = { // 4.1. Basic color keywords aqua: "#00ffff", black: "#000000", blue: "#0000ff", fuchsia: "#ff00ff", gray: "#808080", green: "#008000", lime: "#00ff00", maroon: "#800000", navy: "#000080", olive: "#808000", purple: "#800080", red: "#ff0000", silver: "#c0c0c0", teal: "#008080", white: "#ffffff", yellow: "#ffff00", // 4.2.3. "transparent" color keyword transparent: [null, null, null, 0], _default: "#ffffff" }; })(jQuery); /******************************************************************************/ /****************************** CLASS ANIMATIONS ******************************/ /******************************************************************************/ (function() { var classAnimationActions = ["add", "remove", "toggle"], shorthandStyles = { border: 1, borderBottom: 1, borderColor: 1, borderLeft: 1, borderRight: 1, borderTop: 1, borderWidth: 1, margin: 1, padding: 1 }; $.each(["borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle"], function(_, prop) { $.fx.step[ prop ] = function(fx) { if (fx.end !== "none" && !fx.setAttr || fx.pos === 1 && !fx.setAttr) { jQuery.style(fx.elem, prop, fx.end); fx.setAttr = true; } }; }); function getElementStyles(elem) { var key, len, style = elem.ownerDocument.defaultView ? elem.ownerDocument.defaultView.getComputedStyle(elem, null) : elem.currentStyle, styles = {}; if (style && style.length && style[ 0 ] && style[ style[ 0 ] ]) { len = style.length; while (len--) { key = style[ len ]; if (typeof style[ key ] === "string") { styles[ $.camelCase(key) ] = style[ key ]; } } // support: Opera, IE <9 } else { for (key in style) { if (typeof style[ key ] === "string") { styles[ key ] = style[ key ]; } } } return styles; } function styleDifference(oldStyle, newStyle) { var diff = {}, name, value; for (name in newStyle) { value = newStyle[ name ]; if (oldStyle[ name ] !== value) { if (!shorthandStyles[ name ]) { if ($.fx.step[ name ] || !isNaN(parseFloat(value))) { diff[ name ] = value; } } } } return diff; } // support: jQuery <1.8 if (!$.fn.addBack) { $.fn.addBack = function(selector) { return this.add(selector == null ? this.prevObject : this.prevObject.filter(selector) ); }; } $.effects.animateClass = function(value, duration, easing, callback) { var o = $.speed(duration, easing, callback); return this.queue(function() { var animated = $(this), baseClass = animated.attr("class") || "", applyClassChange, allAnimations = o.children ? animated.find("*").addBack() : animated; // map the animated objects to store the original styles. allAnimations = allAnimations.map(function() { var el = $(this); return { el: el, start: getElementStyles(this) }; }); // apply class change applyClassChange = function() { $.each(classAnimationActions, function(i, action) { if (value[ action ]) { animated[ action + "Class" ](value[ action ]); } }); }; applyClassChange(); // map all animated objects again - calculate new styles and diff allAnimations = allAnimations.map(function() { this.end = getElementStyles(this.el[ 0 ]); this.diff = styleDifference(this.start, this.end); return this; }); // apply original class animated.attr("class", baseClass); // map all animated objects again - this time collecting a promise allAnimations = allAnimations.map(function() { var styleInfo = this, dfd = $.Deferred(), opts = $.extend({}, o, { queue: false, complete: function() { dfd.resolve(styleInfo); } }); this.el.animate(this.diff, opts); return dfd.promise(); }); // once all animations have completed: $.when.apply($, allAnimations.get()).done(function() { // set the final class applyClassChange(); // for each animated element, // clear all css properties that were animated $.each(arguments, function() { var el = this.el; $.each(this.diff, function(key) { el.css(key, ""); }); }); // this is guarnteed to be there if you use jQuery.speed() // it also handles dequeuing the next anim... o.complete.call(animated[ 0 ]); }); }); }; $.fn.extend({ addClass: (function(orig) { return function(classNames, speed, easing, callback) { return speed ? $.effects.animateClass.call(this, {add: classNames}, speed, easing, callback) : orig.apply(this, arguments); }; })($.fn.addClass), removeClass: (function(orig) { return function(classNames, speed, easing, callback) { return arguments.length > 1 ? $.effects.animateClass.call(this, {remove: classNames}, speed, easing, callback) : orig.apply(this, arguments); }; })($.fn.removeClass), toggleClass: (function(orig) { return function(classNames, force, speed, easing, callback) { if (typeof force === "boolean" || force === undefined) { if (!speed) { // without speed parameter return orig.apply(this, arguments); } else { return $.effects.animateClass.call(this, (force ? {add: classNames} : {remove: classNames}), speed, easing, callback); } } else { // without force parameter return $.effects.animateClass.call(this, {toggle: classNames}, force, speed, easing); } }; })($.fn.toggleClass), switchClass: function(remove, add, speed, easing, callback) { return $.effects.animateClass.call(this, { add: add, remove: remove }, speed, easing, callback); } }); })(); /******************************************************************************/ /*********************************** EFFECTS **********************************/ /******************************************************************************/ (function() { $.extend($.effects, { version: "1.10.3", // Saves a set of properties in a data storage save: function(element, set) { for (var i = 0; i < set.length; i++) { if (set[ i ] !== null) { element.data(dataSpace + set[ i ], element[ 0 ].style[ set[ i ] ]); } } }, // Restores a set of previously saved properties from a data storage restore: function(element, set) { var val, i; for (i = 0; i < set.length; i++) { if (set[ i ] !== null) { val = element.data(dataSpace + set[ i ]); // support: jQuery 1.6.2 // http://bugs.jquery.com/ticket/9917 // jQuery 1.6.2 incorrectly returns undefined for any falsy value. // We can't differentiate between "" and 0 here, so we just assume // empty string since it's likely to be a more common value... if (val === undefined) { val = ""; } element.css(set[ i ], val); } } }, setMode: function(el, mode) { if (mode === "toggle") { mode = el.is(":hidden") ? "show" : "hide"; } return mode; }, // Translates a [top,left] array into a baseline value // this should be a little more flexible in the future to handle a string & hash getBaseline: function(origin, original) { var y, x; switch (origin[ 0 ]) { case "top": y = 0; break; case "middle": y = 0.5; break; case "bottom": y = 1; break; default: y = origin[ 0 ] / original.height; } switch (origin[ 1 ]) { case "left": x = 0; break; case "center": x = 0.5; break; case "right": x = 1; break; default: x = origin[ 1 ] / original.width; } return { x: x, y: y }; }, // Wraps the element around a wrapper that copies position properties createWrapper: function(element) { // if the element is already wrapped, return it if (element.parent().is(".ui-effects-wrapper")) { return element.parent(); } // wrap the element var props = { width: element.outerWidth(true), height: element.outerHeight(true), "float": element.css("float") }, wrapper = $("<div></div>") .addClass("ui-effects-wrapper") .css({ fontSize: "100%", background: "transparent", border: "none", margin: 0, padding: 0 }), // Store the size in case width/height are defined in % - Fixes #5245 size = { width: element.width(), height: element.height() }, active = document.activeElement; // support: Firefox // Firefox incorrectly exposes anonymous content // https://bugzilla.mozilla.org/show_bug.cgi?id=561664 try { active.id; } catch (e) { active = document.body; } element.wrap(wrapper); // Fixes #7595 - Elements lose focus when wrapped. if (element[ 0 ] === active || $.contains(element[ 0 ], active)) { $(active).focus(); } wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually lose the reference to the wrapped element // transfer positioning properties to the wrapper if (element.css("position") === "static") { wrapper.css({position: "relative"}); element.css({position: "relative"}); } else { $.extend(props, { position: element.css("position"), zIndex: element.css("z-index") }); $.each(["top", "left", "bottom", "right"], function(i, pos) { props[ pos ] = element.css(pos); if (isNaN(parseInt(props[ pos ], 10))) { props[ pos ] = "auto"; } }); element.css({ position: "relative", top: 0, left: 0, right: "auto", bottom: "auto" }); } element.css(size); return wrapper.css(props).show(); }, removeWrapper: function(element) { var active = document.activeElement; if (element.parent().is(".ui-effects-wrapper")) { element.parent().replaceWith(element); // Fixes #7595 - Elements lose focus when wrapped. if (element[ 0 ] === active || $.contains(element[ 0 ], active)) { $(active).focus(); } } return element; }, setTransition: function(element, list, factor, value) { value = value || {}; $.each(list, function(i, x) { var unit = element.cssUnit(x); if (unit[ 0 ] > 0) { value[ x ] = unit[ 0 ] * factor + unit[ 1 ]; } }); return value; } }); // return an effect options object for the given parameters: function _normalizeArguments(effect, options, speed, callback) { // allow passing all options as the first parameter if ($.isPlainObject(effect)) { options = effect; effect = effect.effect; } // convert to an object effect = {effect: effect}; // catch (effect, null, ...) if (options == null) { options = {}; } // catch (effect, callback) if ($.isFunction(options)) { callback = options; speed = null; options = {}; } // catch (effect, speed, ?) if (typeof options === "number" || $.fx.speeds[ options ]) { callback = speed; speed = options; options = {}; } // catch (effect, options, callback) if ($.isFunction(speed)) { callback = speed; speed = null; } // add options to effect if (options) { $.extend(effect, options); } speed = speed || options.duration; effect.duration = $.fx.off ? 0 : typeof speed === "number" ? speed : speed in $.fx.speeds ? $.fx.speeds[ speed ] : $.fx.speeds._default; effect.complete = callback || options.complete; return effect; } function standardAnimationOption(option) { // Valid standard speeds (nothing, number, named speed) if (!option || typeof option === "number" || $.fx.speeds[ option ]) { return true; } // Invalid strings - treat as "normal" speed if (typeof option === "string" && !$.effects.effect[ option ]) { return true; } // Complete callback if ($.isFunction(option)) { return true; } // Options hash (but not naming an effect) if (typeof option === "object" && !option.effect) { return true; } // Didn't match any standard API return false; } $.fn.extend({ effect: function( /* effect, options, speed, callback */ ) { var args = _normalizeArguments.apply(this, arguments), mode = args.mode, queue = args.queue, effectMethod = $.effects.effect[ args.effect ]; if ($.fx.off || !effectMethod) { // delegate to the original method (e.g., .show()) if possible if (mode) { return this[ mode ](args.duration, args.complete); } else { return this.each(function() { if (args.complete) { args.complete.call(this); } }); } } function run(next) { var elem = $(this), complete = args.complete, mode = args.mode; function done() { if ($.isFunction(complete)) { complete.call(elem[0]); } if ($.isFunction(next)) { next(); } } // If the element already has the correct final state, delegate to // the core methods so the internal tracking of "olddisplay" works. if (elem.is(":hidden") ? mode === "hide" : mode === "show") { elem[ mode ](); done(); } else { effectMethod.call(elem[0], args, done); } } return queue === false ? this.each(run) : this.queue(queue || "fx", run); }, show: (function(orig) { return function(option) { if (standardAnimationOption(option)) { return orig.apply(this, arguments); } else { var args = _normalizeArguments.apply(this, arguments); args.mode = "show"; return this.effect.call(this, args); } }; })($.fn.show), hide: (function(orig) { return function(option) { if (standardAnimationOption(option)) { return orig.apply(this, arguments); } else { var args = _normalizeArguments.apply(this, arguments); args.mode = "hide"; return this.effect.call(this, args); } }; })($.fn.hide), toggle: (function(orig) { return function(option) { if (standardAnimationOption(option) || typeof option === "boolean") { return orig.apply(this, arguments); } else { var args = _normalizeArguments.apply(this, arguments); args.mode = "toggle"; return this.effect.call(this, args); } }; })($.fn.toggle), // helper functions cssUnit: function(key) { var style = this.css(key), val = []; $.each(["em", "px", "%", "pt"], function(i, unit) { if (style.indexOf(unit) > 0) { val = [parseFloat(style), unit]; } }); return val; } }); })(); /******************************************************************************/ /*********************************** EASING ***********************************/ /******************************************************************************/ (function() { // based on easing equations from Robert Penner (http://www.robertpenner.com/easing) var baseEasings = {}; $.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function(i, name) { baseEasings[ name ] = function(p) { return Math.pow(p, i + 2); }; }); $.extend(baseEasings, { Sine: function(p) { return 1 - Math.cos(p * Math.PI / 2); }, Circ: function(p) { return 1 - Math.sqrt(1 - p * p); }, Elastic: function(p) { return p === 0 || p === 1 ? p : -Math.pow(2, 8 * (p - 1)) * Math.sin(((p - 1) * 80 - 7.5) * Math.PI / 15); }, Back: function(p) { return p * p * (3 * p - 2); }, Bounce: function(p) { var pow2, bounce = 4; while (p < ((pow2 = Math.pow(2, --bounce)) - 1) / 11) { } return 1 / Math.pow(4, 3 - bounce) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - p, 2); } }); $.each(baseEasings, function(name, easeIn) { $.easing[ "easeIn" + name ] = easeIn; $.easing[ "easeOut" + name ] = function(p) { return 1 - easeIn(1 - p); }; $.easing[ "easeInOut" + name ] = function(p) { return p < 0.5 ? easeIn(p * 2) / 2 : 1 - easeIn(p * -2 + 2) / 2; }; }); })(); })(jQuery); (function($, undefined) { var uid = 0, hideProps = {}, showProps = {}; hideProps.height = hideProps.paddingTop = hideProps.paddingBottom = hideProps.borderTopWidth = hideProps.borderBottomWidth = "hide"; showProps.height = showProps.paddingTop = showProps.paddingBottom = showProps.borderTopWidth = showProps.borderBottomWidth = "show"; $.widget("ui.accordion", { version: "1.10.3", options: { active: 0, animate: {}, collapsible: false, event: "click", header: "> li > :first-child,> :not(li):even", heightStyle: "auto", icons: { activeHeader: "ui-icon-triangle-1-s", header: "ui-icon-triangle-1-e" }, // callbacks activate: null, beforeActivate: null }, _create: function() { var options = this.options; this.prevShow = this.prevHide = $(); this.element.addClass("ui-accordion ui-widget ui-helper-reset") // ARIA .attr("role", "tablist"); // don't allow collapsible: false and active: false / null if (!options.collapsible && (options.active === false || options.active == null)) { options.active = 0; } this._processPanels(); // handle negative values if (options.active < 0) { options.active += this.headers.length; } this._refresh(); }, _getCreateEventData: function() { return { header: this.active, panel: !this.active.length ? $() : this.active.next(), content: !this.active.length ? $() : this.active.next() }; }, _createIcons: function() { var icons = this.options.icons; if (icons) { $("<span>") .addClass("ui-accordion-header-icon ui-icon " + icons.header) .prependTo(this.headers); this.active.children(".ui-accordion-header-icon") .removeClass(icons.header) .addClass(icons.activeHeader); this.headers.addClass("ui-accordion-icons"); } }, _destroyIcons: function() { this.headers .removeClass("ui-accordion-icons") .children(".ui-accordion-header-icon") .remove(); }, _destroy: function() { var contents; // clean up main element this.element .removeClass("ui-accordion ui-widget ui-helper-reset") .removeAttr("role"); // clean up headers this.headers .removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top") .removeAttr("role") .removeAttr("aria-selected") .removeAttr("aria-controls") .removeAttr("tabIndex") .each(function() { if (/^ui-accordion/.test(this.id)) { this.removeAttribute("id"); } }); this._destroyIcons(); // clean up content panels contents = this.headers.next() .css("display", "") .removeAttr("role") .removeAttr("aria-expanded") .removeAttr("aria-hidden") .removeAttr("aria-labelledby") .removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled") .each(function() { if (/^ui-accordion/.test(this.id)) { this.removeAttribute("id"); } }); if (this.options.heightStyle !== "content") { contents.css("height", ""); } }, _setOption: function(key, value) { if (key === "active") { // _activate() will handle invalid values and update this.options this._activate(value); return; } if (key === "event") { if (this.options.event) { this._off(this.headers, this.options.event); } this._setupEvents(value); } this._super(key, value); // setting collapsible: false while collapsed; open first panel if (key === "collapsible" && !value && this.options.active === false) { this._activate(0); } if (key === "icons") { this._destroyIcons(); if (value) { this._createIcons(); } } // #5332 - opacity doesn't cascade to positioned elements in IE // so we need to add the disabled class to the headers and panels if (key === "disabled") { this.headers.add(this.headers.next()) .toggleClass("ui-state-disabled", !!value); } }, _keydown: function(event) { /*jshint maxcomplexity:15*/ if (event.altKey || event.ctrlKey) { return; } var keyCode = $.ui.keyCode, length = this.headers.length, currentIndex = this.headers.index(event.target), toFocus = false; switch (event.keyCode) { case keyCode.RIGHT: case keyCode.DOWN: toFocus = this.headers[ (currentIndex + 1) % length ]; break; case keyCode.LEFT: case keyCode.UP: toFocus = this.headers[ (currentIndex - 1 + length) % length ]; break; case keyCode.SPACE: case keyCode.ENTER: this._eventHandler(event); break; case keyCode.HOME: toFocus = this.headers[ 0 ]; break; case keyCode.END: toFocus = this.headers[ length - 1 ]; break; } if (toFocus) { $(event.target).attr("tabIndex", -1); $(toFocus).attr("tabIndex", 0); toFocus.focus(); event.preventDefault(); } }, _panelKeyDown: function(event) { if (event.keyCode === $.ui.keyCode.UP && event.ctrlKey) { $(event.currentTarget).prev().focus(); } }, refresh: function() { var options = this.options; this._processPanels(); // was collapsed or no panel if ((options.active === false && options.collapsible === true) || !this.headers.length) { options.active = false; this.active = $(); // active false only when collapsible is true } else if (options.active === false) { this._activate(0); // was active, but active panel is gone } else if (this.active.length && !$.contains(this.element[ 0 ], this.active[ 0 ])) { // all remaining panel are disabled if (this.headers.length === this.headers.find(".ui-state-disabled").length) { options.active = false; this.active = $(); // activate previous panel } else { this._activate(Math.max(0, options.active - 1)); } // was active, active panel still exists } else { // make sure active index is correct options.active = this.headers.index(this.active); } this._destroyIcons(); this._refresh(); }, _processPanels: function() { this.headers = this.element.find(this.options.header) .addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"); this.headers.next() .addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom") .filter(":not(.ui-accordion-content-active)") .hide(); }, _refresh: function() { var maxHeight, options = this.options, heightStyle = options.heightStyle, parent = this.element.parent(), accordionId = this.accordionId = "ui-accordion-" + (this.element.attr("id") || ++uid); this.active = this._findActive(options.active) .addClass("ui-accordion-header-active ui-state-active ui-corner-top") .removeClass("ui-corner-all"); this.active.next() .addClass("ui-accordion-content-active") .show(); this.headers .attr("role", "tab") .each(function(i) { var header = $(this), headerId = header.attr("id"), panel = header.next(), panelId = panel.attr("id"); if (!headerId) { headerId = accordionId + "-header-" + i; header.attr("id", headerId); } if (!panelId) { panelId = accordionId + "-panel-" + i; panel.attr("id", panelId); } header.attr("aria-controls", panelId); panel.attr("aria-labelledby", headerId); }) .next() .attr("role", "tabpanel"); this.headers .not(this.active) .attr({ "aria-selected": "false", tabIndex: -1 }) .next() .attr({ "aria-expanded": "false", "aria-hidden": "true" }) .hide(); // make sure at least one header is in the tab order if (!this.active.length) { this.headers.eq(0).attr("tabIndex", 0); } else { this.active.attr({ "aria-selected": "true", tabIndex: 0 }) .next() .attr({ "aria-expanded": "true", "aria-hidden": "false" }); } this._createIcons(); this._setupEvents(options.event); if (heightStyle === "fill") { maxHeight = parent.height(); this.element.siblings(":visible").each(function() { var elem = $(this), position = elem.css("position"); if (position === "absolute" || position === "fixed") { return; } maxHeight -= elem.outerHeight(true); }); this.headers.each(function() { maxHeight -= $(this).outerHeight(true); }); this.headers.next() .each(function() { $(this).height(Math.max(0, maxHeight - $(this).innerHeight() + $(this).height())); }) .css("overflow", "auto"); } else if (heightStyle === "auto") { maxHeight = 0; this.headers.next() .each(function() { maxHeight = Math.max(maxHeight, $(this).css("height", "").height()); }) .height(maxHeight); } }, _activate: function(index) { var active = this._findActive(index)[ 0 ]; // trying to activate the already active panel if (active === this.active[ 0 ]) { return; } // trying to collapse, simulate a click on the currently active header active = active || this.active[ 0 ]; this._eventHandler({ target: active, currentTarget: active, preventDefault: $.noop }); }, _findActive: function(selector) { return typeof selector === "number" ? this.headers.eq(selector) : $(); }, _setupEvents: function(event) { var events = { keydown: "_keydown" }; if (event) { $.each(event.split(" "), function(index, eventName) { events[ eventName ] = "_eventHandler"; }); } this._off(this.headers.add(this.headers.next())); this._on(this.headers, events); this._on(this.headers.next(), {keydown: "_panelKeyDown"}); this._hoverable(this.headers); this._focusable(this.headers); }, _eventHandler: function(event) { var options = this.options, active = this.active, clicked = $(event.currentTarget), clickedIsActive = clicked[ 0 ] === active[ 0 ], collapsing = clickedIsActive && options.collapsible, toShow = collapsing ? $() : clicked.next(), toHide = active.next(), eventData = { oldHeader: active, oldPanel: toHide, newHeader: collapsing ? $() : clicked, newPanel: toShow }; event.preventDefault(); if ( // click on active header, but not collapsible (clickedIsActive && !options.collapsible) || // allow canceling activation (this._trigger("beforeActivate", event, eventData) === false)) { return; } options.active = collapsing ? false : this.headers.index(clicked); // when the call to ._toggle() comes after the class changes // it causes a very odd bug in IE 8 (see #6720) this.active = clickedIsActive ? $() : clicked; this._toggle(eventData); // switch classes // corner classes on the previously active header stay after the animation active.removeClass("ui-accordion-header-active ui-state-active"); if (options.icons) { active.children(".ui-accordion-header-icon") .removeClass(options.icons.activeHeader) .addClass(options.icons.header); } if (!clickedIsActive) { clicked .removeClass("ui-corner-all") .addClass("ui-accordion-header-active ui-state-active ui-corner-top"); if (options.icons) { clicked.children(".ui-accordion-header-icon") .removeClass(options.icons.header) .addClass(options.icons.activeHeader); } clicked .next() .addClass("ui-accordion-content-active"); } }, _toggle: function(data) { var toShow = data.newPanel, toHide = this.prevShow.length ? this.prevShow : data.oldPanel; // handle activating a panel during the animation for another activation this.prevShow.add(this.prevHide).stop(true, true); this.prevShow = toShow; this.prevHide = toHide; if (this.options.animate) { this._animate(toShow, toHide, data); } else { toHide.hide(); toShow.show(); this._toggleComplete(data); } toHide.attr({ "aria-expanded": "false", "aria-hidden": "true" }); toHide.prev().attr("aria-selected", "false"); // if we're switching panels, remove the old header from the tab order // if we're opening from collapsed state, remove the previous header from the tab order // if we're collapsing, then keep the collapsing header in the tab order if (toShow.length && toHide.length) { toHide.prev().attr("tabIndex", -1); } else if (toShow.length) { this.headers.filter(function() { return $(this).attr("tabIndex") === 0; }) .attr("tabIndex", -1); } toShow .attr({ "aria-expanded": "true", "aria-hidden": "false" }) .prev() .attr({ "aria-selected": "true", tabIndex: 0 }); }, _animate: function(toShow, toHide, data) { var total, easing, duration, that = this, adjust = 0, down = toShow.length && (!toHide.length || (toShow.index() < toHide.index())), animate = this.options.animate || {}, options = down && animate.down || animate, complete = function() { that._toggleComplete(data); }; if (typeof options === "number") { duration = options; } if (typeof options === "string") { easing = options; } // fall back from options to animation in case of partial down settings easing = easing || options.easing || animate.easing; duration = duration || options.duration || animate.duration; if (!toHide.length) { return toShow.animate(showProps, duration, easing, complete); } if (!toShow.length) { return toHide.animate(hideProps, duration, easing, complete); } total = toShow.show().outerHeight(); toHide.animate(hideProps, { duration: duration, easing: easing, step: function(now, fx) { fx.now = Math.round(now); } }); toShow .hide() .animate(showProps, { duration: duration, easing: easing, complete: complete, step: function(now, fx) { fx.now = Math.round(now); if (fx.prop !== "height") { adjust += fx.now; } else if (that.options.heightStyle !== "content") { fx.now = Math.round(total - toHide.outerHeight() - adjust); adjust = 0; } } }); }, _toggleComplete: function(data) { var toHide = data.oldPanel; toHide .removeClass("ui-accordion-content-active") .prev() .removeClass("ui-corner-top") .addClass("ui-corner-all"); // Work around for rendering bug in IE (#5421) if (toHide.length) { toHide.parent()[0].className = toHide.parent()[0].className; } this._trigger("activate", null, data); } }); })(jQuery); (function($, undefined) { // used to prevent race conditions with remote data sources var requestIndex = 0; $.widget("ui.autocomplete", { version: "1.10.3", defaultElement: "<input>", options: { appendTo: null, autoFocus: false, delay: 300, minLength: 1, position: { my: "left top", at: "left bottom", collision: "none" }, source: null, // callbacks change: null, close: null, focus: null, open: null, response: null, search: null, select: null }, pending: 0, _create: function() { // Some browsers only repeat keydown events, not keypress events, // so we use the suppressKeyPress flag to determine if we've already // handled the keydown event. #7269 // Unfortunately the code for & in keypress is the same as the up arrow, // so we use the suppressKeyPressRepeat flag to avoid handling keypress // events when we know the keydown event was used to modify the // search term. #7799 var suppressKeyPress, suppressKeyPressRepeat, suppressInput, nodeName = this.element[0].nodeName.toLowerCase(), isTextarea = nodeName === "textarea", isInput = nodeName === "input"; this.isMultiLine = // Textareas are always multi-line isTextarea ? true : // Inputs are always single-line, even if inside a contentEditable element // IE also treats inputs as contentEditable isInput ? false : // All other element types are determined by whether or not they're contentEditable this.element.prop("isContentEditable"); this.valueMethod = this.element[ isTextarea || isInput ? "val" : "text" ]; this.isNewMenu = true; this.element .addClass("ui-autocomplete-input") .attr("autocomplete", "off"); this._on(this.element, { keydown: function(event) { /*jshint maxcomplexity:15*/ if (this.element.prop("readOnly")) { suppressKeyPress = true; suppressInput = true; suppressKeyPressRepeat = true; return; } suppressKeyPress = false; suppressInput = false; suppressKeyPressRepeat = false; var keyCode = $.ui.keyCode; switch (event.keyCode) { case keyCode.PAGE_UP: suppressKeyPress = true; this._move("previousPage", event); break; case keyCode.PAGE_DOWN: suppressKeyPress = true; this._move("nextPage", event); break; case keyCode.UP: suppressKeyPress = true; this._keyEvent("previous", event); break; case keyCode.DOWN: suppressKeyPress = true; this._keyEvent("next", event); break; case keyCode.ENTER: case keyCode.NUMPAD_ENTER: // when menu is open and has focus if (this.menu.active) { // #6055 - Opera still allows the keypress to occur // which causes forms to submit suppressKeyPress = true; event.preventDefault(); this.menu.select(event); } break; case keyCode.TAB: if (this.menu.active) { this.menu.select(event); } break; case keyCode.ESCAPE: if (this.menu.element.is(":visible")) { this._value(this.term); this.close(event); // Different browsers have different default behavior for escape // Single press can mean undo or clear // Double press in IE means clear the whole form event.preventDefault(); } break; default: suppressKeyPressRepeat = true; // search timeout should be triggered before the input value is changed this._searchTimeout(event); break; } }, keypress: function(event) { if (suppressKeyPress) { suppressKeyPress = false; if (!this.isMultiLine || this.menu.element.is(":visible")) { event.preventDefault(); } return; } if (suppressKeyPressRepeat) { return; } // replicate some key handlers to allow them to repeat in Firefox and Opera var keyCode = $.ui.keyCode; switch (event.keyCode) { case keyCode.PAGE_UP: this._move("previousPage", event); break; case keyCode.PAGE_DOWN: this._move("nextPage", event); break; case keyCode.UP: this._keyEvent("previous", event); break; case keyCode.DOWN: this._keyEvent("next", event); break; } }, input: function(event) { if (suppressInput) { suppressInput = false; event.preventDefault(); return; } this._searchTimeout(event); }, focus: function() { this.selectedItem = null; this.previous = this._value(); }, blur: function(event) { if (this.cancelBlur) { delete this.cancelBlur; return; } clearTimeout(this.searching); this.close(event); this._change(event); } }); this._initSource(); this.menu = $("<ul>") .addClass("ui-autocomplete ui-front") .appendTo(this._appendTo()) .menu({ // disable ARIA support, the live region takes care of that role: null }) .hide() .data("ui-menu"); this._on(this.menu.element, { mousedown: function(event) { // prevent moving focus out of the text field event.preventDefault(); // IE doesn't prevent moving focus even with event.preventDefault() // so we set a flag to know when we should ignore the blur event this.cancelBlur = true; this._delay(function() { delete this.cancelBlur; }); // clicking on the scrollbar causes focus to shift to the body // but we can't detect a mouseup or a click immediately afterward // so we have to track the next mousedown and close the menu if // the user clicks somewhere outside of the autocomplete var menuElement = this.menu.element[ 0 ]; if (!$(event.target).closest(".ui-menu-item").length) { this._delay(function() { var that = this; this.document.one("mousedown", function(event) { if (event.target !== that.element[ 0 ] && event.target !== menuElement && !$.contains(menuElement, event.target)) { that.close(); } }); }); } }, menufocus: function(event, ui) { // support: Firefox // Prevent accidental activation of menu items in Firefox (#7024 #9118) if (this.isNewMenu) { this.isNewMenu = false; if (event.originalEvent && /^mouse/.test(event.originalEvent.type)) { this.menu.blur(); this.document.one("mousemove", function() { $(event.target).trigger(event.originalEvent); }); return; } } var item = ui.item.data("ui-autocomplete-item"); if (false !== this._trigger("focus", event, {item: item})) { // use value to match what will end up in the input, if it was a key event if (event.originalEvent && /^key/.test(event.originalEvent.type)) { this._value(item.value); } } else { // Normally the input is populated with the item's value as the // menu is navigated, causing screen readers to notice a change and // announce the item. Since the focus event was canceled, this doesn't // happen, so we update the live region so that screen readers can // still notice the change and announce it. this.liveRegion.text(item.value); } }, menuselect: function(event, ui) { var item = ui.item.data("ui-autocomplete-item"), previous = this.previous; // only trigger when focus was lost (click on menu) if (this.element[0] !== this.document[0].activeElement) { this.element.focus(); this.previous = previous; // #6109 - IE triggers two focus events and the second // is asynchronous, so we need to reset the previous // term synchronously and asynchronously :-( this._delay(function() { this.previous = previous; this.selectedItem = item; }); } if (false !== this._trigger("select", event, {item: item})) { this._value(item.value); } // reset the term after the select event // this allows custom select handling to work properly this.term = this._value(); this.close(event); this.selectedItem = item; } }); this.liveRegion = $("<span>", { role: "status", "aria-live": "polite" }) .addClass("ui-helper-hidden-accessible") .insertBefore(this.element); // turning off autocomplete prevents the browser from remembering the // value when navigating through history, so we re-enable autocomplete // if the page is unloaded before the widget is destroyed. #7790 this._on(this.window, { beforeunload: function() { this.element.removeAttr("autocomplete"); } }); }, _destroy: function() { clearTimeout(this.searching); this.element .removeClass("ui-autocomplete-input") .removeAttr("autocomplete"); this.menu.element.remove(); this.liveRegion.remove(); }, _setOption: function(key, value) { this._super(key, value); if (key === "source") { this._initSource(); } if (key === "appendTo") { this.menu.element.appendTo(this._appendTo()); } if (key === "disabled" && value && this.xhr) { this.xhr.abort(); } }, _appendTo: function() { var element = this.options.appendTo; if (element) { element = element.jquery || element.nodeType ? $(element) : this.document.find(element).eq(0); } if (!element) { element = this.element.closest(".ui-front"); } if (!element.length) { element = this.document[0].body; } return element; }, _initSource: function() { var array, url, that = this; if ($.isArray(this.options.source)) { array = this.options.source; this.source = function(request, response) { response($.ui.autocomplete.filter(array, request.term)); }; } else if (typeof this.options.source === "string") { url = this.options.source; this.source = function(request, response) { if (that.xhr) { that.xhr.abort(); } that.xhr = $.ajax({ url: url, data: request, dataType: "json", success: function(data) { response(data); }, error: function() { response([]); } }); }; } else { this.source = this.options.source; } }, _searchTimeout: function(event) { clearTimeout(this.searching); this.searching = this._delay(function() { // only search if the value has changed if (this.term !== this._value()) { this.selectedItem = null; this.search(null, event); } }, this.options.delay); }, search: function(value, event) { value = value != null ? value : this._value(); // always save the actual value, not the one passed as an argument this.term = this._value(); if (value.length < this.options.minLength) { return this.close(event); } if (this._trigger("search", event) === false) { return; } return this._search(value); }, _search: function(value) { this.pending++; this.element.addClass("ui-autocomplete-loading"); this.cancelSearch = false; this.source({term: value}, this._response()); }, _response: function() { var that = this, index = ++requestIndex; return function(content) { if (index === requestIndex) { that.__response(content); } that.pending--; if (!that.pending) { that.element.removeClass("ui-autocomplete-loading"); } }; }, __response: function(content) { if (content) { content = this._normalize(content); } this._trigger("response", null, {content: content}); if (!this.options.disabled && content && content.length && !this.cancelSearch) { this._suggest(content); this._trigger("open"); } else { // use ._close() instead of .close() so we don't cancel future searches this._close(); } }, close: function(event) { this.cancelSearch = true; this._close(event); }, _close: function(event) { if (this.menu.element.is(":visible")) { this.menu.element.hide(); this.menu.blur(); this.isNewMenu = true; this._trigger("close", event); } }, _change: function(event) { if (this.previous !== this._value()) { this._trigger("change", event, {item: this.selectedItem}); } }, _normalize: function(items) { // assume all items have the right format when the first item is complete if (items.length && items[0].label && items[0].value) { return items; } return $.map(items, function(item) { if (typeof item === "string") { return { label: item, value: item }; } return $.extend({ label: item.label || item.value, value: item.value || item.label }, item); }); }, _suggest: function(items) { var ul = this.menu.element.empty(); this._renderMenu(ul, items); this.isNewMenu = true; this.menu.refresh(); // size and position menu ul.show(); this._resizeMenu(); ul.position($.extend({ of: this.element }, this.options.position)); if (this.options.autoFocus) { this.menu.next(); } }, _resizeMenu: function() { var ul = this.menu.element; ul.outerWidth(Math.max( // Firefox wraps long text (possibly a rounding bug) // so we add 1px to avoid the wrapping (#7513) ul.width("").outerWidth() + 1, this.element.outerWidth() )); }, _renderMenu: function(ul, items) { var that = this; $.each(items, function(index, item) { that._renderItemData(ul, item); }); }, _renderItemData: function(ul, item) { return this._renderItem(ul, item).data("ui-autocomplete-item", item); }, _renderItem: function(ul, item) { return $("<li>") .append($("<a>").text(item.label)) .appendTo(ul); }, _move: function(direction, event) { if (!this.menu.element.is(":visible")) { this.search(null, event); return; } if (this.menu.isFirstItem() && /^previous/.test(direction) || this.menu.isLastItem() && /^next/.test(direction)) { this._value(this.term); this.menu.blur(); return; } this.menu[ direction ](event); }, widget: function() { return this.menu.element; }, _value: function() { return this.valueMethod.apply(this.element, arguments); }, _keyEvent: function(keyEvent, event) { if (!this.isMultiLine || this.menu.element.is(":visible")) { this._move(keyEvent, event); // prevents moving cursor to beginning/end of the text field in some browsers event.preventDefault(); } } }); $.extend($.ui.autocomplete, { escapeRegex: function(value) { return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"); }, filter: function(array, term) { var matcher = new RegExp($.ui.autocomplete.escapeRegex(term), "i"); return $.grep(array, function(value) { return matcher.test(value.label || value.value || value); }); } }); // live region extension, adding a `messages` option // NOTE: This is an experimental API. We are still investigating // a full solution for string manipulation and internationalization. $.widget("ui.autocomplete", $.ui.autocomplete, { options: { messages: { noResults: "No search results.", results: function(amount) { return amount + (amount > 1 ? " results are" : " result is") + " available, use up and down arrow keys to navigate."; } } }, __response: function(content) { var message; this._superApply(arguments); if (this.options.disabled || this.cancelSearch) { return; } if (content && content.length) { message = this.options.messages.results(content.length); } else { message = this.options.messages.noResults; } this.liveRegion.text(message); } }); }(jQuery)); (function($, undefined) { var lastActive, startXPos, startYPos, clickDragged, baseClasses = "ui-button ui-widget ui-state-default ui-corner-all", stateClasses = "ui-state-hover ui-state-active ", typeClasses = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only", formResetHandler = function() { var form = $(this); setTimeout(function() { form.find(":ui-button").button("refresh"); }, 1); }, radioGroup = function(radio) { var name = radio.name, form = radio.form, radios = $([]); if (name) { name = name.replace(/'/g, "\\'"); if (form) { radios = $(form).find("[name='" + name + "']"); } else { radios = $("[name='" + name + "']", radio.ownerDocument) .filter(function() { return !this.form; }); } } return radios; }; $.widget("ui.button", { version: "1.10.3", defaultElement: "<button>", options: { disabled: null, text: true, label: null, icons: { primary: null, secondary: null } }, _create: function() { this.element.closest("form") .unbind("reset" + this.eventNamespace) .bind("reset" + this.eventNamespace, formResetHandler); if (typeof this.options.disabled !== "boolean") { this.options.disabled = !!this.element.prop("disabled"); } else { this.element.prop("disabled", this.options.disabled); } this._determineButtonType(); this.hasTitle = !!this.buttonElement.attr("title"); var that = this, options = this.options, toggleButton = this.type === "checkbox" || this.type === "radio", activeClass = !toggleButton ? "ui-state-active" : "", focusClass = "ui-state-focus"; if (options.label === null) { options.label = (this.type === "input" ? this.buttonElement.val() : this.buttonElement.html()); } this._hoverable(this.buttonElement); this.buttonElement .addClass(baseClasses) .attr("role", "button") .bind("mouseenter" + this.eventNamespace, function() { if (options.disabled) { return; } if (this === lastActive) { $(this).addClass("ui-state-active"); } }) .bind("mouseleave" + this.eventNamespace, function() { if (options.disabled) { return; } $(this).removeClass(activeClass); }) .bind("click" + this.eventNamespace, function(event) { if (options.disabled) { event.preventDefault(); event.stopImmediatePropagation(); } }); this.element .bind("focus" + this.eventNamespace, function() { // no need to check disabled, focus won't be triggered anyway that.buttonElement.addClass(focusClass); }) .bind("blur" + this.eventNamespace, function() { that.buttonElement.removeClass(focusClass); }); if (toggleButton) { this.element.bind("change" + this.eventNamespace, function() { if (clickDragged) { return; } that.refresh(); }); // if mouse moves between mousedown and mouseup (drag) set clickDragged flag // prevents issue where button state changes but checkbox/radio checked state // does not in Firefox (see ticket #6970) this.buttonElement .bind("mousedown" + this.eventNamespace, function(event) { if (options.disabled) { return; } clickDragged = false; startXPos = event.pageX; startYPos = event.pageY; }) .bind("mouseup" + this.eventNamespace, function(event) { if (options.disabled) { return; } if (startXPos !== event.pageX || startYPos !== event.pageY) { clickDragged = true; } }); } if (this.type === "checkbox") { this.buttonElement.bind("click" + this.eventNamespace, function() { if (options.disabled || clickDragged) { return false; } }); } else if (this.type === "radio") { this.buttonElement.bind("click" + this.eventNamespace, function() { if (options.disabled || clickDragged) { return false; } $(this).addClass("ui-state-active"); that.buttonElement.attr("aria-pressed", "true"); var radio = that.element[ 0 ]; radioGroup(radio) .not(radio) .map(function() { return $(this).button("widget")[ 0 ]; }) .removeClass("ui-state-active") .attr("aria-pressed", "false"); }); } else { this.buttonElement .bind("mousedown" + this.eventNamespace, function() { if (options.disabled) { return false; } $(this).addClass("ui-state-active"); lastActive = this; that.document.one("mouseup", function() { lastActive = null; }); }) .bind("mouseup" + this.eventNamespace, function() { if (options.disabled) { return false; } $(this).removeClass("ui-state-active"); }) .bind("keydown" + this.eventNamespace, function(event) { if (options.disabled) { return false; } if (event.keyCode === $.ui.keyCode.SPACE || event.keyCode === $.ui.keyCode.ENTER) { $(this).addClass("ui-state-active"); } }) // see #8559, we bind to blur here in case the button element loses // focus between keydown and keyup, it would be left in an "active" state .bind("keyup" + this.eventNamespace + " blur" + this.eventNamespace, function() { $(this).removeClass("ui-state-active"); }); if (this.buttonElement.is("a")) { this.buttonElement.keyup(function(event) { if (event.keyCode === $.ui.keyCode.SPACE) { // TODO pass through original event correctly (just as 2nd argument doesn't work) $(this).click(); } }); } } // TODO: pull out $.Widget's handling for the disabled option into // $.Widget.prototype._setOptionDisabled so it's easy to proxy and can // be overridden by individual plugins this._setOption("disabled", options.disabled); this._resetButton(); }, _determineButtonType: function() { var ancestor, labelSelector, checked; if (this.element.is("[type=checkbox]")) { this.type = "checkbox"; } else if (this.element.is("[type=radio]")) { this.type = "radio"; } else if (this.element.is("input")) { this.type = "input"; } else { this.type = "button"; } if (this.type === "checkbox" || this.type === "radio") { // we don't search against the document in case the element // is disconnected from the DOM ancestor = this.element.parents().last(); labelSelector = "label[for='" + this.element.attr("id") + "']"; this.buttonElement = ancestor.find(labelSelector); if (!this.buttonElement.length) { ancestor = ancestor.length ? ancestor.siblings() : this.element.siblings(); this.buttonElement = ancestor.filter(labelSelector); if (!this.buttonElement.length) { this.buttonElement = ancestor.find(labelSelector); } } this.element.addClass("ui-helper-hidden-accessible"); checked = this.element.is(":checked"); if (checked) { this.buttonElement.addClass("ui-state-active"); } this.buttonElement.prop("aria-pressed", checked); } else { this.buttonElement = this.element; } }, widget: function() { return this.buttonElement; }, _destroy: function() { this.element .removeClass("ui-helper-hidden-accessible"); this.buttonElement .removeClass(baseClasses + " " + stateClasses + " " + typeClasses) .removeAttr("role") .removeAttr("aria-pressed") .html(this.buttonElement.find(".ui-button-text").html()); if (!this.hasTitle) { this.buttonElement.removeAttr("title"); } }, _setOption: function(key, value) { this._super(key, value); if (key === "disabled") { if (value) { this.element.prop("disabled", true); } else { this.element.prop("disabled", false); } return; } this._resetButton(); }, refresh: function() { //See #8237 & #8828 var isDisabled = this.element.is("input, button") ? this.element.is(":disabled") : this.element.hasClass("ui-button-disabled"); if (isDisabled !== this.options.disabled) { this._setOption("disabled", isDisabled); } if (this.type === "radio") { radioGroup(this.element[0]).each(function() { if ($(this).is(":checked")) { $(this).button("widget") .addClass("ui-state-active") .attr("aria-pressed", "true"); } else { $(this).button("widget") .removeClass("ui-state-active") .attr("aria-pressed", "false"); } }); } else if (this.type === "checkbox") { if (this.element.is(":checked")) { this.buttonElement .addClass("ui-state-active") .attr("aria-pressed", "true"); } else { this.buttonElement .removeClass("ui-state-active") .attr("aria-pressed", "false"); } } }, _resetButton: function() { if (this.type === "input") { if (this.options.label) { this.element.val(this.options.label); } return; } var buttonElement = this.buttonElement.removeClass(typeClasses), buttonText = $("<span></span>", this.document[0]) .addClass("ui-button-text") .html(this.options.label) .appendTo(buttonElement.empty()) .text(), icons = this.options.icons, multipleIcons = icons.primary && icons.secondary, buttonClasses = []; if (icons.primary || icons.secondary) { if (this.options.text) { buttonClasses.push("ui-button-text-icon" + (multipleIcons ? "s" : (icons.primary ? "-primary" : "-secondary"))); } if (icons.primary) { buttonElement.prepend("<span class='ui-button-icon-primary ui-icon " + icons.primary + "'></span>"); } if (icons.secondary) { buttonElement.append("<span class='ui-button-icon-secondary ui-icon " + icons.secondary + "'></span>"); } if (!this.options.text) { buttonClasses.push(multipleIcons ? "ui-button-icons-only" : "ui-button-icon-only"); if (!this.hasTitle) { buttonElement.attr("title", $.trim(buttonText)); } } } else { buttonClasses.push("ui-button-text-only"); } buttonElement.addClass(buttonClasses.join(" ")); } }); $.widget("ui.buttonset", { version: "1.10.3", options: { items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)" }, _create: function() { this.element.addClass("ui-buttonset"); }, _init: function() { this.refresh(); }, _setOption: function(key, value) { if (key === "disabled") { this.buttons.button("option", key, value); } this._super(key, value); }, refresh: function() { var rtl = this.element.css("direction") === "rtl"; this.buttons = this.element.find(this.options.items) .filter(":ui-button") .button("refresh") .end() .not(":ui-button") .button() .end() .map(function() { return $(this).button("widget")[ 0 ]; }) .removeClass("ui-corner-all ui-corner-left ui-corner-right") .filter(":first") .addClass(rtl ? "ui-corner-right" : "ui-corner-left") .end() .filter(":last") .addClass(rtl ? "ui-corner-left" : "ui-corner-right") .end() .end(); }, _destroy: function() { this.element.removeClass("ui-buttonset"); this.buttons .map(function() { return $(this).button("widget")[ 0 ]; }) .removeClass("ui-corner-left ui-corner-right") .end() .button("destroy"); } }); }(jQuery)); (function($, undefined) { $.extend($.ui, {datepicker: {version: "1.10.3"}}); var PROP_NAME = "datepicker", instActive; /* Date picker manager. Use the singleton instance of this class, $.datepicker, to interact with the date picker. Settings for (groups of) date pickers are maintained in an instance object, allowing multiple different settings on the same page. */ function Datepicker() { this._curInst = null; // The current instance in use this._keyEvent = false; // If the last event was a key event this._disabledInputs = []; // List of date picker inputs that have been disabled this._datepickerShowing = false; // True if the popup picker is showing , false if not this._inDialog = false; // True if showing within a "dialog", false if not this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class this._appendClass = "ui-datepicker-append"; // The name of the append marker class this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class this.regional = []; // Available regional settings, indexed by language code this.regional[""] = {// Default regional settings closeText: "Done", // Display text for close link prevText: "Prev", // Display text for previous month link nextText: "Next", // Display text for next month link currentText: "Today", // Display text for current month link monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], // Names of months for drop-down and formatting monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], // For formatting dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], // For formatting dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], // For formatting dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], // Column headings for days starting at Sunday weekHeader: "Wk", // Column header for week of the year dateFormat: "mm/dd/yy", // See format options on parseDate firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ... isRTL: false, // True if right-to-left language, false if left-to-right showMonthAfterYear: false, // True if the year select precedes month, false for month then year yearSuffix: "" // Additional text to append to the year in the month headers }; this._defaults = {// Global defaults for all the date picker instances showOn: "focus", // "focus" for popup on focus, // "button" for trigger button, or "both" for either showAnim: "fadeIn", // Name of jQuery animation for popup showOptions: {}, // Options for enhanced animations defaultDate: null, // Used when field is blank: actual date, // +/-number for offset from today, null for today appendText: "", // Display text following the input box, e.g. showing the format buttonText: "...", // Text for trigger button buttonImage: "", // URL for trigger button image buttonImageOnly: false, // True if the image appears alone, false if it appears on a button hideIfNoPrevNext: false, // True to hide next/previous month links // if not applicable, false to just disable them navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links gotoCurrent: false, // True if today link goes back to current selection instead changeMonth: false, // True if month can be selected directly, false if only prev/next changeYear: false, // True if year can be selected directly, false if only prev/next yearRange: "c-10:c+10", // Range of years to display in drop-down, // either relative to today's year (-nn:+nn), relative to currently displayed year // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n) showOtherMonths: false, // True to show dates in other months, false to leave blank selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable showWeek: false, // True to show week of the year, false to not show it calculateWeek: this.iso8601Week, // How to calculate the week of the year, // takes a Date and returns the number of the week for it shortYearCutoff: "+10", // Short year values < this are in the current century, // > this are in the previous century, // string value starting with "+" for current year + value minDate: null, // The earliest selectable date, or null for no limit maxDate: null, // The latest selectable date, or null for no limit duration: "fast", // Duration of display/closure beforeShowDay: null, // Function that takes a date and returns an array with // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "", // [2] = cell title (optional), e.g. $.datepicker.noWeekends beforeShow: null, // Function that takes an input field and // returns a set of custom settings for the date picker onSelect: null, // Define a callback function when a date is selected onChangeMonthYear: null, // Define a callback function when the month or year is changed onClose: null, // Define a callback function when the datepicker is closed numberOfMonths: 1, // Number of months to show at a time showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0) stepMonths: 1, // Number of months to step back/forward stepBigMonths: 12, // Number of months to step back/forward for the big links altField: "", // Selector for an alternate field to store selected dates into altFormat: "", // The date format to use for the alternate field constrainInput: true, // The input is constrained by the current date format showButtonPanel: false, // True to show button panel, false to not show it autoSize: false, // True to size the input for the date format, false to leave as is disabled: false // The initial disabled state }; $.extend(this._defaults, this.regional[""]); this.dpDiv = bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")); } $.extend(Datepicker.prototype, { /* Class name added to elements to indicate already configured with a date picker. */ markerClassName: "hasDatepicker", //Keep track of the maximum number of rows displayed (see #7043) maxRows: 4, // TODO rename to "widget" when switching to widget factory _widgetDatepicker: function() { return this.dpDiv; }, /* Override the default settings for all instances of the date picker. * @param settings object - the new settings to use as defaults (anonymous object) * @return the manager object */ setDefaults: function(settings) { extendRemove(this._defaults, settings || {}); return this; }, /* Attach the date picker to a jQuery selection. * @param target element - the target input field or division or span * @param settings object - the new settings to use for this date picker instance (anonymous) */ _attachDatepicker: function(target, settings) { var nodeName, inline, inst; nodeName = target.nodeName.toLowerCase(); inline = (nodeName === "div" || nodeName === "span"); if (!target.id) { this.uuid += 1; target.id = "dp" + this.uuid; } inst = this._newInst($(target), inline); inst.settings = $.extend({}, settings || {}); if (nodeName === "input") { this._connectDatepicker(target, inst); } else if (inline) { this._inlineDatepicker(target, inst); } }, /* Create a new instance object. */ _newInst: function(target, inline) { var id = target[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"); // escape jQuery meta chars return {id: id, input: target, // associated target selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection drawMonth: 0, drawYear: 0, // month being drawn inline: inline, // is datepicker inline or not dpDiv: (!inline ? this.dpDiv : // presentation div bindHover($("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))}; }, /* Attach the date picker to an input field. */ _connectDatepicker: function(target, inst) { var input = $(target); inst.append = $([]); inst.trigger = $([]); if (input.hasClass(this.markerClassName)) { return; } this._attachments(input, inst); input.addClass(this.markerClassName).keydown(this._doKeyDown). keypress(this._doKeyPress).keyup(this._doKeyUp); this._autoSize(inst); $.data(target, PROP_NAME, inst); //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665) if (inst.settings.disabled) { this._disableDatepicker(target); } }, /* Make attachments based on settings. */ _attachments: function(input, inst) { var showOn, buttonText, buttonImage, appendText = this._get(inst, "appendText"), isRTL = this._get(inst, "isRTL"); if (inst.append) { inst.append.remove(); } if (appendText) { inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>"); input[isRTL ? "before" : "after"](inst.append); } input.unbind("focus", this._showDatepicker); if (inst.trigger) { inst.trigger.remove(); } showOn = this._get(inst, "showOn"); if (showOn === "focus" || showOn === "both") { // pop-up date picker when in the marked field input.focus(this._showDatepicker); } if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked buttonText = this._get(inst, "buttonText"); buttonImage = this._get(inst, "buttonImage"); inst.trigger = $(this._get(inst, "buttonImageOnly") ? $("<img/>").addClass(this._triggerClass). attr({src: buttonImage, alt: buttonText, title: buttonText}) : $("<button type='button'></button>").addClass(this._triggerClass). html(!buttonImage ? buttonText : $("<img/>").attr( {src: buttonImage, alt: buttonText, title: buttonText}))); input[isRTL ? "before" : "after"](inst.trigger); inst.trigger.click(function() { if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) { $.datepicker._hideDatepicker(); } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput !== input[0]) { $.datepicker._hideDatepicker(); $.datepicker._showDatepicker(input[0]); } else { $.datepicker._showDatepicker(input[0]); } return false; }); } }, /* Apply the maximum length for the date format. */ _autoSize: function(inst) { if (this._get(inst, "autoSize") && !inst.inline) { var findMax, max, maxI, i, date = new Date(2009, 12 - 1, 20), // Ensure double digits dateFormat = this._get(inst, "dateFormat"); if (dateFormat.match(/[DM]/)) { findMax = function(names) { max = 0; maxI = 0; for (i = 0; i < names.length; i++) { if (names[i].length > max) { max = names[i].length; maxI = i; } } return maxI; }; date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ? "monthNames" : "monthNamesShort")))); date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ? "dayNames" : "dayNamesShort"))) + 20 - date.getDay()); } inst.input.attr("size", this._formatDate(inst, date).length); } }, /* Attach an inline date picker to a div. */ _inlineDatepicker: function(target, inst) { var divSpan = $(target); if (divSpan.hasClass(this.markerClassName)) { return; } divSpan.addClass(this.markerClassName).append(inst.dpDiv); $.data(target, PROP_NAME, inst); this._setDate(inst, this._getDefaultDate(inst), true); this._updateDatepicker(inst); this._updateAlternate(inst); //If disabled option is true, disable the datepicker before showing it (see ticket #5665) if (inst.settings.disabled) { this._disableDatepicker(target); } // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height inst.dpDiv.css("display", "block"); }, /* Pop-up the date picker in a "dialog" box. * @param input element - ignored * @param date string or Date - the initial date to display * @param onSelect function - the function to call when a date is selected * @param settings object - update the dialog date picker instance's settings (anonymous object) * @param pos int[2] - coordinates for the dialog's position within the screen or * event - with x/y coordinates or * leave empty for default (screen centre) * @return the manager object */ _dialogDatepicker: function(input, date, onSelect, settings, pos) { var id, browserWidth, browserHeight, scrollX, scrollY, inst = this._dialogInst; // internal instance if (!inst) { this.uuid += 1; id = "dp" + this.uuid; this._dialogInput = $("<input type='text' id='" + id + "' style='position: absolute; top: -100px; width: 0px;'/>"); this._dialogInput.keydown(this._doKeyDown); $("body").append(this._dialogInput); inst = this._dialogInst = this._newInst(this._dialogInput, false); inst.settings = {}; $.data(this._dialogInput[0], PROP_NAME, inst); } extendRemove(inst.settings, settings || {}); date = (date && date.constructor === Date ? this._formatDate(inst, date) : date); this._dialogInput.val(date); this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null); if (!this._pos) { browserWidth = document.documentElement.clientWidth; browserHeight = document.documentElement.clientHeight; scrollX = document.documentElement.scrollLeft || document.body.scrollLeft; scrollY = document.documentElement.scrollTop || document.body.scrollTop; this._pos = // should use actual width/height below [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY]; } // move input on screen for focus, but hidden behind dialog this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px"); inst.settings.onSelect = onSelect; this._inDialog = true; this.dpDiv.addClass(this._dialogClass); this._showDatepicker(this._dialogInput[0]); if ($.blockUI) { $.blockUI(this.dpDiv); } $.data(this._dialogInput[0], PROP_NAME, inst); return this; }, /* Detach a datepicker from its control. * @param target element - the target input field or division or span */ _destroyDatepicker: function(target) { var nodeName, $target = $(target), inst = $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName = target.nodeName.toLowerCase(); $.removeData(target, PROP_NAME); if (nodeName === "input") { inst.append.remove(); inst.trigger.remove(); $target.removeClass(this.markerClassName). unbind("focus", this._showDatepicker). unbind("keydown", this._doKeyDown). unbind("keypress", this._doKeyPress). unbind("keyup", this._doKeyUp); } else if (nodeName === "div" || nodeName === "span") { $target.removeClass(this.markerClassName).empty(); } }, /* Enable the date picker to a jQuery selection. * @param target element - the target input field or division or span */ _enableDatepicker: function(target) { var nodeName, inline, $target = $(target), inst = $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName = target.nodeName.toLowerCase(); if (nodeName === "input") { target.disabled = false; inst.trigger.filter("button"). each(function() { this.disabled = false; }).end(). filter("img").css({opacity: "1.0", cursor: ""}); } else if (nodeName === "div" || nodeName === "span") { inline = $target.children("." + this._inlineClass); inline.children().removeClass("ui-state-disabled"); inline.find("select.ui-datepicker-month, select.ui-datepicker-year"). prop("disabled", false); } this._disabledInputs = $.map(this._disabledInputs, function(value) { return (value === target ? null : value); }); // delete entry }, /* Disable the date picker to a jQuery selection. * @param target element - the target input field or division or span */ _disableDatepicker: function(target) { var nodeName, inline, $target = $(target), inst = $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName = target.nodeName.toLowerCase(); if (nodeName === "input") { target.disabled = true; inst.trigger.filter("button"). each(function() { this.disabled = true; }).end(). filter("img").css({opacity: "0.5", cursor: "default"}); } else if (nodeName === "div" || nodeName === "span") { inline = $target.children("." + this._inlineClass); inline.children().addClass("ui-state-disabled"); inline.find("select.ui-datepicker-month, select.ui-datepicker-year"). prop("disabled", true); } this._disabledInputs = $.map(this._disabledInputs, function(value) { return (value === target ? null : value); }); // delete entry this._disabledInputs[this._disabledInputs.length] = target; }, /* Is the first field in a jQuery collection disabled as a datepicker? * @param target element - the target input field or division or span * @return boolean - true if disabled, false if enabled */ _isDisabledDatepicker: function(target) { if (!target) { return false; } for (var i = 0; i < this._disabledInputs.length; i++) { if (this._disabledInputs[i] === target) { return true; } } return false; }, /* Retrieve the instance data for the target control. * @param target element - the target input field or division or span * @return object - the associated instance data * @throws error if a jQuery problem getting data */ _getInst: function(target) { try { return $.data(target, PROP_NAME); } catch (err) { throw "Missing instance data for this datepicker"; } }, /* Update or retrieve the settings for a date picker attached to an input field or division. * @param target element - the target input field or division or span * @param name object - the new settings to update or * string - the name of the setting to change or retrieve, * when retrieving also "all" for all instance settings or * "defaults" for all global defaults * @param value any - the new value for the setting * (omit if above is an object or to retrieve a value) */ _optionDatepicker: function(target, name, value) { var settings, date, minDate, maxDate, inst = this._getInst(target); if (arguments.length === 2 && typeof name === "string") { return (name === "defaults" ? $.extend({}, $.datepicker._defaults) : (inst ? (name === "all" ? $.extend({}, inst.settings) : this._get(inst, name)) : null)); } settings = name || {}; if (typeof name === "string") { settings = {}; settings[name] = value; } if (inst) { if (this._curInst === inst) { this._hideDatepicker(); } date = this._getDateDatepicker(target, true); minDate = this._getMinMaxDate(inst, "min"); maxDate = this._getMinMaxDate(inst, "max"); extendRemove(inst.settings, settings); // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided if (minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined) { inst.settings.minDate = this._formatDate(inst, minDate); } if (maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined) { inst.settings.maxDate = this._formatDate(inst, maxDate); } if ("disabled" in settings) { if (settings.disabled) { this._disableDatepicker(target); } else { this._enableDatepicker(target); } } this._attachments($(target), inst); this._autoSize(inst); this._setDate(inst, date); this._updateAlternate(inst); this._updateDatepicker(inst); } }, // change method deprecated _changeDatepicker: function(target, name, value) { this._optionDatepicker(target, name, value); }, /* Redraw the date picker attached to an input field or division. * @param target element - the target input field or division or span */ _refreshDatepicker: function(target) { var inst = this._getInst(target); if (inst) { this._updateDatepicker(inst); } }, /* Set the dates for a jQuery selection. * @param target element - the target input field or division or span * @param date Date - the new date */ _setDateDatepicker: function(target, date) { var inst = this._getInst(target); if (inst) { this._setDate(inst, date); this._updateDatepicker(inst); this._updateAlternate(inst); } }, /* Get the date(s) for the first entry in a jQuery selection. * @param target element - the target input field or division or span * @param noDefault boolean - true if no default date is to be used * @return Date - the current date */ _getDateDatepicker: function(target, noDefault) { var inst = this._getInst(target); if (inst && !inst.inline) { this._setDateFromField(inst, noDefault); } return (inst ? this._getDate(inst) : null); }, /* Handle keystrokes. */ _doKeyDown: function(event) { var onSelect, dateStr, sel, inst = $.datepicker._getInst(event.target), handled = true, isRTL = inst.dpDiv.is(".ui-datepicker-rtl"); inst._keyEvent = true; if ($.datepicker._datepickerShowing) { switch (event.keyCode) { case 9: $.datepicker._hideDatepicker(); handled = false; break; // hide on tab out case 13: sel = $("td." + $.datepicker._dayOverClass + ":not(." + $.datepicker._currentClass + ")", inst.dpDiv); if (sel[0]) { $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]); } onSelect = $.datepicker._get(inst, "onSelect"); if (onSelect) { dateStr = $.datepicker._formatDate(inst); // trigger custom callback onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); } else { $.datepicker._hideDatepicker(); } return false; // don't submit the form case 27: $.datepicker._hideDatepicker(); break; // hide on escape case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ? -$.datepicker._get(inst, "stepBigMonths") : -$.datepicker._get(inst, "stepMonths")), "M"); break; // previous month/year on page up/+ ctrl case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ? +$.datepicker._get(inst, "stepBigMonths") : +$.datepicker._get(inst, "stepMonths")), "M"); break; // next month/year on page down/+ ctrl case 35: if (event.ctrlKey || event.metaKey) { $.datepicker._clearDate(event.target); } handled = event.ctrlKey || event.metaKey; break; // clear on ctrl or command +end case 36: if (event.ctrlKey || event.metaKey) { $.datepicker._gotoToday(event.target); } handled = event.ctrlKey || event.metaKey; break; // current on ctrl or command +home case 37: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), "D"); } handled = event.ctrlKey || event.metaKey; // -1 day on ctrl or command +left if (event.originalEvent.altKey) { $.datepicker._adjustDate(event.target, (event.ctrlKey ? -$.datepicker._get(inst, "stepBigMonths") : -$.datepicker._get(inst, "stepMonths")), "M"); } // next month/year on alt +left on Mac break; case 38: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, -7, "D"); } handled = event.ctrlKey || event.metaKey; break; // -1 week on ctrl or command +up case 39: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), "D"); } handled = event.ctrlKey || event.metaKey; // +1 day on ctrl or command +right if (event.originalEvent.altKey) { $.datepicker._adjustDate(event.target, (event.ctrlKey ? +$.datepicker._get(inst, "stepBigMonths") : +$.datepicker._get(inst, "stepMonths")), "M"); } // next month/year on alt +right break; case 40: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, +7, "D"); } handled = event.ctrlKey || event.metaKey; break; // +1 week on ctrl or command +down default: handled = false; } } else if (event.keyCode === 36 && event.ctrlKey) { // display the date picker on ctrl+home $.datepicker._showDatepicker(this); } else { handled = false; } if (handled) { event.preventDefault(); event.stopPropagation(); } }, /* Filter entered characters - based on date format. */ _doKeyPress: function(event) { var chars, chr, inst = $.datepicker._getInst(event.target); if ($.datepicker._get(inst, "constrainInput")) { chars = $.datepicker._possibleChars($.datepicker._get(inst, "dateFormat")); chr = String.fromCharCode(event.charCode == null ? event.keyCode : event.charCode); return event.ctrlKey || event.metaKey || (chr < " " || !chars || chars.indexOf(chr) > -1); } }, /* Synchronise manual entry and field/alternate field. */ _doKeyUp: function(event) { var date, inst = $.datepicker._getInst(event.target); if (inst.input.val() !== inst.lastVal) { try { date = $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"), (inst.input ? inst.input.val() : null), $.datepicker._getFormatConfig(inst)); if (date) { // only if valid $.datepicker._setDateFromField(inst); $.datepicker._updateAlternate(inst); $.datepicker._updateDatepicker(inst); } } catch (err) { } } return true; }, /* Pop-up the date picker for a given input field. * If false returned from beforeShow event handler do not show. * @param input element - the input field attached to the date picker or * event - if triggered by focus */ _showDatepicker: function(input) { input = input.target || input; if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger input = $("input", input.parentNode)[0]; } if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput === input) { // already here return; } var inst, beforeShow, beforeShowSettings, isFixed, offset, showAnim, duration; inst = $.datepicker._getInst(input); if ($.datepicker._curInst && $.datepicker._curInst !== inst) { $.datepicker._curInst.dpDiv.stop(true, true); if (inst && $.datepicker._datepickerShowing) { $.datepicker._hideDatepicker($.datepicker._curInst.input[0]); } } beforeShow = $.datepicker._get(inst, "beforeShow"); beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {}; if (beforeShowSettings === false) { return; } extendRemove(inst.settings, beforeShowSettings); inst.lastVal = null; $.datepicker._lastInput = input; $.datepicker._setDateFromField(inst); if ($.datepicker._inDialog) { // hide cursor input.value = ""; } if (!$.datepicker._pos) { // position below input $.datepicker._pos = $.datepicker._findPos(input); $.datepicker._pos[1] += input.offsetHeight; // add the height } isFixed = false; $(input).parents().each(function() { isFixed |= $(this).css("position") === "fixed"; return !isFixed; }); offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]}; $.datepicker._pos = null; //to avoid flashes on Firefox inst.dpDiv.empty(); // determine sizing offscreen inst.dpDiv.css({position: "absolute", display: "block", top: "-1000px"}); $.datepicker._updateDatepicker(inst); // fix width for dynamic number of date pickers // and adjust position before showing offset = $.datepicker._checkOffset(inst, offset, isFixed); inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ? "static" : (isFixed ? "fixed" : "absolute")), display: "none", left: offset.left + "px", top: offset.top + "px"}); if (!inst.inline) { showAnim = $.datepicker._get(inst, "showAnim"); duration = $.datepicker._get(inst, "duration"); inst.dpDiv.zIndex($(input).zIndex() + 1); $.datepicker._datepickerShowing = true; if ($.effects && $.effects.effect[ showAnim ]) { inst.dpDiv.show(showAnim, $.datepicker._get(inst, "showOptions"), duration); } else { inst.dpDiv[showAnim || "show"](showAnim ? duration : null); } if ($.datepicker._shouldFocusInput(inst)) { inst.input.focus(); } $.datepicker._curInst = inst; } }, /* Generate the date picker content. */ _updateDatepicker: function(inst) { this.maxRows = 4; //Reset the max number of rows being displayed (see #7043) instActive = inst; // for delegate hover events inst.dpDiv.empty().append(this._generateHTML(inst)); this._attachHandlers(inst); inst.dpDiv.find("." + this._dayOverClass + " a").mouseover(); var origyearshtml, numMonths = this._getNumberOfMonths(inst), cols = numMonths[1], width = 17; inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""); if (cols > 1) { inst.dpDiv.addClass("ui-datepicker-multi-" + cols).css("width", (width * cols) + "em"); } inst.dpDiv[(numMonths[0] !== 1 || numMonths[1] !== 1 ? "add" : "remove") + "Class"]("ui-datepicker-multi"); inst.dpDiv[(this._get(inst, "isRTL") ? "add" : "remove") + "Class"]("ui-datepicker-rtl"); if (inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput(inst)) { inst.input.focus(); } // deffered render of the years select (to avoid flashes on Firefox) if (inst.yearshtml) { origyearshtml = inst.yearshtml; setTimeout(function() { //assure that inst.yearshtml didn't change. if (origyearshtml === inst.yearshtml && inst.yearshtml) { inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml); } origyearshtml = inst.yearshtml = null; }, 0); } }, // #6694 - don't focus the input if it's already focused // this breaks the change event in IE // Support: IE and jQuery <1.9 _shouldFocusInput: function(inst) { return inst.input && inst.input.is(":visible") && !inst.input.is(":disabled") && !inst.input.is(":focus"); }, /* Check positioning to remain on screen. */ _checkOffset: function(inst, offset, isFixed) { var dpWidth = inst.dpDiv.outerWidth(), dpHeight = inst.dpDiv.outerHeight(), inputWidth = inst.input ? inst.input.outerWidth() : 0, inputHeight = inst.input ? inst.input.outerHeight() : 0, viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()), viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop()); offset.left -= (this._get(inst, "isRTL") ? (dpWidth - inputWidth) : 0); offset.left -= (isFixed && offset.left === inst.input.offset().left) ? $(document).scrollLeft() : 0; offset.top -= (isFixed && offset.top === (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0; // now check if datepicker is showing outside window viewport - move to a better place if so. offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ? Math.abs(offset.left + dpWidth - viewWidth) : 0); offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ? Math.abs(dpHeight + inputHeight) : 0); return offset; }, /* Find an object's position on the screen. */ _findPos: function(obj) { var position, inst = this._getInst(obj), isRTL = this._get(inst, "isRTL"); while (obj && (obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden(obj))) { obj = obj[isRTL ? "previousSibling" : "nextSibling"]; } position = $(obj).offset(); return [position.left, position.top]; }, /* Hide the date picker from view. * @param input element - the input field attached to the date picker */ _hideDatepicker: function(input) { var showAnim, duration, postProcess, onClose, inst = this._curInst; if (!inst || (input && inst !== $.data(input, PROP_NAME))) { return; } if (this._datepickerShowing) { showAnim = this._get(inst, "showAnim"); duration = this._get(inst, "duration"); postProcess = function() { $.datepicker._tidyDialog(inst); }; // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed if ($.effects && ($.effects.effect[ showAnim ] || $.effects[ showAnim ])) { inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess); } else { inst.dpDiv[(showAnim === "slideDown" ? "slideUp" : (showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess); } if (!showAnim) { postProcess(); } this._datepickerShowing = false; onClose = this._get(inst, "onClose"); if (onClose) { onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]); } this._lastInput = null; if (this._inDialog) { this._dialogInput.css({position: "absolute", left: "0", top: "-100px"}); if ($.blockUI) { $.unblockUI(); $("body").append(this.dpDiv); } } this._inDialog = false; } }, /* Tidy up after a dialog display. */ _tidyDialog: function(inst) { inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar"); }, /* Close date picker if clicked elsewhere. */ _checkExternalClick: function(event) { if (!$.datepicker._curInst) { return; } var $target = $(event.target), inst = $.datepicker._getInst($target[0]); if ((($target[0].id !== $.datepicker._mainDivId && $target.parents("#" + $.datepicker._mainDivId).length === 0 && !$target.hasClass($.datepicker.markerClassName) && !$target.closest("." + $.datepicker._triggerClass).length && $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI))) || ($target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst !== inst)) { $.datepicker._hideDatepicker(); } }, /* Adjust one of the date sub-fields. */ _adjustDate: function(id, offset, period) { var target = $(id), inst = this._getInst(target[0]); if (this._isDisabledDatepicker(target[0])) { return; } this._adjustInstDate(inst, offset + (period === "M" ? this._get(inst, "showCurrentAtPos") : 0), // undo positioning period); this._updateDatepicker(inst); }, /* Action for current link. */ _gotoToday: function(id) { var date, target = $(id), inst = this._getInst(target[0]); if (this._get(inst, "gotoCurrent") && inst.currentDay) { inst.selectedDay = inst.currentDay; inst.drawMonth = inst.selectedMonth = inst.currentMonth; inst.drawYear = inst.selectedYear = inst.currentYear; } else { date = new Date(); inst.selectedDay = date.getDate(); inst.drawMonth = inst.selectedMonth = date.getMonth(); inst.drawYear = inst.selectedYear = date.getFullYear(); } this._notifyChange(inst); this._adjustDate(target); }, /* Action for selecting a new month/year. */ _selectMonthYear: function(id, select, period) { var target = $(id), inst = this._getInst(target[0]); inst["selected" + (period === "M" ? "Month" : "Year")] = inst["draw" + (period === "M" ? "Month" : "Year")] = parseInt(select.options[select.selectedIndex].value, 10); this._notifyChange(inst); this._adjustDate(target); }, /* Action for selecting a day. */ _selectDay: function(id, month, year, td) { var inst, target = $(id); if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) { return; } inst = this._getInst(target[0]); inst.selectedDay = inst.currentDay = $("a", td).html(); inst.selectedMonth = inst.currentMonth = month; inst.selectedYear = inst.currentYear = year; this._selectDate(id, this._formatDate(inst, inst.currentDay, inst.currentMonth, inst.currentYear)); }, /* Erase the input field and hide the date picker. */ _clearDate: function(id) { var target = $(id); this._selectDate(target, ""); }, /* Update the input field with the selected date. */ _selectDate: function(id, dateStr) { var onSelect, target = $(id), inst = this._getInst(target[0]); dateStr = (dateStr != null ? dateStr : this._formatDate(inst)); if (inst.input) { inst.input.val(dateStr); } this._updateAlternate(inst); onSelect = this._get(inst, "onSelect"); if (onSelect) { onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback } else if (inst.input) { inst.input.trigger("change"); // fire the change event } if (inst.inline) { this._updateDatepicker(inst); } else { this._hideDatepicker(); this._lastInput = inst.input[0]; if (typeof(inst.input[0]) !== "object") { inst.input.focus(); // restore focus } this._lastInput = null; } }, /* Update any alternate field to synchronise with the main field. */ _updateAlternate: function(inst) { var altFormat, date, dateStr, altField = this._get(inst, "altField"); if (altField) { // update alternate field too altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat"); date = this._getDate(inst); dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst)); $(altField).each(function() { $(this).val(dateStr); }); } }, /* Set as beforeShowDay function to prevent selection of weekends. * @param date Date - the date to customise * @return [boolean, string] - is this date selectable?, what is its CSS class? */ noWeekends: function(date) { var day = date.getDay(); return [(day > 0 && day < 6), ""]; }, /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition. * @param date Date - the date to get the week for * @return number - the number of the week within the year that contains this date */ iso8601Week: function(date) { var time, checkDate = new Date(date.getTime()); // Find Thursday of this week starting on Monday checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7)); time = checkDate.getTime(); checkDate.setMonth(0); // Compare with Jan 1 checkDate.setDate(1); return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1; }, /* Parse a string value into a date object. * See formatDate below for the possible formats. * * @param format string - the expected format of the date * @param value string - the date in the above format * @param settings Object - attributes include: * shortYearCutoff number - the cutoff year for determining the century (optional) * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional) * dayNames string[7] - names of the days from Sunday (optional) * monthNamesShort string[12] - abbreviated names of the months (optional) * monthNames string[12] - names of the months (optional) * @return Date - the extracted date value or null if value is blank */ parseDate: function(format, value, settings) { if (format == null || value == null) { throw "Invalid arguments"; } value = (typeof value === "object" ? value.toString() : value + ""); if (value === "") { return null; } var iFormat, dim, extra, iValue = 0, shortYearCutoffTemp = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff, shortYearCutoff = (typeof shortYearCutoffTemp !== "string" ? shortYearCutoffTemp : new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)), dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort, dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames, monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort, monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames, year = -1, month = -1, day = -1, doy = -1, literal = false, date, // Check whether a format character is doubled lookAhead = function(match) { var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match); if (matches) { iFormat++; } return matches; }, // Extract a number from the string value getNumber = function(match) { var isDoubled = lookAhead(match), size = (match === "@" ? 14 : (match === "!" ? 20 : (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))), digits = new RegExp("^\\d{1," + size + "}"), num = value.substring(iValue).match(digits); if (!num) { throw "Missing number at position " + iValue; } iValue += num[0].length; return parseInt(num[0], 10); }, // Extract a name from the string value and convert to an index getName = function(match, shortNames, longNames) { var index = -1, names = $.map(lookAhead(match) ? longNames : shortNames, function(v, k) { return [[k, v]]; }).sort(function(a, b) { return -(a[1].length - b[1].length); }); $.each(names, function(i, pair) { var name = pair[1]; if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) { index = pair[0]; iValue += name.length; return false; } }); if (index !== -1) { return index + 1; } else { throw "Unknown name at position " + iValue; } }, // Confirm that a literal character matches the string value checkLiteral = function() { if (value.charAt(iValue) !== format.charAt(iFormat)) { throw "Unexpected literal at position " + iValue; } iValue++; }; for (iFormat = 0; iFormat < format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) === "'" && !lookAhead("'")) { literal = false; } else { checkLiteral(); } } else { switch (format.charAt(iFormat)) { case "d": day = getNumber("d"); break; case "D": getName("D", dayNamesShort, dayNames); break; case "o": doy = getNumber("o"); break; case "m": month = getNumber("m"); break; case "M": month = getName("M", monthNamesShort, monthNames); break; case "y": year = getNumber("y"); break; case "@": date = new Date(getNumber("@")); year = date.getFullYear(); month = date.getMonth() + 1; day = date.getDate(); break; case "!": date = new Date((getNumber("!") - this._ticksTo1970) / 10000); year = date.getFullYear(); month = date.getMonth() + 1; day = date.getDate(); break; case "'": if (lookAhead("'")) { checkLiteral(); } else { literal = true; } break; default: checkLiteral(); } } } if (iValue < value.length) { extra = value.substr(iValue); if (!/^\s+/.test(extra)) { throw "Extra/unparsed characters found in date: " + extra; } } if (year === -1) { year = new Date().getFullYear(); } else if (year < 100) { year += new Date().getFullYear() - new Date().getFullYear() % 100 + (year <= shortYearCutoff ? 0 : -100); } if (doy > -1) { month = 1; day = doy; do { dim = this._getDaysInMonth(year, month - 1); if (day <= dim) { break; } month++; day -= dim; } while (true); } date = this._daylightSavingAdjust(new Date(year, month - 1, day)); if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) { throw "Invalid date"; // E.g. 31/02/00 } return date; }, /* Standard date formats. */ ATOM: "yy-mm-dd", // RFC 3339 (ISO 8601) COOKIE: "D, dd M yy", ISO_8601: "yy-mm-dd", RFC_822: "D, d M y", RFC_850: "DD, dd-M-y", RFC_1036: "D, d M y", RFC_1123: "D, d M yy", RFC_2822: "D, d M yy", RSS: "D, d M y", // RFC 822 TICKS: "!", TIMESTAMP: "@", W3C: "yy-mm-dd", // ISO 8601 _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) + Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000), /* Format a date object into a string value. * The format can be combinations of the following: * d - day of month (no leading zero) * dd - day of month (two digit) * o - day of year (no leading zeros) * oo - day of year (three digit) * D - day name short * DD - day name long * m - month of year (no leading zero) * mm - month of year (two digit) * M - month name short * MM - month name long * y - year (two digit) * yy - year (four digit) * @ - Unix timestamp (ms since 01/01/1970) * ! - Windows ticks (100ns since 01/01/0001) * "..." - literal text * '' - single quote * * @param format string - the desired format of the date * @param date Date - the date value to format * @param settings Object - attributes include: * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional) * dayNames string[7] - names of the days from Sunday (optional) * monthNamesShort string[12] - abbreviated names of the months (optional) * monthNames string[12] - names of the months (optional) * @return string - the date in the above format */ formatDate: function(format, date, settings) { if (!date) { return ""; } var iFormat, dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort, dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames, monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort, monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames, // Check whether a format character is doubled lookAhead = function(match) { var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match); if (matches) { iFormat++; } return matches; }, // Format a number, with leading zero if necessary formatNumber = function(match, value, len) { var num = "" + value; if (lookAhead(match)) { while (num.length < len) { num = "0" + num; } } return num; }, // Format a name, short or long as requested formatName = function(match, value, shortNames, longNames) { return (lookAhead(match) ? longNames[value] : shortNames[value]); }, output = "", literal = false; if (date) { for (iFormat = 0; iFormat < format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) === "'" && !lookAhead("'")) { literal = false; } else { output += format.charAt(iFormat); } } else { switch (format.charAt(iFormat)) { case "d": output += formatNumber("d", date.getDate(), 2); break; case "D": output += formatName("D", date.getDay(), dayNamesShort, dayNames); break; case "o": output += formatNumber("o", Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3); break; case "m": output += formatNumber("m", date.getMonth() + 1, 2); break; case "M": output += formatName("M", date.getMonth(), monthNamesShort, monthNames); break; case "y": output += (lookAhead("y") ? date.getFullYear() : (date.getYear() % 100 < 10 ? "0" : "") + date.getYear() % 100); break; case "@": output += date.getTime(); break; case "!": output += date.getTime() * 10000 + this._ticksTo1970; break; case "'": if (lookAhead("'")) { output += "'"; } else { literal = true; } break; default: output += format.charAt(iFormat); } } } } return output; }, /* Extract all possible characters from the date format. */ _possibleChars: function(format) { var iFormat, chars = "", literal = false, // Check whether a format character is doubled lookAhead = function(match) { var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match); if (matches) { iFormat++; } return matches; }; for (iFormat = 0; iFormat < format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) === "'" && !lookAhead("'")) { literal = false; } else { chars += format.charAt(iFormat); } } else { switch (format.charAt(iFormat)) { case "d": case "m": case "y": case "@": chars += "0123456789"; break; case "D": case "M": return null; // Accept anything case "'": if (lookAhead("'")) { chars += "'"; } else { literal = true; } break; default: chars += format.charAt(iFormat); } } } return chars; }, /* Get a setting value, defaulting if necessary. */ _get: function(inst, name) { return inst.settings[name] !== undefined ? inst.settings[name] : this._defaults[name]; }, /* Parse existing date and initialise date picker. */ _setDateFromField: function(inst, noDefault) { if (inst.input.val() === inst.lastVal) { return; } var dateFormat = this._get(inst, "dateFormat"), dates = inst.lastVal = inst.input ? inst.input.val() : null, defaultDate = this._getDefaultDate(inst), date = defaultDate, settings = this._getFormatConfig(inst); try { date = this.parseDate(dateFormat, dates, settings) || defaultDate; } catch (event) { dates = (noDefault ? "" : dates); } inst.selectedDay = date.getDate(); inst.drawMonth = inst.selectedMonth = date.getMonth(); inst.drawYear = inst.selectedYear = date.getFullYear(); inst.currentDay = (dates ? date.getDate() : 0); inst.currentMonth = (dates ? date.getMonth() : 0); inst.currentYear = (dates ? date.getFullYear() : 0); this._adjustInstDate(inst); }, /* Retrieve the default date shown on opening. */ _getDefaultDate: function(inst) { return this._restrictMinMax(inst, this._determineDate(inst, this._get(inst, "defaultDate"), new Date())); }, /* A date may be specified as an exact value or a relative one. */ _determineDate: function(inst, date, defaultDate) { var offsetNumeric = function(offset) { var date = new Date(); date.setDate(date.getDate() + offset); return date; }, offsetString = function(offset) { try { return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"), offset, $.datepicker._getFormatConfig(inst)); } catch (e) { // Ignore } var date = (offset.toLowerCase().match(/^c/) ? $.datepicker._getDate(inst) : null) || new Date(), year = date.getFullYear(), month = date.getMonth(), day = date.getDate(), pattern = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, matches = pattern.exec(offset); while (matches) { switch (matches[2] || "d") { case "d" : case "D" : day += parseInt(matches[1], 10); break; case "w" : case "W" : day += parseInt(matches[1], 10) * 7; break; case "m" : case "M" : month += parseInt(matches[1], 10); day = Math.min(day, $.datepicker._getDaysInMonth(year, month)); break; case "y": case "Y" : year += parseInt(matches[1], 10); day = Math.min(day, $.datepicker._getDaysInMonth(year, month)); break; } matches = pattern.exec(offset); } return new Date(year, month, day); }, newDate = (date == null || date === "" ? defaultDate : (typeof date === "string" ? offsetString(date) : (typeof date === "number" ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime())))); newDate = (newDate && newDate.toString() === "Invalid Date" ? defaultDate : newDate); if (newDate) { newDate.setHours(0); newDate.setMinutes(0); newDate.setSeconds(0); newDate.setMilliseconds(0); } return this._daylightSavingAdjust(newDate); }, /* Handle switch to/from daylight saving. * Hours may be non-zero on daylight saving cut-over: * > 12 when midnight changeover, but then cannot generate * midnight datetime, so jump to 1AM, otherwise reset. * @param date (Date) the date to check * @return (Date) the corrected date */ _daylightSavingAdjust: function(date) { if (!date) { return null; } date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0); return date; }, /* Set the date(s) directly. */ _setDate: function(inst, date, noChange) { var clear = !date, origMonth = inst.selectedMonth, origYear = inst.selectedYear, newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date())); inst.selectedDay = inst.currentDay = newDate.getDate(); inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth(); inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear(); if ((origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) && !noChange) { this._notifyChange(inst); } this._adjustInstDate(inst); if (inst.input) { inst.input.val(clear ? "" : this._formatDate(inst)); } }, /* Retrieve the date(s) directly. */ _getDate: function(inst) { var startDate = (!inst.currentYear || (inst.input && inst.input.val() === "") ? null : this._daylightSavingAdjust(new Date( inst.currentYear, inst.currentMonth, inst.currentDay))); return startDate; }, /* Attach the onxxx handlers. These are declared statically so * they work with static code transformers like Caja. */ _attachHandlers: function(inst) { var stepMonths = this._get(inst, "stepMonths"), id = "#" + inst.id.replace(/\\\\/g, "\\"); inst.dpDiv.find("[data-handler]").map(function() { var handler = { prev: function() { $.datepicker._adjustDate(id, -stepMonths, "M"); }, next: function() { $.datepicker._adjustDate(id, +stepMonths, "M"); }, hide: function() { $.datepicker._hideDatepicker(); }, today: function() { $.datepicker._gotoToday(id); }, selectDay: function() { $.datepicker._selectDay(id, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this); return false; }, selectMonth: function() { $.datepicker._selectMonthYear(id, this, "M"); return false; }, selectYear: function() { $.datepicker._selectMonthYear(id, this, "Y"); return false; } }; $(this).bind(this.getAttribute("data-event"), handler[this.getAttribute("data-handler")]); }); }, /* Generate the HTML for the current state of the date picker. */ _generateHTML: function(inst) { var maxDraw, prevText, prev, nextText, next, currentText, gotoDate, controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin, monthNames, monthNamesShort, beforeShowDay, showOtherMonths, selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate, cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows, printDate, dRow, tbody, daySettings, otherMonth, unselectable, tempDate = new Date(), today = this._daylightSavingAdjust( new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time isRTL = this._get(inst, "isRTL"), showButtonPanel = this._get(inst, "showButtonPanel"), hideIfNoPrevNext = this._get(inst, "hideIfNoPrevNext"), navigationAsDateFormat = this._get(inst, "navigationAsDateFormat"), numMonths = this._getNumberOfMonths(inst), showCurrentAtPos = this._get(inst, "showCurrentAtPos"), stepMonths = this._get(inst, "stepMonths"), isMultiMonth = (numMonths[0] !== 1 || numMonths[1] !== 1), currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) : new Date(inst.currentYear, inst.currentMonth, inst.currentDay))), minDate = this._getMinMaxDate(inst, "min"), maxDate = this._getMinMaxDate(inst, "max"), drawMonth = inst.drawMonth - showCurrentAtPos, drawYear = inst.drawYear; if (drawMonth < 0) { drawMonth += 12; drawYear--; } if (maxDate) { maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(), maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate())); maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw); while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) { drawMonth--; if (drawMonth < 0) { drawMonth = 11; drawYear--; } } } inst.drawMonth = drawMonth; inst.drawYear = drawYear; prevText = this._get(inst, "prevText"); prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText, this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)), this._getFormatConfig(inst))); prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ? "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" + " title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + (isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" : (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + (isRTL ? "e" : "w") + "'>" + prevText + "</span></a>")); nextText = this._get(inst, "nextText"); nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText, this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)), this._getFormatConfig(inst))); next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ? "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" + " title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + (isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" : (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + (isRTL ? "w" : "e") + "'>" + nextText + "</span></a>")); currentText = this._get(inst, "currentText"); gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today); currentText = (!navigationAsDateFormat ? currentText : this.formatDate(currentText, gotoDate, this._getFormatConfig(inst))); controls = (!inst.inline ? "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" + this._get(inst, "closeText") + "</button>" : ""); buttonPanel = (showButtonPanel) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (isRTL ? controls : "") + (this._isInRange(inst, gotoDate) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'" + ">" + currentText + "</button>" : "") + (isRTL ? "" : controls) + "</div>" : ""; firstDay = parseInt(this._get(inst, "firstDay"), 10); firstDay = (isNaN(firstDay) ? 0 : firstDay); showWeek = this._get(inst, "showWeek"); dayNames = this._get(inst, "dayNames"); dayNamesMin = this._get(inst, "dayNamesMin"); monthNames = this._get(inst, "monthNames"); monthNamesShort = this._get(inst, "monthNamesShort"); beforeShowDay = this._get(inst, "beforeShowDay"); showOtherMonths = this._get(inst, "showOtherMonths"); selectOtherMonths = this._get(inst, "selectOtherMonths"); defaultDate = this._getDefaultDate(inst); html = ""; dow; for (row = 0; row < numMonths[0]; row++) { group = ""; this.maxRows = 4; for (col = 0; col < numMonths[1]; col++) { selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay)); cornerClass = " ui-corner-all"; calender = ""; if (isMultiMonth) { calender += "<div class='ui-datepicker-group"; if (numMonths[1] > 1) { switch (col) { case 0: calender += " ui-datepicker-group-first"; cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break; case numMonths[1] - 1: calender += " ui-datepicker-group-last"; cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break; default: calender += " ui-datepicker-group-middle"; cornerClass = ""; break; } } calender += "'>"; } calender += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + cornerClass + "'>" + (/all|left/.test(cornerClass) && row === 0 ? (isRTL ? next : prev) : "") + (/all|right/.test(cornerClass) && row === 0 ? (isRTL ? prev : next) : "") + this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers "</div><table class='ui-datepicker-calendar'><thead>" + "<tr>"; thead = (showWeek ? "<th class='ui-datepicker-week-col'>" + this._get(inst, "weekHeader") + "</th>" : ""); for (dow = 0; dow < 7; dow++) { // days of the week day = (dow + firstDay) % 7; thead += "<th" + ((dow + firstDay + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" + "<span title='" + dayNames[day] + "'>" + dayNamesMin[day] + "</span></th>"; } calender += thead + "</tr></thead><tbody>"; daysInMonth = this._getDaysInMonth(drawYear, drawMonth); if (drawYear === inst.selectedYear && drawMonth === inst.selectedMonth) { inst.selectedDay = Math.min(inst.selectedDay, daysInMonth); } leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7; curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043) this.maxRows = numRows; printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays)); for (dRow = 0; dRow < numRows; dRow++) { // create date picker rows calender += "<tr>"; tbody = (!showWeek ? "" : "<td class='ui-datepicker-week-col'>" + this._get(inst, "calculateWeek")(printDate) + "</td>"); for (dow = 0; dow < 7; dow++) { // create date picker days daySettings = (beforeShowDay ? beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, ""]); otherMonth = (printDate.getMonth() !== drawMonth); unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] || (minDate && printDate < minDate) || (maxDate && printDate > maxDate); tbody += "<td class='" + ((dow + firstDay + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + // highlight weekends (otherMonth ? " ui-datepicker-other-month" : "") + // highlight days from other months ((printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent) || // user pressed key (defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime()) ? // or defaultDate is current printedDate and defaultDate is selectedDate " " + this._dayOverClass : "") + // highlight selected day (unselectable ? " " + this._unselectableClass + " ui-state-disabled" : "") + // highlight unselectable days (otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates (printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day (printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different) ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "&#39;") + "'" : "") + // cell title (unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions (otherMonth && !showOtherMonths ? "&#xa0;" : // display for other months (unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" + (printDate.getTime() === today.getTime() ? " ui-state-highlight" : "") + (printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "") + // highlight selected day (otherMonth ? " ui-priority-secondary" : "") + // distinguish dates from other months "' href='#'>" + printDate.getDate() + "</a>")) + "</td>"; // display selectable date printDate.setDate(printDate.getDate() + 1); printDate = this._daylightSavingAdjust(printDate); } calender += tbody + "</tr>"; } drawMonth++; if (drawMonth > 11) { drawMonth = 0; drawYear++; } calender += "</tbody></table>" + (isMultiMonth ? "</div>" + ((numMonths[0] > 0 && col === numMonths[1] - 1) ? "<div class='ui-datepicker-row-break'></div>" : "") : ""); group += calender; } html += group; } html += buttonPanel; inst._keyEvent = false; return html; }, /* Generate the month and year header. */ _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) { var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear, changeMonth = this._get(inst, "changeMonth"), changeYear = this._get(inst, "changeYear"), showMonthAfterYear = this._get(inst, "showMonthAfterYear"), html = "<div class='ui-datepicker-title'>", monthHtml = ""; // month selection if (secondary || !changeMonth) { monthHtml += "<span class='ui-datepicker-month'>" + monthNames[drawMonth] + "</span>"; } else { inMinYear = (minDate && minDate.getFullYear() === drawYear); inMaxYear = (maxDate && maxDate.getFullYear() === drawYear); monthHtml += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>"; for (month = 0; month < 12; month++) { if ((!inMinYear || month >= minDate.getMonth()) && (!inMaxYear || month <= maxDate.getMonth())) { monthHtml += "<option value='" + month + "'" + (month === drawMonth ? " selected='selected'" : "") + ">" + monthNamesShort[month] + "</option>"; } } monthHtml += "</select>"; } if (!showMonthAfterYear) { html += monthHtml + (secondary || !(changeMonth && changeYear) ? "&#xa0;" : ""); } // year selection if (!inst.yearshtml) { inst.yearshtml = ""; if (secondary || !changeYear) { html += "<span class='ui-datepicker-year'>" + drawYear + "</span>"; } else { // determine range of years to display years = this._get(inst, "yearRange").split(":"); thisYear = new Date().getFullYear(); determineYear = function(value) { var year = (value.match(/c[+\-].*/) ? drawYear + parseInt(value.substring(1), 10) : (value.match(/[+\-].*/) ? thisYear + parseInt(value, 10) : parseInt(value, 10))); return (isNaN(year) ? thisYear : year); }; year = determineYear(years[0]); endYear = Math.max(year, determineYear(years[1] || "")); year = (minDate ? Math.max(year, minDate.getFullYear()) : year); endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear); inst.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>"; for (; year <= endYear; year++) { inst.yearshtml += "<option value='" + year + "'" + (year === drawYear ? " selected='selected'" : "") + ">" + year + "</option>"; } inst.yearshtml += "</select>"; html += inst.yearshtml; inst.yearshtml = null; } } html += this._get(inst, "yearSuffix"); if (showMonthAfterYear) { html += (secondary || !(changeMonth && changeYear) ? "&#xa0;" : "") + monthHtml; } html += "</div>"; // Close datepicker_header return html; }, /* Adjust one of the date sub-fields. */ _adjustInstDate: function(inst, offset, period) { var year = inst.drawYear + (period === "Y" ? offset : 0), month = inst.drawMonth + (period === "M" ? offset : 0), day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0), date = this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day))); inst.selectedDay = date.getDate(); inst.drawMonth = inst.selectedMonth = date.getMonth(); inst.drawYear = inst.selectedYear = date.getFullYear(); if (period === "M" || period === "Y") { this._notifyChange(inst); } }, /* Ensure a date is within any min/max bounds. */ _restrictMinMax: function(inst, date) { var minDate = this._getMinMaxDate(inst, "min"), maxDate = this._getMinMaxDate(inst, "max"), newDate = (minDate && date < minDate ? minDate : date); return (maxDate && newDate > maxDate ? maxDate : newDate); }, /* Notify change of month/year. */ _notifyChange: function(inst) { var onChange = this._get(inst, "onChangeMonthYear"); if (onChange) { onChange.apply((inst.input ? inst.input[0] : null), [inst.selectedYear, inst.selectedMonth + 1, inst]); } }, /* Determine the number of months to show. */ _getNumberOfMonths: function(inst) { var numMonths = this._get(inst, "numberOfMonths"); return (numMonths == null ? [1, 1] : (typeof numMonths === "number" ? [1, numMonths] : numMonths)); }, /* Determine the current maximum date - ensure no time components are set. */ _getMinMaxDate: function(inst, minMax) { return this._determineDate(inst, this._get(inst, minMax + "Date"), null); }, /* Find the number of days in a given month. */ _getDaysInMonth: function(year, month) { return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate(); }, /* Find the day of the week of the first of a month. */ _getFirstDayOfMonth: function(year, month) { return new Date(year, month, 1).getDay(); }, /* Determines if we should allow a "next/prev" month display change. */ _canAdjustMonth: function(inst, offset, curYear, curMonth) { var numMonths = this._getNumberOfMonths(inst), date = this._daylightSavingAdjust(new Date(curYear, curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1)); if (offset < 0) { date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth())); } return this._isInRange(inst, date); }, /* Is the given date in the accepted range? */ _isInRange: function(inst, date) { var yearSplit, currentYear, minDate = this._getMinMaxDate(inst, "min"), maxDate = this._getMinMaxDate(inst, "max"), minYear = null, maxYear = null, years = this._get(inst, "yearRange"); if (years) { yearSplit = years.split(":"); currentYear = new Date().getFullYear(); minYear = parseInt(yearSplit[0], 10); maxYear = parseInt(yearSplit[1], 10); if (yearSplit[0].match(/[+\-].*/)) { minYear += currentYear; } if (yearSplit[1].match(/[+\-].*/)) { maxYear += currentYear; } } return ((!minDate || date.getTime() >= minDate.getTime()) && (!maxDate || date.getTime() <= maxDate.getTime()) && (!minYear || date.getFullYear() >= minYear) && (!maxYear || date.getFullYear() <= maxYear)); }, /* Provide the configuration settings for formatting/parsing. */ _getFormatConfig: function(inst) { var shortYearCutoff = this._get(inst, "shortYearCutoff"); shortYearCutoff = (typeof shortYearCutoff !== "string" ? shortYearCutoff : new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10)); return {shortYearCutoff: shortYearCutoff, dayNamesShort: this._get(inst, "dayNamesShort"), dayNames: this._get(inst, "dayNames"), monthNamesShort: this._get(inst, "monthNamesShort"), monthNames: this._get(inst, "monthNames")}; }, /* Format the given date for display. */ _formatDate: function(inst, day, month, year) { if (!day) { inst.currentDay = inst.selectedDay; inst.currentMonth = inst.selectedMonth; inst.currentYear = inst.selectedYear; } var date = (day ? (typeof day === "object" ? day : this._daylightSavingAdjust(new Date(year, month, day))) : this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay))); return this.formatDate(this._get(inst, "dateFormat"), date, this._getFormatConfig(inst)); } }); /* * Bind hover events for datepicker elements. * Done via delegate so the binding only occurs once in the lifetime of the parent div. * Global instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker. */ function bindHover(dpDiv) { var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a"; return dpDiv.delegate(selector, "mouseout", function() { $(this).removeClass("ui-state-hover"); if (this.className.indexOf("ui-datepicker-prev") !== -1) { $(this).removeClass("ui-datepicker-prev-hover"); } if (this.className.indexOf("ui-datepicker-next") !== -1) { $(this).removeClass("ui-datepicker-next-hover"); } }) .delegate(selector, "mouseover", function() { if (!$.datepicker._isDisabledDatepicker(instActive.inline ? dpDiv.parent()[0] : instActive.input[0])) { $(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"); $(this).addClass("ui-state-hover"); if (this.className.indexOf("ui-datepicker-prev") !== -1) { $(this).addClass("ui-datepicker-prev-hover"); } if (this.className.indexOf("ui-datepicker-next") !== -1) { $(this).addClass("ui-datepicker-next-hover"); } } }); } /* jQuery extend now ignores nulls! */ function extendRemove(target, props) { $.extend(target, props); for (var name in props) { if (props[name] == null) { target[name] = props[name]; } } return target; } /* Invoke the datepicker functionality. @param options string - a command, optionally followed by additional parameters or Object - settings for attaching new datepicker functionality @return jQuery object */ $.fn.datepicker = function(options) { /* Verify an empty collection wasn't passed - Fixes #6976 */ if (!this.length) { return this; } /* Initialise the date picker. */ if (!$.datepicker.initialized) { $(document).mousedown($.datepicker._checkExternalClick); $.datepicker.initialized = true; } /* Append datepicker main container to body if not exist. */ if ($("#" + $.datepicker._mainDivId).length === 0) { $("body").append($.datepicker.dpDiv); } var otherArgs = Array.prototype.slice.call(arguments, 1); if (typeof options === "string" && (options === "isDisabled" || options === "getDate" || options === "widget")) { return $.datepicker["_" + options + "Datepicker"]. apply($.datepicker, [this[0]].concat(otherArgs)); } if (options === "option" && arguments.length === 2 && typeof arguments[1] === "string") { return $.datepicker["_" + options + "Datepicker"]. apply($.datepicker, [this[0]].concat(otherArgs)); } return this.each(function() { typeof options === "string" ? $.datepicker["_" + options + "Datepicker"]. apply($.datepicker, [this].concat(otherArgs)) : $.datepicker._attachDatepicker(this, options); }); }; $.datepicker = new Datepicker(); // singleton instance $.datepicker.initialized = false; $.datepicker.uuid = new Date().getTime(); $.datepicker.version = "1.10.3"; })(jQuery); (function($, undefined) { var sizeRelatedOptions = { buttons: true, height: true, maxHeight: true, maxWidth: true, minHeight: true, minWidth: true, width: true }, resizableRelatedOptions = { maxHeight: true, maxWidth: true, minHeight: true, minWidth: true }; $.widget("ui.dialog", { version: "1.10.3", options: { appendTo: "body", autoOpen: true, buttons: [], closeOnEscape: true, closeText: "close", dialogClass: "", draggable: true, hide: null, height: "auto", maxHeight: null, maxWidth: null, minHeight: 150, minWidth: 150, modal: false, position: { my: "center", at: "center", of: window, collision: "fit", // Ensure the titlebar is always visible using: function(pos) { var topOffset = $(this).css(pos).offset().top; if (topOffset < 0) { $(this).css("top", pos.top - topOffset); } } }, resizable: true, show: null, title: null, width: 300, // callbacks beforeClose: null, close: null, drag: null, dragStart: null, dragStop: null, focus: null, open: null, resize: null, resizeStart: null, resizeStop: null }, _create: function() { this.originalCss = { display: this.element[0].style.display, width: this.element[0].style.width, minHeight: this.element[0].style.minHeight, maxHeight: this.element[0].style.maxHeight, height: this.element[0].style.height }; this.originalPosition = { parent: this.element.parent(), index: this.element.parent().children().index(this.element) }; this.originalTitle = this.element.attr("title"); this.options.title = this.options.title || this.originalTitle; this._createWrapper(); this.element .show() .removeAttr("title") .addClass("ui-dialog-content ui-widget-content") .appendTo(this.uiDialog); this._createTitlebar(); this._createButtonPane(); if (this.options.draggable && $.fn.draggable) { this._makeDraggable(); } if (this.options.resizable && $.fn.resizable) { this._makeResizable(); } this._isOpen = false; }, _init: function() { if (this.options.autoOpen) { this.open(); } }, _appendTo: function() { var element = this.options.appendTo; if (element && (element.jquery || element.nodeType)) { return $(element); } return this.document.find(element || "body").eq(0); }, _destroy: function() { var next, originalPosition = this.originalPosition; this._destroyOverlay(); this.element .removeUniqueId() .removeClass("ui-dialog-content ui-widget-content") .css(this.originalCss) // Without detaching first, the following becomes really slow .detach(); this.uiDialog.stop(true, true).remove(); if (this.originalTitle) { this.element.attr("title", this.originalTitle); } next = originalPosition.parent.children().eq(originalPosition.index); // Don't try to place the dialog next to itself (#8613) if (next.length && next[0] !== this.element[0]) { next.before(this.element); } else { originalPosition.parent.append(this.element); } }, widget: function() { return this.uiDialog; }, disable: $.noop, enable: $.noop, close: function(event) { var that = this; if (!this._isOpen || this._trigger("beforeClose", event) === false) { return; } this._isOpen = false; this._destroyOverlay(); if (!this.opener.filter(":focusable").focus().length) { // Hiding a focused element doesn't trigger blur in WebKit // so in case we have nothing to focus on, explicitly blur the active element // https://bugs.webkit.org/show_bug.cgi?id=47182 $(this.document[0].activeElement).blur(); } this._hide(this.uiDialog, this.options.hide, function() { that._trigger("close", event); }); }, isOpen: function() { return this._isOpen; }, moveToTop: function() { this._moveToTop(); }, _moveToTop: function(event, silent) { var moved = !!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length; if (moved && !silent) { this._trigger("focus", event); } return moved; }, open: function() { var that = this; if (this._isOpen) { if (this._moveToTop()) { this._focusTabbable(); } return; } this._isOpen = true; this.opener = $(this.document[0].activeElement); this._size(); this._position(); this._createOverlay(); this._moveToTop(null, true); this._show(this.uiDialog, this.options.show, function() { that._focusTabbable(); that._trigger("focus"); }); this._trigger("open"); }, _focusTabbable: function() { // Set focus to the first match: // 1. First element inside the dialog matching [autofocus] // 2. Tabbable element inside the content element // 3. Tabbable element inside the buttonpane // 4. The close button // 5. The dialog itself var hasFocus = this.element.find("[autofocus]"); if (!hasFocus.length) { hasFocus = this.element.find(":tabbable"); } if (!hasFocus.length) { hasFocus = this.uiDialogButtonPane.find(":tabbable"); } if (!hasFocus.length) { hasFocus = this.uiDialogTitlebarClose.filter(":tabbable"); } if (!hasFocus.length) { hasFocus = this.uiDialog; } hasFocus.eq(0).focus(); }, _keepFocus: function(event) { function checkFocus() { var activeElement = this.document[0].activeElement, isActive = this.uiDialog[0] === activeElement || $.contains(this.uiDialog[0], activeElement); if (!isActive) { this._focusTabbable(); } } event.preventDefault(); checkFocus.call(this); // support: IE // IE <= 8 doesn't prevent moving focus even with event.preventDefault() // so we check again later this._delay(checkFocus); }, _createWrapper: function() { this.uiDialog = $("<div>") .addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " + this.options.dialogClass) .hide() .attr({ // Setting tabIndex makes the div focusable tabIndex: -1, role: "dialog" }) .appendTo(this._appendTo()); this._on(this.uiDialog, { keydown: function(event) { if (this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode && event.keyCode === $.ui.keyCode.ESCAPE) { event.preventDefault(); this.close(event); return; } // prevent tabbing out of dialogs if (event.keyCode !== $.ui.keyCode.TAB) { return; } var tabbables = this.uiDialog.find(":tabbable"), first = tabbables.filter(":first"), last = tabbables.filter(":last"); if ((event.target === last[0] || event.target === this.uiDialog[0]) && !event.shiftKey) { first.focus(1); event.preventDefault(); } else if ((event.target === first[0] || event.target === this.uiDialog[0]) && event.shiftKey) { last.focus(1); event.preventDefault(); } }, mousedown: function(event) { if (this._moveToTop(event)) { this._focusTabbable(); } } }); // We assume that any existing aria-describedby attribute means // that the dialog content is marked up properly // otherwise we brute force the content as the description if (!this.element.find("[aria-describedby]").length) { this.uiDialog.attr({ "aria-describedby": this.element.uniqueId().attr("id") }); } }, _createTitlebar: function() { var uiDialogTitle; this.uiDialogTitlebar = $("<div>") .addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix") .prependTo(this.uiDialog); this._on(this.uiDialogTitlebar, { mousedown: function(event) { // Don't prevent click on close button (#8838) // Focusing a dialog that is partially scrolled out of view // causes the browser to scroll it into view, preventing the click event if (!$(event.target).closest(".ui-dialog-titlebar-close")) { // Dialog isn't getting focus when dragging (#8063) this.uiDialog.focus(); } } }); this.uiDialogTitlebarClose = $("<button></button>") .button({ label: this.options.closeText, icons: { primary: "ui-icon-closethick" }, text: false }) .addClass("ui-dialog-titlebar-close") .appendTo(this.uiDialogTitlebar); this._on(this.uiDialogTitlebarClose, { click: function(event) { event.preventDefault(); this.close(event); } }); uiDialogTitle = $("<span>") .uniqueId() .addClass("ui-dialog-title") .prependTo(this.uiDialogTitlebar); this._title(uiDialogTitle); this.uiDialog.attr({ "aria-labelledby": uiDialogTitle.attr("id") }); }, _title: function(title) { if (!this.options.title) { title.html("&#160;"); } title.text(this.options.title); }, _createButtonPane: function() { this.uiDialogButtonPane = $("<div>") .addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"); this.uiButtonSet = $("<div>") .addClass("ui-dialog-buttonset") .appendTo(this.uiDialogButtonPane); this._createButtons(); }, _createButtons: function() { var that = this, buttons = this.options.buttons; // if we already have a button pane, remove it this.uiDialogButtonPane.remove(); this.uiButtonSet.empty(); if ($.isEmptyObject(buttons) || ($.isArray(buttons) && !buttons.length)) { this.uiDialog.removeClass("ui-dialog-buttons"); return; } $.each(buttons, function(name, props) { var click, buttonOptions; props = $.isFunction(props) ? {click: props, text: name} : props; // Default to a non-submitting button props = $.extend({type: "button"}, props); // Change the context for the click callback to be the main element click = props.click; props.click = function() { click.apply(that.element[0], arguments); }; buttonOptions = { icons: props.icons, text: props.showText }; delete props.icons; delete props.showText; $("<button></button>", props) .button(buttonOptions) .appendTo(that.uiButtonSet); }); this.uiDialog.addClass("ui-dialog-buttons"); this.uiDialogButtonPane.appendTo(this.uiDialog); }, _makeDraggable: function() { var that = this, options = this.options; function filteredUi(ui) { return { position: ui.position, offset: ui.offset }; } this.uiDialog.draggable({ cancel: ".ui-dialog-content, .ui-dialog-titlebar-close", handle: ".ui-dialog-titlebar", containment: "document", start: function(event, ui) { $(this).addClass("ui-dialog-dragging"); that._blockFrames(); that._trigger("dragStart", event, filteredUi(ui)); }, drag: function(event, ui) { that._trigger("drag", event, filteredUi(ui)); }, stop: function(event, ui) { options.position = [ ui.position.left - that.document.scrollLeft(), ui.position.top - that.document.scrollTop() ]; $(this).removeClass("ui-dialog-dragging"); that._unblockFrames(); that._trigger("dragStop", event, filteredUi(ui)); } }); }, _makeResizable: function() { var that = this, options = this.options, handles = options.resizable, // .ui-resizable has position: relative defined in the stylesheet // but dialogs have to use absolute or fixed positioning position = this.uiDialog.css("position"), resizeHandles = typeof handles === "string" ? handles : "n,e,s,w,se,sw,ne,nw"; function filteredUi(ui) { return { originalPosition: ui.originalPosition, originalSize: ui.originalSize, position: ui.position, size: ui.size }; } this.uiDialog.resizable({ cancel: ".ui-dialog-content", containment: "document", alsoResize: this.element, maxWidth: options.maxWidth, maxHeight: options.maxHeight, minWidth: options.minWidth, minHeight: this._minHeight(), handles: resizeHandles, start: function(event, ui) { $(this).addClass("ui-dialog-resizing"); that._blockFrames(); that._trigger("resizeStart", event, filteredUi(ui)); }, resize: function(event, ui) { that._trigger("resize", event, filteredUi(ui)); }, stop: function(event, ui) { options.height = $(this).height(); options.width = $(this).width(); $(this).removeClass("ui-dialog-resizing"); that._unblockFrames(); that._trigger("resizeStop", event, filteredUi(ui)); } }) .css("position", position); }, _minHeight: function() { var options = this.options; return options.height === "auto" ? options.minHeight : Math.min(options.minHeight, options.height); }, _position: function() { // Need to show the dialog to get the actual offset in the position plugin var isVisible = this.uiDialog.is(":visible"); if (!isVisible) { this.uiDialog.show(); } this.uiDialog.position(this.options.position); if (!isVisible) { this.uiDialog.hide(); } }, _setOptions: function(options) { var that = this, resize = false, resizableOptions = {}; $.each(options, function(key, value) { that._setOption(key, value); if (key in sizeRelatedOptions) { resize = true; } if (key in resizableRelatedOptions) { resizableOptions[ key ] = value; } }); if (resize) { this._size(); this._position(); } if (this.uiDialog.is(":data(ui-resizable)")) { this.uiDialog.resizable("option", resizableOptions); } }, _setOption: function(key, value) { /*jshint maxcomplexity:15*/ var isDraggable, isResizable, uiDialog = this.uiDialog; if (key === "dialogClass") { uiDialog .removeClass(this.options.dialogClass) .addClass(value); } if (key === "disabled") { return; } this._super(key, value); if (key === "appendTo") { this.uiDialog.appendTo(this._appendTo()); } if (key === "buttons") { this._createButtons(); } if (key === "closeText") { this.uiDialogTitlebarClose.button({ // Ensure that we always pass a string label: "" + value }); } if (key === "draggable") { isDraggable = uiDialog.is(":data(ui-draggable)"); if (isDraggable && !value) { uiDialog.draggable("destroy"); } if (!isDraggable && value) { this._makeDraggable(); } } if (key === "position") { this._position(); } if (key === "resizable") { // currently resizable, becoming non-resizable isResizable = uiDialog.is(":data(ui-resizable)"); if (isResizable && !value) { uiDialog.resizable("destroy"); } // currently resizable, changing handles if (isResizable && typeof value === "string") { uiDialog.resizable("option", "handles", value); } // currently non-resizable, becoming resizable if (!isResizable && value !== false) { this._makeResizable(); } } if (key === "title") { this._title(this.uiDialogTitlebar.find(".ui-dialog-title")); } }, _size: function() { // If the user has resized the dialog, the .ui-dialog and .ui-dialog-content // divs will both have width and height set, so we need to reset them var nonContentHeight, minContentHeight, maxContentHeight, options = this.options; // Reset content sizing this.element.show().css({ width: "auto", minHeight: 0, maxHeight: "none", height: 0 }); if (options.minWidth > options.width) { options.width = options.minWidth; } // reset wrapper sizing // determine the height of all the non-content elements nonContentHeight = this.uiDialog.css({ height: "auto", width: options.width }) .outerHeight(); minContentHeight = Math.max(0, options.minHeight - nonContentHeight); maxContentHeight = typeof options.maxHeight === "number" ? Math.max(0, options.maxHeight - nonContentHeight) : "none"; if (options.height === "auto") { this.element.css({ minHeight: minContentHeight, maxHeight: maxContentHeight, height: "auto" }); } else { this.element.height(Math.max(0, options.height - nonContentHeight)); } if (this.uiDialog.is(":data(ui-resizable)")) { this.uiDialog.resizable("option", "minHeight", this._minHeight()); } }, _blockFrames: function() { this.iframeBlocks = this.document.find("iframe").map(function() { var iframe = $(this); return $("<div>") .css({ position: "absolute", width: iframe.outerWidth(), height: iframe.outerHeight() }) .appendTo(iframe.parent()) .offset(iframe.offset())[0]; }); }, _unblockFrames: function() { if (this.iframeBlocks) { this.iframeBlocks.remove(); delete this.iframeBlocks; } }, _allowInteraction: function(event) { if ($(event.target).closest(".ui-dialog").length) { return true; } // TODO: Remove hack when datepicker implements // the .ui-front logic (#8989) return !!$(event.target).closest(".ui-datepicker").length; }, _createOverlay: function() { if (!this.options.modal) { return; } var that = this, widgetFullName = this.widgetFullName; if (!$.ui.dialog.overlayInstances) { // Prevent use of anchors and inputs. // We use a delay in case the overlay is created from an // event that we're going to be cancelling. (#2804) this._delay(function() { // Handle .dialog().dialog("close") (#4065) if ($.ui.dialog.overlayInstances) { this.document.bind("focusin.dialog", function(event) { if (!that._allowInteraction(event)) { event.preventDefault(); $(".ui-dialog:visible:last .ui-dialog-content") .data(widgetFullName)._focusTabbable(); } }); } }); } this.overlay = $("<div>") .addClass("ui-widget-overlay ui-front") .appendTo(this._appendTo()); this._on(this.overlay, { mousedown: "_keepFocus" }); $.ui.dialog.overlayInstances++; }, _destroyOverlay: function() { if (!this.options.modal) { return; } if (this.overlay) { $.ui.dialog.overlayInstances--; if (!$.ui.dialog.overlayInstances) { this.document.unbind("focusin.dialog"); } this.overlay.remove(); this.overlay = null; } } }); $.ui.dialog.overlayInstances = 0; // DEPRECATED if ($.uiBackCompat !== false) { // position option with array notation // just override with old implementation $.widget("ui.dialog", $.ui.dialog, { _position: function() { var position = this.options.position, myAt = [], offset = [0, 0], isVisible; if (position) { if (typeof position === "string" || (typeof position === "object" && "0" in position)) { myAt = position.split ? position.split(" ") : [position[0], position[1]]; if (myAt.length === 1) { myAt[1] = myAt[0]; } $.each(["left", "top"], function(i, offsetPosition) { if (+myAt[ i ] === myAt[ i ]) { offset[ i ] = myAt[ i ]; myAt[ i ] = offsetPosition; } }); position = { my: myAt[0] + (offset[0] < 0 ? offset[0] : "+" + offset[0]) + " " + myAt[1] + (offset[1] < 0 ? offset[1] : "+" + offset[1]), at: myAt.join(" ") }; } position = $.extend({}, $.ui.dialog.prototype.options.position, position); } else { position = $.ui.dialog.prototype.options.position; } // need to show the dialog to get the actual offset in the position plugin isVisible = this.uiDialog.is(":visible"); if (!isVisible) { this.uiDialog.show(); } this.uiDialog.position(position); if (!isVisible) { this.uiDialog.hide(); } } }); } }(jQuery)); (function($, undefined) { var rvertical = /up|down|vertical/, rpositivemotion = /up|left|vertical|horizontal/; $.effects.effect.blind = function(o, done) { // Create element var el = $(this), props = ["position", "top", "bottom", "left", "right", "height", "width"], mode = $.effects.setMode(el, o.mode || "hide"), direction = o.direction || "up", vertical = rvertical.test(direction), ref = vertical ? "height" : "width", ref2 = vertical ? "top" : "left", motion = rpositivemotion.test(direction), animation = {}, show = mode === "show", wrapper, distance, margin; // if already wrapped, the wrapper's properties are my property. #6245 if (el.parent().is(".ui-effects-wrapper")) { $.effects.save(el.parent(), props); } else { $.effects.save(el, props); } el.show(); wrapper = $.effects.createWrapper(el).css({ overflow: "hidden" }); distance = wrapper[ ref ](); margin = parseFloat(wrapper.css(ref2)) || 0; animation[ ref ] = show ? distance : 0; if (!motion) { el .css(vertical ? "bottom" : "right", 0) .css(vertical ? "top" : "left", "auto") .css({position: "absolute"}); animation[ ref2 ] = show ? margin : distance + margin; } // start at 0 if we are showing if (show) { wrapper.css(ref, 0); if (!motion) { wrapper.css(ref2, margin + distance); } } // Animate wrapper.animate(animation, { duration: o.duration, easing: o.easing, queue: false, complete: function() { if (mode === "hide") { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); } }); }; })(jQuery); (function($, undefined) { $.effects.effect.bounce = function(o, done) { var el = $(this), props = ["position", "top", "bottom", "left", "right", "height", "width"], // defaults: mode = $.effects.setMode(el, o.mode || "effect"), hide = mode === "hide", show = mode === "show", direction = o.direction || "up", distance = o.distance, times = o.times || 5, // number of internal animations anims = times * 2 + (show || hide ? 1 : 0), speed = o.duration / anims, easing = o.easing, // utility: ref = (direction === "up" || direction === "down") ? "top" : "left", motion = (direction === "up" || direction === "left"), i, upAnim, downAnim, // we will need to re-assemble the queue to stack our animations in place queue = el.queue(), queuelen = queue.length; // Avoid touching opacity to prevent clearType and PNG issues in IE if (show || hide) { props.push("opacity"); } $.effects.save(el, props); el.show(); $.effects.createWrapper(el); // Create Wrapper // default distance for the BIGGEST bounce is the outer Distance / 3 if (!distance) { distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3; } if (show) { downAnim = {opacity: 1}; downAnim[ ref ] = 0; // if we are showing, force opacity 0 and set the initial position // then do the "first" animation el.css("opacity", 0) .css(ref, motion ? -distance * 2 : distance * 2) .animate(downAnim, speed, easing); } // start at the smallest distance if we are hiding if (hide) { distance = distance / Math.pow(2, times - 1); } downAnim = {}; downAnim[ ref ] = 0; // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here for (i = 0; i < times; i++) { upAnim = {}; upAnim[ ref ] = (motion ? "-=" : "+=") + distance; el.animate(upAnim, speed, easing) .animate(downAnim, speed, easing); distance = hide ? distance * 2 : distance / 2; } // Last Bounce when Hiding if (hide) { upAnim = {opacity: 0}; upAnim[ ref ] = (motion ? "-=" : "+=") + distance; el.animate(upAnim, speed, easing); } el.queue(function() { if (hide) { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); }); // inject all the animations we just queued to be first in line (after "inprogress") if (queuelen > 1) { queue.splice.apply(queue, [1, 0].concat(queue.splice(queuelen, anims + 1))); } el.dequeue(); }; })(jQuery); (function($, undefined) { $.effects.effect.clip = function(o, done) { // Create element var el = $(this), props = ["position", "top", "bottom", "left", "right", "height", "width"], mode = $.effects.setMode(el, o.mode || "hide"), show = mode === "show", direction = o.direction || "vertical", vert = direction === "vertical", size = vert ? "height" : "width", position = vert ? "top" : "left", animation = {}, wrapper, animate, distance; // Save & Show $.effects.save(el, props); el.show(); // Create Wrapper wrapper = $.effects.createWrapper(el).css({ overflow: "hidden" }); animate = (el[0].tagName === "IMG") ? wrapper : el; distance = animate[ size ](); // Shift if (show) { animate.css(size, 0); animate.css(position, distance / 2); } // Create Animation Object: animation[ size ] = show ? distance : 0; animation[ position ] = show ? 0 : distance / 2; // Animate animate.animate(animation, { queue: false, duration: o.duration, easing: o.easing, complete: function() { if (!show) { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); } }); }; })(jQuery); (function($, undefined) { $.effects.effect.drop = function(o, done) { var el = $(this), props = ["position", "top", "bottom", "left", "right", "opacity", "height", "width"], mode = $.effects.setMode(el, o.mode || "hide"), show = mode === "show", direction = o.direction || "left", ref = (direction === "up" || direction === "down") ? "top" : "left", motion = (direction === "up" || direction === "left") ? "pos" : "neg", animation = { opacity: show ? 1 : 0 }, distance; // Adjust $.effects.save(el, props); el.show(); $.effects.createWrapper(el); distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ](true) / 2; if (show) { el .css("opacity", 0) .css(ref, motion === "pos" ? -distance : distance); } // Animation animation[ ref ] = (show ? (motion === "pos" ? "+=" : "-=") : (motion === "pos" ? "-=" : "+=")) + distance; // Animate el.animate(animation, { queue: false, duration: o.duration, easing: o.easing, complete: function() { if (mode === "hide") { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); } }); }; })(jQuery); (function($, undefined) { $.effects.effect.explode = function(o, done) { var rows = o.pieces ? Math.round(Math.sqrt(o.pieces)) : 3, cells = rows, el = $(this), mode = $.effects.setMode(el, o.mode || "hide"), show = mode === "show", // show and then visibility:hidden the element before calculating offset offset = el.show().css("visibility", "hidden").offset(), // width and height of a piece width = Math.ceil(el.outerWidth() / cells), height = Math.ceil(el.outerHeight() / rows), pieces = [], // loop i, j, left, top, mx, my; // children animate complete: function childComplete() { pieces.push(this); if (pieces.length === rows * cells) { animComplete(); } } // clone the element for each row and cell. for (i = 0; i < rows; i++) { // ===> top = offset.top + i * height; my = i - (rows - 1) / 2; for (j = 0; j < cells; j++) { // ||| left = offset.left + j * width; mx = j - (cells - 1) / 2; // Create a clone of the now hidden main element that will be absolute positioned // within a wrapper div off the -left and -top equal to size of our pieces el .clone() .appendTo("body") .wrap("<div></div>") .css({ position: "absolute", visibility: "visible", left: -j * width, top: -i * height }) // select the wrapper - make it overflow: hidden and absolute positioned based on // where the original was located +left and +top equal to the size of pieces .parent() .addClass("ui-effects-explode") .css({ position: "absolute", overflow: "hidden", width: width, height: height, left: left + (show ? mx * width : 0), top: top + (show ? my * height : 0), opacity: show ? 0 : 1 }).animate({ left: left + (show ? 0 : mx * width), top: top + (show ? 0 : my * height), opacity: show ? 1 : 0 }, o.duration || 500, o.easing, childComplete); } } function animComplete() { el.css({ visibility: "visible" }); $(pieces).remove(); if (!show) { el.hide(); } done(); } }; })(jQuery); (function($, undefined) { $.effects.effect.fade = function(o, done) { var el = $(this), mode = $.effects.setMode(el, o.mode || "toggle"); el.animate({ opacity: mode }, { queue: false, duration: o.duration, easing: o.easing, complete: done }); }; })(jQuery); (function($, undefined) { $.effects.effect.fold = function(o, done) { // Create element var el = $(this), props = ["position", "top", "bottom", "left", "right", "height", "width"], mode = $.effects.setMode(el, o.mode || "hide"), show = mode === "show", hide = mode === "hide", size = o.size || 15, percent = /([0-9]+)%/.exec(size), horizFirst = !!o.horizFirst, widthFirst = show !== horizFirst, ref = widthFirst ? ["width", "height"] : ["height", "width"], duration = o.duration / 2, wrapper, distance, animation1 = {}, animation2 = {}; $.effects.save(el, props); el.show(); // Create Wrapper wrapper = $.effects.createWrapper(el).css({ overflow: "hidden" }); distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()]; if (percent) { size = parseInt(percent[ 1 ], 10) / 100 * distance[ hide ? 0 : 1 ]; } if (show) { wrapper.css(horizFirst ? { height: 0, width: size } : { height: size, width: 0 }); } // Animation animation1[ ref[ 0 ] ] = show ? distance[ 0 ] : size; animation2[ ref[ 1 ] ] = show ? distance[ 1 ] : 0; // Animate wrapper .animate(animation1, duration, o.easing) .animate(animation2, duration, o.easing, function() { if (hide) { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); }); }; })(jQuery); (function($, undefined) { $.effects.effect.highlight = function(o, done) { var elem = $(this), props = ["backgroundImage", "backgroundColor", "opacity"], mode = $.effects.setMode(elem, o.mode || "show"), animation = { backgroundColor: elem.css("backgroundColor") }; if (mode === "hide") { animation.opacity = 0; } $.effects.save(elem, props); elem .show() .css({ backgroundImage: "none", backgroundColor: o.color || "#ffff99" }) .animate(animation, { queue: false, duration: o.duration, easing: o.easing, complete: function() { if (mode === "hide") { elem.hide(); } $.effects.restore(elem, props); done(); } }); }; })(jQuery); (function($, undefined) { $.effects.effect.pulsate = function(o, done) { var elem = $(this), mode = $.effects.setMode(elem, o.mode || "show"), show = mode === "show", hide = mode === "hide", showhide = (show || mode === "hide"), // showing or hiding leaves of the "last" animation anims = ((o.times || 5) * 2) + (showhide ? 1 : 0), duration = o.duration / anims, animateTo = 0, queue = elem.queue(), queuelen = queue.length, i; if (show || !elem.is(":visible")) { elem.css("opacity", 0).show(); animateTo = 1; } // anims - 1 opacity "toggles" for (i = 1; i < anims; i++) { elem.animate({ opacity: animateTo }, duration, o.easing); animateTo = 1 - animateTo; } elem.animate({ opacity: animateTo }, duration, o.easing); elem.queue(function() { if (hide) { elem.hide(); } done(); }); // We just queued up "anims" animations, we need to put them next in the queue if (queuelen > 1) { queue.splice.apply(queue, [1, 0].concat(queue.splice(queuelen, anims + 1))); } elem.dequeue(); }; })(jQuery); (function($, undefined) { $.effects.effect.puff = function(o, done) { var elem = $(this), mode = $.effects.setMode(elem, o.mode || "hide"), hide = mode === "hide", percent = parseInt(o.percent, 10) || 150, factor = percent / 100, original = { height: elem.height(), width: elem.width(), outerHeight: elem.outerHeight(), outerWidth: elem.outerWidth() }; $.extend(o, { effect: "scale", queue: false, fade: true, mode: mode, complete: done, percent: hide ? percent : 100, from: hide ? original : { height: original.height * factor, width: original.width * factor, outerHeight: original.outerHeight * factor, outerWidth: original.outerWidth * factor } }); elem.effect(o); }; $.effects.effect.scale = function(o, done) { // Create element var el = $(this), options = $.extend(true, {}, o), mode = $.effects.setMode(el, o.mode || "effect"), percent = parseInt(o.percent, 10) || (parseInt(o.percent, 10) === 0 ? 0 : (mode === "hide" ? 0 : 100)), direction = o.direction || "both", origin = o.origin, original = { height: el.height(), width: el.width(), outerHeight: el.outerHeight(), outerWidth: el.outerWidth() }, factor = { y: direction !== "horizontal" ? (percent / 100) : 1, x: direction !== "vertical" ? (percent / 100) : 1 }; // We are going to pass this effect to the size effect: options.effect = "size"; options.queue = false; options.complete = done; // Set default origin and restore for show/hide if (mode !== "effect") { options.origin = origin || ["middle", "center"]; options.restore = true; } options.from = o.from || (mode === "show" ? { height: 0, width: 0, outerHeight: 0, outerWidth: 0 } : original); options.to = { height: original.height * factor.y, width: original.width * factor.x, outerHeight: original.outerHeight * factor.y, outerWidth: original.outerWidth * factor.x }; // Fade option to support puff if (options.fade) { if (mode === "show") { options.from.opacity = 0; options.to.opacity = 1; } if (mode === "hide") { options.from.opacity = 1; options.to.opacity = 0; } } // Animate el.effect(options); }; $.effects.effect.size = function(o, done) { // Create element var original, baseline, factor, el = $(this), props0 = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"], // Always restore props1 = ["position", "top", "bottom", "left", "right", "overflow", "opacity"], // Copy for children props2 = ["width", "height", "overflow"], cProps = ["fontSize"], vProps = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"], hProps = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"], // Set options mode = $.effects.setMode(el, o.mode || "effect"), restore = o.restore || mode !== "effect", scale = o.scale || "both", origin = o.origin || ["middle", "center"], position = el.css("position"), props = restore ? props0 : props1, zero = { height: 0, width: 0, outerHeight: 0, outerWidth: 0 }; if (mode === "show") { el.show(); } original = { height: el.height(), width: el.width(), outerHeight: el.outerHeight(), outerWidth: el.outerWidth() }; if (o.mode === "toggle" && mode === "show") { el.from = o.to || zero; el.to = o.from || original; } else { el.from = o.from || (mode === "show" ? zero : original); el.to = o.to || (mode === "hide" ? zero : original); } // Set scaling factor factor = { from: { y: el.from.height / original.height, x: el.from.width / original.width }, to: { y: el.to.height / original.height, x: el.to.width / original.width } }; // Scale the css box if (scale === "box" || scale === "both") { // Vertical props scaling if (factor.from.y !== factor.to.y) { props = props.concat(vProps); el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from); el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to); } // Horizontal props scaling if (factor.from.x !== factor.to.x) { props = props.concat(hProps); el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from); el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to); } } // Scale the content if (scale === "content" || scale === "both") { // Vertical props scaling if (factor.from.y !== factor.to.y) { props = props.concat(cProps).concat(props2); el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from); el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to); } } $.effects.save(el, props); el.show(); $.effects.createWrapper(el); el.css("overflow", "hidden").css(el.from); // Adjust if (origin) { // Calculate baseline shifts baseline = $.effects.getBaseline(origin, original); el.from.top = (original.outerHeight - el.outerHeight()) * baseline.y; el.from.left = (original.outerWidth - el.outerWidth()) * baseline.x; el.to.top = (original.outerHeight - el.to.outerHeight) * baseline.y; el.to.left = (original.outerWidth - el.to.outerWidth) * baseline.x; } el.css(el.from); // set top & left // Animate if (scale === "content" || scale === "both") { // Scale the children // Add margins/font-size vProps = vProps.concat(["marginTop", "marginBottom"]).concat(cProps); hProps = hProps.concat(["marginLeft", "marginRight"]); props2 = props0.concat(vProps).concat(hProps); el.find("*[width]").each(function() { var child = $(this), c_original = { height: child.height(), width: child.width(), outerHeight: child.outerHeight(), outerWidth: child.outerWidth() }; if (restore) { $.effects.save(child, props2); } child.from = { height: c_original.height * factor.from.y, width: c_original.width * factor.from.x, outerHeight: c_original.outerHeight * factor.from.y, outerWidth: c_original.outerWidth * factor.from.x }; child.to = { height: c_original.height * factor.to.y, width: c_original.width * factor.to.x, outerHeight: c_original.height * factor.to.y, outerWidth: c_original.width * factor.to.x }; // Vertical props scaling if (factor.from.y !== factor.to.y) { child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from); child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to); } // Horizontal props scaling if (factor.from.x !== factor.to.x) { child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from); child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to); } // Animate children child.css(child.from); child.animate(child.to, o.duration, o.easing, function() { // Restore children if (restore) { $.effects.restore(child, props2); } }); }); } // Animate el.animate(el.to, { queue: false, duration: o.duration, easing: o.easing, complete: function() { if (el.to.opacity === 0) { el.css("opacity", el.from.opacity); } if (mode === "hide") { el.hide(); } $.effects.restore(el, props); if (!restore) { // we need to calculate our new positioning based on the scaling if (position === "static") { el.css({ position: "relative", top: el.to.top, left: el.to.left }); } else { $.each(["top", "left"], function(idx, pos) { el.css(pos, function(_, str) { var val = parseInt(str, 10), toRef = idx ? el.to.left : el.to.top; // if original was "auto", recalculate the new value from wrapper if (str === "auto") { return toRef + "px"; } return val + toRef + "px"; }); }); } } $.effects.removeWrapper(el); done(); } }); }; })(jQuery); (function($, undefined) { $.effects.effect.shake = function(o, done) { var el = $(this), props = ["position", "top", "bottom", "left", "right", "height", "width"], mode = $.effects.setMode(el, o.mode || "effect"), direction = o.direction || "left", distance = o.distance || 20, times = o.times || 3, anims = times * 2 + 1, speed = Math.round(o.duration / anims), ref = (direction === "up" || direction === "down") ? "top" : "left", positiveMotion = (direction === "up" || direction === "left"), animation = {}, animation1 = {}, animation2 = {}, i, // we will need to re-assemble the queue to stack our animations in place queue = el.queue(), queuelen = queue.length; $.effects.save(el, props); el.show(); $.effects.createWrapper(el); // Animation animation[ ref ] = (positiveMotion ? "-=" : "+=") + distance; animation1[ ref ] = (positiveMotion ? "+=" : "-=") + distance * 2; animation2[ ref ] = (positiveMotion ? "-=" : "+=") + distance * 2; // Animate el.animate(animation, speed, o.easing); // Shakes for (i = 1; i < times; i++) { el.animate(animation1, speed, o.easing).animate(animation2, speed, o.easing); } el .animate(animation1, speed, o.easing) .animate(animation, speed / 2, o.easing) .queue(function() { if (mode === "hide") { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); }); // inject all the animations we just queued to be first in line (after "inprogress") if (queuelen > 1) { queue.splice.apply(queue, [1, 0].concat(queue.splice(queuelen, anims + 1))); } el.dequeue(); }; })(jQuery); (function($, undefined) { $.effects.effect.slide = function(o, done) { // Create element var el = $(this), props = ["position", "top", "bottom", "left", "right", "width", "height"], mode = $.effects.setMode(el, o.mode || "show"), show = mode === "show", direction = o.direction || "left", ref = (direction === "up" || direction === "down") ? "top" : "left", positiveMotion = (direction === "up" || direction === "left"), distance, animation = {}; // Adjust $.effects.save(el, props); el.show(); distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ](true); $.effects.createWrapper(el).css({ overflow: "hidden" }); if (show) { el.css(ref, positiveMotion ? (isNaN(distance) ? "-" + distance : -distance) : distance); } // Animation animation[ ref ] = (show ? (positiveMotion ? "+=" : "-=") : (positiveMotion ? "-=" : "+=")) + distance; // Animate el.animate(animation, { queue: false, duration: o.duration, easing: o.easing, complete: function() { if (mode === "hide") { el.hide(); } $.effects.restore(el, props); $.effects.removeWrapper(el); done(); } }); }; })(jQuery); (function($, undefined) { $.effects.effect.transfer = function(o, done) { var elem = $(this), target = $(o.to), targetFixed = target.css("position") === "fixed", body = $("body"), fixTop = targetFixed ? body.scrollTop() : 0, fixLeft = targetFixed ? body.scrollLeft() : 0, endPosition = target.offset(), animation = { top: endPosition.top - fixTop, left: endPosition.left - fixLeft, height: target.innerHeight(), width: target.innerWidth() }, startPosition = elem.offset(), transfer = $("<div class='ui-effects-transfer'></div>") .appendTo(document.body) .addClass(o.className) .css({ top: startPosition.top - fixTop, left: startPosition.left - fixLeft, height: elem.innerHeight(), width: elem.innerWidth(), position: targetFixed ? "fixed" : "absolute" }) .animate(animation, o.duration, o.easing, function() { transfer.remove(); done(); }); }; })(jQuery); (function($, undefined) { $.widget("ui.menu", { version: "1.10.3", defaultElement: "<ul>", delay: 300, options: { icons: { submenu: "ui-icon-carat-1-e" }, menus: "ul", position: { my: "left top", at: "right top" }, role: "menu", // callbacks blur: null, focus: null, select: null }, _create: function() { this.activeMenu = this.element; // flag used to prevent firing of the click handler // as the event bubbles up through nested menus this.mouseHandled = false; this.element .uniqueId() .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") .toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length) .attr({ role: this.options.role, tabIndex: 0 }) // need to catch all clicks on disabled menu // not possible through _on .bind("click" + this.eventNamespace, $.proxy(function(event) { if (this.options.disabled) { event.preventDefault(); } }, this)); if (this.options.disabled) { this.element .addClass("ui-state-disabled") .attr("aria-disabled", "true"); } this._on({ // Prevent focus from sticking to links inside menu after clicking // them (focus should always stay on UL during navigation). "mousedown .ui-menu-item > a": function(event) { event.preventDefault(); }, "click .ui-state-disabled > a": function(event) { event.preventDefault(); }, "click .ui-menu-item:has(a)": function(event) { var target = $(event.target).closest(".ui-menu-item"); if (!this.mouseHandled && target.not(".ui-state-disabled").length) { this.mouseHandled = true; this.select(event); // Open submenu on click if (target.has(".ui-menu").length) { this.expand(event); } else if (!this.element.is(":focus")) { // Redirect focus to the menu this.element.trigger("focus", [true]); // If the active item is on the top level, let it stay active. // Otherwise, blur the active item since it is no longer visible. if (this.active && this.active.parents(".ui-menu").length === 1) { clearTimeout(this.timer); } } } }, "mouseenter .ui-menu-item": function(event) { var target = $(event.currentTarget); // Remove ui-state-active class from siblings of the newly focused menu item // to avoid a jump caused by adjacent elements both having a class with a border target.siblings().children(".ui-state-active").removeClass("ui-state-active"); this.focus(event, target); }, mouseleave: "collapseAll", "mouseleave .ui-menu": "collapseAll", focus: function(event, keepActiveItem) { // If there's already an active item, keep it active // If not, activate the first item var item = this.active || this.element.children(".ui-menu-item").eq(0); if (!keepActiveItem) { this.focus(event, item); } }, blur: function(event) { this._delay(function() { if (!$.contains(this.element[0], this.document[0].activeElement)) { this.collapseAll(event); } }); }, keydown: "_keydown" }); this.refresh(); // Clicks outside of a menu collapse any open menus this._on(this.document, { click: function(event) { if (!$(event.target).closest(".ui-menu").length) { this.collapseAll(event); } // Reset the mouseHandled flag this.mouseHandled = false; } }); }, _destroy: function() { // Destroy (sub)menus this.element .removeAttr("aria-activedescendant") .find(".ui-menu").addBack() .removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons") .removeAttr("role") .removeAttr("tabIndex") .removeAttr("aria-labelledby") .removeAttr("aria-expanded") .removeAttr("aria-hidden") .removeAttr("aria-disabled") .removeUniqueId() .show(); // Destroy menu items this.element.find(".ui-menu-item") .removeClass("ui-menu-item") .removeAttr("role") .removeAttr("aria-disabled") .children("a") .removeUniqueId() .removeClass("ui-corner-all ui-state-hover") .removeAttr("tabIndex") .removeAttr("role") .removeAttr("aria-haspopup") .children().each(function() { var elem = $(this); if (elem.data("ui-menu-submenu-carat")) { elem.remove(); } }); // Destroy menu dividers this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content"); }, _keydown: function(event) { /*jshint maxcomplexity:20*/ var match, prev, character, skip, regex, preventDefault = true; function escape(value) { return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"); } switch (event.keyCode) { case $.ui.keyCode.PAGE_UP: this.previousPage(event); break; case $.ui.keyCode.PAGE_DOWN: this.nextPage(event); break; case $.ui.keyCode.HOME: this._move("first", "first", event); break; case $.ui.keyCode.END: this._move("last", "last", event); break; case $.ui.keyCode.UP: this.previous(event); break; case $.ui.keyCode.DOWN: this.next(event); break; case $.ui.keyCode.LEFT: this.collapse(event); break; case $.ui.keyCode.RIGHT: if (this.active && !this.active.is(".ui-state-disabled")) { this.expand(event); } break; case $.ui.keyCode.ENTER: case $.ui.keyCode.SPACE: this._activate(event); break; case $.ui.keyCode.ESCAPE: this.collapse(event); break; default: preventDefault = false; prev = this.previousFilter || ""; character = String.fromCharCode(event.keyCode); skip = false; clearTimeout(this.filterTimer); if (character === prev) { skip = true; } else { character = prev + character; } regex = new RegExp("^" + escape(character), "i"); match = this.activeMenu.children(".ui-menu-item").filter(function() { return regex.test($(this).children("a").text()); }); match = skip && match.index(this.active.next()) !== -1 ? this.active.nextAll(".ui-menu-item") : match; // If no matches on the current filter, reset to the last character pressed // to move down the menu to the first item that starts with that character if (!match.length) { character = String.fromCharCode(event.keyCode); regex = new RegExp("^" + escape(character), "i"); match = this.activeMenu.children(".ui-menu-item").filter(function() { return regex.test($(this).children("a").text()); }); } if (match.length) { this.focus(event, match); if (match.length > 1) { this.previousFilter = character; this.filterTimer = this._delay(function() { delete this.previousFilter; }, 1000); } else { delete this.previousFilter; } } else { delete this.previousFilter; } } if (preventDefault) { event.preventDefault(); } }, _activate: function(event) { if (!this.active.is(".ui-state-disabled")) { if (this.active.children("a[aria-haspopup='true']").length) { this.expand(event); } else { this.select(event); } } }, refresh: function() { var menus, icon = this.options.icons.submenu, submenus = this.element.find(this.options.menus); // Initialize nested menus submenus.filter(":not(.ui-menu)") .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") .hide() .attr({ role: this.options.role, "aria-hidden": "true", "aria-expanded": "false" }) .each(function() { var menu = $(this), item = menu.prev("a"), submenuCarat = $("<span>") .addClass("ui-menu-icon ui-icon " + icon) .data("ui-menu-submenu-carat", true); item .attr("aria-haspopup", "true") .prepend(submenuCarat); menu.attr("aria-labelledby", item.attr("id")); }); menus = submenus.add(this.element); // Don't refresh list items that are already adapted menus.children(":not(.ui-menu-item):has(a)") .addClass("ui-menu-item") .attr("role", "presentation") .children("a") .uniqueId() .addClass("ui-corner-all") .attr({ tabIndex: -1, role: this._itemRole() }); // Initialize unlinked menu-items containing spaces and/or dashes only as dividers menus.children(":not(.ui-menu-item)").each(function() { var item = $(this); // hyphen, em dash, en dash if (!/[^\-\u2014\u2013\s]/.test(item.text())) { item.addClass("ui-widget-content ui-menu-divider"); } }); // Add aria-disabled attribute to any disabled menu item menus.children(".ui-state-disabled").attr("aria-disabled", "true"); // If the active item has been removed, blur the menu if (this.active && !$.contains(this.element[ 0 ], this.active[ 0 ])) { this.blur(); } }, _itemRole: function() { return { menu: "menuitem", listbox: "option" }[ this.options.role ]; }, _setOption: function(key, value) { if (key === "icons") { this.element.find(".ui-menu-icon") .removeClass(this.options.icons.submenu) .addClass(value.submenu); } this._super(key, value); }, focus: function(event, item) { var nested, focused; this.blur(event, event && event.type === "focus"); this._scrollIntoView(item); this.active = item.first(); focused = this.active.children("a").addClass("ui-state-focus"); // Only update aria-activedescendant if there's a role // otherwise we assume focus is managed elsewhere if (this.options.role) { this.element.attr("aria-activedescendant", focused.attr("id")); } // Highlight active parent menu item, if any this.active .parent() .closest(".ui-menu-item") .children("a:first") .addClass("ui-state-active"); if (event && event.type === "keydown") { this._close(); } else { this.timer = this._delay(function() { this._close(); }, this.delay); } nested = item.children(".ui-menu"); if (nested.length && (/^mouse/.test(event.type))) { this._startOpening(nested); } this.activeMenu = item.parent(); this._trigger("focus", event, {item: item}); }, _scrollIntoView: function(item) { var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; if (this._hasScroll()) { borderTop = parseFloat($.css(this.activeMenu[0], "borderTopWidth")) || 0; paddingTop = parseFloat($.css(this.activeMenu[0], "paddingTop")) || 0; offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; scroll = this.activeMenu.scrollTop(); elementHeight = this.activeMenu.height(); itemHeight = item.height(); if (offset < 0) { this.activeMenu.scrollTop(scroll + offset); } else if (offset + itemHeight > elementHeight) { this.activeMenu.scrollTop(scroll + offset - elementHeight + itemHeight); } } }, blur: function(event, fromFocus) { if (!fromFocus) { clearTimeout(this.timer); } if (!this.active) { return; } this.active.children("a").removeClass("ui-state-focus"); this.active = null; this._trigger("blur", event, {item: this.active}); }, _startOpening: function(submenu) { clearTimeout(this.timer); // Don't open if already open fixes a Firefox bug that caused a .5 pixel // shift in the submenu position when mousing over the carat icon if (submenu.attr("aria-hidden") !== "true") { return; } this.timer = this._delay(function() { this._close(); this._open(submenu); }, this.delay); }, _open: function(submenu) { var position = $.extend({ of: this.active }, this.options.position); clearTimeout(this.timer); this.element.find(".ui-menu").not(submenu.parents(".ui-menu")) .hide() .attr("aria-hidden", "true"); submenu .show() .removeAttr("aria-hidden") .attr("aria-expanded", "true") .position(position); }, collapseAll: function(event, all) { clearTimeout(this.timer); this.timer = this._delay(function() { // If we were passed an event, look for the submenu that contains the event var currentMenu = all ? this.element : $(event && event.target).closest(this.element.find(".ui-menu")); // If we found no valid submenu ancestor, use the main menu to close all sub menus anyway if (!currentMenu.length) { currentMenu = this.element; } this._close(currentMenu); this.blur(event); this.activeMenu = currentMenu; }, this.delay); }, // With no arguments, closes the currently active menu - if nothing is active // it closes all menus. If passed an argument, it will search for menus BELOW _close: function(startMenu) { if (!startMenu) { startMenu = this.active ? this.active.parent() : this.element; } startMenu .find(".ui-menu") .hide() .attr("aria-hidden", "true") .attr("aria-expanded", "false") .end() .find("a.ui-state-active") .removeClass("ui-state-active"); }, collapse: function(event) { var newItem = this.active && this.active.parent().closest(".ui-menu-item", this.element); if (newItem && newItem.length) { this._close(); this.focus(event, newItem); } }, expand: function(event) { var newItem = this.active && this.active .children(".ui-menu ") .children(".ui-menu-item") .first(); if (newItem && newItem.length) { this._open(newItem.parent()); // Delay so Firefox will not hide activedescendant change in expanding submenu from AT this._delay(function() { this.focus(event, newItem); }); } }, next: function(event) { this._move("next", "first", event); }, previous: function(event) { this._move("prev", "last", event); }, isFirstItem: function() { return this.active && !this.active.prevAll(".ui-menu-item").length; }, isLastItem: function() { return this.active && !this.active.nextAll(".ui-menu-item").length; }, _move: function(direction, filter, event) { var next; if (this.active) { if (direction === "first" || direction === "last") { next = this.active [ direction === "first" ? "prevAll" : "nextAll" ](".ui-menu-item") .eq(-1); } else { next = this.active [ direction + "All" ](".ui-menu-item") .eq(0); } } if (!next || !next.length || !this.active) { next = this.activeMenu.children(".ui-menu-item")[ filter ](); } this.focus(event, next); }, nextPage: function(event) { var item, base, height; if (!this.active) { this.next(event); return; } if (this.isLastItem()) { return; } if (this._hasScroll()) { base = this.active.offset().top; height = this.element.height(); this.active.nextAll(".ui-menu-item").each(function() { item = $(this); return item.offset().top - base - height < 0; }); this.focus(event, item); } else { this.focus(event, this.activeMenu.children(".ui-menu-item") [ !this.active ? "first" : "last" ]()); } }, previousPage: function(event) { var item, base, height; if (!this.active) { this.next(event); return; } if (this.isFirstItem()) { return; } if (this._hasScroll()) { base = this.active.offset().top; height = this.element.height(); this.active.prevAll(".ui-menu-item").each(function() { item = $(this); return item.offset().top - base + height > 0; }); this.focus(event, item); } else { this.focus(event, this.activeMenu.children(".ui-menu-item").first()); } }, _hasScroll: function() { return this.element.outerHeight() < this.element.prop("scrollHeight"); }, select: function(event) { // TODO: It should never be possible to not have an active item at this // point, but the tests don't trigger mouseenter before click. this.active = this.active || $(event.target).closest(".ui-menu-item"); var ui = {item: this.active}; if (!this.active.has(".ui-menu").length) { this.collapseAll(event, true); } this._trigger("select", event, ui); } }); }(jQuery)); (function($, undefined) { $.ui = $.ui || {}; var cachedScrollbarWidth, max = Math.max, abs = Math.abs, round = Math.round, rhorizontal = /left|center|right/, rvertical = /top|center|bottom/, roffset = /[\+\-]\d+(\.[\d]+)?%?/, rposition = /^\w+/, rpercent = /%$/, _position = $.fn.position; function getOffsets(offsets, width, height) { return [ parseFloat(offsets[ 0 ]) * (rpercent.test(offsets[ 0 ]) ? width / 100 : 1), parseFloat(offsets[ 1 ]) * (rpercent.test(offsets[ 1 ]) ? height / 100 : 1) ]; } function parseCss(element, property) { return parseInt($.css(element, property), 10) || 0; } function getDimensions(elem) { var raw = elem[0]; if (raw.nodeType === 9) { return { width: elem.width(), height: elem.height(), offset: {top: 0, left: 0} }; } if ($.isWindow(raw)) { return { width: elem.width(), height: elem.height(), offset: {top: elem.scrollTop(), left: elem.scrollLeft()} }; } if (raw.preventDefault) { return { width: 0, height: 0, offset: {top: raw.pageY, left: raw.pageX} }; } return { width: elem.outerWidth(), height: elem.outerHeight(), offset: elem.offset() }; } $.position = { scrollbarWidth: function() { if (cachedScrollbarWidth !== undefined) { return cachedScrollbarWidth; } var w1, w2, div = $("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"), innerDiv = div.children()[0]; $("body").append(div); w1 = innerDiv.offsetWidth; div.css("overflow", "scroll"); w2 = innerDiv.offsetWidth; if (w1 === w2) { w2 = div[0].clientWidth; } div.remove(); return (cachedScrollbarWidth = w1 - w2); }, getScrollInfo: function(within) { var overflowX = within.isWindow ? "" : within.element.css("overflow-x"), overflowY = within.isWindow ? "" : within.element.css("overflow-y"), hasOverflowX = overflowX === "scroll" || (overflowX === "auto" && within.width < within.element[0].scrollWidth), hasOverflowY = overflowY === "scroll" || (overflowY === "auto" && within.height < within.element[0].scrollHeight); return { width: hasOverflowY ? $.position.scrollbarWidth() : 0, height: hasOverflowX ? $.position.scrollbarWidth() : 0 }; }, getWithinInfo: function(element) { var withinElement = $(element || window), isWindow = $.isWindow(withinElement[0]); return { element: withinElement, isWindow: isWindow, offset: withinElement.offset() || {left: 0, top: 0}, scrollLeft: withinElement.scrollLeft(), scrollTop: withinElement.scrollTop(), width: isWindow ? withinElement.width() : withinElement.outerWidth(), height: isWindow ? withinElement.height() : withinElement.outerHeight() }; } }; $.fn.position = function(options) { if (!options || !options.of) { return _position.apply(this, arguments); } // make a copy, we don't want to modify arguments options = $.extend({}, options); var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions, target = $(options.of), within = $.position.getWithinInfo(options.within), scrollInfo = $.position.getScrollInfo(within), collision = (options.collision || "flip").split(" "), offsets = {}; dimensions = getDimensions(target); if (target[0].preventDefault) { // force left top to allow flipping options.at = "left top"; } targetWidth = dimensions.width; targetHeight = dimensions.height; targetOffset = dimensions.offset; // clone to reuse original targetOffset later basePosition = $.extend({}, targetOffset); // force my and at to have valid horizontal and vertical positions // if a value is missing or invalid, it will be converted to center $.each(["my", "at"], function() { var pos = (options[ this ] || "").split(" "), horizontalOffset, verticalOffset; if (pos.length === 1) { pos = rhorizontal.test(pos[ 0 ]) ? pos.concat(["center"]) : rvertical.test(pos[ 0 ]) ? ["center"].concat(pos) : ["center", "center"]; } pos[ 0 ] = rhorizontal.test(pos[ 0 ]) ? pos[ 0 ] : "center"; pos[ 1 ] = rvertical.test(pos[ 1 ]) ? pos[ 1 ] : "center"; // calculate offsets horizontalOffset = roffset.exec(pos[ 0 ]); verticalOffset = roffset.exec(pos[ 1 ]); offsets[ this ] = [ horizontalOffset ? horizontalOffset[ 0 ] : 0, verticalOffset ? verticalOffset[ 0 ] : 0 ]; // reduce to just the positions without the offsets options[ this ] = [ rposition.exec(pos[ 0 ])[ 0 ], rposition.exec(pos[ 1 ])[ 0 ] ]; }); // normalize collision option if (collision.length === 1) { collision[ 1 ] = collision[ 0 ]; } if (options.at[ 0 ] === "right") { basePosition.left += targetWidth; } else if (options.at[ 0 ] === "center") { basePosition.left += targetWidth / 2; } if (options.at[ 1 ] === "bottom") { basePosition.top += targetHeight; } else if (options.at[ 1 ] === "center") { basePosition.top += targetHeight / 2; } atOffset = getOffsets(offsets.at, targetWidth, targetHeight); basePosition.left += atOffset[ 0 ]; basePosition.top += atOffset[ 1 ]; return this.each(function() { var collisionPosition, using, elem = $(this), elemWidth = elem.outerWidth(), elemHeight = elem.outerHeight(), marginLeft = parseCss(this, "marginLeft"), marginTop = parseCss(this, "marginTop"), collisionWidth = elemWidth + marginLeft + parseCss(this, "marginRight") + scrollInfo.width, collisionHeight = elemHeight + marginTop + parseCss(this, "marginBottom") + scrollInfo.height, position = $.extend({}, basePosition), myOffset = getOffsets(offsets.my, elem.outerWidth(), elem.outerHeight()); if (options.my[ 0 ] === "right") { position.left -= elemWidth; } else if (options.my[ 0 ] === "center") { position.left -= elemWidth / 2; } if (options.my[ 1 ] === "bottom") { position.top -= elemHeight; } else if (options.my[ 1 ] === "center") { position.top -= elemHeight / 2; } position.left += myOffset[ 0 ]; position.top += myOffset[ 1 ]; // if the browser doesn't support fractions, then round for consistent results if (!$.support.offsetFractions) { position.left = round(position.left); position.top = round(position.top); } collisionPosition = { marginLeft: marginLeft, marginTop: marginTop }; $.each(["left", "top"], function(i, dir) { if ($.ui.position[ collision[ i ] ]) { $.ui.position[ collision[ i ] ][ dir ](position, { targetWidth: targetWidth, targetHeight: targetHeight, elemWidth: elemWidth, elemHeight: elemHeight, collisionPosition: collisionPosition, collisionWidth: collisionWidth, collisionHeight: collisionHeight, offset: [atOffset[ 0 ] + myOffset[ 0 ], atOffset [ 1 ] + myOffset[ 1 ]], my: options.my, at: options.at, within: within, elem: elem }); } }); if (options.using) { // adds feedback as second argument to using callback, if present using = function(props) { var left = targetOffset.left - position.left, right = left + targetWidth - elemWidth, top = targetOffset.top - position.top, bottom = top + targetHeight - elemHeight, feedback = { target: { element: target, left: targetOffset.left, top: targetOffset.top, width: targetWidth, height: targetHeight }, element: { element: elem, left: position.left, top: position.top, width: elemWidth, height: elemHeight }, horizontal: right < 0 ? "left" : left > 0 ? "right" : "center", vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle" }; if (targetWidth < elemWidth && abs(left + right) < targetWidth) { feedback.horizontal = "center"; } if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) { feedback.vertical = "middle"; } if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) { feedback.important = "horizontal"; } else { feedback.important = "vertical"; } options.using.call(this, props, feedback); }; } elem.offset($.extend(position, {using: using})); }); }; $.ui.position = { fit: { left: function(position, data) { var within = data.within, withinOffset = within.isWindow ? within.scrollLeft : within.offset.left, outerWidth = within.width, collisionPosLeft = position.left - data.collisionPosition.marginLeft, overLeft = withinOffset - collisionPosLeft, overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset, newOverRight; // element is wider than within if (data.collisionWidth > outerWidth) { // element is initially over the left side of within if (overLeft > 0 && overRight <= 0) { newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset; position.left += overLeft - newOverRight; // element is initially over right side of within } else if (overRight > 0 && overLeft <= 0) { position.left = withinOffset; // element is initially over both left and right sides of within } else { if (overLeft > overRight) { position.left = withinOffset + outerWidth - data.collisionWidth; } else { position.left = withinOffset; } } // too far left -> align with left edge } else if (overLeft > 0) { position.left += overLeft; // too far right -> align with right edge } else if (overRight > 0) { position.left -= overRight; // adjust based on position and margin } else { position.left = max(position.left - collisionPosLeft, position.left); } }, top: function(position, data) { var within = data.within, withinOffset = within.isWindow ? within.scrollTop : within.offset.top, outerHeight = data.within.height, collisionPosTop = position.top - data.collisionPosition.marginTop, overTop = withinOffset - collisionPosTop, overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset, newOverBottom; // element is taller than within if (data.collisionHeight > outerHeight) { // element is initially over the top of within if (overTop > 0 && overBottom <= 0) { newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset; position.top += overTop - newOverBottom; // element is initially over bottom of within } else if (overBottom > 0 && overTop <= 0) { position.top = withinOffset; // element is initially over both top and bottom of within } else { if (overTop > overBottom) { position.top = withinOffset + outerHeight - data.collisionHeight; } else { position.top = withinOffset; } } // too far up -> align with top } else if (overTop > 0) { position.top += overTop; // too far down -> align with bottom edge } else if (overBottom > 0) { position.top -= overBottom; // adjust based on position and margin } else { position.top = max(position.top - collisionPosTop, position.top); } } }, flip: { left: function(position, data) { var within = data.within, withinOffset = within.offset.left + within.scrollLeft, outerWidth = within.width, offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left, collisionPosLeft = position.left - data.collisionPosition.marginLeft, overLeft = collisionPosLeft - offsetLeft, overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft, myOffset = data.my[ 0 ] === "left" ? -data.elemWidth : data.my[ 0 ] === "right" ? data.elemWidth : 0, atOffset = data.at[ 0 ] === "left" ? data.targetWidth : data.at[ 0 ] === "right" ? -data.targetWidth : 0, offset = -2 * data.offset[ 0 ], newOverRight, newOverLeft; if (overLeft < 0) { newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset; if (newOverRight < 0 || newOverRight < abs(overLeft)) { position.left += myOffset + atOffset + offset; } } else if (overRight > 0) { newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft; if (newOverLeft > 0 || abs(newOverLeft) < overRight) { position.left += myOffset + atOffset + offset; } } }, top: function(position, data) { var within = data.within, withinOffset = within.offset.top + within.scrollTop, outerHeight = within.height, offsetTop = within.isWindow ? within.scrollTop : within.offset.top, collisionPosTop = position.top - data.collisionPosition.marginTop, overTop = collisionPosTop - offsetTop, overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop, top = data.my[ 1 ] === "top", myOffset = top ? -data.elemHeight : data.my[ 1 ] === "bottom" ? data.elemHeight : 0, atOffset = data.at[ 1 ] === "top" ? data.targetHeight : data.at[ 1 ] === "bottom" ? -data.targetHeight : 0, offset = -2 * data.offset[ 1 ], newOverTop, newOverBottom; if (overTop < 0) { newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset; if ((position.top + myOffset + atOffset + offset) > overTop && (newOverBottom < 0 || newOverBottom < abs(overTop))) { position.top += myOffset + atOffset + offset; } } else if (overBottom > 0) { newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop; if ((position.top + myOffset + atOffset + offset) > overBottom && (newOverTop > 0 || abs(newOverTop) < overBottom)) { position.top += myOffset + atOffset + offset; } } } }, flipfit: { left: function() { $.ui.position.flip.left.apply(this, arguments); $.ui.position.fit.left.apply(this, arguments); }, top: function() { $.ui.position.flip.top.apply(this, arguments); $.ui.position.fit.top.apply(this, arguments); } } }; // fraction support test (function() { var testElement, testElementParent, testElementStyle, offsetLeft, i, body = document.getElementsByTagName("body")[ 0 ], div = document.createElement("div"); //Create a "fake body" for testing based on method used in jQuery.support testElement = document.createElement(body ? "div" : "body"); testElementStyle = { visibility: "hidden", width: 0, height: 0, border: 0, margin: 0, background: "none" }; if (body) { $.extend(testElementStyle, { position: "absolute", left: "-1000px", top: "-1000px" }); } for (i in testElementStyle) { testElement.style[ i ] = testElementStyle[ i ]; } testElement.appendChild(div); testElementParent = body || document.documentElement; testElementParent.insertBefore(testElement, testElementParent.firstChild); div.style.cssText = "position: absolute; left: 10.7432222px;"; offsetLeft = $(div).offset().left; $.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11; testElement.innerHTML = ""; testElementParent.removeChild(testElement); })(); }(jQuery)); (function($, undefined) { $.widget("ui.progressbar", { version: "1.10.3", options: { max: 100, value: 0, change: null, complete: null }, min: 0, _create: function() { // Constrain initial value this.oldValue = this.options.value = this._constrainedValue(); this.element .addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all") .attr({ // Only set static values, aria-valuenow and aria-valuemax are // set inside _refreshValue() role: "progressbar", "aria-valuemin": this.min }); this.valueDiv = $("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>") .appendTo(this.element); this._refreshValue(); }, _destroy: function() { this.element .removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all") .removeAttr("role") .removeAttr("aria-valuemin") .removeAttr("aria-valuemax") .removeAttr("aria-valuenow"); this.valueDiv.remove(); }, value: function(newValue) { if (newValue === undefined) { return this.options.value; } this.options.value = this._constrainedValue(newValue); this._refreshValue(); }, _constrainedValue: function(newValue) { if (newValue === undefined) { newValue = this.options.value; } this.indeterminate = newValue === false; // sanitize value if (typeof newValue !== "number") { newValue = 0; } return this.indeterminate ? false : Math.min(this.options.max, Math.max(this.min, newValue)); }, _setOptions: function(options) { // Ensure "value" option is set after other values (like max) var value = options.value; delete options.value; this._super(options); this.options.value = this._constrainedValue(value); this._refreshValue(); }, _setOption: function(key, value) { if (key === "max") { // Don't allow a max less than min value = Math.max(this.min, value); } this._super(key, value); }, _percentage: function() { return this.indeterminate ? 100 : 100 * (this.options.value - this.min) / (this.options.max - this.min); }, _refreshValue: function() { var value = this.options.value, percentage = this._percentage(); this.valueDiv .toggle(this.indeterminate || value > this.min) .toggleClass("ui-corner-right", value === this.options.max) .width(percentage.toFixed(0) + "%"); this.element.toggleClass("ui-progressbar-indeterminate", this.indeterminate); if (this.indeterminate) { this.element.removeAttr("aria-valuenow"); if (!this.overlayDiv) { this.overlayDiv = $("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv); } } else { this.element.attr({ "aria-valuemax": this.options.max, "aria-valuenow": value }); if (this.overlayDiv) { this.overlayDiv.remove(); this.overlayDiv = null; } } if (this.oldValue !== value) { this.oldValue = value; this._trigger("change"); } if (value === this.options.max) { this._trigger("complete"); } } }); })(jQuery); (function($, undefined) { // number of pages in a slider // (how many times can you page up/down to go through the whole range) var numPages = 5; $.widget("ui.slider", $.ui.mouse, { version: "1.10.3", widgetEventPrefix: "slide", options: { animate: false, distance: 0, max: 100, min: 0, orientation: "horizontal", range: false, step: 1, value: 0, values: null, // callbacks change: null, slide: null, start: null, stop: null }, _create: function() { this._keySliding = false; this._mouseSliding = false; this._animateOff = true; this._handleIndex = null; this._detectOrientation(); this._mouseInit(); this.element .addClass("ui-slider" + " ui-slider-" + this.orientation + " ui-widget" + " ui-widget-content" + " ui-corner-all"); this._refresh(); this._setOption("disabled", this.options.disabled); this._animateOff = false; }, _refresh: function() { this._createRange(); this._createHandles(); this._setupEvents(); this._refreshValue(); }, _createHandles: function() { var i, handleCount, options = this.options, existingHandles = this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"), handle = "<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>", handles = []; handleCount = (options.values && options.values.length) || 1; if (existingHandles.length > handleCount) { existingHandles.slice(handleCount).remove(); existingHandles = existingHandles.slice(0, handleCount); } for (i = existingHandles.length; i < handleCount; i++) { handles.push(handle); } this.handles = existingHandles.add($(handles.join("")).appendTo(this.element)); this.handle = this.handles.eq(0); this.handles.each(function(i) { $(this).data("ui-slider-handle-index", i); }); }, _createRange: function() { var options = this.options, classes = ""; if (options.range) { if (options.range === true) { if (!options.values) { options.values = [this._valueMin(), this._valueMin()]; } else if (options.values.length && options.values.length !== 2) { options.values = [options.values[0], options.values[0]]; } else if ($.isArray(options.values)) { options.values = options.values.slice(0); } } if (!this.range || !this.range.length) { this.range = $("<div></div>") .appendTo(this.element); classes = "ui-slider-range" + // note: this isn't the most fittingly semantic framework class for this element, // but worked best visually with a variety of themes " ui-widget-header ui-corner-all"; } else { this.range.removeClass("ui-slider-range-min ui-slider-range-max") // Handle range switching from true to min/max .css({ "left": "", "bottom": "" }); } this.range.addClass(classes + ((options.range === "min" || options.range === "max") ? " ui-slider-range-" + options.range : "")); } else { this.range = $([]); } }, _setupEvents: function() { var elements = this.handles.add(this.range).filter("a"); this._off(elements); this._on(elements, this._handleEvents); this._hoverable(elements); this._focusable(elements); }, _destroy: function() { this.handles.remove(); this.range.remove(); this.element .removeClass("ui-slider" + " ui-slider-horizontal" + " ui-slider-vertical" + " ui-widget" + " ui-widget-content" + " ui-corner-all"); this._mouseDestroy(); }, _mouseCapture: function(event) { var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle, that = this, o = this.options; if (o.disabled) { return false; } this.elementSize = { width: this.element.outerWidth(), height: this.element.outerHeight() }; this.elementOffset = this.element.offset(); position = {x: event.pageX, y: event.pageY}; normValue = this._normValueFromMouse(position); distance = this._valueMax() - this._valueMin() + 1; this.handles.each(function(i) { var thisDistance = Math.abs(normValue - that.values(i)); if ((distance > thisDistance) || (distance === thisDistance && (i === that._lastChangedValue || that.values(i) === o.min))) { distance = thisDistance; closestHandle = $(this); index = i; } }); allowed = this._start(event, index); if (allowed === false) { return false; } this._mouseSliding = true; this._handleIndex = index; closestHandle .addClass("ui-state-active") .focus(); offset = closestHandle.offset(); mouseOverHandle = !$(event.target).parents().addBack().is(".ui-slider-handle"); this._clickOffset = mouseOverHandle ? {left: 0, top: 0} : { left: event.pageX - offset.left - (closestHandle.width() / 2), top: event.pageY - offset.top - (closestHandle.height() / 2) - (parseInt(closestHandle.css("borderTopWidth"), 10) || 0) - (parseInt(closestHandle.css("borderBottomWidth"), 10) || 0) + (parseInt(closestHandle.css("marginTop"), 10) || 0) }; if (!this.handles.hasClass("ui-state-hover")) { this._slide(event, index, normValue); } this._animateOff = true; return true; }, _mouseStart: function() { return true; }, _mouseDrag: function(event) { var position = {x: event.pageX, y: event.pageY}, normValue = this._normValueFromMouse(position); this._slide(event, this._handleIndex, normValue); return false; }, _mouseStop: function(event) { this.handles.removeClass("ui-state-active"); this._mouseSliding = false; this._stop(event, this._handleIndex); this._change(event, this._handleIndex); this._handleIndex = null; this._clickOffset = null; this._animateOff = false; return false; }, _detectOrientation: function() { this.orientation = (this.options.orientation === "vertical") ? "vertical" : "horizontal"; }, _normValueFromMouse: function(position) { var pixelTotal, pixelMouse, percentMouse, valueTotal, valueMouse; if (this.orientation === "horizontal") { pixelTotal = this.elementSize.width; pixelMouse = position.x - this.elementOffset.left - (this._clickOffset ? this._clickOffset.left : 0); } else { pixelTotal = this.elementSize.height; pixelMouse = position.y - this.elementOffset.top - (this._clickOffset ? this._clickOffset.top : 0); } percentMouse = (pixelMouse / pixelTotal); if (percentMouse > 1) { percentMouse = 1; } if (percentMouse < 0) { percentMouse = 0; } if (this.orientation === "vertical") { percentMouse = 1 - percentMouse; } valueTotal = this._valueMax() - this._valueMin(); valueMouse = this._valueMin() + percentMouse * valueTotal; return this._trimAlignValue(valueMouse); }, _start: function(event, index) { var uiHash = { handle: this.handles[ index ], value: this.value() }; if (this.options.values && this.options.values.length) { uiHash.value = this.values(index); uiHash.values = this.values(); } return this._trigger("start", event, uiHash); }, _slide: function(event, index, newVal) { var otherVal, newValues, allowed; if (this.options.values && this.options.values.length) { otherVal = this.values(index ? 0 : 1); if ((this.options.values.length === 2 && this.options.range === true) && ((index === 0 && newVal > otherVal) || (index === 1 && newVal < otherVal)) ) { newVal = otherVal; } if (newVal !== this.values(index)) { newValues = this.values(); newValues[ index ] = newVal; // A slide can be canceled by returning false from the slide callback allowed = this._trigger("slide", event, { handle: this.handles[ index ], value: newVal, values: newValues }); otherVal = this.values(index ? 0 : 1); if (allowed !== false) { this.values(index, newVal, true); } } } else { if (newVal !== this.value()) { // A slide can be canceled by returning false from the slide callback allowed = this._trigger("slide", event, { handle: this.handles[ index ], value: newVal }); if (allowed !== false) { this.value(newVal); } } } }, _stop: function(event, index) { var uiHash = { handle: this.handles[ index ], value: this.value() }; if (this.options.values && this.options.values.length) { uiHash.value = this.values(index); uiHash.values = this.values(); } this._trigger("stop", event, uiHash); }, _change: function(event, index) { if (!this._keySliding && !this._mouseSliding) { var uiHash = { handle: this.handles[ index ], value: this.value() }; if (this.options.values && this.options.values.length) { uiHash.value = this.values(index); uiHash.values = this.values(); } //store the last changed value index for reference when handles overlap this._lastChangedValue = index; this._trigger("change", event, uiHash); } }, value: function(newValue) { if (arguments.length) { this.options.value = this._trimAlignValue(newValue); this._refreshValue(); this._change(null, 0); return; } return this._value(); }, values: function(index, newValue) { var vals, newValues, i; if (arguments.length > 1) { this.options.values[ index ] = this._trimAlignValue(newValue); this._refreshValue(); this._change(null, index); return; } if (arguments.length) { if ($.isArray(arguments[ 0 ])) { vals = this.options.values; newValues = arguments[ 0 ]; for (i = 0; i < vals.length; i += 1) { vals[ i ] = this._trimAlignValue(newValues[ i ]); this._change(null, i); } this._refreshValue(); } else { if (this.options.values && this.options.values.length) { return this._values(index); } else { return this.value(); } } } else { return this._values(); } }, _setOption: function(key, value) { var i, valsLength = 0; if (key === "range" && this.options.range === true) { if (value === "min") { this.options.value = this._values(0); this.options.values = null; } else if (value === "max") { this.options.value = this._values(this.options.values.length - 1); this.options.values = null; } } if ($.isArray(this.options.values)) { valsLength = this.options.values.length; } $.Widget.prototype._setOption.apply(this, arguments); switch (key) { case "orientation": this._detectOrientation(); this.element .removeClass("ui-slider-horizontal ui-slider-vertical") .addClass("ui-slider-" + this.orientation); this._refreshValue(); break; case "value": this._animateOff = true; this._refreshValue(); this._change(null, 0); this._animateOff = false; break; case "values": this._animateOff = true; this._refreshValue(); for (i = 0; i < valsLength; i += 1) { this._change(null, i); } this._animateOff = false; break; case "min": case "max": this._animateOff = true; this._refreshValue(); this._animateOff = false; break; case "range": this._animateOff = true; this._refresh(); this._animateOff = false; break; } }, //internal value getter // _value() returns value trimmed by min and max, aligned by step _value: function() { var val = this.options.value; val = this._trimAlignValue(val); return val; }, //internal values getter // _values() returns array of values trimmed by min and max, aligned by step // _values( index ) returns single value trimmed by min and max, aligned by step _values: function(index) { var val, vals, i; if (arguments.length) { val = this.options.values[ index ]; val = this._trimAlignValue(val); return val; } else if (this.options.values && this.options.values.length) { // .slice() creates a copy of the array // this copy gets trimmed by min and max and then returned vals = this.options.values.slice(); for (i = 0; i < vals.length; i += 1) { vals[ i ] = this._trimAlignValue(vals[ i ]); } return vals; } else { return []; } }, // returns the step-aligned value that val is closest to, between (inclusive) min and max _trimAlignValue: function(val) { if (val <= this._valueMin()) { return this._valueMin(); } if (val >= this._valueMax()) { return this._valueMax(); } var step = (this.options.step > 0) ? this.options.step : 1, valModStep = (val - this._valueMin()) % step, alignValue = val - valModStep; if (Math.abs(valModStep) * 2 >= step) { alignValue += (valModStep > 0) ? step : (-step); } // Since JavaScript has problems with large floats, round // the final value to 5 digits after the decimal point (see #4124) return parseFloat(alignValue.toFixed(5)); }, _valueMin: function() { return this.options.min; }, _valueMax: function() { return this.options.max; }, _refreshValue: function() { var lastValPercent, valPercent, value, valueMin, valueMax, oRange = this.options.range, o = this.options, that = this, animate = (!this._animateOff) ? o.animate : false, _set = {}; if (this.options.values && this.options.values.length) { this.handles.each(function(i) { valPercent = (that.values(i) - that._valueMin()) / (that._valueMax() - that._valueMin()) * 100; _set[ that.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%"; $(this).stop(1, 1)[ animate ? "animate" : "css" ](_set, o.animate); if (that.options.range === true) { if (that.orientation === "horizontal") { if (i === 0) { that.range.stop(1, 1)[ animate ? "animate" : "css" ]({left: valPercent + "%"}, o.animate); } if (i === 1) { that.range[ animate ? "animate" : "css" ]({width: (valPercent - lastValPercent) + "%"}, {queue: false, duration: o.animate}); } } else { if (i === 0) { that.range.stop(1, 1)[ animate ? "animate" : "css" ]({bottom: (valPercent) + "%"}, o.animate); } if (i === 1) { that.range[ animate ? "animate" : "css" ]({height: (valPercent - lastValPercent) + "%"}, {queue: false, duration: o.animate}); } } } lastValPercent = valPercent; }); } else { value = this.value(); valueMin = this._valueMin(); valueMax = this._valueMax(); valPercent = (valueMax !== valueMin) ? (value - valueMin) / (valueMax - valueMin) * 100 : 0; _set[ this.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%"; this.handle.stop(1, 1)[ animate ? "animate" : "css" ](_set, o.animate); if (oRange === "min" && this.orientation === "horizontal") { this.range.stop(1, 1)[ animate ? "animate" : "css" ]({width: valPercent + "%"}, o.animate); } if (oRange === "max" && this.orientation === "horizontal") { this.range[ animate ? "animate" : "css" ]({width: (100 - valPercent) + "%"}, {queue: false, duration: o.animate}); } if (oRange === "min" && this.orientation === "vertical") { this.range.stop(1, 1)[ animate ? "animate" : "css" ]({height: valPercent + "%"}, o.animate); } if (oRange === "max" && this.orientation === "vertical") { this.range[ animate ? "animate" : "css" ]({height: (100 - valPercent) + "%"}, {queue: false, duration: o.animate}); } } }, _handleEvents: { keydown: function(event) { /*jshint maxcomplexity:25*/ var allowed, curVal, newVal, step, index = $(event.target).data("ui-slider-handle-index"); switch (event.keyCode) { case $.ui.keyCode.HOME: case $.ui.keyCode.END: case $.ui.keyCode.PAGE_UP: case $.ui.keyCode.PAGE_DOWN: case $.ui.keyCode.UP: case $.ui.keyCode.RIGHT: case $.ui.keyCode.DOWN: case $.ui.keyCode.LEFT: event.preventDefault(); if (!this._keySliding) { this._keySliding = true; $(event.target).addClass("ui-state-active"); allowed = this._start(event, index); if (allowed === false) { return; } } break; } step = this.options.step; if (this.options.values && this.options.values.length) { curVal = newVal = this.values(index); } else { curVal = newVal = this.value(); } switch (event.keyCode) { case $.ui.keyCode.HOME: newVal = this._valueMin(); break; case $.ui.keyCode.END: newVal = this._valueMax(); break; case $.ui.keyCode.PAGE_UP: newVal = this._trimAlignValue(curVal + ((this._valueMax() - this._valueMin()) / numPages)); break; case $.ui.keyCode.PAGE_DOWN: newVal = this._trimAlignValue(curVal - ((this._valueMax() - this._valueMin()) / numPages)); break; case $.ui.keyCode.UP: case $.ui.keyCode.RIGHT: if (curVal === this._valueMax()) { return; } newVal = this._trimAlignValue(curVal + step); break; case $.ui.keyCode.DOWN: case $.ui.keyCode.LEFT: if (curVal === this._valueMin()) { return; } newVal = this._trimAlignValue(curVal - step); break; } this._slide(event, index, newVal); }, click: function(event) { event.preventDefault(); }, keyup: function(event) { var index = $(event.target).data("ui-slider-handle-index"); if (this._keySliding) { this._keySliding = false; this._stop(event, index); this._change(event, index); $(event.target).removeClass("ui-state-active"); } } } }); }(jQuery)); (function($) { function modifier(fn) { return function() { var previous = this.element.val(); fn.apply(this, arguments); this._refresh(); if (previous !== this.element.val()) { this._trigger("change"); } }; } $.widget("ui.spinner", { version: "1.10.3", defaultElement: "<input>", widgetEventPrefix: "spin", options: { culture: null, icons: { down: "ui-icon-triangle-1-s", up: "ui-icon-triangle-1-n" }, incremental: true, max: null, min: null, numberFormat: null, page: 10, step: 1, change: null, spin: null, start: null, stop: null }, _create: function() { // handle string values that need to be parsed this._setOption("max", this.options.max); this._setOption("min", this.options.min); this._setOption("step", this.options.step); // format the value, but don't constrain this._value(this.element.val(), true); this._draw(); this._on(this._events); this._refresh(); // turning off autocomplete prevents the browser from remembering the // value when navigating through history, so we re-enable autocomplete // if the page is unloaded before the widget is destroyed. #7790 this._on(this.window, { beforeunload: function() { this.element.removeAttr("autocomplete"); } }); }, _getCreateOptions: function() { var options = {}, element = this.element; $.each(["min", "max", "step"], function(i, option) { var value = element.attr(option); if (value !== undefined && value.length) { options[ option ] = value; } }); return options; }, _events: { keydown: function(event) { if (this._start(event) && this._keydown(event)) { event.preventDefault(); } }, keyup: "_stop", focus: function() { this.previous = this.element.val(); }, blur: function(event) { if (this.cancelBlur) { delete this.cancelBlur; return; } this._stop(); this._refresh(); if (this.previous !== this.element.val()) { this._trigger("change", event); } }, mousewheel: function(event, delta) { if (!delta) { return; } if (!this.spinning && !this._start(event)) { return false; } this._spin((delta > 0 ? 1 : -1) * this.options.step, event); clearTimeout(this.mousewheelTimer); this.mousewheelTimer = this._delay(function() { if (this.spinning) { this._stop(event); } }, 100); event.preventDefault(); }, "mousedown .ui-spinner-button": function(event) { var previous; // We never want the buttons to have focus; whenever the user is // interacting with the spinner, the focus should be on the input. // If the input is focused then this.previous is properly set from // when the input first received focus. If the input is not focused // then we need to set this.previous based on the value before spinning. previous = this.element[0] === this.document[0].activeElement ? this.previous : this.element.val(); function checkFocus() { var isActive = this.element[0] === this.document[0].activeElement; if (!isActive) { this.element.focus(); this.previous = previous; // support: IE // IE sets focus asynchronously, so we need to check if focus // moved off of the input because the user clicked on the button. this._delay(function() { this.previous = previous; }); } } // ensure focus is on (or stays on) the text field event.preventDefault(); checkFocus.call(this); // support: IE // IE doesn't prevent moving focus even with event.preventDefault() // so we set a flag to know when we should ignore the blur event // and check (again) if focus moved off of the input. this.cancelBlur = true; this._delay(function() { delete this.cancelBlur; checkFocus.call(this); }); if (this._start(event) === false) { return; } this._repeat(null, $(event.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, event); }, "mouseup .ui-spinner-button": "_stop", "mouseenter .ui-spinner-button": function(event) { // button will add ui-state-active if mouse was down while mouseleave and kept down if (!$(event.currentTarget).hasClass("ui-state-active")) { return; } if (this._start(event) === false) { return false; } this._repeat(null, $(event.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, event); }, // TODO: do we really want to consider this a stop? // shouldn't we just stop the repeater and wait until mouseup before // we trigger the stop event? "mouseleave .ui-spinner-button": "_stop" }, _draw: function() { var uiSpinner = this.uiSpinner = this.element .addClass("ui-spinner-input") .attr("autocomplete", "off") .wrap(this._uiSpinnerHtml()) .parent() // add buttons .append(this._buttonHtml()); this.element.attr("role", "spinbutton"); // button bindings this.buttons = uiSpinner.find(".ui-spinner-button") .attr("tabIndex", -1) .button() .removeClass("ui-corner-all"); // IE 6 doesn't understand height: 50% for the buttons // unless the wrapper has an explicit height if (this.buttons.height() > Math.ceil(uiSpinner.height() * 0.5) && uiSpinner.height() > 0) { uiSpinner.height(uiSpinner.height()); } // disable spinner if element was already disabled if (this.options.disabled) { this.disable(); } }, _keydown: function(event) { var options = this.options, keyCode = $.ui.keyCode; switch (event.keyCode) { case keyCode.UP: this._repeat(null, 1, event); return true; case keyCode.DOWN: this._repeat(null, -1, event); return true; case keyCode.PAGE_UP: this._repeat(null, options.page, event); return true; case keyCode.PAGE_DOWN: this._repeat(null, -options.page, event); return true; } return false; }, _uiSpinnerHtml: function() { return "<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"; }, _buttonHtml: function() { return "" + "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'>" + "<span class='ui-icon " + this.options.icons.up + "'>&#9650;</span>" + "</a>" + "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" + "<span class='ui-icon " + this.options.icons.down + "'>&#9660;</span>" + "</a>"; }, _start: function(event) { if (!this.spinning && this._trigger("start", event) === false) { return false; } if (!this.counter) { this.counter = 1; } this.spinning = true; return true; }, _repeat: function(i, steps, event) { i = i || 500; clearTimeout(this.timer); this.timer = this._delay(function() { this._repeat(40, steps, event); }, i); this._spin(steps * this.options.step, event); }, _spin: function(step, event) { var value = this.value() || 0; if (!this.counter) { this.counter = 1; } value = this._adjustValue(value + step * this._increment(this.counter)); if (!this.spinning || this._trigger("spin", event, {value: value}) !== false) { this._value(value); this.counter++; } }, _increment: function(i) { var incremental = this.options.incremental; if (incremental) { return $.isFunction(incremental) ? incremental(i) : Math.floor(i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1); } return 1; }, _precision: function() { var precision = this._precisionOf(this.options.step); if (this.options.min !== null) { precision = Math.max(precision, this._precisionOf(this.options.min)); } return precision; }, _precisionOf: function(num) { var str = num.toString(), decimal = str.indexOf("."); return decimal === -1 ? 0 : str.length - decimal - 1; }, _adjustValue: function(value) { var base, aboveMin, options = this.options; // make sure we're at a valid step // - find out where we are relative to the base (min or 0) base = options.min !== null ? options.min : 0; aboveMin = value - base; // - round to the nearest step aboveMin = Math.round(aboveMin / options.step) * options.step; // - rounding is based on 0, so adjust back to our base value = base + aboveMin; // fix precision from bad JS floating point math value = parseFloat(value.toFixed(this._precision())); // clamp the value if (options.max !== null && value > options.max) { return options.max; } if (options.min !== null && value < options.min) { return options.min; } return value; }, _stop: function(event) { if (!this.spinning) { return; } clearTimeout(this.timer); clearTimeout(this.mousewheelTimer); this.counter = 0; this.spinning = false; this._trigger("stop", event); }, _setOption: function(key, value) { if (key === "culture" || key === "numberFormat") { var prevValue = this._parse(this.element.val()); this.options[ key ] = value; this.element.val(this._format(prevValue)); return; } if (key === "max" || key === "min" || key === "step") { if (typeof value === "string") { value = this._parse(value); } } if (key === "icons") { this.buttons.first().find(".ui-icon") .removeClass(this.options.icons.up) .addClass(value.up); this.buttons.last().find(".ui-icon") .removeClass(this.options.icons.down) .addClass(value.down); } this._super(key, value); if (key === "disabled") { if (value) { this.element.prop("disabled", true); this.buttons.button("disable"); } else { this.element.prop("disabled", false); this.buttons.button("enable"); } } }, _setOptions: modifier(function(options) { this._super(options); this._value(this.element.val()); }), _parse: function(val) { if (typeof val === "string" && val !== "") { val = window.Globalize && this.options.numberFormat ? Globalize.parseFloat(val, 10, this.options.culture) : +val; } return val === "" || isNaN(val) ? null : val; }, _format: function(value) { if (value === "") { return ""; } return window.Globalize && this.options.numberFormat ? Globalize.format(value, this.options.numberFormat, this.options.culture) : value; }, _refresh: function() { this.element.attr({ "aria-valuemin": this.options.min, "aria-valuemax": this.options.max, // TODO: what should we do with values that can't be parsed? "aria-valuenow": this._parse(this.element.val()) }); }, // update the value without triggering change _value: function(value, allowAny) { var parsed; if (value !== "") { parsed = this._parse(value); if (parsed !== null) { if (!allowAny) { parsed = this._adjustValue(parsed); } value = this._format(parsed); } } this.element.val(value); this._refresh(); }, _destroy: function() { this.element .removeClass("ui-spinner-input") .prop("disabled", false) .removeAttr("autocomplete") .removeAttr("role") .removeAttr("aria-valuemin") .removeAttr("aria-valuemax") .removeAttr("aria-valuenow"); this.uiSpinner.replaceWith(this.element); }, stepUp: modifier(function(steps) { this._stepUp(steps); }), _stepUp: function(steps) { if (this._start()) { this._spin((steps || 1) * this.options.step); this._stop(); } }, stepDown: modifier(function(steps) { this._stepDown(steps); }), _stepDown: function(steps) { if (this._start()) { this._spin((steps || 1) * -this.options.step); this._stop(); } }, pageUp: modifier(function(pages) { this._stepUp((pages || 1) * this.options.page); }), pageDown: modifier(function(pages) { this._stepDown((pages || 1) * this.options.page); }), value: function(newVal) { if (!arguments.length) { return this._parse(this.element.val()); } modifier(this._value).call(this, newVal); }, widget: function() { return this.uiSpinner; } }); }(jQuery)); (function($, undefined) { var tabId = 0, rhash = /#.*$/; function getNextTabId() { return ++tabId; } function isLocal(anchor) { return anchor.hash.length > 1 && decodeURIComponent(anchor.href.replace(rhash, "")) === decodeURIComponent(location.href.replace(rhash, "")); } $.widget("ui.tabs", { version: "1.10.3", delay: 300, options: { active: null, collapsible: false, event: "click", heightStyle: "content", hide: null, show: null, // callbacks activate: null, beforeActivate: null, beforeLoad: null, load: null }, _create: function() { var that = this, options = this.options; this.running = false; this.element .addClass("ui-tabs ui-widget ui-widget-content ui-corner-all") .toggleClass("ui-tabs-collapsible", options.collapsible) // Prevent users from focusing disabled tabs via click .delegate(".ui-tabs-nav > li", "mousedown" + this.eventNamespace, function(event) { if ($(this).is(".ui-state-disabled")) { event.preventDefault(); } }) // support: IE <9 // Preventing the default action in mousedown doesn't prevent IE // from focusing the element, so if the anchor gets focused, blur. // We don't have to worry about focusing the previously focused // element since clicking on a non-focusable element should focus // the body anyway. .delegate(".ui-tabs-anchor", "focus" + this.eventNamespace, function() { if ($(this).closest("li").is(".ui-state-disabled")) { this.blur(); } }); this._processTabs(); options.active = this._initialActive(); // Take disabling tabs via class attribute from HTML // into account and update option properly. if ($.isArray(options.disabled)) { options.disabled = $.unique(options.disabled.concat( $.map(this.tabs.filter(".ui-state-disabled"), function(li) { return that.tabs.index(li); }) )).sort(); } // check for length avoids error when initializing empty list if (this.options.active !== false && this.anchors.length) { this.active = this._findActive(options.active); } else { this.active = $(); } this._refresh(); if (this.active.length) { this.load(options.active); } }, _initialActive: function() { var active = this.options.active, collapsible = this.options.collapsible, locationHash = location.hash.substring(1); if (active === null) { // check the fragment identifier in the URL if (locationHash) { this.tabs.each(function(i, tab) { if ($(tab).attr("aria-controls") === locationHash) { active = i; return false; } }); } // check for a tab marked active via a class if (active === null) { active = this.tabs.index(this.tabs.filter(".ui-tabs-active")); } // no active tab, set to false if (active === null || active === -1) { active = this.tabs.length ? 0 : false; } } // handle numbers: negative, out of range if (active !== false) { active = this.tabs.index(this.tabs.eq(active)); if (active === -1) { active = collapsible ? false : 0; } } // don't allow collapsible: false and active: false if (!collapsible && active === false && this.anchors.length) { active = 0; } return active; }, _getCreateEventData: function() { return { tab: this.active, panel: !this.active.length ? $() : this._getPanelForTab(this.active) }; }, _tabKeydown: function(event) { /*jshint maxcomplexity:15*/ var focusedTab = $(this.document[0].activeElement).closest("li"), selectedIndex = this.tabs.index(focusedTab), goingForward = true; if (this._handlePageNav(event)) { return; } switch (event.keyCode) { case $.ui.keyCode.RIGHT: case $.ui.keyCode.DOWN: selectedIndex++; break; case $.ui.keyCode.UP: case $.ui.keyCode.LEFT: goingForward = false; selectedIndex--; break; case $.ui.keyCode.END: selectedIndex = this.anchors.length - 1; break; case $.ui.keyCode.HOME: selectedIndex = 0; break; case $.ui.keyCode.SPACE: // Activate only, no collapsing event.preventDefault(); clearTimeout(this.activating); this._activate(selectedIndex); return; case $.ui.keyCode.ENTER: // Toggle (cancel delayed activation, allow collapsing) event.preventDefault(); clearTimeout(this.activating); // Determine if we should collapse or activate this._activate(selectedIndex === this.options.active ? false : selectedIndex); return; default: return; } // Focus the appropriate tab, based on which key was pressed event.preventDefault(); clearTimeout(this.activating); selectedIndex = this._focusNextTab(selectedIndex, goingForward); // Navigating with control key will prevent automatic activation if (!event.ctrlKey) { // Update aria-selected immediately so that AT think the tab is already selected. // Otherwise AT may confuse the user by stating that they need to activate the tab, // but the tab will already be activated by the time the announcement finishes. focusedTab.attr("aria-selected", "false"); this.tabs.eq(selectedIndex).attr("aria-selected", "true"); this.activating = this._delay(function() { this.option("active", selectedIndex); }, this.delay); } }, _panelKeydown: function(event) { if (this._handlePageNav(event)) { return; } // Ctrl+up moves focus to the current tab if (event.ctrlKey && event.keyCode === $.ui.keyCode.UP) { event.preventDefault(); this.active.focus(); } }, // Alt+page up/down moves focus to the previous/next tab (and activates) _handlePageNav: function(event) { if (event.altKey && event.keyCode === $.ui.keyCode.PAGE_UP) { this._activate(this._focusNextTab(this.options.active - 1, false)); return true; } if (event.altKey && event.keyCode === $.ui.keyCode.PAGE_DOWN) { this._activate(this._focusNextTab(this.options.active + 1, true)); return true; } }, _findNextTab: function(index, goingForward) { var lastTabIndex = this.tabs.length - 1; function constrain() { if (index > lastTabIndex) { index = 0; } if (index < 0) { index = lastTabIndex; } return index; } while ($.inArray(constrain(), this.options.disabled) !== -1) { index = goingForward ? index + 1 : index - 1; } return index; }, _focusNextTab: function(index, goingForward) { index = this._findNextTab(index, goingForward); this.tabs.eq(index).focus(); return index; }, _setOption: function(key, value) { if (key === "active") { // _activate() will handle invalid values and update this.options this._activate(value); return; } if (key === "disabled") { // don't use the widget factory's disabled handling this._setupDisabled(value); return; } this._super(key, value); if (key === "collapsible") { this.element.toggleClass("ui-tabs-collapsible", value); // Setting collapsible: false while collapsed; open first panel if (!value && this.options.active === false) { this._activate(0); } } if (key === "event") { this._setupEvents(value); } if (key === "heightStyle") { this._setupHeightStyle(value); } }, _tabId: function(tab) { return tab.attr("aria-controls") || "ui-tabs-" + getNextTabId(); }, _sanitizeSelector: function(hash) { return hash ? hash.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&") : ""; }, refresh: function() { var options = this.options, lis = this.tablist.children(":has(a[href])"); // get disabled tabs from class attribute from HTML // this will get converted to a boolean if needed in _refresh() options.disabled = $.map(lis.filter(".ui-state-disabled"), function(tab) { return lis.index(tab); }); this._processTabs(); // was collapsed or no tabs if (options.active === false || !this.anchors.length) { options.active = false; this.active = $(); // was active, but active tab is gone } else if (this.active.length && !$.contains(this.tablist[ 0 ], this.active[ 0 ])) { // all remaining tabs are disabled if (this.tabs.length === options.disabled.length) { options.active = false; this.active = $(); // activate previous tab } else { this._activate(this._findNextTab(Math.max(0, options.active - 1), false)); } // was active, active tab still exists } else { // make sure active index is correct options.active = this.tabs.index(this.active); } this._refresh(); }, _refresh: function() { this._setupDisabled(this.options.disabled); this._setupEvents(this.options.event); this._setupHeightStyle(this.options.heightStyle); this.tabs.not(this.active).attr({ "aria-selected": "false", tabIndex: -1 }); this.panels.not(this._getPanelForTab(this.active)) .hide() .attr({ "aria-expanded": "false", "aria-hidden": "true" }); // Make sure one tab is in the tab order if (!this.active.length) { this.tabs.eq(0).attr("tabIndex", 0); } else { this.active .addClass("ui-tabs-active ui-state-active") .attr({ "aria-selected": "true", tabIndex: 0 }); this._getPanelForTab(this.active) .show() .attr({ "aria-expanded": "true", "aria-hidden": "false" }); } }, _processTabs: function() { var that = this; this.tablist = this._getList() .addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all") .attr("role", "tablist"); this.tabs = this.tablist.find("> li:has(a[href])") .addClass("ui-state-default ui-corner-top") .attr({ role: "tab", tabIndex: -1 }); this.anchors = this.tabs.map(function() { return $("a", this)[ 0 ]; }) .addClass("ui-tabs-anchor") .attr({ role: "presentation", tabIndex: -1 }); this.panels = $(); this.anchors.each(function(i, anchor) { var selector, panel, panelId, anchorId = $(anchor).uniqueId().attr("id"), tab = $(anchor).closest("li"), originalAriaControls = tab.attr("aria-controls"); // inline tab if (isLocal(anchor)) { selector = anchor.hash; panel = that.element.find(that._sanitizeSelector(selector)); // remote tab } else { panelId = that._tabId(tab); selector = "#" + panelId; panel = that.element.find(selector); if (!panel.length) { panel = that._createPanel(panelId); panel.insertAfter(that.panels[ i - 1 ] || that.tablist); } panel.attr("aria-live", "polite"); } if (panel.length) { that.panels = that.panels.add(panel); } if (originalAriaControls) { tab.data("ui-tabs-aria-controls", originalAriaControls); } tab.attr({ "aria-controls": selector.substring(1), "aria-labelledby": anchorId }); panel.attr("aria-labelledby", anchorId); }); this.panels .addClass("ui-tabs-panel ui-widget-content ui-corner-bottom") .attr("role", "tabpanel"); }, // allow overriding how to find the list for rare usage scenarios (#7715) _getList: function() { return this.element.find("ol,ul").eq(0); }, _createPanel: function(id) { return $("<div>") .attr("id", id) .addClass("ui-tabs-panel ui-widget-content ui-corner-bottom") .data("ui-tabs-destroy", true); }, _setupDisabled: function(disabled) { if ($.isArray(disabled)) { if (!disabled.length) { disabled = false; } else if (disabled.length === this.anchors.length) { disabled = true; } } // disable tabs for (var i = 0, li; (li = this.tabs[ i ]); i++) { if (disabled === true || $.inArray(i, disabled) !== -1) { $(li) .addClass("ui-state-disabled") .attr("aria-disabled", "true"); } else { $(li) .removeClass("ui-state-disabled") .removeAttr("aria-disabled"); } } this.options.disabled = disabled; }, _setupEvents: function(event) { var events = { click: function(event) { event.preventDefault(); } }; if (event) { $.each(event.split(" "), function(index, eventName) { events[ eventName ] = "_eventHandler"; }); } this._off(this.anchors.add(this.tabs).add(this.panels)); this._on(this.anchors, events); this._on(this.tabs, {keydown: "_tabKeydown"}); this._on(this.panels, {keydown: "_panelKeydown"}); this._focusable(this.tabs); this._hoverable(this.tabs); }, _setupHeightStyle: function(heightStyle) { var maxHeight, parent = this.element.parent(); if (heightStyle === "fill") { maxHeight = parent.height(); maxHeight -= this.element.outerHeight() - this.element.height(); this.element.siblings(":visible").each(function() { var elem = $(this), position = elem.css("position"); if (position === "absolute" || position === "fixed") { return; } maxHeight -= elem.outerHeight(true); }); this.element.children().not(this.panels).each(function() { maxHeight -= $(this).outerHeight(true); }); this.panels.each(function() { $(this).height(Math.max(0, maxHeight - $(this).innerHeight() + $(this).height())); }) .css("overflow", "auto"); } else if (heightStyle === "auto") { maxHeight = 0; this.panels.each(function() { maxHeight = Math.max(maxHeight, $(this).height("").height()); }).height(maxHeight); } }, _eventHandler: function(event) { var options = this.options, active = this.active, anchor = $(event.currentTarget), tab = anchor.closest("li"), clickedIsActive = tab[ 0 ] === active[ 0 ], collapsing = clickedIsActive && options.collapsible, toShow = collapsing ? $() : this._getPanelForTab(tab), toHide = !active.length ? $() : this._getPanelForTab(active), eventData = { oldTab: active, oldPanel: toHide, newTab: collapsing ? $() : tab, newPanel: toShow }; event.preventDefault(); if (tab.hasClass("ui-state-disabled") || // tab is already loading tab.hasClass("ui-tabs-loading") || // can't switch durning an animation this.running || // click on active header, but not collapsible (clickedIsActive && !options.collapsible) || // allow canceling activation (this._trigger("beforeActivate", event, eventData) === false)) { return; } options.active = collapsing ? false : this.tabs.index(tab); this.active = clickedIsActive ? $() : tab; if (this.xhr) { this.xhr.abort(); } if (!toHide.length && !toShow.length) { $.error("jQuery UI Tabs: Mismatching fragment identifier."); } if (toShow.length) { this.load(this.tabs.index(tab), event); } this._toggle(event, eventData); }, // handles show/hide for selecting tabs _toggle: function(event, eventData) { var that = this, toShow = eventData.newPanel, toHide = eventData.oldPanel; this.running = true; function complete() { that.running = false; that._trigger("activate", event, eventData); } function show() { eventData.newTab.closest("li").addClass("ui-tabs-active ui-state-active"); if (toShow.length && that.options.show) { that._show(toShow, that.options.show, complete); } else { toShow.show(); complete(); } } // start out by hiding, then showing, then completing if (toHide.length && this.options.hide) { this._hide(toHide, this.options.hide, function() { eventData.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"); show(); }); } else { eventData.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"); toHide.hide(); show(); } toHide.attr({ "aria-expanded": "false", "aria-hidden": "true" }); eventData.oldTab.attr("aria-selected", "false"); // If we're switching tabs, remove the old tab from the tab order. // If we're opening from collapsed state, remove the previous tab from the tab order. // If we're collapsing, then keep the collapsing tab in the tab order. if (toShow.length && toHide.length) { eventData.oldTab.attr("tabIndex", -1); } else if (toShow.length) { this.tabs.filter(function() { return $(this).attr("tabIndex") === 0; }) .attr("tabIndex", -1); } toShow.attr({ "aria-expanded": "true", "aria-hidden": "false" }); eventData.newTab.attr({ "aria-selected": "true", tabIndex: 0 }); }, _activate: function(index) { var anchor, active = this._findActive(index); // trying to activate the already active panel if (active[ 0 ] === this.active[ 0 ]) { return; } // trying to collapse, simulate a click on the current active header if (!active.length) { active = this.active; } anchor = active.find(".ui-tabs-anchor")[ 0 ]; this._eventHandler({ target: anchor, currentTarget: anchor, preventDefault: $.noop }); }, _findActive: function(index) { return index === false ? $() : this.tabs.eq(index); }, _getIndex: function(index) { // meta-function to give users option to provide a href string instead of a numerical index. if (typeof index === "string") { index = this.anchors.index(this.anchors.filter("[href$='" + index + "']")); } return index; }, _destroy: function() { if (this.xhr) { this.xhr.abort(); } this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"); this.tablist .removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all") .removeAttr("role"); this.anchors .removeClass("ui-tabs-anchor") .removeAttr("role") .removeAttr("tabIndex") .removeUniqueId(); this.tabs.add(this.panels).each(function() { if ($.data(this, "ui-tabs-destroy")) { $(this).remove(); } else { $(this) .removeClass("ui-state-default ui-state-active ui-state-disabled " + "ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel") .removeAttr("tabIndex") .removeAttr("aria-live") .removeAttr("aria-busy") .removeAttr("aria-selected") .removeAttr("aria-labelledby") .removeAttr("aria-hidden") .removeAttr("aria-expanded") .removeAttr("role"); } }); this.tabs.each(function() { var li = $(this), prev = li.data("ui-tabs-aria-controls"); if (prev) { li .attr("aria-controls", prev) .removeData("ui-tabs-aria-controls"); } else { li.removeAttr("aria-controls"); } }); this.panels.show(); if (this.options.heightStyle !== "content") { this.panels.css("height", ""); } }, enable: function(index) { var disabled = this.options.disabled; if (disabled === false) { return; } if (index === undefined) { disabled = false; } else { index = this._getIndex(index); if ($.isArray(disabled)) { disabled = $.map(disabled, function(num) { return num !== index ? num : null; }); } else { disabled = $.map(this.tabs, function(li, num) { return num !== index ? num : null; }); } } this._setupDisabled(disabled); }, disable: function(index) { var disabled = this.options.disabled; if (disabled === true) { return; } if (index === undefined) { disabled = true; } else { index = this._getIndex(index); if ($.inArray(index, disabled) !== -1) { return; } if ($.isArray(disabled)) { disabled = $.merge([index], disabled).sort(); } else { disabled = [index]; } } this._setupDisabled(disabled); }, load: function(index, event) { index = this._getIndex(index); var that = this, tab = this.tabs.eq(index), anchor = tab.find(".ui-tabs-anchor"), panel = this._getPanelForTab(tab), eventData = { tab: tab, panel: panel }; // not remote if (isLocal(anchor[ 0 ])) { return; } this.xhr = $.ajax(this._ajaxSettings(anchor, event, eventData)); // support: jQuery <1.8 // jQuery <1.8 returns false if the request is canceled in beforeSend, // but as of 1.8, $.ajax() always returns a jqXHR object. if (this.xhr && this.xhr.statusText !== "canceled") { tab.addClass("ui-tabs-loading"); panel.attr("aria-busy", "true"); this.xhr .success(function(response) { // support: jQuery <1.8 // http://bugs.jquery.com/ticket/11778 setTimeout(function() { panel.html(response); that._trigger("load", event, eventData); }, 1); }) .complete(function(jqXHR, status) { // support: jQuery <1.8 // http://bugs.jquery.com/ticket/11778 setTimeout(function() { if (status === "abort") { that.panels.stop(false, true); } tab.removeClass("ui-tabs-loading"); panel.removeAttr("aria-busy"); if (jqXHR === that.xhr) { delete that.xhr; } }, 1); }); } }, _ajaxSettings: function(anchor, event, eventData) { var that = this; return { url: anchor.attr("href"), beforeSend: function(jqXHR, settings) { return that._trigger("beforeLoad", event, $.extend({jqXHR: jqXHR, ajaxSettings: settings}, eventData)); } }; }, _getPanelForTab: function(tab) { var id = $(tab).attr("aria-controls"); return this.element.find(this._sanitizeSelector("#" + id)); } }); })(jQuery); (function($) { var increments = 0; function addDescribedBy(elem, id) { var describedby = (elem.attr("aria-describedby") || "").split(/\s+/); describedby.push(id); elem .data("ui-tooltip-id", id) .attr("aria-describedby", $.trim(describedby.join(" "))); } function removeDescribedBy(elem) { var id = elem.data("ui-tooltip-id"), describedby = (elem.attr("aria-describedby") || "").split(/\s+/), index = $.inArray(id, describedby); if (index !== -1) { describedby.splice(index, 1); } elem.removeData("ui-tooltip-id"); describedby = $.trim(describedby.join(" ")); if (describedby) { elem.attr("aria-describedby", describedby); } else { elem.removeAttr("aria-describedby"); } } $.widget("ui.tooltip", { version: "1.10.3", options: { content: function() { // support: IE<9, Opera in jQuery <1.7 // .text() can't accept undefined, so coerce to a string var title = $(this).attr("title") || ""; // Escape title, since we're going from an attribute to raw HTML return $("<a>").text(title).html(); }, hide: true, // Disabled elements have inconsistent behavior across browsers (#8661) items: "[title]:not([disabled])", position: { my: "left top+15", at: "left bottom", collision: "flipfit flip" }, show: true, tooltipClass: null, track: false, // callbacks close: null, open: null }, _create: function() { this._on({ mouseover: "open", focusin: "open" }); // IDs of generated tooltips, needed for destroy this.tooltips = {}; // IDs of parent tooltips where we removed the title attribute this.parents = {}; if (this.options.disabled) { this._disable(); } }, _setOption: function(key, value) { var that = this; if (key === "disabled") { this[ value ? "_disable" : "_enable" ](); this.options[ key ] = value; // disable element style changes return; } this._super(key, value); if (key === "content") { $.each(this.tooltips, function(id, element) { that._updateContent(element); }); } }, _disable: function() { var that = this; // close open tooltips $.each(this.tooltips, function(id, element) { var event = $.Event("blur"); event.target = event.currentTarget = element[0]; that.close(event, true); }); // remove title attributes to prevent native tooltips this.element.find(this.options.items).addBack().each(function() { var element = $(this); if (element.is("[title]")) { element .data("ui-tooltip-title", element.attr("title")) .attr("title", ""); } }); }, _enable: function() { // restore title attributes this.element.find(this.options.items).addBack().each(function() { var element = $(this); if (element.data("ui-tooltip-title")) { element.attr("title", element.data("ui-tooltip-title")); } }); }, open: function(event) { var that = this, target = $(event ? event.target : this.element) // we need closest here due to mouseover bubbling, // but always pointing at the same event target .closest(this.options.items); // No element to show a tooltip for or the tooltip is already open if (!target.length || target.data("ui-tooltip-id")) { return; } if (target.attr("title")) { target.data("ui-tooltip-title", target.attr("title")); } target.data("ui-tooltip-open", true); // kill parent tooltips, custom or native, for hover if (event && event.type === "mouseover") { target.parents().each(function() { var parent = $(this), blurEvent; if (parent.data("ui-tooltip-open")) { blurEvent = $.Event("blur"); blurEvent.target = blurEvent.currentTarget = this; that.close(blurEvent, true); } if (parent.attr("title")) { parent.uniqueId(); that.parents[ this.id ] = { element: this, title: parent.attr("title") }; parent.attr("title", ""); } }); } this._updateContent(target, event); }, _updateContent: function(target, event) { var content, contentOption = this.options.content, that = this, eventType = event ? event.type : null; if (typeof contentOption === "string") { return this._open(event, target, contentOption); } content = contentOption.call(target[0], function(response) { // ignore async response if tooltip was closed already if (!target.data("ui-tooltip-open")) { return; } // IE may instantly serve a cached response for ajax requests // delay this call to _open so the other call to _open runs first that._delay(function() { // jQuery creates a special event for focusin when it doesn't // exist natively. To improve performance, the native event // object is reused and the type is changed. Therefore, we can't // rely on the type being correct after the event finished // bubbling, so we set it back to the previous value. (#8740) if (event) { event.type = eventType; } this._open(event, target, response); }); }); if (content) { this._open(event, target, content); } }, _open: function(event, target, content) { var tooltip, events, delayedShow, positionOption = $.extend({}, this.options.position); if (!content) { return; } // Content can be updated multiple times. If the tooltip already // exists, then just update the content and bail. tooltip = this._find(target); if (tooltip.length) { tooltip.find(".ui-tooltip-content").html(content); return; } // if we have a title, clear it to prevent the native tooltip // we have to check first to avoid defining a title if none exists // (we don't want to cause an element to start matching [title]) // // We use removeAttr only for key events, to allow IE to export the correct // accessible attributes. For mouse events, set to empty string to avoid // native tooltip showing up (happens only when removing inside mouseover). if (target.is("[title]")) { if (event && event.type === "mouseover") { target.attr("title", ""); } else { target.removeAttr("title"); } } tooltip = this._tooltip(target); addDescribedBy(target, tooltip.attr("id")); tooltip.find(".ui-tooltip-content").html(content); function position(event) { positionOption.of = event; if (tooltip.is(":hidden")) { return; } tooltip.position(positionOption); } if (this.options.track && event && /^mouse/.test(event.type)) { this._on(this.document, { mousemove: position }); // trigger once to override element-relative positioning position(event); } else { tooltip.position($.extend({ of: target }, this.options.position)); } tooltip.hide(); this._show(tooltip, this.options.show); // Handle tracking tooltips that are shown with a delay (#8644). As soon // as the tooltip is visible, position the tooltip using the most recent // event. if (this.options.show && this.options.show.delay) { delayedShow = this.delayedShow = setInterval(function() { if (tooltip.is(":visible")) { position(positionOption.of); clearInterval(delayedShow); } }, $.fx.interval); } this._trigger("open", event, {tooltip: tooltip}); events = { keyup: function(event) { if (event.keyCode === $.ui.keyCode.ESCAPE) { var fakeEvent = $.Event(event); fakeEvent.currentTarget = target[0]; this.close(fakeEvent, true); } }, remove: function() { this._removeTooltip(tooltip); } }; if (!event || event.type === "mouseover") { events.mouseleave = "close"; } if (!event || event.type === "focusin") { events.focusout = "close"; } this._on(true, target, events); }, close: function(event) { var that = this, target = $(event ? event.currentTarget : this.element), tooltip = this._find(target); // disabling closes the tooltip, so we need to track when we're closing // to avoid an infinite loop in case the tooltip becomes disabled on close if (this.closing) { return; } // Clear the interval for delayed tracking tooltips clearInterval(this.delayedShow); // only set title if we had one before (see comment in _open()) if (target.data("ui-tooltip-title")) { target.attr("title", target.data("ui-tooltip-title")); } removeDescribedBy(target); tooltip.stop(true); this._hide(tooltip, this.options.hide, function() { that._removeTooltip($(this)); }); target.removeData("ui-tooltip-open"); this._off(target, "mouseleave focusout keyup"); // Remove 'remove' binding only on delegated targets if (target[0] !== this.element[0]) { this._off(target, "remove"); } this._off(this.document, "mousemove"); if (event && event.type === "mouseleave") { $.each(this.parents, function(id, parent) { $(parent.element).attr("title", parent.title); delete that.parents[ id ]; }); } this.closing = true; this._trigger("close", event, {tooltip: tooltip}); this.closing = false; }, _tooltip: function(element) { var id = "ui-tooltip-" + increments++, tooltip = $("<div>") .attr({ id: id, role: "tooltip" }) .addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content " + (this.options.tooltipClass || "")); $("<div>") .addClass("ui-tooltip-content") .appendTo(tooltip); tooltip.appendTo(this.document[0].body); this.tooltips[ id ] = element; return tooltip; }, _find: function(target) { var id = target.data("ui-tooltip-id"); return id ? $("#" + id) : $(); }, _removeTooltip: function(tooltip) { tooltip.remove(); delete this.tooltips[ tooltip.attr("id") ]; }, _destroy: function() { var that = this; // close open tooltips $.each(this.tooltips, function(id, element) { // Delegate to close method to handle common cleanup var event = $.Event("blur"); event.target = event.currentTarget = element[0]; that.close(event, true); // Remove immediately; destroying an open tooltip doesn't use the // hide animation $("#" + id).remove(); // Restore the title if (element.data("ui-tooltip-title")) { element.attr("title", element.data("ui-tooltip-title")); element.removeData("ui-tooltip-title"); } }); } }); }(jQuery));
caloriscz/caloris10
caloris/themes/caloris-admin/js/jquery-ui.js
JavaScript
gpl-3.0
597,229
/******************************************************************************* uBlock Origin - a browser extension to block requests. Copyright (C) 2014-present Raymond Hill This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see { This starts bootstrap process.http://www.gnu.org/licenses/}. Home: https://github.com/gorhill/uBlock */ 'use strict'; //console.log('contentscript.js: '+location.href, (window.self !== window.top?'[iframe]':'')); /******************************************************************************* +--> domCollapser | | domWatcher--+ | +-- domSurveyor | | +--> domFilterer --+-- [domLogger] | | | +-- [domInspector] | [domProceduralFilterer] domWatcher: Watches for changes in the DOM, and notify the other components about these changes. domCollapser: Enforces the collapsing of DOM elements for which a corresponding resource was blocked through network filtering. domFilterer: Enforces the filtering of DOM elements, by feeding it cosmetic filters. domProceduralFilterer: Enforce the filtering of DOM elements through procedural cosmetic filters. Loaded on demand, only when needed. domSurveyor: Surveys the DOM to find new cosmetic filters to apply to the current page. domLogger: Surveys the page to find and report the injected cosmetic filters blocking actual elements on the current page. This component is dynamically loaded IF AND ONLY IF uBO's logger is opened. If page is whitelisted: - domWatcher: off - domCollapser: off - domFilterer: off - domSurveyor: off - domLogger: off I verified that the code in this file is completely flushed out of memory when a page is whitelisted. If cosmetic filtering is disabled: - domWatcher: on - domCollapser: on - domFilterer: off - domSurveyor: off - domLogger: off If generic cosmetic filtering is disabled: - domWatcher: on - domCollapser: on - domFilterer: on - domSurveyor: off - domLogger: on if uBO logger is opened If generic cosmetic filtering is enabled: - domWatcher: on - domCollapser: on - domFilterer: on - domSurveyor: on - domLogger: on if uBO logger is opened Additionally, the domSurveyor can turn itself off once it decides that it has become pointless (repeatedly not finding new cosmetic filters). The domFilterer makes use of platform-dependent user stylesheets[1]. [1] "user stylesheets" refer to local CSS rules which have priority over, and can't be overriden by a web page's own CSS rules. */ // Abort execution if our global vAPI object does not exist. // https://github.com/chrisaljoudi/uBlock/issues/456 // https://github.com/gorhill/uBlock/issues/2029 // >>>>>>>> start of HUGE-IF-BLOCK if ( typeof vAPI === 'object' && !vAPI.contentScript ) { /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ vAPI.contentScript = true; /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ // https://github.com/uBlockOrigin/uBlock-issues/issues/688#issuecomment-663657508 { let context = self; try { while ( context !== self.top && context.location.href.startsWith('about:blank') && context.parent.location.href ) { context = context.parent; } } catch(ex) { } vAPI.effectiveSelf = context; } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ vAPI.userStylesheet = { added: new Set(), removed: new Set(), apply: function(callback) { if ( this.added.size === 0 && this.removed.size === 0 ) { return; } vAPI.messaging.send('vapi', { what: 'userCSS', add: Array.from(this.added), remove: Array.from(this.removed), }).then(( ) => { if ( callback instanceof Function === false ) { return; } callback(); }); this.added.clear(); this.removed.clear(); }, add: function(cssText, now) { if ( cssText === '' ) { return; } this.added.add(cssText); if ( now ) { this.apply(); } }, remove: function(cssText, now) { if ( cssText === '' ) { return; } this.removed.add(cssText); if ( now ) { this.apply(); } } }; /******************************************************************************/ /******************************************************************************/ /******************************************************************************* The purpose of SafeAnimationFrame is to take advantage of the behavior of window.requestAnimationFrame[1]. If we use an animation frame as a timer, then this timer is described as follow: - time events are throttled by the browser when the viewport is not visible -- there is no point for uBO to play with the DOM if the document is not visible. - time events are micro tasks[2]. - time events are synchronized to monitor refresh, meaning that they can fire at most 1/60 (typically). If a delay value is provided, a plain timer is first used. Plain timers are macro-tasks, so this is good when uBO wants to yield to more important tasks on a page. Once the plain timer elapse, an animation frame is used to trigger the next time at which to execute the job. [1] https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame [2] https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/ */ vAPI.useShadowDOM = false; // ADN // https://github.com/gorhill/uBlock/issues/2147 vAPI.SafeAnimationFrame = class { constructor(callback) { this.fid = this.tid = undefined; this.callback = callback; } start(delay) { if ( self.vAPI instanceof Object === false ) { return; } if ( delay === undefined ) { if ( this.fid === undefined ) { this.fid = requestAnimationFrame(( ) => { this.onRAF(); } ); } if ( this.tid === undefined ) { this.tid = vAPI.setTimeout(( ) => { this.onSTO(); }, 20000); } return; } if ( this.fid === undefined && this.tid === undefined ) { this.tid = vAPI.setTimeout(( ) => { this.macroToMicro(); }, delay); } } clear() { if ( this.fid !== undefined ) { cancelAnimationFrame(this.fid); this.fid = undefined; } if ( this.tid !== undefined ) { clearTimeout(this.tid); this.tid = undefined; } } macroToMicro() { this.tid = undefined; this.start(); } onRAF() { if ( this.tid !== undefined ) { clearTimeout(this.tid); this.tid = undefined; } this.fid = undefined; this.callback(); } onSTO() { if ( this.fid !== undefined ) { cancelAnimationFrame(this.fid); this.fid = undefined; } this.tid = undefined; this.callback(); } }; /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ // https://github.com/uBlockOrigin/uBlock-issues/issues/552 // Listen and report CSP violations so that blocked resources through CSP // are properly reported in the logger. { const newEvents = new Set(); const allEvents = new Set(); let timer; const send = function() { vAPI.messaging.send('scriptlets', { what: 'securityPolicyViolation', type: 'net', docURL: document.location.href, violations: Array.from(newEvents), }).then(response => { if ( response === true ) { return; } stop(); }); for ( const event of newEvents ) { allEvents.add(event); } newEvents.clear(); }; const sendAsync = function() { if ( timer !== undefined ) { return; } timer = self.requestIdleCallback( ( ) => { timer = undefined; send(); }, { timeout: 2063 } ); }; const listener = function(ev) { if ( ev.isTrusted !== true ) { return; } if ( ev.disposition !== 'enforce' ) { return; } const json = JSON.stringify({ url: ev.blockedURL || ev.blockedURI, policy: ev.originalPolicy, directive: ev.effectiveDirective || ev.violatedDirective, }); if ( allEvents.has(json) ) { return; } newEvents.add(json); sendAsync(); }; const stop = function() { newEvents.clear(); allEvents.clear(); if ( timer !== undefined ) { self.cancelIdleCallback(timer); timer = undefined; } document.removeEventListener('securitypolicyviolation', listener); vAPI.shutdown.remove(stop); }; document.addEventListener('securitypolicyviolation', listener); vAPI.shutdown.add(stop); // We need to call at least once to find out whether we really need to // listen to CSP violations. sendAsync(); } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ // vAPI.domWatcher { vAPI.domMutationTime = Date.now(); const addedNodeLists = []; const removedNodeLists = []; const addedNodes = []; const ignoreTags = new Set([ 'br', 'head', 'link', 'meta', 'script', 'style' ]); const listeners = []; let domLayoutObserver; let listenerIterator = []; let listenerIteratorDirty = false; let removedNodes = false; let safeObserverHandlerTimer; const safeObserverHandler = function() { let i = addedNodeLists.length; while ( i-- ) { const nodeList = addedNodeLists[i]; let iNode = nodeList.length; while ( iNode-- ) { const node = nodeList[iNode]; if ( node.nodeType !== 1 ) { continue; } if ( ignoreTags.has(node.localName) ) { continue; } if ( node.parentElement === null ) { continue; } addedNodes.push(node); } } addedNodeLists.length = 0; i = removedNodeLists.length; while ( i-- && removedNodes === false ) { const nodeList = removedNodeLists[i]; let iNode = nodeList.length; while ( iNode-- ) { if ( nodeList[iNode].nodeType !== 1 ) { continue; } removedNodes = true; break; } } removedNodeLists.length = 0; if ( addedNodes.length === 0 && removedNodes === false ) { return; } for ( const listener of getListenerIterator() ) { try { listener.onDOMChanged(addedNodes, removedNodes); } catch (ex) { } } addedNodes.length = 0; removedNodes = false; vAPI.domMutationTime = Date.now(); }; // https://github.com/chrisaljoudi/uBlock/issues/205 // Do not handle added node directly from within mutation observer. const observerHandler = function(mutations) { let i = mutations.length; while ( i-- ) { const mutation = mutations[i]; let nodeList = mutation.addedNodes; if ( nodeList.length !== 0 ) { addedNodeLists.push(nodeList); } nodeList = mutation.removedNodes; if ( nodeList.length !== 0 ) { removedNodeLists.push(nodeList); } } if ( addedNodeLists.length !== 0 || removedNodeLists.length !== 0 ) { safeObserverHandlerTimer.start( addedNodeLists.length < 100 ? 1 : undefined ); } }; const startMutationObserver = function() { if ( domLayoutObserver !== undefined ) { return; } domLayoutObserver = new MutationObserver(observerHandler); domLayoutObserver.observe(document.documentElement, { //attributeFilter: [ 'class', 'id' ], //attributes: true, childList: true, subtree: true }); safeObserverHandlerTimer = new vAPI.SafeAnimationFrame(safeObserverHandler); vAPI.shutdown.add(cleanup); }; const stopMutationObserver = function() { if ( domLayoutObserver === undefined ) { return; } cleanup(); vAPI.shutdown.remove(cleanup); }; const getListenerIterator = function() { if ( listenerIteratorDirty ) { listenerIterator = listeners.slice(); listenerIteratorDirty = false; } return listenerIterator; }; const addListener = function(listener) { if ( listeners.indexOf(listener) !== -1 ) { return; } listeners.push(listener); listenerIteratorDirty = true; if ( domLayoutObserver === undefined ) { return; } try { listener.onDOMCreated(); } catch (ex) { } startMutationObserver(); }; const removeListener = function(listener) { const pos = listeners.indexOf(listener); if ( pos === -1 ) { return; } listeners.splice(pos, 1); listenerIteratorDirty = true; if ( listeners.length === 0 ) { stopMutationObserver(); } }; const cleanup = function() { if ( domLayoutObserver !== undefined ) { domLayoutObserver.disconnect(); domLayoutObserver = undefined; } if ( safeObserverHandlerTimer !== undefined ) { safeObserverHandlerTimer.clear(); safeObserverHandlerTimer = undefined; } }; const start = function() { for ( const listener of getListenerIterator() ) { try { listener.onDOMCreated(); } catch (ex) { } } startMutationObserver(); }; vAPI.domWatcher = { start, addListener, removeListener }; } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ vAPI.injectScriptlet = function(doc, text) { if ( !doc ) { return; } let script; try { script = doc.createElement('script'); script.appendChild(doc.createTextNode(text)); (doc.head || doc.documentElement).appendChild(script); } catch (ex) { } if ( script ) { if ( script.parentNode ) { script.parentNode.removeChild(script); } script.textContent = ''; } }; /******************************************************************************/ /******************************************************************************/ /******************************************************************************* The DOM filterer is the heart of uBO's cosmetic filtering. DOMFilterer: adds procedural cosmetic filtering */ vAPI.hideStyle = 'display:none!important;'; vAPI.DOMFilterer = class { constructor() { this.commitTimer = new vAPI.SafeAnimationFrame( ( ) => { this.commitNow(); } ); this.domIsReady = document.readyState !== 'loading'; this.disabled = false; this.listeners = []; this.stylesheets = []; this.exceptedCSSRules = []; this.exceptions = []; this.proceduralFilterer = null; // https://github.com/uBlockOrigin/uBlock-issues/issues/167 // By the time the DOMContentLoaded is fired, the content script might // have been disconnected from the background page. Unclear why this // would happen, so far seems to be a Chromium-specific behavior at // launch time. if ( this.domIsReady !== true ) { document.addEventListener('DOMContentLoaded', ( ) => { if ( vAPI instanceof Object === false ) { return; } this.domIsReady = true; this.commit(); }); } } explodeCSS(css) { const out = []; const reBlock = /^\{(.*)\}$/m; const blocks = css.trim().split(/\n\n+/); for ( const block of blocks ) { const match = reBlock.exec(block); out.push([ block.slice(0, match.index).trim(), match[1] ]); } return out; } addCSS(css, details = {}) { if ( typeof css !== 'string' || css.length === 0 ) { return; } if ( this.stylesheets.includes(css) ) { return; } this.stylesheets.push(css); if ( details.mustInject && this.disabled === false ) { vAPI.userStylesheet.add(css); } if ( this.hasListeners() === false ) { return; } if ( details.silent ) { return; } this.triggerListeners({ declarative: this.explodeCSS(css) }); } exceptCSSRules(exceptions) { if ( exceptions.length === 0 ) { return; } this.exceptedCSSRules.push(...exceptions); if ( this.hasListeners() ) { this.triggerListeners({ exceptions }); } } addListener(listener) { if ( this.listeners.indexOf(listener) !== -1 ) { return; } this.listeners.push(listener); } removeListener(listener) { const pos = this.listeners.indexOf(listener); if ( pos === -1 ) { return; } this.listeners.splice(pos, 1); } hasListeners() { return this.listeners.length !== 0; } triggerListeners(changes) { for ( const listener of this.listeners ) { listener.onFiltersetChanged(changes); } } toggle(state, callback) { if ( state === undefined ) { state = this.disabled; } if ( state !== this.disabled ) { return; } this.disabled = !state; const uss = vAPI.userStylesheet; for ( const css of this.stylesheets ) { if ( this.disabled ) { uss.remove(css); } else { uss.add(css); } } uss.apply(callback); } // Here we will deal with: // - Injecting low priority user styles; // - Notifying listeners about changed filterset. // https://www.reddit.com/r/uBlockOrigin/comments/9jj0y1/no_longer_blocking_ads/ // Ensure vAPI is still valid -- it can go away by the time we are // called, since the port could be force-disconnected from the main // process. Another approach would be to have vAPI.SafeAnimationFrame // register a shutdown job: to evaluate. For now I will keep the fix // trivial. commitNow() { this.commitTimer.clear(); if ( vAPI instanceof Object === false ) { return; } vAPI.userStylesheet.apply(); if ( this.proceduralFilterer instanceof Object ) { this.proceduralFilterer.commitNow(); } } commit(commitNow) { if ( commitNow ) { this.commitTimer.clear(); this.commitNow(); } else { this.commitTimer.start(); } } proceduralFiltererInstance() { if ( this.proceduralFilterer instanceof Object === false ) { if ( vAPI.DOMProceduralFilterer instanceof Object === false ) { return null; } this.proceduralFilterer = new vAPI.DOMProceduralFilterer(this); } return this.proceduralFilterer; } addProceduralSelectors(selectors) { if ( Array.isArray(selectors) === false || selectors.length === 0 ) { return; } const procedurals = []; for ( const raw of selectors ) { procedurals.push(JSON.parse(raw)); } if ( procedurals.length === 0 ) { return; } const pfilterer = this.proceduralFiltererInstance(); if ( pfilterer !== null ) { pfilterer.addProceduralSelectors(procedurals); } } createProceduralFilter(o) { const pfilterer = this.proceduralFiltererInstance(); if ( pfilterer === null ) { return; } return pfilterer.createProceduralFilter(o); } getAllSelectors(bits = 0) { const out = { declarative: [], exceptions: this.exceptedCSSRules, }; const hasProcedural = this.proceduralFilterer instanceof Object; const includePrivateSelectors = (bits & 0b01) !== 0; const masterToken = hasProcedural ? `[${this.proceduralFilterer.masterToken}]` : undefined; for ( const css of this.stylesheets ) { const blocks = this.explodeCSS(css); for ( const block of blocks ) { if ( includePrivateSelectors === false && masterToken !== undefined && block[0].startsWith(masterToken) ) { continue; } out.declarative.push([ block[0], block[1] ]); } } const excludeProcedurals = (bits & 0b10) !== 0; if ( excludeProcedurals !== true ) { out.procedural = hasProcedural ? Array.from(this.proceduralFilterer.selectors.values()) : []; } return out; } getAllExceptionSelectors() { return this.exceptions.join(',\n'); } }; /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ // vAPI.domCollapser { const messaging = vAPI.messaging; const toCollapse = new Map(); const src1stProps = { audio: 'currentSrc', embed: 'src', iframe: 'src', img: 'currentSrc', object: 'data', video: 'currentSrc', }; const src2ndProps = { audio: 'src', img: 'src', video: 'src', }; const tagToTypeMap = { audio: 'media', embed: 'object', iframe: 'sub_frame', img: 'image', object: 'object', video: 'media', }; let resquestIdGenerator = 1, processTimer, cachedBlockedSet, cachedBlockedSetHash, cachedBlockedSetTimer, toProcess = [], toFilter = [], netSelectorCacheCount = 0; const cachedBlockedSetClear = function() { cachedBlockedSet = cachedBlockedSetHash = cachedBlockedSetTimer = undefined; }; // https://github.com/chrisaljoudi/uBlock/issues/399 // https://github.com/gorhill/uBlock/issues/2848 // Use a user stylesheet to collapse placeholders. const getCollapseToken = ( ) => { if ( collapseToken === undefined ) { collapseToken = vAPI.randomToken(); vAPI.userStylesheet.add( `[${collapseToken}]\n{display:none!important;}`, true ); } return collapseToken; }; let collapseToken; // https://github.com/chrisaljoudi/uBlock/issues/174 // Do not remove fragment from src URL const onProcessed = function(response) { // This happens if uBO is disabled or restarted. if ( response instanceof Object === false ) { toCollapse.clear(); return; } const targets = toCollapse.get(response.id); if ( targets === undefined ) { return; } toCollapse.delete(response.id); if ( cachedBlockedSetHash !== response.hash ) { cachedBlockedSet = new Set(response.blockedResources); cachedBlockedSetHash = response.hash; if ( cachedBlockedSetTimer !== undefined ) { clearTimeout(cachedBlockedSetTimer); } cachedBlockedSetTimer = vAPI.setTimeout(cachedBlockedSetClear, 30000); } if ( cachedBlockedSet === undefined || cachedBlockedSet.size === 0 ) { return; } const selectors = []; let netSelectorCacheCountMax = response.netSelectorCacheCountMax; for ( const target of targets ) { const tag = target.localName; let prop = src1stProps[tag]; if ( prop === undefined ) { continue; } let src = target[prop]; if ( typeof src !== 'string' || src.length === 0 ) { prop = src2ndProps[tag]; if ( prop === undefined ) { continue; } src = target[prop]; if ( typeof src !== 'string' || src.length === 0 ) { continue; } } if ( cachedBlockedSet.has(tagToTypeMap[tag] + ' ' + src) === false ) { continue; } target.setAttribute(getCollapseToken(), ''); // https://github.com/chrisaljoudi/uBlock/issues/1048 // Use attribute to construct CSS rule if ( netSelectorCacheCount > netSelectorCacheCountMax ) { continue; } const value = target.getAttribute(prop); if ( value ) { selectors.push(`${tag}[${prop}="${CSS.escape(value)}"]`); netSelectorCacheCount += 1; } } if ( selectors.length === 0 ) { return; } messaging.send('contentscript', { what: 'cosmeticFiltersInjected', type: 'net', hostname: window.location.hostname, selectors, }); }; const send = function() { processTimer = undefined; toCollapse.set(resquestIdGenerator, toProcess); messaging.send('contentscript', { what: 'getCollapsibleBlockedRequests', id: resquestIdGenerator, frameURL: window.location.href, resources: toFilter, hash: cachedBlockedSetHash, }).then(response => { onProcessed(response); }); toProcess = []; toFilter = []; resquestIdGenerator += 1; }; const process = function(delay) { if ( toProcess.length === 0 ) { return; } if ( delay === 0 ) { if ( processTimer !== undefined ) { clearTimeout(processTimer); } send(); } else if ( processTimer === undefined ) { processTimer = vAPI.setTimeout(send, delay || 20); } }; const add = function(target) { toProcess[toProcess.length] = target; }; const addMany = function(targets) { for ( const target of targets ) { add(target); } }; const iframeSourceModified = function(mutations) { for ( const mutation of mutations ) { addIFrame(mutation.target, true); } process(); }; const iframeSourceObserver = new MutationObserver(iframeSourceModified); const iframeSourceObserverOptions = { attributes: true, attributeFilter: [ 'src' ] }; // https://github.com/gorhill/uBlock/issues/162 // Be prepared to deal with possible change of src attribute. const addIFrame = function(iframe, dontObserve) { if ( dontObserve !== true ) { iframeSourceObserver.observe(iframe, iframeSourceObserverOptions); } const src = iframe.src; if ( typeof src !== 'string' || src === '' ) { return; } if ( src.startsWith('http') === false ) { return; } toFilter.push({ type: 'sub_frame', url: iframe.src }); add(iframe); }; const addIFrames = function(iframes) { for ( const iframe of iframes ) { addIFrame(iframe); } }; const onResourceFailed = function(ev) { if ( tagToTypeMap[ev.target.localName] !== undefined ) { add(ev.target); process(); } }; const stop = function() { document.removeEventListener('error', onResourceFailed, true); if ( processTimer !== undefined ) { clearTimeout(processTimer); } if ( vAPI.domWatcher instanceof Object ) { vAPI.domWatcher.removeListener(domWatcherInterface); } vAPI.shutdown.remove(stop); vAPI.domCollapser = null; }; const start = function() { if ( vAPI.domWatcher instanceof Object ) { vAPI.domWatcher.addListener(domWatcherInterface); } }; const domWatcherInterface = { onDOMCreated: function() { if ( self.vAPI instanceof Object === false ) { return; } if ( vAPI.domCollapser instanceof Object === false ) { if ( vAPI.domWatcher instanceof Object ) { vAPI.domWatcher.removeListener(domWatcherInterface); } return; } // Listener to collapse blocked resources. // - Future requests not blocked yet // - Elements dynamically added to the page // - Elements which resource URL changes // https://github.com/chrisaljoudi/uBlock/issues/7 // Preferring getElementsByTagName over querySelectorAll: // http://jsperf.com/queryselectorall-vs-getelementsbytagname/145 const elems = document.images || document.getElementsByTagName('img'); for ( const elem of elems ) { if ( elem.complete ) { add(elem); } } addMany(document.embeds || document.getElementsByTagName('embed')); addMany(document.getElementsByTagName('object')); addIFrames(document.getElementsByTagName('iframe')); process(0); document.addEventListener('error', onResourceFailed, true); vAPI.shutdown.add(stop); }, onDOMChanged: function(addedNodes) { if ( addedNodes.length === 0 ) { return; } for ( const node of addedNodes ) { if ( node.localName === 'iframe' ) { addIFrame(node); } if ( node.firstElementChild === null ) { continue; } const iframes = node.getElementsByTagName('iframe'); if ( iframes.length !== 0 ) { addIFrames(iframes); } } process(); } }; vAPI.domCollapser = { start }; } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ // vAPI.domSurveyor { const messaging = vAPI.messaging; const queriedIds = new Set(); const queriedClasses = new Set(); const maxSurveyNodes = 65536; const maxSurveyTimeSlice = 4; const maxSurveyBuffer = 64; let domFilterer, hostname = '', surveyCost = 0; const pendingNodes = { nodeLists: [], buffer: [ null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, ], j: 0, accepted: 0, iterated: 0, stopped: false, add: function(nodes) { if ( nodes.length === 0 || this.accepted >= maxSurveyNodes ) { return; } this.nodeLists.push(nodes); this.accepted += nodes.length; }, next: function() { if ( this.nodeLists.length === 0 || this.stopped ) { return 0; } const nodeLists = this.nodeLists; let ib = 0; do { const nodeList = nodeLists[0]; let j = this.j; let n = j + maxSurveyBuffer - ib; if ( n > nodeList.length ) { n = nodeList.length; } for ( let i = j; i < n; i++ ) { this.buffer[ib++] = nodeList[j++]; } if ( j !== nodeList.length ) { this.j = j; break; } this.j = 0; this.nodeLists.shift(); } while ( ib < maxSurveyBuffer && nodeLists.length !== 0 ); this.iterated += ib; if ( this.iterated >= maxSurveyNodes ) { this.nodeLists = []; this.stopped = true; //console.info(`domSurveyor> Surveyed a total of ${this.iterated} nodes. Enough.`); } return ib; }, hasNodes: function() { return this.nodeLists.length !== 0; }, }; // Extract all classes/ids: these will be passed to the cosmetic // filtering engine, and in return we will obtain only the relevant // CSS selectors. const reWhitespace = /\s/; // https://github.com/gorhill/uBlock/issues/672 // http://www.w3.org/TR/2014/REC-html5-20141028/infrastructure.html#space-separated-tokens // http://jsperf.com/enumerate-classes/6 const surveyPhase1 = function() { // console.log('dom surveyor/surveying'); const t0 = performance.now(); const rews = reWhitespace; const ids = []; const classes = []; const nodes = pendingNodes.buffer; const deadline = t0 + maxSurveyTimeSlice; let qids = queriedIds; let qcls = queriedClasses; let processed = 0; for (;;) { const n = pendingNodes.next(); if ( n === 0 ) { break; } for ( let i = 0; i < n; i++ ) { const node = nodes[i]; nodes[i] = null; let v = node.id; if ( typeof v === 'string' && v.length !== 0 ) { v = v.trim(); if ( qids.has(v) === false && v.length !== 0 ) { ids.push(v); qids.add(v); } } let vv = node.className; if ( typeof vv === 'string' && vv.length !== 0 ) { if ( rews.test(vv) === false ) { if ( qcls.has(vv) === false ) { classes.push(vv); qcls.add(vv); } } else { vv = node.classList; let j = vv.length; while ( j-- ) { const v = vv[j]; if ( qcls.has(v) === false ) { classes.push(v); qcls.add(v); } } } } } processed += n; if ( performance.now() >= deadline ) { break; } } const t1 = performance.now(); surveyCost += t1 - t0; //console.info(`domSurveyor> Surveyed ${processed} nodes in ${(t1-t0).toFixed(2)} ms`); // Phase 2: Ask main process to lookup relevant cosmetic filters. if ( ids.length !== 0 || classes.length !== 0 ) { messaging.send('contentscript', { what: 'retrieveGenericCosmeticSelectors', hostname, ids, classes, exceptions: domFilterer.exceptions, cost: surveyCost, }).then(response => { surveyPhase3(response); }); } else { surveyPhase3(null); } //console.timeEnd('dom surveyor/surveying'); }; const surveyTimer = new vAPI.SafeAnimationFrame(surveyPhase1); // This is to shutdown the surveyor if result of surveying keeps being // fruitless. This is useful on long-lived web page. I arbitrarily // picked 5 minutes before the surveyor is allowed to shutdown. I also // arbitrarily picked 256 misses before the surveyor is allowed to // shutdown. let canShutdownAfter = Date.now() + 300000, surveyingMissCount = 0; // Handle main process' response. const surveyPhase3 = function(response) { const result = response && response.result; let mustCommit = false; if ( result ) { const css = result.injectedCSS; if ( typeof css === 'string' && css.length !== 0 ) { domFilterer.addCSS(css); //ADN tmp fix: hiding - local iframe without src /* old adn solution const isSpecialLocalIframes = (location.href=="about:blank" || location.href=="") && (window.self !== window.top) domFilterer.addCSSRule( selectors, vAPI.hideStyle, { mustInject: isSpecialLocalIframes ? true : false } // ADN ); */ mustCommit = true; } const selectors = result.excepted; if ( Array.isArray(selectors) && selectors.length !== 0 ) { domFilterer.exceptCSSRules(selectors); } // ADN: ad check on new elements found let allSelectors = ""; for(const key in result) { if(result[key] != "") { let injected = result[key]; let selectors = injected.split("\n{display:none!important;}")[0] allSelectors += (allSelectors == "" ? "" : ",") + selectors; } } let nodes; if (allSelectors != "") { nodes = document.querySelectorAll(allSelectors); for ( const node of nodes ) { vAPI.adCheck && vAPI.adCheck(node); } } } if ( pendingNodes.stopped === false ) { if ( pendingNodes.hasNodes() ) { surveyTimer.start(1); bootstrapAdnTimer.start(1); // ADN } if ( mustCommit ) { surveyingMissCount = 0; canShutdownAfter = Date.now() + 300000; return; } surveyingMissCount += 1; if ( surveyingMissCount < 256 || Date.now() < canShutdownAfter ) { return; } } //console.info('dom surveyor shutting down: too many misses'); surveyTimer.clear(); bootstrapAdnTimer.clear(); // ADN vAPI.domWatcher.removeListener(domWatcherInterface); vAPI.domSurveyor = null; }; const domWatcherInterface = { onDOMCreated: function() { if ( self.vAPI instanceof Object === false || vAPI.domSurveyor instanceof Object === false || vAPI.domFilterer instanceof Object === false ) { if ( self.vAPI instanceof Object ) { if ( vAPI.domWatcher instanceof Object ) { vAPI.domWatcher.removeListener(domWatcherInterface); } vAPI.domSurveyor = null; } return; } //console.time('dom surveyor/dom layout created'); domFilterer = vAPI.domFilterer; pendingNodes.add(document.querySelectorAll('[id],[class]')); surveyTimer.start(); bootstrapAdnTimer.start(); // ADN //console.timeEnd('dom surveyor/dom layout created'); }, onDOMChanged: function(addedNodes) { if ( addedNodes.length === 0 ) { return; } //console.time('dom surveyor/dom layout changed'); let i = addedNodes.length; while ( i-- ) { const node = addedNodes[i]; pendingNodes.add([ node ]); if ( node.firstElementChild === null ) { continue; } pendingNodes.add(node.querySelectorAll('[id],[class]')); } if ( pendingNodes.hasNodes() ) { surveyTimer.start(1); bootstrapAdnTimer.start(1); // ADN } } }; const start = function(details) { if ( vAPI.domWatcher instanceof Object === false ) { return; } hostname = details.hostname; vAPI.domWatcher.addListener(domWatcherInterface); }; vAPI.domSurveyor = { start }; } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ // ADN function to go through the selectors from bootstrapPhase2 and run the ad check on the detected ad nodes // https://github.com/dhowe/AdNauseam/issues/1838 // avoid running too many times; const intervalTime = window.self === window.top ? 4000 : 8000 const maxTimesRunBootstrapPhaseAdn = window.self === window.top ? 64 : 8; var lastRunBootstrapPhaseAdn = null; var bootstrapPhaseAdnCounter = 0 const bootstrapPhaseAdn = function () { // check last time ran let now = Date.now() // run if its first time running or if the last time it ran was more than 1 sec ago if (lastRunBootstrapPhaseAdn === null || (lastRunBootstrapPhaseAdn && now - lastRunBootstrapPhaseAdn > intervalTime)) { // avoid it running too many times; if (bootstrapPhaseAdnCounter >= maxTimesRunBootstrapPhaseAdn) { bootstrapAdnTimer.clear(); return; } lastRunBootstrapPhaseAdn = Date.now() // get all the selectores let allSelectors = vAPI.domFilterer.getAllSelectors() if (allSelectors.declarative) { allSelectors.declarative.forEach(function([selectors, styles]){ let nodes = document.querySelectorAll(selectors); for ( const node of nodes ) { vAPI.adCheck && vAPI.adCheck(node); } }) } bootstrapPhaseAdnCounter++; } } // vAPI.bootstrap: // Bootstrapping allows all components of the content script // to be launched if/when needed. // create BootstraAdnTimer, to use the "SafeAnimationFrame" class when doing the delays const bootstrapAdnTimer = new vAPI.SafeAnimationFrame(bootstrapPhaseAdn) const bootstrapPhase2 = function() { /* ADN catch ads with delay: https://github.com/dhowe/AdNauseam/issues/1838 This is a workaround to catch ads that apear with a certain delay but don't trigger the DomWatcher, such as dockduckgo */ if (vAPI.domFilterer) { bootstrapPhaseAdn() bootstrapAdnTimer.start(2000) } // This can happen on Firefox. For instance: // https://github.com/gorhill/uBlock/issues/1893 if ( window.location === null ) { return; } if ( self.vAPI instanceof Object === false ) { return; } vAPI.messaging.send('contentscript', { what: 'shouldRenderNoscriptTags', }); if ( vAPI.domWatcher instanceof Object ) { vAPI.domWatcher.start(); } // Element picker works only in top window for now. if ( window !== window.top || vAPI.domFilterer instanceof Object === false ) { return; } // To be used by element picker/zapper. vAPI.mouseClick = { x: -1, y: -1 }; const onMouseClick = function(ev) { if ( ev.isTrusted === false ) { return; } vAPI.mouseClick.x = ev.clientX; vAPI.mouseClick.y = ev.clientY; // https://github.com/chrisaljoudi/uBlock/issues/1143 // Find a link under the mouse, to try to avoid confusing new tabs // as nuisance popups. // https://github.com/uBlockOrigin/uBlock-issues/issues/777 // Mind that href may not be a string. const elem = ev.target.closest('a[href]'); if ( elem === null || typeof elem.href !== 'string' ) { return; } vAPI.messaging.send('contentscript', { what: 'maybeGoodPopup', url: elem.href || '', }); }; document.addEventListener('mousedown', onMouseClick, true); // https://github.com/gorhill/uMatrix/issues/144 vAPI.shutdown.add(function() { document.removeEventListener('mousedown', onMouseClick, true); }); }; // https://github.com/uBlockOrigin/uBlock-issues/issues/403 // If there was a spurious port disconnection -- in which case the // response is expressly set to `null`, rather than undefined or // an object -- let's stay around, we may be given the opportunity // to try bootstrapping again later. const bootstrapPhase1 = function(response) { if ( response instanceof Object === false ) { return; } vAPI.bootstrap = undefined; if (response && response.prefs) vAPI.prefs = response.prefs; // ADN // cosmetic filtering engine aka 'cfe' const cfeDetails = response && response.specificCosmeticFilters; if ( !cfeDetails || !cfeDetails.ready ) { vAPI.domWatcher = vAPI.domCollapser = vAPI.domFilterer = vAPI.domSurveyor = vAPI.domIsLoaded = null; return; } vAPI.domCollapser.start(); if ( response.noCosmeticFiltering || response.prefs.hidingDisabled) { // ADN vAPI.domFilterer = null; vAPI.domSurveyor = null; } else { const domFilterer = vAPI.domFilterer = new vAPI.DOMFilterer(); if ( response.noGenericCosmeticFiltering || cfeDetails.noDOMSurveying ) { vAPI.domSurveyor = null; } domFilterer.exceptions = cfeDetails.exceptionFilters; domFilterer.addCSS(cfeDetails.injectedCSS); domFilterer.addProceduralSelectors(cfeDetails.proceduralFilters); domFilterer.exceptCSSRules(cfeDetails.exceptedFilters); } vAPI.userStylesheet.apply(); // Library of resources is located at: // https://github.com/gorhill/uBlock/blob/master/assets/ublock/resources.txt if ( response.scriptlets ) { vAPI.injectScriptlet(document, response.scriptlets); vAPI.injectedScripts = response.scriptlets; } if ( vAPI.domSurveyor instanceof Object ) { vAPI.domSurveyor.start(cfeDetails); } // https://github.com/chrisaljoudi/uBlock/issues/587 // If no filters were found, maybe the script was injected before // uBlock's process was fully initialized. When this happens, pages // won't be cleaned right after browser launch. if ( typeof document.readyState === 'string' && document.readyState !== 'loading' ) { bootstrapPhase2(); } else { document.addEventListener( 'DOMContentLoaded', bootstrapPhase2, { once: true } ); } }; vAPI.bootstrap = function() { vAPI.messaging.send('contentscript', { what: 'retrieveContentScriptParameters', url: vAPI.effectiveSelf.location.href, }).then(response => { bootstrapPhase1(response); }); }; // })() // This starts bootstrap process. vAPI.bootstrap(); /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ } // <<<<<<<< end of HUGE-IF-BLOCK
dhowe/AdNauseam2
src/js/contentscript.js
JavaScript
gpl-3.0
49,724
(function() { 'use strict'; angular .module('otusjs.player.core.phase') .service('otusjs.player.core.phase.SaveActionService', Service); Service.$inject = [ 'otusjs.player.core.phase.ActionPipeService', 'otusjs.player.core.phase.PreSaveActionService', 'otusjs.player.core.phase.ExecutionSaveActionService', 'otusjs.player.core.phase.PostSaveActionService' ]; function Service(ActionPipeService, PreSaveActionService, ExecutionSaveActionService, PostSaveActionService) { var self = this; /* Public methods */ self.PreSaveActionService = PreSaveActionService; self.ExecutionSaveActionService = ExecutionSaveActionService; self.PostSaveActionService = PostSaveActionService; self.execute = execute; function execute() { var phaseData = PreSaveActionService.execute(ActionPipeService.flowData); phaseData = ExecutionSaveActionService.execute(phaseData); phaseData = PostSaveActionService.execute(phaseData); } } })();
ccem-dev/otus-preview-js
app/otusjs-player-core/phase/save/save-action-service.js
JavaScript
gpl-3.0
1,005
// Representa um ação que pode ser desfeita e refeita // A ação é associada a uma aba aberta // Nas funções redo e undo, this se refere à aba associada à ação function Acao(nome, redo, undo) { var aba = Interface.abaFoco this.id = String(Math.random()) this.nome = nome this.redo = redo this.undo = undo if (aba.posHistorico < aba.historico.length) aba.historico = aba.historico.slice(0, aba.posHistorico) aba.historico.push(this) aba.posHistorico = aba.historico.length redo.call(aba) aba.livro.modificado = true InterfaceEdicao.atualizarDesfazer() } // Retorna o nome da ação a ser desfeita na aba ativa (null caso nada possa ser desfeito) Acao.getDesfazer = function () { var aba, acao aba = Interface.abaFoco acao = aba.historico[aba.posHistorico-1] if (aba.posHistorico > 0 && acao.undo) return acao.nome return null } // Retorna o nome da ação a ser refeita na aba ativa (null caso nada possa ser refeito) Acao.getRefazer = function () { var aba, acao aba = Interface.abaFoco acao = aba.historico[aba.posHistorico] if (aba.posHistorico < aba.historico.length && acao.redo) return acao.nome return null } // Desfaz a última ação na aba Acao.desfazer = function (aba) { var acao if (aba.posHistorico > 0) { acao = aba.historico[aba.posHistorico-1] if (acao.undo) { acao.undo.call(aba) aba.posHistorico-- if ((aba.posHistorico && aba.historico[aba.posHistorico-1].id!=aba.idAcaoSalvo) || (!aba.posHistorico && aba.idAcaoSalvo!="")) aba.livro.modificado = true else aba.livro.modificado = false } } } // Refaz a ação na aba Acao.refazer = function (aba) { var acao if (aba.posHistorico < aba.historico.length) { acao = aba.historico[aba.posHistorico] if (acao.redo) { acao.redo.call(aba) aba.posHistorico++ if ((aba.posHistorico && aba.historico[aba.posHistorico-1].id!=aba.idAcaoSalvo) || (!aba.posHistorico && aba.idAcaoSalvo!="")) aba.livro.modificado = true else aba.livro.modificado = false } } }
sitegui/editorHP
js/dados/Acao.js
JavaScript
gpl-3.0
2,027
'use strict'; angular.module('myApp.home', ['ngRoute']) // Declared route .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/home', { templateUrl: 'views/home/home.html', controller: 'HomeCtrl' }); }]) // Home controller .controller('HomeCtrl', [function() { }]);
nick-feifan/healthwise
test/views/home/home.js
JavaScript
gpl-3.0
321
let fs = require('fs'); const {dialog} = require('electron').remote; let drivelist = require('drivelist'); let distrosList = require('./js/distros.json'); let numeral = require('numeral'); let fileNameRoute; let fileName; let fileChoosed = false; let downloadFile = false; let checksumFileDownloaded; let distroToDownload; let devs = []; let devRoute; let devSelectedName; let devSelected = false; let listDistros = (distrosList) => { let enumDistros = document.getElementById('enum-distros'); let distrosListLength = distrosList.length; for (let i = 0; i < distrosListLength; i++) { let optionDistro = document.createElement('option'); optionDistro.text = distrosList[i].name; enumDistros.add(optionDistro, enumDistros[i]); } }; let selectDistro = () => { let distros = document.getElementById('enum-distros'); distroToDownload = distros.options[distros.selectedIndex].index; console.log(distroToDownload); if (distroToDownload !== distrosList.length) { document.getElementById('btn-download').innerHTML = 'Download & Create'; document.getElementById('iso-table').style.display = 'none'; let distroDetailsKeys = Object.keys(distrosList[distroToDownload]); let distroDetailsValues = Object.keys(distrosList[distroToDownload]).map((value) => { return distrosList[distroToDownload][value]; }); console.log(distroDetailsKeys); let distroDetailsKeysLength = distroDetailsKeys.length; for (let i = 0; i < distroDetailsKeysLength; i++) { document.getElementById('distro-' + distroDetailsKeys[i]).innerHTML = distroDetailsValues[i]; } document.getElementById('distro-details').style.display = 'block'; document.getElementById('distro-table').style.display = 'block'; downloadFile = true; } }; let listDevs = () => { drivelist.list((error, disks) => { console.log(disks); if (error) { console.log('Error getting drives: ' + error); } else { devs = disks; let devAvailable = false; let disksLength = disks.length; for (let i = 0; i < disksLength; i++) { if (disks[i].system === false) { let addDevHtml = `<div id="dev-${i}" onclick="devDetails(this.id)"><span class="icon icon icon-drive"></span> ${disks[i].name} </div><br>`; document.getElementById('dev-status').innerHTML = 'Devices'; document.getElementById('dev-list').insertAdjacentHTML('beforeend', addDevHtml); devAvailable = true; } } if (!devAvailable) { document.getElementById('dev-status').innerHTML = '<center>No devices found please connect one</center>'; } } }); }; let devDetails = (devId) => { let devIndexSplited = devId.split('-'); let devIndex = devIndexSplited[1]; delete devs[devIndex].raw; devs[devIndex].size = typeof devs[devIndex].size === 'number' ? numeral(devs[devIndex].size).format('0.00 b') : devs[devIndex].size; console.log(devs[devIndex]); devRoute = devs[devIndex].device; devSelectedName = devs[devIndex].name; devSelected = true; let devDetailsKeys = Object.keys(devs[devIndex]); let devDetailsValues = Object.keys(devs[devIndex]).map((value) => { return devs[devIndex][value]; }); for (let key in devDetailsKeys) { if (devDetailsValues[key]) { document.getElementById('detail-' + devDetailsKeys[key]).innerHTML = devDetailsValues[key].toString(); } else { document.getElementById('detail-' + devDetailsKeys[key]).innerHTML = 'none'; } } document.getElementById('dev-details').style.display = 'block'; }; let openIso = () => { dialog.showOpenDialog({ filters: [ { name: 'iso', extensions: ['iso'] } ]}, function (fileDeails) { if (fileDeails === undefined) { return; } else { fileNameRoute = fileDeails[0]; let fileNameSplited = fileNameRoute.split('/'); fileName = fileNameSplited[fileNameSplited.length - 1]; console.log(fileName); fileChoosed = true; let resetDevList = '<option selected="true" style="display:none;">Distro</option>'; document.getElementById('enum-distros').innerHTML = resetDevList; listDistros(distrosList); document.getElementById('btn-download').innerHTML = 'Create'; document.getElementById('distro-table').style.display = 'none'; document.getElementById('distro-details').style.display = 'block'; document.getElementById('iso-table').style.display = 'block'; // Update values with iso info document.getElementById('iso-file').innerHTML = fileName; document.getElementById('iso-location').innerHTML = fileNameRoute; document.getElementById('iso-checksum').innerHTML = 'None'; // Set checksume let fileNameRouteStat = fs.statSync(fileNameRoute); document.getElementById('iso-size').innerHTML = numeral(fileNameRouteStat.size).format('0.00 b'); downloadFile = false; } }); }; let downloadDistro = () => { if (devSelected) { basicModal.show({ body: '<center id="alert-center"><img id="alert-loader" src="../img/ajax_loader_rocket_48.gif"><p id="alert-msg"></p></center>', closable: true, buttons: { action: { title: 'Cancel', fn: basicModal.close } } }); let request = require('request'); let filed = require('filed'); fileName = distrosList[distroToDownload].name.replace(/\s+/g, '_') + '.iso'; fileNameRoute = 'downloads/' + fileName; let stream = filed(fileNameRoute); let req = request(distrosList[distroToDownload].link).pipe(stream); let dataLength = null; req.on('data', (data) => { dataLength += data.length; document.getElementById('alert-msg').innerHTML = `Downloading: ${numeral(dataLength).format('0.00 b')} of ${distrosList[distroToDownload].size} MB`; }); stream.on('end', () => { basicModal.show({ body: `<center id="alert-center"><p id="alert-msg">Download successful!<br>File: ${fileNameRoute} (${numeral(dataLength).format('0.00 b')}) <br>Do you wanto to checksum the file?</p></center>`, closable: true, buttons: { cancel: { title: 'CheckSum', fn: checkSumFile }, action: { title: 'Just write it!', fn: confirmWrite } } }); downloadFile = false; fileChoosed = true; }); stream.on('error', (err) => { document.getElementById('alert-msg').innerHTML = 'Error downloading the file<br>Please try again'; document.getElementsByClassName('basicModal__buttons')[0].innerHTML = '<a id="basicModal__action" class="basicModal__button" onclick="basicModal.close();">Close</a>'; console.log(err); fileChoosed = false; }); } else { infoSelectDev(); } }; // Modify this to ask the user if he/she wants to checksuming the file let checkSumFile = () => { basicModal.show({ body: '<center id="alert-center"><img id="alert-loader" src="../img/ajax_loader_rocket_48.gif"><p id="alert-msg">Checksuming... This could take awhile.</p></center>', closable: true, buttons: { action: { title: 'Please wait', fn: basicModal.visible } } }); // Check documentation how to pass the kind of checksum: md5 or sha1 let checksum = require('checksum'); checksum.file(fileNameRoute, (err, sum) => { console.log('Checksuming...'); if (err === null && distrosList[distroToDownload].checkSum === sum) { document.getElementById('alert-center').removeChild(document.getElementById('alert-loader')); document.getElementById('alert-msg').innerHTML = 'Awesome... Checksums match!<br>' + sum; document.getElementsByClassName('basicModal__buttons')[0].innerHTML = '<a id="basicModal__action" class="basicModal__button" onclick="ddWrites(); basicModal.close();">Continue</a>'; console.log(sum + ' null && sum'); fileChoosed = true; } else { document.getElementById('alert-center').removeChild(document.getElementById('alert-loader')); document.getElementById('alert-msg').innerHTML = 'Sorry<br>Checksums do not match<br>Try to download it again.<br>' + sum; document.getElementsByClassName('basicModal__buttons')[0].innerHTML = '<a id="basicModal__action" class="basicModal__button" onclick="basicModal.close();">Close</a>'; console.log(err); fileChoosed = false; } }); }; let confirmWrite = () => { if (downloadFile) { try { downloadDistro(); } catch (err) { infoDownloadFail(); /* Set diferent dialog for erros: No enough space on hdd No Internet conection ... */ fileChoosed = false; infoCheckSumFail(); console.log(err); } } else if (fileChoosed) { ddWrites(); } else { infoSelectSourceFile(); } }; let ddWrites = () => { if (devSelected) { if (fileChoosed) { let confirmWriteResponse = dialog.showMessageBox({ type: 'question', buttons: ['Cancel', 'Yes' ], title : 'Write ISO file', message: 'Please confirm', detail: `All data on ${devSelectedName} will be overwriten with ${fileName} data.\nWould you like to proceed?` }); if (confirmWriteResponse === 1) { basicModal.show({ body: '<center id="alert-center"><img id="alert-loader" src="../img/ajax_loader_rocket_48.gif"><p id="alert-msg"></p></center>', closable: true, buttons: { action: { title: 'Please wait', fn: basicModal.visible } } }); let imageWrite = require('etcher-image-write'); let myStream = fs.createReadStream(fileNameRoute); let emitter = imageWrite.write(devRoute, myStream, { check: false, size: fs.statSync(fileNameRoute).size }); emitter.on('progress', (state) => { document.getElementById('alert-msg').innerHTML = `Writing: ${Math.round(state.percentage)} % (${numeral(state.transferred).format('0.00 b')})<br>Speed: ${numeral(state.speed).format('0.00 b')}/s ETA: ${numeral(state.eta).format('00:00:00')}`; console.log(state); }); emitter.on('error', (error) => { document.getElementById('alert-center').removeChild(document.getElementById('alert-loader')); document.getElementById('alert-msg').innerHTML = `heads-up!<br>${error}<br>Please try again`; document.getElementsByClassName('basicModal__buttons')[0].innerHTML = '<a id="basicModal__action" class="basicModal__button" onclick="basicModal.close();">Close</a>'; console.error(error); }); emitter.on('done', (success) => { if (success) { document.getElementById('alert-center').removeChild(document.getElementById('alert-loader')); document.getElementById('alert-msg').innerHTML = `VirtyDrive succesfully created!<br> ${fileName} on: ${devRoute} <br>Now you can boot in your new GNU/Linux have fun!`; document.getElementsByClassName('basicModal__buttons')[0].innerHTML = '<a id="basicModal__action" class="basicModal__button" onclick="basicModal.close();">Finish</a>'; console.log('Success!'); } else { document.getElementById('alert-center').removeChild(document.getElementById('alert-loader')); document.getElementById('alert-msg').innerHTML = 'heads-up! something went wrong,<br>Please try again'; document.getElementsByClassName('basicModal__buttons')[0].innerHTML = '<a id="basicModal__action" class="basicModal__button" onclick="basicModal.close();">Close</a>'; console.log('Failed!'); } }); } } else { infoSelectSourceFile(); } } else { infoSelectDev(); } }; let infoSelectSourceFile = () => { dialog.showMessageBox({ type: 'info', buttons: ['OK'], title : 'Select a source', message: '', detail: 'Please select an .iso file or a distribution to download' }); }; let infoSelectDev = () => { dialog.showMessageBox({ type: 'info', buttons: ['OK'], title : 'Select a Device', message: '', detail: 'Please select a divice to setup a distro' }); }; let infoDownloadFail = () => { dialog.showMessageBox({ type: 'info', buttons: ['OK'], title : 'Fail', message: '', detail: 'Download fail! Please, check your Internet connection and try again' }); }; let infoCheckSumFail = () => { dialog.showMessageBox({ type: 'info', buttons: ['OK'], title : 'Fail', message: '', detail: 'Download/Checksum fail! Please, check that you have enough space and writing permissions avalable on disk' }); }; let infoCheckDevs = () => { document.getElementById('dev-details').style.display = 'none'; let allDevsListed = document.getElementById('dev-list'); while (allDevsListed.hasChildNodes()) { allDevsListed.removeChild(allDevsListed.lastChild); } devSelected = false; basicModal.show({ body: '<center id="alert-center"><img id="alert-loader" src="../img/ajax_loader_rocket_48.gif"><p id="alert-msg">Checking for Drives</p></center>', closable: true, callback: () => { setTimeout(basicModal.close, 3000); setTimeout(listDevs, 3000); }, buttons: { action: { title: 'Please wait', fn: basicModal.visible } } }); };
Brunux/virtydrive
virty-app/js/index.js
JavaScript
gpl-3.0
13,712
'use strict'; /* globals app, ajaxify, define, socket */ define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', 'forum/topic/threadTools'], function(browsing, postTools, threadTools) { var Events = {}; var events = { 'event:update_users_in_room': browsing.onUpdateUsersInRoom, 'user.isOnline': browsing.onUserOnline, 'event:voted': updatePostVotesAndUserReputation, 'event:favourited': updateFavouriteCount, 'event:topic_deleted': toggleTopicDeleteState, 'event:topic_restored': toggleTopicDeleteState, 'event:topic_locked': toggleTopicLockedState, 'event:topic_unlocked': toggleTopicLockedState, 'event:topic_pinned': toggleTopicPinnedState, 'event:topic_unpinned': toggleTopicPinnedState, 'event:topic_moved': onTopicMoved, 'event:post_edited': onPostEdited, 'event:post_deleted': togglePostDeleteState, 'event:post_restored': togglePostDeleteState, 'posts.favourite': togglePostFavourite, 'posts.unfavourite': togglePostFavourite, 'posts.upvote': togglePostVote, 'posts.downvote': togglePostVote, 'posts.unvote': togglePostVote, 'event:topic.toggleReply': toggleReply, }; Events.init = function() { for(var eventName in events) { if (events.hasOwnProperty(eventName)) { socket.on(eventName, events[eventName]); } } }; Events.removeListeners = function() { for(var eventName in events) { if (events.hasOwnProperty(eventName)) { socket.removeListener(eventName, events[eventName]); } } }; function updatePostVotesAndUserReputation(data) { var votes = $('li[data-pid="' + data.post.pid + '"] .votes'), reputationElements = $('.reputation[data-uid="' + data.post.uid + '"]'); votes.html(data.post.votes).attr('data-votes', data.post.votes); reputationElements.html(data.user.reputation).attr('data-reputation', data.user.reputation); } function updateFavouriteCount(data) { $('li[data-pid="' + data.post.pid + '"] .favouriteCount').html(data.post.reputation).attr('data-favourites', data.post.reputation); } function toggleTopicDeleteState(data) { threadTools.setLockedState(data); threadTools.setDeleteState(data); } function toggleTopicLockedState(data) { threadTools.setLockedState(data); app.alertSuccess(data.isLocked ? '[[topic:topic_lock_success]]' : '[[topic:topic_unlock_success]]'); } function toggleTopicPinnedState(data) { threadTools.setPinnedState(data); app.alertSuccess(data.isPinned ? '[[topic:topic_pin_success]]' : '[[topic:topic_unpin_success]]'); } function onTopicMoved(data) { if (data && data.tid > 0) { ajaxify.go('topic/' + data.tid); } } function onPostEdited(data) { var editedPostEl = $('#content_' + data.pid), editedPostTitle = $('#topic_title_' + data.pid); if (editedPostTitle.length) { editedPostTitle.fadeOut(250, function() { editedPostTitle.html(data.title); editedPostTitle.fadeIn(250); }); } editedPostEl.fadeOut(250, function() { editedPostEl.html(data.content); editedPostEl.find('img').addClass('img-responsive'); editedPostEl.fadeIn(250); }); } function togglePostDeleteState(data) { var postEl = $('#post-container li[data-pid="' + data.pid + '"]'); if (postEl.length) { postEl.toggleClass('deleted'); var isDeleted = postEl.hasClass('deleted'); postTools.toggle(data.pid, isDeleted); if (!app.isAdmin && parseInt(data.uid, 10) !== parseInt(app.uid, 10)) { if (isDeleted) { translator.translate('[[topic:post_is_deleted]]', function(translated) { postEl.find('.post-content').html(translated); }); } else { postEl.find('.post-content').html(data.content); } } postTools.updatePostCount(); } } function togglePostFavourite(data) { var favBtn = $('li[data-pid="' + data.post.pid + '"] .favourite'); if (favBtn.length) { favBtn.addClass('btn-warning') .attr('data-favourited', data.isFavourited); var icon = favBtn.find('i'); var className = icon.attr('class'); if (data.isFavourited ? className.indexOf('-o') !== -1 : className.indexOf('-o') === -1) { icon.attr('class', data.isFavourited ? className.replace('-o', '') : className + '-o'); } } } function togglePostVote(data) { var post = $('li[data-pid="' + data.post.pid + '"]'); post.find('.upvote').toggleClass('btn-primary upvoted', data.upvote); post.find('.downvote').toggleClass('btn-primary downvoted', data.downvote); } function toggleReply(data) { $('.thread_active_users [data-uid="' + data.uid + '"]').toggleClass('replying', data.isReplying); } return Events; });
erikahan/NodeBB-fungus
public/src/forum/topic/events.js
JavaScript
gpl-3.0
4,591
/** * Created by trebollo on 6/2/16. */ var express = require('express'); var router = express.Router(); // Check auth on every resource router.get('*', function(req, res, next) { //console.log('Checking AUTH permissions for request ' + req.method + ' - ' + req.baseUrl); next(); }); module.exports = router;
tomasrebollo/modularch
routes/authRouter.js
JavaScript
gpl-3.0
322
var eio = require('engine.io'), HashMap = require('hashmap').HashMap; function Server() { var self = this; self.endpoint = { port: 44444, host: 'localhost' }; self.server = eio.listen(self.endpoint.port, self.endpoint.host); self.server.on('connection', function(socket){ console.log('Server :: Connection from socket: ' + socket.id); socket.on('message', function(msg){ console.log('Server :: Message event from socket: ' + socket.id + ', with message: ' + msg); // echo message back socket.send('echoed back: ' + msg); }); socket.on('close', function(){ console.log('Server :: Close event from socket: ' + socket.id); }); socket.on('disconnect', function(){ console.log('Server :: Disconnect event from socket: ' + socket.id); }); }); } var server = new Server();
Fincodr/matrix.io
test/server.js
JavaScript
gpl-3.0
875
Ext.define('Onlineshopping.onlineshopping.shared.shop.viewmodel.retail.PaymentProcessingViewModel', { 'extend': 'Ext.app.ViewModel', 'alias': 'viewmodel.PaymentProcessingViewModel', 'model': 'PaymentProcessingModel' });
applifireAlgo/OnlineShopEx
onlineshopping/src/main/webapp/app/onlineshopping/shared/shop/viewmodel/retail/PaymentProcessingViewModel.js
JavaScript
gpl-3.0
234
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'save', 'no', { toolbar: 'Lagre' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/save/lang/no.js
JavaScript
gpl-3.0
228
import React from 'react'; import PermitSearchResultsByAddress from './PermitSearchResultsByAddress' function PermitSearchResultsAddress(props) { if (props.data === null) { return <p>No results found</p>; } if (!props.data.length) { return <p>No results found</p>; } const addressList = props.data.map((result, index) => { const addressButtonStyle = (parseInt(result.civic_address_id) === parseInt(props.showPermitsForID)) ? 'active' : ''; return ( <li key={index}> <button type="button" title={`View permits for ${result.address}`} data-address={result.civic_address_id} className={`list-group-item list-group-item-action ${addressButtonStyle}`} onClick={props.handleAddressSelection} > {result.address}, {result.zipcode} (ID: {result.civic_address_id}) </button> {parseInt(result.civic_address_id) === parseInt(props.showPermitsForID) && <PermitSearchResultsByAddress key={index} civicAddressID={result.civic_address_id} /> } </li> ); }) return addressList; }; export default PermitSearchResultsAddress;
cityofasheville/simplicity2
src/app/development/permits/PermitSearchResultsAddresses.js
JavaScript
gpl-3.0
1,185
/*global Ext, i18n*/ //<debug> console.log(new Date().toLocaleTimeString() + ": Log: Load: WPAKD.view.desktop.icons.SystemConfiguration"); //</debug> Ext.define("WPAKD.view.desktop.icons.SystemConfiguration", { extend: "Ext.Container", alias: "widget.desktopiconssystemconfiguration", draggable: true, floating: true, layout: {type: "vbox", align: "center"}, width: 80, defaults: {frame: true}, items: [{ xtype: "container", height: 10 }, { xtype: "container" , html: "<center><i class=\"fa fa-cog\"></i></center>" , style: "font-size: 3em;" , height: 40 , width: 40 }, { xtype: "container", style: {"text-align": "center", color: "#FFFFFF"}, html: i18n.gettext("System <br />Configuration") }], initComponent: function() { var me = this; Ext.applyIf(me, { listeners: { el: { dblclick: function() {me.fireEvent("WPAKD.controller.desktop.icons.Icons.iconDbClick", this, "WEB_CFG_SYSTEM");} , click: function() {me.fireEvent("WPAKD.controller.desktop.icons.Icons.iconClick", this, "WEB_CFG_SYSTEM");} } } }); me.callParent(arguments); } });
Webcampak/ui
Sencha/App6.0/workspace/Desktop/app/view/desktop/icons/SystemConfiguration.js
JavaScript
gpl-3.0
1,278
var fs = require('fs'), path = require('path'); var uaList = fs.readFileSync(path.join(__dirname, 'ua.txt')); uaList = uaList.toString().split('\n'); var OSs = {}; var browsers = {}; var browserVersions = {}; var unknown = []; var osMatch = { ios: /iOS|iPhone OS/i, android: /Android/i, linux: /Linux/i, win: /Windows/i, osx: /Mac|OS X/i, blackberry: /BlackBerry|BB10/i, series60: /Series 60|Series60/i, series40: /Series 40|Series40/i, j2me: /J2ME|MIDP/i }; var browserMatch = { opera: /opera/i, ie: /msie|trident\//i, chrome: /chrome/i, chromium: /chromium/i, safari: /safari|AppleWebKit/i, firefox: /firefox/i, blackberry: /BlackBerry/i }; var featureMatch = { ipad: /ipad/i, opera_mobile: /opera mini|opera mobi/i, opera_mini: /opera mini/i, blackberry: /blackberry/i }; uaList.forEach(function (uaName) { var os = 'unknown'; for (var curOs in osMatch) { if (uaName.match(osMatch[curOs])) { os = curOs; break; } } var browser = 'unknown'; for (var curBrowser in browserMatch) { if (uaName.match(browserMatch[curBrowser])) { browser = curBrowser; break; } } var version = ( uaName.match(/MSIE ([\d.]+)/) || uaName.match( /.+(?:me|ox|on|rv|it|era|opr|ie)[\/: ]([\d.]+)/) || [0,'0'] )[1]; if (!OSs[os]) { OSs[os] = 1; } else { OSs[os]++; } if (!browsers[os + ' ' + browser]) { browsers[os + ' ' + browser] = 1; } else { browsers[os + ' ' + browser]++; } if (os == 'unknown' || browser == 'unknown') { unknown.push(uaName); } if (!browserVersions[os + ' ' + browser + ' ' + version]) { browserVersions[os + ' ' + browser + ' ' + version] = 1; } else { browserVersions[os + ' ' + browser + ' ' + version]++; } }) console.log(OSs); console.log(browsers); console.log(browserVersions); // console.log(unknown);
MulberryComic20/ConnectMessenger-web
ua_handler.js
JavaScript
gpl-3.0
1,808
/** * $Id: mxCompositeLayout.js,v 1.11 2010-01-02 09:45:15 gaudenz Exp $ * Copyright (c) 2006-2010, JGraph Ltd */ /** * Class: mxCompositeLayout * * Allows to compose multiple layouts into a single layout. The master layout * is the layout that handles move operations if another layout than the first * element in <layouts> should be used. The <master> layout is not executed as * the code assumes that it is part of <layouts>. * * Example: * (code) * var first = new mxFastOrganicLayout(graph); * var second = new mxParallelEdgeLayout(graph); * var layout = new mxCompositeLayout(graph, [first, second], first); * layout.execute(graph.getDefaultParent()); * (end) * * Constructor: mxCompositeLayout * * Constructs a new layout using the given layouts. The graph instance is * required for creating the transaction that contains all layouts. * * Arguments: * * graph - Reference to the enclosing <mxGraph>. * layouts - Array of <mxGraphLayouts>. * master - Optional layout that handles moves. If no layout is given then * the first layout of the above array is used to handle moves. */ function mxCompositeLayout(graph, layouts, master) { mxGraphLayout.call(this, graph); this.layouts = layouts; this.master = master; }; /** * Extends mxGraphLayout. */ mxCompositeLayout.prototype = new mxGraphLayout(); mxCompositeLayout.prototype.constructor = mxCompositeLayout; /** * Variable: layouts * * Holds the array of <mxGraphLayouts> that this layout contains. */ mxCompositeLayout.prototype.layouts = null; /** * Variable: layouts * * Reference to the <mxGraphLayouts> that handles moves. If this is null * then the first layout in <layouts> is used. */ mxCompositeLayout.prototype.master = null; /** * Function: moveCell * * Implements <mxGraphLayout.moveCell> by calling move on <master> or the first * layout in <layouts>. */ mxCompositeLayout.prototype.moveCell = function(cell, x, y) { if (this.master != null) { this.master.move.apply(this.master, arguments); } else { this.layouts[0].move.apply(this.layouts[0], arguments); } }; /** * Function: execute * * Implements <mxGraphLayout.execute> by executing all <layouts> in a * single transaction. */ mxCompositeLayout.prototype.execute = function(parent) { var model = this.graph.getModel(); model.beginUpdate(); try { for (var i = 0; i < this.layouts.length; i++) { this.layouts[i].execute.apply(this.layouts[i], arguments); } } finally { model.endUpdate(); } };
swissfondue/gtta
js/mxgraph/src/js/layout/mxCompositeLayout.js
JavaScript
gpl-3.0
2,516
import Client from '../../../api'; import { AsyncActionStatus } from '../../../const/AsyncActionStatus'; import { getCurrency, getNobtName, getPersonNames } from './selectors'; export const UPDATE_CREATE_NOBT_STATUS = 'NewNobt.UPDATE_CREATE_NOBT_STATUS'; export const SELECT_CURRENCY = 'NewNobt.SELECT_CURRENCY'; export const CHANGE_NOBT_NAME = 'NewNobt.CHANGE_NOBT_NAME'; export const ADD_PERSON = 'NewNobt.ADD_PERSON'; export const REMOVE_PERSON = 'NewNobt.REMOVE_PERSON'; export const UPDATE_NAME_OF_PERSON_TO_ADD = 'NewNobt.UPDATE_NAME_OF_PERSON_TO_ADD'; function createNobtStarted() { return { type: UPDATE_CREATE_NOBT_STATUS, payload: { status: AsyncActionStatus.IN_PROGRESS, }, }; } function createNobtSucceeded(response) { return { type: UPDATE_CREATE_NOBT_STATUS, payload: { id: response.data.id, status: AsyncActionStatus.SUCCESSFUL, }, }; } function createNobtFailed(error) { return { type: UPDATE_CREATE_NOBT_STATUS, payload: { error, status: AsyncActionStatus.FAILED, }, }; } export function createNobt() { return (dispatch, getState) => { dispatch(createNobtStarted()); let nobtToCreate = { nobtName: getNobtName(getState()), currency: getCurrency(getState()), explicitParticipants: getPersonNames(getState()), }; Client.createNobt(nobtToCreate).then( response => { dispatch(createNobtSucceeded(response)); }, error => dispatch(createNobtFailed(error)) ); }; } export function selectCurrency(newCurrency) { return { type: SELECT_CURRENCY, payload: { newCurrency, }, }; } export function changeNobtName(newName) { return { type: CHANGE_NOBT_NAME, payload: { newName, }, }; } export function addCurrentNameAsPerson() { return { type: ADD_PERSON, }; } export function removePerson(name) { return { type: REMOVE_PERSON, payload: { name, }, }; } export function updateNameOfPersonToAdd(name) { return { type: UPDATE_NAME_OF_PERSON_TO_ADD, payload: { name, }, }; }
nobt-io/frontend
src/routes/CreateNobt/modules/actions.js
JavaScript
gpl-3.0
2,130
/* -*- Mode: JavaScript; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*- ******************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011. * * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>. * * The copyright notice above does not evidence any actual of intended * publication of such source code, and is an unpublished work by create3000. * This material contains CONFIDENTIAL INFORMATION that is the property of * create3000. * * No permission is granted to copy, distribute, or create derivative works from * the contents of this software, in whole or in part, without the prior written * permission of create3000. * * NON-MILITARY USE ONLY * * All create3000 software are effectively free software with a non-military use * restriction. It is free. Well commented source is provided. You may reuse the * source in any way you please with the exception anything that uses it must be * marked to indicate is contains 'non-military use only' components. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2015, 2016 Holger Seelig <holger.seelig@yahoo.de>. * * This file is part of the Cobweb Project. * * Cobweb is free software: you can redistribute it and/or modify it under the * terms of the GNU General Public License version 3 only, as published by the * Free Software Foundation. * * Cobweb is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more * details (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU General Public License version 3 * along with Cobweb. If not, see <http://www.gnu.org/licenses/gpl.html> for a * copy of the GPLv3 License. * * For Silvio, Joy and Adi. * ******************************************************************************/ define ([ "jquery", "cobweb/Fields", "cobweb/Basic/X3DFieldDefinition", "cobweb/Basic/FieldDefinitionArray", "cobweb/Components/Rendering/X3DComposedGeometryNode", "cobweb/Bits/X3DConstants", ], function ($, Fields, X3DFieldDefinition, FieldDefinitionArray, X3DComposedGeometryNode, X3DConstants) { "use strict"; function IndexedTriangleStripSet (executionContext) { X3DComposedGeometryNode .call (this, executionContext); this .addType (X3DConstants .IndexedTriangleStripSet); this .triangleIndex = [ ]; } IndexedTriangleStripSet .prototype = $.extend (Object .create (X3DComposedGeometryNode .prototype), { constructor: IndexedTriangleStripSet, fieldDefinitions: new FieldDefinitionArray ([ new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()), new X3DFieldDefinition (X3DConstants .initializeOnly, "solid", new Fields .SFBool (true)), new X3DFieldDefinition (X3DConstants .initializeOnly, "ccw", new Fields .SFBool (true)), new X3DFieldDefinition (X3DConstants .initializeOnly, "colorPerVertex", new Fields .SFBool (true)), new X3DFieldDefinition (X3DConstants .initializeOnly, "normalPerVertex", new Fields .SFBool (true)), new X3DFieldDefinition (X3DConstants .initializeOnly, "index", new Fields .MFInt32 ()), new X3DFieldDefinition (X3DConstants .inputOutput, "attrib", new Fields .MFNode ()), new X3DFieldDefinition (X3DConstants .inputOutput, "fogCoord", new Fields .SFNode ()), new X3DFieldDefinition (X3DConstants .inputOutput, "color", new Fields .SFNode ()), new X3DFieldDefinition (X3DConstants .inputOutput, "texCoord", new Fields .SFNode ()), new X3DFieldDefinition (X3DConstants .inputOutput, "normal", new Fields .SFNode ()), new X3DFieldDefinition (X3DConstants .inputOutput, "coord", new Fields .SFNode ()), ]), getTypeName: function () { return "IndexedTriangleStripSet"; }, getComponentName: function () { return "Rendering"; }, getContainerField: function () { return "geometry"; }, initialize: function () { X3DComposedGeometryNode .prototype .initialize .call (this); this .index_ .addInterest ("set_index__", this); this .set_index__ (); }, set_index__: function () { // Build coordIndex var index = this .index_ .getValue (), triangleIndex = this .triangleIndex; triangleIndex .length = 0; // Build coordIndex for (var i = 0, length = index .length; i < length; ++ i) { var first = index [i] .getValue (); if (first < 0) continue; if (++ i < length) { var second = index [i] .getValue (); if (second < 0) continue; ++ i; for (var face = 0; i < length; ++ i, ++ face) { var third = index [i] .getValue (); if (third < 0) break; triangleIndex .push (first, second, third); if (face & 1) second = third; else first = third; } } } }, getPolygonIndex: function (index) { return this .triangleIndex [index]; }, build: function () { X3DComposedGeometryNode .prototype .build .call (this, 3, this .triangleIndex .length, 3, this .triangleIndex .length); }, }); return IndexedTriangleStripSet; });
create3000/cobweb
src/cobweb/Components/Rendering/IndexedTriangleStripSet.js
JavaScript
gpl-3.0
5,599
$(document).ready(function () { $(window).on('load', function() { let pathname = window.location.pathname.split('/') // console.log(pathname) if(pathname[1]==='operador') { $('#home').addClass('active') let action = pathname[2].split('-') if (action[0]==='update' || action[0]==='perfil') { $('#home').removeClass('active'); } // console.log(action[0], action[1]) if(action[1] ==='paciente' || action[1] ==='pacientes') { $('#home').removeClass('active') $('#pacientes').removeClass('collapsed'); $('#pacientes').addClass('active'); $('#subPaciente').addClass('in'); if (action[0] ==='cadastrar') { $('#menu_cadastrar_paciente').addClass('active') } if (action[0] ==='pesquisar') { $('#menu_pesquisar_paciente').addClass('active') } if (action[0] ==='alterar') { $('#menu_alterar_paciente').removeClass('hidden') $('#menu_alterar_paciente').addClass('active') } } else { if (action[1] ==='consulta' || action[1] ==='consultas') { $('#home').removeClass('active') $('#consultas').removeClass('collapsed'); $('#consultas').addClass('active'); $('#subConsulta').addClass('in'); if (action[0] ==='agendar') { $('#menu_agendar_consulta').removeClass('hidden'); $('#menu_agendar_consulta').addClass('active'); } if (action[0] ==='buscar') { $('#menu_pesquisar_consulta').addClass('active'); } if (action[0] ==='listagem') { $('#menu_lista_consulta').addClass('active'); } } else { if (action[1] ==='sucesso') { $('#home').removeClass('active') $('#consultas').removeClass('collapsed'); $('#consultas').addClass('active'); $('#subConsulta').addClass('in'); } } } } else { if (pathname[1]==='administrador') { // $('#home').addClass('active') // $('#home').removeClass('active') switch (pathname[2]) { case 'atendentes': $('#home').removeClass('active') $('#atendentes').removeClass('collapsed') $('#atendentes').addClass('active') break; case 'operadores': $('#home').removeClass('active') $('#operadores').removeClass('collapsed') $('#operadores').addClass('active') break; case 'administradores': $('#home').removeClass('active') $('#administradores').removeClass('collapsed') $('#administradores').addClass('active') break; case 'medicos': $('#home').removeClass('active') $('#medicos').removeClass('collapsed') $('#medicos').addClass('active') break; case 'especialidades': $('#home').removeClass('active') $('#especialidades').removeClass('collapsed') $('#especialidades').addClass('active') break; case 'relatorio-diario': $('#home').removeClass('active') $('#relatorios').removeClass('collapsed') $('#relatorios').addClass('active') $('#subRelatios').addClass('in') break; case 'relatorio-mensais': $('#home').removeClass('active') $('#relatorios').removeClass('collapsed') $('#relatorios').addClass('active') $('#subRelatios').addClass('in'); break; } } } }) $('#form-change-password').submit(function() { $('.loading').fadeOut(700).removeClass('hidden'); }); $('#form_login').submit(function() { $('.loading').fadeOut(700).removeClass('hidden'); }); $('#cancel').click(function() { $('.loading').fadeOut(700).removeClass('hidden'); }); // função para buscar os valores dos selected de medicos por especialidade: $('#especialidade').change(function () { var idEspecialidade = $(this).val(); $.get('/operador/get-medicos/' + idEspecialidade, function (medicos) { $('#medico').empty(); $('#medico').append('<option value="" disabled selected>Selecione...</option>'); $.each(medicos, function (key, medico) { $('#medico').append('<option value="'+medico.id_medico+'">'+medico.nome_medico+'</option>'); }); $('#medico').prop("disabled", false); }); }); //função para buscar os valores dos selected de data por medicos e especialidade: $('#medico').change(function () { var idEspecialidade = $('#especialidade').val(); var idMedico = $(this).val(); $.get('/operador/especialidade/'+idEspecialidade+'/medico/'+idMedico, function (calendarios) { $('#periodo').empty(); $('#vagas').attr('value', ''); $('#local_id').attr('value', ''); $('#local_nome_fantasia').attr('value', ''); $('#data_consulta').empty(); $('#data_consulta').append('<option value="" disabled selected>Selecione...</option>'); $.each(calendarios, function (key, calendario) { //$('#data_consulta').append('<option value="'+calendario.id+'"> <?php date("d/m/Y", strtotime('+calendario.data+')) ?> </option>'); var data = moment(calendario.data).format('DD/MM/YYYY'); $('#data_consulta').append('<option value="'+calendario.id_calendario+'"><time>'+data+'</time></option>'); }); $('#data_consulta').prop("disabled", false); }); }); $('#data_consulta').change(function () { var idCaleandario = $(this).val(); $.get('/operador/periodos/'+idCaleandario, function (periodos) { $('#periodo').empty(); $('#vagas').attr('value', ''); $('#local_id').attr('value', ''); $('#local_nome_fantasia').attr('value', ''); $('#periodo').append('<option value="" disabled selected>Selecione...</option>'); $.each(periodos, function (key, periodo) { $('#periodo').append('<option value="'+periodo.id_periodo+'">'+periodo.nome+'</option>'); }); $('#periodo').prop("disabled", false); }); }); $('#periodo').change(function () { var idPeriodo = $(this).val(); $.get('/operador/vagas-disponiveis/'+idPeriodo, function (vagas) { $('#vagas').attr('value', vagas.vagas_disponiveis); }); $.get('/operador/local/'+idPeriodo, function (local) { $('#local_id').attr('value', local.id_local); $('#local_nome_fantasia').attr('value', local.nome_fantasia); }); }); // DIV loading no carregamento da pagina: $('.loading').fadeOut(700).addClass('hidden'); $('#search_type').change(function () { var option = $(this).val(); if (option == 1) { $('.fields_filtrar').val(''); $('#div_number_cpf').addClass('hidden'); $('#div_date_nasc').addClass('hidden'); $('#div_number_cns').removeClass('hidden'); } else { if (option == 2) { $('.fields_filtrar').val(''); $('#div_number_cns').addClass('hidden'); $('#div_date_nasc').addClass('hidden'); $('#div_number_cpf').removeClass('hidden'); } else { $('.fields_filtrar').val(''); $('#div_number_cns').addClass('hidden'); $('#div_number_cpf').addClass('hidden'); $('#div_date_nasc').removeClass('hidden'); } } }); $('#form_filtro-paciente').submit(function () { $('#numero_cns').unmask(); $('#cpf').unmask(); }); });
jonilsondeveloper/repositorio-qms
src/public/scripts/script.js
JavaScript
gpl-3.0
7,559
(function(){ function isValid($, eventName){ var valid = true; $.each(function(i, el){ valid = valid && el.dispatchEvent(new Event(eventName)); }); return valid; } function setHandler(els){ els.each(function(i, el){ if(!(el instanceof HTMLInputElement || el instanceof HTMLFormElement)) return; var $Input, $Form; function formHnd(e){ var valid = $Form[0].checkValidity() && $Form[0].querySelectorAll("input[w-equal-to]").length == $Form[0].querySelectorAll("input[w-equal-to][w-is-equal]").length; valid = isValid($Form, valid ? "validdata" : "invaliddata") && valid; if(!valid && e.type == "submit") e.preventDefault(); } function inputHnd(e){ if(e.type == "invalid") return e.target.dispatchEvent(new Event("invaliddata")); try { var curretPos = e.target.selectionStart; e.target.value = e.target.value; curretPos = curretPos > e.target.value.length ? e.target.value.length : curretPos; e.target.setSelectionRange(curretPos,curretPos); } catch(e) {} var isEqual = true; if(e.target.getAttribute("w-equal-to") != null) if(e.target.value == document.querySelector(e.target.getAttribute("w-equal-to")).value) e.target.getAttribute("w-is-equal") = ""; else { isEqual = false; e.target.removeAttribute("w-is-equal"); } e.target.dispatchEvent(new Event(e.target.checkValidity() && isEqual ? "validdata" : "invaliddata")); }; if(el instanceof HTMLFormElement){ $Form = $(el).on("submit keyup",formHnd); $Input = $(el).find("input, textarea").on("input invalid",inputHnd); } else if(el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement){ $Input = $(el).on("input invalid",inputHnd); $Form = $(el.form).on("submit keyup",formHnd); } }); }; $.fn.onvalid = function(handler){ setHandler(this); this.on("validdata",handler); return this; }; $.fn.oninvalid = function(handler){ setHandler(this); this.on("invaliddata",handler); return this; }; })(); function setThankCount() { $.post("/api", { action: "thanksCount"}, function(data) { $("[gt-count]").html(data.count); }); } $(function(){ localStorage.clear(); $("form input").oninvalid(function(e){ $(e.target).parent().addClass("invalid"); }).onvalid(function(e){ $(e.target).parent().removeClass("invalid"); }); $("form").submit(function(){ if ($(this).find(".invalid").length) return false; }); setThankCount(); setInterval(setThankCount, 5000); });
TrigenSoftware/OpenSayThank
web/app/login.js
JavaScript
gpl-3.0
3,081
var DI = require('../'); function A(options) { this.name = 'A'; this.options = options; } function B(options) { if (! (this instanceof B)) { return new B(options); } this.name = 'B'; this.options = options; } var di = new DI(); function S(msg) { console.log(msg); } di.addConfig({ A: A, B: B, S: S }); di.addConfig({ "my": { "configData": { "key1": "val1", "static": { '@static': '&S' } }, "a": { "@class": "&A", "test": "test1", "data": "&my.configData" }, "b": { "@factory": "&B", "a": "&my.a", "c": { "d": ["1", 2] }, "f": { "@class": "&A", "test": "test3" }, "test": "test2" } } }); var c = di.getContainer(); var b = c.get('my.a'); console.log(b.options);
zerkalica/micro-di
example/ex1.js
JavaScript
gpl-3.0
832
const _ = require('lodash'); const utils = require('./utils'); /* * Default key object settings for lando.keys cache */ const keyDefaults = { host: 'lagoon.amazeeio.cloud', port: '32222', user: 'lagoon-pending', date: _.toInteger(_.now() / 1000), }; /* * Generates a new lagoon-pending key. */ exports.generateKey = (lando, method = 'new') => { const cmd = '/helpers/lagoon-generate-key.sh lagoon-pending lando'; return utils.run(lando, cmd, null, false); }; /* * Put keys into inquierer format */ exports.getKeys = (keys = []) => _(keys) .map(key => ({name: key.email, value: key.key})) .thru(keys => keys.concat([{name: 'add a new key', value: 'more'}])) .compact() .value(); // Helper to get preferred key exports.getPreferredKey = answers => { return answers['lagoon-auth-generate'] || answers['auth-generate'] || answers['lagoon-auth'] || answers['auth']; }; /* * Parses a key over defaults to extact key/host/port info */ exports.parseKey = (key = {}) => { // Split the "key" and get it const splitter = key.split('@'); const keyPath = _.first(splitter); // Now handle the host part const lagoon = keyDefaults; // If host part of splitter exists lets update things if (splitter[1]) { const parts = splitter[1].split(':'); if (parts[0]) lagoon.host = parts[0]; if (parts[1]) lagoon.port = parts[1]; } return {keyPath, host: lagoon.host, port: lagoon.port}; }; /* * Sort keys by most recent */ exports.sortKeys = (...sources) => _(_.flatten([...sources])) .filter(key => key !== null) .sortBy('date') .groupBy('key') .map(keys => _.last(keys)) .value();
kalabox/lando
integrations/lando-lagoon/lib/keys.js
JavaScript
gpl-3.0
1,637
/* * Languages for annotation Javascript */ /* * Fetch a localized string * This is a function so that it can be replaced with another source of strings if desired * (e.g. in a database). The application uses short English-language strings as keys, so * that if the language source is lacking the key can be returned instead. */ function getLocalized( s ) { return LocalizedAnnotationStrings[ s ]; } LocalizedAnnotationStrings = { 'public annotation' : 'This annotation is public.', 'private annotation' : 'This annotation is private.', 'delete annotation button' : 'Delete this annotation.', 'annotation link button' : 'Link to another document.', 'annotation link label' : 'Select a document to link to.', 'delete annotation link button' : 'Remove this link.', 'annotation expand edit button' : 'Click to display margin note editor', 'annotation collapse edit button' : 'Click to display margin note drop-down list', 'annotation quote button' : 'Quote this annotation in a discussion post.', 'browser support of W3C range required for annotation creation' : 'Your browser does not support the W3C range standard, so you cannot create annotations.', 'select text to annotate' : 'You must select some text to annotate.', 'invalid selection' : 'Selection range is not valid.', 'corrupt XML from service' : 'An attempt to retrieve annotations from the server returned corrupt XML data.', 'note too long' : 'Please limit your margin note to 250 characters.', 'quote too long' : 'The passage you have attempted to highlight is too long. It may not exceed 1000 characters.', 'zero length quote' : 'You must select some text to annotate.', 'quote not found' : 'The highlighted passage could not be found', 'create overlapping edits' : 'You may not create overlapping edits', 'lang' : 'en' };
GeofG/marginalia-m
releases/marginalia-m-1.0/moodle/blocks/marginalia/marginalia-strings.js
JavaScript
gpl-3.0
1,860
/* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ var glMatrix = require("./common.js"); /** * @class 4x4 Matrix * @name mat4 */ var mat4 = { scalar: {}, SIMD: {} }; /** * Creates a new identity mat4 * * @returns {mat4} a new 4x4 matrix */ mat4.create = function() { var out = new glMatrix.ARRAY_TYPE(16); out[0] = 1; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = 1; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = 1; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; }; /** * Creates a new mat4 initialized with values from an existing matrix * * @param {mat4} a matrix to clone * @returns {mat4} a new 4x4 matrix */ mat4.clone = function(a) { var out = new glMatrix.ARRAY_TYPE(16); out[0] = a[0]; out[1] = a[1]; out[2] = a[2]; out[3] = a[3]; out[4] = a[4]; out[5] = a[5]; out[6] = a[6]; out[7] = a[7]; out[8] = a[8]; out[9] = a[9]; out[10] = a[10]; out[11] = a[11]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; return out; }; /** * Copy the values from one mat4 to another * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.copy = function(out, a) { out[0] = a[0]; out[1] = a[1]; out[2] = a[2]; out[3] = a[3]; out[4] = a[4]; out[5] = a[5]; out[6] = a[6]; out[7] = a[7]; out[8] = a[8]; out[9] = a[9]; out[10] = a[10]; out[11] = a[11]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; return out; }; /** * Create a new mat4 with the given values * * @param {Number} m00 Component in column 0, row 0 position (index 0) * @param {Number} m01 Component in column 0, row 1 position (index 1) * @param {Number} m02 Component in column 0, row 2 position (index 2) * @param {Number} m03 Component in column 0, row 3 position (index 3) * @param {Number} m10 Component in column 1, row 0 position (index 4) * @param {Number} m11 Component in column 1, row 1 position (index 5) * @param {Number} m12 Component in column 1, row 2 position (index 6) * @param {Number} m13 Component in column 1, row 3 position (index 7) * @param {Number} m20 Component in column 2, row 0 position (index 8) * @param {Number} m21 Component in column 2, row 1 position (index 9) * @param {Number} m22 Component in column 2, row 2 position (index 10) * @param {Number} m23 Component in column 2, row 3 position (index 11) * @param {Number} m30 Component in column 3, row 0 position (index 12) * @param {Number} m31 Component in column 3, row 1 position (index 13) * @param {Number} m32 Component in column 3, row 2 position (index 14) * @param {Number} m33 Component in column 3, row 3 position (index 15) * @returns {mat4} A new mat4 */ mat4.fromValues = function(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33) { var out = new glMatrix.ARRAY_TYPE(16); out[0] = m00; out[1] = m01; out[2] = m02; out[3] = m03; out[4] = m10; out[5] = m11; out[6] = m12; out[7] = m13; out[8] = m20; out[9] = m21; out[10] = m22; out[11] = m23; out[12] = m30; out[13] = m31; out[14] = m32; out[15] = m33; return out; }; /** * Set the components of a mat4 to the given values * * @param {mat4} out the receiving matrix * @param {Number} m00 Component in column 0, row 0 position (index 0) * @param {Number} m01 Component in column 0, row 1 position (index 1) * @param {Number} m02 Component in column 0, row 2 position (index 2) * @param {Number} m03 Component in column 0, row 3 position (index 3) * @param {Number} m10 Component in column 1, row 0 position (index 4) * @param {Number} m11 Component in column 1, row 1 position (index 5) * @param {Number} m12 Component in column 1, row 2 position (index 6) * @param {Number} m13 Component in column 1, row 3 position (index 7) * @param {Number} m20 Component in column 2, row 0 position (index 8) * @param {Number} m21 Component in column 2, row 1 position (index 9) * @param {Number} m22 Component in column 2, row 2 position (index 10) * @param {Number} m23 Component in column 2, row 3 position (index 11) * @param {Number} m30 Component in column 3, row 0 position (index 12) * @param {Number} m31 Component in column 3, row 1 position (index 13) * @param {Number} m32 Component in column 3, row 2 position (index 14) * @param {Number} m33 Component in column 3, row 3 position (index 15) * @returns {mat4} out */ mat4.set = function(out, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33) { out[0] = m00; out[1] = m01; out[2] = m02; out[3] = m03; out[4] = m10; out[5] = m11; out[6] = m12; out[7] = m13; out[8] = m20; out[9] = m21; out[10] = m22; out[11] = m23; out[12] = m30; out[13] = m31; out[14] = m32; out[15] = m33; return out; }; /** * Set a mat4 to the identity matrix * * @param {mat4} out the receiving matrix * @returns {mat4} out */ mat4.identity = function(out) { out[0] = 1; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = 1; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = 1; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; }; /** * Transpose the values of a mat4 not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.scalar.transpose = function(out, a) { // If we are transposing ourselves we can skip a few steps but have to cache some values if (out === a) { var a01 = a[1], a02 = a[2], a03 = a[3], a12 = a[6], a13 = a[7], a23 = a[11]; out[1] = a[4]; out[2] = a[8]; out[3] = a[12]; out[4] = a01; out[6] = a[9]; out[7] = a[13]; out[8] = a02; out[9] = a12; out[11] = a[14]; out[12] = a03; out[13] = a13; out[14] = a23; } else { out[0] = a[0]; out[1] = a[4]; out[2] = a[8]; out[3] = a[12]; out[4] = a[1]; out[5] = a[5]; out[6] = a[9]; out[7] = a[13]; out[8] = a[2]; out[9] = a[6]; out[10] = a[10]; out[11] = a[14]; out[12] = a[3]; out[13] = a[7]; out[14] = a[11]; out[15] = a[15]; } return out; }; /** * Transpose the values of a mat4 using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.SIMD.transpose = function(out, a) { var a0, a1, a2, a3, tmp01, tmp23, out0, out1, out2, out3; a0 = SIMD.Float32x4.load(a, 0); a1 = SIMD.Float32x4.load(a, 4); a2 = SIMD.Float32x4.load(a, 8); a3 = SIMD.Float32x4.load(a, 12); tmp01 = SIMD.Float32x4.shuffle(a0, a1, 0, 1, 4, 5); tmp23 = SIMD.Float32x4.shuffle(a2, a3, 0, 1, 4, 5); out0 = SIMD.Float32x4.shuffle(tmp01, tmp23, 0, 2, 4, 6); out1 = SIMD.Float32x4.shuffle(tmp01, tmp23, 1, 3, 5, 7); SIMD.Float32x4.store(out, 0, out0); SIMD.Float32x4.store(out, 4, out1); tmp01 = SIMD.Float32x4.shuffle(a0, a1, 2, 3, 6, 7); tmp23 = SIMD.Float32x4.shuffle(a2, a3, 2, 3, 6, 7); out2 = SIMD.Float32x4.shuffle(tmp01, tmp23, 0, 2, 4, 6); out3 = SIMD.Float32x4.shuffle(tmp01, tmp23, 1, 3, 5, 7); SIMD.Float32x4.store(out, 8, out2); SIMD.Float32x4.store(out, 12, out3); return out; }; /** * Transpse a mat4 using SIMD if available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.transpose = glMatrix.USE_SIMD ? mat4.SIMD.transpose : mat4.scalar.transpose; /** * Inverts a mat4 not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.scalar.invert = function(out, a) { var a00 = a[0], a01 = a[1], a02 = a[2], a03 = a[3], a10 = a[4], a11 = a[5], a12 = a[6], a13 = a[7], a20 = a[8], a21 = a[9], a22 = a[10], a23 = a[11], a30 = a[12], a31 = a[13], a32 = a[14], a33 = a[15], b00 = a00 * a11 - a01 * a10, b01 = a00 * a12 - a02 * a10, b02 = a00 * a13 - a03 * a10, b03 = a01 * a12 - a02 * a11, b04 = a01 * a13 - a03 * a11, b05 = a02 * a13 - a03 * a12, b06 = a20 * a31 - a21 * a30, b07 = a20 * a32 - a22 * a30, b08 = a20 * a33 - a23 * a30, b09 = a21 * a32 - a22 * a31, b10 = a21 * a33 - a23 * a31, b11 = a22 * a33 - a23 * a32, // Calculate the determinant det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06; if (!det) { return null; } det = 1.0 / det; out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det; out[1] = (a02 * b10 - a01 * b11 - a03 * b09) * det; out[2] = (a31 * b05 - a32 * b04 + a33 * b03) * det; out[3] = (a22 * b04 - a21 * b05 - a23 * b03) * det; out[4] = (a12 * b08 - a10 * b11 - a13 * b07) * det; out[5] = (a00 * b11 - a02 * b08 + a03 * b07) * det; out[6] = (a32 * b02 - a30 * b05 - a33 * b01) * det; out[7] = (a20 * b05 - a22 * b02 + a23 * b01) * det; out[8] = (a10 * b10 - a11 * b08 + a13 * b06) * det; out[9] = (a01 * b08 - a00 * b10 - a03 * b06) * det; out[10] = (a30 * b04 - a31 * b02 + a33 * b00) * det; out[11] = (a21 * b02 - a20 * b04 - a23 * b00) * det; out[12] = (a11 * b07 - a10 * b09 - a12 * b06) * det; out[13] = (a00 * b09 - a01 * b07 + a02 * b06) * det; out[14] = (a31 * b01 - a30 * b03 - a32 * b00) * det; out[15] = (a20 * b03 - a21 * b01 + a22 * b00) * det; return out; }; /** * Inverts a mat4 using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.SIMD.invert = function(out, a) { var row0, row1, row2, row3, tmp1, minor0, minor1, minor2, minor3, det, a0 = SIMD.Float32x4.load(a, 0), a1 = SIMD.Float32x4.load(a, 4), a2 = SIMD.Float32x4.load(a, 8), a3 = SIMD.Float32x4.load(a, 12); // Compute matrix adjugate tmp1 = SIMD.Float32x4.shuffle(a0, a1, 0, 1, 4, 5); row1 = SIMD.Float32x4.shuffle(a2, a3, 0, 1, 4, 5); row0 = SIMD.Float32x4.shuffle(tmp1, row1, 0, 2, 4, 6); row1 = SIMD.Float32x4.shuffle(row1, tmp1, 1, 3, 5, 7); tmp1 = SIMD.Float32x4.shuffle(a0, a1, 2, 3, 6, 7); row3 = SIMD.Float32x4.shuffle(a2, a3, 2, 3, 6, 7); row2 = SIMD.Float32x4.shuffle(tmp1, row3, 0, 2, 4, 6); row3 = SIMD.Float32x4.shuffle(row3, tmp1, 1, 3, 5, 7); tmp1 = SIMD.Float32x4.mul(row2, row3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor0 = SIMD.Float32x4.mul(row1, tmp1); minor1 = SIMD.Float32x4.mul(row0, tmp1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor0 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row1, tmp1), minor0); minor1 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row0, tmp1), minor1); minor1 = SIMD.Float32x4.swizzle(minor1, 2, 3, 0, 1); tmp1 = SIMD.Float32x4.mul(row1, row2); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor0 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row3, tmp1), minor0); minor3 = SIMD.Float32x4.mul(row0, tmp1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor0 = SIMD.Float32x4.sub(minor0, SIMD.Float32x4.mul(row3, tmp1)); minor3 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row0, tmp1), minor3); minor3 = SIMD.Float32x4.swizzle(minor3, 2, 3, 0, 1); tmp1 = SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(row1, 2, 3, 0, 1), row3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); row2 = SIMD.Float32x4.swizzle(row2, 2, 3, 0, 1); minor0 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row2, tmp1), minor0); minor2 = SIMD.Float32x4.mul(row0, tmp1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor0 = SIMD.Float32x4.sub(minor0, SIMD.Float32x4.mul(row2, tmp1)); minor2 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row0, tmp1), minor2); minor2 = SIMD.Float32x4.swizzle(minor2, 2, 3, 0, 1); tmp1 = SIMD.Float32x4.mul(row0, row1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor2 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row3, tmp1), minor2); minor3 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row2, tmp1), minor3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor2 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row3, tmp1), minor2); minor3 = SIMD.Float32x4.sub(minor3, SIMD.Float32x4.mul(row2, tmp1)); tmp1 = SIMD.Float32x4.mul(row0, row3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor1 = SIMD.Float32x4.sub(minor1, SIMD.Float32x4.mul(row2, tmp1)); minor2 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row1, tmp1), minor2); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor1 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row2, tmp1), minor1); minor2 = SIMD.Float32x4.sub(minor2, SIMD.Float32x4.mul(row1, tmp1)); tmp1 = SIMD.Float32x4.mul(row0, row2); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor1 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row3, tmp1), minor1); minor3 = SIMD.Float32x4.sub(minor3, SIMD.Float32x4.mul(row1, tmp1)); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor1 = SIMD.Float32x4.sub(minor1, SIMD.Float32x4.mul(row3, tmp1)); minor3 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row1, tmp1), minor3); // Compute matrix determinant det = SIMD.Float32x4.mul(row0, minor0); det = SIMD.Float32x4.add(SIMD.Float32x4.swizzle(det, 2, 3, 0, 1), det); det = SIMD.Float32x4.add(SIMD.Float32x4.swizzle(det, 1, 0, 3, 2), det); tmp1 = SIMD.Float32x4.reciprocalApproximation(det); det = SIMD.Float32x4.sub( SIMD.Float32x4.add(tmp1, tmp1), SIMD.Float32x4.mul(det, SIMD.Float32x4.mul(tmp1, tmp1))); det = SIMD.Float32x4.swizzle(det, 0, 0, 0, 0); if (!det) { return null; } // Compute matrix inverse SIMD.Float32x4.store(out, 0, SIMD.Float32x4.mul(det, minor0)); SIMD.Float32x4.store(out, 4, SIMD.Float32x4.mul(det, minor1)); SIMD.Float32x4.store(out, 8, SIMD.Float32x4.mul(det, minor2)); SIMD.Float32x4.store(out, 12, SIMD.Float32x4.mul(det, minor3)); return out; } /** * Inverts a mat4 using SIMD if available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.invert = glMatrix.USE_SIMD ? mat4.SIMD.invert : mat4.scalar.invert; /** * Calculates the adjugate of a mat4 not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.scalar.adjoint = function(out, a) { var a00 = a[0], a01 = a[1], a02 = a[2], a03 = a[3], a10 = a[4], a11 = a[5], a12 = a[6], a13 = a[7], a20 = a[8], a21 = a[9], a22 = a[10], a23 = a[11], a30 = a[12], a31 = a[13], a32 = a[14], a33 = a[15]; out[0] = (a11 * (a22 * a33 - a23 * a32) - a21 * (a12 * a33 - a13 * a32) + a31 * (a12 * a23 - a13 * a22)); out[1] = -(a01 * (a22 * a33 - a23 * a32) - a21 * (a02 * a33 - a03 * a32) + a31 * (a02 * a23 - a03 * a22)); out[2] = (a01 * (a12 * a33 - a13 * a32) - a11 * (a02 * a33 - a03 * a32) + a31 * (a02 * a13 - a03 * a12)); out[3] = -(a01 * (a12 * a23 - a13 * a22) - a11 * (a02 * a23 - a03 * a22) + a21 * (a02 * a13 - a03 * a12)); out[4] = -(a10 * (a22 * a33 - a23 * a32) - a20 * (a12 * a33 - a13 * a32) + a30 * (a12 * a23 - a13 * a22)); out[5] = (a00 * (a22 * a33 - a23 * a32) - a20 * (a02 * a33 - a03 * a32) + a30 * (a02 * a23 - a03 * a22)); out[6] = -(a00 * (a12 * a33 - a13 * a32) - a10 * (a02 * a33 - a03 * a32) + a30 * (a02 * a13 - a03 * a12)); out[7] = (a00 * (a12 * a23 - a13 * a22) - a10 * (a02 * a23 - a03 * a22) + a20 * (a02 * a13 - a03 * a12)); out[8] = (a10 * (a21 * a33 - a23 * a31) - a20 * (a11 * a33 - a13 * a31) + a30 * (a11 * a23 - a13 * a21)); out[9] = -(a00 * (a21 * a33 - a23 * a31) - a20 * (a01 * a33 - a03 * a31) + a30 * (a01 * a23 - a03 * a21)); out[10] = (a00 * (a11 * a33 - a13 * a31) - a10 * (a01 * a33 - a03 * a31) + a30 * (a01 * a13 - a03 * a11)); out[11] = -(a00 * (a11 * a23 - a13 * a21) - a10 * (a01 * a23 - a03 * a21) + a20 * (a01 * a13 - a03 * a11)); out[12] = -(a10 * (a21 * a32 - a22 * a31) - a20 * (a11 * a32 - a12 * a31) + a30 * (a11 * a22 - a12 * a21)); out[13] = (a00 * (a21 * a32 - a22 * a31) - a20 * (a01 * a32 - a02 * a31) + a30 * (a01 * a22 - a02 * a21)); out[14] = -(a00 * (a11 * a32 - a12 * a31) - a10 * (a01 * a32 - a02 * a31) + a30 * (a01 * a12 - a02 * a11)); out[15] = (a00 * (a11 * a22 - a12 * a21) - a10 * (a01 * a22 - a02 * a21) + a20 * (a01 * a12 - a02 * a11)); return out; }; /** * Calculates the adjugate of a mat4 using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.SIMD.adjoint = function(out, a) { var a0, a1, a2, a3; var row0, row1, row2, row3; var tmp1; var minor0, minor1, minor2, minor3; a0 = SIMD.Float32x4.load(a, 0); a1 = SIMD.Float32x4.load(a, 4); a2 = SIMD.Float32x4.load(a, 8); a3 = SIMD.Float32x4.load(a, 12); // Transpose the source matrix. Sort of. Not a true transpose operation tmp1 = SIMD.Float32x4.shuffle(a0, a1, 0, 1, 4, 5); row1 = SIMD.Float32x4.shuffle(a2, a3, 0, 1, 4, 5); row0 = SIMD.Float32x4.shuffle(tmp1, row1, 0, 2, 4, 6); row1 = SIMD.Float32x4.shuffle(row1, tmp1, 1, 3, 5, 7); tmp1 = SIMD.Float32x4.shuffle(a0, a1, 2, 3, 6, 7); row3 = SIMD.Float32x4.shuffle(a2, a3, 2, 3, 6, 7); row2 = SIMD.Float32x4.shuffle(tmp1, row3, 0, 2, 4, 6); row3 = SIMD.Float32x4.shuffle(row3, tmp1, 1, 3, 5, 7); tmp1 = SIMD.Float32x4.mul(row2, row3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor0 = SIMD.Float32x4.mul(row1, tmp1); minor1 = SIMD.Float32x4.mul(row0, tmp1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor0 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row1, tmp1), minor0); minor1 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row0, tmp1), minor1); minor1 = SIMD.Float32x4.swizzle(minor1, 2, 3, 0, 1); tmp1 = SIMD.Float32x4.mul(row1, row2); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor0 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row3, tmp1), minor0); minor3 = SIMD.Float32x4.mul(row0, tmp1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor0 = SIMD.Float32x4.sub(minor0, SIMD.Float32x4.mul(row3, tmp1)); minor3 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row0, tmp1), minor3); minor3 = SIMD.Float32x4.swizzle(minor3, 2, 3, 0, 1); tmp1 = SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(row1, 2, 3, 0, 1), row3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); row2 = SIMD.Float32x4.swizzle(row2, 2, 3, 0, 1); minor0 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row2, tmp1), minor0); minor2 = SIMD.Float32x4.mul(row0, tmp1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor0 = SIMD.Float32x4.sub(minor0, SIMD.Float32x4.mul(row2, tmp1)); minor2 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row0, tmp1), minor2); minor2 = SIMD.Float32x4.swizzle(minor2, 2, 3, 0, 1); tmp1 = SIMD.Float32x4.mul(row0, row1); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor2 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row3, tmp1), minor2); minor3 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row2, tmp1), minor3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor2 = SIMD.Float32x4.sub(SIMD.Float32x4.mul(row3, tmp1), minor2); minor3 = SIMD.Float32x4.sub(minor3, SIMD.Float32x4.mul(row2, tmp1)); tmp1 = SIMD.Float32x4.mul(row0, row3); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor1 = SIMD.Float32x4.sub(minor1, SIMD.Float32x4.mul(row2, tmp1)); minor2 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row1, tmp1), minor2); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor1 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row2, tmp1), minor1); minor2 = SIMD.Float32x4.sub(minor2, SIMD.Float32x4.mul(row1, tmp1)); tmp1 = SIMD.Float32x4.mul(row0, row2); tmp1 = SIMD.Float32x4.swizzle(tmp1, 1, 0, 3, 2); minor1 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row3, tmp1), minor1); minor3 = SIMD.Float32x4.sub(minor3, SIMD.Float32x4.mul(row1, tmp1)); tmp1 = SIMD.Float32x4.swizzle(tmp1, 2, 3, 0, 1); minor1 = SIMD.Float32x4.sub(minor1, SIMD.Float32x4.mul(row3, tmp1)); minor3 = SIMD.Float32x4.add(SIMD.Float32x4.mul(row1, tmp1), minor3); SIMD.Float32x4.store(out, 0, minor0); SIMD.Float32x4.store(out, 4, minor1); SIMD.Float32x4.store(out, 8, minor2); SIMD.Float32x4.store(out, 12, minor3); return out; }; /** * Calculates the adjugate of a mat4 using SIMD if available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the source matrix * @returns {mat4} out */ mat4.adjoint = glMatrix.USE_SIMD ? mat4.SIMD.adjoint : mat4.scalar.adjoint; /** * Calculates the determinant of a mat4 * * @param {mat4} a the source matrix * @returns {Number} determinant of a */ mat4.determinant = function (a) { var a00 = a[0], a01 = a[1], a02 = a[2], a03 = a[3], a10 = a[4], a11 = a[5], a12 = a[6], a13 = a[7], a20 = a[8], a21 = a[9], a22 = a[10], a23 = a[11], a30 = a[12], a31 = a[13], a32 = a[14], a33 = a[15], b00 = a00 * a11 - a01 * a10, b01 = a00 * a12 - a02 * a10, b02 = a00 * a13 - a03 * a10, b03 = a01 * a12 - a02 * a11, b04 = a01 * a13 - a03 * a11, b05 = a02 * a13 - a03 * a12, b06 = a20 * a31 - a21 * a30, b07 = a20 * a32 - a22 * a30, b08 = a20 * a33 - a23 * a30, b09 = a21 * a32 - a22 * a31, b10 = a21 * a33 - a23 * a31, b11 = a22 * a33 - a23 * a32; // Calculate the determinant return b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06; }; /** * Multiplies two mat4's explicitly using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the first operand, must be a Float32Array * @param {mat4} b the second operand, must be a Float32Array * @returns {mat4} out */ mat4.SIMD.multiply = function (out, a, b) { var a0 = SIMD.Float32x4.load(a, 0); var a1 = SIMD.Float32x4.load(a, 4); var a2 = SIMD.Float32x4.load(a, 8); var a3 = SIMD.Float32x4.load(a, 12); var b0 = SIMD.Float32x4.load(b, 0); var out0 = SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b0, 0, 0, 0, 0), a0), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b0, 1, 1, 1, 1), a1), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b0, 2, 2, 2, 2), a2), SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b0, 3, 3, 3, 3), a3)))); SIMD.Float32x4.store(out, 0, out0); var b1 = SIMD.Float32x4.load(b, 4); var out1 = SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b1, 0, 0, 0, 0), a0), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b1, 1, 1, 1, 1), a1), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b1, 2, 2, 2, 2), a2), SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b1, 3, 3, 3, 3), a3)))); SIMD.Float32x4.store(out, 4, out1); var b2 = SIMD.Float32x4.load(b, 8); var out2 = SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b2, 0, 0, 0, 0), a0), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b2, 1, 1, 1, 1), a1), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b2, 2, 2, 2, 2), a2), SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b2, 3, 3, 3, 3), a3)))); SIMD.Float32x4.store(out, 8, out2); var b3 = SIMD.Float32x4.load(b, 12); var out3 = SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b3, 0, 0, 0, 0), a0), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b3, 1, 1, 1, 1), a1), SIMD.Float32x4.add( SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b3, 2, 2, 2, 2), a2), SIMD.Float32x4.mul(SIMD.Float32x4.swizzle(b3, 3, 3, 3, 3), a3)))); SIMD.Float32x4.store(out, 12, out3); return out; }; /** * Multiplies two mat4's explicitly not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the first operand * @param {mat4} b the second operand * @returns {mat4} out */ mat4.scalar.multiply = function (out, a, b) { var a00 = a[0], a01 = a[1], a02 = a[2], a03 = a[3], a10 = a[4], a11 = a[5], a12 = a[6], a13 = a[7], a20 = a[8], a21 = a[9], a22 = a[10], a23 = a[11], a30 = a[12], a31 = a[13], a32 = a[14], a33 = a[15]; // Cache only the current line of the second matrix var b0 = b[0], b1 = b[1], b2 = b[2], b3 = b[3]; out[0] = b0*a00 + b1*a10 + b2*a20 + b3*a30; out[1] = b0*a01 + b1*a11 + b2*a21 + b3*a31; out[2] = b0*a02 + b1*a12 + b2*a22 + b3*a32; out[3] = b0*a03 + b1*a13 + b2*a23 + b3*a33; b0 = b[4]; b1 = b[5]; b2 = b[6]; b3 = b[7]; out[4] = b0*a00 + b1*a10 + b2*a20 + b3*a30; out[5] = b0*a01 + b1*a11 + b2*a21 + b3*a31; out[6] = b0*a02 + b1*a12 + b2*a22 + b3*a32; out[7] = b0*a03 + b1*a13 + b2*a23 + b3*a33; b0 = b[8]; b1 = b[9]; b2 = b[10]; b3 = b[11]; out[8] = b0*a00 + b1*a10 + b2*a20 + b3*a30; out[9] = b0*a01 + b1*a11 + b2*a21 + b3*a31; out[10] = b0*a02 + b1*a12 + b2*a22 + b3*a32; out[11] = b0*a03 + b1*a13 + b2*a23 + b3*a33; b0 = b[12]; b1 = b[13]; b2 = b[14]; b3 = b[15]; out[12] = b0*a00 + b1*a10 + b2*a20 + b3*a30; out[13] = b0*a01 + b1*a11 + b2*a21 + b3*a31; out[14] = b0*a02 + b1*a12 + b2*a22 + b3*a32; out[15] = b0*a03 + b1*a13 + b2*a23 + b3*a33; return out; }; /** * Multiplies two mat4's using SIMD if available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the first operand * @param {mat4} b the second operand * @returns {mat4} out */ mat4.multiply = glMatrix.USE_SIMD ? mat4.SIMD.multiply : mat4.scalar.multiply; /** * Alias for {@link mat4.multiply} * @function */ mat4.mul = mat4.multiply; /** * Translate a mat4 by the given vector not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to translate * @param {vec3} v vector to translate by * @returns {mat4} out */ mat4.scalar.translate = function (out, a, v) { var x = v[0], y = v[1], z = v[2], a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23; if (a === out) { out[12] = a[0] * x + a[4] * y + a[8] * z + a[12]; out[13] = a[1] * x + a[5] * y + a[9] * z + a[13]; out[14] = a[2] * x + a[6] * y + a[10] * z + a[14]; out[15] = a[3] * x + a[7] * y + a[11] * z + a[15]; } else { a00 = a[0]; a01 = a[1]; a02 = a[2]; a03 = a[3]; a10 = a[4]; a11 = a[5]; a12 = a[6]; a13 = a[7]; a20 = a[8]; a21 = a[9]; a22 = a[10]; a23 = a[11]; out[0] = a00; out[1] = a01; out[2] = a02; out[3] = a03; out[4] = a10; out[5] = a11; out[6] = a12; out[7] = a13; out[8] = a20; out[9] = a21; out[10] = a22; out[11] = a23; out[12] = a00 * x + a10 * y + a20 * z + a[12]; out[13] = a01 * x + a11 * y + a21 * z + a[13]; out[14] = a02 * x + a12 * y + a22 * z + a[14]; out[15] = a03 * x + a13 * y + a23 * z + a[15]; } return out; }; /** * Translates a mat4 by the given vector using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to translate * @param {vec3} v vector to translate by * @returns {mat4} out */ mat4.SIMD.translate = function (out, a, v) { var a0 = SIMD.Float32x4.load(a, 0), a1 = SIMD.Float32x4.load(a, 4), a2 = SIMD.Float32x4.load(a, 8), a3 = SIMD.Float32x4.load(a, 12), vec = SIMD.Float32x4(v[0], v[1], v[2] , 0); if (a !== out) { out[0] = a[0]; out[1] = a[1]; out[2] = a[2]; out[3] = a[3]; out[4] = a[4]; out[5] = a[5]; out[6] = a[6]; out[7] = a[7]; out[8] = a[8]; out[9] = a[9]; out[10] = a[10]; out[11] = a[11]; } a0 = SIMD.Float32x4.mul(a0, SIMD.Float32x4.swizzle(vec, 0, 0, 0, 0)); a1 = SIMD.Float32x4.mul(a1, SIMD.Float32x4.swizzle(vec, 1, 1, 1, 1)); a2 = SIMD.Float32x4.mul(a2, SIMD.Float32x4.swizzle(vec, 2, 2, 2, 2)); var t0 = SIMD.Float32x4.add(a0, SIMD.Float32x4.add(a1, SIMD.Float32x4.add(a2, a3))); SIMD.Float32x4.store(out, 12, t0); return out; }; /** * Translates a mat4 by the given vector using SIMD if available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to translate * @param {vec3} v vector to translate by * @returns {mat4} out */ mat4.translate = glMatrix.USE_SIMD ? mat4.SIMD.translate : mat4.scalar.translate; /** * Scales the mat4 by the dimensions in the given vec3 not using vectorization * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to scale * @param {vec3} v the vec3 to scale the matrix by * @returns {mat4} out **/ mat4.scalar.scale = function(out, a, v) { var x = v[0], y = v[1], z = v[2]; out[0] = a[0] * x; out[1] = a[1] * x; out[2] = a[2] * x; out[3] = a[3] * x; out[4] = a[4] * y; out[5] = a[5] * y; out[6] = a[6] * y; out[7] = a[7] * y; out[8] = a[8] * z; out[9] = a[9] * z; out[10] = a[10] * z; out[11] = a[11] * z; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; return out; }; /** * Scales the mat4 by the dimensions in the given vec3 using vectorization * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to scale * @param {vec3} v the vec3 to scale the matrix by * @returns {mat4} out **/ mat4.SIMD.scale = function(out, a, v) { var a0, a1, a2; var vec = SIMD.Float32x4(v[0], v[1], v[2], 0); a0 = SIMD.Float32x4.load(a, 0); SIMD.Float32x4.store( out, 0, SIMD.Float32x4.mul(a0, SIMD.Float32x4.swizzle(vec, 0, 0, 0, 0))); a1 = SIMD.Float32x4.load(a, 4); SIMD.Float32x4.store( out, 4, SIMD.Float32x4.mul(a1, SIMD.Float32x4.swizzle(vec, 1, 1, 1, 1))); a2 = SIMD.Float32x4.load(a, 8); SIMD.Float32x4.store( out, 8, SIMD.Float32x4.mul(a2, SIMD.Float32x4.swizzle(vec, 2, 2, 2, 2))); out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; return out; }; /** * Scales the mat4 by the dimensions in the given vec3 using SIMD if available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to scale * @param {vec3} v the vec3 to scale the matrix by * @returns {mat4} out */ mat4.scale = glMatrix.USE_SIMD ? mat4.SIMD.scale : mat4.scalar.scale; /** * Rotates a mat4 by the given angle around the given axis * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @param {vec3} axis the axis to rotate around * @returns {mat4} out */ mat4.rotate = function (out, a, rad, axis) { var x = axis[0], y = axis[1], z = axis[2], len = Math.sqrt(x * x + y * y + z * z), s, c, t, a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23, b00, b01, b02, b10, b11, b12, b20, b21, b22; if (Math.abs(len) < glMatrix.EPSILON) { return null; } len = 1 / len; x *= len; y *= len; z *= len; s = Math.sin(rad); c = Math.cos(rad); t = 1 - c; a00 = a[0]; a01 = a[1]; a02 = a[2]; a03 = a[3]; a10 = a[4]; a11 = a[5]; a12 = a[6]; a13 = a[7]; a20 = a[8]; a21 = a[9]; a22 = a[10]; a23 = a[11]; // Construct the elements of the rotation matrix b00 = x * x * t + c; b01 = y * x * t + z * s; b02 = z * x * t - y * s; b10 = x * y * t - z * s; b11 = y * y * t + c; b12 = z * y * t + x * s; b20 = x * z * t + y * s; b21 = y * z * t - x * s; b22 = z * z * t + c; // Perform rotation-specific matrix multiplication out[0] = a00 * b00 + a10 * b01 + a20 * b02; out[1] = a01 * b00 + a11 * b01 + a21 * b02; out[2] = a02 * b00 + a12 * b01 + a22 * b02; out[3] = a03 * b00 + a13 * b01 + a23 * b02; out[4] = a00 * b10 + a10 * b11 + a20 * b12; out[5] = a01 * b10 + a11 * b11 + a21 * b12; out[6] = a02 * b10 + a12 * b11 + a22 * b12; out[7] = a03 * b10 + a13 * b11 + a23 * b12; out[8] = a00 * b20 + a10 * b21 + a20 * b22; out[9] = a01 * b20 + a11 * b21 + a21 * b22; out[10] = a02 * b20 + a12 * b21 + a22 * b22; out[11] = a03 * b20 + a13 * b21 + a23 * b22; if (a !== out) { // If the source and destination differ, copy the unchanged last row out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } return out; }; /** * Rotates a matrix by the given angle around the X axis not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.scalar.rotateX = function (out, a, rad) { var s = Math.sin(rad), c = Math.cos(rad), a10 = a[4], a11 = a[5], a12 = a[6], a13 = a[7], a20 = a[8], a21 = a[9], a22 = a[10], a23 = a[11]; if (a !== out) { // If the source and destination differ, copy the unchanged rows out[0] = a[0]; out[1] = a[1]; out[2] = a[2]; out[3] = a[3]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } // Perform axis-specific matrix multiplication out[4] = a10 * c + a20 * s; out[5] = a11 * c + a21 * s; out[6] = a12 * c + a22 * s; out[7] = a13 * c + a23 * s; out[8] = a20 * c - a10 * s; out[9] = a21 * c - a11 * s; out[10] = a22 * c - a12 * s; out[11] = a23 * c - a13 * s; return out; }; /** * Rotates a matrix by the given angle around the X axis using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.SIMD.rotateX = function (out, a, rad) { var s = SIMD.Float32x4.splat(Math.sin(rad)), c = SIMD.Float32x4.splat(Math.cos(rad)); if (a !== out) { // If the source and destination differ, copy the unchanged rows out[0] = a[0]; out[1] = a[1]; out[2] = a[2]; out[3] = a[3]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } // Perform axis-specific matrix multiplication var a_1 = SIMD.Float32x4.load(a, 4); var a_2 = SIMD.Float32x4.load(a, 8); SIMD.Float32x4.store(out, 4, SIMD.Float32x4.add(SIMD.Float32x4.mul(a_1, c), SIMD.Float32x4.mul(a_2, s))); SIMD.Float32x4.store(out, 8, SIMD.Float32x4.sub(SIMD.Float32x4.mul(a_2, c), SIMD.Float32x4.mul(a_1, s))); return out; }; /** * Rotates a matrix by the given angle around the X axis using SIMD if availabe and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.rotateX = glMatrix.USE_SIMD ? mat4.SIMD.rotateX : mat4.scalar.rotateX; /** * Rotates a matrix by the given angle around the Y axis not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.scalar.rotateY = function (out, a, rad) { var s = Math.sin(rad), c = Math.cos(rad), a00 = a[0], a01 = a[1], a02 = a[2], a03 = a[3], a20 = a[8], a21 = a[9], a22 = a[10], a23 = a[11]; if (a !== out) { // If the source and destination differ, copy the unchanged rows out[4] = a[4]; out[5] = a[5]; out[6] = a[6]; out[7] = a[7]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } // Perform axis-specific matrix multiplication out[0] = a00 * c - a20 * s; out[1] = a01 * c - a21 * s; out[2] = a02 * c - a22 * s; out[3] = a03 * c - a23 * s; out[8] = a00 * s + a20 * c; out[9] = a01 * s + a21 * c; out[10] = a02 * s + a22 * c; out[11] = a03 * s + a23 * c; return out; }; /** * Rotates a matrix by the given angle around the Y axis using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.SIMD.rotateY = function (out, a, rad) { var s = SIMD.Float32x4.splat(Math.sin(rad)), c = SIMD.Float32x4.splat(Math.cos(rad)); if (a !== out) { // If the source and destination differ, copy the unchanged rows out[4] = a[4]; out[5] = a[5]; out[6] = a[6]; out[7] = a[7]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } // Perform axis-specific matrix multiplication var a_0 = SIMD.Float32x4.load(a, 0); var a_2 = SIMD.Float32x4.load(a, 8); SIMD.Float32x4.store(out, 0, SIMD.Float32x4.sub(SIMD.Float32x4.mul(a_0, c), SIMD.Float32x4.mul(a_2, s))); SIMD.Float32x4.store(out, 8, SIMD.Float32x4.add(SIMD.Float32x4.mul(a_0, s), SIMD.Float32x4.mul(a_2, c))); return out; }; /** * Rotates a matrix by the given angle around the Y axis if SIMD available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.rotateY = glMatrix.USE_SIMD ? mat4.SIMD.rotateY : mat4.scalar.rotateY; /** * Rotates a matrix by the given angle around the Z axis not using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.scalar.rotateZ = function (out, a, rad) { var s = Math.sin(rad), c = Math.cos(rad), a00 = a[0], a01 = a[1], a02 = a[2], a03 = a[3], a10 = a[4], a11 = a[5], a12 = a[6], a13 = a[7]; if (a !== out) { // If the source and destination differ, copy the unchanged last row out[8] = a[8]; out[9] = a[9]; out[10] = a[10]; out[11] = a[11]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } // Perform axis-specific matrix multiplication out[0] = a00 * c + a10 * s; out[1] = a01 * c + a11 * s; out[2] = a02 * c + a12 * s; out[3] = a03 * c + a13 * s; out[4] = a10 * c - a00 * s; out[5] = a11 * c - a01 * s; out[6] = a12 * c - a02 * s; out[7] = a13 * c - a03 * s; return out; }; /** * Rotates a matrix by the given angle around the Z axis using SIMD * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.SIMD.rotateZ = function (out, a, rad) { var s = SIMD.Float32x4.splat(Math.sin(rad)), c = SIMD.Float32x4.splat(Math.cos(rad)); if (a !== out) { // If the source and destination differ, copy the unchanged last row out[8] = a[8]; out[9] = a[9]; out[10] = a[10]; out[11] = a[11]; out[12] = a[12]; out[13] = a[13]; out[14] = a[14]; out[15] = a[15]; } // Perform axis-specific matrix multiplication var a_0 = SIMD.Float32x4.load(a, 0); var a_1 = SIMD.Float32x4.load(a, 4); SIMD.Float32x4.store(out, 0, SIMD.Float32x4.add(SIMD.Float32x4.mul(a_0, c), SIMD.Float32x4.mul(a_1, s))); SIMD.Float32x4.store(out, 4, SIMD.Float32x4.sub(SIMD.Float32x4.mul(a_1, c), SIMD.Float32x4.mul(a_0, s))); return out; }; /** * Rotates a matrix by the given angle around the Z axis if SIMD available and enabled * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to rotate * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.rotateZ = glMatrix.USE_SIMD ? mat4.SIMD.rotateZ : mat4.scalar.rotateZ; /** * Creates a matrix from a vector translation * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.translate(dest, dest, vec); * * @param {mat4} out mat4 receiving operation result * @param {vec3} v Translation vector * @returns {mat4} out */ mat4.fromTranslation = function(out, v) { out[0] = 1; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = 1; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = 1; out[11] = 0; out[12] = v[0]; out[13] = v[1]; out[14] = v[2]; out[15] = 1; return out; } /** * Creates a matrix from a vector scaling * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.scale(dest, dest, vec); * * @param {mat4} out mat4 receiving operation result * @param {vec3} v Scaling vector * @returns {mat4} out */ mat4.fromScaling = function(out, v) { out[0] = v[0]; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = v[1]; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = v[2]; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; } /** * Creates a matrix from a given angle around a given axis * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.rotate(dest, dest, rad, axis); * * @param {mat4} out mat4 receiving operation result * @param {Number} rad the angle to rotate the matrix by * @param {vec3} axis the axis to rotate around * @returns {mat4} out */ mat4.fromRotation = function(out, rad, axis) { var x = axis[0], y = axis[1], z = axis[2], len = Math.sqrt(x * x + y * y + z * z), s, c, t; if (Math.abs(len) < glMatrix.EPSILON) { return null; } len = 1 / len; x *= len; y *= len; z *= len; s = Math.sin(rad); c = Math.cos(rad); t = 1 - c; // Perform rotation-specific matrix multiplication out[0] = x * x * t + c; out[1] = y * x * t + z * s; out[2] = z * x * t - y * s; out[3] = 0; out[4] = x * y * t - z * s; out[5] = y * y * t + c; out[6] = z * y * t + x * s; out[7] = 0; out[8] = x * z * t + y * s; out[9] = y * z * t - x * s; out[10] = z * z * t + c; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; } /** * Creates a matrix from the given angle around the X axis * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.rotateX(dest, dest, rad); * * @param {mat4} out mat4 receiving operation result * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.fromXRotation = function(out, rad) { var s = Math.sin(rad), c = Math.cos(rad); // Perform axis-specific matrix multiplication out[0] = 1; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = c; out[6] = s; out[7] = 0; out[8] = 0; out[9] = -s; out[10] = c; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; } /** * Creates a matrix from the given angle around the Y axis * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.rotateY(dest, dest, rad); * * @param {mat4} out mat4 receiving operation result * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.fromYRotation = function(out, rad) { var s = Math.sin(rad), c = Math.cos(rad); // Perform axis-specific matrix multiplication out[0] = c; out[1] = 0; out[2] = -s; out[3] = 0; out[4] = 0; out[5] = 1; out[6] = 0; out[7] = 0; out[8] = s; out[9] = 0; out[10] = c; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; } /** * Creates a matrix from the given angle around the Z axis * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.rotateZ(dest, dest, rad); * * @param {mat4} out mat4 receiving operation result * @param {Number} rad the angle to rotate the matrix by * @returns {mat4} out */ mat4.fromZRotation = function(out, rad) { var s = Math.sin(rad), c = Math.cos(rad); // Perform axis-specific matrix multiplication out[0] = c; out[1] = s; out[2] = 0; out[3] = 0; out[4] = -s; out[5] = c; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = 1; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; } /** * Creates a matrix from a quaternion rotation and vector translation * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.translate(dest, vec); * var quatMat = mat4.create(); * quat4.toMat4(quat, quatMat); * mat4.multiply(dest, quatMat); * * @param {mat4} out mat4 receiving operation result * @param {quat4} q Rotation quaternion * @param {vec3} v Translation vector * @returns {mat4} out */ mat4.fromRotationTranslation = function (out, q, v) { // Quaternion math var x = q[0], y = q[1], z = q[2], w = q[3], x2 = x + x, y2 = y + y, z2 = z + z, xx = x * x2, xy = x * y2, xz = x * z2, yy = y * y2, yz = y * z2, zz = z * z2, wx = w * x2, wy = w * y2, wz = w * z2; out[0] = 1 - (yy + zz); out[1] = xy + wz; out[2] = xz - wy; out[3] = 0; out[4] = xy - wz; out[5] = 1 - (xx + zz); out[6] = yz + wx; out[7] = 0; out[8] = xz + wy; out[9] = yz - wx; out[10] = 1 - (xx + yy); out[11] = 0; out[12] = v[0]; out[13] = v[1]; out[14] = v[2]; out[15] = 1; return out; }; /** * Returns the translation vector component of a transformation * matrix. If a matrix is built with fromRotationTranslation, * the returned vector will be the same as the translation vector * originally supplied. * @param {vec3} out Vector to receive translation component * @param {mat4} mat Matrix to be decomposed (input) * @return {vec3} out */ mat4.getTranslation = function (out, mat) { out[0] = mat[12]; out[1] = mat[13]; out[2] = mat[14]; return out; }; /** * Returns the scaling factor component of a transformation * matrix. If a matrix is built with fromRotationTranslationScale * with a normalized Quaternion paramter, the returned vector will be * the same as the scaling vector * originally supplied. * @param {vec3} out Vector to receive scaling factor component * @param {mat4} mat Matrix to be decomposed (input) * @return {vec3} out */ mat4.getScaling = function (out, mat) { var m11 = mat[0], m12 = mat[1], m13 = mat[2], m21 = mat[4], m22 = mat[5], m23 = mat[6], m31 = mat[8], m32 = mat[9], m33 = mat[10]; out[0] = Math.sqrt(m11 * m11 + m12 * m12 + m13 * m13); out[1] = Math.sqrt(m21 * m21 + m22 * m22 + m23 * m23); out[2] = Math.sqrt(m31 * m31 + m32 * m32 + m33 * m33); return out; }; /** * Returns a quaternion representing the rotational component * of a transformation matrix. If a matrix is built with * fromRotationTranslation, the returned quaternion will be the * same as the quaternion originally supplied. * @param {quat} out Quaternion to receive the rotation component * @param {mat4} mat Matrix to be decomposed (input) * @return {quat} out */ mat4.getRotation = function (out, mat) { // Algorithm taken from http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm var trace = mat[0] + mat[5] + mat[10]; var S = 0; if (trace > 0) { S = Math.sqrt(trace + 1.0) * 2; out[3] = 0.25 * S; out[0] = (mat[6] - mat[9]) / S; out[1] = (mat[8] - mat[2]) / S; out[2] = (mat[1] - mat[4]) / S; } else if ((mat[0] > mat[5])&(mat[0] > mat[10])) { S = Math.sqrt(1.0 + mat[0] - mat[5] - mat[10]) * 2; out[3] = (mat[6] - mat[9]) / S; out[0] = 0.25 * S; out[1] = (mat[1] + mat[4]) / S; out[2] = (mat[8] + mat[2]) / S; } else if (mat[5] > mat[10]) { S = Math.sqrt(1.0 + mat[5] - mat[0] - mat[10]) * 2; out[3] = (mat[8] - mat[2]) / S; out[0] = (mat[1] + mat[4]) / S; out[1] = 0.25 * S; out[2] = (mat[6] + mat[9]) / S; } else { S = Math.sqrt(1.0 + mat[10] - mat[0] - mat[5]) * 2; out[3] = (mat[1] - mat[4]) / S; out[0] = (mat[8] + mat[2]) / S; out[1] = (mat[6] + mat[9]) / S; out[2] = 0.25 * S; } return out; }; /** * Creates a matrix from a quaternion rotation, vector translation and vector scale * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.translate(dest, vec); * var quatMat = mat4.create(); * quat4.toMat4(quat, quatMat); * mat4.multiply(dest, quatMat); * mat4.scale(dest, scale) * * @param {mat4} out mat4 receiving operation result * @param {quat4} q Rotation quaternion * @param {vec3} v Translation vector * @param {vec3} s Scaling vector * @returns {mat4} out */ mat4.fromRotationTranslationScale = function (out, q, v, s) { // Quaternion math var x = q[0], y = q[1], z = q[2], w = q[3], x2 = x + x, y2 = y + y, z2 = z + z, xx = x * x2, xy = x * y2, xz = x * z2, yy = y * y2, yz = y * z2, zz = z * z2, wx = w * x2, wy = w * y2, wz = w * z2, sx = s[0], sy = s[1], sz = s[2]; out[0] = (1 - (yy + zz)) * sx; out[1] = (xy + wz) * sx; out[2] = (xz - wy) * sx; out[3] = 0; out[4] = (xy - wz) * sy; out[5] = (1 - (xx + zz)) * sy; out[6] = (yz + wx) * sy; out[7] = 0; out[8] = (xz + wy) * sz; out[9] = (yz - wx) * sz; out[10] = (1 - (xx + yy)) * sz; out[11] = 0; out[12] = v[0]; out[13] = v[1]; out[14] = v[2]; out[15] = 1; return out; }; /** * Creates a matrix from a quaternion rotation, vector translation and vector scale, rotating and scaling around the given origin * This is equivalent to (but much faster than): * * mat4.identity(dest); * mat4.translate(dest, vec); * mat4.translate(dest, origin); * var quatMat = mat4.create(); * quat4.toMat4(quat, quatMat); * mat4.multiply(dest, quatMat); * mat4.scale(dest, scale) * mat4.translate(dest, negativeOrigin); * * @param {mat4} out mat4 receiving operation result * @param {quat4} q Rotation quaternion * @param {vec3} v Translation vector * @param {vec3} s Scaling vector * @param {vec3} o The origin vector around which to scale and rotate * @returns {mat4} out */ mat4.fromRotationTranslationScaleOrigin = function (out, q, v, s, o) { // Quaternion math var x = q[0], y = q[1], z = q[2], w = q[3], x2 = x + x, y2 = y + y, z2 = z + z, xx = x * x2, xy = x * y2, xz = x * z2, yy = y * y2, yz = y * z2, zz = z * z2, wx = w * x2, wy = w * y2, wz = w * z2, sx = s[0], sy = s[1], sz = s[2], ox = o[0], oy = o[1], oz = o[2]; out[0] = (1 - (yy + zz)) * sx; out[1] = (xy + wz) * sx; out[2] = (xz - wy) * sx; out[3] = 0; out[4] = (xy - wz) * sy; out[5] = (1 - (xx + zz)) * sy; out[6] = (yz + wx) * sy; out[7] = 0; out[8] = (xz + wy) * sz; out[9] = (yz - wx) * sz; out[10] = (1 - (xx + yy)) * sz; out[11] = 0; out[12] = v[0] + ox - (out[0] * ox + out[4] * oy + out[8] * oz); out[13] = v[1] + oy - (out[1] * ox + out[5] * oy + out[9] * oz); out[14] = v[2] + oz - (out[2] * ox + out[6] * oy + out[10] * oz); out[15] = 1; return out; }; /** * Calculates a 4x4 matrix from the given quaternion * * @param {mat4} out mat4 receiving operation result * @param {quat} q Quaternion to create matrix from * * @returns {mat4} out */ mat4.fromQuat = function (out, q) { var x = q[0], y = q[1], z = q[2], w = q[3], x2 = x + x, y2 = y + y, z2 = z + z, xx = x * x2, yx = y * x2, yy = y * y2, zx = z * x2, zy = z * y2, zz = z * z2, wx = w * x2, wy = w * y2, wz = w * z2; out[0] = 1 - yy - zz; out[1] = yx + wz; out[2] = zx - wy; out[3] = 0; out[4] = yx - wz; out[5] = 1 - xx - zz; out[6] = zy + wx; out[7] = 0; out[8] = zx + wy; out[9] = zy - wx; out[10] = 1 - xx - yy; out[11] = 0; out[12] = 0; out[13] = 0; out[14] = 0; out[15] = 1; return out; }; /** * Generates a frustum matrix with the given bounds * * @param {mat4} out mat4 frustum matrix will be written into * @param {Number} left Left bound of the frustum * @param {Number} right Right bound of the frustum * @param {Number} bottom Bottom bound of the frustum * @param {Number} top Top bound of the frustum * @param {Number} near Near bound of the frustum * @param {Number} far Far bound of the frustum * @returns {mat4} out */ mat4.frustum = function (out, left, right, bottom, top, near, far) { var rl = 1 / (right - left), tb = 1 / (top - bottom), nf = 1 / (near - far); out[0] = (near * 2) * rl; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = (near * 2) * tb; out[6] = 0; out[7] = 0; out[8] = (right + left) * rl; out[9] = (top + bottom) * tb; out[10] = (far + near) * nf; out[11] = -1; out[12] = 0; out[13] = 0; out[14] = (far * near * 2) * nf; out[15] = 0; return out; }; /** * Generates a perspective projection matrix with the given bounds * * @param {mat4} out mat4 frustum matrix will be written into * @param {number} fovy Vertical field of view in radians * @param {number} aspect Aspect ratio. typically viewport width/height * @param {number} near Near bound of the frustum * @param {number} far Far bound of the frustum * @returns {mat4} out */ mat4.perspective = function (out, fovy, aspect, near, far) { var f = 1.0 / Math.tan(fovy / 2), nf = 1 / (near - far); out[0] = f / aspect; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = f; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = (far + near) * nf; out[11] = -1; out[12] = 0; out[13] = 0; out[14] = (2 * far * near) * nf; out[15] = 0; return out; }; /** * Generates a perspective projection matrix with the given field of view. * This is primarily useful for generating projection matrices to be used * with the still experiemental WebVR API. * * @param {mat4} out mat4 frustum matrix will be written into * @param {Object} fov Object containing the following values: upDegrees, downDegrees, leftDegrees, rightDegrees * @param {number} near Near bound of the frustum * @param {number} far Far bound of the frustum * @returns {mat4} out */ mat4.perspectiveFromFieldOfView = function (out, fov, near, far) { var upTan = Math.tan(fov.upDegrees * Math.PI/180.0), downTan = Math.tan(fov.downDegrees * Math.PI/180.0), leftTan = Math.tan(fov.leftDegrees * Math.PI/180.0), rightTan = Math.tan(fov.rightDegrees * Math.PI/180.0), xScale = 2.0 / (leftTan + rightTan), yScale = 2.0 / (upTan + downTan); out[0] = xScale; out[1] = 0.0; out[2] = 0.0; out[3] = 0.0; out[4] = 0.0; out[5] = yScale; out[6] = 0.0; out[7] = 0.0; out[8] = -((leftTan - rightTan) * xScale * 0.5); out[9] = ((upTan - downTan) * yScale * 0.5); out[10] = far / (near - far); out[11] = -1.0; out[12] = 0.0; out[13] = 0.0; out[14] = (far * near) / (near - far); out[15] = 0.0; return out; } /** * Generates a orthogonal projection matrix with the given bounds * * @param {mat4} out mat4 frustum matrix will be written into * @param {number} left Left bound of the frustum * @param {number} right Right bound of the frustum * @param {number} bottom Bottom bound of the frustum * @param {number} top Top bound of the frustum * @param {number} near Near bound of the frustum * @param {number} far Far bound of the frustum * @returns {mat4} out */ mat4.ortho = function (out, left, right, bottom, top, near, far) { var lr = 1 / (left - right), bt = 1 / (bottom - top), nf = 1 / (near - far); out[0] = -2 * lr; out[1] = 0; out[2] = 0; out[3] = 0; out[4] = 0; out[5] = -2 * bt; out[6] = 0; out[7] = 0; out[8] = 0; out[9] = 0; out[10] = 2 * nf; out[11] = 0; out[12] = (left + right) * lr; out[13] = (top + bottom) * bt; out[14] = (far + near) * nf; out[15] = 1; return out; }; /** * Generates a look-at matrix with the given eye position, focal point, and up axis * * @param {mat4} out mat4 frustum matrix will be written into * @param {vec3} eye Position of the viewer * @param {vec3} center Point the viewer is looking at * @param {vec3} up vec3 pointing up * @returns {mat4} out */ mat4.lookAt = function (out, eye, center, up) { var x0, x1, x2, y0, y1, y2, z0, z1, z2, len, eyex = eye[0], eyey = eye[1], eyez = eye[2], upx = up[0], upy = up[1], upz = up[2], centerx = center[0], centery = center[1], centerz = center[2]; if (Math.abs(eyex - centerx) < glMatrix.EPSILON && Math.abs(eyey - centery) < glMatrix.EPSILON && Math.abs(eyez - centerz) < glMatrix.EPSILON) { return mat4.identity(out); } z0 = eyex - centerx; z1 = eyey - centery; z2 = eyez - centerz; len = 1 / Math.sqrt(z0 * z0 + z1 * z1 + z2 * z2); z0 *= len; z1 *= len; z2 *= len; x0 = upy * z2 - upz * z1; x1 = upz * z0 - upx * z2; x2 = upx * z1 - upy * z0; len = Math.sqrt(x0 * x0 + x1 * x1 + x2 * x2); if (!len) { x0 = 0; x1 = 0; x2 = 0; } else { len = 1 / len; x0 *= len; x1 *= len; x2 *= len; } y0 = z1 * x2 - z2 * x1; y1 = z2 * x0 - z0 * x2; y2 = z0 * x1 - z1 * x0; len = Math.sqrt(y0 * y0 + y1 * y1 + y2 * y2); if (!len) { y0 = 0; y1 = 0; y2 = 0; } else { len = 1 / len; y0 *= len; y1 *= len; y2 *= len; } out[0] = x0; out[1] = y0; out[2] = z0; out[3] = 0; out[4] = x1; out[5] = y1; out[6] = z1; out[7] = 0; out[8] = x2; out[9] = y2; out[10] = z2; out[11] = 0; out[12] = -(x0 * eyex + x1 * eyey + x2 * eyez); out[13] = -(y0 * eyex + y1 * eyey + y2 * eyez); out[14] = -(z0 * eyex + z1 * eyey + z2 * eyez); out[15] = 1; return out; }; /** * Returns a string representation of a mat4 * * @param {mat4} a matrix to represent as a string * @returns {String} string representation of the matrix */ mat4.str = function (a) { return 'mat4(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + a[3] + ', ' + a[4] + ', ' + a[5] + ', ' + a[6] + ', ' + a[7] + ', ' + a[8] + ', ' + a[9] + ', ' + a[10] + ', ' + a[11] + ', ' + a[12] + ', ' + a[13] + ', ' + a[14] + ', ' + a[15] + ')'; }; /** * Returns Frobenius norm of a mat4 * * @param {mat4} a the matrix to calculate Frobenius norm of * @returns {Number} Frobenius norm */ mat4.frob = function (a) { return(Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2) + Math.pow(a[3], 2) + Math.pow(a[4], 2) + Math.pow(a[5], 2) + Math.pow(a[6], 2) + Math.pow(a[7], 2) + Math.pow(a[8], 2) + Math.pow(a[9], 2) + Math.pow(a[10], 2) + Math.pow(a[11], 2) + Math.pow(a[12], 2) + Math.pow(a[13], 2) + Math.pow(a[14], 2) + Math.pow(a[15], 2) )) }; /** * Adds two mat4's * * @param {mat4} out the receiving matrix * @param {mat4} a the first operand * @param {mat4} b the second operand * @returns {mat4} out */ mat4.add = function(out, a, b) { out[0] = a[0] + b[0]; out[1] = a[1] + b[1]; out[2] = a[2] + b[2]; out[3] = a[3] + b[3]; out[4] = a[4] + b[4]; out[5] = a[5] + b[5]; out[6] = a[6] + b[6]; out[7] = a[7] + b[7]; out[8] = a[8] + b[8]; out[9] = a[9] + b[9]; out[10] = a[10] + b[10]; out[11] = a[11] + b[11]; out[12] = a[12] + b[12]; out[13] = a[13] + b[13]; out[14] = a[14] + b[14]; out[15] = a[15] + b[15]; return out; }; /** * Subtracts matrix b from matrix a * * @param {mat4} out the receiving matrix * @param {mat4} a the first operand * @param {mat4} b the second operand * @returns {mat4} out */ mat4.subtract = function(out, a, b) { out[0] = a[0] - b[0]; out[1] = a[1] - b[1]; out[2] = a[2] - b[2]; out[3] = a[3] - b[3]; out[4] = a[4] - b[4]; out[5] = a[5] - b[5]; out[6] = a[6] - b[6]; out[7] = a[7] - b[7]; out[8] = a[8] - b[8]; out[9] = a[9] - b[9]; out[10] = a[10] - b[10]; out[11] = a[11] - b[11]; out[12] = a[12] - b[12]; out[13] = a[13] - b[13]; out[14] = a[14] - b[14]; out[15] = a[15] - b[15]; return out; }; /** * Alias for {@link mat4.subtract} * @function */ mat4.sub = mat4.subtract; /** * Multiply each element of the matrix by a scalar. * * @param {mat4} out the receiving matrix * @param {mat4} a the matrix to scale * @param {Number} b amount to scale the matrix's elements by * @returns {mat4} out */ mat4.multiplyScalar = function(out, a, b) { out[0] = a[0] * b; out[1] = a[1] * b; out[2] = a[2] * b; out[3] = a[3] * b; out[4] = a[4] * b; out[5] = a[5] * b; out[6] = a[6] * b; out[7] = a[7] * b; out[8] = a[8] * b; out[9] = a[9] * b; out[10] = a[10] * b; out[11] = a[11] * b; out[12] = a[12] * b; out[13] = a[13] * b; out[14] = a[14] * b; out[15] = a[15] * b; return out; }; /** * Adds two mat4's after multiplying each element of the second operand by a scalar value. * * @param {mat4} out the receiving vector * @param {mat4} a the first operand * @param {mat4} b the second operand * @param {Number} scale the amount to scale b's elements by before adding * @returns {mat4} out */ mat4.multiplyScalarAndAdd = function(out, a, b, scale) { out[0] = a[0] + (b[0] * scale); out[1] = a[1] + (b[1] * scale); out[2] = a[2] + (b[2] * scale); out[3] = a[3] + (b[3] * scale); out[4] = a[4] + (b[4] * scale); out[5] = a[5] + (b[5] * scale); out[6] = a[6] + (b[6] * scale); out[7] = a[7] + (b[7] * scale); out[8] = a[8] + (b[8] * scale); out[9] = a[9] + (b[9] * scale); out[10] = a[10] + (b[10] * scale); out[11] = a[11] + (b[11] * scale); out[12] = a[12] + (b[12] * scale); out[13] = a[13] + (b[13] * scale); out[14] = a[14] + (b[14] * scale); out[15] = a[15] + (b[15] * scale); return out; }; /** * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===) * * @param {mat4} a The first matrix. * @param {mat4} b The second matrix. * @returns {Boolean} True if the matrices are equal, false otherwise. */ mat4.exactEquals = function (a, b) { return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8] && a[9] === b[9] && a[10] === b[10] && a[11] === b[11] && a[12] === b[12] && a[13] === b[13] && a[14] === b[14] && a[15] === b[15]; }; /** * Returns whether or not the matrices have approximately the same elements in the same position. * * @param {mat4} a The first matrix. * @param {mat4} b The second matrix. * @returns {Boolean} True if the matrices are equal, false otherwise. */ mat4.equals = function (a, b) { var a0 = a[0], a1 = a[1], a2 = a[2], a3 = a[3], a4 = a[4], a5 = a[5], a6 = a[6], a7 = a[7], a8 = a[8], a9 = a[9], a10 = a[10], a11 = a[11], a12 = a[12], a13 = a[13], a14 = a[14], a15 = a[15]; var b0 = b[0], b1 = b[1], b2 = b[2], b3 = b[3], b4 = b[4], b5 = b[5], b6 = b[6], b7 = b[7], b8 = b[8], b9 = b[9], b10 = b[10], b11 = b[11], b12 = b[12], b13 = b[13], b14 = b[14], b15 = b[15]; return (Math.abs(a0 - b0) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a8), Math.abs(b8)) && Math.abs(a9 - b9) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a9), Math.abs(b9)) && Math.abs(a10 - b10) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a10), Math.abs(b10)) && Math.abs(a11 - b11) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a11), Math.abs(b11)) && Math.abs(a12 - b12) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a12), Math.abs(b12)) && Math.abs(a13 - b13) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a13), Math.abs(b13)) && Math.abs(a14 - b14) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a14), Math.abs(b14)) && Math.abs(a15 - b15) <= glMatrix.EPSILON*Math.max(1.0, Math.abs(a15), Math.abs(b15))); }; module.exports = mat4;
Priyansh2/test
webgl/toji-gl-matrix-7c8d5dd/src/gl-matrix/mat4.js
JavaScript
gpl-3.0
67,936
// ----------------------------------------------------------------------------------- // // Lightbox v2.04 // by Lokesh Dhakar - http://www.lokeshdhakar.com // Last Modification: 2/9/08 // // For more information, visit: // http://lokeshdhakar.com/projects/lightbox2/ // // Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/ // - Free for use in both personal and commercial projects // - Attribution requires leaving author name, author link, and the license info intact. // // Thanks: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.com), and Thomas Fuchs(mir.aculo.us) for ideas, libs, and snippets. // Artemy Tregubenko (arty.name) for cleanup and help in updating to latest ver of proto-aculous. // // ----------------------------------------------------------------------------------- /* Table of Contents ----------------- Configuration Lightbox Class Declaration - initialize() - updateImageList() - start() - changeImage() - resizeImageContainer() - showImage() - updateDetails() - updateNav() - enableKeyboardNav() - disableKeyboardNav() - keyboardAction() - preloadNeighborImages() - end() Function Calls - document.observe() */ // ----------------------------------------------------------------------------------- // // Configurationl // LightboxOptions = Object.extend({ fileLoadingImage: 'templates/lightbox/images/loading.gif', fileBottomNavCloseImage: 'templates/lightbox/images/closelabel.gif', overlayOpacity: 0.8, // controls transparency of shadow overlay animate: true, // toggles resizing animations resizeSpeed: 8, // controls the speed of the image resizing animations (1=slowest and 10=fastest) borderSize: 10, //if you adjust the padding in the CSS, you will need to update this variable // When grouping images this is used to write: Image # of #. // Change it for non-english localization labelImage: "Image", labelOf: "sur" }, window.LightboxOptions || {}); // ----------------------------------------------------------------------------------- var Lightbox = Class.create(); Lightbox.prototype = { imageArray: [], activeImage: undefined, // initialize() // Constructor runs on completion of the DOM loading. Calls updateImageList and then // the function inserts html at the bottom of the page which is used to display the shadow // overlay and the image container. // initialize: function() { this.updateImageList(); this.keyboardAction = this.keyboardAction.bindAsEventListener(this); if (LightboxOptions.resizeSpeed > 10) LightboxOptions.resizeSpeed = 10; if (LightboxOptions.resizeSpeed < 1) LightboxOptions.resizeSpeed = 1; this.resizeDuration = LightboxOptions.animate ? ((11 - LightboxOptions.resizeSpeed) * 0.15) : 0; this.overlayDuration = LightboxOptions.animate ? 0.2 : 0; // shadow fade in/out duration // When Lightbox starts it will resize itself from 250 by 250 to the current image dimension. // If animations are turned off, it will be hidden as to prevent a flicker of a // white 250 by 250 box. var size = (LightboxOptions.animate ? 250 : 1) + 'px'; // Code inserts html at the bottom of the page that looks similar to this: // // <div id="overlay"></div> // <div id="lightbox"> // <div id="outerImageContainer"> // <div id="imageContainer"> // <img id="lightboxImage"> // <div style="" id="hoverNav"> // <a href="#" id="prevLink"></a> // <a href="#" id="nextLink"></a> // </div> // <div id="loading"> // <a href="#" id="loadingLink"> // <img src="images/loading.gif"> // </a> // </div> // </div> // </div> // <div id="imageDataContainer"> // <div id="imageData"> // <div id="imageDetails"> // <span id="caption"></span> // <span id="numberDisplay"></span> // </div> // <div id="bottomNav"> // <a href="#" id="bottomNavClose"> // <img src="images/close.gif"> // </a> // </div> // </div> // </div> // </div> var objBody = $$('body')[0]; objBody.appendChild(Builder.node('div',{id:'overlay'})); objBody.appendChild(Builder.node('div',{id:'lightbox'}, [ Builder.node('div',{id:'outerImageContainer'}, Builder.node('div',{id:'imageContainer'}, [ Builder.node('img',{id:'lightboxImage'}), Builder.node('div',{id:'hoverNav'}, [ Builder.node('a',{id:'prevLink', href: '#' }), Builder.node('a',{id:'nextLink', href: '#' }) ]), Builder.node('div',{id:'loading'}, Builder.node('a',{id:'loadingLink', href: '#' }, Builder.node('img', {src: LightboxOptions.fileLoadingImage}) ) ) ]) ), Builder.node('div', {id:'imageDataContainer'}, Builder.node('div',{id:'imageData'}, [ Builder.node('div',{id:'imageDetails'}, [ Builder.node('span',{id:'caption'}), Builder.node('span',{id:'numberDisplay'}) ]), Builder.node('div',{id:'bottomNav'}, Builder.node('a',{id:'bottomNavClose', href: '#' }, Builder.node('img', { src: LightboxOptions.fileBottomNavCloseImage }) ) ) ]) ) ])); $('overlay').hide().observe('click', (function() { this.end(); }).bind(this)); $('lightbox').hide().observe('click', (function(event) { if (event.element().id == 'lightbox') this.end(); }).bind(this)); $('outerImageContainer').setStyle({ width: size, height: size }); $('prevLink').observe('click', (function(event) { event.stop(); this.changeImage(this.activeImage - 1); }).bindAsEventListener(this)); $('nextLink').observe('click', (function(event) { event.stop(); this.changeImage(this.activeImage + 1); }).bindAsEventListener(this)); $('loadingLink').observe('click', (function(event) { event.stop(); this.end(); }).bind(this)); $('bottomNavClose').observe('click', (function(event) { event.stop(); this.end(); }).bind(this)); var th = this; (function(){ var ids = 'overlay lightbox outerImageContainer imageContainer lightboxImage hoverNav prevLink nextLink loading loadingLink ' + 'imageDataContainer imageData imageDetails caption numberDisplay bottomNav bottomNavClose'; $w(ids).each(function(id){ th[id] = $(id); }); }).defer(); }, // // updateImageList() // Loops through anchor tags looking for 'lightbox' references and applies onclick // events to appropriate links. You can rerun after dynamically adding images w/ajax. // updateImageList: function() { this.updateImageList = Prototype.emptyFunction; document.observe('click', (function(event){ var target = event.findElement('a[rel^=lightbox]') || event.findElement('area[rel^=lightbox]'); if (target) { event.stop(); this.start(target); } }).bind(this)); }, // // start() // Display overlay and lightbox. If image is part of a set, add siblings to imageArray. // start: function(imageLink) { $$('select', 'object', 'embed').each(function(node){ node.style.visibility = 'hidden' }); // stretch overlay to fill page and fade in var arrayPageSize = this.getPageSize(); $('overlay').setStyle({ width: arrayPageSize[0] + 'px', height: arrayPageSize[1] + 'px' }); new Effect.Appear(this.overlay, { duration: this.overlayDuration, from: 0.0, to: LightboxOptions.overlayOpacity }); this.imageArray = []; var imageNum = 0; if ((imageLink.rel == 'lightbox')){ // if image is NOT part of a set, add single image to imageArray this.imageArray.push([imageLink.href, imageLink.title]); } else { // if image is part of a set.. this.imageArray = $$(imageLink.tagName + '[href][rel="' + imageLink.rel + '"]'). collect(function(anchor){ return [anchor.href, anchor.title]; }). uniq(); while (this.imageArray[imageNum][0] != imageLink.href) { imageNum++; } } // calculate top and left offset for the lightbox var arrayPageScroll = document.viewport.getScrollOffsets(); var lightboxTop = arrayPageScroll[1] + (document.viewport.getHeight() / 10); var lightboxLeft = arrayPageScroll[0]; this.lightbox.setStyle({ top: lightboxTop + 'px', left: lightboxLeft + 'px' }).show(); this.changeImage(imageNum); }, // // changeImage() // Hide most elements and preload image in preparation for resizing image container. // changeImage: function(imageNum) { this.activeImage = imageNum; // update global var // hide elements during transition if (LightboxOptions.animate) this.loading.show(); this.lightboxImage.hide(); this.hoverNav.hide(); this.prevLink.hide(); this.nextLink.hide(); // HACK: Opera9 does not currently support scriptaculous opacity and appear fx this.imageDataContainer.setStyle({opacity: .0001}); this.numberDisplay.hide(); var imgPreloader = new Image(); // once image is preloaded, resize image container imgPreloader.onload = (function(){ this.lightboxImage.src = this.imageArray[this.activeImage][0]; this.resizeImageContainer(imgPreloader.width, imgPreloader.height); }).bind(this); imgPreloader.src = this.imageArray[this.activeImage][0]; }, // // resizeImageContainer() // resizeImageContainer: function(imgWidth, imgHeight) { // get current width and height var widthCurrent = this.outerImageContainer.getWidth(); var heightCurrent = this.outerImageContainer.getHeight(); // get new width and height var widthNew = (imgWidth + LightboxOptions.borderSize * 2); var heightNew = (imgHeight + LightboxOptions.borderSize * 2); // scalars based on change from old to new var xScale = (widthNew / widthCurrent) * 100; var yScale = (heightNew / heightCurrent) * 100; // calculate size difference between new and old image, and resize if necessary var wDiff = widthCurrent - widthNew; var hDiff = heightCurrent - heightNew; if (hDiff != 0) new Effect.Scale(this.outerImageContainer, yScale, {scaleX: false, duration: this.resizeDuration, queue: 'front'}); if (wDiff != 0) new Effect.Scale(this.outerImageContainer, xScale, {scaleY: false, duration: this.resizeDuration, delay: this.resizeDuration}); // if new and old image are same size and no scaling transition is necessary, // do a quick pause to prevent image flicker. var timeout = 0; if ((hDiff == 0) && (wDiff == 0)){ timeout = 100; if (Prototype.Browser.IE) timeout = 250; } (function(){ this.prevLink.setStyle({ height: imgHeight + 'px' }); this.nextLink.setStyle({ height: imgHeight + 'px' }); this.imageDataContainer.setStyle({ width: widthNew + 'px' }); this.showImage(); }).bind(this).delay(timeout / 1000); }, // // showImage() // Display image and begin preloading neighbors. // showImage: function(){ this.loading.hide(); new Effect.Appear(this.lightboxImage, { duration: this.resizeDuration, queue: 'end', afterFinish: (function(){ this.updateDetails(); }).bind(this) }); this.preloadNeighborImages(); }, // // updateDetails() // Display caption, image number, and bottom nav. // updateDetails: function() { // if caption is not null if (this.imageArray[this.activeImage][1] != ""){ this.caption.update(this.imageArray[this.activeImage][1]).show(); } // if image is part of set display 'Image x of x' if (this.imageArray.length > 1){ this.numberDisplay.update( LightboxOptions.labelImage + ' ' + (this.activeImage + 1) + ' ' + LightboxOptions.labelOf + ' ' + this.imageArray.length).show(); } new Effect.Parallel( [ new Effect.SlideDown(this.imageDataContainer, { sync: true, duration: this.resizeDuration, from: 0.0, to: 1.0 }), new Effect.Appear(this.imageDataContainer, { sync: true, duration: this.resizeDuration }) ], { duration: this.resizeDuration, afterFinish: (function() { // update overlay size and update nav var arrayPageSize = this.getPageSize(); this.overlay.setStyle({ height: arrayPageSize[1] + 'px' }); this.updateNav(); }).bind(this) } ); }, // // updateNav() // Display appropriate previous and next hover navigation. // updateNav: function() { this.hoverNav.show(); // if not first image in set, display prev image button if (this.activeImage > 0) this.prevLink.show(); // if not last image in set, display next image button if (this.activeImage < (this.imageArray.length - 1)) this.nextLink.show(); this.enableKeyboardNav(); }, // // enableKeyboardNav() // enableKeyboardNav: function() { document.observe('keydown', this.keyboardAction); }, // // disableKeyboardNav() // disableKeyboardNav: function() { document.stopObserving('keydown', this.keyboardAction); }, // // keyboardAction() // keyboardAction: function(event) { var keycode = event.keyCode; var escapeKey; if (event.DOM_VK_ESCAPE) { // mozilla escapeKey = event.DOM_VK_ESCAPE; } else { // ie escapeKey = 27; } var key = String.fromCharCode(keycode).toLowerCase(); if (key.match(/x|o|c/) || (keycode == escapeKey)){ // close lightbox this.end(); } else if ((key == 'p') || (keycode == 37)){ // display previous image if (this.activeImage != 0){ this.disableKeyboardNav(); this.changeImage(this.activeImage - 1); } } else if ((key == 'n') || (keycode == 39)){ // display next image if (this.activeImage != (this.imageArray.length - 1)){ this.disableKeyboardNav(); this.changeImage(this.activeImage + 1); } } }, // // preloadNeighborImages() // Preload previous and next images. // preloadNeighborImages: function(){ var preloadNextImage, preloadPrevImage; if (this.imageArray.length > this.activeImage + 1){ preloadNextImage = new Image(); preloadNextImage.src = this.imageArray[this.activeImage + 1][0]; } if (this.activeImage > 0){ preloadPrevImage = new Image(); preloadPrevImage.src = this.imageArray[this.activeImage - 1][0]; } }, // // end() // end: function() { this.disableKeyboardNav(); this.lightbox.hide(); new Effect.Fade(this.overlay, { duration: this.overlayDuration }); $$('select', 'object', 'embed').each(function(node){ node.style.visibility = 'visible' }); }, // // getPageSize() // getPageSize: function() { var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) { xScroll = window.innerWidth + window.scrollMaxX; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { // all except Explorer if(document.documentElement.clientWidth){ windowWidth = document.documentElement.clientWidth; } else { windowWidth = self.innerWidth; } windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } // for small pages with total height less then height of the viewport if(yScroll < windowHeight){ pageHeight = windowHeight; } else { pageHeight = yScroll; } // for small pages with total width less then width of the viewport if(xScroll < windowWidth){ pageWidth = xScroll; } else { pageWidth = windowWidth; } return [pageWidth,pageHeight]; } } document.observe('dom:loaded', function () { new Lightbox(); });
sebyx31/sebsews
templates/lightbox/js/lightbox.js
JavaScript
gpl-3.0
18,428
/** * Created by zacharymartin on 4/20/15. */ ParserUI.PARSING = 0; ParserUI.PLATES = 1; ParserUI.FEATURES = 2; ParserUI.EXPERIMENT = 3; ParserUI.MANUAL_ENTRY = "byManualEntry"; ParserUI.PLATE_LEVEL_FEATURE = "byFeature"; ParserUI.FEATURE_LIST_PLACEHOLDER = "--- features ---"; ParserUI.LABEL_LIST_PLACEHOLDER = "--- labels ---"; function ParserUI(parsingController){ this.parsingController = parsingController; this.parseOnlyModeOn = false; var _self = this; // construct a flash messenger var flashMessenger = new FlashMessenger("userMsgPanel"); // references to all UI elements by Tab // Parsing var parsingNameElement = document.getElementById("parsingName"); var machineNameElement = document.getElementById("machineName"); var wellRowElement = document.getElementById("plateDimensions"); var wellColumnElement = document.getElementById("assayType"); var parsingDescriptionElement = document.getElementById("parsingDescription"); var selectedFileElement = document.getElementById("selectedFile"); var filesInput = document.getElementById("files"); var chooseFileButton = document.getElementById("getFile"); var delimiterList = document.getElementById("delimiterList"); var delimiterOptions = []; // an array of all the options elements in the delimiter // list // ~~~~~~~~~~~~~~~~~~~~~ Plate ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var firstPlateCellRangeElement = document.getElementById("firstPlateCellRange"); var applyFirstPlateButton = document.getElementById("applyFirstPlate"); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Features ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var newFeatureButton = document.getElementById("newFeature"); var addFeatureButton = document.getElementById("saveFeature"); var deleteFeatureButton = document.getElementById("deleteFeature"); var applyFeaturesButton = document.getElementById("applyFeatures"); var featureCellRangeElement = document.getElementById("featureCellRange"); var featureCategoryElement = document.getElementById("featureCategory"); var featureLevelRadioButtonSet = document.getElementById("featureLevel"); var wellLevelRadioButton = document.getElementById("wellLevel"); var plateLevelRadioButton = document.getElementById("plateLevel"); var experimentLevelRadioButton = document.getElementById("experimentLevel"); var featureListElement = document.getElementById("featureList"); var featureOptions = []; // an array of all the options elements in the feature list var labelListElement = document.getElementById("labelList"); var labelOptions = []; // an array of all the options elements in the label list // ~~~~~~~~~~~~~~~~~~~~~~~~~ Experiment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var importAndSaveDataButton = document.getElementById("sendImportDataToServer"); var downloadFileImportButton = document.getElementById("downloadFileImport"); var downloadIntergroupButton = document.getElementById("downloadIntergroupFile"); var byPlateLevelFeatureRadioButton = document.getElementById("byFeature"); var byManualEntryRadioButton = document.getElementById("byManualEntry"); var plateLevelFeatureListElement = document.getElementById("plateLevelFeatureList"); var setPlateIdButton = document.getElementById("setPlateID"); var plateIdentifierList = document.getElementById("plateList"); var plateImportList = document.getElementById("plateImportList"); var experimentSelectizeElement; // an object representing the options in the experiment selectize element. This object // has a property for each option in the selectize element. The property name is the // name of the experiment and the displayed text for the option. The property value // id the experiment id and is the value of the selectize option var experimentSelectizeOptions = {}; var plateIdentifierSelectizeElement; var plateIdentifierSelectizeOptionValues = []; var byFeatureMethodDiv = document.getElementById("byFeatureMethod"); var byManualMethodDiv = document.getElementById("byManualEntryMethod"); //~~~~~~~~~~~~~~~~~~~~~~~~ General Elements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var $tabsElement = $("#tabs"); var parsingIDElement = document.getElementById("parsingId"); var saveConfigButton = document.getElementById("saveConfigToServer"); var saveAsConfigButton = document.getElementById("saveAsConfigToServer"); var selectedFiles; // ------------------- parsing tab getters and setters ------------------------------ this.getParsingName = function(){ if (_self.parseOnlyModeOn){ return parsingNameElement.innerHTML; } else { return parsingNameElement.value; } }; this.getPlateDimensions = function(){ if (_self.parseOnlyModeOn){ return wellRowElement.innerHTML; } else { return wellRowElement.value; } }; this.setPlateDimensions = function(plateDimensions){ if (_self.parseOnlyModeOn){ wellRowElement.innerHTML = plateDimensions; } else { wellRowElement.value = plateDimensions; } }; this.getAssayType = function(){ if (_self.parseOnlyModeOn){ return wellColumnElement.innerHTML; } else { return wellColumnElement.value; } }; this.setAssayType = function(assayType){ if (_self.parseOnlyModeOn){ wellColumnElement.innerHTML = assayType; } else { wellColumnElement.value = assayType; } }; this.setParsingName = function(parsingName){ if (_self.parseOnlyModeOn){ parsingNameElement.innerHTML = parsingName; } else { parsingNameElement.value = parsingName; } }; this.getMachineName = function(){ if (_self.parseOnlyModeOn){ return machineNameElement.innerHTML; } else { return machineNameElement.value; } }; this.setMachineName = function(machineName){ if (_self.parseOnlyModeOn){ machineNameElement.innerHTML = machineName; } else { machineNameElement.value = machineName; } }; this.getParsingDescription = function(){ if (_self.parseOnlyModeOn){ return parsingDescriptionElement.innerHTML; } else { return parsingDescriptionElement.value; } }; this.setParsingDescription = function(parsingDescription){ if (_self.parseOnlyModeOn){ parsingDescriptionElement.innerHTML = parsingDescription; } else { parsingDescriptionElement.value = parsingDescription; } }; this.getSelectedFileName = function(){ return selectedFileElement.innerHTML; }; this.setSelectedFileName = function(selectedFileName){ selectedFileElement.innerHTML = selectedFileName; }; this.getSelectedDelimiter = function(){ if (_self.parseOnlyModeOn){ return delimiterList.innerHTML; } else { return delimiterList.value; } }; this.setDelimiter = function(delimiterName){ if (delimiterName !== null){ if (_self.parseOnlyModeOn){ delimiterList.innerHTML = delimiterName; } else { delimiterList.value = delimiterName; } } else { if (_self.parseOnlyModeOn){ delimiterList.innerHTML = ""; } else { delimiterList.scrollTop = 0; } // deselect all options for (var i=0; i<delimiterOptions.length; i++){ delimiterOptions[i].selected = false; } } }; this.loadDelimiterList = function(delimiterNameArray){ // load the delimiterOptions array delimiterOptions = []; for (var i=0; i<delimiterNameArray.length; i++){ var optionName = delimiterNameArray[i]; var option = document.createElement("option"); delimiterOptions.push(option); option.setAttribute("value", optionName); option.innerHTML = optionName; } if (!_self.parseOnlyModeOn){ delimiterList.innerHTML = ""; // load the delimiter list for (var j=0; j<delimiterOptions.length; j++){ delimiterList.appendChild(delimiterOptions[j]) } } _self.setDelimiter(null); }; this.switchDelimiterListToSpan = function(){ var span = document.createElement("span"); span.innerHTML = _self.getSelectedDelimiter(); $(delimiterList).replaceWith(span); delimiterList = span; }; this.switchDelimiterListToSelect = function(){ var select = document.createElement("select"); for (var j=0; j<delimiterOptions.length; j++){ select.appendChild(delimiterOptions[j]); } select.value = _self.getSelectedDelimiter(); $(delimiterList).replaceWith(select); delimiterList = select; addEvent(select, "change", _self.handleDelimiterChange); }; this.getListedDelimiters = function(){ var delimiters = []; for (var i=0; i<delimiterOptions.length; i++){ delimiters.push(delimiterOptions[i].value); } return delimiters; }; // --------------------- parsing tab event handlers -------------------------------- this.handleDelimiterChange = function(event){ var selectedDelimiter = delimiterList.value; try{ _self.parsingController.changeDelimiter(selectedDelimiter); } catch (error){ _self.displayError(error); } }; this.handleFileSelect = function(event) { if (event.target && event.target.files){ // file input case selectedFiles = event.target.files; // FileList object } else if (event.dataTransfer && event.dataTransfer.files) { // drag and drop case selectedFiles = event.dataTransfer.files; } try{ _self.parsingController.loadFiles(selectedFiles); // if the files loaded without errors, display their names on the UI // TODO - display multiple file names _self.setSelectedFileName(selectedFiles[0].name); } catch (error){ _self.displayError(error); } }; // ---------------------- Plate tab getters and setters ------------------------------ this.getFirstPlateCellRange = function(){ var cellRange; try { if (_self.parseOnlyModeOn){ cellRange = ParserUI.convertStringToCellRange( firstPlateCellRangeElement.innerHTML); } else { cellRange = ParserUI.convertStringToCellRange(firstPlateCellRangeElement.value); } } catch (error) { _self.displayError(error); } return cellRange; }; this.setFirstPlateCellRange = function(firstPlateRange){ if (_self.parseOnlyModeOn){ firstPlateCellRangeElement.innerHTML = firstPlateRange.toString(); } else { firstPlateCellRangeElement.value = firstPlateRange.toString(); } }; // ---------------------- Plate tab event handlers ----------------------------------- this.handleFirstPlateCellRangeChange = function(){ var selectedCellRange = _self.getFirstPlateCellRange(); try { _self.parsingController.selectCells(selectedCellRange); } catch (error){ _self.displayError(error); } }; this.handleApplyFirstPlate = function(){ var selectedCellRange = _self.getFirstPlateCellRange(); try { _self.parsingController.defineFirstPlate(selectedCellRange); } catch (error){ _self.displayError(error); } }; // ----------------------- Features tab getters and setters -------------------------- this.getFeatureCellRange = function(){ var cellRange; try { if (_self.parseOnlyModeOn){ cellRange = ParserUI.convertStringToCellRange( featureCellRangeElement.innerHTML); } else { cellRange = ParserUI.convertStringToCellRange( featureCellRangeElement.value); } } catch (error){ _self.displayError(error); } return cellRange; }; this.setFeatureCellRange = function(featureRange){ if (_self.parseOnlyModeOn){ featureCellRangeElement.innerHTML = featureRange.toString(); } else { featureCellRangeElement.value = featureRange.toString(); } }; this.getFeatureLevel = function(){ var level = null; if (wellLevelRadioButton.checked){ level = WELL_LEVEL; } else if (document.getElementById("plateLevel").checked){ level = PLATE_LEVEL; } else if (document.getElementById("experimentLevel").checked){ level = EXPERIMENT_LEVEL; } return level; }; this.setFeatureLevel = function(level){ if (level === WELL_LEVEL){ wellLevelRadioButton.checked = true; plateLevelRadioButton.checked = false; experimentLevelRadioButton.checked = false; } else if (level === PLATE_LEVEL) { wellLevelRadioButton.checked = false; plateLevelRadioButton.checked = true; experimentLevelRadioButton.checked = false; } else if (level === EXPERIMENT_LEVEL){ wellLevelRadioButton.checked = false; plateLevelRadioButton.checked = false; experimentLevelRadioButton.checked = true; } else { wellLevelRadioButton.checked = false; plateLevelRadioButton.checked = false; experimentLevelRadioButton.checked = false; } }; this.getFeatureCategory = function(){ if (_self.parseOnlyModeOn){ return featureCategoryElement.innerHTML; } else { return featureCategoryElement.value; } }; this.setFeatureCategory = function(categoryName){ if (_self.parseOnlyModeOn){ featureCategoryElement.innerHTML = categoryName; } else { featureCategoryElement.value = categoryName; } }; this.getSelectedFeature = function(){ return featureListElement.value; }; this.loadFeatureList = function(featureNameArray){ featureListElement.innerHTML = ""; featureListElement.scrollTop = 0; featureOptions = []; if (featureNameArray && featureNameArray.length){ loadSelectElement(featureListElement, featureNameArray, featureOptions); } else { // load the label selector with a place holder option = document.createElement("option"); option.setAttribute("value", ParserUI.FEATURE_LIST_PLACEHOLDER); option.innerHTML = ParserUI.FEATURE_LIST_PLACEHOLDER; featureOptions.push(option); featureListElement.appendChild(option); } }; this.setFeature = function(featureName){ if (featureName !== null){ featureListElement.value = featureName; } else { // deselect all options var featureOptionsArray = featureListElement.options; for (var i=0; i<featureOptionsArray.length; i++){ featureOptionsArray[i].selected = false; } } }; this.getListedFeatures = function(){ var listedFeatureNames = []; for (var i=0; i<featureOptions.length; i++){ listedFeatureNames.push(featureOptions[i].value); } return listedFeatureNames; }; this.loadLabelList = function(labelDescriptors){ // clear the label list selector labelListElement.innerHTML = ""; labelListElement.scrollTop = 0; labelOptions = []; var option; if (labelDescriptors){ // load the label selector with the label descriptors for (var i=0; i<labelDescriptors.length; i++){ var value = labelDescriptors[i].cell; var descriptor = labelDescriptors[i].descriptor; option = document.createElement("option"); labelOptions.push(option); option.setAttribute("value", value); option.innerHTML = descriptor; labelListElement.appendChild(option); } } else { // load the label selector with a place holder option = document.createElement("option"); option.setAttribute("value", ParserUI.FEATURE_LIST_PLACEHOLDER); option.innerHTML = ParserUI.LABEL_LIST_PLACEHOLDER; labelOptions.push(option); labelListElement.appendChild(option); } }; this.setLabel = function(labelCell){ if (labelCell !== null){ labelListElement.value = labelCell; } else { // deselect all options var labelOptionsArray = labelListElement.options; for (var i=0; i<labelOptionsArray.length; i++){ labelOptionsArray[i].selected = false; } } }; this.getListedLabels = function(){ var listedLabels = []; for (var i=0; i<labelOptions.length; i++){ listedLabels.push(labelOptions[i].innerHTML); } return listedLabels; }; this.getListedLabelCells = function(){ var listedLabelCells = []; for (var i=0; i<labelOptions.length; i++){ listedLabelCellss.push(labelOptions[i].value); } return listedLabelCells; }; this.clearFeatureInfo = function(){ _self.setFeatureCellRange(""); _self.setFeatureLevel(null); _self.setFeatureCategory(""); _self.setFeature(null); _self.loadLabelList(null); }; this.enableDeleteFeatureButton = function(){ deleteFeatureButton.disabled = false; }; this.disableDeleteFeatureButton = function(){ deleteFeatureButton.disabled = true; }; // ------------------- Features tab event handlers ---------------------------------- this.handleFeatureCellRangeChange = function(){ var selectedCellRange = _self.getFeatureCellRange(); try { _self.parsingController.selectCells(selectedCellRange); } catch (error){ _self.displayError(error); } }; this.handleFeatureSelection = function(event){ var selectedFeature = _self.getSelectedFeature(); if (selectedFeature !== ParserUI.FEATURE_LIST_PLACEHOLDER){ try { _self.parsingController.displayFeature(selectedFeature); _self.enableDeleteFeatureButton(); } catch(error){ _self.displayError(error); } } else { event.preventDefault(); } }; this.handleNewFeature = function(){ try { _self.parsingController.prepareUIForNewFeature(); } catch (error){ _self.displayError(error); } }; this.handleAddFeature = function(){ try{ _self.parsingController.defineFeature(); } catch(error){ _self.displayError(error); } }; this.handleDeleteFeature = function(){ var nameOfFeatureToRemove = _self.getSelectedFeature(); try{ _self.parsingController.removeFeature(nameOfFeatureToRemove); } catch(error){ _self.displayError(error); } }; this.handleApplyFeatures = function(){ try { _self.parsingController.applyAllFeaturesToGrid(); } catch(error){ _self.displayError(error); } }; // ------------------------- Experiment tab getters and setters ---------------------- this.getPlateIDSelectMethod = function(){ var method = null; if (byPlateLevelFeatureRadioButton.checked){ method = ParserUI.PLATE_LEVEL_FEATURE; } else if (byManualEntryRadioButton.checked){ method = ParserUI.MANUAL_ENTRY; } return method; }; this.setPlateIDSelectMethod = function(method){ if (method === ParserUI.MANUAL_ENTRY){ byManualEntryRadioButton.checked = true; byPlateLevelFeatureRadioButton.checked = false; } else if (method === ParserUI.PLATE_LEVEL_FEATURE){ byManualEntryRadioButton.checked = false; byPlateLevelFeatureRadioButton.checked = true; } else { byManualEntryRadioButton.checked = false; byPlateLevelFeatureRadioButton.checked = false; } }; this.loadPlateWithIDList = function(plateIDArray){ // clear the select element plateIdentifierList.innerHTML = ""; plateIdentifierList.scrollTop = 0; plateImportList.innerHTML = ""; // load the plate ID select element for (var i=0; i<plateIDArray.length; i++){ var optionContents = "plate " + (i+1) + ": " +plateIDArray[i]; var importOptionContents = "plate "+ (i+1); var option = document.createElement("option"); var importOption = document.createElement("option"); option.setAttribute("value", i.toString()); importOption.setAttribute("value", i.toString()); option.innerHTML = optionContents; importOption.innerHTML = importOptionContents; plateIdentifierList.appendChild(option); plateImportList.appendChild(importOption); } $('#plateImportList').multiSelect({ selectableHeader: "<div class='custom-header'>Plates to Import</div>", selectionHeader: "<div class='custom-header'>Plates to Skip</div>", afterSelect: this.plateImportListSelection, afterDeselect: this.plateImportListSelection }); this.plateImportListSelection(); }; this.plateImportListSelection = function(values) { _self.parsingController.platesToImport.length = 0; var options = plateImportList.options, cnt = 0, bImp; for (var idx = 0; idx < options.length; ++idx) { bImp = options[idx].selected; _self.parsingController.platesToImport.push(!bImp); if (bImp) cnt++; } importAndSaveDataButton.disabled = (cnt == options.length) ? true : false; }; this.getListedPlatesWithIDs = function(){ var result = []; var options = plateIdentifierList.options; for (var i=0; i<options.length; i++){ var opitonContents = options[i].innerHTML; var splitContents = option.split(" "); var plateID = splitContents[splitContents.length - 1]; result.push(plateID); } return result; }; this.getSelectedPlateWithIDIndex = function(){ var selectedIndex = plateIdentifierList.value; var parsedSelectedIndex = parseInt(selectedIndex); if (selectedIndex === "" || isNaN(parsedSelectedIndex)){ return null; } else { return parsedSelectedIndex; } }; this.setSelectedPlateWithIDIndex = function(plateIndex){ var plateWithIDOptionsArray = plateIdentifierList.options; if (plateIndex !== null && plateWithIDOptionsArray.length !== 0){ plateIdentifierList.value = plateIndex; } else { plateIdentifierList.scrollTop = 0; // deselect all options for (var i=0; i<plateWithIDOptionsArray.length; i++){ plateWithIDOptionsArray[i].selected = false; } } }; this.loadPlateLevelFeatureList = function(plateLevelFeatureNameArray){ // clear the select element and scroll back to the top plateLevelFeatureListElement.innerHTML = ""; plateLevelFeatureListElement.scrollTop = 0; // load the select element for (var i=0; i<plateLevelFeatureNameArray.length; i++){ var optionName = plateLevelFeatureNameArray[i]; var option = document.createElement("option"); option.setAttribute("value", optionName); option.innerHTML = optionName; plateLevelFeatureListElement.appendChild(option); } }; this.getListedPlateLevelFeatures = function(){ var result = []; var options = plateLevelFeatureListElement.options; for (var i=0; i<options.length; i++){ var opitonContents = options[i].innerHTML; result.push(optionContents); } return result; }; this.getSelectedPlateLevelFeature = function(){ var selectedPlateLevelFeature = plateLevelFeatureListElement.value; if (!selectedPlateLevelFeature){ return null; } else { return selectedPlateLevelFeature; } }; this.setSelectedPlateLevelFeature = function(featureName){ if (featureName !== null){ plateLevelFeatureListElement.value = featureName; } else { plateIdentifierList.scrollTop = 0; var plateFeatureOptions = plateLevelFeatureListElement.options; // deselect all options for (var i=0; i<plateFeatureOptions.length; i++){ plateFeatureOptions[i].selected = false; } } }; /** * * @param experimentNameIDObjectArray - an array of objects, one for each experiment * in which the experiment name is listed under the * property "name" and the experiment id is listed * under the property "id" */ this.loadExperimentSelectize = function(experimentNameIDObjectArray){ experimentSelectizeElement.clearOptions(); experimentSelectizeOptions = {}; for (var i=0; i<experimentNameIDObjectArray.length; i++){ var name = experimentNameIDObjectArray[i].name; var id = experimentNameIDObjectArray[i].id; experimentSelectizeElement.addOption(experimentNameIDObjectArray[i]); experimentSelectizeOptions[name] = id; } experimentSelectizeElement.refreshOptions(true); }; this.getExperimentOptionNames = function(){ var result = []; for (var experimentName in experimentSelectizeOptions){ result.push(experimentName); } return result; }; this.getExperimentOptionIDs = function(){ var result = []; for (var experimentName in experimentSelectizeOptions){ var experimentID = experimentSelectizeOptions[experimentName]; result.push(experimentID); } return result; }; this.getSelectedExperimentName = function(){ var selectedExperimentID = this.getSelectedExperimentID(); return experimentSelectizeElement.getOption(selectedExperimentID).html(); }; this.getSelectedExperimentID = function(){ return experimentSelectizeElement.getValue(); }; this.setSelectedExperimentByID = function(experimentID){ experimentSelectizeElement.setValue(experimentID) }; this.setSelectedExperimentByName = function(experimentName){ var experimentID = experimentSelectizeOptions[experimentName]; return experimentSelectizeElement.setValue(experimentID); }; /** * * @param plateIDArray - an array of plate identifiers to load into the plate id * selectize element */ this.loadPlateIDSelectize = function(plateIDArray){ plateIdentifierSelectizeElement.clearOptions(); plateIdentifierSelectizeOptionValues = []; for (var i=0; i<plateIDArray.length; i++){ plateIdentifierSelectizeElement.addOption({ plateID: plateIDArray[i] }); plateIdentifierSelectizeOptionValues.push(plateIDArray[i]); } plateIdentifierSelectizeElement.refreshOptions(true); }; this.getPlateIDSelectizeOptionValues = function(){ var result = []; for (var i=0; i<plateIdentifierSelectizeOptionValues.length; i++){ result.push(plateIdentifierSelectizeOptionValues[i]); } return result; }; this.getSelectedPlateIdentifier = function(){ return plateIdentifierSelectizeElement.getValue(); }; this.setSelectedPlateIdentifier = function(plateIdentifier){ if (plateIdentifier === null){ plateIdentifierSelectizeElement.clear(true); } else { plateIdentifierSelectizeElement.setValue(plateIdentifier); } }; this.incrementPlateAndIdentifierSelections = function(){ // move the selected plate with id selection down by 1 var selectedPlateIndex = _self.getSelectedPlateWithIDIndex(); var numPlates = plateIdentifierList.options.length; var newSelectedPlateIndex = (selectedPlateIndex + 1) % numPlates; _self.setSelectedPlateWithIDIndex(newSelectedPlateIndex); // move the selected plate identifier down by 1 var selectedPlateIdentifier = _self.getSelectedPlateIdentifier(); for(var i=0; i<plateIdentifierSelectizeOptionValues.length; i++){ if (plateIdentifierSelectizeOptionValues[i] === selectedPlateIdentifier){ var newSelectedPlateIdentifierIndex = (i+1)%plateIdentifierSelectizeOptionValues.length; var newSelectedPlateIdentifier = plateIdentifierSelectizeOptionValues[newSelectedPlateIdentifierIndex]; _self.setSelectedPlateIdentifier(newSelectedPlateIdentifier); } } }; // ------------------ Experiment tab event handlers ---------------------------------- this.handleDataImport = function(){ try { _self.parsingController.saveImportDataToServer(); } catch (error){ _self.displayError(error); } }; this.handleDownloadFileImport = function(){ try { _self.parsingController.downloadImportData(); } catch (error){ _self.displayError(error); } }; this.handleIntergroupDownload = function(){ try { _self.parsingController.downloadIntergroupData() ; } catch (error) { _self.displayError(error); } }; this.handleByPlateLevelFeatureMethod = function(){ try { _self.parsingController.assignPlateIDsByFeature(); } catch(error){ _self.displayError(error); } byFeatureMethodDiv.style.display = "block"; byManualMethodDiv.style.display = "none"; }; this.handleByManualMethod = function(){ try { _self.parsingController.assignPlateIDsByManualMethod(); } catch(error){ _self.displayError(error); } byFeatureMethodDiv.style.display = "none"; byManualMethodDiv.style.display = "block"; }; this.handlePlateLevelFeatureSelection = function(){ var selectedFeature = _self.getSelectedPlateLevelFeature(); try{ _self.parsingController.setPlateLevelFeatureAsPlateID(selectedFeature); } catch (error){ _self.displayError(error); } }; this.handlePlateIdSetButtonClick = function(){ var selectedIdentifier = _self.getSelectedPlateIdentifier(); var selectedPlateIndex = _self.getSelectedPlateWithIDIndex(); try{ _self.parsingController.setPlateID(selectedPlateIndex, selectedIdentifier); } catch (error) { _self.displayError(error); } }; this.handlePlateWithIdListSelection = function(){ var selectedPlateIndex = _self.getSelectedPlateWithIDIndex(); try{ _self.parsingController.showPlate(selectedPlateIndex); } catch(error){ _self.displayError(error); } }; this.handleExperimentSelection = function(){ var selectedExperimentID = _self.getSelectedExperimentID(); try{ _self.parsingController.fillOutExperimentPlateIDs(selectedExperimentID); } catch(error){ _self.displayError(error); } }; this.handlePlateIdSelection = function(selectedPlateID){ var selectedFeatureName = _self.getSelectedPlateLevelFeature(); try{ //_self.parsingController.showPlateLevelFeature(selectedFeatureName); } catch(error){ _self.displayError(error); } }; // ---------------------- tabs setters and getters ----------------------------------- this.getActiveTab = function(){ return $tabsElement.tabs( "option", "active" ); }; this.setActiveTab = function(tab){ $tabsElement.tabs("option", "active", tab); }; // ---------------------- tabs event handler ----------------------------------------- this.handleClickCell = function(event, ui){ if (e.shiftKey) { alert("shift+click") } if (e.ctrlKey) { alert("control+click") } var newTab = ui.keyCode var oldTab = ui.oldTab.index(); try { _self.parsingController.changeStage(newTab, oldTab); } catch (error) { event.preventDefault(); _self.displayError(error); } }; this.handleTabChange = function(event, ui){ var newTab = ui.newTab.index(); var oldTab = ui.oldTab.index(); try { _self.parsingController.changeStage(newTab, oldTab); } catch (error) { event.preventDefault(); _self.displayError(error); } }; // ------------------- General getters and setters ---------------------------------- this.getParsingID = function(){ return parsingIDElement.value; }; this.setParsingID = function(id){ parsingIDElement.value = id; }; this.displayError = function(error){ console.log(error); this.displayErrorMessage(error.getMessage()); }; this.displayErrorMessage = function(message){ flashMessenger.showUserMsg(FlashMessenger.ERROR, message); }; this.displayMessage = function(message){ flashMessenger.showUserMsg(FlashMessenger.HIGHLIGHT, message) }; this.enableSaveButton = function(){ saveConfigButton.disabled = false; }; this.disableSaveButton = function(){ saveConfigButton.disabled = true; }; this.enableSaveAsButton = function(){ saveAsConfigButton.disabled = false; }; this.disableSaveAsButton = function(){ saveAsConfigButton.disabled = true; }; // -------------------- General event handlers --------------------------------------- this.handleSaveConfig = function(){ try { _self.parsingController.saveParsingConfigToServer(); } catch (error){ _self.displayError(error); } }; this.handleSaveAsConfig = function(){ if (_self.parseOnlyModeOn){ _self.switchOutOfParseOnlyMode(); } else { try { _self.parsingController.saveAsParsingConfigToServer(); } catch (error){ _self.displayError(error); } } }; this.switchSaveAsButtonToModifyAsNewParsingConfig = function(){ saveAsConfigButton.innerHTML = "Modify as new Parsing Configuration"; }; this.switchSaveAsButtonBackToSaveAs = function(){ saveAsConfigButton.innerHTML = "Save As"; }; this.switchToParseOnlyMode = function(){ parsingNameElement = switchTextInputToSpan(parsingNameElement); machineNameElement = switchTextInputToSpan(machineNameElement); parsingDescriptionElement = switchTextAreaToP(parsingDescriptionElement); _self.switchDelimiterListToSpan(); firstPlateCellRangeElement = switchTextInputToSpan(firstPlateCellRangeElement); featureCellRangeElement = switchTextInputToSpan(featureCellRangeElement); featureCategoryElement = switchTextInputToSpan(featureCategoryElement); applyFirstPlateButton.style.display = "none"; newFeatureButton.style.display = "none"; addFeatureButton.style.display = "none"; deleteFeatureButton.style.display = "none"; _self.switchSaveAsButtonToModifyAsNewParsingConfig(); _self.parseOnlyModeOn = true; }; this.switchOutOfParseOnlyMode = function(){ parsingNameElement = switchSpanToTextInput(parsingNameElement); machineNameElement = switchSpanToTextInput(machineNameElement); parsingDescriptionElement = switchPToTextArea(parsingDescriptionElement); _self.switchDelimiterListToSelect(); firstPlateCellRangeElement = switchSpanToTextInput(firstPlateCellRangeElement); featureCellRangeElement = switchSpanToTextInput(featureCellRangeElement); featureCategoryElement = switchSpanToTextInput(featureCategoryElement); applyFirstPlateButton.style.display = "inline"; newFeatureButton.style.display = "inline"; addFeatureButton.style.display = "inline"; deleteFeatureButton.style.display = "inline"; _self.switchSaveAsButtonBackToSaveAs(); _self.parseOnlyModeOn = false; }; function switchTextInputToSpan(element){ var span = document.createElement("span"); span.innerHTML = element.value; span.id = element.id; $(element).replaceWith(span); return span; } function switchSpanToTextInput(element){ var textInput = document.createElement("input"); textInput.value = element.innerHTML; textInput.id = element.id; $(element).replaceWith(textInput); return textInput; } function switchTextAreaToP(element){ var p = document.createElement("p"); p.innerHTML = element.value; p.id = element.id; $(element).replaceWith(p); return p; } function switchPToTextArea(element){ var textArea = document.createElement("textarea"); textArea.value = element.innerHTML; textArea.id = element.id; $(element).replaceWith(textArea); return textArea; } function loadSelectElement(selectElement, optionNamesArray, optionsArray){ // clear the select element and scroll back to the top selectElement.innerHTML = ""; selectElement.scrollTop = 0; optionsArray = []; // load the select element for (var i=0; i<optionNamesArray.length; i++){ var optionName = optionNamesArray[i]; var option = document.createElement("option"); optionsArray.push(option); option.setAttribute("value", optionName); option.innerHTML = optionName; selectElement.appendChild(option); } } /** * getTargetElement - This function get a reference to the HTML element that * triggered an event * @param event - the event for which we wish the element that triggered it * @returns - the HTML element that triggered the event. */ function getTargetElement(event){ 'use strict'; var target; // make sure we have the event, depending on different browser // capabilities event = event || window.event; // get a reference to the element that triggered the event, depending on // different browser capabilities target = event.target || event.srcElement; return target; } // end of function getTargetElement /** * addEvent - This function adds an event handler to an html element in * a way that covers many browser types. * @param elementId - the string id of the element to attach the handler to * or a reference to the element itself. * @param eventType - a string representation of the event to be handled * without the "on" prefix * @param handlerFunction - the function to handle the event */ function addEvent(elementId, eventType, handlerFunction) { 'use strict'; var element; if (typeof(elementId) === "string"){ element = document.getElementById(elementId); } else { element = elementId; } if (element.addEventListener) { element.addEventListener(eventType, handlerFunction, false); } else if (window.attachEvent) { element.attachEvent("on" + eventType, handlerFunction); } } // end of function addEvent function init (){ // +++++++++++++++++++++ parsing tab events +++++++++++++++++++++++++++++++++++++ // when a file is selected using the files input, trigger the file select handler addEvent(filesInput, "change", _self.handleFileSelect); // if the choose file button is clicked, trigger a click event on the hidden // files input, to open a file system browser for selecting files addEvent(chooseFileButton, "click", function(){ filesInput.click(); }); // Attach listener for when a file is first dragged onto the screen addEvent(document, "dragenter", function(e){ e.stopPropagation(); e.preventDefault(); // Show an overlay so it is clear what the user needs to do document.body.classList.add('show-overlay'); }); // Attach a listener for while the file is over the browser window addEvent(document, "dragover", function(e) { e.stopPropagation(); e.preventDefault(); }); // Attach a listener for when the file is actually dropped, and trigger the // file select handler addEvent(document, "drop", function(e) { e.stopPropagation(); e.preventDefault(); // Hides the overlay document.body.classList.remove('show-overlay'); // Process the files _self.handleFileSelect(e); }); addEvent(delimiterList, "change", _self.handleDelimiterChange); // ++++++++++++++++++ plate tab events +++++++++++++++++++++++++++++++++++++++++++ addEvent(firstPlateCellRangeElement, "change", _self.handleFirstPlateCellRangeChange); addEvent(applyFirstPlateButton, "click", _self.handleApplyFirstPlate); // ++++++++++++++++++++ features tab events ++++++++++++++++++++++++++++++++++++++ addEvent(newFeatureButton, "click", _self.handleNewFeature); addEvent(addFeatureButton, "click", _self.handleAddFeature); addEvent(deleteFeatureButton, "click", _self.handleDeleteFeature); addEvent(applyFeaturesButton, "click", _self.handleApplyFeatures); addEvent(featureListElement, "change", _self.handleFeatureSelection); addEvent(featureCellRangeElement, "change", _self.handleFeatureCellRangeChange); // ++++++++++++++++++++ Experiment tab events and selectize setup ++++++++++++++++ addEvent(importAndSaveDataButton, "click", _self.handleDataImport); addEvent(downloadFileImportButton, "click", _self.handleDownloadFileImport); addEvent(downloadIntergroupButton, "click", _self.handleIntergroupDownload); addEvent(byPlateLevelFeatureRadioButton, "click", _self.handleByPlateLevelFeatureMethod); addEvent(byManualEntryRadioButton, "click", _self.handleByManualMethod); addEvent(plateLevelFeatureListElement, "change", _self.handlePlateLevelFeatureSelection); addEvent(setPlateIdButton, "click", _self.handlePlateIdSetButtonClick); addEvent(plateIdentifierList, "change", _self.handlePlateWithIdListSelection); var $select1 = $("#experiment").selectize({ labelField: "name", valueField: "id", onChange: _self.handleExperimentSelection, create: false }); experimentSelectizeElement = $select1[0].selectize; var $select2 = $("#plateID").selectize({ labelField: "plateID", valueField: "plateID", onChange: _self.handlePlateIdSelection, create: true }); plateIdentifierSelectizeElement = $select2[0].selectize; // ++++++++++++++++++++++++ tabs setup and events ++++++++++++++++++++++++++++++++ // to get jQuery-UI tab functionality working $tabsElement.tabs({ beforeActivate: _self.handleTabChange }); // ++++++++++++++++++++++++++ General events +++++++++++++++++++++++++++++++++++++ addEvent(saveConfigButton, "click", _self.handleSaveConfig); addEvent(saveAsConfigButton, "click", _self.handleSaveAsConfig); // +++++++++++++++++++++++++++ start the Parsing Controller ++++++++++++++++++++++ } // set up all of the event handlers init(); } ParserUI.convertStringToCellRange = function(string){ if (!string){ return null; } var range = string.trim(); var rangeSplit = range.split(":"); if (!rangeSplit || !(rangeSplit[0] && typeof rangeSplit[0] === "string") || !(rangeSplit[1] && typeof rangeSplit[0] === "string")){ return null; } var startCoords = Grid.getCellCoordinates(rangeSplit[0].trim()); var endCoords = Grid.getCellCoordinates(rangeSplit[1].trim()); if (!startCoords || !startCoords[0] || !startCoords[1] || typeof startCoords[0] !== "number" || typeof startCoords[1] !== "number"){ return null } if (!endCoords || !endCoords[0] || !endCoords[1] || typeof endCoords[0] !== "number" || typeof endCoords[1] !== "number"){ return null } var cellRange = new CellRange(startCoords[0], startCoords[1], endCoords[0], endCoords[1]); return cellRange; };
platify/platify
grails-app/assets/javascripts/parser/ParserUI.js
JavaScript
gpl-3.0
47,186
module.exports = function (app) { // catch 404 and forward to error handler app.use(function(req, res, next) { var err = new Error('Not Found'); err.status = 404; next(err); }); // development error handler // will print stacktrace app.use(function(err, req, res, next) { res.status(err.status || 500); res.render('errors/generic', { message: err.message, error: err }); }); // production error handler // no stacktraces leaked to user // app.use(function(err, req, res, next) { // res.status(err.status || 500); // res.render('partials/error', { // message: err.message, // error: {} // }); // }); }
RandomVision/darkchess
backend/lib/error_handlers.js
JavaScript
gpl-3.0
686
{"exchanges":[{"info":[{"onclick":null,"link":null,"value":"31 70 365 36 88"},{"onclick":null,"link":"mailto:info@nl-ix.net","value":"info@nl-ix.net"},{"onclick":"window.open(this.href,'ix-new-window');return false;","link":"http://www.nl-ix.net","value":"Website"},{"onclick":null,"link":null,"value":"Online since: April 2002"}],"slug":"nl-ix-groningen-netherlands","name":"NL-ix"}],"address":["DataCentrum Groningen","Beneluxweg 4","Zuidbroek, Netherlands"],"id":19228}
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/buildings/19228.js
JavaScript
gpl-3.0
472
/* * VITacademics * Copyright (C) 2014-2016 Aneesh Neelam <neelam.aneesh@gmail.com> * Copyright (C) 2014-2016 Ayush Agarwal <agarwalayush161@gmail.com> * * This file is part of VITacademics. * * VITacademics is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * VITacademics is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with VITacademics. If not, see <http://www.gnu.org/licenses/>. */ 'use strict'; const path = require('path'); const status = require(path.join(__dirname, '..', 'status')); const handler = function (app) { const onJob = function (job, ack) { job.status = status.toDo; console.log(JSON.stringify(job)); ack(); }; pp.rabbit.queue(app.rabbit.queues.mobile) .consume(onJob, noAck : false ) ; }; module.exports = handler;
aneesh-neelam/VITacademics
handlers/mobile.js
JavaScript
gpl-3.0
1,250
var searchData= [ ['nextdispatching',['NextDispatching',['../interface_general_health_care_elements_1_1_department_models_1_1_outpatient_1_1_i_input_outpatient.html#ab18ee0a2d14360da569e968e79fdebcf',1,'GeneralHealthCareElements.DepartmentModels.Outpatient.IInputOutpatient.NextDispatching()'],['../class_general_health_care_elements_1_1_input_1_1_generic_x_m_l_h_c_dep_input_with_admission_and_booking_model.html#a2dcd90642127d932cee2ed4c32d761c2',1,'GeneralHealthCareElements.Input.GenericXMLHCDepInputWithAdmissionAndBookingModel.NextDispatching()']]], ['nextweekday',['NextWeekDay',['../class_general_health_care_elements_1_1_booking_models_1_1_entity_waiting_list_schedule.html#ab4aca2fc76c09ec514c09818fba5de9f',1,'GeneralHealthCareElements::BookingModels::EntityWaitingListSchedule']]], ['noshowforappointment',['NoShowForAppointment',['../interface_general_health_care_elements_1_1_department_models_1_1_outpatient_1_1_i_input_outpatient.html#a059b0710e6b6d309ed565bca4411e5ce',1,'GeneralHealthCareElements.DepartmentModels.Outpatient.IInputOutpatient.NoShowForAppointment()'],['../class_general_health_care_elements_1_1_input_1_1_generic_x_m_l_h_c_dep_input_with_admission_and_booking_model.html#af83fb0565f746c3e91e4c0ff0a4b903e',1,'GeneralHealthCareElements.Input.GenericXMLHCDepInputWithAdmissionAndBookingModel.NoShowForAppointment()']]] ];
nikolausfurian/HCDESLib
API/search/functions_b.js
JavaScript
gpl-3.0
1,360
/*global require */ 'use strict'; var _ = require('lodash'), utils = require('./../build-utils'), StatementInputBloq = require('./../statementInputBloq'); /** * Bloq name: mbot-ifthereisalotoflight * * Bloq type: Statement-Input * * Description: * * Return type: none */ var bloqMBotIfThereIsALotOfLight = _.merge(_.clone(StatementInputBloq, true), { name: 'mBotIfThereIsALotOfLight', bloqClass: 'bloq-mbot-ifthereisalotoflight', content: [ [{ alias: 'text', value: 'if' }, { id: 'OPERATION', alias: 'staticDropdown', options: [{ label: 'bloq-mbot-ifthereisalotoflight-alot', value: '+' }, { label: 'bloq-mbot-ifthereisalotoflight-low', value: '-' }, { label: 'bloq-mbot-ifthereisalotoflight-operation-nodetect', value: '*' }] }, { alias: 'text', value: 'with-the' }, { id: 'LIGHTSENSOR', alias: 'dynamicDropdown', options: 'mkb_lightsensor' }] ], code: '', arduino: { conditional: { aliasId: 'OPERATION', code: { '+': 'if(¬{LIGHTSENSOR.readSensor} > 200){{STATEMENTS}}', '-': 'if((¬{LIGHTSENSOR.readSensor} > 0) && (¬{LIGHTSENSOR.readSensor} <= 200)){{STATEMENTS}}', '*': 'if(¬{LIGHTSENSOR.readSensor} <= 0){{STATEMENTS}}' } } } }); utils.preprocessBloq(bloqMBotIfThereIsALotOfLight); bloqMBotIfThereIsALotOfLight.connectors[1].acceptedAliases = ['all', 'ifDown']; module.exports = bloqMBotIfThereIsALotOfLight;
bq/bloqs
src/scripts/bloqs/makeblock/ifThereIsALotOfLight.js
JavaScript
gpl-3.0
1,759
angular.module('abastecimentoApp.servicesNotificacoes', []).factory('Notificacao', function ($resource, $http, constantService) { return { query: query, get:get } function query(callback) { $http.get(constantService.baseURL + '/notificacoes') .then(function (response) { if (callback) { callback(response.data); } }); }; function get(id, callback) { $http.get(constantService.baseURL + '/notificacoes/' + id) .then(function (response) { if (callback) { callback(response.data); } }); }; return this.resource; }).service('popupService', function ($window) { this.showPopup = function (message) { return $window.confirm(message); } }).service('constantService', function () { return { baseURL: 'http://localhost:3000/api' } });
cassiane/KnowledgePlatform
Implementacao/nodejs-tcc/public/static/js/servicesNotificacoes.js
JavaScript
gpl-3.0
972