|
|
|
(function(){var a=false,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(g){var f=this.prototype;a=true;var e=new this();a=false;for(var d in g){e[d]=typeof g[d]=="function"&&typeof f[d]=="function"&&b.test(g[d])?(function(h,i){return function(){var k=this._super;this._super=f[h];var j=i.apply(this,arguments);this._super=k;return j}})(d,g[d]):g[d]}function c(){if(!a&&this.init){this.init.apply(this,arguments)}}c.prototype=e;c.prototype.constructor=c;c.extend=arguments.callee;return c}})();var global=(function(){return this||(1,eval)("this")}());if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config=({init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},timers:{api:7000},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}).init();VMM.createElement=function(b,e,a,c,d){var f="";if(b!=null&&b!=""){f+="<"+b;if(a!=null&&a!=""){f+=" class='"+a+"'"}if(c!=null&&c!=""){f+=" "+c}if(d!=null&&d!=""){f+=" style='"+d+"'"}f+=">";if(e!=null&&e!=""){f+=e}f=f+"</"+b+">"}return f};VMM.createMediaElement=function(d,b,e){var c="";var a=false;c+="<div class='media'>";if(d!=null&&d!=""){valid=true;c+="<img src='"+d+"'>";if(e!=null&&e!=""){c+=VMM.createElement("div",e,"credit")}if(b!=null&&b!=""){c+=VMM.createElement("div",b,"caption")}}c+="</div>";return c};VMM.hideUrlBar=function(){var d=window,c=d.document;if(!location.hash||!d.addEventListener){window.scrollTo(0,1);var b=1,a=setInterval(function(){if(c.body){clearInterval(a);b="scrollTop" in c.body?c.body.scrollTop:1;d.scrollTo(0,b===1?0:1)}},15);d.addEventListener("load",function(){setTimeout(function(){d.scrollTo(0,b===1?0:1)},0)},false)}}}function trace(a){if(VMM.debug){if(window.console){console.log(a)}else{if(typeof(jsTrace)!="undefined"){jsTrace.send(a)}else{}}}}Array.prototype.remove=function(c,b){var a=this.slice((b||c)+1||this.length);this.length=c<0?this.length+c:c;return this.push.apply(this,a)};Date.prototype.getWeek=function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil((((this-a)/86400000)+a.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil((this-a)/86400000)};var is={Null:function(b){return b===null},Undefined:function(b){return b===undefined},nt:function(b){return(b===null||b===undefined)},Function:function(b){return(typeof(b)==="function")?b.constructor.toString().match(/Function/)!==null:false},String:function(b){return(typeof(b)==="string")?true:(typeof(b)==="object")?b.constructor.toString().match(/string/i)!==null:false},Array:function(b){return(typeof(b)==="object")?b.constructor.toString().match(/array/i)!==null||b.length!==undefined:false},Boolean:function(b){return(typeof(b)==="boolean")?true:(typeof(b)==="object")?b.constructor.toString().match(/boolean/i)!==null:false},Date:function(b){return(typeof(b)==="date")?true:(typeof(b)==="object")?b.constructor.toString().match(/date/i)!==null:false},HTML:function(b){return(typeof(b)==="object")?b.constructor.toString().match(/html/i)!==null:false},Number:function(b){return(typeof(b)==="number")?true:(typeof(b)==="object")?b.constructor.toString().match(/Number/)!==null:false},Object:function(b){return(typeof(b)==="object")?b.constructor.toString().match(/object/i)!==null:false},RegExp:function(b){return(typeof(b
|