if((typeof(MooTools)=="object")&&(MooTools.hasOwnProperty("version"))&&(parseFloat(MooTools.version)>=1.2)){var swoopClass=new Class({version:"1.0.1",config:{},local:{},body:null,onerror:function(){},onlog:function(){},initialize:function(a){if(typeof(swoop_cnf)=="object"){$extend(this.config,swoop_cnf)}if(typeof(swoop_local)=="object"){$extend(this.local,swoop_local)}$extend(this.config,a);window.addEvent("domready",(function(b){this.domready()}).bind(this));window.addEvent("load",(function(b){this.load()}).bind(this))},domready:function(){try{this.body=$(document.body)}catch(a){this.error(a)}},load:function(){try{}catch(a){this.error(a)}},get:function(a,b){try{b=(b?b:null);if(this.config.hasOwnProperty(a)){return this.config[a]}}catch(c){this.error(c)}return b},set:function(a,c){try{this.config[a]=c}catch(b){this.error(b)}return true},text:function(a,b){try{b=(b?b:a);if(this.local.hasOwnProperty(a)){return this.local[a]}}catch(c){this.error(c)}return b},error:function(a){try{if((typeof(console)!="undefined")&&($type(console)=="object")){if((typeof(console.error)!="undefined")&&($type(console.error)=="function")){console.error(a)}}else{try{if((typeof(this.onerror))=="function"){this.onerror(o)}}catch(a){}}}catch(a){}},log:function(b){try{if((typeof(console)!="undefined")&&($type(console)=="object")){if((typeof(console.log)!="undefined")&&($type(console.log)=="function")){console.log(b)}}else{try{if((typeof(this.onlog))=="function"){this.onlog(b)}}catch(a){}}}catch(a){}},end:function(){}})}else{var swoopClass=function(){}};
