/** * */ var basePath; var company_code; var V_LOGINNAME; var V_PASSWORD; var theme; var menuidx = 'm1'; var body_resize = function() { $("#proform3_bg_mm").css('display','none'); if($(document).innerWidth()>=1370){ $("#proform3_bg_tm").css('display','block'); $("#proform3_bg_tm").css('width',($(document).innerWidth()-1370)+'px'); $("#proform3_bg_bm").css('display','block'); $("#proform3_bg_bm").css('width',($(document).innerWidth()-1370)+'px'); }else{ $("#proform3_bg_tm").css('display','none'); $("#proform3_bg_bm").css('display','none'); } if($(document).innerHeight()>=922){ $("#proform3_bg_ml").css('display','block'); $("#proform3_bg_mr").css('display','block'); $("#proform3_bg_ml").css('height',($(document).innerHeight()-922)+'px'); $("#proform3_bg_mr").css('height',($(document).innerHeight()-922)+'px'); if($(document).innerWidth()>=1370){ $("#proform3_bg_mm").css('display','block'); $("#proform3_bg_mm").css('height',($(document).innerHeight()-922)+'px'); $("#proform3_bg_mm").css('width',($(document).innerWidth()-1370)+'px'); } }else{ $("#proform3_bg_ml").css('display','none'); $("#proform3_bg_mr").css('display','none'); } $("#main_page_springhandle").css('width',($(document).innerWidth()-200)+'px'); $("#main_page_springhandle").css('height',($(document).innerHeight()-208)+'px'); } var show_page = function(){ // var mid = "proform_"; var div = document.getElementById('main_page_springhandle'); div.innerHTML=''; } Ext.onReady(function(){ basePath = $("#basePath").val(); $("#V_LOGINNAME").val(sessionStorage.getItem('V_LOGINNAME')); $("#V_PASSWORD").val(sessionStorage.getItem('V_PASSWORD')); V_LOGINNAME = $("#V_LOGINNAME").val(); V_PASSWORD = $("#V_PASSWORD").val(); company_code = $("#company_code").val(); theme = $("#theme").val(); $(window).resize(function(){ body_resize(); }); body_resize(); show_page(); });