/* jquery.app.js (71%) */
$(document).ready(function(){if($(document).height()<1424){$("#container-wrapper").height($(document).height());}
else
{$("#container-wrapper").height(1424);}
$(".fancybox").attr("rel","photo-gallery").fancybox({'overlayOpacity':0.7});$(".youtube-fancybox").click(function(){$.fancybox({'autoScale':false,'title':this.title,'width':680,'height':495,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false;});$("a.button-googlemapit").click(function(){$.fancybox('<iframe src="'+this.href+'&output=embed" id="gmap-iframe"></iframe><p class="half">&nbsp;</p><div align="center"><a href="'+this.href+'" class="button button-viewongooglemaps"><span>View on Google maps</span></a></div>');return false;});$(".share").hover(function(){$("#"+$(this).attr("id")+" .share-open-link").slideUp(50);$("#"+$(this).attr("id")+" .share-content").slideDown(50);},function(){$("#"+$(this).attr("id")+" .share-open-link").slideDown(50);$("#"+$(this).attr("id")+" .share-content").slideUp(50);});});function launchAudioPlayer()
{var w=525;var h=299;var left=(screen.width/2)-(w/2);var top=(screen.height/2)-(h/2);var targetWin=window.open(dir+'audio','Audio Player','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no,  copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);}