$(function() {
	$("input[name='txtSearch']").focus(function() {
		if ( $(this).val() == searchValue )
		{
			$(this).addClass("active").val("");
		}
	}).blur(function() {
		var currentValue = $(this).val().replace(" ", "");

		if ( currentValue.length == 0 )
		{
			$(this).removeClass("active").val( searchValue );
		}
	});

	if ( $.browser.msie && $.browser.version == "7.0" )
	{
		if ( $("#products-header").length > 0 )
		{
			$("#products-header").css("margin-bottom", "10px");
		}

		if ( $("#menu-top").length > 0 )
		{
			$("#menu-top").css("height", "23px");
		}

		if ( $("div.products").length > 0 )
		{
			$("div.products").find("h2.title").each(function() {
				$(this).css("padding-top", "1px");
			});
		}
	}
});
