/**
 * generelle nicht kategorisierbare Verhalten
 */
$(document).ready(function() {
	/**
	 * IE6-Css-Bugfix: removes dotted outline around links
	 */
	/*
	 *
	 *
	$('a, button, input[type="submit"]').bind('click', function () {
		$(this).blur();
	});
	*/
	
	$('.jh-s_btn_yellow_big_forward span input').bind('click focus', function () {
		$(this).blur();
	});

	$("div.jh-s_product_list_pic img").lazyload({
		placeholder : '/general/relaunch_img/pixel.gif',
		threshold:300,
		failurelimit:10
	});
	$("div.jh-s_product2_pic img").lazyload({
		placeholder : '/general/relaunch_img/pixel.gif',
		threshold:300,
		failurelimit:10
	});
	$("div.jh-s_product3_pic img").lazyload({
		placeholder : '/general/relaunch_img/pixel.gif',
		threshold:300,
		failurelimit:10
	});
	$('#searchbar_query').attr('autocomplete','off');

	
	
	forms.correctSelectError();
	//forms.initSubmitButtons();
	
//	var isIE6 = ($.browser.msie && ($.browser.version=="6.0")) ? true :false;
//	
//	if (!isIE6){
//		window.setInterval("sidebarHeight()", 10);
//		
//		if (!document.getElementById('orderAddArticle')){
//			
//			if ($('#jh-s_content').height()>1200){
//				$("#jh-s_sidebar_scroller").jScroll({top : 0});
//			}
//		}
//	}else
//	{
//		//if (!document.getElementById('orderAddArticle')){
//			$("#jh-s_sidebar").append($("#jh-s_sidebar_scroller").html());
//			$("#jh-s_sidebar_scroller").remove();
//		//}
//	}
	
});

