$(document).ready(function()
{
	$('.iepng').ifixpng();
	//menu
	$("#m_left li").each(function()
		{
			if ($("ul", this).length > 0 && $("ul", this).hasClass("hide"))
			{
				$(this).bind("mouseover", function()
					{
						$("ul", this).removeClass("hide");
						$(this).siblings().each(function()
							{
								if ($("ul", this).length > 0 && !$("ul", this).hasClass("hide"))
								{
									$("ul", this).addClass("hide");
								}
							}
						);
					}
				);
			}
		}
	);
	// service menu highlight
	$("#m_service li a").bind("mouseover", function()
		{
			var src = $("img", this).attr("src");
			var src_new = src.replace(/(.*?)\.(\w{2,4})$/, '$1_a.$2');
			$("img", this).attr({src: src_new});
		}
	);
	$("#m_service li a").bind("mouseout", function()
		{
			var src = $("img", this).attr("src");
			var src_new = src.replace(/(.*?)_a\.(\w{2,4})$/, '$1.$2');
			$("img", this).attr({src: src_new});
		}
	);
	$("#h_search .form .submit").bind("mouseover", function()
		{
			$(this).css({color: "#E3C2C0"});
		}
	);
	$("#h_search .form .submit").bind("mouseout", function()
		{
			$(this).css({color: "#fff"});
		}
	);
	$("#c_form .submit input").bind("mouseover", function()
		{
			$(this).css({color: "#E3C2C0"});
		}
	);
	$("#c_form .submit input").bind("mouseout", function()
		{
			$(this).css({color: "#fff"});
		}
	);
});