/*! jQuery Countdown Plugin
* Copyright Tom Ellis http://www.webmuse.co.uk
* Licensed under MIT License
* See http://www.webmuse.co.uk/license/
*/
(function(f){jQuery.fn.countdown=function(l){var c=f.extend({},{date:new Date,updateTime:1E3,htmlTemplate:'%{d} <span class="small">days</span> %{h} <span class="small">hours</span> %{m} <span class="small">mins</span> %{s} <span class="small">sec</span>',minus:false},l),d=false,g=c.htmlTemplate;return this.each(function(){var m=window.setInterval(function(){var h=new Date,i=new Date(c.date),a=(i.getTime()-h.getTime())/864E5,j=Math.floor(a),b=(a-j)*24;a=Math.floor(b);var k=Math.floor((b-a)*60);b=
Math.floor(((b-a)*60-k)*60);var e="";if(h<=i||c.minus)e=g.replace(/%{d}/,j).replace(/%{h}/,a).replace(/%{m}/,k).replace(/%{s}/,b);else{e="PLAYLAND IS NOW OPEN!";d=true}f("#time").html(e);if(d){d=false;clearInterval(m)}},c.updateTime)})}})(jQuery);
