woah joojaa, serious syntax error in the proc definition, and at line 9:
global proc jooSplitEdge{ // (you forgot the parameter() braces..!)
polySewEdge -t 0.01 -tx 1 -ws 1 -; // a flag name missing after the last - ?

this test proc severly screws up my test sphere! 
actually, I wrote a script which does this, and does it pretty well in every obscure case I tried, but it's ridiculously slow and complex for something Maya should really already do... I even had to use the closestPointOnMesh plug-in command!!
:nathaN