| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 | 
							- /**
 
-  * 
 
-  */
 
- 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 mouseon = function(obj){
 
- //	var id = obj.id;
 
- //	$("#"+id).removeClass(id);
 
- //	$("#"+id).addClass(id+'_on');
 
- //}
 
- //
 
- //var mouseoff = function(obj){
 
- //	var mid = "proform_";
 
- ////	var id = obj.id;
 
- ////	$("#"+id).removeClass(id+'_on');
 
- ////	$("#"+id).addClass(id);
 
- //	for(var i=1;i<5;i++){
 
- //		var id = "proform_menu_"+i;
 
- //		$("#"+id).removeClass(id+'_on');
 
- //		$("#"+id).addClass(id);
 
- //	}
 
- //	if(menuidx=='m1')
 
- //		mid += 'menu_1';
 
- //	else if(menuidx=='m2')
 
- //		mid += 'menu_2';
 
- //	else if(menuidx=='m3')
 
- //		mid += 'menu_3';
 
- //	else if(menuidx=='m4')
 
- //		mid += 'menu_4';
 
- //
 
- //	$("#"+mid).removeClass(mid);
 
- //	$("#"+mid).addClass(mid+'_on');
 
- //}
 
- //
 
- //var menu_click = function(obj){
 
- //	var id = obj.id;
 
- //	if(id=='proform_menu_1'){
 
- //		menuidx = 'm1';
 
- //		show_page();
 
- //	}
 
- //	else if(id=='proform_menu_2'){
 
- //		menuidx = 'm2';
 
- //		show_page();
 
- //	}
 
- //	else if(id=='proform_menu_3'){
 
- //		menuidx = 'm3';
 
- //		show_page();
 
- //	}
 
- //	else if(id=='proform_menu_4'){
 
- //		menuidx = 'm4';
 
- //		show_page();
 
- //	}
 
- //}
 
- var show_page = function(){
 
- //	var mid = "proform_";
 
- 	var div = document.getElementById('main_page_springhandle');
 
- 	div.innerHTML='<iframe frameborder=0 width="100%" height="100%" allowtransparency="true" scrolling=auto src="'+basePath+'view/springhandle/index.jsp?theme='+theme+($("#company_code").val().length>0?('&company_code='+$("#company_code").val()):'')+'"></iframe>';
 
- }
 
- 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();
 
- });
 
 
  |