//var $dunx = jQuery.noConflict();

$(document).ready(function(){
	$("#marquee").marquee(); 

	$(".product_no_count").hover(
		function () {
			$(this).css({
				"border-top": "1px solid #bed3f0",
				"background": "url(/css/design/bg_product_has_count.jpg) left top repeat-x",	
				"color": "#224ba6"
			});
			$(this).find("product_border_left").attr("src", "/css/design/bg_product_has_count_border.jpg");
			$(this).find("product_border_right").attr("src", "/css/design/bg_product_has_count_border.jpg");
			$(this).find(".product_submit").attr("src", "/css/design/product_has_count_btn.png");
			$(this).find(".product_img").attr("src", "/css/design/product_has_count_img.png");
			$(this).find(".product_input").css({
				"background": "url(/css/design/bg_product_has_count_input.jpg) left top no-repeat",
				"color": "#224ba6"				
			});
		},
		function () {
			$(this).css({
				"border-top": "1px solid #cfd1d6",
				"background": "url(/css/design/bg_product_no_count.jpg) left top repeat-x",	
				"color": "#acb1be"
			});
			$(this).find("product_border_left").attr("src", "/css/design/bg_product_no_count_border.jpg");
			$(this).find("product_border_right").attr("src", "/css/design/bg_product_no_count_border.jpg");
			$(this).find(".product_submit").attr("src", "/css/design/product_no_count_btn.png");
			$(this).find(".product_img").attr("src", "/css/design/product_no_count_img.png");
			$(this).find(".product_input").css({
				"background": "url(/css/design/bg_product_no_count_input.jpg) left top no-repeat",
				"color": "#acb1be"				
			});						
		}
	);

	$("#warenkorb_aktualisieren").hover(
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_aktualisieren_hover.jpg")
		}, 
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_aktualisieren.jpg")
		}
	);
	
	$("#warenkorb_submit").hover(
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_weiter_hover.jpg")
		}, 
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_weiter.jpg")
		}
	);	
	
	$("#login_submit").hover(
		function () {
			$(this).attr("src", "/css/design/btn_login_submit_hover.png")
		}, 
		function () {
			$(this).attr("src", "/css/design/btn_login_submit.png")
		}
	);

	$("#update_submit").hover(
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_aktualisieren_hover.jpg")			
		}, 
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_aktualisieren.jpg")
		}
	);	
	
	$("#weiter").hover(
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_weiter_hover.jpg")			
		}, 
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_weiter.jpg")
		}
	);	
	
	$("#register_submit").hover(
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_weiter_hover.jpg")			
		}, 
		function () {
			$(this).attr("src", "/css/design/btn_warenkorb_weiter.jpg")
		}
	);		
});
