Are there any parameters that you can think of that would cause this script not to function properly?
When I try the script on the provided JET_X_Layers.ai file... it works like a champ - but when I try and use it on a file that I am wanting to separate into top layers... I continually get a script alert saying "1 Top Level Layer(s)", and nothing seems to change in my layer palette.
What OS and version of AI? I just tried it on a file. It takes a couple of steps. First select each master layer in your document and run the Release to Layers (Sequence) from the flyout menu. Then run the script twice. The first time it should tell you the number of atarting layers and the second it will move the layers to the top layer list.
North America
Europe, Middle East and Africa
Asia Pacific