$(document).ready(function(){$(".map-zipper").click(function(){$(".google-map").toggleClass("tape-map").toggleClass("double-tape-map"),$(this).toggleClass("map-zipper-active").toggleClass("map-zipper-inactive"),google.maps.event.trigger(googleMap,"resize")})});var iPhoneCheck;navigator.userAgent.toLowerCase().indexOf("iphone")>-1&&(iPhoneCheck=confirm("NowHere gibt es auch für Ihr iPhone als Applikation. Wollen Sie zur iPhone App wechseln?"),iPhoneCheck==1&&(window.location.href="http://itunes.apple.com/us/app/nowhere-app/id393311307?mt=8")),$(document).ready(function(){$("body").append('<div id="fb-root"></div>'),window.fbAsyncInit=function(){FB.init({appId:"164857106871267",status:!0,cookie:!0,xfbml:!0,oauth:!0}),window.location.pathname=="/nh/logout"&&FB.getLoginStatus(function(a){a.status==="connected"&&FB.logout(function(a){window.location="/"})}),$(".fb-login").live("click",function(){var a={};return $(this).attr("href")!=="#"&&_.extend(a,{target_path:$(this).attr("href")}),FB.login(function(b){b.status=="connected"&&jQuery.post("/nh/sessions",_.extend(a,{fb_access_token:b.authResponse.accessToken}),function(a){window.location=a.redirect_url},"json")},{scope:"email,offline_access,publish_checkins,publish_stream,user_location,friends_location,user_hometown,friends_hometown,user_checkins,friends_checkins"}),!1})},function(a){var b,c="facebook-jssdk";if(a.getElementById(c))return;b=a.createElement("script"),b.id=c,b.async=!0,b.src="//connect.facebook.net/de_DE/all.js",a.getElementsByTagName("head")[0].appendChild(b)}(document)});var gaJsHost="https:"==document.location.protocol?"https://ssl.":"http://www.";document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));var pageTracker=_gat._getTracker("UA-341607-2");pageTracker._initData(),pageTracker._trackPageview()
