Function Demo () {
Test.focus ();
Var r = document.selection.createralge ();
VAR T = Test.createTextRange ();
R.SETENDPOINT ("StartTostArt", T);
Var len = r.Text.length;
Alert (Test.Value.substr (0, LEN));
Alert (Test.Value.substr (len);
}
Script>