function trace( msg ){
  if( typeof( jsTrace ) != 'undefined' ){
    jsTrace.send( msg );
  }
}

jQuery.noConflict();

jQuery(document).ready(function($)
{
	$("#navigation ul a li").each(function(){
		$(this).mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-300px 0px)"},{duration:500});
		})
		
		$(this).mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"},{duration:500});
		})
		
	});
	
	$("#floater").mouseover(function()
	{
		$(this).stop().animate({backgroundPosition:"(-200px -100px)"},{duration:500});
	})
	
	$("#floater").mouseout(function()
	{
		$(this).stop().animate({backgroundPosition:"(0px 0px)"},{duration:500});
	})
		
	$("#sidebar ul li").find("a").each(function()
	{
		$(this).mouseover(function()
		{
			$(this).stop().animate({paddingLeft: '10px', backgroundColor: "#888888"}, 300);
		})
	
		$(this).mouseout(function()
		{
			$(this).stop().animate({paddingLeft: '5px', backgroundColor: "#ffffff"}, 300);
		})
	})
	
	$("#search-box").mouseover(function(){
		$(this).stop().animate({top:"0"},{duration:300})
	})
	
	$("#search-box").mouseout(function(){
		$(this).stop().animate({top:"-80"},{duration:300})
	})
	
	$("#search-box #sfield").example("SEARCH");
});