(function(a,b,c){function j(a){var b={},d=/^jQuery\d+$/;return c.each(a.attributes,function(a,c){c.specified&&!d.test(c.name)&&(b[c.name]=c.value)}),b}function k(a,b){var d=this,e=c(d);if(d.value==e.attr("placeholder")&&e.hasClass("placeholder"))if(e.data("placeholder-password")){e=e.hide().next().show().attr("id",e.removeAttr("id").data("placeholder-id"));if(a===!0)return e[0].value=b;e.focus()}else d.value="",e.removeClass("placeholder")}function l(){var a,b=this,d=c(b),e=d,f=this.id;if(b.value==""){if(b.type=="password"){if(!d.data("placeholder-textinput")){try{a=d.clone().attr({type:"text"})}catch(g){a=c("<input>").attr(c.extend(j(this),{type:"text"}))}a.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":f}).bind("focus.placeholder",k),d.data({"placeholder-textinput":a,"placeholder-id":f}).before(a)}d=d.removeAttr("id").hide().prev().attr("id",f).show()}d.addClass("placeholder"),d[0].value=d.attr("placeholder")}else d.removeClass("placeholder")}var d="placeholder"in b.createElement("input"),e="placeholder"in b.createElement("textarea"),f=c.fn,g=c.valHooks,h,i;d&&e?(i=f.placeholder=function(){return this},i.input=i.textarea=!0):(i=f.placeholder=function(){return this.filter((d?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":k,"blur.placeholder":l}).data("placeholder-enabled",!0).trigger("blur.placeholder").end()},i.input=d,i.textarea=e,h={get:function(a){var b=c(a);return b.data("placeholder-enabled")&&b.hasClass("placeholder")?"":a.value},set:function(a,b){var d=c(a);return d.data("placeholder-enabled")?(b==""?(a.value=b,l.call(a)):d.hasClass("placeholder")?k.call(a,!0,b)||(a.value=b):a.value=b,d):a.value=b}},d||(g.input=h),e||(g.textarea=h),c(function(){c(b).delegate("form","submit.placeholder",function(){var a=c(".placeholder",this).each(k);setTimeout(function(){a.each(l)},10)})}),c(a).bind("beforeunload.placeholder",function(){c(".placeholder").each(function(){this.value=""})}))})(this,document,jQuery),function(){var a=Object.prototype.hasOwnProperty,b=Array.prototype.indexOf||function(b){for(var c=0,d=this.length;c<d;c++)if(a.call(this,c)&&this[c]===b)return c;return-1};$(function(){$("#wrapper").fadeIn(1e3),function(){var a,c,d,e;return e="#start",c=$(window),a=$(".view"),d=[],$(".link").each(function(){return d.push($(this).attr("href"))}),c.on("hashchange",function(c){var f;return f=window.location.hash,f!==e&&b.call(d,f)>=0?(e=f,_gaq.push(["_trackPageview","/"+f]),a.fadeOut(500),$(f).delay(500).fadeIn(500),$(".link").removeClass("active").filter("a[href="+f+"]").addClass("active")):window.location.hash=e}),c.trigger("hashchange")}(),$("#button").click(function(){var a,b,c,d,e;return c=$("#email").val(),d=$("#subject").val(),a=$("#content").val(),b="email="+c+"&subject="+d+"&content="+a,e=function(){return $("#success").fadeIn(500).delay(3e3).fadeOut(500),$("#email").val(""),$("#subject").val(""),$("#content").val("")},c.match(/.+@.+\..+/)&&d.length>0&&a.length>0?$.post("mail.php",b,e):$("#error").fadeIn(500).delay(3e3).fadeOut(500)});if($.browser.msie){$("input, textarea").placeholder(),$("#contact").children("iframe").hide();if(parseInt($.browser.version,10)<=7)return $("#frame").hide(),$("#menu").hide(),$("#copy").hide(),$("#container").css({border:"none","text-align":"center"}),$("#start").css({"padding-bottom":"50px"}),$("#adress").css({"float":"none"}).append('<p style="padding-top: 50px">Leider kann die Seite nicht angezeigt werden, da Ihr Browser veraltet ist.</p>')}})}.call(this)
