%page args="environ, cookies, title"/>\
<%namespace module="copyvios.background" import="set_background"/>\
<%!
from os import path
%>\
<%
root = path.dirname(environ["SCRIPT_NAME"])
%>\
${title}
<% selected = cookies["CopyviosBackground"].value if "CopyviosBackground" in cookies else "plain" %>\
% if selected == "plain":
% else:
<% bg_url = set_background(cookies, selected) %>\
% endif