var jericho = {
            showLoader: function() {
                $('#divMainLoader').css('display', '');
            },
            removeLoader: function() {
                $('#divMainLoader').css('display', 'none');
            },
            buildTabpanel: function() {
                $.fn.initJerichoTab({
                    renderTo: '#Maintd',
                    uniqueId: 'myJerichoTab',
                    contentCss: { 'height': $('#Maintd').height() - 50 },
                    tabs: [{
                        tid: "main",
                        title: '我的工作台',
                        closeable: false,
                        iconImg: 'images/jerichotab.png',
                        data: { dataType: 'iframe', dataLink: 'DeskTop.aspx' }
                        }],
                        activeTabIndex: 1,
                        loadOnce: true
                    });
                }
            }
           
            $(document).ready(function() 
            {
                var left_height = $('#Left').height();
                var left_width = $('#Left').width();                jericho.showLoader();
               
                var w = $(document).width();
                var h = $(document).height();
                framePageWidth = w - left_width;
                iframe_height = left_height - 35;                jericho.buildTabpanel();                $('#jericho_tab').css('width', ((w - left_width) + 'px'));
                $('#jerichotab_main').loadData();                jericho.removeLoader();
            })