	// die Variabel glideTo sollte zuvor Sinnvoll initalisiert sein
	//
	// Beispiel:
	// effect parameter: show | hide | fadein | fadeout | blink

	//	var growTo = new Array(3);
	//	growTo[0] = new growObj();	
	//	growTo[0].layer = "news";
	//	growTo[0].id = 0;		
	//	growTo[0].fromX = 160;
	//	growTo[0].fromY = -210;	
	//	growTo[0].fromW = 200;
	//	growTo[0].fromH = 0;	
	//	growTo[0].toW = 200;
	//	growTo[0].toH = 420;	
	//	growTo[0].speed = 4;
	//	growTo[0].spin = 'totop';
	
	////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	// Init Grow Timeline

	// spin parameter: totop | tobottom | fromcenter

	if (availWidth==null) var availWidth = screen.availWidth;
	if (availHeight==null) var availHeight = screen.availHeight;
	
	if (growTo==null) var growTo = Array();
	
	////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	// GROW FUNCTIONS

	var growTime = 50;	// in ms
	var growTimer = new Array(growTo.length);
	
	function growObj() { return true; }
	function growToObj() {
		clearTimeout(growTimer[arguments[1]]);
		var obj=MM_findObj(arguments[0]);
		var fromW = obj.style.width;	var fromH = obj.style.height;
		var fromWpos = fromW.lastIndexOf("px"); var fromHpos = fromH.lastIndexOf("px");		
		fromW = Math.round((fromW.substr(0,fromWpos)));	fromH = Math.round((fromH.substr(0,fromHpos)));
		var difW = (arguments[2] - fromW) / arguments[4]; var difH = (arguments[3] - fromH) / arguments[4];		
		var toW = Math.round(fromW + difW,0); var toH = Math.round(fromH + difH,0);
		//if (arguments[1]==2) alert(difH);
		if (difW<1) if (difW>-1) toW = arguments[2]; if (difW>-1) if (difW<1)  toW = arguments[2];		
		if (difH<1) if (difH>-1) toH = arguments[3]; if (difH>-1) if (difH<1)  toH = arguments[3];				
		obj.style.width = toW+"px"; obj.style.height = toH+"px";
		obj.style.clip = "rect(0px, "+toW+"px, "+toH+"px, 0px)";
		if ((arguments[5]=="frommiddle") || (arguments[5]=="fromcenter")) {
			obj.style.left = (arguments[6]+difW)+"px"; obj.style.top = (arguments[7]+difH)+"px";
		} else if (arguments[5]=="totop") {
			obj.style.left = (arguments[6]+arguments[2]-toW)+"px"; obj.style.top = (arguments[7]+arguments[3]-toH)+"px";		
		}
		if ((toW != arguments[2]) || (toH != arguments[3])) 
		growTimer[arguments[1]] = setTimeout('growToObj(\''+arguments[0]+'\','+arguments[1]+','+arguments[2]+','+arguments[3]+','+arguments[4]+',\''+arguments[5]+'\','+arguments[6]+','+arguments[7]+');',growTime);
		else {
		}
	}		
	function grow(growObj) {
		if (growObj!=null) {
			obj=MM_findObj(growObj.layer);
			if (obj==null) alert('Object '+growObj.layer+' konnte nicht gefunden werden.');
			else {
				clearTimeout(growTimer[growObj.id]);
				obj.style.visibility = "visible";
				obj.style.left = growObj.fromX+"px";
				obj.style.top = growObj.fromY+"px";			
				obj.style.width = growObj.fromW+"px";
				obj.style.height = growObj.fromH+"px";
				obj.style.clip = "rect(0px, "+growObj.fromW+"px, "+growObj.fromH+"px, 0px)";	
			
				if (growObj.spin!=null) {
					//if (growObj.spin=='totop') 
					//if (growObj.spin=='tobotton') 
				}							
				growToObj(growObj.layer,growObj.id,growObj.toW,growObj.toH,growObj.speed,growObj.spin,growObj.fromX,growObj.fromY);		
			}			
		}
	}
