var config = {
	buttonstatus:{
		'0':{
			'id':"language",			
			'0':'english.png',
			'1':'chinese.png',
			'2':'capslock.png'			
		},
		'1':{	
			'id':"characters",		
			'0':'half.png',
			'1':'full.png'			
		},
		'2':{
			'id':"punctuation",
			'0':'en_punctuation.png',
			'1':'cn_punctuation.png',
		},
		'3':{
			'id':"keyboard.png"
		},
		'4':{
			'id':"login",
			'0':'logout.png',
			'1':'login.png'
		},
		'5':{
			'id':"setting.png"
		}
	},
	eventMap: {
		close: 'proccessCloseBox',
		moreFace: 'proccessOpenUrl',
		tab: 'proccessChangeTab',
		tabbox: 'proccessChangeTab',
		feelTab: 'changeFeelTabs',
		select: 'proccessSelectedFace',
		selectFix: 'proccessSelectedFace',
		selectWeb: 'proccessSelectedFace',
		importFace: 'proccessImportFace',
		delFace: 'proccessDelFace',
		editFace: 'proccessEditFace',
		favorite: 'proccessFavoriteFace',
		delGroup: 'proccessDelGroup',
		moveFirst: 'proccessMoveGroup',
		movePrev: 'proccessMoveGroup',
		moveNext: 'proccessMoveGroup',
		importLocal: 'proccessImportLocalGroup',
		importWeb: 'proccessImportWebGroup',
		addWebPack: 'proccessAddWebFace',
		pagePrev: 'proccessPager',
		pageNext: 'proccessPager',
		feelMore: 'proccessFeelMore'	// 更多表情
	},
	hoverMap: {
		packHover: 'hoverWebFacePack',
		tabHover: 'proccessTabHover'
		// face: 'proccessFeceHover',
		// faceImg: 'proccessFeceHover'
	},
	rightBtn: {
		nav: 'proccessNavRightButton',
		// navImg: 'proccessNavRightButton',
		navBox: 'proccessNavRightButton',
		face: 'proccessFaceRBtn',
		faceFix: 'proccessFaceRBtn'
	},
	navRBtn: ['delGroup', 'moveFirst', 'movePrev', 'moveNext'],
	openUrl: {
		moreFace0: 'http://cq01-img-rdtest-rank094.cq01.baidu.com:8090/i?ct=201326592&cl=2&nc=1&lm=-1&st=-1&fr=baiduimeemotion&tn=baiduimage&ie=utf-8&word=%E8%A1%A8%E6%83%85',
		moreFace1: 'http://image.baidu.com/i?ct=201326592&cl=2&nc=1&lm=-1&st=-1&fr=baiduimeemotion&tn=baiduimage&ie=utf-8&word=%E8%A1%A8%E6%83%85',
		moreFace: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694560632_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E8%A1%A8%E6%83%85%E5%8C%85'
	},
	groupId: {
		'Recent': 'Recent',
		'Emotion': 'Emotion',
		'Default': 'Default',
		'Favorite': 'Favorite'
	},
	requestUrl0: 'http://cq01-img-rdtest-rank094.cq01.baidu.com:8090/i?cg=emotion&word=image_set&tn=avatarwordimageset&rn=24&pn=0',
	requestUrl: 'http://image.baidu.com/i?cg=emotion&word=image_set&tn=avatarwordimageset&rn=24&pn=0',
	imgRef: 'http://ime.baidu.com/?act=lottery&k=showpic&t=show&u=',
	sleepTime: 1000 * 60 * 60,
	warnTime: 2000,
	emotionBoxW: 409,
	emotionBoxH: 326,
	faceBoxH: 288,
	feelBoxH: 258,
	local: {
		len: 24,
		lineNum: 6,
		w: 63,
		h: 63
	},
	web: {
		len: 12,
		lineNum: 3
	},
	nomal: {
		len: 130,
		lineNum: 13,
		w: 29,
		h: 29
	},
	pic: {
		icon: {
			w: 22,
			h: 22
		},
		face: {
			w: 57,
			h: 57
		},
		nomal: {
			w: 28,
			h: 28
		}
	},
	feelMoreUrl: [
		{
			title: '搞笑',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694326119_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E6%90%9E%E7%AC%91+%E8%A1%A8%E6%83%85#z=0&width=0&height=0&pn='
		},
		{
			title: '卖萌',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694384366_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E5%8D%96%E8%90%8C+%E8%A1%A8%E6%83%85'
		},
		{
			title: '高兴',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694413139_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E9%AB%98%E5%85%B4+%E8%A1%A8%E6%83%85'
		},
		{
			title: '调戏',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694484452_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E8%B0%83%E6%88%8F+%E8%A1%A8%E6%83%85'
		},
		{
			title: '悲伤',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694505301_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E6%82%B2%E4%BC%A4+%E8%A1%A8%E6%83%85'
		},
		{
			title: '惊讶',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694517223_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E6%83%8A%E8%AE%B6+%E8%A1%A8%E6%83%85'
		},
		{
			title: '表白',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694529918_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E8%A1%A8%E7%99%BD+%E8%A1%A8%E6%83%85'
		},
		{
			title: '感谢',
			url: 'http://image.baidu.com/i?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fr=baiduimeemotion&sf=1&fmq=1385694545101_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&word=%E6%84%9F%E8%B0%A2+%E8%A1%A8%E6%83%85'
		}
	]
};
