text: var $window=$(window),gardenCtx,gardenCanvas,$garden,garden;var clientWidth=$(window).width();var clientHeight=$(window).height();$(function(){$loveHeart=$("#loveHeart");var d=$loveHeart.width()/2;var c=$loveHeart.height()/2-55;$garden=$("#garden");gardenCanvas=$garden[0];gardenCanvas.width=$("#loveHeart").width();gardenCanvas.height=$("#loveHeart").height();gardenCtx=gardenCanvas.getContext("2d");gardenCtx.globalCompositeOperation="lighter";garden=new Garden(gardenCtx,gardenCanvas);$("#content").css("width",$loveHeart.width()+$("#code").width());$("#content").css("height",Math.max($loveHeart.height(),$("#code").height()));$("#content").css("margin-top",Math.max(($window.height()-$("#content").height())/2,10));$("#content").css("margin-left",Math.max(($window.width()-$("#content").width())/2-150,10));setInterval(function(){garden.render()},Garden.options.growSpeed)});$(window).resize(function(){var c=$(window).width();var d=$(window).height();if(c!=clientWidth&&d!=clientHeight){location.replace(location)}});function getHeartPoint(h){var e=h/Math.PI;var f=19.5*(16*Math.pow(Math.sin(e),3));var g=-20*(13*Math.cos(e)-5*Math.cos(2*e)-2*Math.cos(3*e)-Math.cos(4*e));return new Array(offsetX+f,offsetY+g)}function startHeartAnimation(){var h=50;var g=10;var e=new Array();var f=setInterval(function(){var b=getHeartPoint(g);var i=true;for(var d=0;d<e.length;d++){var c=e[d];var a=Math.sqrt(Math.pow(c[0]-b[0],2)+Math.pow(c[1]-b[1],2));if(a<Garden.options.bloomRadius.max*1.3){i=false;break}}if(i){e.push(b);garden.createRandomBloom(b[0],b[1])}if(g>=30){clearInterval(f);showMessages()}else{g+=0.2}},h)}(function(b){b.fn.typewriter=function(){this.each(function(){var g=b(this),h=g.html(),a=0;g.html("");var f=setInterval(function(){var c=h.substr(a,1);if(c=="<"){a=h.indexOf(">",a)+1}else{a++}g.html(h.substring(0,a)+(a&1?"_":""));if(a>=h.length){slideshow();clearInterval(f)}},25)});return this}})(jQuery);function slideshow(){jQuery(function(a){a.supersized({slideshow:1,autoplay:1,start_slide:1,stop_loop:0,random:0,slide_interval:3000,transition:6,transition_speed:1000,new_window:1,pause_hover:0,keyboard_nav:1,performance:1,image_protect:1,min_width:0,min_height:0,vertical_center:1,horizontal_center:1,fit_always:0,fit_portrait:1,fit_landscape:0,slide_links:"blank",thumb_links:1,thumbnail_navigation:0,slides:[{image:"static/img/1.jpg",title:"1",thumb:"static/img/1.jpg",url:"static/img/1.jpg"},{image:"static/img/2.jpg",title:"2",thumb:"static/img/2.jpg",url:"static/img/2.jpg"},{image:"static/img/3.jpg",title:"3",thumb:"static/img/3.jpg",url:"static/img/3.jpg"},{image:"static/img/4.jpg",title:"4",thumb:"static/img/4.jpg",url:"static/img/4.jpg"},{image:"static/img/5.jpg",title:"5",thumb:"static/img/5.jpg",url:"static/img/5.jpg"},{image:"static/img/6.jpg",title:"6",thumb:"static/img/6.jpg",url:"static/img/6.jpg"},],progress_bar:1,mouse_scrub:0})})}function timeElapse(n){var l=Date();var k=(Date.parse(n)-Date.parse(l))/1000;var j=Math.floor(k/(3600*24));k=k%(3600*24);var h=Math.floor(k/3600);if(h<10){h="0"+h}k=k%3600;var m=Math.floor(k/60);if(m<10){m="0"+m}k=k%60;if(k<10){k="0"+k}var i='<span class="digit">'+j+'</span> days <span class="digit">'+h+'</span> hours <span class="digit">'+m+'</span> minutes <span class="digit">'+k+"</span> seconds";$("#elapseClock").html(i)}function showMessages(){adjustWordsPosition();$("#messages").fadeIn(5000,function(){showLoveU()})}function adjustWordsPosition(){$("#words").css("position","absolute");$("#words").css("top",$("#garden").position().top+120);$("#words").css("left",$("#garden").position().left+70)}function adjustCodePosition(){$("#code").css("margin-top",($("#garden").height()-$("#code").height())/2-80)}function showLoveU(){$("#loveu").fadeIn(3000)};