jQuery().ready(function()
{
	$('a.prod-item-img').hover(
		function()
		{
			$(this).parent().toggleClass('prod-list-item-hover');
		},
		function()
		{
			$(this).parent().toggleClass('prod-list-item-hover');
		}
	);
	
	$('#searchbox input').focus(
		function()
		{
			$(this).parent().addClass('focus');
			var txt = $(this).val();
			txt = jQuery.trim(txt);
			var newTxt = (txt == 'Search...') ? '' : txt;
			$(this).val(newTxt);
		}
	).blur(
		function()
		{
			$(this).parent().removeClass('focus');
			var txt = $(this).val();
			txt = jQuery.trim(txt);
			var newTxt = (txt == '') ? 'Search...' : txt;
			$(this).val(newTxt);
		}
	);
	
	$('.input-txt').add($('.input-dropdown')).focus(
	    function()
	    {
	        $(this).parent().addClass('focus');
	    }
	).blur(
        function()
        {
            $(this).parent().removeClass('focus');
        }
    );
    $('td .input-txt').focus(
	    function()
	    {
	        $(this).parent().parent().addClass('focus');
	    }
	).blur(
        function()
        {
            $(this).parent().parent().removeClass('focus');
        }
    );
    
    
    $('.AspNet-Login-UserPanel input').add($('.form-top input')).focus();
});
