function movstar(a,time){
	movx=setInterval("mov("+a+")",time)
	}
function movover(){
	clearInterval(movx)
	}
function mov(a){
	scrollx=new_date.document.body.scrollLeft
	scrolly=new_date.document.body.scrollTop
	scrolly=scrolly+a
	new_date.window.scroll(scrollx,scrolly)
	}
function o_down(theobject){
object=theobject
	while(object.filters.alpha.opacity>100){
		object.filters.alpha.opacity+=-10}
		}
function o_up(theobject){
object=theobject
	while(object.filters.alpha.opacity<100){
		object.filters.alpha.opacity+=10}
		}
function wback(){
	if(new_date.history.length==0){window.history.back()}
	else{new_date.history.back()}
	}


function movstar2(a,time){
	movx2=setInterval("mov2("+a+")",time)
	}
function movover2(){
	clearInterval(movx2)
	}
function mov2(a){
	scrollx2=texts.document.body.scrollLeft
	scrolly2=texts.document.body.scrollTop
	scrolly2=scrolly2+a
	texts.window.scroll(scrollx2,scrolly2)
	}
function o_down2(theobject2){
object2=theobject2
	while(object2.filters.alpha.opacity>100){
		object2.filters.alpha.opacity+=-10}
		}
function o_up2(theobject2){
object2=theobject2
	while(object2.filters.alpha.opacity<100){
		object2.filters.alpha.opacity+=10}
		}
function wback2(){
	if(texts.history.length==0){window.history.back()}
	else{texts.history.back()}
	}



function runstar(a,time,flag){
	if (1 == flag){runx=setInterval("run("+a+")",10)}
	else{runx=setInterval("run2("+a+")",10)}

}
function runover(){
clearInterval(runx)
}
function run(a){
scrollx=frm_frdlist.document.body.scrollLeft
scrolly=frm_frdlist.document.body.scrollTop
scrollx=scrollx+a
frm_frdlist.window.scroll(scrollx,scrolly)
}
function run2(a){
scrollx=frm_piclist.document.body.scrollLeft
scrolly=frm_piclist.document.body.scrollTop
scrollx=scrollx+a
frm_piclist.window.scroll(scrollx,scrolly)
}
function x_down(theobject){
	object=theobject
	
	while(object.filters.alpha.opacity>100){
		object.filters.alpha.opacity+=-10
	}
}
function x_up(theobject){
	object=theobject
	while(object.filters.alpha.opacity<100){
		object.filters.alpha.opacity+=10
	}
}

function wback(){
	if(frm_frdlist.history.length==0){window.history.back()}
	else{frm_frdlist.history.back()}
}


function changes1(id,div_num,total)
//id　---应用ID
//div_num  ---当前数
//total　---交换总数
{
for(i=1;i<=total;i++)
{
  if(i==div_num)
   {
     document.getElementById("body"+id+"_"+i).style.display="";
	 document.getElementById("head"+id+"_"+i).className="lion"; //鼠标经过样式
   }
  else
   {
     document.getElementById("body"+id+"_"+i).style.display="none";
     document.getElementById("head"+id+"_"+i).className="";
   }
}
}


function changes(id,div_num,total)
//id　---应用ID
//div_num  ---当前数
//total　---交换总数
{
for(i=1;i<=total;i++)
{
  if(i==div_num)
   {
     document.getElementById("body"+id+"_"+i).style.display="";
	 document.getElementById("head"+id+"_"+i).className="m6box3_titon"; //鼠标经过样式
   }
  else
   {
     document.getElementById("body"+id+"_"+i).style.display="none";
     document.getElementById("head"+id+"_"+i).className="m6box3_titout";
   }
}
}