* @deprecated Use UITool.getScript(String filename) instead.
*/
public String getScript(String filename)
{
ServerData sd = Turbine.getDefaultServerData();
DataURI du = new DataURI(sd);
StringBuffer sb = new StringBuffer();
sb.append(resourcesDirectory).
append('/').
append(skinsDirectory).
append('/').
append(getSkin()).
append('/').
append(stripSlashes(filename));
du.setScriptName(sb.toString());
return wantRelative ? du.getRelativeLink() : du.getAbsoluteLink();
}