/* geen info */
$( function() {
	
	/* Nice way to search! 
	var activatedLast = false;
	var activatedAmount = 0;
	var currentAmount = 0;
	function checkActivated(arg){
		currentAmount = currentAmount + 1;
		if(currentAmount == 0 && activatedAmount == 0){
		} else {
			if(currentAmount == activatedAmount){
				/
				if($("#isearch").val() == ""){
				} else {
					$.ajax({
					  type: "GET",
					  url: '/3dparty/iShopProDeluxe/search.php',
					  data: "s=" + escape($("#isearch").val()),
					  success: function(data) {
						//alert(data);
						$('#iShopSearch').hide();
						$('#iShopSearch').html(data);
						$('#iShopSearch').slideDown('slow', function() {
							// Animation complete.
						 });
					  }
					});
					currentAmount = 0;
					activatedAmount = 0;
				}			}
		}
	}
	
	$("#isearch").keyup( function(){

		setTimeout(function() { 
			checkActivated();
		}, 100); 

		activatedAmount = activatedAmount + 1;
	
	}); 
	*/
	
	
});
