rem
stringlengths 0
126k
| add
stringlengths 0
441k
| context
stringlengths 15
136k
|
---|---|---|
var callback = function() { this.idsDeleted(selected); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this);
|
var callback = function() { this.factorCreated(newFactorValue); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this);
|
this.getTopToolbar().on("delete", function() { var selected = this.getSelectedIds(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Deleting experimental factor(s)"; this.loadMask.show(); var callback = function() { this.idsDeleted(selected); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.deleteExperimentalFactors(this.experimentalDesign, selected, { callback : callback, errorHandler : errorHandler }); }.createDelegate(this));
|
var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this);
|
var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er);
|
this.getTopToolbar().on("delete", function() { var selected = this.getSelectedIds(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Deleting experimental factor(s)"; this.loadMask.show(); var callback = function() { this.idsDeleted(selected); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.deleteExperimentalFactors(this.experimentalDesign, selected, { callback : callback, errorHandler : errorHandler }); }.createDelegate(this));
|
ExperimentalDesignController.deleteExperimentalFactors(this.experimentalDesign, selected, { callback : callback, errorHandler : errorHandler }); }.createDelegate(this));
|
}.createDelegate(this); ExperimentalDesignController.createExperimentalFactor(this.experimentalDesign, newFactorValue, { callback : callback, errorHandler : errorHandler }); }.createDelegate(this));
|
this.getTopToolbar().on("delete", function() { var selected = this.getSelectedIds(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Deleting experimental factor(s)"; this.loadMask.show(); var callback = function() { this.idsDeleted(selected); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.deleteExperimentalFactors(this.experimentalDesign, selected, { callback : callback, errorHandler : errorHandler }); }.createDelegate(this));
|
$('#collection-restrict-user').click(function(){ $('#collection-restrict-user-group').hide() });
|
$('#collection-restrict-all').click(function(){ $('#collection-restrict-user-group').hide(); });
|
$('#collection-restrict-user').click(function(){ $('#collection-restrict-user-group').hide()});
|
if (onSuccessFn) onSuccessFn(r.getResult().Count);
|
if (onSuccessFn) onSuccessFn(r.Count);
|
function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Count); },
|
store.on("exception", function(scope, args, data, e) { Ext.Msg.alert('There was an error', e + ". \nPlease try again.");
|
store.on('load', function(store, records, options) { manager.setTitle("Showing " + records.length + " records.");
|
store.on("exception", function(scope, args, data, e) { Ext.Msg.alert('There was an error', e + ". \nPlease try again."); });
|
ids.forEach(function(id) { settings[id] = document.getElementById("sync-" + id); });
|
setTimeout(Weave.Utils.bind2(this, function() { if (Weave.Service.locked) { connect.firstChild.disabled = true; sync.firstChild.disabled = true; connect.setAttribute("title", syncStr.get("connecting.label")); sync.setAttribute("title", syncStr.get("lastSyncInProgress.label")); } else { connect.firstChild.disabled = false; sync.firstChild.disabled = false; connect.setAttribute("title", syncStr.get("disconnected.label")); } }), 0);
|
ids.forEach(function(id) { settings[id] = document.getElementById("sync-" + id); });
|
test('HTMLCollection', function(){ ok(console.dir(document.body.children).indexOf('[') === 0, 'document.body.children looks like array'); ok(console.dir(document.plugins).indexOf('[') === 0, 'document.plugins look like array');
|
test('Arrays', function(){ equals(console.dir([]), 'Array {\n "length": 0\n}'); equals(console.dir([1, 'Yada-yada']), 'Array {\n "0": 1, \n "1": "Yada-yada", \n "length": 2\n}');
|
test('HTMLCollection', function(){ ok(console.dir(document.body.children).indexOf('[') === 0, 'document.body.children looks like array'); ok(console.dir(document.plugins).indexOf('[') === 0, 'document.plugins look like array');});
|
if (col.header) {
|
if (col.options.name != hf && col.domObj) {
|
this.grid.columns.columns.each(function(col, idx) { if (col.header) { var el = new Element('div', { 'class':'jxGridColumnResize', title: this.options.tooltip, events: { dblclick: function() { col.options.width = 'auto'; col.setWidth(col.getWidth(true)); } } }).inject(col.header); this.els.column.push(el); this.drags.column.push(new Drag(el, { limit: {y:[0,0]}, onDrag: function(el) { var w = el.getPosition(el.parentNode).x.toInt(); col.setWidth(w); } })); } }, this);
|
}).inject(col.header);
|
}).inject(col.domObj.getParent());
|
this.grid.columns.columns.each(function(col, idx) { if (col.header) { var el = new Element('div', { 'class':'jxGridColumnResize', title: this.options.tooltip, events: { dblclick: function() { col.options.width = 'auto'; col.setWidth(col.getWidth(true)); } } }).inject(col.header); this.els.column.push(el); this.drags.column.push(new Drag(el, { limit: {y:[0,0]}, onDrag: function(el) { var w = el.getPosition(el.parentNode).x.toInt(); col.setWidth(w); } })); } }, this);
|
function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = $(this).attr('id'); id = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(id); $('#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.id + '_' + id).addClass('activeSlide'); $(settings.targetId).cycle('stop'); },
|
}, function() { if (settings.paused == false) { $(settings.targetId).cycle('resume'); } });
|
function() { $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide'); var id = $(this).attr('id'); id = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(id); $('#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.id + '_' + id).addClass('activeSlide'); $(settings.targetId).cycle('stop'); },
|
$('#top_nav > a').click(function(){ var menu_div = $(this).attr('href'); if($(this).hasClass('active') == false) { $('#menu-buttons > div.menu-scope-panel').fadeOut(); $('#top_nav > a').removeClass('active'); $(this).addClass('active'); $(menu_div).fadeIn(); } else { $(this).removeClass('active'); $(menu_div).fadeOut(); } return false;
|
$('.mini-list-click').click(function(){ $('.mini-list').fadeOut(); $('#top_nav > a').removeClass('active');
|
$('#top_nav > a').click(function(){ var menu_div = $(this).attr('href'); if($(this).hasClass('active') == false) { $('#menu-buttons > div.menu-scope-panel').fadeOut(); $('#top_nav > a').removeClass('active'); $(this).addClass('active'); $(menu_div).fadeIn(); } else { $(this).removeClass('active'); $(menu_div).fadeOut(); } return false; });
|
if (that.value == placeholder) {
|
if (input.data('placeholder-visible')) {
|
that.form && $(that.form).submit(function(){ if (that.value == placeholder) { that.value = ''; } });
|
$(".dinnerItem").each(function (i, dinner) { $(dinner).hover( function () { NerdDinner._map.ShowInfoBox(NerdDinner._shapes[i]); }, function () { NerdDinner._map.HideInfoBox(NerdDinner._shapes[i]); } ); });
|
function () { NerdDinner._map.ShowInfoBox(NerdDinner._shapes[i]); },
|
$(".dinnerItem").each(function (i, dinner) { $(dinner).hover( function () { NerdDinner._map.ShowInfoBox(NerdDinner._shapes[i]); }, function () { NerdDinner._map.HideInfoBox(NerdDinner._shapes[i]); } ); });
|
tag_link.attr('href', scriptUrl + $.i18n._('tags/') + tagname);
|
var tag_url = scriptUrl + $.i18n._('questions/') + '?tags=' + tagname; tag_link.attr('href', tag_url);
|
sendAjax(tagname,reason,'add',function(){ var new_tag = $('<span></span>'); new_tag.addClass('deletable-tag'); var tag_link = $('<a></a>'); tag_link.attr('rel','tag'); tag_link.attr('href', scriptUrl + $.i18n._('tags/') + tagname); tag_link.html(tagname); var del_link = $('<img></img>'); del_link.addClass('delete-icon'); del_link.attr('src', mediaUrl('/media/images/close-small-dark.png')); setupTagDeleteEvents(del_link, to_target, tagname, reason, true); new_tag.append(tag_link); new_tag.append(del_link); to_tag_container.append(new_tag); to_target[tagname] = new_tag; });
|
* and trigger its keyup to refresh the list */ jQuery('#fklist').prev().keyup().focus();
|
* and trigger its focus to refresh the list AND actualy * focus back on the field*/ jQuery('#fklist').prev().focus();
|
jQuery('#fknext').live('click', function () { jQuery.ppa.o+=11; /* get the field that is the previous html elt from the #fklist * and trigger its keyup to refresh the list */ jQuery('#fklist').prev().keyup().focus();});
|
"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=
|
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||
|
"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=
|
k.on('done', function(payload) { this.fireEvent('deleted', payload) });
|
Ext.getCmp('annotator-grid').on('refresh', function() { this.change = true; }.createDelegate(this));
|
k.on('done', function(payload) { this.fireEvent('deleted', payload) });
|
items.each( function(e) { e.className = "item hidden"; });
|
elements.each( function(e) { e.checked = true; });
|
items.each( function(e) { e.className = "item hidden"; });
|
manager.on('reportUpdated', function(data) { ob = data[0]; var k = Ext.get('coexpressionLinkCount-region'); Ext.DomHelper.overwrite(k, { html : ob.coexpressionLinkCount }); k.highlight(); k = Ext.get('processedExpressionVectorCount-region'); Ext.DomHelper.overwrite(k, { html : ob.processedExpressionVectorCount }); k.highlight();
|
manager.on('tagsUpdated', function() { tagView.store.reload();
|
manager.on('reportUpdated', function(data) { ob = data[0]; // console.log(ob); var k = Ext.get('coexpressionLinkCount-region'); Ext.DomHelper.overwrite(k, { html : ob.coexpressionLinkCount }); k.highlight(); k = Ext.get('processedExpressionVectorCount-region'); Ext.DomHelper.overwrite(k, { html : ob.processedExpressionVectorCount }); k.highlight(); });
|
this.grid.columns.columns.each(function(col,i) { if(col.options.formatter != null && col.options.formatter instanceof Jx.Formatter.Uri) { uriCols.push(i); } });
|
anchor.addEvent('click', function(ev) { if(!ev.control) { ev.preventDefault(); } });
|
this.grid.columns.columns.each(function(col,i) { if(col.options.formatter != null && col.options.formatter instanceof Jx.Formatter.Uri) { uriCols.push(i); } });
|
this.deleteFactorValueButton.enable();
|
this.getSelectionModel().on("selectionchange", function(model) { // console.log("selection"); var selected = model.getSelections(); this.revertButton.disable(); for (var i = 0; i < selected.length; ++i) { if (selected[i].dirty) { this.revertButton.enable(); break; } } if (selected.length > 0) { this.deleteFactorValueButton.enable(); this.characteristicToolbar.deleteButton.enable(); } else { this.deleteFactorValueButton.disable(); this.characteristicToolbar.deleteButton.disable(); } }, this.getTopToolbar());
|
|
this.deleteFactorValueButton.disable();
|
this.getSelectionModel().on("selectionchange", function(model) { // console.log("selection"); var selected = model.getSelections(); this.revertButton.disable(); for (var i = 0; i < selected.length; ++i) { if (selected[i].dirty) { this.revertButton.enable(); break; } } if (selected.length > 0) { this.deleteFactorValueButton.enable(); this.characteristicToolbar.deleteButton.enable(); } else { this.deleteFactorValueButton.disable(); this.characteristicToolbar.deleteButton.disable(); } }, this.getTopToolbar());
|
|
return cls.test('jxColHead-'); });
|
if(this.options.useHeaders) return cls.test('jxColHead-') else return cls.test('jxCol-'); }.bind(this));
|
var hClasses = cell.get('class').split(' ').filter(function (cls) { return cls.test('jxColHead-'); });
|
$.get("operations.xql", params, function(data) { var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#group-sharing-premissions-read').get(0).checked = true; } else { $('#group-sharing-premissions-read').get(0).checked = false; } var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#group-sharing-premissions-write').get(0).checked = true; } else { $('#group-sharing-premissions-write').get(0).checked = false; } if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-group').get(0).checked = true; $('#group-sharing-panel').show(); } else { $('#sharing-collection-with-group').get(0).checked = false; $('#group-sharing-panel').hide(); } });
|
$(data).find('member').each(function(){ addMemberToSharingGroupMembers($(this).text(), owner); });
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ //$('#group-sharing-premissions-read').attr('checked','checked'); $('#group-sharing-premissions-read').get(0).checked = true; } else { //$('#group-sharing-premissions-read').removeAttr('checked'); $('#group-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ //$('#group-sharing-premissions-write').attr('checked','checked'); $('#group-sharing-premissions-write').get(0).checked = true; } else { //$('#group-sharing-premissions-write').removeAttr('checked'); $('#group-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { //$('#sharing-collection-with-group').attr('checked','checked'); $('#sharing-collection-with-group').get(0).checked = true; $('#group-sharing-panel').show(); } else { //$('#sharing-collection-with-group').removeAttr('checked'); $('#sharing-collection-with-group').get(0).checked = false; $('#group-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-read').get(0).checked = true;
|
$('#other-sharing-permissions-read').get(0).checked = true;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; //$('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; //$('#other-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-read').get(0).checked = false;
|
$('#other-sharing-permissions-read').get(0).checked = false;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; //$('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; //$('#other-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-write').get(0).checked = true;
|
$('#other-sharing-permissions-write').get(0).checked = true;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; //$('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; //$('#other-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-write').get(0).checked = false;
|
$('#other-sharing-permissions-write').get(0).checked = false;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; //$('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; //$('#other-sharing-panel').hide(); } });
|
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector, u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
|
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector,u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
|
$('#other-sharing-premissions-read').get(0).checked = true;
|
$('#group-sharing-premissions-read').get(0).checked = true;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-read').get(0).checked = false;
|
$('#group-sharing-premissions-read').get(0).checked = false;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-write').get(0).checked = true;
|
$('#group-sharing-premissions-write').get(0).checked = true;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide(); } });
|
$('#other-sharing-premissions-write').get(0).checked = false;
|
$('#group-sharing-premissions-write').get(0).checked = false;
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide(); } });
|
$('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show();
|
$('#sharing-collection-with-group').get(0).checked = true; $('#group-sharing-panel').show();
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide(); } });
|
$('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide();
|
$('#sharing-collection-with-group').get(0).checked = false; $('#group-sharing-panel').hide();
|
$.get("operations.xql", params, function(data) { //set read checkbox var readPermissions = $(data).find('read'); if(readPermissions.size() == 1){ $('#other-sharing-premissions-read').get(0).checked = true; } else { $('#other-sharing-premissions-read').get(0).checked = false; } //set write checkbox var writePermissions = $(data).find('write'); if(writePermissions.size() == 1){ $('#other-sharing-premissions-write').get(0).checked = true; } else { $('#other-sharing-premissions-write').get(0).checked = false; } //set sharing checkbox if(readPermissions.size() + writePermissions.size() >= 1) { $('#sharing-collection-with-other').get(0).checked = true; $('#other-sharing-panel').show(); } else { $('#sharing-collection-with-other').get(0).checked = false; $('#other-sharing-panel').hide(); } });
|
u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
|
u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
|
if (onSuccessFn) onSuccessFn(RedisClient.convertKeyValuePairsToMap(r.getResult().KeyValuePairs));
|
if (onSuccessFn) onSuccessFn(RedisClient.convertKeyValuePairsToMap(r.KeyValuePairs));
|
function(r) { if (onSuccessFn) onSuccessFn(RedisClient.convertKeyValuePairsToMap(r.getResult().KeyValuePairs)); },
|
if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[]; for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length- 1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}}, relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]= l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[]; h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m= m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== "="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition|| !h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m= h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>"; if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); (function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
|
|
if (onSuccessFn) onSuccessFn(r.getResult().KeyType);
|
if (onSuccessFn) onSuccessFn(r.KeyType);
|
function(r) { if (onSuccessFn) onSuccessFn(r.getResult().KeyType); },
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
|
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q]; if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[]; for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length- 1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}}, relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]= l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[]; h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m= m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m===
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m==="="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
|
|
!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m= h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>"; if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); (function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
|
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m==="="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
|
|
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();
|
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
|
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();
|
"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||
|
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>"; if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||
|
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
|
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
|
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>"; if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
|
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
availableTabInFocus = false;
|
function(){ $(this).css('background-color', highlight); $("#tabAvailable").css('background-color', silver); $("#tabOwned").css('background-color', silver); $("#tabFriend").css('background-color', silver); $("#others_div").hide(); $("#my_div").hide(); $("#friend_div").hide(); $("#borrowed_div").show(); }
|
|
item_id = $(item).attr('id')
|
var item_id = $(item).attr('id'); var tag_name, tag_store;
|
function(i,item){ item_id = $(item).attr('id') if (good_re.test(item_id)){ tag_name = item_id.replace(good_prefix,''); tag_store = interestingTags; reason = 'good'; } else if (bad_re.test(item_id)){ tag_name = item_id.replace(bad_prefix,''); tag_store = ignoredTags; reason = 'bad'; } else { return; } tag_store[tag_name] = $(item); setupTagDeleteEvents($(item).find('img'),tag_store,tag_name,reason,true) }
|
setupTagDeleteEvents($(item).find('img'),tag_store,tag_name,reason,true)
|
setupTagDeleteEvents($(item).find('img'),tag_store,tag_name,reason,true);
|
function(i,item){ item_id = $(item).attr('id') if (good_re.test(item_id)){ tag_name = item_id.replace(good_prefix,''); tag_store = interestingTags; reason = 'good'; } else if (bad_re.test(item_id)){ tag_name = item_id.replace(bad_prefix,''); tag_store = ignoredTags; reason = 'bad'; } else { return; } tag_store[tag_name] = $(item); setupTagDeleteEvents($(item).find('img'),tag_store,tag_name,reason,true) }
|
if (checkboxes.length > $(checkboxes).filter(':checked').length) { $('input#edit-objects-select-all', form).val(0); }
|
var checkboxes = $('td input:checkbox', table).click(function() { setSelectAll($('input#edit-objects-select-all', form).val() == 1); }).each(function() {
|
|
experimentalFactorGrid.on("experimentalfactorchange", function(efgrid, efs) { bioMaterialEditor.init();
|
experimentalFactorGrid.on("experimentalfactorchange", function(efgrid, efs) { bioMaterialEditor.init(); factorValueGrid.enable(); factorValueGrid.setTitle("Factor values"); factorValueGrid.setExperimentalFactor(null);
|
experimentalFactorGrid.on("experimentalfactorchange", function(efgrid, efs) { bioMaterialEditor.init(); // refresh available factors. });
|
return false;
|
jq('.formTab a').click(function(e){ tabbedview.tabs_api.click(jq(this).attr('href')); location.hash = jq(this).attr('href'); e.preventDefault(); e.stopPropagation(); });
|
|
bioMaterialEditor.init();
|
experimentalFactorGrid.on("experimentalfactorchange", function(efgrid, efs) { bioMaterialEditor.init(); factorValueGrid.enable(); factorValueGrid.setTitle("Factor values"); factorValueGrid.setExperimentalFactor(null); });
|
|
Ext.select("a", Ext.get(view.getRow(i))).on("click", function(evt) { evt.stopPropagation(); });
|
clearSelectedButton.on('click', function() { sm.each(function(rec) { var index = this.store.indexOfId(rec.id); if (index >= 0) { this.store.removeAt(index); } }, this); this.store.reselect(); }, this);
|
Ext.select("a", Ext.get(view.getRow(i))).on("click", function(evt) { evt.stopPropagation(); });
|
$$('h2').each(function(p){ if (p.id) { var s = $(p.id+'Script'); if (!s) return; var d = new Element('div', {'class':'sourceButton'}); new Jx.Toolbar({scroll:false}).add( new Jx.Button.Flyout({ tooltip: {set:'Examples',key:'mainToolbar',value:'showSource'}, image: 'images/script.png', onOpen: function() {prettyPrint();}, content: '<pre class="prettyprint lang-js">'+s.innerHTML+'</pre>', contentClass: 'exampleScript' }) ).addTo(d); d.inject(p); }
|
window.addEvent('langChange', function(ev) { console.log(ev);
|
$$('h2').each(function(p){ if (p.id) { var s = $(p.id+'Script'); if (!s) return; var d = new Element('div', {'class':'sourceButton'}); new Jx.Toolbar({scroll:false}).add( new Jx.Button.Flyout({ tooltip: {set:'Examples',key:'mainToolbar',value:'showSource'}, image: 'images/script.png', onOpen: function() {prettyPrint();}, content: '<pre class="prettyprint lang-js">'+s.innerHTML+'</pre>', contentClass: 'exampleScript' }) ).addTo(d); d.inject(p); } });
|
refreshNeeded = true;
|
experimentalFactorGrid.on("experimentalfactorchange", function(efgrid, efs) { factorValueGrid.enable(); factorValueGrid.setTitle("Factor values"); factorValueGrid.setExperimentalFactor(null); });
|
|
function(value, element, param) { if (value == "") { var radioButtonArray = new Array("1", "2", "4", "5"); for (var i = 0; i < radioButtonArray.length; i++) { if ($('#grade-' + radioButtonArray[i]).is(':checked')) { return false; } } } return true; }
|
function(value, element, param) { challengeField = $("input#recaptcha_challenge_field").val(); responseField = $("input#recaptcha_response_field").val(); var resp = $.ajax({ type: "GET", url: "signup/check_captcha", data: "recaptcha_challenge_field=" + challengeField + "&recaptcha_response_field=" + responseField, async: false }).responseText; if (resp == "success") { return true; } else { Recaptcha.reload(); return false; } }
|
function(value, element, param) { if (value == "") { var radioButtonArray = new Array("1", "2", "4", "5"); for (var i = 0; i < radioButtonArray.length; i++) { if ($('#grade-' + radioButtonArray[i]).is(':checked')) { return false; } } } return true; }
|
onComplete: (function() { if (!this.options.modal && this.options.parent.unmask) { this.options.parent.unmask(); } this.chrome.removeClass('jxChromeDrag'); var size = this.domObj.getMarginBoxSize(); this.options.width = size.width; this.options.height = size.height; this.layoutContent(); this.domObj.resize(this.options); this.contentContainer.setStyle('visibility',''); this.fireEvent('resize'); this.resizeChrome(this.domObj); }).bind(this)
|
isRestartShown(!this.addon.bootstrapped, false, function() { if(self.onComplete) self.onComplete(); });
|
onComplete: (function() { if (!this.options.modal && this.options.parent.unmask) { this.options.parent.unmask(); } this.chrome.removeClass('jxChromeDrag'); var size = this.domObj.getMarginBoxSize(); this.options.width = size.width; this.options.height = size.height; this.layoutContent(); this.domObj.resize(this.options); this.contentContainer.setStyle('visibility',''); this.fireEvent('resize'); this.resizeChrome(this.domObj); }).bind(this)
|
password_input_fields.hide(); openid_login_token_input_fields.hide(); enabler.hide(); existing_login_methods_div.show(); }
|
var message = $.i18n._( 'Are you sure you want to remove ' + 'your {provider} login?' ).replace( '{provider}', provider_name ); if (confirm(message)){ $.ajax({ type: 'POST', url: authUrl + 'delete_login_method/', data: {provider_name: provider_name}, success: function(data, text_status, xhr){ $(provider_row).remove(); delete existing_login_methods[provider_name]; provider_count -=1; if (provider_count < 0){ provider_count === 0; } if (provider_count === 0){ $('#ab-existing-login-methods').remove(); $('#ab-show-login-methods').remove(); $('h1').html( $.i18n._("Please add one or more login methods.") ); $('#login-intro').html( $.i18n._("You don\'t have a method to log in right now, please add one or more by clicking any of the icons below.") ); existing_login_methods = null; } }, }); } }
|
function(){ password_input_fields.hide(); openid_login_token_input_fields.hide(); enabler.hide(); existing_login_methods_div.show(); }
|
var playText = Drupal.theme.prototype['viewsSlideshowControlsPlay'] ? Drupal.theme('viewsSlideshowControlsPlay') : ''; $(this).text(playText); viewsSlideshowPlay(uniqueID, 'views_slideshow_controls');
|
viewsSlideshowPlay(uniqueID, '');
|
$('.views_slideshow_controls_pause:not(.views-slideshow-controls-pause-processed)', context).addClass('views-slideshow-controls-pause-processed').each(function() { var uniqueID = $(this).attr('id').replace('views_slideshow_controls_pause_', ''); $(this).click(function() { if (Drupal.settings.viewsSlideshow[uniqueID].paused) { var playText = Drupal.theme.prototype['viewsSlideshowControlsPlay'] ? Drupal.theme('viewsSlideshowControlsPlay') : ''; $(this).text(playText); viewsSlideshowPlay(uniqueID, 'views_slideshow_controls'); } else { var pauseText = Drupal.theme.prototype['viewsSlideshowControlsPause'] ? Drupal.theme('viewsSlideshowControlsPause') : ''; $(this).text(pauseText); viewsSlideshowPause(uniqueID, 'views_slideshow_controls'); } return false; }); });
|
var pauseText = Drupal.theme.prototype['viewsSlideshowControlsPause'] ? Drupal.theme('viewsSlideshowControlsPause') : ''; $(this).text(pauseText); viewsSlideshowPause(uniqueID, 'views_slideshow_controls');
|
viewsSlideshowPause(uniqueID, '');
|
$('.views_slideshow_controls_pause:not(.views-slideshow-controls-pause-processed)', context).addClass('views-slideshow-controls-pause-processed').each(function() { var uniqueID = $(this).attr('id').replace('views_slideshow_controls_pause_', ''); $(this).click(function() { if (Drupal.settings.viewsSlideshow[uniqueID].paused) { var playText = Drupal.theme.prototype['viewsSlideshowControlsPlay'] ? Drupal.theme('viewsSlideshowControlsPlay') : ''; $(this).text(playText); viewsSlideshowPlay(uniqueID, 'views_slideshow_controls'); } else { var pauseText = Drupal.theme.prototype['viewsSlideshowControlsPause'] ? Drupal.theme('viewsSlideshowControlsPause') : ''; $(this).text(pauseText); viewsSlideshowPause(uniqueID, 'views_slideshow_controls'); } return false; }); });
|
viewsSlideshowPause(settings);
|
viewsSlideshowThumbnailHoverPause(settings);
|
$('#views_slideshow_thumbnailhover_teaser_section_' + settings.id).click(function() { viewsSlideshowPause(settings); });
|
if (r && hf === col.options.modelField) {
|
if (r && hf === col.options.name) {
|
this.columns.each(function (col, idx) { if (r && hf === col.options.modelField) { //do nothing } else if (!col.isHidden()) { var th = new Element('td', { 'class' : 'jxGridColHead jxGridCol'+idx }); th.adopt(col.getHeaderHTML()); // th.setStyle('width', col.getWidth()); th.addClass('jxColHead-' + col.options.modelField); //add other styles for different attributes if (col.isEditable()) { th.addClass('jxColEditable'); } if (col.isResizable()) { th.addClass('jxColResizable'); } if (col.isSortable()) { th.addClass('jxColSortable'); } list.add(th); th.store('jxCellData', { column: col, colHeader: true, index: idx }); } }, this);
|
th.addClass('jxColHead-' + col.options.modelField);
|
th.addClass('jxColHead-' + col.name);
|
this.columns.each(function (col, idx) { if (r && hf === col.options.modelField) { //do nothing } else if (!col.isHidden()) { var th = new Element('td', { 'class' : 'jxGridColHead jxGridCol'+idx }); th.adopt(col.getHeaderHTML()); // th.setStyle('width', col.getWidth()); th.addClass('jxColHead-' + col.options.modelField); //add other styles for different attributes if (col.isEditable()) { th.addClass('jxColEditable'); } if (col.isResizable()) { th.addClass('jxColResizable'); } if (col.isSortable()) { th.addClass('jxColSortable'); } list.add(th); th.store('jxCellData', { column: col, colHeader: true, index: idx }); } }, this);
|
$('#views_slideshow_singleframe_teaser_section_' + settings.id).click(function() {
|
$('#views_slideshow_thumbnailhover_teaser_section_' + settings.id).click(function() {
|
$('#views_slideshow_singleframe_teaser_section_' + settings.id).click(function() { viewsSlideshowPause(settings); });
|
GenePickerController.searchMultipleGenes(text, taxonId, function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg.alert("Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY + " genes, some of your selections will be ignored."); warned = true; } break; } if (this.getStore().find("id", genes[i].id) < 0) { geneData.push([genes[i].id, genes[i].taxon.scientificName, genes[i].officialSymbol, genes[i].officialName]); } } this.getStore().loadData(geneData, true); }.createDelegate(this));
|
this.on("keypress", function(e) { if (e.getCharCode() == Ext.EventObject.DELETE) { this.removeGene(); } }, this);
|
GenePickerController.searchMultipleGenes(text, taxonId, function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg.alert("Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY + " genes, some of your selections will be ignored."); warned = true; } break; } if (this.getStore().find("id", genes[i].id) < 0) { geneData.push([genes[i].id, genes[i].taxon.scientificName, genes[i].officialSymbol, genes[i].officialName]); } } this.getStore().loadData(geneData, true); }.createDelegate(this));
|
var cb = el.dom.getElementsByTagName('input')[0]
|
var cb = el.dom.getElementsByTagName('input')[0];
|
this.on('groupclick', function(grid, groupField, groupValue, e) { var el = Ext.get(grid.getView().getGroupId(groupValue)); var cb = el.dom.getElementsByTagName('input')[0] if (cb.checked) { this.deleteFactorValueButton.enable(); } else { this.deleteFactorValueButton.disable(); } }, this.getTopToolbar());
|
GenePickerController.searchMultipleGenes(text, taxonId, function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg.alert("Too many genes", "You can only search up to "
|
function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg .alert( "Too many genes", "You can only search up to "
|
GenePickerController.searchMultipleGenes(text, taxonId, function(genes) { var geneData = []; var warned = false; for (var i = 0; i < genes.length; ++i) { if (i >= Gemma.MAX_GENES_PER_QUERY) { if (!warned) { Ext.Msg.alert("Too many genes", "You can only search up to " + Gemma.MAX_GENES_PER_QUERY + " genes, some of your selections will be ignored."); warned = true; } break; } if (this.getStore().find("id", genes[i].id) < 0) { geneData.push([genes[i].id, genes[i].taxon.scientificName, genes[i].officialSymbol, genes[i].officialName]); } } this.getStore().loadData(geneData, true); }.createDelegate(this));
|
window.setTimeout(function() {self.next()},time);
|
mouseup: (function(e) { this.domDisclose.removeClass(this.options.pressedClass); }).bindWithEvent(this),
|
window.setTimeout(function() {self.next()},time);
|
}else{ window.open('../api/#'+a.id, "_blank"); }
|
a.addEvent('click', function() { top.main.location.href='../api/#'+a.id; });
|
|
if (e.getCharCode() == Ext.EventObject.DELETE) {
|
if (!this.getTopToolbar().disabled && e.getCharCode() == Ext.EventObject.DELETE) {
|
this.on("keypress", function(e) { if (e.getCharCode() == Ext.EventObject.DELETE) { this.removeGene(); } }, this);
|
$('.actions .save', this).click(function (ev) { var img = $('img', this); var pos = this.hash.substring(1); if (img.hasClass('stored')) { var id = this.id; img.removeClass('stored'); img.attr('src', 'disk.gif'); $.get('user.xql', { list: 'remove', id: id }); } else { img.attr('src', 'disk_gew.gif'); img.addClass('stored'); $.get('user.xql', { list: 'add', pos: pos }); } $('#personal-list-size').load('user.xql', { action: 'count' }); });
|
$("#collection-tree-tree").dynatree("getRoot").visit(function(dtnode){ dtnode.expand(true); });
|
$('.actions .save', this).click(function (ev) { var img = $('img', this); var pos = this.hash.substring(1); if (img.hasClass('stored')) { var id = this.id; img.removeClass('stored'); img.attr('src', 'disk.gif'); $.get('user.xql', { list: 'remove', id: id }); } else { img.attr('src', 'disk_gew.gif'); img.addClass('stored'); $.get('user.xql', { list: 'add', pos: pos }); } $('#personal-list-size').load('user.xql', { action: 'count' }); });
|
$('#views_slideshow_singleframe_playpause_' + settings.id).click(function(e) { if (settings.paused) { viewsSlideshowSingleFrameResume(settings); } else { viewsSlideshowSingleFramePause(settings); } e.preventDefault(); });
|
return function() { before_func.apply(null, arguments); new_func.apply(null, arguments); };
|
$('#views_slideshow_singleframe_playpause_' + settings.id).click(function(e) { if (settings.paused) { viewsSlideshowSingleFrameResume(settings); } else { viewsSlideshowSingleFramePause(settings); } e.preventDefault(); });
|
this.geneGroupPanel.on("keypress", function(e) { if (e.getCharCode() == Ext.EventObject.DELETE) { deleteGeneGroup();
|
this.geneGroupPanel.getSelectionModel().on('rowselect', function(model, rowindex, record) { this.getEl().mask(); if (record.get('geneIds').length === 0) { this.geneChooserPanel.getStore().removeAll(); this.getEl().unmask(); } else { if (!record.phantom) { this.geneChooserPanel.showGeneGroup(record); } else { this.geneChooserPanel.loadGenes(record.get('geneIds')); }
|
this.geneGroupPanel.on("keypress", function(e) { if (e.getCharCode() == Ext.EventObject.DELETE) { deleteGeneGroup(); } }, this);
|
openlist(this);
|
$(this).keyup();
|
jQuery(document).ready(function () { /* register some global value in the ppa namespace */ jQuery.ppa = { fklist: jQuery('#fklist'), attrs: jQuery('input[id^=attr_]'), // select fields with FK fkbg: jQuery('#fkbg'), i:0, // selected value indice o:0 // offset when navigating prev/next }; /* close the list when clicking outside of it */ jQuery.ppa.fkbg.click(function (e) { hideAc(); }); /* do not submit the form when selecting a value by pressing enter */ jQuery.ppa.attrs .keydown(function (e) { if (e.keyCode == 13 && jQuery.ppa.fklist[0].style.display == 'block') return false; }); /* open the list when the field get the focus */ jQuery.ppa.attrs .focus(function (e) { openlist(this); }); /* enable/disable auto-complete according to the checkbox */ triggerAc( jQuery('#no_ac').click(function () { triggerAc(this.checked); })[0].checked );});
|
this.getTopToolbar().on("save", function() { var edited = this.getEditedRecords();
|
this.getTopToolbar().on("delete", function() { var selected = this.getSelectedIds();
|
this.getTopToolbar().on("save", function() { var edited = this.getEditedRecords(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Saving ..."; this.loadMask.show(); var callback = function() { this.recordsChanged(edited); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.updateExperimentalFactors(edited, callback); }.createDelegate(this));
|
this.loadMask.msg = "Saving ...";
|
this.loadMask.msg = "Deleting experimental factor(s)";
|
this.getTopToolbar().on("save", function() { var edited = this.getEditedRecords(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Saving ..."; this.loadMask.show(); var callback = function() { this.recordsChanged(edited); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.updateExperimentalFactors(edited, callback); }.createDelegate(this));
|
this.recordsChanged(edited);
|
this.idsDeleted(selected);
|
this.getTopToolbar().on("save", function() { var edited = this.getEditedRecords(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Saving ..."; this.loadMask.show(); var callback = function() { this.recordsChanged(edited); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.updateExperimentalFactors(edited, callback); }.createDelegate(this));
|
ExperimentalDesignController.updateExperimentalFactors(edited, callback);
|
ExperimentalDesignController.deleteExperimentalFactors(this.experimentalDesign, selected, { callback : callback, errorHandler : errorHandler });
|
this.getTopToolbar().on("save", function() { var edited = this.getEditedRecords(); var oldmsg = this.loadMask.msg; this.loadMask.msg = "Saving ..."; this.loadMask.show(); var callback = function() { this.recordsChanged(edited); this.loadMask.hide(); this.loadMask.msg = oldmsg; }.createDelegate(this); var errorHandler = function(er) { this.loadMask.hide(); this.loadMask.msg = oldmsg; Ext.Msg.alert("Error", er); }.createDelegate(this); ExperimentalDesignController.updateExperimentalFactors(edited, callback); }.createDelegate(this));
|
$('#collection-restrict-group').click(function(){ $('#collection-restrict-user-group').show() });
|
$('#collection-restrict-user').click(function(){ $('#collection-restrict-user-group').hide(); });
|
$('#collection-restrict-group').click(function(){ $('#collection-restrict-user-group').show()});
|
if (onSuccessFn) onSuccessFn(r.getResult().JavaScript);
|
if (onSuccessFn) onSuccessFn(r.JavaScript);
|
function(r) { if (onSuccessFn) onSuccessFn(r.getResult().JavaScript); },
|
return function(r, id) { var obj = r.data; return value.match(obj.name) || value.match(obj.shortName); }
|
store.on("exception", function(scope, args, data, e) { Ext.Msg.alert('There was an error', e + ". \nPlease try again."); });
|
return function(r, id) { var obj = r.data; return value.match(obj.name) || value.match(obj.shortName); }
|
factorValueGrid.enable();
|
factorValueGrid.getEl().unmask();
|
experimentalFactorGrid.on("experimentalfactorchange", function(efgrid, efs) { factorValueGrid.enable(); factorValueGrid.setTitle("Factor values"); factorValueGrid.setExperimentalFactor(null); // ?? refreshNeeded = true; });
|
test('NodeList', function(){ ok(console.dir(document.body.childNodes).indexOf('[') === 0, 'Looks like array');
|
test('Objects', function(){ equals(console.dir({}), '{}'); equals(console.dir({name:'Nikita'}), '{\n "name": "Nikita"\n}'); equals(console.dir({name:'Nikita', surname:'Vasilyev'}), '{\n "name": "Nikita", \n "surname": "Vasilyev"\n}'); equals(console.dir({age: 21, name:'Nikita', surname:'Vasilyev'}), '{\n "age": 21, \n "name": "Nikita", \n "surname": "Vasilyev"\n}'); console.dimensions_limit = 1; equals(console.dir({down: {to: {rabbit: {hole:1}}}}), '{\n "down": {?}\n}'); console.dimensions_limit = 2; equals(console.dir({down: {to: {rabbit: {hole:1}}}}), '{\n "down": {\n "to": {?}\n }\n}'); console.dimensions_limit = 3; equals(console.dir({down: {to: {rabbit: 'hole'}}}), '{\n "down": {\n "to": {\n "rabbit": "hole"\n }\n }\n}');
|
test('NodeList', function(){ ok(console.dir(document.body.childNodes).indexOf('[') === 0, 'Looks like array');});
|
function() { var id = $(this).attr('id'); settings.opts.startingSlide = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(settings.opts); }
|
$('#views_slideshow_singleframe_teaser_section_' + settings.id).click(function() { viewsSlideshowPause(settings); });
|
function() { var id = $(this).attr('id'); settings.opts.startingSlide = parseInt(id.substring(id.lastIndexOf('_')+1)); $(settings.targetId).cycle(settings.opts); }
|
function () { NerdDinner._map.ShowInfoBox(NerdDinner._shapes[i]); },
|
function () { NerdDinner._map.HideInfoBox(NerdDinner._shapes[i]); }
|
function () { NerdDinner._map.ShowInfoBox(NerdDinner._shapes[i]); },
|
jQuery.ppa.attrs .focus(function (e) { $(this).keyup(); });
|
jQuery(document).ready(function () { /* register some global value in the ppa namespace */ jQuery.ppa = { fklist: jQuery('#fklist'), attrs: jQuery('input[id^=attr_]'), // select fields with FK fkbg: jQuery('#fkbg'), i:0, // selected value indice o:0 // offset when navigating prev/next }; /* close the list when clicking outside of it */ jQuery.ppa.fkbg.click(function (e) { hideAc(); }); /* do not submit the form when selecting a value by pressing enter */ jQuery.ppa.attrs .keydown(function (e) { if (e.keyCode == 13 && jQuery.ppa.fklist[0].style.display == 'block') return false; }); /* open the list when the field get the focus */ jQuery.ppa.attrs .focus(function (e) { $(this).keyup(); }); /* enable/disable auto-complete according to the checkbox */ triggerAc( jQuery('#no_ac').click(function () { triggerAc(this.checked); })[0].checked );});
|
|
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,
|
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,
|
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,
|
$A(arguments).flatten().each(function(opt) { var button = new Jx.Menu.Item($merge(opt,{ toggle: true })); this.menu.add(button); this.buttonSet.add(button); }, this);
|
this.buttonSet.buttons.each(function(button){ if (button.options.label === value) { this.buttonSet.buttonChanged(button); } },this);
|
$A(arguments).flatten().each(function(opt) { var button = new Jx.Menu.Item($merge(opt,{ toggle: true })); this.menu.add(button); this.buttonSet.add(button); }, this);
|
alert("Try after logging in again");
|
dojo.connect(uploader, "onError", function(err){ var uploadedPercent=0; var totalPercent=0; for(var i=0;i<dataArray.length;i++){ uploadedPercent+=dataArray[i].bytesLoaded; totalPercent+=dataArray[i].bytesTotal; } console.log("onProgress:"+uploadedPercent+"/"+totalPercent); setProgressbar((uploadedPercent/totalPercent),1.01011); if(err && err.text) { console.error("Error uploading files:" + err.text); //alert("Error uploading files:" + err.text); } });
|
|
this.fireEvent('link', payload)
|
this.fireEvent('deleted', payload)
|
k.on('done', function(payload) { this.fireEvent('link', payload) });
|
return function() { before_func.apply(null, arguments); new_func.apply(null, arguments); };
|
$(window).scroll(function() { checkPause(settings); });
|
return function() { before_func.apply(null, arguments); new_func.apply(null, arguments); };
|
items.each( function(e) { e.className = "item shown"; });
|
elements.each( function(e) { e.checked = !e.checked; });
|
items.each( function(e) { e.className = "item shown"; });
|
manager.on('pubmedUpdated', function(e) { var html = this.getPubMedHtml(e); Ext.getCmp('pubmed-region-wrap').remove(Ext.getCmp('pubmed-region')); Ext.DomHelper.append('pubmed-region-wrap', html); }.createDelegate(this));
|
manager.on('done', function() { window.location.reload(); });
|
manager.on('pubmedUpdated', function(e) { var html = this.getPubMedHtml(e); Ext.getCmp('pubmed-region-wrap').remove(Ext.getCmp('pubmed-region')); Ext.DomHelper.append('pubmed-region-wrap', html); }.createDelegate(this));
|
arbeitsraum.flush_params();
|
arbeitsraum.flush_params('pagenumber:int');
|
arbeitsraum.searchbox.bind("keyup", function(e) { var value = arbeitsraum.searchbox.val(); if (value.length<=3 && arbeitsraum.prop('searchable_text') > value) { arbeitsraum.prop('searchable_text', ''); arbeitsraum.flush_params(); arbeitsraum.reload_view(); }else{ arbeitsraum.prop('searchable_text', value); } if (value.length>=3) { arbeitsraum.flush_params(); arbeitsraum.reload_view(); } });
|
this.on("afteredit", function(model) { this.saveButton.enable(); this.revertButton.enable();
|
this.on('groupclick', function(grid, groupField, groupValue, e) { var el = Ext.get(grid.getView().getGroupId(groupValue)); var cb = el.dom.getElementsByTagName('input')[0] if (cb.checked) { this.deleteFactorValueButton.enable(); } else { this.deleteFactorValueButton.disable(); }
|
this.on("afteredit", function(model) { this.saveButton.enable(); this.revertButton.enable(); }, this.getTopToolbar());
|
if (onSuccessFn) onSuccessFn(r.getResult().Key);
|
if (onSuccessFn) onSuccessFn(r.Key);
|
function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Key); },
|
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
|
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
|
function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
|
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.