
	$(document).ready(function(){ 
	
		// Document ready
		
		// Form tips/styling
		
		$('input[type=text], input[type=password], textarea').each(function() 
		{
			if ($(this).attr('title') && !$(this).val()) 
			{
				$(this).val($(this).attr('title'));
			}
		});
		   
		$('input[type=text], input[type=password], textarea').bind('focus', function() 
		{
			$(this).addClass('focused');
			
			if ($(this).val() == $(this).attr('title')) 
			{
				$(this).val('');
			}
		});
		
		$('input[type=text], input[type=password], textarea').bind('blur', function() 
		{	
			if (!$(this).val()) 
			{
				$(this).val($(this).attr('title'));
				$(this).removeClass('focused');
			}
		});

	}); 
	
curvyCorners.addEvent(window, 'load', initCorners);

  function initCorners() {
    var all_five = {
      tl: { radius: 5 },
      tr: { radius: 5 },
      bl: { radius: 5 },
      br: { radius: 5 },
      antiAlias: true
    }
    }
    curvyCorners(all_five, "#navigation_bar, #container, #category_list, .bordered");

	

