	var rate = 4;	
	var delay = 1;
	var sizeScaler = 20; 
	var exist = 0;
	var count = 0;	
	function enlarge(index) {		
		var obj = objArray[index];				
		//document.getElementById(obj.obj.id+"txt").innerHTML=obj.obj.offsetWidth+" "+obj.obj.offsetHeight+"<br/>"+obj.objR.offsetWidth+" "+obj.objR.offsetHeight;
		if(obj.obj.offsetHeight<obj.oriHeight+sizeScaler) {				
			obj.obj.height=obj.obj.offsetHeight+rate;				
			obj.objR.height=obj.objR.offsetHeight+rate;
		} else {
			clearInterval(obj.action);
		}
	}
	function shrink(index) {
		var obj = objArray[index];	
		//document.getElementById(obj.obj.id+"txt").innerHTML=obj.obj.offsetWidth+" "+obj.obj.offsetHeight+"<br/>"+obj.objR.offsetWidth+" "+obj.objR.offsetHeight;
		if(obj.obj.offsetHeight>obj.oriHeight) {			
			obj.obj.height=obj.obj.offsetHeight-rate;
			obj.objR.height=obj.objR.offsetHeight-rate;
		} else {			
			clearInterval(obj.action);
		}
	}
	function startEnlarge() {
		if(this.action) {
			clearInterval(this.action);
		}	
		this.action = setInterval("enlarge("+this.index+")", delay);
	}
	function startShrink() {
		if(this.action) {
			clearInterval(this.action);
		}
		this.action = setInterval("shrink("+this.index+")", delay);
	}
	function init(id) {
		for(var i = 0; i<objArray.length; i++) {
			if(document.getElementById(id)==objArray[i].obj) {
				return objArray[i];
			}
		}
		this.index = objArray.length;
		this.obj = document.getElementById(id);
		this.objR = document.getElementById(id+"s");
		this.oriHeight = this.obj.offsetHeight;		
		this.action = 0;		
		objArray[this.index] = this;
	}
	init.prototype.startEnlarge = startEnlarge;
	init.prototype.startShrink = startShrink;
	
	var objArray = new Array();
