<!--
function add_event() {

	var aa=div_body.getElementsByTagName("IMG");
	for (i=0;i<aa.length ; i++){
	  a=aa[i];
	  //a.style.width=300;
		src=a.src;
		a.border=0;		
		//src=a.outerHTML;
		try{
    		a.outerHTML="<A TARGET=_blank HREF="+src+">"+a.outerHTML+"</A><br><font class='imc'>"+a.alt+"</font><br>";
    	}catch(e){
    	}
	}
	window.setTimeout("window.focus();",300);
}

function clic(a){
   //aler("aaa");
   //window.open(src,"show_pic","height=500, width=666,toolbar=no, menubar=no,resizable=yes,scrollbars=yes,location=no, status=yes");
}

function ent(obj){
	obj.style.cursor ="hand" ; 
}

function out(obj){
	obj.style.cursor ="move" ; 
}
//Ë«»÷Ò³Ãæºó£¬¹ö¶¯
var currentpos,timer;

function initialize()
{
	timer=setInterval("scrollwindow()",50);
}

function sc(){
	clearInterval(timer);
}

function scrollwindow()
{
	currentpos=document.body.scrollTop;
	window.scroll(0,++currentpos);
	if (currentpos != document.body.scrollTop)
	sc();
}

function zoomIn() {
 newZoom= parseInt(div_body.style.zoom);
 if (newZoom>130){
 zoomAct();
 }else{
 newZoom= parseInt(div_body.style.zoom)+10+'%'
 div_body.style.zoom =newZoom;
 }
 } 
function zoomOut(){
 newZoom= parseInt(div_body.style.zoom)-10+'%'
 div_body.style.zoom =newZoom;
} 
function zoomAct(){
	div_body.style.zoom='100%';
}

function readtext(id){
	url='readtext.php?doc_id='+id;
	document.all.ifra.src=url;
}
//document.onmousedown=sc;
//document.ondblclick=initialize;

// -->
