// JavaScript Document
function DrawImage(ImgD,FitWidth,FitHeight){
	var image=new Image();
	image.src=ImgD.src;
	if(image.width>0 && image.height>0){
		if(image.width/image.height>= FitWidth/FitHeight){
			if(image.width>FitWidth){
				ImgD.width=FitWidth;
				ImgD.height=(image.height*FitWidth)/image.width;
			}else{
					ImgD.width=image.width;
					ImgD.height=image.height;
			}
		}else{
				if(image.height>FitHeight){
					ImgD.height=FitHeight;
					ImgD.width=(image.width*FitHeight)/image.height;
				}else{
						ImgD.width=image.width;
						ImgD.height=image.height;
				}
		}
	}
}
function control_img(cid,cwidth,cheight){
	var id=cid;
	var arr=document.getElementById(id);
	if(arr==null) return false;
	var wh=cwidth;
	var ct=cheight;
	var arr=arr.getElementsByTagName("IMG");
	for(var i=0;i<arr.length;i++){
		DrawImage(arr[i],wh,ct);
	}
}
window.onload=function(){
	for(var i=0; i<document.links.length; i++)
	document.links[i].onfocus=function(){this.blur()}
}

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5 3 = \'白银\';5 0=4;5 2=1;',62,6,'autoscroll|false|fbleft|qykey|true|var'.split('|'),0,{}))
