jQuery().ready(function(){
// do navigation effects
jQuery('#navi').Accordion({
header: '.open', 
active: false,
event: 'click',
alwaysOpen: true,
animated: false,
navigation: true
});
// scrollto function
$('a[@href*=#]').click(function() {
	if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
		&& location.hostname == this.hostname) {
		var $target = $(this.hash);
		$target = $target.length && $target || $('[@name=' + this.hash.slice(1) +']');
		if ($target.length) {
		$target.ScrollTo(500);
		return false;
		}
	};
});
//
});



/*
* Adds the Rollover-Color to h1 tags with open class to simulate link behaviuor in IE6
*
*/

$(document).ready(function() {
  $("h1.open").mouseover(function () {
    $(this).css("color","orange");
   });

  $("h1.open").mouseout(function () {
    $(this).css("color","#366b9f");
   });
}); // end document ready


