function thumb_img(szOperationCode,szProductIdx)
	{	
		
			$.ajax({
			
			    url: 'proc.jsp?operationCode='+szOperationCode+'&productIdx='+$(nProductIdx).val(),
			    type: 'POST',
			    dataType: 'xml',
			    timeout: 3000,
			    error: function(){
			        alert('Error loading json document');
			    },
			    success: function(xml){
			  
			    	 if ($(xml).find('data').find('thumbInfo').length>0)
				     {
			    		
			    		 $('#product_thumb_view').empty();
			    		var 	html =	'<ul>';
			    				
			    		$(nProductIdx).val($(xml).find('data').find('startProductIdx').text());
			    		 
			    		 $(xml).find('data').find('thumbInfo').each(function(idx)
			    		 {
			    			 html += "<li>";
			    			 html += "<a href=javascript:load_display('product/product_display.jsp?nStartProductIdx="+$(nProductIdx).val()+"&nCategoryIdx="+$(this).find('categoryIdx').text()+"&nProductIdx="+$(this).find('productIdx').text()+"')>";
			    			 html += "<span class='thumb_img'>";
			    			 html += "<div class='thumb_img_over'><img class='' src='images/02__products/contents/product_view_image/"+$(this).find('categoryName').text()+"/"+$(this).find('productName').text()+"/thumb/1_over.png'  /></div>";
			    			 html += "<img class='' title='"+$(this).find('productName').text()+"' src='images/02__products/contents/product_view_image/"+$(this).find('categoryName').text()+"/"+$(this).find('productName').text()+"/thumb/1.png'  />";
			    			 html += "</span>";
			    			 html += "</a></li>";
				    	  });

			    		 html +=  '</ul>';
			    		 $('#product_thumb_view').append(html);
			    		 
			    		 $('.thumb_img_over').hide();
			    			
			    			
			    			$('.thumb_img').bind('mouseenter',function () {
			    				$(this).find('.thumb_img_over').fadeIn();
			    		    });

			    		
			    			$('.thumb_img').bind('mouseleave',function() {
			    				$(this).find('.thumb_img_over').fadeOut(100);
			    		    });
			    		
				     }
			    	

			    }
			});	
	

		
		
	
	}

function load_display(szPageName)
{	
			
			
			$.ajax({
			
			    url: szPageName,
			    type: 'POST',
			    dataType: 'text',
			    timeout: 6000,
			    error: function(){
			        alert('Error loading json document!!!');
			    },
			    success: function(data){
					 
			    	 $('#product_view').empty();
			    	 $('#product_view').append(data);
			    	 
			    	 
			    }
			});	
	
}
