
function getContent(type, catId, subCatId)
{	
	if(catId != "" && subCatId != "")
	{		
		$.ajax({					
					type: "POST",
					url: HTTP_JS_SERVER + "get_content_data.php",
					data: "type=" + type + "&catid=" + catId + "&subCatId=" + subCatId + "&type=" +type,
					error: function(errorResponse){alert(errorResponse.statusText);},
					success: function(htmlResponse) 
					{
							if(htmlResponse != '' )
							{								
								$('#contentDataContainer').html(htmlResponse);
							}
					}
		});
	}
}
