XTALK_CONFIG = {
cver:'1.1',
loaderVer: '1273745174',
ptype:'1',
pver:'7.2',
charset:'utf8',
enable: 1,
speedLimit: 1,
recentMsgNum: 5,
msgLenLimit: 150,
maxVersion: 1.2,
historyMsg: 1,
visitorSpeak: 1,
showIcon: 1,
popupType: 0,
menu:[{"type":1,"text":"\u6211\u7684\u5e16\u5b50","url":"my.php?item=threads","className":"myTopic"},{"type":1,"text":"\u6211\u7684\u6536\u85cf","url":"my.php?item=favorites&type=thread","className":"myCollet"},{"type":1,"text":"\u6211\u7684\u8ba2\u9605","url":"my.php?item=attention&type=thread","className":"myRss"},{"type":1,"text":"\u8bba\u575b\u9996\u9875","url":"index.php","className":"goHomepage"},{"type":2,"text":"\u804a\u5929\u63d2\u4ef6\u7ba1\u7406","url":"http:\/\/www.xtalk.cn\/apply.php","className":"myTopic","power":"is_admin","target":"_blank"},{"type":2,"text":"\u5173\u4e8eXtalk","url":"http:\/\/www.xtalk.cn","className":"imToolWebsite","target":"_blank"},{"type":3,"text":"\u8bba\u575b\u9996\u9875","url":"index.php","className":"homepage"},{"type":3,"text":"\u641c\u7d22\u5e16\u5b50","url":"search.php","className":"search"}],
options: [1,1,1,1,1,1],
module: 3,
errno:0
}
XTALK_NAS_SERVER = 'http://nas.xtalk.cn/';
XTALK_CONFIG.rooms = [{"id":"521","name":"\u94c1\u8840\u89e3\u653e","autoin":1}];function xtalk_load(file) {
	var 
		path = file.path,
		charset = file.charset,
		type = file.type,
		clsName = file.clsName;
		
	if (clsName && window[clsName]) {
		return;
	}
	
	var loadStr;
	
	var charsetStr = charset ? "charset=\""+charset + "\" ": "";
	
	if (type == 'js') {
		loadStr = "<script " + charsetStr +"src='" + path + "' type='text/javascript'></script>";
	}
	else if(type == 'css') {
		loadStr = '<link rel="stylesheet" type="text/css" ' + charsetStr + ' href="' + path + '" />';
	}
	else {
		return;
	}
	
	document.write(loadStr);
}	

(function(){
	var ver = XTALK_CONFIG && XTALK_CONFIG.loaderVer;

	var loaderPath = 'http://sjs.sinajs.cn/uc/xtalk/1.1/loader.js?ver=' + ver;
	
	xtalk_load({
		path: loaderPath,
		type: 'js'
	});
	
})();