/* mjl.js * MITSUE-LINKS JavaScript Library * Version 2.0.4 * Copyright (C) 2008 MITSUE-LINKS * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /*@cc_on eval((function(){var ps="document external self top parent setInterval clearInterval setTimeout clearTimeout".split(" ");var c=[];for(var i=0,l=ps.length,p=null;ib)?-1:isNaN(d)?0:(this.version.minord)?-1:isNaN(c)?0:(this.version.revisionc)?-1:isNaN(a)?0:(this.version.debuga)?-1:0)},setOptions:function(b,a){if(arguments.length<1){return}if(1!=b.nodeType||"object"!=b.nodeName.toLowerCase()){throw Error("invalid 'object' element node: "+elem)}this.node=b;this.validCreated=false;if(null!==a&&"object"==typeof a){for(var c in this.options){if(undefined===a[c]){continue}this.options[c]=a[c]}}this._setParams();this._setOptionsByParams()},create:function(){this.setOptions.apply(this,arguments);this._switchNode();this._activate();return this.node},_setParams:function(){var c=MJL.getElementsByChildNodes(this.node,"param");var a=c.length;for(var b=0;b