/* <![CDATA[ */
$("#header .menu li").hover(function(){$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideToggle(268);},function(){ $(this).find('ul:first').slideToggle(268);});
$('#header li:not(#header .menu li li):not(.current_page_item):not(.current_page_parent):not(.current_page_ancestor)')
	.css( {backgroundPosition: "0 38px"} )
	.mouseover(function(){$(this).stop().animate({backgroundPosition:"(0 0)"}, 200);})
	.mouseout(function(){$(this).stop().animate({backgroundPosition:"(0 38px)"}, 200);})
$('.top-link')
	.css( {backgroundPosition: "right top"} )
	.mouseover(function(){$(this).stop().animate({backgroundPosition:"(right -3px)"}, 200);})
	.mouseout(function(){$(this).stop().animate({backgroundPosition:"(right top)"}, 200);})
if($.browser.safari || $.browser.Chrome){ bodyelem = $("body") } else{ bodyelem = $("html") }
$('a').click(function(){if($(this).attr("href").charAt(0) == "#"){bodyelem.animate({scrollTop: $($(this).attr("href")).offset().top+'px'}, 500);return false;}else{return true;}});
$('.search-label-sliding').css({ left: "15px" })
$('.search-label-sliding').animate({ opacity: "0.4" }).click(function() {var thisFor = $(this).attr('for');	$('.'+thisFor).focus();});
$('.search-sliding').focus(function() {$('.search-label-sliding').animate({ left: "160px" }, "fast");
	if($(this).val() == "Search") $(this).val() == "";
}).blur(function() {if($(this).val() == "") {$(this).val() == "Search";$('.search-label-sliding').animate({ left: "15px" }, "fast");}});
$('input:submit').addClass('input-submit');
$('input:button').addClass('input-submit');
$('input:reset').addClass('input-submit');
/* ]]> */
