(function() {tinymce.PluginManager.requireLangPack('pageFlip');tinymce.create('tinymce.plugins.pageFlipPlugin', {init : function(ed, url){ed.addCommand('mcePageFlip',function(){tinyMCE.activeEditor.selection.setContent('[book id=\'\' /]');}); ed.addButton('pageFlip',{title : 'Insert pageFlip book tag', cmd : 'mcePageFlip', image : url + '/img/pageFlip.gif' });}, createControl : function(n, cm) {return null;},getInfo : function() {return {longname : 'Wordpress PageFlip',author : 'FlippingBook WP team',authorurl : 'http://pageflipgallery.com',infourl : 'http://pageflipgallery.com',version : "1.0"};}});tinymce.PluginManager.add('pageFlip', tinymce.plugins.pageFlipPlugin);})();