Code:
function MyClass()
{
	this.setPanStyleByName = function(idName,t,r,b,l,i100)
	{
		var o=window.document.getElementById(idName);
		this.setPanStyleByNode(o,t,r,b,l,i100);
	}

	this.setPanStyleByNode = function(o,t,r,b,l,i100)
	{
            ...
	}
}
The class includes 2 functions, first function calls second function.
Anyway, the class has error and doesn't work.

What is wrong?

Thanks.