function select_tab(name) {
document.getElementsByClassName("active").each(function (x) { x.removeClassName("active")});
new Ajax.Updater("content","[%base%]/photo/"+name+"/[%photo.id%]",
- { method: "get" }
+ { method: "get", evalScripts: true }
)
$(name).addClassName("active");
}