if (typeof _CALLBACK_ != 'function') {
	console.log('==niu==');
	var _CALLBACK_;
}	
$(document).ready(
	function() {
		function parse(v) {
			var t = v.replace(/(“|”)/ig, '"');
			return JSON.parse(t);
		}			
		var v = $('.qaletplugin'), r={}, f=[];
		for (var i = 0; i < v.length; i++) {
			var o = parse($(v[i]).attr('data'));
			if (o.module) {
				r[o.module] = true;
				o.id = o.module + '_plugin_' + i;
				f[f.length] = o;
				 $(v[i]).html('<div class="'+o.id+'"></div>');
			}
		}		
		_CALLBACK_ = function() {
			console.log(f);
			for (var i=0; i<f.length; i++) {
				_QALET_[f[i].module](f[i]);
				$(v[i]).fadeIn( "slow");
			}
		};
		setTimeout(
			function() {
				_CALLBACK_();
				
			}, 50	
		);
		$('<link>').appendTo('head').attr({ type: 'text/css', rel: 'stylesheet', href: '//qalet.com/css/bootstrap.min.css' });		
		$('<link>').appendTo('head').attr({ type: 'text/css', rel: 'stylesheet', href: '//docviewer.qalet.com/package/docviewer_wp.min.css' });
	//	$.getScript('http://docviewer.qalet.com/package/qalet_plugin_plus.jsx?plus='+Object.keys(r).join(',') + '&callback=_QACALLBACK_');
	}
);	

if (typeof _CALLBACK_ != 'function') {
	console.log('==niu==');
	var _CALLBACK_;
}	
$(document).ready(
	function() {
		function parse(v) {
			var t = v.replace(/(“|”)/ig, '"');
			return JSON.parse(t);
		}			
		var v = $('.qaletplugin'), r={}, f=[];
		for (var i = 0; i < v.length; i++) {
			var o = parse($(v[i]).attr('data'));
			if (o.module) {
				r[o.module] = true;
				o.id = o.module + '_plugin_' + i;
				f[f.length] = o;
				 $(v[i]).html('<div class="'+o.id+'"></div>');
			}
		}		
		_CALLBACK_ = function() {
			console.log(f);
			for (var i=0; i<f.length; i++) {
				_QALET_[f[i].module](f[i]);
				$(v[i]).fadeIn( "slow");
			}
		};
		//setTimeout(
		//	function() {
				_CALLBACK_();
				
		//	}, 50	
		//);
		$('<link>').appendTo('head').attr({ type: 'text/css', rel: 'stylesheet', href: '//qalet.com/css/bootstrap.min.css' });		
		$('<link>').appendTo('head').attr({ type: 'text/css', rel: 'stylesheet', href: '//docviewer.qalet.com/package/docviewer_wp.min.css' });
	//	$.getScript('http://docviewer.qalet.com/package/qalet_plugin_plus.jsx?plus='+Object.keys(r).join(',') + '&callback=_QACALLBACK_');
	}
);	

Update qalet_plugin.js