
if(window.Masque)
_Masque=window.Masque;var Masque=window.Masque={version:'0.0.1',supportW3C:(document.getElementById)?true:false,isOpera:window.opera&&navigator.userAgent.match(/opera/gi)?true:false,isIE:!this.isOpera&&document.all&&navigator.userAgent.match(/msie/gi)?true:false,isIE5:(this.supportW3C&&this.isIE)?true:false,isIE6:navigator.userAgent.toLowerCase().indexOf('msie 6')>-1,isNS:(navigator.appName=="Netscape")?true:false,isSafari:!this.isIE&&navigator.userAgent.match(/safari/gi)?true:false,isGecko:!this.isIE&&navigator.userAgent.match(/gecko/gi)?true:false,isFirefox:!this.isIE&&navigator.userAgent.match(/firefox/gi)?true:false,isFF3:!this.isIE&&navigator.userAgent.match(/Firefox\/3/gi)?true:false,$Temp:{},V:{isElement:function(object){return object&&object.nodeType==1;},isFunction:function(object){return typeof object=="function";},isString:function(object){return typeof object=="string";},isNumber:function(object){return typeof object=="number";},isUndefined:function(object){return typeof object=="undefined";},isObject:function(object){return typeof object=="object";}}};Object.extend=function(destination,source){for(var property in source)
destination[property]=source[property];return destination;};var Class=function(){var _class=function(){return Object.extend(this,_class).initialize.apply(this,arguments);};for(i=0;i<arguments.length;i++){superClass=arguments[i];_class.extend(superClass.prototype);}
Object.extend(_class,{child:function(){return new Class(this);},initialize:function(options){this.SetOption(options);},extend:function(f){Object.extend(this,f);},option:{},SetOption:function(options){Object.extend(this.option,options||{});}});return _class;};