﻿window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};(function(f){function g(){}for(var h="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),e;e=h.pop();){f[e]=f[e]||g}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());$(document).ready(function(){$(".md-content").css("display","none");$(".md-content").fadeIn(1000);$("a.transition").click(function(d){d.preventDefault();linkLocation=this.href;$(".md-content").fadeOut(750,redirectPage)});var a=window.location.pathname;var c=a.substring(a.lastIndexOf("/")+1);if(c.length===0){c="index"}$("#secnav-left").find("a[href$="+c+"]").addClass("selected");$("#contact").fancybox({maxWidth:800,maxHeight:600,fitToView:false,width:"70%",height:"70%",autoSize:false,closeClick:false,openEffect:"none",closeEffect:"none"});$(".lightbox").fancybox({maxWidth:900,maxHeight:600,fitToView:false,width:"70%",height:"70%",autoSize:false,closeClick:false,openEffect:"none",closeEffect:"none"});var b=$(".md-content").css("font-size");$(".resetFont").click(function(){$(".md-content").css("font-size",b)});$(".increaseFont").click(function(){var d=$(".md-content").css("font-size");var e=parseFloat(d,10);var f=e*1.1;$(".md-content").css("font-size",f);return false});$(".decreaseFont").click(function(){var d=$(".md-content").css("font-size");var e=parseFloat(d,10);var f=e*0.9;$(".md-content").css("font-size",f);return false});var a=window.location.pathname;var c=a.substring(a.lastIndexOf("/")+1);if(c.length===0){c="index"}$("#secnav-left").find("a[href$="+c+"]").addClass("selected")});function sendpage(){mail_str="mailto:?subject= BlueBridge: "+document.title;mail_str+="&body=Interessanter Artikel auf BlueBridge.de entdeckt! Er heisst: "+document.title;mail_str+=". Hier ist die Adresse: "+location.href;location.href=mail_str}function sendpage_en(){mail_str="mailto:?subject= BlueBridge: "+document.title;mail_str+="&body=I've just found an interesting article on the BlueBridge website: "+location.href;location.href=mail_str}function redirectPage(){window.location=linkLocation};
