/**
 * mjl.js
 * MITSUE-LINKS JavaScript Library
 * Version 2.1.1
 * Copyright (C) 2008-2010 MITSUE-LINKS
 * @source: http://www.mitsue.co.jp/service/produce/mjl.html
 *
 * 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 <http://www.gnu.org/licenses/>.
 *
 * As additional permission under GNU GPL version 3 section 7, you
 * may distribute non-source (e.g., minimized or compacted) forms of
 * that code without the copy of the GNU GPL normally required by
 * section 4, provided you include this license notice and a URL
 * through which recipients can access the Corresponding Source.
 */
(function(i){if("MJL" in i){throw new Error("MJL "+i.MJL.version+" has already been defined");}var k=i.document,c=k.documentElement,g=k.createElement("div"),a=10,o={},n=[];var b="[ \\t\\n\\f\\r]+",d=new RegExp(b,"g"),l=new RegExp("^"+b+"|"+b+"$","g");var m="[\\u0009-\\u000D\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]+",h=new RegExp("^"+m+"|"+m+"$","g");var f="(?:^|"+b+")",e="(?:(?="+b+")|$)";var j=i.MJL={version:"2.1.1"};j.ua=(function(){var p="ActiveXObject" in i;var s=g.nodeName;var r=p?"trident":"Components" in i?"gecko":"defaultstatus" in i?"webkit":("opera" in i&&"version" in i.opera)?"opera":"unknown";var q={name:r,gecko:false,opera:false,webkit:false,trident:false,unknown:false,v8:"chrome" in i?"localStorage" in i?4:3:0,quirks:"BackCompat"===k.compatMode,xml:s===s.toLowerCase(),version:0,aria:true,activex:p};q[r]=true;q.version=q.opera?Number(i.opera.version()):q.webkit?i.Worker?4:k.evaluate?3:2:q.gecko?k.elementFromPoint?3:2:q.trident?k.documentMode||("maxHeight" in g.style?7:6):0;q.aria=!((q.trident&&q.version<8)||(q.opera&&q.version<9.6));return q;})();j.trim=(function(){var r={def:{cond:l,cache:{}},full:{cond:h,cache:{}}};function p(w,u){var v=r[(u&&u in r)?u:"def"],s=v.cache,t=s[w];if(!t){s[w]=t=w.replace(v.cond,"");}return t;}for(var q in r){p[q]=q;}return p;})();j.isObject=function(q){var p=typeof q;return("object"===p||"function"===p)&&null!==q;};j.isArray=Array.isArray?function(p){return Array.isArray(p);}:function(p){return p instanceof Array;};j.isSameNode=k.isSameNode?function(q,p){return q.isSameNode&&p.isSameNode?q.isSameNode(p):q===p;}:function(q,p){return q==p;};j.convArray=(function(){var p=(j.ua.trident||(j.ua.webkit&&j.ua.version<3)||(j.ua.opera&&j.ua.version<9.5))?function(s){var r=s.length,q=new Array(r),t;for(t=0;t<r;t++){q[t]=s[t];}return q;}:function(q){return Array.prototype.slice.call(q);};return function(q){return j.isArray(q)?q:j.isObject(q)&&q.length?p(q):[];};})();j.convNode=function(r){g.innerHTML=r;var q=g.firstChild,p=null;if(q){if(1<g.childNodes.length){p=k.createDocumentFragment();while(q){p.appendChild(q);q=q.nextSibling;}}else{p=q;}}return p;};j.bind=function(q,r){var p=2<arguments.length?j.convArray(arguments).slice(2):[];return function(){return q.apply(r,0<arguments.length?p.concat(j.convArray(arguments)):p);};};j.getCDATA=(function(){var p={};return function(w){var s=p[w];if(!s){if(!j.trim(w)){throw new Error("CDATA value only has space characters");}var y=j.trim(w.replace(d," ")),x=y.split(d),r=x.length,v=[],u={},z,q;for(z=0;z<r;z++){q=x[z];if(!(q in u)){v.push(q);u[q]=q;}}p[w]=s={str:v.join(" "),items:v,assoc:u,cond:new RegExp(f+"(?:"+v.join("|")+")"+e,"g")};if(!(s.str in p)){p[s.str]=s;}}return s;};})();j.getHash=(function(){var p=j.ua.gecko?"href":"hash";return function(q){var r=j.trim("string"===typeof q?q:((!q?i.location:"window" in q?q.location:q)[p]||"")),s=r.indexOf("#");return s<0?"":r.substring(s+1);};})();j.getName=j.ua.xml?j.ua.opera?function(q){var p=q.localName;if(p&&!q.namespaceURI){p=p.toLowerCase();}return p||q.nodeName;}:function(p){return p.localName||p.nodeName;}:(function(){var p={};return function(s){var r=s.nodeName,q=p[r];if(!q){p[r]=q=s.nodeName.toLowerCase();}return q;};})();j.getData=(function(){var r="data-MJL-id-"+(new Date()).getTime(),p=0,q={};return function(t){var u=j.isSameNode(t,i)?"window":j.isSameNode(t,k)?"document":null,s=null;if(u||1===t.nodeType){u=u||(r in t?t[r]:(t[r]=p++));if(!(u in q)){q[u]={};}s=q[u];}return s;};})();j.hasClassName=function(s,q){var r="string"===typeof s?s:s.className,p=false,t;if(r){t=j.getCDATA(q);p=(r===t.str)||(t.items.length<=(r.match(t.cond)||n).length);}return p;};j.addClassName=function(v,q){if(!j.hasClassName(v,q)){var u=v.className,t=u?[u]:[],p=j.getCDATA(q).items,s=p.length,r;for(r=0;r<s;r++){if(!j.hasClassName(u,p[r])){t.push(p[r]);}}if(0<t.length){v.className=t.join(" ");}}};j.removeClassName=(function(){var p=j.ua.trident&&j.ua.version<8?"className":"class";return function(r,q){var s=r.className,t;if(s){t=j.trim(s.replace(j.getCDATA(q).cond," "));if(s!==t){r.className=t;if(!t){r.removeAttribute(p);}}}};})();j.getElementsByXPath=k.evaluate&&(!j.ua.v8||4<=j.ua.v8)?(function(){var r={},p=null;function s(t){var u=k.createNSResolver((t.ownerDocument||t).documentElement);return function(v){return u.lookupNamespaceURI(v)||t.namespaceURI||c.namespaceURI||"";};}var q=j.ua.opera?(function(){var u=/(^|[^x])x:/g,t={};return function(w){var v=t[w];if(!v){t[w]=v=w.replace(u,"$1");}return v;};})():undefined;return function(u,x){var z=r[x];if(!z){r[x]=z=k.createExpression(q?q(x):x,s(u));}var w=(p=z.evaluate(u,7,p)),y=w.snapshotLength,t=new Array(y),v;for(v=0;v<y;v++){t[v]=w.snapshotItem(v);}return t;};})():undefined;j.getElementsByClassName=k.getElementsByClassName?function(q,p){return j.convArray(q.getElementsByClassName(j.getCDATA(p).str));}:k.querySelectorAll?(function(){var p={};return function(r,q){var s=p[q];if(!s){p[q]=s="."+j.getCDATA(q).items.join(".");}return j.convArray(r.querySelectorAll(s));};})():j.getElementsByXPath?(function(){var p={};return function(u,r){var v=p[r],q,t,w,s;if(!v){q=j.getCDATA(r).items;t=q.length;w=new Array(t);for(s=0;s<t;s++){w[s]='[contains(concat(" ",@class," ")," '+q[s]+' ")]';}p[r]=v=".//*"+w.join("");}return j.getElementsByXPath(u,v);};})():function(t,r){var p=t.getElementsByTagName("*"),s=p.length,q=[],u,v;for(v=0;v<s;v++){u=p[v];if(1===u.nodeType&&j.hasClassName(u,r)){q.push(u);}}return q;};j.getChildElements=j.getElementsByXPath?function(r,q,p){return j.getElementsByXPath(r,p?"./*[not(self::x:"+q+")]":q?"./x:"+q:"./*");}:function(s,r,p){var t=s.firstChild,q=[];if(arguments.length<2){while(t){if(1===t.nodeType){q.push(t);}t=t.nextSibling;}}else{if(r){p=!!p;while(t){if(1===t.nodeType&&p!==(r===j.getName(t))){q.push(t);}t=t.nextSibling;}}}return q;};j.vp=(function(){var p=j.ua.quirks?"body":"documentElement";return{getSize:(j.ua.webkit&&j.ua.version<3)?function(){return{width:i.innerWidth,height:i.innerHeight};}:(j.ua.opera&&j.ua.version<9.5)?function(){return{width:k.body.clientWidth,height:k.body.clientHeight};}:function(){return{width:k[p].clientWidth,height:k[p].clientHeight};}};})();j.event={add:function(s,r,t,p){var q=this._wrapAfterCare(t);p=true===p;if(this._origins[r]){q=this._addOrigin(s,r,q);}else{if(s.addEventListener){s.addEventListener(r,q,p);}else{if(s.attachEvent){s.attachEvent("on"+r,q);}}if(i!==s&&"unload"!==r){this._stack.push([s,r,q,p]);}}return q;},remove:function(s,r,t,p){var q=t;p=true===p;if(this._origins[r]){q=this._removeOrigin(s,r,t,p);}else{if(s.removeEventListener){s.removeEventListener(r,t,p);}else{if(s.detachEvent){s.detachEvent("on"+r,t);}}}return q;},dispatch:k.createEvent?(function(){var q=(j.ua.gecko&&j.ua.version<3)?"DOM2":"DOM3";var p=function(t,s,r){t[r.init].apply(t,[s].concat(r.args));};if(j.ua.webkit&&j.ua.version<3){q="DOM2";p=function(u,t,s){var r=s.args;u.initEvent(t,r[0],r[1]);};}return function(u,s,r){if(!r){r=this._TYPES[q][s]||this._TYPES[q].DEFAULT;if("function"===typeof r){r=r(u);}}var t=k.createEvent(r.type);p(t,s,r);return this._origins[s]?this._dispatchOrigin(u,s,t):u.dispatchEvent(t);};})():k.fireEvent?function(s,q,p){if(!p){p=this._TYPES.DOM3[q]||this._TYPES.DOM3.DEFAULT;if("function"===typeof p){p=p(s);}}var r=k.createEventObject();r.type=q;r.cancelBubble=false===p.args[0];return this._origins[q]?this._dispatchOrigin(s,q,r):s.fireEvent("on"+q,r);}:undefined,preventDefault:function(p){if(p.preventDefault){p.preventDefault();}else{p.returnValue=false;}},stopPropagation:function(p){if(p.stopPropagation){p.stopPropagation();}else{p.cancelBubble=true;}},cancel:function(p){this.preventDefault(p);this.stopPropagation(p);},getTarget:function(p){return p.target||p.srcElement||null;},bind:function(q,r){var p=2<arguments.length?j.convArray(arguments).slice(2):[];return function(s){if(!s&&i.event){s=i.event;}return q.apply(r,[s].concat(p));};},_stack:[],_TYPES:{DOM2:(function(){var s="MouseEvents",p="HTMLEvents",q="initMouseEvent",r="initEvent";return{DEFAULT:{type:p,init:r,args:[true,true]},click:{type:s,init:q,args:[true,true,i,1,0,0,0,0,false,false,false,false,0,null]},mousedown:{type:s,init:q,args:[true,true,i,1,0,0,0,0,false,false,false,false,0,null]},mouseup:{type:s,init:q,args:[true,true,i,1,0,0,0,0,false,false,false,false,0,null]},mouseover:function(t){return{type:s,init:q,args:[true,true,i,0,0,0,0,0,false,false,false,false,0,t]};},mousemove:{type:s,init:q,args:[true,false,i,0,0,0,0,0,false,false,false,false,0,null]},mouseout:function(t){return{type:s,init:q,args:[true,true,i,0,0,0,0,0,false,false,false,false,0,t]};},load:{type:p,init:r,args:[false,false]},unload:{type:p,init:r,args:[false,false]},abort:{type:p,init:r,args:[true,false]},error:{type:p,init:r,args:[true,false]},select:{type:p,init:r,args:[true,false]},change:{type:p,init:r,args:[true,false]},focus:{type:p,init:r,args:[false,false]},blur:{type:p,init:r,args:[false,false]},resize:{type:p,init:r,args:[true,false]},scroll:{type:p,init:r,args:[true,false]}};})(),DOM3:(function(){var u="UIEvent",r="Event",t="MouseEvent",p="initUIEvent",s="initEvent",q="initMouseEvent";return{DEFAULT:{type:r,init:s,args:[true,true]},focus:{type:u,init:p,args:[false,false,i,0]},blur:{type:u,init:p,args:[false,false,i,0]},load:{type:r,init:s,args:[false,false]},unload:{type:r,init:s,args:[false,false]},abort:{type:r,init:s,args:[true,false]},error:{type:r,init:s,args:[true,false]},select:{type:r,init:s,args:[true,false]},change:{type:r,init:s,args:[true,false]},resize:{type:r,init:s,args:[true,false]},scroll:{type:r,init:s,args:[false,false]},click:{type:t,init:q,args:[true,true,i,1,0,0,0,0,false,false,false,false,0,null]},mousedown:{type:t,init:q,args:[true,true,i,1,0,0,0,0,false,false,false,false,0,null]},mousemove:{type:t,init:q,args:[true,true,i,0,0,0,0,0,false,false,false,false,0,null]},mouseover:function(v){return{type:t,init:q,args:[true,true,i,0,0,0,0,0,false,false,false,false,0,v]};},mouseout:function(v){return{type:t,init:q,args:[true,true,i,0,0,0,0,0,false,false,false,false,0,v]};},mouseup:{type:t,init:q,args:[true,true,i,1,0,0,0,0,false,false,false,false,0,null]}};})()},_wrapAfterCare:function(p){return function(q){if(!q&&i.event){q=i.event;}if(false===p(q)){j.event.cancel(q);}};},_origins:{resize:j.ua.trident&&j.ua.version<9?{init:function(){var p=true;function q(){p=true;}i.attachEvent("onresize",function(){if(p){p=false;j.event.dispatch(i,"resize");setTimeout(q,0);}});}}:!i.dispatchEvent?{init:function(){i.addEventListener("resize",function(){j.event.dispatch(i,"resize");},false);}}:undefined,fontresize:{init:function(q,p,s){var r=this._getOriginData(k,p);j.style.setFontResizeTarget(k.body);r.id=setInterval(function(){if(j.style.isFontResized()){j.event.dispatch(k,"fontresize");}},1000);},remove:function(q,p,s){var r=this._getOriginData(q,p);if(r.listeners.length<=0&&!isNaN(r.id)){clearInterval(r.id);r.id=null;}}},forcedraw:{}},_getOriginData:function(q,p){var r=j.getData(q);if(!r.event){r.event={};}if(!r.event[p]){r.event[p]={init:false,listeners:[]};}return r.event[p];},_addOrigin:function(r,q,u){var t=this._getOriginData(r,q),p=this._origins[q],s=t.listeners.length;if(!t.init){if(p&&p.init){p.init.apply(this,arguments);}t.init=true;}if(p&&p.add){p.add.apply(this,arguments);}t.listeners[s]=u;return s;},_removeOrigin:function(r,q,t){var s=this._getOriginData(r,q),p=this._origins[q];if(s.init){if(p&&p.remove){p.remove.apply(this,arguments);}delete s.listeners[t];}return t;},_dispatchOrigin:function(t,r,s){var w=this._getOriginData(t,r),q=w.listeners,v=q.length,p,u;for(p=0;p<v;p++){u=q[p];if(u){u(s);}}}};if(j.ua.opera&&j.ua.version<10){j.event.add(i,"load",function(){if(j.ua.version<9.3){j.event.add(k.body,"resize",function(){return false;});}var q,r,p;function s(){q=j.vp.getSize();r=i.innerWidth;p=i.innerHeight;}j.event.add(i,"resize",s);setInterval(function(){var t=j.vp.getSize();if(r===i.innerWidth&&p===i.innerHeight&&(q.width!==t.width||q.height!==t.height)){j.event.dispatch(i,"resize");}},100);s();});}j.event.add(i,"unload",function(){var p=j.event._stack,q=p.length,r;for(r=0;r<q;r++){j.event.remove.apply(j.event,p[r]);}});j.style={getSheets:j.ua.webkit?(function(){var p=k.querySelectorAll?function(r){return j.convArray(k.querySelectorAll('html > head > link[rel="'+r+'"]'));}:function(r){var t=k.getElementsByTagName("link"),v=t.length,u=[],s;for(s=0;s<v;s++){if(t[s].getAttribute("rel")===r){u.push(t[s]);}}return u;},q=function(){var s=p("alternate stylesheet"),t=s.length,r;for(r=0;r<t;r++){s[r].disabled=true;s[r].rel="stylesheet";}q=undefined;};return function(){if(q){q();}var t=p("stylesheet"),x=t.length,w=new Array(x),s,v,u,y;for(s=0;s<x;s++){w[s]=t[s].disabled;t[s].disabled=false;}v=j.convArray(k.styleSheets);u=v.length;for(s=0;s<x;s++){t[s].disabled=w[s];}for(y=0;y<u;y++){v[y]=v[y].ownerNode;}return v;};})():j.ua.opera&&j.ua.version<9.5?function(){var r=j.convArray(k.styleSheets),p=r.length,q;for(q=0;q<p;q++){r[q].ownerNode.disabled=r[q].disabled;}return r;}:function(){return j.convArray(k.styleSheets);},getTitledSheets:function(){var t=this.getSheets(),p=t.length,q={},r,u;for(r=0;r<p;r++){u=t[r].title;if(u){if(!(u in q)){q[u]=[];}q[u].push(t[r]);}}return q;},getActiveTitle:"selectedStyleSheetSet" in k?function(){return k.selectedStyleSheetSet;}:function(q){var p="",r;if(!q){q=this.getTitledSheets();}for(r in q){if(!q[r][0].disabled){p=r;break;}}return p;},switchAlt:function(w){var r=this.getTitledSheets(),p=this.getActiveTitle(r),t=p,x,q,y,s,u,v;if(w&&w in r){x=(p&&p!==w)?r[p]:[];q=x.length;if(0<q){y=r[w];s=y.length;for(u=0;u<q;u++){x[u].disabled=true;}for(v=0;v<s;v++){y[v].disabled=false;}}t=w;}return t;},getComputed:(function(){var r=k.defaultView,t=/\d\s*px$/i,q=/^\d/,s=(j.ua.trident||(j.ua.opera&&j.ua.version<9.5))?function(v,w,u){v="client"+v.charAt(0).toUpperCase()+v.substring(1);w="padding"+w;u="padding"+u;return function(z){var B=parseInt(this.getComputed(z,w),a)||0,A=parseInt(this.getComputed(z,u),a)||0,y,x;if(j.ua.trident&&j.ua.version<8&&!z.currentStyle.hasLayout){x=z.style.zoom;z.style.zoom=1;y=z[v];z.style.zoom=x;}else{y=z[v];}y-=B+A;return(0<y?y:0)+"px";};}:j.ua.webkit&&4<=j.ua.version?function(u){return function(w){var v=j.style._getUnitElem();return parseInt(parseInt(r.getComputedStyle(w,null)[u],a)/(parseInt(r.getComputedStyle(v,null).height,a)/10000),a);};}:undefined,p={width:s?s("width","Left","Right"):undefined,height:s?s("height","Top","Bottom"):undefined,fontSize:j.ua.trident?(function(){var u=/%$/,v={"xx-small":true,"x-small":true,small:true,medium:true,large:true,"x-large":true,"xx-large":true,larger:true,smaller:true,inherit:true};return function(x){var w="";try{w=x.currentStyle.fontSize;}catch(y){}if(!w||w in v||u.test(w)){w="1em";}return w;};})():undefined};return r&&r.getComputedStyle?function(u,v){return p[v]?p[v].call(this,u):r.getComputedStyle(u,null)[v];}:c.currentStyle?function(w,y){var v=p[y]?p[y].call(this,w):w.currentStyle[y],x,u;if(!t.test(v)&&q.test(v)){x=w.style.left;u=w.runtimeStyle.left;w.runtimeStyle.left=w.currentStyle.left;w.style.left=v||0;v=w.style.pixelLeft+"px";w.style.left=x;w.runtimeStyle.left=u;}return v;}:undefined;})(),setFontResizeTarget:function(p){if(!this._fontTarget||!j.isSameNode(this._fontTarget,p)){this._fontTarget=p;this.isFontResized();}},isFontResized:(function(){function p(){var u=this._fontTarget,r=false,t,s,q;if(u){t=j.getData(u);s=t.beforeFontSize;q=j.style.getComputed(u,"fontSize");if(s!==q){t.beforeFontSize=q;r=!!s;}}return r;}return(j.ua.webkit&&j.ua.version<3)?(function(){var q=null,t=null,s=0,r=0;j.event.add(i,"load",function(){q=k.body;t=j.style._getUnitElem();s=j.style.getComputed(q,"fontSize");r=t.offsetWidth;});return function(){var u=false;if(q&&t){var w=j.style.getComputed(q,"fontSize"),v=t.offsetWidth;if(s===w&&r!==v){s=w;r=v;u=true;}}return u||p.call(this);};})():p;})(),_fontTarget:null,_getUnitElem:function(){var p=k.createElement("div");p.style.margin=p.style.padding="0";p.style.display="block";p.style.width="1em";p.style.position="absolute";p.style.top=p.style.left="-999em";p.style.borderStyle="none";p.style.overflow="hidden";p.style.height="10000px";k.body.appendChild(p);this._getUnitElem=function(){return p;};return p;}};j.style.Switcher=function(){this.parent=null;this.targets={};this.options={collect:this.collect.def,cookie:{path:"/",fileUnit:false},active:"active"};this.title="";this._parentName="";this._cookie=null;this._objects.push(this);this.setOptions.apply(this,arguments);};j.style.Switcher.prototype={setOptions:function(q,p){if(0<arguments.length){this.parent=q;if(j.isObject(p)){for(var r in this.options){if(r in p){this.options[r]=p[r];}}}this._parentName=j.getName(q);}},create:function(){this.setOptions.apply(this,arguments);this._setTargets();this._setEvents();this._createCookie();this._set(this._title||this._getCookie());},set:function(s){var r=this._objects,q=r.length,p;for(p=0;p<q;p++){r[p]._set(s);}},collect:{def:function(r){var p=[],q;for(q in this._TYPES){p=p.concat(this._TYPES[q].collect.call(this,r));}return p;}},_objects:[],_title:"",_TYPES:{a:{getTitle:function(p){return decodeURIComponent(j.getHash(p));},collect:function(p){return("a"===this._parentName)?[p]:j.convArray(p.getElementsByTagName("a"));}}},_listener:function(p,r){this.set(r);var q=j.event.getTarget(p);if(q){j.event.dispatch(q,"focus");}return false;},_set:function(v){v=j.style.switchAlt(v);if(this.title!==v){var s=this.targets,p=this.options.active,w=(s[this.title]||o).element||n,x=(s[v]||o).element||n,q=w.length,r=x.length,t,u;for(t=0;t<q;t++){j.removeClassName(w[t],p);j.event.dispatch(w[t],"blur");}for(u=0;u<r;u++){j.addClassName(x[u],p);j.event.dispatch(x[u],"focus");}this.title=v;}if(this._title!==v){j.style.Switcher.prototype._title=v;this._setCookie();}},_setTargets:function(){var p=this.options.collect.call(this,this.parent),r=p.length,s;for(s=0;s<r;s++){var u=p[s],q=j.getName(u),v=this._TYPES[q].getTitle.call(this,u);if(v){if(v in this.targets){this.targets[v].element.push(u);}else{this.targets[v]={element:[u],event:j.event.bind(this._listener,this,v)};}}}},_setEvents:function(){var p=this.targets,u;for(u in p){var q=p[u].element,r=q.length,s=p[u].event;for(var t=0;t<r;t++){j.event.add(q[t],"click",s);}}},_COOKIE_NAME:"MJL.style.Switcher",_COOKIE_KEY:"title",_createCookie:function(){if(!this._cookie&&this.options.cookie){this._cookie=new j.Cookie(this._COOKIE_NAME,this.options.cookie);}},_getCookie:function(){return this.options.cookie?this._cookie.get(this._COOKIE_KEY):"";},_setCookie:function(){if(this.options.cookie){this._cookie.set(this._COOKIE_KEY,this._title);}}};j.Cookie=function(){this.name="";this.params={path:"",domain:"","max-age":31536000,secure:false};this.options={fileUnit:true,index:"index.html"};this._nameCond=null;this.setOptions.apply(this,arguments);};j.Cookie.prototype={setOptions:function(r,q){if(j.isObject(q)){for(var t in this.options){if(t in q){this.options[t]=q[t];}}for(var s in this.params){if(s in q){this.params[s]=q[s];}}}this.setName(r);},setName:(function(){var s=/\/$/,q=/\\/g,r="\\\\",p={};return function(t){if(!t||"string"!==typeof t){throw new Error("Cookie name '"+t+"' is invalid");}if(this.options.fileUnit){var u=i.location.pathname;if(s.test(u)&&""!==this.options.index){u+=this.options.index;}t+="@"+u;}if(!(t in p)){p[t]=new RegExp("(?:^|;)[\\s]*"+t.replace(q,r)+"=([^;]+)(?:;|$)");}this.name=t;this._nameCond=p[t];};})(),get:function(p){var q=this._getAll();return p?q[p]:q;},set:function(r,t){var s=this._getAll(),q=[],p;s[r]=t;for(p in s){q.push(encodeURIComponent(p)+":"+encodeURIComponent(s[p]));}if(0<q.length){k.cookie=this.name+"="+q.join(",")+this._getParamStr();}},remove:function(){var p=this.params["max-age"];this.params["max-age"]=-(new Date()).getTime();k.cookie=this.name+"="+this._getParamStr();this.params["max-age"]=p;},_DELIMITERS:{item:/\s*\,\s*/,hash:/\s*:\s*/},_param2:{path:{cond:function(p){return p;},conv:function(p){return p;}},domain:{cond:function(p){return p;},conv:function(p){return p;}},"max-age":{cond:function(p){return !isNaN(p);},conv:function(p){return p;}},secure:{cond:function(p){return p;},conv:function(p){return(p?"sequre":"");}}},_getAll:function(){var r=this._nameCond.exec(k.cookie||""),q={},v,w,p,u,t,s;if(r){v=this._DELIMITERS;w=v.hash;p=r[1].split(v.item);u=p.length;for(t=0;t<u;t++){s=p[t].split(w);q[decodeURIComponent(s[0])]=decodeURIComponent(s[1]);}}return q;},_getParamStr:function(){var t=[],v=this.params,s=this._param2,r,q,u;for(r in v){if(s[r].cond(v[r])){t.push(r+"="+s[r].conv(v[r]));}}q=this._getExpiresStr();if(q){t.push(q);}u=t.join(";");return u?";"+u:"";},_getExpiresStr:function(){var r=this.params["max-age"],q="",p;if(!isNaN(r)){p=new Date();p.setTime(p.getTime()+r);q="expires="+p.toGMTString();}return q;}};j.Rollover=function(){this.parent=null;this.targets=[];this.activeId=-1;this.options={collect:this.collect.def,active:"",disable:""};this.switchers={on:this._SWITCHERS.on,off:this._SWITCHERS.off};this._parentName="";this.setOptions.apply(this,arguments);};j.Rollover.prototype={setOptions:function(t,p){if(0<arguments.length){this.parent=t;if(j.isObject(p)){for(var u in this.options){if(u in p){this.options[u]=p[u];}}if("switchers" in p){var r=p.switchers;for(var q in this.switchers){if(q in r){this.switchers[q]=r[q];}}}}this._parentName=j.getName(t);}},create:function(){this.setOptions.apply(this,arguments);this._setTargets();this._setEvents();if(this.options.active){this.reload();}},change:function(p,q){var u=this.targets[q],s=this._isActive(u.element),t=s?"on":p?this._TYPE2STATUS[p.type]:u.status;if(this._TYPES[u.name].change){u.element.setAttribute("src",u.path[t]);}else{var w=this._STATUS2TYPE[t],r=this.targets[q].descendants,x=r.length,v;for(v=0;v<x;v++){j.event.dispatch(r[v],w);}}u.status=t;},reload:function(){var p=this.targets.length,q;for(q=0;q<p;q++){this.change(null,q);}},collect:{def:function(r){var p=[],q;for(q in this._TYPES){p=p.concat(this._TYPES[q].collect.call(this,r));}return p;}},_SWITCHERS:{on:{cond:/(\.[^\.]+)$/,replace:"_o$1"},off:{cond:"",replace:""}},_TYPE2STATUS:{mouseover:"on",mouseout:"off",focus:"on",blur:"off"},_STATUS2TYPE:{on:"mouseover",off:"mouseout"},_TYPES:{img:{change:true,types:["mouseover","mouseout"],collect:function(p){return("img"===this._parentName)?[p]:j.convArray(p.getElementsByTagName("img"));}},input:{change:true,types:["mouseover","mouseout","focus","blur"],collect:(function(){var p=k.querySelectorAll?function(q){return j.convArray(q.querySelectorAll('input[type="image"]'));}:function(u){var q=u.getElementsByTagName("input"),s=q.length,r=[],t;for(t=0;t<s;t++){if("image"===q[t].getAttribute("type")){r.push(q[t]);}}return r;};return function(q){return("input"===this._parentName&&"image"===q.getAttribute("type"))?[q]:p(q);};})()},a:{change:false,types:["focus","blur"],collect:function(t){var r=("a"===this._parentName)?[t]:t.getElementsByTagName("a"),q=r.length,s=[],p;for(p=0;p<q;p++){if(0<r[p].getElementsByTagName("img").length){s.push(r[p]);}}return s;}}},_isEnable:function(p){if(this.options.disable){do{if(j.hasClassName(p,this.options.disable)){return false;}}while(!j.isSameNode(p,this.parent)&&(p=p.parentNode));}return true;},_isActive:function(p){if(this.options.active){do{if(j.hasClassName(p,this.options.active)){return true;}}while(!j.isSameNode(p,this.parent)&&(p=p.parentNode));}return false;},_filter:function(p){var r=p.length,q=[],s;for(s=0;s<r;s++){if(this._isEnable(p[s])){q.push(p[s]);}}return q;},_setTargets:function(){var u=this._filter(this.options.collect.call(this,this.parent));var y=u.length,z=this.switchers,A;for(A=0;A<y;A++){var w=u[A],p=j.getName(w),x=this._TYPES[p].change,s=x?null:this._TYPES.img.collect.call(this,w);if(x||0<s.length){var q=u[A].getAttribute("src")||"",v="",r="";if(q){v=q.replace(z.on.cond,z.on.replace);r=q.replace(z.off.cond,z.off.replace);}this.targets.push({id:A,name:p,element:w,status:"off",path:{def:q,on:v,off:r},descendants:s,events:{}});if(q!==v){this._addCache(v);}if(q!==r){this._addCache(r);}}}},_setEvents:function(){var q=this.targets,r=q.length,u,y,s,w,x,v;for(u=0;u<r;u++){y=this.targets[u];s=this._TYPES[y.name].types;w=s.length;for(x=0;x<w;x++){v=s[x];y.events[v]=j.event.add(y.element,v,j.event.bind(this.change,this,u));}}},_addCache:(function(){var p={};return function(r){var q=p[r];if(!q){p[r]=q=k.createElement("img");q.setAttribute("src",r);}};})()};j.Flash=function(){this.node=null;this.alt=null;this.options={activate:false,version:0,minVerMsg:null};this.params={};this.validCreated=false;this.setOptions.apply(this,arguments);};j.Flash.prototype=(function(){var t="application/x-shockwave-flash",q="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",s="ShockwaveFlash.ShockwaveFlash",r="$version",p=false;return{type:t,classid:q,version:(function(){var v=i.navigator.mimeTypes[t],C=[0,0,0,0],E,D,w,z,B,u;if(v){E=/(\d+)\.(\d+)(?:\s*[rd\.](\d+))?(?:\s*[bd](\d+))?$/;D=v.enabledPlugin?v.enabledPlugin.description:"";}else{if(j.ua.activex){E=/(\d+),(\d+),(\d+),(\d+)/;try{D=(new i.ActiveXObject(s+".7")).GetVariable(r);}catch(x){try{z=new i.ActiveXObject(s+".6");D="6,0,21,0";z.AllowScriptAccess="always";D=z.GetVariable(r);}catch(y){try{D=(new i.ActiveXObject(s)).GetVariable(r);}catch(A){D="";}}}}}if(E){w=E.exec(D);if(w){p=true;B=w.length;for(u=1;u<B;u++){C[u-1]=parseInt(w[u],a)||0;}}}return C;})(),enable:p,compVersion:function(){var A=j.isArray(arguments[0])?arguments[0]:arguments,z=A.length,y=this.version,x=y.length,B=x<z?x:z,w=0,v,u;for(v=0;v<B&&0===w;v++){u=A[v];if(isNaN(u)){throw new Error("'"+u+"' ("+v+"/"+B+") is not a number");}u=Math.floor(u);w=y[v]<u?1:y[v]>u?-1:0;}return w;},setOptions:function(v,u){if(0<arguments.length){if(1!==v.nodeType||"object"!==j.getName(v)){throw new Error("Node '"+v+"' is not 'object' element");}this.node=v;this.validCreated=false;if(j.isObject(u)){for(var w in this.options){if(w in u){this.options[w]=u[w];}}}this._setParams();this._setOptionsByParams();}},create:function(){this.setOptions.apply(this,arguments);this._switchNode();this._activate();return this.node;},_setParams:function(){var w=j.getChildElements(this.node,"param"),u=w.length,v;for(v=0;v<u;v++){this.params[w[v].getAttribute("name")]=w[v].getAttribute("value");}},_setOptionsByParams:function(){for(var u in this.options){if(u in this.params){this.options[u]=this.params[u];}}},_switchNode:function(){if(this.enable){if(this.compVersion(this.options.version)<=0){this.validCreated=true;return;}var v=this.alt=(this.options.minVerMsg&&this.enable)?this._createMinVerMsg():this._createAlt(),u=this.node;u.parentNode.replaceChild(v,u);this.node=v;}},_createMinVerMsg:function(){return("string"===typeof this.options.minVerMsg)?j.convNode(this.options.minVerMsg):this.options.minVerMsg;},_createAlt:j.ua.trident?function(){return j.convNode(this.node.innerHTML);}:function(){var x=k.createDocumentFragment(),u=j.getChildElements(this.node.cloneNode(true),"param",true),v=u.length,w;for(w=0;w<v;w++){x.appendChild(u[w]);}return x;},_activate:function(){if(j.ua.activex&&this.options.activate&&this.validCreated){this._setCopyObject();this.node.setAttribute("type",this.type);}},_setCopyObject:function(){var B=k.createElement("object"),v=this.node.cloneNode(true),z=v.firstChild,x=this.node.attributes,y=x.length,w,A,u;for(u=0;u<y;u++){w=x[u].name;A=x[u].value;if(A&&"null"!==A&&w&&"type"!==w&&"classid"!==w){B.setAttribute(w,A);}}while(z){B.appendChild(z);z=v.firstChild;}this.node.parentNode.replaceChild(B,this.node);this.node=B;}};})();j.Flash.version=j.Flash.prototype.version;j.Flash.enable=j.Flash.prototype.enable;j.Flash.compVersion=j.Flash.prototype.compVersion;j.Window=function(){this.parent=null;this.targets=[];this.options={collect:this.collect.def,name:"_blank"};this.params={left:null,top:null,height:null,width:null,menubar:"yes",toolbar:"yes",location:"yes",status:"yes"};this._parentName="";this._paramStr="";this.setOptions.apply(this,arguments);};j.Window.prototype={setOptions:function(r,q){if(0<arguments.length){this.parent=r;if(j.isObject(q)){for(var t in this.options){if(t in q){this.options[t]=q[t];}}for(var s in this.params){if(s in q){this.params[s]=this._normalizeParam(q[s]);}}}this.options.name=this._judgeName(this.options.name);this._parentName=j.getName(r);this._paramStr=this._getParamStr();}},create:function(){this.setOptions.apply(this,arguments);this._setTargets();},open:function(q,p){this.targets[q].ref=i.open(this.targets[q].uri,p,this._paramStr);},collect:(function(){var q=/^https?:/,p=(j.ua.trident&&j.ua.version<8)?function(u,s){var t=u.getAttribute(s,2);return t&&q.test(t);}:function(u,s){var t=u.getAttribute(s);return t&&q.test(t);};var r=k.querySelectorAll?function(u,t,s){return j.convArray(u.querySelectorAll(t+"["+s+'^="http:"], '+t+"["+s+'^="https:"]'));}:function(x,v,s){var t=x.getElementsByTagName(v),w=t.length,u=[],y;for(y=0;y<w;y++){if(p(t[y],s)){u.push(t[y]);}}return u;};return{def:function(v){var t=this._TYPES,s=this._parentName in t?[v]:[],u;for(u in t){s.push(j.convArray(v.getElementsByTagName(u)));}return s.concat.apply([],s);},http:function(w){var u=this._TYPES,t=this._parentName,s=(t in u&&p(w,u[t].uri))?[w]:[],v;for(v in u){s.push(r(w,v,u[v].uri));}return s.concat.apply([],s);}};})(),_NAME_PREFIX:"MJL_window_ITEM_",_IMMUTABLE_PARAMS:{resizable:"yes",scrollbars:"yes"},_TYPES:{a:{type:"click",uri:"href",event:function(p,q){this.open(q,this._getName());return false;}},form:{type:"submit",uri:"action",event:function(q,r){var p=this._getName();this.open(r,p);this.parent.setAttribute("target",p);}}},_judgeName:function(p){if("string"!==typeof p||""===p){throw new Error("Window name '"+p+"' is invalid");}if("_self"===p||"_parent"===p||"_top"===p){throw new Error("Window name '"+p+"' is special one: MUST NOT use");}return p;},_setTargets:function(){var p=this.options.collect.call(this,this.parent),q=p.length,s=this._TYPES,v,u,r;for(r=0;r<q;r++){v=p[r];u=s[j.getName(v)];this.targets[r]={element:v,uri:v.getAttribute(u.uri)||"",event:j.event.add(v,u.type,j.event.bind(u.event,this,r)),ref:null};}},_getName:(function(){var p=0;return function(){return("_blank"===this.options.name)?this._NAME_PREFIX+p++:this.options.name;};})(),_getParamStr:function(){var q=[],s,r;for(s in this.params){if(null!==this.params[s]){q.push(s+"="+this.params[s]);}}for(r in this._IMMUTABLE_PARAMS){q.push(r+"="+this._IMMUTABLE_PARAMS[r]);}return q.join(",");},_normalizeParam:function(p){return(true===p)?"yes":(false===p)?"no":p;}};j.Tab=function(){this.container=null;this.content=null;this.list=null;this.id="";this.activeId="";this.stat=false;this.classes={container:"tabContainer",list:"tabList",panel:"tabPanel",title:"tabTitle",active:"active",stat:"static"};this.options={collect:this.collect.def,cookie:{},aria:true};this.items={};this._items=[];this._activeIdByDocument="";this._created=false;this._resized=false;this._cookie=null;this.setOptions.apply(this,arguments);};j.Tab.prototype={setOptions:function(r,p){if(0<arguments.length){this.content=r;this.id=r.getAttribute("id")||"";if(j.isObject(p)){for(var s in this.options){if(s in p){this.options[s]=p[s];}}if("classes" in p){var q=p.classes;for(var t in this.classes){if(t in q){this.classes[t]=q[t];}}}}if(!this.id){this.options.cookie=null;}if(!j.ua.aria){this.options.aria=false;}}},create:function(){this._created=false;this.setOptions.apply(this,arguments);this._judgeStatic();this._getContents();this._createContainer();this._createList();this._setEvents();this._setResizeChecker();this._createCookie();this._setARIA();this.replace();this.active();this._created=true;},replace:function(){var r=this.items,s=this.content,q=this.classes.panel,t,p;for(t in r){j.addClassName(r[t].panel,q);}if(!this.stat){p=this.container;s.parentNode.insertBefore(p,s);p.appendChild(this.list);p.appendChild(s);}},active:function(t){var q=this._getActiveId(),r,p,s;if(t!==q){this._resized=false;if(!this._isValidId(t)){t=q;}r=this.classes.active;p=this.items[q];s=this.items[t];j.removeClassName(p.tab,r);j.removeClassName(p.panel,r);j.addClassName(s.tab,r);j.addClassName(s.panel,r);this._activeARIA(q,t);if(this._created){s.anchor.focus();j.event.dispatch(p.anchor,"blur");}this._setActiveId(t);this._setCookie();if(this._created&&!this._resized){j.event.dispatch(i,"forcedraw");}}},collect:{def:function(p){return j.getChildElements(p);}},_ID_PREFIX:"MJL_TAB_ITEM_",_ACTIVE_ID_RULES:[function(){return this._getCookie();},function(){return j.getHash();},function(){return this._activeIdByDocument;},function(){return this._items[0].id;}],_EVENTS:{click:function(p,q){this.active(q);j.event.preventDefault(p);},keydown:function(r,s){if(!r.ctrlKey&&!r.altKey&&!r.shiftKey){var q=this.items[s].num,p=this._items.length-1;switch(r.keyCode){case 37:case 38:q--;if(q<0){q=p;}break;case 39:case 40:q++;if(p<q){q=0;}break;default:q=NaN;break;}if(this._isValidNum(q)){this.active(this._items[q].id);j.event.preventDefault(r);}}}},_judgeStatic:function(){this.stat=j.hasClassName(this.content,this.classes.stat);if(this.stat){j.removeClassName(this.content,this.classes.stat);}},_isValidId:function(p){return""!==p&&p in this.items;},_isValidNum:function(p){return !(isNaN(Number(p))||undefined===this._items[p]);},_getActiveId:function(){var t=this._ACTIVE_ID_RULES,p=t.length,q="",s;this._setActiveIdByDocument();for(s=0;s<p;s++){q=t[s].call(this);if(this._isValidId(q)){break;}}if(!q){throw new Error("Tab active ID can not be acquired");}this._getActiveId=function(){return this.activeId;};this._setActiveId(q);return q;},_setActiveIdByDocument:function(){var p=this.classes.active,q;for(q in this.items){if(j.hasClassName(this.items[q].panel,p)){this._activeIdByDocument=q;j.removeClassName(this.items[q].panel,p);if(this.stat){j.removeClassName(this.items[q].tab,p);}return;}}},_setActiveId:function(p){if(this._isValidId(p)){this.activeId=p;}},_getId:(function(){var p=0;return function(q){var r="";if(this.stat){r=q.getAttribute("id");if(!r){throw new Error("'id' attribute value '"+r+"' is invalid");}}else{r=this._ID_PREFIX+p;q.setAttribute("id",r);p++;}return r;};})(),_getIdByHref:function(p){var q=decodeURIComponent(j.getHash(p));if(!this._isValidId(q)){throw new Error("Hash value '#"+q+"' in 'href' attribute value is invalid");}return q;},_getContents:function(){var p=this.options.collect.call(this,this.content),r=p.length,q=0,s,u;for(s=0;s<r;s++){u=this._getId(p[s]);if(u in this.items){throw new Error("'id' attribute value '"+u+"' overlaps");}this.items[u]=this._items[q]={num:q,id:u,panel:p[s],title:this._getTitle(p[s]),tab:null,anchor:null,ariaId:null};q++;}},_getTitle:function(p){var r="",q;if(!this.stat){q=j.getElementsByClassName(p,this.classes.title);if(q.length<1){throw new Error("Tab-title is not found");}r=q[0];}return r;},_cloneTitle:function(s){var r=k.createDocumentFragment(),q=this.items[s].title.cloneNode(true),p=q.firstChild;while(p){r.appendChild(p);p=q.firstChild;}return r;},_createContainer:function(){var q=this.classes.container,p=null;if(this.stat){p=this.content.parentNode;while(p&&!j.hasClassName(p,q)){p=p.parentNode;}if(!p){throw new Error("Container is not found");}}else{p=k.createElement("div");j.addClassName(p,q);}this.container=p;},_createList:function(){var t=this.items,r=null,s,q,u,p,x,w,v;if(this.stat){r=j.getElementsByClassName(this.container,this.classes.list)[0];if(!r){throw new Error("Tab-list is not found");}s=j.getChildElements(r);q=s.length;if(q!==this._items.length){throw new Error("Tab number ("+this._items.length+") and Tab-panel number ("+q+") are different");}for(u=0;u<q;u++){w=s[u];v=this._getAnchorElement(w);x=t[this._getIdByHref(v)];x.tab=w;x.anchor=v;}}else{r=k.createElement("ul");j.addClassName(r,this.classes.list);for(p in t){x=t[p];x.tab=w=k.createElement("li");x.anchor=v=k.createElement("a");r.appendChild(w).appendChild(v).appendChild(this._cloneTitle(p));v.setAttribute("href","#"+p);}}this.list=r;},_getAnchorElement:function(p){var q=p.getElementsByTagName("a")[0];if(!q){throw new Error("'a' element in Tab is not found");}return q;},_setEvents:function(){for(var q in this.items){for(var p in this._EVENTS){j.event.add(this.items[q].tab,p,j.event.bind(this._EVENTS[p],this,q));}}},_setResizeChecker:function(){j.event.add(i,"resize",j.event.bind(function(){this._resized=true;},this));},_ARIA_ID_PREFIX:"MJL_TAB_ARIA_",_activeARIA:function(q,s){if(this.options.aria){var p=this.items[q],r=this.items[s];p.anchor.setAttribute("aria-selected","false");r.anchor.setAttribute("aria-selected","true");p.panel.setAttribute("aria-hidden","true");r.panel.setAttribute("aria-hidden","false");this.list.setAttribute("aria-activedescendant",r.ariaId);p.anchor.tabIndex=p.panel.tabIndex=-1;r.anchor.tabIndex=r.panel.tabIndex=0;}},_setARIA:function(){if(this.options.aria){var q=this.items,u,t,s,r,p;this.container.setAttribute("role","presentation");this.content.setAttribute("role","presentation");this.list.setAttribute("role","tablist");for(u in q){this._setIdARIA(u);t=q[u];s=t.tab;r=t.anchor;p=t.panel;s.setAttribute("role","presentation");r.setAttribute("role","tab");r.setAttribute("id",t.ariaId);r.setAttribute("aria-flowto",u);r.setAttribute("aria-controls",u);r.setAttribute("aria-selected","false");p.setAttribute("role","tabpanel");p.setAttribute("aria-labelledby",t.ariaId);p.setAttribute("aria-hidden","true");r.tabIndex=p.tabIndex=-1;}}},_setIdARIA:(function(){var p=0;return function(s){var q=this.items[s],r=q.tab.getAttribute("id");if(!r){r=this._ARIA_ID_PREFIX+p;p++;}q.ariaId=r;};})(),_COOKIE_NAME:"MJL.Tab",_createCookie:function(){if(!this._cookie&&this.options.cookie){this._cookie=new j.Cookie(this._COOKIE_NAME,this.options.cookie);}},_getCookie:function(){return this.options.cookie?this._cookie.get(this.id):"";},_setCookie:function(){if(this.options.cookie){this._cookie.set(this.id,this._getActiveId());}}};j.HeightEqualizer=function(){this.parent=null;this.targets=[];this.options={groupBy:0,collect:this.collect.def,resize:true};this.setOptions.apply(this,arguments);};j.HeightEqualizer.prototype={setOptions:function(q,p){if(0<arguments.length){this.parent=q;if(j.isObject(p)){for(var r in this.options){if(r in p){this.options[r]=p[r];}}}}},create:function(){this.setOptions.apply(this,arguments);this.targets=this.options.collect.call(this,this.parent);this.set();this._setAutoResize();},set:function(){var p=this.targets,q=p.length,r,s;for(r=0;r<q;r++){p[r].style.height="";}s=this._getHeights();for(r=0;r<q;r++){p[r].style.height=s[r];}},collect:{def:function(p){return j.getChildElements(p);}},_UNIT:"px",_EVENTS:(function(){function p(q){this.set();return false;}return[{type:"resize",target:i,listener:p},{type:"fontresize",target:k,listener:p},{type:"forcedraw",target:i,listener:p}];})(),_getHeights:function(){var q=this.targets,s=q.length,v=new Array(s),r=this.options.groupBy,p=0,u;for(u=0;u<s;u++){v[u]=parseInt(j.style.getComputed(q[u],"height"),a);}if(r<2||s<=r){p=Math.max.apply(Math,v)+this._UNIT;for(u=0;u<s;u++){v[u]=p;}}else{for(u=0;u<s;u++){if(0===u%r){p=Math.max.apply(Math,v.slice(u,u+r))+this._UNIT;}v[u]=p;}}return v;},_setAutoResize:function(){if(this.options.resize){var p=this._EVENTS,r=p.length,s,q;for(s=0;s<r;s++){q=p[s];j.event.add(q.target,q.type,j.event.bind(q.listener,this));}}}};j.enable=(function(){function p(q){return function(v,t){var r=j.getElementsByClassName(k,v),u=r.length,s=new Array(u),w;for(w=0;w<u;w++){s[w]=new q(r[w],t);s[w].create();}return s;};}return{rollover:p(j.Rollover),flash:p(j.Flash),window:p(j.Window),tab:p(j.Tab),styleSwitcher:p(j.style.Switcher),heightEqualizer:p(j.HeightEqualizer),getRunner:p};})();})(this.window);
