Swap depth

Can someone please tell me why this swapdepths doesn’t work?

heres the fla

http://www.soccerschool.com.ar/f/swap.zip

Here’s the code:


//Action attached to frame 1

function depthSwap (x) {
	for (i=0; i<cA.length; i++) {
		if (cA* == x) {
			xPos = i;
		}
	}
	i = xPos;
	for (i=xPos; i>0; i--) {
		_root[x].swapDepths(_root[cA*]);
		cA* = cA[i-1];
	}
	_root[x].swapDepths(_root[cA[0]]);
	cA[0] = x;
}
cA = new Array();
for (i=0; i<7; i++) {
	cA* = "c"+i;
}

//Action on the movieclip called c1 - the same on the other called c2 - 

onClipEvent (mouseMove) {
		if (this.hitTest(_root._xmouse, _root._ymouse, false));
{	_root.status = ( hitTest(_root._xmouse, _root._ymouse, false));
_root.depthSwap(this._name);
	}
	}