function active_if_senquence_changed(){	if_sequence_changed=1;	}function change_state(){		if(proceed_again==0&&proceed_again_2==0)	  {		 			  }else if(proceed_again==0&&proceed_again_2==1){		proceed_again=1;			  }else{	    	  }	}function reset_img(){	var move_pic_direction
	move_pic_direction=0;	if_sequence_changed=0;	pic_distance=0;		need_reset_fast_slow_buttons=1;				wait_scroll_bar_reset=0;						  		    							   			   																									           																													    			    																									           			    																								pic_distance=0;}function reset_pics_location(distance,move_pic_direction){    if_move_scroll_up_all_the_time=1;  if_move_scroll_down_all_the_time=1;  if(move_pic_direction==1)  {    for(time_i=0;time_i<distance;time_i++)    {	  setTimeout(move_scroll_down,(time_i+1)*tt_i);	}	setTimeout(reset_if_move_scroll_up_all_the_time,(time_i)*tt_i+10);	setTimeout(reset_if_load_pics_value,(time_i)*tt_i+10);	setTimeout(reset_all_control_button,(time_i)*tt_i+10);  }else{    for(time_i=0;time_i<distance;time_i++)    {	  setTimeout(move_scroll_up,(time_i+1)*tt_i);	}	setTimeout(reset_if_move_scroll_up_all_the_time,(time_i)*tt_i+10);	setTimeout(reset_if_load_pics_value,(time_i)*tt_i+10);	setTimeout(reset_all_control_button,(time_i)*tt_i+10);  }}function reset_pause_control_button(){ span3.innerHTML=pause_src; reset_left_mouse_on_scrollbar();}function reset_all_control_button(){	if(wait_scroll_bar_reset==0&&if_move_scroll_up_all_the_time==0&&if_move_scroll_down_all_the_time==0)	{	  setTimeout(reset_next_last_button_f,120);	  if(need_reset_fast_slow_buttons==1)      { 	    span6.innerHTML=slow_clock_src;        span5.innerHTML=fast_clock_src;	  }	  setTimeout(reset_sel,240);	  div12.style.visibility="visible";	  div12.style.display="block";	  reset_left_mouse_on_scrollbar();	}}function reset_next_last_button_f(){	div45.style.zIndex=0;}function reset_if_move_scroll_up_all_the_time(){  if_move_scroll_up_all_the_time=0;  if_move_scroll_down_all_the_time=0;  wait_scroll_bar_reset=0;}function get_border(div){	if(if_view_all==0)	{		div.style.border="inset";	}else{	  	}}function delete_border(div){	if(if_view_all==0)	{      div.style.border="none";	}else{	  	}}function get_scroll_bar_img(div){  var top_no,top,up,middle,down,bottom,bottom_no,pre_bottom
      for(i=27;i<35;i++)  {    switch(parseInt(document.all("div"+i).currentStyle.top))	{	  case -10:	  top_no=i;	  break;	  case 90:	  top=i;	  break;	  case 190:	  up=i;	  break;	  case 290:	  middle=i;	  break;	  case 390:	  down=i;	  break;	  case 490:	  bottom=i;	  break;	  case 590:	    if(parseInt(document.all("div"+i).currentStyle.left)==div_style_left_47)	    {	      bottom_no=i;		}else if(parseInt(document.all("div"+i).currentStyle.left)==(div_style_left_47+100)){		  pre_bottom=i;		}else{		  alert("取图片坐标值失败，请检查get_scroll_bar_img函数！");		}	}  }      scroll_bar_move(top_no,top,up,middle,down,bottom,bottom_no,pre_bottom,div);}function scroll_bar_move(top_no,top,up,middle,down,bottom,bottom_no,pre_bottom,div){   reset_rotate_angle(); if((imageurl.length)>=8) {  switch(parseInt(div.currentStyle.top))  {	case 90:	move_next_last_scroll_bar_up_1(1);	div43.style.top=(230);	show_area_get_scroll_area_img(top,div);	break;	case 190:		move_next_last_scroll_bar_up_1(1);	div43.style.top=(330);	show_area_get_scroll_area_img(up,div);	break;	case 290:		div43.style.top=(330);	show_area_get_scroll_area_img(middle,div);	break;	case 390:		move_next_last_scroll_bar_down_1(1);	div43.style.top=(330);	show_area_get_scroll_area_img(down,div);	break;	case 490:		move_next_last_scroll_bar_down(1);	div43.style.top=(330);	show_area_get_scroll_area_img(bottom,div);	break;  } }else{   show_area_get_scroll_area_img(null,div) }}function show_area_get_scroll_area_img(pos,div){   if(if_view_all==0) {  if(control_flag==2){  	if(copy_wait_p==0&&(imageurl.length)>=8){temp_innerHTML=document.all("div"+pos).innerHTML;	}	else{temp_innerHTML=div.innerHTML;	div43.style.top=(parseInt(div.style.top)+40);	}	copy_wait_p=public_move_next_last_scroll_bar_judge_wait;					temp_innerHTML=temp_innerHTML.substr(0,temp_innerHTML.indexOf("width"))+temp_innerHTML.substr(temp_innerHTML.indexOf("width")+9,temp_innerHTML.length);			temp_innerHTML=temp_innerHTML.substr(0,temp_innerHTML.indexOf("height"))+temp_innerHTML.substr(temp_innerHTML.indexOf("height")+9,temp_innerHTML.length);		temp_innerHTML=temp_innerHTML.substr(0,(temp_innerHTML.indexOf(">")))+" onload='do_pic(this)' id=img_div1 border='0'>";		testimage.innerHTML=temp_innerHTML;	temp_innerHTML="";					   } }else{   }}function show_control_bar(){	div44.style.visibility="visible";	div44.style.display="block";}function hide_control_bar(){	reset_focus_value();	clear_textinput_value();	div44.style.visibility="hidden";	div44.style.display="none";	hidde_words_tips_view_style();	}function initial_control_bar(){	div44.style.visibility="hidden";	div44.style.display="none";	sel1.value='100';	sel2.value='1500';	checkbox_view_subfolder.checked=false;	}function change_watch_form(){	hide_part_pic_fun();		  	  span12.innerHTML=last_image_b_src;      span13.innerHTML=next_image_b_src;	  span21.innerHTML=scroll_forward_src;	  span22.innerHTML=scroll_back_src;	  if_view_all=0;	  wisdom_control();}function wisdom_control(){		    span11.innerHTML="灵活查看";		if_next_last_start_div_id=0;		locate_next_last_id_pos();				var timer_words=setTimeout(hidde_words4,700);
		public_wisdom_control=0;		file_view.disabled=true;        checkbox_view_subfolder.disabled=true;		}function reset_next_last_img(){	var move_next_last_pic_direction
	var temp_next_last_time
	move_next_last_pic_direction=0;	pic_next_last_distance=0;	    need_reset_fast_slow_buttons=0;	if_load_pics=0;			  if_load_pics=1;	  reset_next_last_button();	  reset_sel();	  reset_next_last_show();	  	  reset_left_mouse_on_scrollbar();	  		  							   			   																									           				               														       																					   			    																									           				                														        																				pic_next_last_distance=0;}function locate_id_pos(){		for(i=27;i<35;i++)	  {	      var top_px=parseInt(document.all("div"+i).style.top);
		  var left_px=parseInt(document.all("div"+i).style.left);
		   if(left_px==(left_px_s-100)&&top_px==top_px_s)		    {				    if(if_start_div_id==0)					{						div_id_start=i;					   										}else{					    div_id_end=i;					   					}					break;			}	  }}function locate_next_last_id_pos(){		for(i=27;i<35;i++)	  {	      var top_next_last_px=parseInt(document.all("div"+i).style.top);
		  var left_next_last_px=parseInt(document.all("div"+i).style.left);
		   if(left_next_last_px==(left_px_s-100)&&top_next_last_px==top_px_s)		    {				    if(if_next_last_start_div_id==0)					{						div_next_last_id_start=i;						div_id_start=i;												span2.innerHTML=stop_b_src;						div42.style.zIndex=3;	                    div1.style.zIndex=3;						setTimeout(reset_select_box_actived,500);					  										}else{					    div_next_last_id_end=i;					  										        span2.innerHTML=stop_b_src;						span3.innerHTML=pause_b_src;				        div42.style.zIndex=3;				        div3.style.zIndex=1;	                    div1.style.zIndex=3;				        file_view.disabled=true;                        checkbox_view_subfolder.disabled=true;				        div12.style.visibility="hidden";				        div12.style.display="none";				        						forbid_left_mouse_on_scrollbar();						setTimeout(reset_next_last_img,200);						setTimeout(reset_next_last_cursor,200);					}					break;			}	  }}function reset_select_box_actived(){  span2.innerHTML=stop_src;  div42.style.zIndex=0;  div1.style.zIndex=1;  if(parseInt(imageurl.length)>8)show_words_tips_view_style();  setTimeout(hidde_words_tips_view_style,1000);}function reset_if_load_pics_value(){		if_load_pics=1;		}function reset_next_last_cursor(){	 div43.style.top=130;	 div_id_start=div_next_last_id_start;	 div_id_end=0;	 div_next_last_id_start=0;	 div_next_last_id_end=0;	 	}function reset_next_last_button(){	   span12.innerHTML=last_image_src;       span13.innerHTML=next_image_src;	   div12.style.visibility="visible";	   div12.style.display="block";}function reset_next_last_show(){  when_do_pic(1);}function reset_sel(){  span2.innerHTML=stop_src;  div42.style.zIndex=0;  div3.style.zIndex=3;  div1.style.zIndex=1;}function lock_all_control_existed(){    if(control_flag==2)		{		  if_move_scroll_up_all_the_time=1;		  if_move_scroll_down_all_the_time=1;		  div3.style.zIndex=1;          div1.style.zIndex=3;		  		  div42.style.zIndex=3;		  span2.innerHTML=stop_b_src;		  span12.innerHTML=last_image_b_src;          span13.innerHTML=next_image_b_src;		  file_view.disabled=true;          checkbox_view_subfolder.disabled=true;		  sel3.disabled=true;		}else if(control_flag==1 || control_flag==-1)		{		  if_move_scroll_up_all_the_time=1;		  if_move_scroll_down_all_the_time=1;		  div42.style.zIndex=3;		  file_view.disabled=true;          checkbox_view_subfolder.disabled=true;		  sel3.disabled=true;		}}function relese_all_control_existed(){      if(control_flag==2)		{		  if_move_scroll_up_all_the_time=0;		  if_move_scroll_down_all_the_time=0;		  div3.style.zIndex=3;          div1.style.zIndex=1;		  		  div42.style.zIndex=0;		  span2.innerHTML=stop_src;		  span12.innerHTML=last_image_src;          span13.innerHTML=next_image_src;		  file_view.disabled=true;		  sel3.disabled=false;		}else if(control_flag==1 || control_flag==-1)		{		  if_move_scroll_up_all_the_time=0;		  if_move_scroll_down_all_the_time=0;		  div42.style.zIndex=0;		  file_view.disabled=false;          checkbox_view_subfolder.disabled=false;		  sel3.disabled=false;		}	for(i=0;i<8;i++)	{	  oImage[i]=null;	}}function forbid_left_mouse_on_scrollbar(){  div61.style.zIndex=7;  div62.style.zIndex=7;}function reset_left_mouse_on_scrollbar(){  div61.style.zIndex=-1;  div62.style.zIndex=-1;}