$(document).ready(function() {
	
	//TNTI-42693 (16-02-2010) add multiple products  (add prevent show prodct image row on onclick)
	$('.ot_prodrow_o td:not(".b_btn, .bulk_aantaleenheid, .b_checkbox")').click(function(){
		$("div.descriptionFull").css("display", "none");
		$("div.descriptionFull", this.parentNode).css("display", "block");
		$("img.productImg").css("display", "none");
		$("img.productImg", this.parentNode).css("display", "block");
	});
	
	//TNTI-42693 (16-02-2010) add multiple products  (add prevent show prodct image row on onclick)
	$('.ot_prodrow_e td:not(".b_btn, .bulk_aantaleenheid, .b_checkbox")').click(function(){
		$("div.descriptionFull").css("display", "none");
		$("div.descriptionFull", this.parentNode).css("display", "block");
		$("img.productImg").css("display", "none");
		$("img.productImg", this.parentNode).css("display", "block");
	});

	jQuery.fn.inputFieldText = function(string) {          
		this.each(function() { 
			$(this).val(string); 
			$(this).focus(function(){ 
				if ($(this).val() == string){ 
					$(this).val(''); 
				} 
			}); 
			$(this).blur(function(){ 
				if ($(this).val() == '' ){ 
					$(this).val(string); 
				} 
			});     
		}); 
	} 
	
	$('input[name=keyword]').inputFieldText('Nummer of trefwoord'); 
	
	//$(".menutree_left tr:first").after("<tr><td><span>Hier kunt u bestellen:</span></td></tr>");
	
});
