function select_click(){	if(control_flag==1||control_flag==-1){		                                 										  start_show_img();										  showimage(0);										  }	else if(control_flag==0){		                                 pause_image();										 lock_1=0;										 setTimeout(free_lock_1,1000);	                          }	else if(sequence_flag=='clock'&&control_flag==2&&lock_1==1){		                                 continue_image();		                                                   }	else if(sequence_flag=='anti_clock'&&control_flag==2&&lock_1==1){		                                 continue_anti_show_image();		                                              }	else if(control_flag==2&&lock_1==0){		                                 span7.innerHTML='双击无效...';										 var timer_words=setTimeout(hidde_words2_1,500);
										 		                                              }													  judge_layers();}function free_lock_1(){	lock_1=1;	}function chang_intervals(){    interval_speed=sel1.value;  show_now_speed();  	}	function pic_remain(){    pic_remain_time=sel2.value;  show_now_speed();  	}	function show_now_speed(){	if(control_flag!=-1&&control_flag!=1){		   now_speed=(interval_speed/1000)+((show_speed)/100)*2+(pic_remain_time/1000);		   now_speed=(Math.round(now_speed*100))/100;	     }else{		   now_speed=0; 		 }	span_report.innerHTML="【当前速度：<font size='-1' color='#FF9900'>"+now_speed+"</font>秒/张】<br> <br> 【支持增删图片即席显示】 ";	}	function reset_button(){	if(confirm("此操作将刷新整个页面，继续吗？"))	{		thisform1.submit();	} } function change_style(){	if(sel3.value=="1")	{    	    if_mode_selected=1;	    span17.innerHTML="更换风格-畅游幻想";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(0);	}else if(sel3.value=="2")	{		if_mode_selected=2;	    span17.innerHTML="更换风格-绿叶生机";		var timer_words=setTimeout(hidde_words8,1000);
        chang_dynamic_pics_style(1);	}else if(sel3.value=="3")	{		if_mode_selected=3;	    span17.innerHTML="更换风格-可爱米奇";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(2);	}else if(sel3.value=="4")	{		if_mode_selected=4;	    span17.innerHTML="更换风格-黄金圣衣";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(3);	}else if(sel3.value=="5")	{		if_mode_selected=5;	    span17.innerHTML="更换风格-魔法少女";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(4);	}else if(sel3.value=="6")	{		if_mode_selected=6;	    span17.innerHTML="更换风格-月光少女";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(5);	}else if(sel3.value=="7")	{		if_mode_selected=7;	    span17.innerHTML="更换风格-简单自我";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(6);	}else if(sel3.value=="8")	{		if_mode_selected=8;	    span17.innerHTML="更换风格-粉色回忆";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(7);	}else if(sel3.value=="9")	{		if_mode_selected=9;	    span17.innerHTML="更换风格-卡通葱头";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(8);	}else if(sel3.value=="10")	{		if_mode_selected=10;	    span17.innerHTML="更换风格-动感跑车";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(9);	}else if(sel3.value=="11")	{		if_mode_selected=11;	    span17.innerHTML="更换风格-周董杰伦";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(10);	}else if(sel3.value=="12")	{		if_mode_selected=12;	    span17.innerHTML="更换风格-王子力宏";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(11);	}else if(sel3.value=="13")	{		if_mode_selected=13;	    span17.innerHTML="更换风格-美丽心凌";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(12);	}else if(sel3.value=="14")	{		if_mode_selected=14;	    span17.innerHTML="更换风格-SHE:美眉";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(13);	}else if(sel3.value=="15")	{		if_mode_selected=15;	    span17.innerHTML="更换风格-舞者依林";		var timer_words=setTimeout(hidde_words8,1000);
		chang_dynamic_pics_style(14);	}else{	   alert("函数赋值错误，不存在该值，请检查函数change_style()！");		}}function chang_dynamic_pics_style(style_num){    switch(style_num){	                    case 0:						  table1.style.setAttribute("borderStyle","ridge"); 						  table1.style.setAttribute("borderColor","#0099FF");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;							break;						case 1:						  table1.style.setAttribute("borderStyle","dotted"); 						  table1.style.setAttribute("borderColor","#669933");						  table1.style.setAttribute("borderWidth","4");						  div42.style.top=17;						  div42.style.left=221;						  div49.style.top=17;						  div49.style.left=221;						  div45.style.top=15;						  div45.style.left=418;							break;						case 2:						  table1.style.setAttribute("borderStyle","groove"); 						  table1.style.setAttribute("borderColor","#663300");						  table1.style.setAttribute("borderWidth","1");						  div42.style.top=14;						  div42.style.left=218;						  div49.style.top=14;						  div49.style.left=218;						  div45.style.top=12;						  div45.style.left=415;								break;						case 3:						  table1.style.setAttribute("borderStyle","solid");						  table1.style.setAttribute("borderColor","#000000");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;							break;						case 4:						  table1.style.setAttribute("borderStyle","ridge");						  table1.style.setAttribute("borderColor","#66FFFF");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;							break;						case 5:						  table1.style.setAttribute("borderStyle","dotted");						  table1.style.setAttribute("borderColor","#660099"); 						  table1.style.setAttribute("borderWidth","3");						  div42.style.top=16;						  div42.style.left=220;						  div49.style.top=16;						  div49.style.left=220;						  div45.style.top=14;						  div45.style.left=417;							break;						case 6:						  table1.style.setAttribute("borderStyle","solid");						  table1.style.setAttribute("borderColor","#000000");						  table1.style.setAttribute("borderWidth","1");						  div42.style.top=14;						  div42.style.left=218;						  div49.style.top=14;						  div49.style.left=218;						  div45.style.top=12;						  div45.style.left=415;				  						break;						case 7:						  table1.style.setAttribute("borderStyle","ridge"); 						  table1.style.setAttribute("borderColor","#FFCCFF");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;							break;						case 8:						  table1.style.setAttribute("borderStyle","dashed");						  table1.style.setAttribute("borderColor","#00ABFF");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;								break;						case 9:						  table1.style.setAttribute("borderStyle","ridge");						  table1.style.setAttribute("borderColor","#777777");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;								break;						case 10:						  table1.style.setAttribute("borderStyle","double"); 						  table1.style.setAttribute("borderColor","#669999");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;							break;						case 11:						  table1.style.setAttribute("borderStyle","solid"); 						  table1.style.setAttribute("borderColor","#006699");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;						break;						case 12:						  table1.style.setAttribute("borderStyle","solid"); 						  table1.style.setAttribute("borderColor","#FF7799");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;						break;						case 13:						  table1.style.setAttribute("borderStyle","ridge"); 						  table1.style.setAttribute("borderColor","#B3C5F9");						  table1.style.setAttribute("borderWidth","1");						  div42.style.top=14;						  div42.style.left=218;						  div49.style.top=14;						  div49.style.left=218;						  div45.style.top=12;						  div45.style.left=415;							break;						case 14:						  table1.style.setAttribute("borderStyle","solid"); 						  table1.style.setAttribute("borderColor","#049781");						  table1.style.setAttribute("borderWidth","2");						  div42.style.top=15;						  div42.style.left=219;						  div49.style.top=15;						  div49.style.left=219;						  div45.style.top=13;						  div45.style.left=416;						break;				     }     if(style_num!=0)   {	   	book_background.src="images/pic/background_album_"+style_num+".jpg";		margin_book.src="images/pic/margin_book_"+style_num+".jpg";		book_margin.src="images/pic/book_margin_"+style_num+".jpg";		right_margin.src="images/pic/book_pages_"+style_num+".jpg";		bottom_pages.src="images/pic/bottom_margin_"+style_num+".jpg";				scroll_forward_src="<img id='button_forward' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_forward_b_"+style_num+".jpg' alt='向上滚动' />";		scroll_forward_b_src="<img id='button_forward' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_forward_b_"+style_num+".jpg' alt='向上滚动' />";				scroll_back_src="<img id='button_back' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_back_b_"+style_num+".jpg' alt='向下滚动' />";		scroll_back_b_src="<img id='button_back' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_back_b_"+style_num+".jpg' alt='向下滚动' />";				if(span21.innerHTML.indexOf("move_forward_b")!=-1){									span21.innerHTML=scroll_forward_b_src;			}else if(span21.innerHTML.indexOf("move_forward_on")!=-1){									}else{									span21.innerHTML=scroll_forward_src;			}		if(span22.innerHTML.indexOf("move_back_b")!=-1){									span22.innerHTML=scroll_back_b_src;			}else if(span22.innerHTML.indexOf("move_back_on")!=-1){									}else{									span22.innerHTML=scroll_back_src;			}		span23.innerHTML="<img id='button_scroll_bar'   src='images/pic/scroll_bar_"+style_num+".jpg' alt='图片框' width='26' height='514' />";		   }else{	   	book_background.src="images/pic/background_album.jpg";		margin_book.src="images/pic/margin_book.jpg";		book_margin.src="images/pic/book_margin.jpg";		right_margin.src="images/pic/book_pages.jpg";		bottom_pages.src="images/pic/bottom_margin.jpg";       	    scroll_forward_src="<img id='button_forward' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_forward_b.jpg' alt='向上滚动' />";		scroll_forward_b_src="<img id='button_forward' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_forward_b.jpg' alt='向上滚动' />";				scroll_back_src="<img id='button_back' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_back_b.jpg' alt='向下滚动' />";		scroll_back_b_src="<img id='button_back' onmousemove='change_border(this);' onmouseout='restore_border(this);' onload='restore_border(this);'  src='images/pic/move_back_b.jpg' alt='向下滚动' />";				if(span21.innerHTML.indexOf("move_forward_b")!=-1){									span21.innerHTML=scroll_forward_b_src;			}else if(span21.innerHTML.indexOf("move_forward_on")!=-1){									}else{									span21.innerHTML=scroll_forward_src;			}		if(span22.innerHTML.indexOf("move_back_b")!=-1){									span22.innerHTML=scroll_back_b_src;			}else if(span22.innerHTML.indexOf("move_back_on")!=-1){									}else{									span22.innerHTML=scroll_back_src;			}		span23.innerHTML="<img id='button_scroll_bar'   src='images/pic/scroll_bar.jpg' alt='图片框' width='26' height='514' />";		   }}function checkbox_music_control(){  if(checkbox_music_flag==1)  {    checkbox_music_flag=0;	mu_sound.src='';    span33.innerHTML="<input id='checkbox_music' name='' type='checkbox'  value='' onClick='checkbox_music_control();judge_media_player_play();'>播放音乐-<font color=FF9900>关</font>";  }else  {    checkbox_music_flag=1;	if(control_flag==0||control_flag==2)mu_sound.src=music_path;    span33.innerHTML="<input id='checkbox_music' name='' type='checkbox' checked='true' value='' onClick='checkbox_music_control();judge_media_player_play();'>播放音乐-<font color=FF9900>开</font>";  }}function initial_music_control(){  if(checkbox_music_flag==1)  {	  span33.innerHTML="<input id='checkbox_music' name='' type='checkbox' checked='true' value='' onClick='checkbox_music_control();judge_media_player_play();'>播放音乐-<font color=FF9900>开</font>";  }else  {      span33.innerHTML="<input id='checkbox_music' name='' type='checkbox'  value='' onClick='checkbox_music_control();judge_media_player_play();'>播放音乐-<font color=FF9900>关</font>";   }   senior_media_player.checked=false;}function change_music_play_path(){  if(song_select.value==""){	  music_path='sound/1.wma';	  }else{	  music_path=song_select.value;	  }	  if((control_flag==0||control_flag==2)&&checkbox_music_flag==1)music_continue_play();}function music_continue_play(){  mu_sound.src='';  mu_sound.src=music_path;}function judge_song_path_addr(){	var addr=song_select.value.substring(song_select.value.lastIndexOf(".")+1,song_select.value.length);
	if(addr=="mp3"||addr=="wma"||addr=="MP3"||addr=="WMA"){		   change_music_play_path();		 }	else{		  alert("仅仅能够支持MP3和wma格式的音乐播放");	      span36.innerHTML="<input type='file' size='8' id='song_select' onpaste='return false' onKeyDown='return false' onChange='judge_song_path_addr()'>";	     }}function judge_pic_path_addr(){	var pic_addr=file_view.value.substring(file_view.value.lastIndexOf(".")+1,file_view.value.length);
	if(pic_addr=="jpg"||pic_addr=="jpge"||pic_addr=="gif"||pic_addr=="png"||pic_addr=="bmp"||pic_addr=="JPG"||pic_addr=="JPGE"||pic_addr=="GIF"||pic_addr=="PNG"||pic_addr=="BMP"){		   if_reset_i_image();		 }	else{		  alert("仅仅能够支持BMP/JPG/PNG/GIF格式的图片播放");		  span_file.innerHTML="<input id='file_view' size='8' name='' type='file' value='11' onpaste='return false' onKeyDown='return false' onChange='judge_pic_path_addr()'>";		  if_reset_i_image();	     }}function judge_open_music_player_win(){  if(senior_media_player.checked==true)  {   timer_win_music_player_windowopen=window.open("mediaplayer\\1.htm","1","width=450,height=115,top=200,left=200,toobar=no,resizable=no,menubar=no,location=no,scrollbar=no");   timer_win_music_player_closed=setInterval(if_win_music_player_win_closed,500);  }else{   if(typeof(timer_win_music_player_windowopen)=="object")   {   clearInterval(timer_win_music_player_closed);   timer_win_music_player_closed="";   timer_win_music_player_windowopen.close();   }else{         }  }}function if_win_music_player_win_closed(){  if(timer_win_music_player_windowopen.closed==true)     {	   senior_media_player.checked=false;	   clearInterval(timer_win_music_player_closed);	 }}function onunload_page(){    if(typeof(timer_win_music_player_windowopen)=="object")   {     timer_win_music_player_windowopen.close();   }}function judge_media_player_play(){  if(senior_media_player.checked==true)onunload_page();}function judge_player_play(){   if(checkbox_music.checked==true)checkbox_music_control();}function fold_lef_margin_onfocus(img){  img.src="images/pic/fold_left_margin_on.JPG"}function fold_lef_margin_onblur(img){  img.src="images/pic/fold_left_margin.JPG"}function unfold_lef_margin_onfocus(img){  img.src="images/pic/unfold_left_margin_on.JPG"}function unfold_lef_margin_onblur(img){  img.src="images/pic/unfold_left_margin.JPG"}function ful_screen_onfocus(img){    img.width=29;    img.height=29;}function ful_screen_onblur(img){      img.width=25;      img.height=25;}