function go(){
var height=screen.availHeight;
var s=document.getElementById("img");
var height=document.documentElement.clientHeight;
	if(height>=850){
		s.height=360;
		s.width=s.height*410/380;
	}
	else{
		var h=360-(870-height);
		if(h<80){h=80;}
			s.height=h;
			s.width=s.height*410/380;
	}
}


function gow(pg){
	var s=document.getElementsByTagName("a");
for(i=0; i<s.length ; i++){
	var k=s[i].href;
	var re=/pg=([^& 0-9]+)/;
	//var re=/pg([^& 0-9 \.]+)/;
	if(k.indexOf("#")!=-1){continue;}
	var t=k.match(re);
	if(t){
		var n=RegExp.$1;
	}
	
	if(n==pg){
		s[i].className="active";
		n="";
	}
}
}
