/*自动适配屏幕分辨率的js*/function auto_fit_any_screen(){   var new_sc_func_val
   if(document.body.clientWidth>=1240&&document.body.clientHeight>=618&&if_resized==false&&if_fullscreen==-1)   {     if((document.body.clientHeight-618)>=(document.body.clientWidth-1240))	  {		new_sc_func_val=parseInt(document.body.clientWidth-1240);	    set_all_screen_func(new_sc_func_val);	  }else{		new_sc_func_val=parseInt(document.body.clientHeight-618);	    set_all_screen_func(new_sc_func_val);	  }	  if_resized=true;   }else{     	    }}function set_all_screen_func(new_sc_func_val){     screen_func_val=new_sc_func_val/2;	 	 table2_setAttribute=550+new_sc_func_val;     table3_setAttribute=550+new_sc_func_val;     table5_setAttribute=550+new_sc_func_val;	 table2.setAttribute("width",table2_setAttribute);	 table2.setAttribute("height",table2_setAttribute);	 table3.setAttribute("width",table3_setAttribute);	 table3.setAttribute("height",table3_setAttribute);	 table5.setAttribute("width",table5_setAttribute);	 table5.setAttribute("height",table5_setAttribute);	 	 margin_book.style.height=615+new_sc_func_val;	 right_margin.style.height=564+new_sc_func_val;	 book_margin.style.height=562+new_sc_func_val;	 book_background.style.height=551+new_sc_func_val;	 book_background.style.width=551+new_sc_func_val;	 bottom_pages.style.width=576+new_sc_func_val;	 div20.style.top=608+new_sc_func_val;	 div17.style.left=789+new_sc_func_val;	 	 div12_style_top=589+new_sc_func_val; 	 div12.style.top=div12_style_top;	 	 div12.style.left=727+new_sc_func_val;	 	 div69_style_left=770+new_sc_func_val;	 div69.style.left=div69_style_left;	 	 div7.style.top=260+new_sc_func_val/2;	 div7_style_left=500+new_sc_func_val/2;	 div7.style.left=div7_style_left;	 	 div22.style.top=240+new_sc_func_val/2;	 div22_style_left=495+new_sc_func_val/2;	 div22.style.left=div22_style_left;	 	 left_px_s=left_px_s+new_sc_func_val;	 temp_location_left=temp_location_left+new_sc_func_val;	 zoom_boundary_x=screen_func_val+zoom_boundary_x;	 zoom_boundary_y=screen_func_val+zoom_boundary_y;	 zoom_boundary_fold_x=screen_func_val+zoom_boundary_fold_x;	 div13_style_left=parseInt(div13.currentStyle.left)+new_sc_func_val/2;	 div13.style.left=div13_style_left;	 div15_style_left=parseInt(div15.currentStyle.left)+new_sc_func_val/2;	 div15.style.left=div15_style_left;	 div_style_left_47=parseInt(div14.currentStyle.left)+new_sc_func_val;	 div14.style.left=div_style_left_47;	 	 for(i=22;i<=70;i++)	 {	   if(i!=24&&i!=42&&i!=45&&i!=49&&i!=53&&i!=56&&i!=57&&i!=58&&i!=62)	   {		   if(i==31)		   {			div_style_left_31=parseInt(div31.currentStyle.left)+new_sc_func_val;			div31.style.left=div_style_left_31;			continue;		    }else if(i==47){			div_style_left_47=parseInt(div47.currentStyle.left)+new_sc_func_val;			div47.style.left=div_style_left_47;			continue;			}else if(i==69||i==70){			document.all("div"+(i+7)).style.left=parseInt(document.all("div"+(i+7)).currentStyle.left)+new_sc_func_val;			continue;			}else{			document.all("div"+i).style.left=parseInt(document.all("div"+i).currentStyle.left)+new_sc_func_val;			continue;			}		   	   }else if(i==56){		    div56.style.left=parseInt(div56.currentStyle.left)+new_sc_func_val/2;			continue;				   }else{	      continue;		  	   }	 }}function resize_win(){    var Height_t
	if(window.screen.Height==undefined){Height_t=screen.availHeight;}else{Height_t=window.screen.Height;}	if(Height_t-100>=document.body.clientHeight)		{		 if_fullscreen=-1;			}else if(Height_t-100<document.body.clientHeight&&Height_t>=document.body.clientHeight){		 if_fullscreen=1;  		 if(left_book_margin_fold==true)		  {			unfold_left_bookmargin();		  }		}else if(Height_t<document.body.clientHeight){			if(window.screen.Height==undefined){if_fullscreen=1;}			else{				   if(Height_t+50>document.body.clientHeight){if_fullscreen=1;}				   else{				          alert("您使用了缩放功能，可能导致程序部分功能运行不正常，请恢复至100%的比例并重新刷新页面！");				        }				 }    		}	apply_screen_effect();    if(timer_resize==null&&if_fullscreen==-1)timer_resize=setTimeout(resize_fun,300);}function resize_fun(){  clearTimeout(timer_resize);  timer_resize=null;  auto_fit_any_screen();}