/*
**************************
(C)2010-2014 phpMyWind.com
update: 2012-4-27 11:35:55
person: Feng
**************************
*/


/*
 * 获取栏目缩略图大小
 *
 * @access   public
 * @pid      int     栏目的id
 */

function GetCatpSize(pid)
{
	$.ajax({
		url : "infoclass_do.php?action=catpsize&pid=" + pid,
		type: "get",
		dataType:"html",
		beforeSend:function(){
		},
		success:function(data){
			if(data != ''){
				$size = data.split("|");
				$("#picwidth").val($size[0]);
				$("#picheight").val($size[1]);
			}
		}
	});
}