(function(){function i(){for(var a in d.view)if(a===k){for(var b in d.view[a])d.conf.component[b].init(d.view[a][b]);break}}var f=document,j=navigator.userAgent,l=j.indexOf("MSIE")>=0,k=f.body.id,d={view:{homepage:{cards:{all:["hp","about"]}}},conf:{component:{cards:{init:function(a){var b=location.hash,g=("#"+a.all.join("#")).indexOf(b)>=0&&b.substr(1)||a.all[0],e={change_view:function(){f.getElementById("content").className="view_"+g;var m=j.indexOf("Firefox")>=0?200:50;setTimeout(function(){location.hash=
"#header"},m)},create_events:function(){$(".link_view_hp").click(function(){g="hp";e.change_view();return false});$(".link_view_about").click(function(){g="about";e.change_view();return false})}};e.change_view();e.create_events()}}}}},c=document.createElement("script");c.async=true;c.src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js";var h=function(){i()};c.onload=h;if(l){var n=["complete, loaded"];h=function(){this.readyState&&n.join("|").indexOf(this.readyState)>=0&&i()};c.onreadystatechange=
h}f.body.appendChild(c)})();
