$(document).ready(function() {
	
	
	$(".viewport li").hover(function(){  
		$(this).find(".overlay").animate({ 
			marginTop: "-135px"  
		},
		500 );
	}, function() { 
		$(this).find(".overlay").animate({ marginTop: "25px" },
		500 ); 
	});
	
	

	$(".omgeving").click(function(){  
		$("#situatiekaart").css({ display: "none"  } );
		$("#video").css({ display: "none"  } );
		$("#omgevingskaart").css({ display: "block"  } );
		$(".omgeving").attr('class', 'omgeving active');
		$(".situatiekaart").attr('class', 'situatiekaart');
		$(".video").attr('class', 'video');
		$("#buttons").css({ marginTop: "-780px" } );
		if($("#omgevingskaart iframe").attr('src').length <5){
			$("#omgevingskaart iframe").attr('src','/omgeving.html')
		}

	});
	$(".situatiekaart").click(function(){  
				
		$("#situatiekaart").css({ display: "block"  } );
		$("#video").css({ display: "none"  } );
		$("#omgevingskaart").css({ display: "none"  } );
		$(".situatiekaart").attr('class', 'situatiekaart active');
		$(".omgeving").attr('class', 'omgeving');
		$(".video").attr('class', 'video');
		$("#buttons").css({marginTop: "-480px"  } );
	});
	$(".video").click(function(){  
		$("#situatiekaart").css({ display: "none"  } );
		$("#video").css({ display: "block"  } );
		$("#omgevingskaart").css({ display: "none"  } );
		$(".video").attr('class', 'video active');
		$(".situatiekaart").attr('class', 'situatiekaart');
		$(".omgeving").attr('class', 'omgeving');
		$("#buttons").css({  marginTop: "-580px"   } );
		
	});
	
	
	
	
	
	
(function(){var e=void 0,f=null,h,i=this,j=function(a){for(var a=a.split("."),b=i,c;c=a.shift();)if(b[c]!=f)b=b[c];else return f;return b},k="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),aa=0,ba=function(a,b,c){return a.call.apply(a.bind,arguments)},ca=function(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}else return function(){return a.apply(b,
arguments)}},m=function(a,b,c){m=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ba:ca;return m.apply(f,arguments)},o=function(a,b){var c=a.split("."),d=i;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var g;c.length&&(g=c.shift());)!c.length&&b!==e?d[g]=b:d=d[g]?d[g]:d[g]={}},q=function(a,b){p.prototype[a]=b},r=function(a,b){function c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};
Function.prototype.bind=Function.prototype.bind||function(a,b){if(arguments.length>1){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return m.apply(f,c)}else return m(this,a)};var s=function(a){this.stack=Error().stack||"";if(a)this.message=String(a)};r(s,Error);var da=function(a,b){for(var c=1;c<arguments.length;c++)var d=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a},w=function(a){for(var b=0,c=String(ea).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),a=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=Math.max(c.length,a.length),g=0;b==0&&g<d;g++){var l=c[g]||"",n=a[g]||"",ka=RegExp("(\\d*)(\\D*)","g"),la=RegExp("(\\d*)(\\D*)","g");do{var t=ka.exec(l)||["","",""],u=la.exec(n)||["","",""];if(t[0].length==0&&u[0].length==
0)break;b=v(t[1].length==0?0:parseInt(t[1],10),u[1].length==0?0:parseInt(u[1],10))||v(t[2].length==0,u[2].length==0)||v(t[2],u[2])}while(b==0)}return b},v=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};Math.random();var x=function(a,b){b.unshift(a);s.call(this,da.apply(f,b));b.shift();this.o=a};r(x,s);var y=function(a,b,c){if(!a){var d=Array.prototype.slice.call(arguments,2),g="Assertion failed";if(b){g+=": "+b;var l=d}throw new x(""+g,l||[]);}};var z=Array.prototype,fa=z.indexOf?function(a,b,c){y(a.length!=f);return z.indexOf.call(a,b,c)}:function(a,b,c){c=c==f?0:c<0?Math.max(0,a.length+c):c;if(typeof a=="string")return typeof b!="string"||b.length!=1?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ga=function(a,b,c){y(a.length!=f);return arguments.length<=2?z.slice.call(a,b):z.slice.call(a,b,c)};var ha=function(a){var b=A,c;for(c in b)if(a.call(e,b[c],c,b))return c};var B,C,D,E,F=function(){return i.navigator?i.navigator.userAgent:f};E=D=C=B=!1;var G;if(G=F()){var ia=i.navigator;B=G.indexOf("Opera")==0;C=!B&&G.indexOf("MSIE")!=-1;D=!B&&G.indexOf("WebKit")!=-1;E=!B&&!D&&ia.product=="Gecko"}var H=C,I=E,ja=D,J;
a:{var K="",L;if(B&&i.opera)var M=i.opera.version,K=typeof M=="function"?M():M;else if(I?L=/rv\:([^\);]+)(\)|;)/:H?L=/MSIE\s+([^\);]+)(\)|;)/:ja&&(L=/WebKit\/(\S+)/),L)var N=L.exec(F()),K=N?N[1]:"";if(H){var O,P=i.document;O=P?P.documentMode:e;if(O>parseFloat(K)){J=String(O);break a}}J=K}var ea=J,Q={},R={},S=function(){return R[9]||(R[9]=H&&document.documentMode&&document.documentMode>=9)};!H||S();if(I||H)if(!H||!S())I&&(Q["1.9.1"]||(Q["1.9.1"]=w("1.9.1")>=0));H&&(Q["9"]||(Q["9"]=w("9")>=0));var ma=function(){};var T=function(){this.c=[];this.d={}};r(T,ma);T.prototype.i=1;T.prototype.f=0;var na=function(a,b,c){var d=a.d[b];d||(d=a.d[b]=[]);var g=a.i;a.c[g]=b;a.c[g+1]=c;a.c[g+2]=e;a.i=g+3;d.push(g)};
T.prototype.k=function(a,b){var c=this.d[a];if(c){this.f++;for(var d=ga(arguments,1),g=0,l=c.length;g<l;g++){var n=c[g];this.c[n+1].apply(this.c[n+2],d)}this.f--;if(this.e&&this.f==0)for(;c=this.e.pop();)if(this.f!=0){if(!this.e)this.e=[];this.e.push(c)}else if(d=this.c[c]){if(d=this.d[d])g=d,d=fa(g,c),d>=0&&(y(g.length!=f),z.splice.call(g,d,1));delete this.c[c];delete this.c[c+1];delete this.c[c+2]}}};var U=function(a){if(a=a||j("window.event")){this.type=a.type;var b=a.target||a.srcElement;if(b&&b.nodeType==3)b=b.parentNode;this.target=b;if(b=a.relatedTarget)try{b=b.nodeName&&b}catch(c){b=f}else if(this.type=="mouseover")b=a.fromElement;else if(this.type=="mouseout")b=a.toElement;this.relatedTarget=b;this.data=a.data;this.source=a.source;this.origin=a.origin;this.state=a.state;this.clientX=a.clientX!==e?a.clientX:a.pageX;this.clientY=a.clientY!==e?a.clientY:a.pageY;if(a.pageX||a.pageY)this.pageX=
a.pageX,this.pageY=a.pageY;else if((a.clientX||a.clientY)&&document.body&&document.documentElement)this.pageX=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.pageY=a.clientY+document.body.scrollTop+document.documentElement.scrollTop;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||(this.type=="keypress"?this.keyCode:0);if(this.type.indexOf("touch")==0)this.touches=a.touches,this.changedTouches=a.changedTouches;this.n=a}};h=U.prototype;h.type="";
h.target=f;h.relatedTarget=f;h.currentTarget=f;h.data=f;h.source=f;h.origin=f;h.state=f;h.keyCode=0;h.charCode=0;h.n=f;h.clientX=0;h.clientY=0;h.pageX=0;h.pageY=0;h.touches=f;h.changedTouches=f;var A=j("yt.events.listeners_")||{};o("yt.events.listeners_",A);var oa=j("yt.events.counter_")||{count:0};o("yt.events.counter_",oa);
var pa=function(a,b){return ha(function(c){return c[0]==a&&c[1]=="message"&&c[2]==b})},ra=function(){var a=window,b=qa;if(a&&(a.addEventListener||a.attachEvent)){var c=pa(a,b);if(!c){var c=++oa.count+"",d=function(c){c=new U(c);c.currentTarget=a;return b.call(a,c)};A[c]=[a,"message",b,d];a.addEventListener?a.addEventListener("message",d,!1):a.attachEvent("onmessage",d)}}};o("yt.config_",window.yt&&window.yt.config_||{});o("yt.globals_",window.yt&&window.yt.globals_||{});o("yt.msgs_",window.yt&&window.yt.msgs_||{});o("yt.timeouts_",window.yt&&window.yt.timeouts_||[]);var sa=window.yt&&window.yt.intervals_||[];o("yt.intervals_",sa);eval("/*@cc_on!@*/false");var ta=window.YTConfig||{},V={width:640,height:390,title:"video player"};V.host=(document.location.protocol=="https:"?"https:":"http:")+"//www.youtube.com";V.apiReady="onYouTubePlayerAPIReady";
var ua={0:"onEnded",1:"onPlaying",2:"onPaused",3:"onBuffering",5:"onVideoCued"},W=f,X=function(a,b){return(b?b:{})[a]||ta[a]||V[a]},qa=function(a){if(a.origin==X("host")){var a=JSON.parse(a.data),b=W[a.id];switch(a.event){case "onReady":window.clearInterval(b.h);Y(b,"onReady");break;case "onStateChange":b.state=a.state;va(b,a);Y(b,"onStateChange",b.state);b.state!=-1&&Y(b,ua[b.state]);break;case "onPlaybackQualityChange":b.l=a.quality;Y(b,"onPlaybackQualityChange",b.l);break;case "onError":Y(b,"onError",
a.error);break;case "infoDelivery":va(b,a)}}},p=function(a,b){var c=typeof a=="string"?document.getElementById(a):a;if(c){if(c.tagName.toLowerCase()!="iframe"){var d=document.createElement("iframe");c.appendChild(d);d.setAttribute("frameborder","0");d.setAttribute("title","YouTube "+X("title",b));d.setAttribute("type","text/html");if(b&&(d.height=X("height",b),d.width=X("width",b),"videoId"in b||"videoId"in ta)){c=X("playerVars",b)||[];c.enablejsapi=1;window.location.host&&(c.origin=window.location.protocol+
"//"+window.location.host);var g=[],l;for(l in c)c.hasOwnProperty(l)&&g.push(l+"="+c[l]);d.src=X("host",b)+"/embed/"+X("videoId",b)+"?"+g.join("&")+"&wmode=transparent"}c=d}this.b=c;this.id=this[k]||(this[k]=++aa);this.a={};if(window.JSON&&window.postMessage&&(this.g=new T,d=this.id,W||(W={},ra()),W[d]=this,d=m(this.j,this),d=window.setInterval(d,250),sa.push(d),this.h=d,b)){var d=X("events",b),n;for(n in d)d.hasOwnProperty(n)&&this.addEventListener(n,d[n])}}};h=p.prototype;
h.m=function(){var a=this.b;a&&a.parentNode&&a.parentNode.removeChild(a)};h.b=f;h.id=0;h.h=0;h.state=-1;h.g=f;h.j=function(){this.sendMessage({event:"listening"})};var va=function(a,b){var c=b.info||{},d;for(d in c)c.hasOwnProperty(d)&&(a.a[d]=c[d])};p.prototype.addEventListener=function(a,b){var c=b;typeof b=="string"&&(c=function(){window[b].apply(window,arguments)});na(this.g,a,c)};
var Y=function(a,b,c){a.g.k(b,{target:a,data:c})},Z=function(a,b,c){c=c||[];c=Array.prototype.slice.call(c);a.sendMessage({event:"command",func:b,args:c})};h=p.prototype;h.sendMessage=function(a){a.id=this.id;this.b.contentWindow.postMessage(JSON.stringify(a),X("host"))};h.cueVideoById=function(a,b,c){Z(this,"cueVideoById",arguments);return this};h.loadVideoById=function(a,b,c){Z(this,"loadVideoById",arguments);return this};h.cueVideoByUrl=function(a,b){Z(this,"cueVideoByUrl",arguments);return this};
h.loadVideoByUrl=function(a,b){Z(this,"loadVideoByUrl",arguments);return this};h.playVideo=function(){Z(this,"playVideo");return this};h.pauseVideo=function(){Z(this,"pauseVideo");return this};h.stopVideo=function(){Z(this,"stopVideo");return this};h.seekTo=function(a,b){Z(this,"seekTo",arguments);return this};h.clearVideo=function(){Z(this,"clearVideo");return this};h.mute=function(){Z(this,"mute");return this};h.unMute=function(){Z(this,"unMute");return this};h.isMuted=function(){return this.a.isMuted};
h.setVolume=function(a){Z(this,"setVolume",arguments);return this};h.getVolume=function(){return this.a.volume};h.setSize=function(a,b){this.b.width=a;this.b.height=b;return this};h.getVideoBytesLoaded=function(){return this.a.videoBytesLoaded};h.getVideoBytesTotal=function(){return this.a.videoBytesTotal};h.getVideoStartBytes=function(){return this.a.videoStartBytes};h.getPlayerState=function(){return this.state};h.getCurrentTime=function(){return this.a.currentTime};h.getPlaybackQuality=function(){return this.a.quality};
h.setPlaybackQuality=function(a){Z(this,"setPlaybackQuality",arguments);return this};h.getAvailableQualityLevels=function(){return this.a.availableQualityLevels};h.getDuration=function(){return this.a.duration};h.getVideoUrl=function(){return this.a.videoUrl};h.getVideoEmbedCode=function(){return'<iframe title="'+this.b.title+'" class="'+this.b.className+'" width="'+this.b.width+'" height="'+this.b.height+'" src="'+this.b.src+'" type="text/html" frameborder="0"></iframe>'};o("YT.PlayerState.ENDED",0);o("YT.PlayerState.PLAYING",1);o("YT.PlayerState.PAUSED",2);o("YT.PlayerState.BUFFERING",3);o("YT.PlayerState.CUED",5);o("YT.Player",p);q("destroy",p.prototype.m);q("cueVideoById",p.prototype.cueVideoById);q("loadVideoById",p.prototype.loadVideoById);q("cueVideoByUrl",p.prototype.cueVideoByUrl);q("loadVideoByUrl",p.prototype.loadVideoByUrl);q("playVideo",p.prototype.playVideo);q("pauseVideo",p.prototype.pauseVideo);q("stopVideo",p.prototype.stopVideo);q("seekTo",p.prototype.seekTo);
q("clearVideo",p.prototype.clearVideo);q("mute",p.prototype.mute);q("unMute",p.prototype.unMute);q("isMuted",p.prototype.isMuted);q("setVolume",p.prototype.setVolume);q("getVolume",p.prototype.getVolume);q("setSize",p.prototype.setSize);q("getVideoBytesLoaded",p.prototype.getVideoBytesLoaded);q("getVideoBytesTotal",p.prototype.getVideoBytesTotal);q("getVideoStartBytes",p.prototype.getVideoStartBytes);q("getPlayerState",p.prototype.getPlayerState);q("getCurrentTime",p.prototype.getCurrentTime);
q("getPlaybackQuality",p.prototype.getPlaybackQuality);q("setPlaybackQuality",p.prototype.setPlaybackQuality);q("getAvailableQualityLevels",p.prototype.getAvailableQualityLevels);q("getDuration",p.prototype.getDuration);q("getVideoUrl",p.prototype.getVideoUrl);q("getVideoEmbedCode",p.prototype.getVideoEmbedCode);q("addEventListener",p.prototype.addEventListener);var wa=j(X("apiReady"));wa&&wa();})();

		
	
	
	
	
	
})		
			
