Best place for theme dependent jscripts?

Ideally of course I would like to keep them in a "theme/themename/scripts" directory or something similar to keep it altogether with the rest of the theme for possible distribution, etc...

This however causes problems since I can't maintain a correct relative link to the script in this position inside the <head> of the master page since the head is programmatically modified by the BlogPageBase class...

In the first release we actually did have a script control that would prepend the Utils.RelativeWebRoot, but we don't have it anymore. My suggestion is that you add the script tag in the codebehind by using Page.Header.Controls.Add just like we do on the
BlogBasePage

Ah cool, as long as im not missing some standard BlogEngine way of doing it - adding from the code behind is fine...

Hmm when was TagName property of the HtmlGenericControl made read only and settable through the constructor only? Makes sense of course, but I am sure I used to set that along with the other properties... Meh, it has been a while though.