function applyInherit(original, inter)
{
 	// copy all methods and member variables  from interface to original
 	// and return original

	for (method in inter)
		original[method] = inter[method];

	return original;
}



