document.observe("dom:loaded", function() {if($('searchinput')) {$('searchinput').observe('click', function() {Form.Element.setValue($('searchinput'), '')
});$('searchinput').observe('blur', function() {if($('searchinput').value == '') {Form.Element.setValue($('searchinput'), $('searchinput').getAttribute('title'));}
});}
$$('a[href^=#]:not([href=#])').each(function(element) {element.href = "javascript: scrollToAni('"+element.getAttribute('href').substr(1)+"')";})
car = new Carousel('carousel-wrapper', $$('#carousel-content .slide'), $$('a.carousel-control', 'a.carousel-jumper'));new mainMenue('navigation');$$(".tooltip").findAll(function(node){return node.getAttribute('title');}).each(function(node){new Tooltip(node,node.title);node.removeAttribute("title");});});function scrollToAni(href)
{new Effect.ScrollTo(href);}
