I do C# myself, but... Does VB.Net even have vbCrLf anymore? Try one of
the following:
sScript.Append("myOpener.doReload(\'1\', \'" + ContID.ToString() +
"\');" + System.Environment.NewLine)
or
sScript.Append("myOpener.doReload(\'1\', \'" + ContID.ToString() + "\');\n")