diff --git a/locale/de.js b/locale/de.js index a4519fa..679fbe4 100644 --- a/locale/de.js +++ b/locale/de.js @@ -29,4 +29,4 @@ ================================================== */function trace(a){VMM.debug&&(window.console?console.log(a):typeof jsTrace!="undefined"&&jsTrace.send(a))}function onYouTubePlayerAPIReady(){trace("GLOBAL YOUTUBE API CALLED");VMM.ExternalAPI.youtube.onAPIReady()}(function(){var a=!1,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function g(){!a&&this.init&&this.init.apply(this,arguments)}var d=this.prototype;a=!0;var e=new this;a=!1;for(var f in c)e[f]=typeof c[f]=="function"&&typeof d[f]=="function"&&b.test(c[f])?function(a,b){return function(){var c=this._super;this._super=d[a];var e=b.apply(this,arguments);this._super=c;return e}}(f,c[f]):c[f];g.prototype=e;g.prototype.constructor=g;g.extend=arguments.callee;return g}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=!0;VMM.master_config={init:function(){return this},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},youtube:{active:!1,array:[],api_loaded:!1,que:[]},googlemaps:{active:!1,map_active:!1,places_active:!1,array:[],api_loaded:!1,que:[]},googledocs:{active:!1,array:[],api_loaded:!1,que:[]},wikipedia:{active:!1,array:[],api_loaded:!1,que:[]},soundcloud:{active:!1,array:[],api_loaded:!1,que:[]}}.init();VMM.createElement=function(a,b,c,d,e){var f="";if(a!=null&&a!=""){f+="<"+a;c!=null&&c!=""&&(f+=" class='"+c+"'");d!=null&&d!=""&&(f+=" "+d);e!=null&&e!=""&&(f+=" "+e);f+=">";b!=null&&b!=""&&(f+=b);f=f+""+a+">"}return f};VMM.createMediaElement=function(a,b,c){var d="",e=!1;d+="
Loading Document
Loading YouTube video
Loading Tweet
Loading Sound
Loading Map
",f=VMM.Util.linkify_with_twitter(a.results[b].text,"_blank");d+=f;d+="
";d+="— "+a.results[b].from_user_name+" (@"+a.results[b].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(a.results[b].created_at)+"
ERROR LOADING TWEET "+a+"
")}).success(function(){clearTimeout(d)})},notFoundError:function(a){trace("TWITTER JSON ERROR TIMEOUT "+a);VMM.attachElement("#twitter_"+a,"Error loading tweet: "+a+"
");VMM.getJSON("http://api.twitter.com/1/account/rate_limit_status.json",function(b){trace("REMAINING TWITTER API CALLS "+b.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+b.reset_time);var c="";if(b.remaining_hits==0){c="You've reached the maximum number of tweets you can load in an hour.
";c+="You can view tweets again starting at:
"+b.reset_time+"
Tweet "+a+" was not found.
";VMM.attachElement("#twitter_"+a,""+c+"")})},formatJSON:function(a){trace("TWITTER JSON LOADED F");trace(a);var b=a.id_str,c="";c+=" "+""+" ";c+=" ";VMM.attachElement("#twitter_"+b.toString(),c)}},googlemaps:{get:function(a,b){var c,d=VMM.Util.getUrlVars(a),e;VMM.master_config.Timeline.api_keys.google!=""?e=VMM.master_config.Timeline.api_keys.google:e=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256);var f="http://maps.googleapis.com/maps/api/js?key="+e+"&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady",g={url:a,vars:d,id:b};if(VMM.master_config.googlemaps.active)VMM.master_config.googlemaps.que.push(g);else{VMM.master_config.googlemaps.que.push(g);VMM.master_config.googlemaps.api_loaded||VMM.LoadLib.js(f,function(){trace("Google Maps API Library Loaded")})}},create:function(a){function e(a){if(a in VMM.ExternalAPI.googlemaps.map_providers){b=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[a].attribution];return VMM.ExternalAPI.googlemaps.map_providers[a]}if(VMM.ExternalAPI.googlemaps.defaultType(a)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[a.toUpperCase()]}trace("Not a maptype: "+a)}function o(){var b=a.url+"&output=kml";b=b.replace("&output=embed","");var c=new google.maps.KmlLayer(b,{preserveViewport:!0}),e=new google.maps.InfoWindow;c.setMap(d);google.maps.event.addListenerOnce(c,"defaultviewport_changed",function(){d.fitBounds(c.getDefaultViewport());i&&d.panTo(f);j&&d.setZoom(h)});google.maps.event.addListener(c,"click",function(a){function c(a){e.setContent(a);e.open(d)}var b=a.featureData.description;c(b)})}var b="",c,d;google.maps.VeriteMapType=function(a){if(VMM.ExternalAPI.googlemaps.defaultType(a))return google.maps.MapTypeId[a.toUpperCase()];var b=e(a);return google.maps.ImageMapType.call(this,{getTileUrl:function(a,c){var d=(c+a.x+a.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;return[b.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[d]).replace("{Z}",c).replace("{X}",a.x).replace("{Y}",a.y).replace("{z}",c).replace("{x}",a.x).replace("{y}",a.y)]},tileSize:new google.maps.Size(256,256),name:a,minZoom:b.minZoom,maxZoom:b.maxZoom})};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");type.of(VMM.master_config.Timeline.maptype)=="string"?VMM.ExternalAPI.googlemaps.defaultType(VMM.master_config.Timeline.maptype)?c=google.maps.MapTypeId[VMM.master_config.Timeline.maptype.toUpperCase()]:c=VMM.master_config.Timeline.maptype:c="toner";var f=new google.maps.LatLng(41.875696,-87.624207),g,h=11,i=!1,j=!1,k;if(type.of(VMM.Util.getUrlVars(a.url)["ll"])=="string"){i=!0;g=VMM.Util.getUrlVars(a.url).ll.split(",");f=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1]))}else if(type.of(VMM.Util.getUrlVars(a.url)["sll"])=="string"){g=VMM.Util.getUrlVars(a.url).sll.split(",");f=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1]))}if(type.of(VMM.Util.getUrlVars(a.url)["z"])=="string"){j=!0;h=parseFloat(VMM.Util.getUrlVars(a.url).z)}var l={zoom:h,disableDefaultUI:!0,mapTypeControl:!1,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:f,mapTypeId:c,mapTypeControlOptions:{mapTypeIds:[c]}},m=a.id.toString()+"_gmap";VMM.attachElement("#"+a.id,"");var d=new google.maps.Map(document.getElementById(m),l);if(!VMM.ExternalAPI.googlemaps.defaultType(VMM.master_config.Timeline.maptype)){d.mapTypes.set(c,new google.maps.VeriteMapType(c));var n="",d=VMM.Util.linkify_with_twitter(a.text,"_blank");c+=d;c+="
>>s*8&255;for(var s=0;s<4;s++)i[15-s-4]=r/4294967296>>>s*8;var t=Aes.cipher(i,o),u=r Loading Document Loading YouTube video Loading Tweet Loading Sound Loading Map ",f=VMM.Util.linkify_with_twitter(a.text,"_blank");e+=f;e+=" ",f=VMM.Util.linkify_with_twitter(a.results[b].text,"_blank");d+=f;d+=" ERROR LOADING TWEET "+a+" Error loading tweet: "+a+" You've reached the maximum number of tweets you can load in an hour. You can view tweets again starting at: Tweet "+a+" was not found. ",d=VMM.Util.linkify_with_twitter(a.text,"_blank");c+=d;c+=" >>s*8&255;for(var s=0;s<4;s++)i[15-s-4]=r/4294967296>>>s*8;var t=Aes.cipher(i,o),u=r Loading Document Loading YouTube video Loading Tweet Loading Sound Loading Map ",f=VMM.Util.linkify_with_twitter(a.text,"_blank");e+=f;e+=" ",f=VMM.Util.linkify_with_twitter(a.results[b].text,"_blank");d+=f;d+=" ERROR LOADING TWEET "+a+" Error loading tweet: "+a+" You've reached the maximum number of tweets you can load in an hour. You can view tweets again starting at: Tweet "+a+" was not found. ",d=VMM.Util.linkify_with_twitter(a.text,"_blank");c+=d;c+=" >>s*8&255;for(var s=0;s<4;s++)i[15-s-4]=r/4294967296>>>s*8;var t=Aes.cipher(i,o),u=r Loading Document Loading YouTube video Loading Tweet Loading Sound Loading Map"+VMM.Util.unlinkify(g[d].title)+"
"+g[d].date+"
");VMM.Lib.attr(e,"id",g[d].uniqueid.toString());VMM.bindEvent(f,Q,"",{number:d});VMM.bindEvent(f,R,"mouseenter mouseleave",{number:d,elem:f});var o={marker:e,flag:f,lineevent:n,type:"marker"};if(g[d].type=="start"){trace("BUILD MARKER HAS START PAGE");I.start_page=!0;o.type="start"}i.push(o)}for(var p=0;p"+VMM.Util.unlinkify(q.title)+"
");h.push(q)}}});typeof VMM.Timeline!="undefined"&&typeof VMM.Timeline.DataObj=="undefined"&&(VMM.Timeline.DataObj={data_obj:{},model_array:[],getData:function(a){data=VMM.Timeline.DataObj.data_obj;if(type.of(a)=="object"){trace("DATA SOURCE: JSON OBJECT");VMM.Timeline.DataObj.parseJSON(a)}else if(type.of(a)=="string")if(a.match("%23")){trace("DATA SOURCE: TWITTER SEARCH");VMM.Timeline.DataObj.model_Tweets.getData("%23medill")}else if(a.match("spreadsheet")){VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: GOOGLE SPREADSHEET");VMM.Timeline.DataObj.model_GoogleSpreadsheet.getData(a)}else{VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: JSON");VMM.getJSON(a,VMM.Timeline.DataObj.parseJSON)}else if(type.of(a)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(a)}else trace("DATA SOURCE: UNKNOWN")},parseHTML:function(a){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var b=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){b.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);b.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));b.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var c=!1;if(VMM.Lib.find("#timeline section","figure img").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}if(c){VMM.Lib.find("#timeline section","cite").length!=0&&(b.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite")));VMM.Lib.find(this,"figcaption").length!=0&&(b.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption")))}}VMM.Lib.each("#timeline li",function(a,c){var d=!1,e={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){d=!0;e.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);VMM.Lib.find(this,"time")[1]&&(e.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]));e.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));e.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var f=!1;if(VMM.Lib.find(this,"figure img").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}if(f){VMM.Lib.find(this,"cite").length!=0&&(e.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite")));VMM.Lib.find(this,"figcaption").length!=0&&(e.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption")))}trace(e);b.timeline.date.push(e)}});VMM.fireEvent(global,"DATAREADY",b)},parseJSON:function(a){if(a.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,"DATAREADY",a)}else if(a.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(a)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(a.timeline))}},model_Tweets:{type:"twitter",buildData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(a.timeline.tweets)},getData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(a)},onTwitterDataReady:function(a,b){var c=VMM.Timeline.DataObj.data_template_obj;for(var d=0;d
'dddd',' d. mmm yyyy''"},messages:{loading_timeline:"Chronologie wird geladen...",return_to_title:"Zurück zum Anfang",expand_timeline:"Chronologie vergrößern",contract_timeline:"Chronologie verkleinern"}}};
\ No newline at end of file
+.getFullYear()+d*1e6)}else if(a.type=="millenium"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/1e3)*1e3);a.date.setFullYear(a.date.getFullYear()+d*1e3)}else if(a.type=="century"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/100)*100);a.date.setFullYear(a.date.getFullYear()+d*100)}else if(a.type=="decade"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/10)*10);a.date.setFullYear(a.date.getFullYear()+d*10)}else if(r.type=="year"){!e;a.date.setFullYear(a.date.getFullYear()+d)}else if(a.type=="month"){e&&a.date.setMonth(g[0].startdate.getMonth());a.date.setMonth(a.date.getMonth()+d)}else if(a.type=="week"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(Math.floor(g[0].startdate.getDate()*7))}a.date.setDate(a.date.getDate()+d*7)}else if(a.type=="day"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate())}a.date.setDate(a.date.getDate()+d)}else if(a.type=="hour"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours())}a.date.setHours(a.date.getHours()+d)}else if(a.type=="minute"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours());a.date.setMinutes(g[0].startdate.getMinutes())}a.date.setMinutes(a.date.getMinutes()+d)}else if(a.type=="second"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours());a.date.setMinutes(g[0].startdate.getMinutes());a.date.setSeconds(g[0].startdate.getSeconds())}a.date.setSeconds(a.date.getSeconds()+d)}j=VMM.Util.date.prettyDate(a.date,!0);d=1;e=!1;k=Z(a,a.date);l=k.begin;VMM.appendElement(m,j);VMM.Lib.css(m,"text-indent",-(VMM.Lib.width(m)/2));VMM.Lib.css(m,"opacity","0");f=l;l>h&&(h=l);n=new Date(a.date);var p={interval_element:m,interval_date:n,interval_visible:o,type:a.interval_type};b.push(p)}VMM.Lib.width(E,h);_(b)},bb=function(){VMM.attachElement(f,"");v=VMM.appendAndGetElement(f,""+VMM.Util.unlinkify(g[d].title)+"
"+g[d].date+"
");VMM.Lib.attr(e,"id",g[d].uniqueid.toString());VMM.bindEvent(f,Q,"",{number:d});VMM.bindEvent(f,R,"mouseenter mouseleave",{number:d,elem:f});var o={marker:e,flag:f,lineevent:n,type:"marker"};if(g[d].type=="start"){trace("BUILD MARKER HAS START PAGE");I.start_page=!0;o.type="start"}i.push(o)}for(var p=0;p"+VMM.Util.unlinkify(q.title)+"
");h.push(q)}}});typeof VMM.Timeline!="undefined"&&typeof VMM.Timeline.DataObj=="undefined"&&(VMM.Timeline.DataObj={data_obj:{},model_array:[],getData:function(a){data=VMM.Timeline.DataObj.data_obj;if(type.of(a)=="object"){trace("DATA SOURCE: JSON OBJECT");VMM.Timeline.DataObj.parseJSON(a)}else if(type.of(a)=="string")if(a.match("%23")){trace("DATA SOURCE: TWITTER SEARCH");VMM.Timeline.DataObj.model_Tweets.getData("%23medill")}else if(a.match("spreadsheet")){VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: GOOGLE SPREADSHEET");VMM.Timeline.DataObj.model_GoogleSpreadsheet.getData(a)}else{VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: JSON");VMM.getJSON(a,VMM.Timeline.DataObj.parseJSON)}else if(type.of(a)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(a)}else trace("DATA SOURCE: UNKNOWN")},parseHTML:function(a){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var b=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){b.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);b.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));b.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var c=!1;if(VMM.Lib.find("#timeline section","figure img").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}if(c){VMM.Lib.find("#timeline section","cite").length!=0&&(b.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite")));VMM.Lib.find(this,"figcaption").length!=0&&(b.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption")))}}VMM.Lib.each("#timeline li",function(a,c){var d=!1,e={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){d=!0;e.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);VMM.Lib.find(this,"time")[1]&&(e.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]));e.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));e.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var f=!1;if(VMM.Lib.find(this,"figure img").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}if(f){VMM.Lib.find(this,"cite").length!=0&&(e.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite")));VMM.Lib.find(this,"figcaption").length!=0&&(e.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption")))}trace(e);b.timeline.date.push(e)}});VMM.fireEvent(global,"DATAREADY",b)},parseJSON:function(a){if(a.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,"DATAREADY",a)}else if(a.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(a)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(a.timeline))}},model_Tweets:{type:"twitter",buildData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(a.timeline.tweets)},getData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(a)},onTwitterDataReady:function(a,b){var c=VMM.Timeline.DataObj.data_template_obj;for(var d=0;d
'dddd',' d. mmm yyyy''"},messages:{loading_timeline:"Chronologie wird geladen...",return_to_title:"Zurück zum Anfang",expand_timeline:"Chronologie vergrößern",contract_timeline:"Chronologie verkleinern"}}};
\ No newline at end of file
diff --git a/locale/en.js b/locale/en.js
index bf46ed5..5d174ad 100644
--- a/locale/en.js
+++ b/locale/en.js
@@ -29,4 +29,4 @@
================================================== */function trace(a){VMM.debug&&(window.console?console.log(a):typeof jsTrace!="undefined"&&jsTrace.send(a))}function onYouTubePlayerAPIReady(){trace("GLOBAL YOUTUBE API CALLED");VMM.ExternalAPI.youtube.onAPIReady()}(function(){var a=!1,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function g(){!a&&this.init&&this.init.apply(this,arguments)}var d=this.prototype;a=!0;var e=new this;a=!1;for(var f in c)e[f]=typeof c[f]=="function"&&typeof d[f]=="function"&&b.test(c[f])?function(a,b){return function(){var c=this._super;this._super=d[a];var e=b.apply(this,arguments);this._super=c;return e}}(f,c[f]):c[f];g.prototype=e;g.prototype.constructor=g;g.extend=arguments.callee;return g}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=!0;VMM.master_config={init:function(){return this},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},youtube:{active:!1,array:[],api_loaded:!1,que:[]},googlemaps:{active:!1,map_active:!1,places_active:!1,array:[],api_loaded:!1,que:[]},googledocs:{active:!1,array:[],api_loaded:!1,que:[]},wikipedia:{active:!1,array:[],api_loaded:!1,que:[]},soundcloud:{active:!1,array:[],api_loaded:!1,que:[]}}.init();VMM.createElement=function(a,b,c,d,e){var f="";if(a!=null&&a!=""){f+="<"+a;c!=null&&c!=""&&(f+=" class='"+c+"'");d!=null&&d!=""&&(f+=" "+d);e!=null&&e!=""&&(f+=" "+e);f+=">";b!=null&&b!=""&&(f+=b);f=f+""+a+">"}return f};VMM.createMediaElement=function(a,b,c){var d="",e=!1;d+="
"+b.reset_time+"
";c+=" "+""+" ";c+=" ";VMM.attachElement("#twitter_"+b.toString(),c)}},googlemaps:{get:function(a,b){var c,d=VMM.Util.getUrlVars(a),e;VMM.master_config.Timeline.api_keys.google!=""?e=VMM.master_config.Timeline.api_keys.google:e=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256);var f="http://maps.googleapis.com/maps/api/js?key="+e+"&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady",g={url:a,vars:d,id:b};if(VMM.master_config.googlemaps.active)VMM.master_config.googlemaps.que.push(g);else{VMM.master_config.googlemaps.que.push(g);VMM.master_config.googlemaps.api_loaded||VMM.LoadLib.js(f,function(){trace("Google Maps API Library Loaded")})}},create:function(a){function e(a){if(a in VMM.ExternalAPI.googlemaps.map_providers){b=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[a].attribution];return VMM.ExternalAPI.googlemaps.map_providers[a]}if(VMM.ExternalAPI.googlemaps.defaultType(a)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[a.toUpperCase()]}trace("Not a maptype: "+a)}function o(){var b=a.url+"&output=kml";b=b.replace("&output=embed","");var c=new google.maps.KmlLayer(b,{preserveViewport:!0}),e=new google.maps.InfoWindow;c.setMap(d);google.maps.event.addListenerOnce(c,"defaultviewport_changed",function(){d.fitBounds(c.getDefaultViewport());i&&d.panTo(f);j&&d.setZoom(h)});google.maps.event.addListener(c,"click",function(a){function c(a){e.setContent(a);e.open(d)}var b=a.featureData.description;c(b)})}var b="",c,d;google.maps.VeriteMapType=function(a){if(VMM.ExternalAPI.googlemaps.defaultType(a))return google.maps.MapTypeId[a.toUpperCase()];var b=e(a);return google.maps.ImageMapType.call(this,{getTileUrl:function(a,c){var d=(c+a.x+a.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;return[b.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[d]).replace("{Z}",c).replace("{X}",a.x).replace("{Y}",a.y).replace("{z}",c).replace("{x}",a.x).replace("{y}",a.y)]},tileSize:new google.maps.Size(256,256),name:a,minZoom:b.minZoom,maxZoom:b.maxZoom})};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");type.of(VMM.master_config.Timeline.maptype)=="string"?VMM.ExternalAPI.googlemaps.defaultType(VMM.master_config.Timeline.maptype)?c=google.maps.MapTypeId[VMM.master_config.Timeline.maptype.toUpperCase()]:c=VMM.master_config.Timeline.maptype:c="toner";var f=new google.maps.LatLng(41.875696,-87.624207),g,h=11,i=!1,j=!1,k;if(type.of(VMM.Util.getUrlVars(a.url)["ll"])=="string"){i=!0;g=VMM.Util.getUrlVars(a.url).ll.split(",");f=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1]))}else if(type.of(VMM.Util.getUrlVars(a.url)["sll"])=="string"){g=VMM.Util.getUrlVars(a.url).sll.split(",");f=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1]))}if(type.of(VMM.Util.getUrlVars(a.url)["z"])=="string"){j=!0;h=parseFloat(VMM.Util.getUrlVars(a.url).z)}var l={zoom:h,disableDefaultUI:!0,mapTypeControl:!1,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:f,mapTypeId:c,mapTypeControlOptions:{mapTypeIds:[c]}},m=a.id.toString()+"_gmap";VMM.attachElement("#"+a.id,"");var d=new google.maps.Map(document.getElementById(m),l);if(!VMM.ExternalAPI.googlemaps.defaultType(VMM.master_config.Timeline.maptype)){d.mapTypes.set(c,new google.maps.VeriteMapType(c));var n="
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(a){trace("SET DATE LANGUAGE");VMM.Util.date.dateformats=a.dateformats;VMM.Util.date.month=a.date.month;VMM.Util.date.month_abbr=a.date.month_abbr;VMM.Util.date.day=a.date.day;VMM.Util.date.day_abbr=a.date.day_abbr;dateFormat.i18n.dayNames=a.date.day_abbr.concat(a.date.day);dateFormat.i18n.monthNames=a.date.month_abbr.concat(a.date.month)},parse:function(a){if(type.of(a)=="date")return a;var b=new Date(0,0,1,0,0,0,0),c,d;if(a.match(/,/gi)){c=a.split(",");for(var e=0;e
")},unique_ID:function(a){var b=function(a){return Math.floor(Math.random()*a)},c=function(){var a="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return a.substr(b(62),1)},d=function(a){var b="";for(var d=0;d$&').replace(b,'$1$2').replace(c,'$1').replace(d,"$1").replace(e,"$1")});var dateFormat=function(){var a=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,b=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,c=/[^-+\dA-Z]/g,d=function(a,b){a=String(a);b=b||2;while(a.length99?Math.round(q/10):q),t:n<12?"a":"p",tt:n<12?"am":"pm",T:n<12?"A":"P",TT:n<12?"AM":"PM",Z:g?"UTC":(String(e).match(b)||[""]).pop().replace(c,""),o:(r>0?"-":"+")+d(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4),S:["th","st","nd","rd"][j%10>3?0:(j%100-j%10!=10)*j%10]};return f.replace(a,function(a){return a in s?s[a]:a.slice(1,a.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(a,b){return dateFormat(this,a,b)}}window.loadedJS=[];typeof VMM!="undefined"&&typeof VMM.LoadLib=="undefined"&&(VMM.LoadLib=function(a){function i(a){var b=!1;for(var c=0;c
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline"}});var Aes={};Aes.cipher=function(a,b){var c=4,d=b.length/c-1,e=[[],[],[],[]];for(var f=0;f<4*c;f++)e[f%4][Math.floor(f/4)]=a[f];e=Aes.addRoundKey(e,b,0,c);for(var g=1;g"+VMM.Util.unlinkify(g[d].title)+"
"+g[d].date+"
");VMM.Lib.attr(e,"id",g[d].uniqueid.toString());VMM.bindEvent(f,Q,"",{number:d});VMM.bindEvent(f,R,"mouseenter mouseleave",{number:d,elem:f});var o={marker:e,flag:f,lineevent:n,type:"marker"};if(g[d].type=="start"){trace("BUILD MARKER HAS START PAGE");I.start_page=!0;o.type="start"}i.push(o)}for(var p=0;p"+VMM.Util.unlinkify(q.title)+"
");h.push(q)}}});typeof VMM.Timeline!="undefined"&&typeof VMM.Timeline.DataObj=="undefined"&&(VMM.Timeline.DataObj={data_obj:{},model_array:[],getData:function(a){data=VMM.Timeline.DataObj.data_obj;if(type.of(a)=="object"){trace("DATA SOURCE: JSON OBJECT");VMM.Timeline.DataObj.parseJSON(a)}else if(type.of(a)=="string")if(a.match("%23")){trace("DATA SOURCE: TWITTER SEARCH");VMM.Timeline.DataObj.model_Tweets.getData("%23medill")}else if(a.match("spreadsheet")){VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: GOOGLE SPREADSHEET");VMM.Timeline.DataObj.model_GoogleSpreadsheet.getData(a)}else{VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: JSON");VMM.getJSON(a,VMM.Timeline.DataObj.parseJSON)}else if(type.of(a)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(a)}else trace("DATA SOURCE: UNKNOWN")},parseHTML:function(a){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var b=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){b.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);b.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));b.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var c=!1;if(VMM.Lib.find("#timeline section","figure img").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}if(c){VMM.Lib.find("#timeline section","cite").length!=0&&(b.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite")));VMM.Lib.find(this,"figcaption").length!=0&&(b.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption")))}}VMM.Lib.each("#timeline li",function(a,c){var d=!1,e={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){d=!0;e.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);VMM.Lib.find(this,"time")[1]&&(e.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]));e.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));e.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var f=!1;if(VMM.Lib.find(this,"figure img").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}if(f){VMM.Lib.find(this,"cite").length!=0&&(e.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite")));VMM.Lib.find(this,"figcaption").length!=0&&(e.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption")))}trace(e);b.timeline.date.push(e)}});VMM.fireEvent(global,"DATAREADY",b)},parseJSON:function(a){if(a.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,"DATAREADY",a)}else if(a.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(a)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(a.timeline))}},model_Tweets:{type:"twitter",buildData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(a.timeline.tweets)},getData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(a)},onTwitterDataReady:function(a,b){var c=VMM.Timeline.DataObj.data_template_obj;for(var d=0;d
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline"}}};
\ No newline at end of file
+.getFullYear()+d*1e6)}else if(a.type=="millenium"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/1e3)*1e3);a.date.setFullYear(a.date.getFullYear()+d*1e3)}else if(a.type=="century"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/100)*100);a.date.setFullYear(a.date.getFullYear()+d*100)}else if(a.type=="decade"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/10)*10);a.date.setFullYear(a.date.getFullYear()+d*10)}else if(r.type=="year"){!e;a.date.setFullYear(a.date.getFullYear()+d)}else if(a.type=="month"){e&&a.date.setMonth(g[0].startdate.getMonth());a.date.setMonth(a.date.getMonth()+d)}else if(a.type=="week"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(Math.floor(g[0].startdate.getDate()*7))}a.date.setDate(a.date.getDate()+d*7)}else if(a.type=="day"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate())}a.date.setDate(a.date.getDate()+d)}else if(a.type=="hour"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours())}a.date.setHours(a.date.getHours()+d)}else if(a.type=="minute"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours());a.date.setMinutes(g[0].startdate.getMinutes())}a.date.setMinutes(a.date.getMinutes()+d)}else if(a.type=="second"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours());a.date.setMinutes(g[0].startdate.getMinutes());a.date.setSeconds(g[0].startdate.getSeconds())}a.date.setSeconds(a.date.getSeconds()+d)}j=VMM.Util.date.prettyDate(a.date,!0);d=1;e=!1;k=Z(a,a.date);l=k.begin;VMM.appendElement(m,j);VMM.Lib.css(m,"text-indent",-(VMM.Lib.width(m)/2));VMM.Lib.css(m,"opacity","0");f=l;l>h&&(h=l);n=new Date(a.date);var p={interval_element:m,interval_date:n,interval_visible:o,type:a.interval_type};b.push(p)}VMM.Lib.width(E,h);_(b)},bb=function(){VMM.attachElement(f,"");v=VMM.appendAndGetElement(f,""+VMM.Util.unlinkify(g[d].title)+"
"+g[d].date+"
");VMM.Lib.attr(e,"id",g[d].uniqueid.toString());VMM.bindEvent(f,Q,"",{number:d});VMM.bindEvent(f,R,"mouseenter mouseleave",{number:d,elem:f});var o={marker:e,flag:f,lineevent:n,type:"marker"};if(g[d].type=="start"){trace("BUILD MARKER HAS START PAGE");I.start_page=!0;o.type="start"}i.push(o)}for(var p=0;p"+VMM.Util.unlinkify(q.title)+"
");h.push(q)}}});typeof VMM.Timeline!="undefined"&&typeof VMM.Timeline.DataObj=="undefined"&&(VMM.Timeline.DataObj={data_obj:{},model_array:[],getData:function(a){data=VMM.Timeline.DataObj.data_obj;if(type.of(a)=="object"){trace("DATA SOURCE: JSON OBJECT");VMM.Timeline.DataObj.parseJSON(a)}else if(type.of(a)=="string")if(a.match("%23")){trace("DATA SOURCE: TWITTER SEARCH");VMM.Timeline.DataObj.model_Tweets.getData("%23medill")}else if(a.match("spreadsheet")){VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: GOOGLE SPREADSHEET");VMM.Timeline.DataObj.model_GoogleSpreadsheet.getData(a)}else{VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: JSON");VMM.getJSON(a,VMM.Timeline.DataObj.parseJSON)}else if(type.of(a)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(a)}else trace("DATA SOURCE: UNKNOWN")},parseHTML:function(a){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var b=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){b.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);b.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));b.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var c=!1;if(VMM.Lib.find("#timeline section","figure img").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}if(c){VMM.Lib.find("#timeline section","cite").length!=0&&(b.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite")));VMM.Lib.find(this,"figcaption").length!=0&&(b.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption")))}}VMM.Lib.each("#timeline li",function(a,c){var d=!1,e={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){d=!0;e.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);VMM.Lib.find(this,"time")[1]&&(e.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]));e.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));e.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var f=!1;if(VMM.Lib.find(this,"figure img").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}if(f){VMM.Lib.find(this,"cite").length!=0&&(e.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite")));VMM.Lib.find(this,"figcaption").length!=0&&(e.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption")))}trace(e);b.timeline.date.push(e)}});VMM.fireEvent(global,"DATAREADY",b)},parseJSON:function(a){if(a.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,"DATAREADY",a)}else if(a.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(a)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(a.timeline))}},model_Tweets:{type:"twitter",buildData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(a.timeline.tweets)},getData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(a)},onTwitterDataReady:function(a,b){var c=VMM.Timeline.DataObj.data_template_obj;for(var d=0;d
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline"}}};
\ No newline at end of file
diff --git a/locale/es.js b/locale/es.js
index eb0ee90..e6f5970 100644
--- a/locale/es.js
+++ b/locale/es.js
@@ -29,4 +29,4 @@
================================================== */function trace(a){VMM.debug&&(window.console?console.log(a):typeof jsTrace!="undefined"&&jsTrace.send(a))}function onYouTubePlayerAPIReady(){trace("GLOBAL YOUTUBE API CALLED");VMM.ExternalAPI.youtube.onAPIReady()}(function(){var a=!1,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function g(){!a&&this.init&&this.init.apply(this,arguments)}var d=this.prototype;a=!0;var e=new this;a=!1;for(var f in c)e[f]=typeof c[f]=="function"&&typeof d[f]=="function"&&b.test(c[f])?function(a,b){return function(){var c=this._super;this._super=d[a];var e=b.apply(this,arguments);this._super=c;return e}}(f,c[f]):c[f];g.prototype=e;g.prototype.constructor=g;g.extend=arguments.callee;return g}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=!0;VMM.master_config={init:function(){return this},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},youtube:{active:!1,array:[],api_loaded:!1,que:[]},googlemaps:{active:!1,map_active:!1,places_active:!1,array:[],api_loaded:!1,que:[]},googledocs:{active:!1,array:[],api_loaded:!1,que:[]},wikipedia:{active:!1,array:[],api_loaded:!1,que:[]},soundcloud:{active:!1,array:[],api_loaded:!1,que:[]}}.init();VMM.createElement=function(a,b,c,d,e){var f="";if(a!=null&&a!=""){f+="<"+a;c!=null&&c!=""&&(f+=" class='"+c+"'");d!=null&&d!=""&&(f+=" "+d);e!=null&&e!=""&&(f+=" "+e);f+=">";b!=null&&b!=""&&(f+=b);f=f+""+a+">"}return f};VMM.createMediaElement=function(a,b,c){var d="",e=!1;d+="
"+b.reset_time+"
";c+=" "+""+" ";c+=" ";VMM.attachElement("#twitter_"+b.toString(),c)}},googlemaps:{get:function(a,b){var c,d=VMM.Util.getUrlVars(a),e;VMM.master_config.Timeline.api_keys.google!=""?e=VMM.master_config.Timeline.api_keys.google:e=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256);var f="http://maps.googleapis.com/maps/api/js?key="+e+"&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady",g={url:a,vars:d,id:b};if(VMM.master_config.googlemaps.active)VMM.master_config.googlemaps.que.push(g);else{VMM.master_config.googlemaps.que.push(g);VMM.master_config.googlemaps.api_loaded||VMM.LoadLib.js(f,function(){trace("Google Maps API Library Loaded")})}},create:function(a){function e(a){if(a in VMM.ExternalAPI.googlemaps.map_providers){b=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[a].attribution];return VMM.ExternalAPI.googlemaps.map_providers[a]}if(VMM.ExternalAPI.googlemaps.defaultType(a)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[a.toUpperCase()]}trace("Not a maptype: "+a)}function o(){var b=a.url+"&output=kml";b=b.replace("&output=embed","");var c=new google.maps.KmlLayer(b,{preserveViewport:!0}),e=new google.maps.InfoWindow;c.setMap(d);google.maps.event.addListenerOnce(c,"defaultviewport_changed",function(){d.fitBounds(c.getDefaultViewport());i&&d.panTo(f);j&&d.setZoom(h)});google.maps.event.addListener(c,"click",function(a){function c(a){e.setContent(a);e.open(d)}var b=a.featureData.description;c(b)})}var b="",c,d;google.maps.VeriteMapType=function(a){if(VMM.ExternalAPI.googlemaps.defaultType(a))return google.maps.MapTypeId[a.toUpperCase()];var b=e(a);return google.maps.ImageMapType.call(this,{getTileUrl:function(a,c){var d=(c+a.x+a.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;return[b.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[d]).replace("{Z}",c).replace("{X}",a.x).replace("{Y}",a.y).replace("{z}",c).replace("{x}",a.x).replace("{y}",a.y)]},tileSize:new google.maps.Size(256,256),name:a,minZoom:b.minZoom,maxZoom:b.maxZoom})};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");type.of(VMM.master_config.Timeline.maptype)=="string"?VMM.ExternalAPI.googlemaps.defaultType(VMM.master_config.Timeline.maptype)?c=google.maps.MapTypeId[VMM.master_config.Timeline.maptype.toUpperCase()]:c=VMM.master_config.Timeline.maptype:c="toner";var f=new google.maps.LatLng(41.875696,-87.624207),g,h=11,i=!1,j=!1,k;if(type.of(VMM.Util.getUrlVars(a.url)["ll"])=="string"){i=!0;g=VMM.Util.getUrlVars(a.url).ll.split(",");f=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1]))}else if(type.of(VMM.Util.getUrlVars(a.url)["sll"])=="string"){g=VMM.Util.getUrlVars(a.url).sll.split(",");f=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1]))}if(type.of(VMM.Util.getUrlVars(a.url)["z"])=="string"){j=!0;h=parseFloat(VMM.Util.getUrlVars(a.url).z)}var l={zoom:h,disableDefaultUI:!0,mapTypeControl:!1,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:f,mapTypeId:c,mapTypeControlOptions:{mapTypeIds:[c]}},m=a.id.toString()+"_gmap";VMM.attachElement("#"+a.id,"");var d=new google.maps.Map(document.getElementById(m),l);if(!VMM.ExternalAPI.googlemaps.defaultType(VMM.master_config.Timeline.maptype)){d.mapTypes.set(c,new google.maps.VeriteMapType(c));var n="
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(a){trace("SET DATE LANGUAGE");VMM.Util.date.dateformats=a.dateformats;VMM.Util.date.month=a.date.month;VMM.Util.date.month_abbr=a.date.month_abbr;VMM.Util.date.day=a.date.day;VMM.Util.date.day_abbr=a.date.day_abbr;dateFormat.i18n.dayNames=a.date.day_abbr.concat(a.date.day);dateFormat.i18n.monthNames=a.date.month_abbr.concat(a.date.month)},parse:function(a){if(type.of(a)=="date")return a;var b=new Date(0,0,1,0,0,0,0),c,d;if(a.match(/,/gi)){c=a.split(",");for(var e=0;e
")},unique_ID:function(a){var b=function(a){return Math.floor(Math.random()*a)},c=function(){var a="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return a.substr(b(62),1)},d=function(a){var b="";for(var d=0;d$&').replace(b,'$1$2').replace(c,'$1').replace(d,"$1").replace(e,"$1")});var dateFormat=function(){var a=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,b=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,c=/[^-+\dA-Z]/g,d=function(a,b){a=String(a);b=b||2;while(a.length99?Math.round(q/10):q),t:n<12?"a":"p",tt:n<12?"am":"pm",T:n<12?"A":"P",TT:n<12?"AM":"PM",Z:g?"UTC":(String(e).match(b)||[""]).pop().replace(c,""),o:(r>0?"-":"+")+d(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4),S:["th","st","nd","rd"][j%10>3?0:(j%100-j%10!=10)*j%10]};return f.replace(a,function(a){return a in s?s[a]:a.slice(1,a.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(a,b){return dateFormat(this,a,b)}}window.loadedJS=[];typeof VMM!="undefined"&&typeof VMM.LoadLib=="undefined"&&(VMM.LoadLib=function(a){function i(a){var b=!1;for(var c=0;c
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline"}});var Aes={};Aes.cipher=function(a,b){var c=4,d=b.length/c-1,e=[[],[],[],[]];for(var f=0;f<4*c;f++)e[f%4][Math.floor(f/4)]=a[f];e=Aes.addRoundKey(e,b,0,c);for(var g=1;g"+VMM.Util.unlinkify(g[d].title)+"
"+g[d].date+"
");VMM.Lib.attr(e,"id",g[d].uniqueid.toString());VMM.bindEvent(f,Q,"",{number:d});VMM.bindEvent(f,R,"mouseenter mouseleave",{number:d,elem:f});var o={marker:e,flag:f,lineevent:n,type:"marker"};if(g[d].type=="start"){trace("BUILD MARKER HAS START PAGE");I.start_page=!0;o.type="start"}i.push(o)}for(var p=0;p"+VMM.Util.unlinkify(q.title)+"
");h.push(q)}}});typeof VMM.Timeline!="undefined"&&typeof VMM.Timeline.DataObj=="undefined"&&(VMM.Timeline.DataObj={data_obj:{},model_array:[],getData:function(a){data=VMM.Timeline.DataObj.data_obj;if(type.of(a)=="object"){trace("DATA SOURCE: JSON OBJECT");VMM.Timeline.DataObj.parseJSON(a)}else if(type.of(a)=="string")if(a.match("%23")){trace("DATA SOURCE: TWITTER SEARCH");VMM.Timeline.DataObj.model_Tweets.getData("%23medill")}else if(a.match("spreadsheet")){VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: GOOGLE SPREADSHEET");VMM.Timeline.DataObj.model_GoogleSpreadsheet.getData(a)}else{VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: JSON");VMM.getJSON(a,VMM.Timeline.DataObj.parseJSON)}else if(type.of(a)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(a)}else trace("DATA SOURCE: UNKNOWN")},parseHTML:function(a){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var b=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){b.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);b.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));b.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var c=!1;if(VMM.Lib.find("#timeline section","figure img").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}if(c){VMM.Lib.find("#timeline section","cite").length!=0&&(b.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite")));VMM.Lib.find(this,"figcaption").length!=0&&(b.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption")))}}VMM.Lib.each("#timeline li",function(a,c){var d=!1,e={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){d=!0;e.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);VMM.Lib.find(this,"time")[1]&&(e.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]));e.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));e.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var f=!1;if(VMM.Lib.find(this,"figure img").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}if(f){VMM.Lib.find(this,"cite").length!=0&&(e.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite")));VMM.Lib.find(this,"figcaption").length!=0&&(e.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption")))}trace(e);b.timeline.date.push(e)}});VMM.fireEvent(global,"DATAREADY",b)},parseJSON:function(a){if(a.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,"DATAREADY",a)}else if(a.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(a)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(a.timeline))}},model_Tweets:{type:"twitter",buildData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(a.timeline.tweets)},getData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(a)},onTwitterDataReady:function(a,b){var c=VMM.Timeline.DataObj.data_template_obj;for(var d=0;d
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Cronología esta cargando",return_to_title:"Volver al título",expand_timeline:"Enlargar la cronología",contract_timeline:"Reducir la cronología"}}};
\ No newline at end of file
+.getFullYear()+d*1e6)}else if(a.type=="millenium"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/1e3)*1e3);a.date.setFullYear(a.date.getFullYear()+d*1e3)}else if(a.type=="century"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/100)*100);a.date.setFullYear(a.date.getFullYear()+d*100)}else if(a.type=="decade"){e&&a.date.setFullYear(Math.floor(g[0].startdate.getFullYear()/10)*10);a.date.setFullYear(a.date.getFullYear()+d*10)}else if(r.type=="year"){!e;a.date.setFullYear(a.date.getFullYear()+d)}else if(a.type=="month"){e&&a.date.setMonth(g[0].startdate.getMonth());a.date.setMonth(a.date.getMonth()+d)}else if(a.type=="week"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(Math.floor(g[0].startdate.getDate()*7))}a.date.setDate(a.date.getDate()+d*7)}else if(a.type=="day"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate())}a.date.setDate(a.date.getDate()+d)}else if(a.type=="hour"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours())}a.date.setHours(a.date.getHours()+d)}else if(a.type=="minute"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours());a.date.setMinutes(g[0].startdate.getMinutes())}a.date.setMinutes(a.date.getMinutes()+d)}else if(a.type=="second"){if(e){a.date.setMonth(g[0].startdate.getMonth());a.date.setDate(g[0].startdate.getDate());a.date.setHours(g[0].startdate.getHours());a.date.setMinutes(g[0].startdate.getMinutes());a.date.setSeconds(g[0].startdate.getSeconds())}a.date.setSeconds(a.date.getSeconds()+d)}j=VMM.Util.date.prettyDate(a.date,!0);d=1;e=!1;k=Z(a,a.date);l=k.begin;VMM.appendElement(m,j);VMM.Lib.css(m,"text-indent",-(VMM.Lib.width(m)/2));VMM.Lib.css(m,"opacity","0");f=l;l>h&&(h=l);n=new Date(a.date);var p={interval_element:m,interval_date:n,interval_visible:o,type:a.interval_type};b.push(p)}VMM.Lib.width(E,h);_(b)},bb=function(){VMM.attachElement(f,"");v=VMM.appendAndGetElement(f,""+VMM.Util.unlinkify(g[d].title)+"
"+g[d].date+"
");VMM.Lib.attr(e,"id",g[d].uniqueid.toString());VMM.bindEvent(f,Q,"",{number:d});VMM.bindEvent(f,R,"mouseenter mouseleave",{number:d,elem:f});var o={marker:e,flag:f,lineevent:n,type:"marker"};if(g[d].type=="start"){trace("BUILD MARKER HAS START PAGE");I.start_page=!0;o.type="start"}i.push(o)}for(var p=0;p"+VMM.Util.unlinkify(q.title)+"
");h.push(q)}}});typeof VMM.Timeline!="undefined"&&typeof VMM.Timeline.DataObj=="undefined"&&(VMM.Timeline.DataObj={data_obj:{},model_array:[],getData:function(a){data=VMM.Timeline.DataObj.data_obj;if(type.of(a)=="object"){trace("DATA SOURCE: JSON OBJECT");VMM.Timeline.DataObj.parseJSON(a)}else if(type.of(a)=="string")if(a.match("%23")){trace("DATA SOURCE: TWITTER SEARCH");VMM.Timeline.DataObj.model_Tweets.getData("%23medill")}else if(a.match("spreadsheet")){VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: GOOGLE SPREADSHEET");VMM.Timeline.DataObj.model_GoogleSpreadsheet.getData(a)}else{VMM.fireEvent(global,"MESSEGE",VMM.Timeline.Config.language.messages.loading_timeline);trace("DATA SOURCE: JSON");VMM.getJSON(a,VMM.Timeline.DataObj.parseJSON)}else if(type.of(a)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(a)}else trace("DATA SOURCE: UNKNOWN")},parseHTML:function(a){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var b=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){b.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);b.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));b.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var c=!1;if(VMM.Lib.find("#timeline section","figure img").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){c=!0;b.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}if(c){VMM.Lib.find("#timeline section","cite").length!=0&&(b.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite")));VMM.Lib.find(this,"figcaption").length!=0&&(b.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption")))}}VMM.Lib.each("#timeline li",function(a,c){var d=!1,e={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){d=!0;e.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);VMM.Lib.find(this,"time")[1]&&(e.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]));e.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));e.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var f=!1;if(VMM.Lib.find(this,"figure img").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){f=!0;e.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}if(f){VMM.Lib.find(this,"cite").length!=0&&(e.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite")));VMM.Lib.find(this,"figcaption").length!=0&&(e.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption")))}trace(e);b.timeline.date.push(e)}});VMM.fireEvent(global,"DATAREADY",b)},parseJSON:function(a){if(a.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,"DATAREADY",a)}else if(a.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(a)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(a.timeline))}},model_Tweets:{type:"twitter",buildData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(a.timeline.tweets)},getData:function(a){VMM.bindEvent(global,VMM.Timeline.DataObj.model_Tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(a)},onTwitterDataReady:function(a,b){var c=VMM.Timeline.DataObj.data_template_obj;for(var d=0;d
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Cronología esta cargando",return_to_title:"Volver al título",expand_timeline:"Enlargar la cronología",contract_timeline:"Reducir la cronología"}}};
\ No newline at end of file
diff --git a/locale/fr.js b/locale/fr.js
index 38850cc..48b64a1 100644
--- a/locale/fr.js
+++ b/locale/fr.js
@@ -29,4 +29,4 @@
================================================== */function trace(a){VMM.debug&&(window.console?console.log(a):typeof jsTrace!="undefined"&&jsTrace.send(a))}function onYouTubePlayerAPIReady(){trace("GLOBAL YOUTUBE API CALLED");VMM.ExternalAPI.youtube.onAPIReady()}(function(){var a=!1,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function g(){!a&&this.init&&this.init.apply(this,arguments)}var d=this.prototype;a=!0;var e=new this;a=!1;for(var f in c)e[f]=typeof c[f]=="function"&&typeof d[f]=="function"&&b.test(c[f])?function(a,b){return function(){var c=this._super;this._super=d[a];var e=b.apply(this,arguments);this._super=c;return e}}(f,c[f]):c[f];g.prototype=e;g.prototype.constructor=g;g.extend=arguments.callee;return g}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=!0;VMM.master_config={init:function(){return this},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},youtube:{active:!1,array:[],api_loaded:!1,que:[]},googlemaps:{active:!1,map_active:!1,places_active:!1,array:[],api_loaded:!1,que:[]},googledocs:{active:!1,array:[],api_loaded:!1,que:[]},wikipedia:{active:!1,array:[],api_loaded:!1,que:[]},soundcloud:{active:!1,array:[],api_loaded:!1,que:[]}}.init();VMM.createElement=function(a,b,c,d,e){var f="";if(a!=null&&a!=""){f+="<"+a;c!=null&&c!=""&&(f+=" class='"+c+"'");d!=null&&d!=""&&(f+=" "+d);e!=null&&e!=""&&(f+=" "+e);f+=">";b!=null&&b!=""&&(f+=b);f=f+""+a+">"}return f};VMM.createMediaElement=function(a,b,c){var d="",e=!1;d+="