private string getURL(string url) { url = url.Replace('\\', '/'); if (url.Substring(0, 2) == "./") { url = url.Substring(2); } return url; }