diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index dc44f24..3df611b 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 7eaffca..bd9302f 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 2dbd466..2c012f6 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index c56f740..2d3f19c 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 94904ec..305ccf5 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 6e0523c..e7cbe25 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index d2011d4..484eae3 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index ca728e8..450252b 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 0fee998..d6da425 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 855092e..9bf213e 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 7dbf9e6..8597d52 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index f3a1a8b..f79ed93 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 5ec351e..3d30709 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index cc50186..b1c06d6 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index ef4e9b6..1015f14 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 4aa53b8..5baa99c 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 194cc61..4e9f61b 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index f8ccfde..6ef9b45 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index fe91ff3..14a7a23 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 4d2baf4..533ac07 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index bc59513..9a88e04 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 3c2aa13..5bb3d11 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 7b3f538..ecdb51f 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 502d33c..ecc22a3 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 622ce6a..d4665f7 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index b063668..3538893 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 7ae7cc9..1cc930c 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index bf89860..584c570 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index ffc61b6..2164cbe 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index f3e8583..4d1fa18 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index dd855ba..c57c1c5 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 3296959..0c4f59c 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 5656dc3..c281c0a 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index d53855f..e9a707b 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 65ac1f7..66e2175 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 471ed18..ed5ebfc 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 3b213fa..9ef437d 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 2ede085..4f92cb6 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index fbc92fc..9147836 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index b68bc71..bf34568 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 0928749..a3231c8 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 1402dde..03ca8d3 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index ba1bf02..2d2fa12 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 28aa96b..20bd489 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 6d26dd3..9e778b8 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 93eacef..0dd65ed 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index f7411be..fdccefb 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 41a8db3..6fc4040 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 9f42f5b..cb59207 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 7505022..5f73d00 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 58b7ff5..08e8e87 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 76259a5..07a4caa 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 907aac3..502b7cc 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 27268f9..fc934de 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 95e73d0..fd89b8b 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index f4315f8..ee7377a 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index b3e7cc8..d3626e5 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 362d358..46b18cb 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 481e379..e567af8 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 0b9e7cb..b865c44 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index f1d39c0..cc949ad 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index fbe6bd0..193a243 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 77e436b..4bdd629 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 9286c36..d07b62d 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 5c977ae..5a26877 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 90bdbc0..c8172f4 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 88f1bc2..2ce13f4 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index d4dd346..cd028a1 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index f1365a1..f8ae789 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index a38007e..62a660b 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index bc10a4c..e60635d 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 2772aa2..f509471 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 145031c..7eb7435 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 31d3066..426b90e 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 5005ae4..94a2b12 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index d4d2237..91bf710 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 6c881f8..11a582b 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index b1aaefa..7a1efc1 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 430e4ba..3a223cf 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 14391c5..7165397 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 54bfb14..eacb113 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 3950b27..a14d547 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,12 +1,12 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();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:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},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:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{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(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'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(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0,0,1,0,0,0,0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){date.setMonth(date_array[0]-1);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.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(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; +(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();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:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},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:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{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(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'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(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){date.setMonth(date_array[0]-1);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.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(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; return text.replace(exp,"$3")}var emailAddressPattern=/(([a-zA-Z0-9_\-\.]+)@[a-zA-Z_]+?(?:\.[a-zA-Z]{2,6}))+/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="
";twit+="";twit+="";twit+=""+d.user.name+"";twit+="@"+d.user.screen_name+"";twit+="";twit+="
";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"//{S}tile.stamen.com/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"//{S}tile.stamen.com/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"//{S}tile.stamen.com/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"//{S}tile.stamen.com/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+="
";g_attachments+="";g_attachments+="
"+a_data.object.attachments[k].displayName+"
";g_attachments+="
";g_attachments+="
"}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+="
";g_attachments+="";g_attachments+="
"+a_data.object.attachments[k].displayName+"
";g_attachments+="

"+a_data.object.attachments[k].content+"

";g_attachments+="
";g_attachments+="
"}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText); trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"white",showinfo:0,theme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,"Swipe to Navigate");VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback",""); diff --git a/build/js/timeline.js b/build/js/timeline.js index 41db996..d71b0b3 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.34.1 - 2014-10-29 + TimelineJS - ver. 2.35.0 - 2014-11-19 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -1257,8 +1257,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') { trace("DEBUG THIS, ITs A DATE"); date = d; } else { - date = new Date(0, 0, 1, 0, 0, 0, 0); - + date = new Date(0); if ( d.match(/,/gi) ) { date_array = d.split(","); for(var i = 0; i < date_array.length; i++) {